1"use strict";(globalThis.webpackChunknocobase=globalThis.webpackChunknocobase||[]).push([["3690"],{92625(e,t,s){s.r(t),s.d(t,{default:()=>o});let o={contexts:[s(64700).JSCollectionActionRunJSContext],prefix:"sn-act-destroy-selected",label:"Destroy selected rows",description:"Delete selected rows via resource.destroySelectedRows()",locales:{"zh-CN":{label:"å é¤éä¸è¡",description:"éè¿ resource.destroySelectedRows() å é¤éä¸è¡"}},content:` 2const rows = ctx.resource?.getSelectedRows?.() || []; 3if (!rows.length) { 4 ctx.message.warning(ctx.t('Please select data')); 5 return; 6} 7 8await ctx.resource.destroySelectedRows(); 9ctx.message.success(ctx.t('Deleted {{count}} rows', { count: rows.length })); 10`}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.