1"use strict";(globalThis.webpackChunknocobase=globalThis.webpackChunknocobase||[]).push([["5064"],{35803(e,t,c){c.r(t),c.d(t,{default:()=>s});let s={contexts:[c(64700).JSCollectionActionRunJSContext],prefix:"sn-act-selected-count",label:"Selected count",description:"Show number of selected rows in list action",locales:{"zh-CN":{label:"é䏿°é",description:"æç¤ºå½åéä¸è¡çæ°é"}},content:` 2const rows = ctx.resource?.getSelectedRows?.() || []; 3if (!rows.length) { 4 ctx.message.warning(ctx.t('Please select data')); 5} else { 6 ctx.message.success(ctx.t('Selected {{count}} rows', { count: rows.length })); 7} 8`}}}]);
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.