@atscript/vue-table 0.1.146 → 0.1.147
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/as-action-form-dialog.cjs +3 -2
- package/dist/as-action-form-dialog.mjs +3 -2
- package/dist/{as-action-menu-content-DoZnQP0I.mjs → as-action-menu-content-35yQWbLF.mjs} +1 -1
- package/dist/{as-action-menu-content-FQ2miGid.cjs → as-action-menu-content-BJ0tn6jq.cjs} +1 -1
- package/dist/as-cell-array.d.cts +1 -1
- package/dist/as-cell-array.d.mts +1 -1
- package/dist/as-cell-date.d.cts +1 -1
- package/dist/as-cell-date.d.mts +1 -1
- package/dist/as-cell-json.d.cts +1 -1
- package/dist/as-cell-json.d.mts +1 -1
- package/dist/as-cell-number.d.cts +1 -1
- package/dist/as-cell-number.d.mts +1 -1
- package/dist/as-cell-union.d.cts +1 -1
- package/dist/as-cell-union.d.mts +1 -1
- package/dist/as-column-menu.d.cts +1 -1
- package/dist/as-column-menu.d.mts +1 -1
- package/dist/{as-column-menu.vue-ByTECTbX.d.cts → as-column-menu.vue-B6iuKmIj.d.cts} +1 -1
- package/dist/{as-column-menu.vue-TChT482i.d.mts → as-column-menu.vue-wxb2f92k.d.mts} +1 -1
- package/dist/{as-config-dialog-CpW1Qemf.cjs → as-config-dialog-BJkBzaku.cjs} +2 -2
- package/dist/{as-config-dialog-ObHtungs.mjs → as-config-dialog-D503Ek_m.mjs} +2 -2
- package/dist/as-config-dialog.cjs +1 -1
- package/dist/as-config-dialog.d.cts +1 -1
- package/dist/as-config-dialog.d.mts +1 -1
- package/dist/as-config-dialog.mjs +1 -1
- package/dist/{as-confirm-dialog-D3Vu1Rb_.cjs → as-confirm-dialog-C5xPbkox.cjs} +1 -1
- package/dist/{as-confirm-dialog-zg7jmS3u.mjs → as-confirm-dialog-CJfDnaiU.mjs} +1 -1
- package/dist/as-confirm-dialog.cjs +1 -1
- package/dist/as-confirm-dialog.d.cts +1 -1
- package/dist/as-confirm-dialog.d.mts +1 -1
- package/dist/as-confirm-dialog.mjs +1 -1
- package/dist/{as-filter-dialog-C4EyRr2_.cjs → as-filter-dialog-Co0WfWOe.cjs} +7 -7
- package/dist/{as-filter-dialog-CWy0mjZl.mjs → as-filter-dialog-CxjO-Ge5.mjs} +7 -7
- package/dist/as-filter-dialog.cjs +1 -1
- package/dist/as-filter-dialog.d.cts +1 -1
- package/dist/as-filter-dialog.d.mts +1 -1
- package/dist/as-filter-dialog.mjs +1 -1
- package/dist/{as-filter-field-CW1_GHZT.mjs → as-filter-field-ByPlGyWz.mjs} +3 -3
- package/dist/{as-filter-field-BQ9UlV0y.cjs → as-filter-field-FTrxFkTw.cjs} +3 -3
- package/dist/as-filter-field.cjs +1 -1
- package/dist/as-filter-field.d.cts +1 -1
- package/dist/as-filter-field.d.mts +1 -1
- package/dist/as-filter-field.mjs +1 -1
- package/dist/as-filter-input.d.cts +1 -1
- package/dist/as-filter-input.d.mts +1 -1
- package/dist/{as-filters-BLFSS_VP.mjs → as-filters-CJZJiOXb.mjs} +4 -4
- package/dist/{as-filters-DUfFkXAo.cjs → as-filters-W3iMELuL.cjs} +4 -4
- package/dist/as-filters.cjs +1 -1
- package/dist/as-filters.mjs +1 -1
- package/dist/{as-preset-dialog-CI2Hw8vi.mjs → as-preset-dialog-CLOVEpWZ.mjs} +1 -1
- package/dist/{as-preset-dialog-BlXqTZiT.cjs → as-preset-dialog-Dvvx0jmU.cjs} +1 -1
- package/dist/as-preset-dialog.cjs +1 -1
- package/dist/as-preset-dialog.d.cts +1 -1
- package/dist/as-preset-dialog.d.mts +1 -1
- package/dist/as-preset-dialog.mjs +1 -1
- package/dist/{as-preset-picker-CbZDGPaf.mjs → as-preset-picker-CwFObhME.mjs} +1 -1
- package/dist/{as-preset-picker-CVgyZBG7.cjs → as-preset-picker-DFLhbm59.cjs} +1 -1
- package/dist/as-preset-picker.cjs +1 -1
- package/dist/as-preset-picker.mjs +1 -1
- package/dist/{as-residual-filter-CUTouIn5.mjs → as-residual-filter-BRsEs8oe.mjs} +1 -1
- package/dist/{as-residual-filter-C8n7kdGW.cjs → as-residual-filter-sZlsFPDS.cjs} +1 -1
- package/dist/as-residual-filter.cjs +1 -1
- package/dist/as-residual-filter.d.cts +1 -1
- package/dist/as-residual-filter.d.mts +1 -1
- package/dist/as-residual-filter.mjs +1 -1
- package/dist/{as-row-actions-DfUL9sYB.cjs → as-row-actions-DFv2cSrP.cjs} +7 -5
- package/dist/{as-row-actions-ed1P6GEJ.mjs → as-row-actions-DyjIXePd.mjs} +7 -5
- package/dist/as-row-actions.cjs +1 -1
- package/dist/as-row-actions.d.cts +1 -1
- package/dist/as-row-actions.d.mts +1 -1
- package/dist/as-row-actions.mjs +1 -1
- package/dist/{as-row-actions.vue-Ba3VO9W-.d.cts → as-row-actions.vue-BHrZBXVU.d.cts} +1 -1
- package/dist/{as-row-actions.vue-CKOnE0eb.d.mts → as-row-actions.vue-D4MylwCW.d.mts} +1 -1
- package/dist/{as-select-cell-DwMfqBMV.cjs → as-select-cell-CoQJjhnq.cjs} +10 -5
- package/dist/{as-select-cell-BMptU5sQ.mjs → as-select-cell-Dl8fohIj.mjs} +10 -5
- package/dist/as-selection-banner-BI5gKHqW.cjs +206 -0
- package/dist/as-selection-banner-DBtLjulh.mjs +189 -0
- package/dist/as-table-B1FowaPF.cjs +215 -0
- package/dist/as-table-Cpvfv9zA.mjs +210 -0
- package/dist/{as-table-actions-DplblFlK.cjs → as-table-actions-B0xaicfv.cjs} +32 -6
- package/dist/{as-table-actions-DQco4pGu.mjs → as-table-actions-BlbAps1h.mjs} +32 -6
- package/dist/as-table-actions.cjs +1 -1
- package/dist/as-table-actions.d.cts +1 -1
- package/dist/as-table-actions.d.mts +1 -1
- package/dist/as-table-actions.mjs +1 -1
- package/dist/{as-table-actions.vue-BYphfAe2.d.cts → as-table-actions.vue-7ml3JiOO.d.mts} +9 -2
- package/dist/{as-table-actions.vue-C6hzRtS7.d.mts → as-table-actions.vue-BKRqHprR.d.cts} +9 -2
- package/dist/{as-table-base-lfyjPgsO.mjs → as-table-base-EzKaChOp.mjs} +3 -3
- package/dist/{as-table-base-CNAn-vpa.cjs → as-table-base-LZ26YlWp.cjs} +3 -3
- package/dist/as-table-cell-value.d.cts +1 -1
- package/dist/as-table-cell-value.d.mts +1 -1
- package/dist/{as-table-header-cell-Csv1KQDa.mjs → as-table-header-cell-DrVzYaof.mjs} +1 -1
- package/dist/{as-table-header-cell-BwaOPYwI.cjs → as-table-header-cell-gHhCdxJX.cjs} +1 -1
- package/dist/as-table-header-cell.cjs +1 -1
- package/dist/as-table-header-cell.d.cts +1 -1
- package/dist/as-table-header-cell.d.mts +1 -1
- package/dist/as-table-header-cell.mjs +1 -1
- package/dist/{as-table-header-cell.vue-DU5h-2C_.d.cts → as-table-header-cell.vue-BCk4NPYT.d.cts} +1 -1
- package/dist/{as-table-header-cell.vue-KkANwimG.d.mts → as-table-header-cell.vue-BZU8s9CT.d.mts} +1 -1
- package/dist/{as-table-root-BreMYhnv.mjs → as-table-root-BYHXuNPI.mjs} +33 -6
- package/dist/{as-table-root-DXewWV9h.cjs → as-table-root-K6fWKHtF.cjs} +33 -6
- package/dist/as-table-root.cjs +1 -1
- package/dist/as-table-root.d.cts +1 -1
- package/dist/as-table-root.d.mts +1 -1
- package/dist/as-table-root.mjs +1 -1
- package/dist/{as-table-root.vue-XtDgUjO2.d.mts → as-table-root.vue-Bm2DxAqU.d.mts} +319 -9
- package/dist/{as-table-root.vue-Bjzp8TJl.d.cts → as-table-root.vue-CF03c4vu.d.cts} +320 -10
- package/dist/as-table.cjs +1 -1
- package/dist/as-table.d.cts +1 -1
- package/dist/as-table.d.mts +1 -1
- package/dist/as-table.mjs +1 -1
- package/dist/{as-window-table-JOTOi_Nm.mjs → as-window-table-CygDqZMU.mjs} +99 -53
- package/dist/{as-window-table-Bj1dXOS6.cjs → as-window-table-_flc8o64.cjs} +101 -55
- package/dist/as-window-table.cjs +1 -1
- package/dist/as-window-table.d.cts +1 -1
- package/dist/as-window-table.d.mts +1 -1
- package/dist/as-window-table.mjs +1 -1
- package/dist/index.cjs +23 -19
- package/dist/index.d.cts +19 -21
- package/dist/index.d.mts +19 -21
- package/dist/index.mjs +20 -20
- package/dist/{types-D1NxhrpW.d.cts → intent-scope-BXPEN5kJ.d.cts} +202 -35
- package/dist/{types-BEZ4_erB.d.mts → intent-scope-Ck7RZ0dK.d.mts} +202 -35
- package/dist/{use-table-W0KmaJ6L.cjs → use-table-CydIJZbx.cjs} +5 -3
- package/dist/{use-table-BTsNGBVx.mjs → use-table-DP6Y0kbl.mjs} +5 -3
- package/dist/{use-table-component-DRMXTk9M.mjs → use-table-component-DNGUvhf7.mjs} +1 -1
- package/dist/{use-table-component-BvAC82_c.cjs → use-table-component-aqfGzECx.cjs} +1 -1
- package/dist/{use-table-nav-bridge-CPI1tql6.cjs → use-table-nav-bridge-B7A30yja.cjs} +1 -1
- package/dist/{use-table-nav-bridge-Bw0NFDSf.mjs → use-table-nav-bridge-BhOPIT2R.mjs} +1 -1
- package/dist/{use-table-selection-ULbKT2xW.mjs → use-table-selection-CdaOPo1d.mjs} +8 -3
- package/dist/{use-table-selection-DtCV3rhu.cjs → use-table-selection-Cs7-gjHg.cjs} +8 -3
- package/dist/{use-table-state-DuY-Mf8e.mjs → use-table-state-1OZfdhQi.mjs} +414 -41
- package/dist/{use-table-state-Ddr2UZzB.cjs → use-table-state-sDnqOi3b.cjs} +447 -38
- package/package.json +11 -10
- package/dist/as-table-BjKzKB0a.cjs +0 -207
- package/dist/as-table-DGWfzV4w.mjs +0 -202
- package/dist/as-table.vue-BULJe49x.d.cts +0 -115
- package/dist/as-table.vue-DgCtlV4u.d.mts +0 -115
- package/dist/as-window-table.vue-CYFgK10g.d.mts +0 -132
- package/dist/as-window-table.vue-ijutqrJ0.d.cts +0 -132
- package/dist/use-table-column-handlers-BitvioH4.mjs +0 -85
- package/dist/use-table-column-handlers-DksXpbON.cjs +0 -96
- /package/dist/{as-cell-array.vue-pFs5GcCR.d.cts → as-cell-array.vue-C4BTM8YW.d.cts} +0 -0
- /package/dist/{as-cell-array.vue-ow34clSF.d.mts → as-cell-array.vue-Dj3nZop3.d.mts} +0 -0
- /package/dist/{as-cell-date.vue-B4JCr1qP.d.mts → as-cell-date.vue-BPuyH7q3.d.mts} +0 -0
- /package/dist/{as-cell-date.vue-BBSps2B2.d.cts → as-cell-date.vue-BcMgxBfm.d.cts} +0 -0
- /package/dist/{as-cell-json.vue-B-T3TuFj.d.mts → as-cell-json.vue-D8J7YwVV.d.mts} +0 -0
- /package/dist/{as-cell-json.vue-C6wg4ARZ.d.cts → as-cell-json.vue-pwE9uJdv.d.cts} +0 -0
- /package/dist/{as-cell-number.vue-CJ2K5zeM.d.cts → as-cell-number.vue-pbgVCIWT.d.cts} +0 -0
- /package/dist/{as-cell-number.vue-CNH2fbCB.d.mts → as-cell-number.vue-sUoZvuat.d.mts} +0 -0
- /package/dist/{as-cell-union.vue-CslPM_c2.d.cts → as-cell-union.vue-BK_M7opL.d.cts} +0 -0
- /package/dist/{as-cell-union.vue-CZwN81H4.d.mts → as-cell-union.vue-DZBejMxR.d.mts} +0 -0
- /package/dist/{as-config-dialog.vue-BKo2GpzN.d.mts → as-config-dialog.vue-C-Jw_rb7.d.cts} +0 -0
- /package/dist/{as-config-dialog.vue-DvvJi3xx.d.cts → as-config-dialog.vue-D2AVR1a5.d.mts} +0 -0
- /package/dist/{as-confirm-dialog.vue-BN_yzu3h.d.mts → as-confirm-dialog.vue-BxAaCuYf.d.mts} +0 -0
- /package/dist/{as-confirm-dialog.vue-CXxLpzbu.d.cts → as-confirm-dialog.vue-D8hJ5qPY.d.cts} +0 -0
- /package/dist/{as-filter-dialog.vue-BV2J8PgZ.d.cts → as-filter-dialog.vue-CyD6qtuX.d.cts} +0 -0
- /package/dist/{as-filter-dialog.vue-Bl8OIKOf.d.mts → as-filter-dialog.vue-WYXGtymZ.d.mts} +0 -0
- /package/dist/{as-filter-field.vue-DD0IZXS1.d.mts → as-filter-field.vue-DTpuDkHh.d.mts} +0 -0
- /package/dist/{as-filter-field.vue-ByQ8xIGq.d.cts → as-filter-field.vue-ajAFhraz.d.cts} +0 -0
- /package/dist/{as-filter-input.vue-CS4nOk_Q.d.cts → as-filter-input.vue-CksJOtqw.d.cts} +0 -0
- /package/dist/{as-filter-input.vue-CFZ33B--.d.mts → as-filter-input.vue-DMwr0ArL.d.mts} +0 -0
- /package/dist/{as-preset-dialog.vue-ChM7H7B4.d.mts → as-preset-dialog.vue-BEM-L4BY.d.cts} +0 -0
- /package/dist/{as-preset-dialog.vue-DP9fy00Y.d.cts → as-preset-dialog.vue-BrnvBWxJ.d.mts} +0 -0
- /package/dist/{as-residual-filter.vue-Dfw1l2wS.d.cts → as-residual-filter.vue-CGXCipEn.d.cts} +0 -0
- /package/dist/{as-residual-filter.vue-N89YqlCz.d.mts → as-residual-filter.vue-Cev_8Wy7.d.mts} +0 -0
- /package/dist/{as-table-cell-value.vue-C0VR9GRK.d.cts → as-table-cell-value.vue-UkAuJanv.d.cts} +0 -0
- /package/dist/{as-table-cell-value.vue-DphckGq-.d.mts → as-table-cell-value.vue-kfNgVhzn.d.mts} +0 -0
|
@@ -1,25 +1,37 @@
|
|
|
1
|
-
import { A as
|
|
1
|
+
import { A as RowSelectableHook, B as TableSelection, D as RowClassHook, E as RowAttrsHook, F as TAsCellTypeComponents, I as TAsTableControls, L as TVueTableActionInfo, N as SelectOn, O as RowDeleteOpt, P as SelectionResetEvent, R as TableActionsState, S as ReactiveTableState, T as RowActionsConfig, b as QueryErrorKind, c as ActionResult, f as ConfirmOptions, m as EnterAction, p as DroppedFieldsReport, u as ColumnMenuConfig, v as NavKeyOptions, w as RowActionsColumnPlacement, x as QuerySelection, y as PresetConfig, z as TableNavBridge } from "./intent-scope-BXPEN5kJ.cjs";
|
|
2
2
|
import * as vue from "vue";
|
|
3
3
|
import { AllowedComponentProps, AnchorHTMLAttributes, App, Component as Component$1, ComponentCustomProps, ComponentPublicInstance, ComputedRef, DefineComponent, InjectionKey, MaybeRef, MaybeRefOrGetter, Ref, ShallowRef, UnwrapRef, VNode, VNodeProps, WritableComputedRef } from "vue";
|
|
4
4
|
import * as _atscript_ui0 from "@atscript/ui";
|
|
5
5
|
import { ClientFactory, ClientFactory as ClientFactory$1, ColumnDef, SortControl, TableDef, getDefaultClientFactory, resetDefaultClientFactory, setDefaultClientFactory } from "@atscript/ui";
|
|
6
6
|
import { Client, PageResult } from "@atscript/db-client";
|
|
7
|
-
import { FilterExpr, Uniquery } from "@uniqu/core";
|
|
8
7
|
import * as _atscript_ui_table0 from "@atscript/ui-table";
|
|
9
|
-
import { AppConfData, AppConfData as AppConfData$1, AsPresetEntryRow, AsPresetEntryRow as AsPresetEntryRow$1, ColumnWidthsMap, CsvOptions, CsvOptions as CsvOptions$1, DisplayColumnDef, DisplayColumnDef as DisplayColumnDef$1, ExportAbortError, ExportScalar, ExportScalar as ExportScalar$1, FilterCondition, PRESET_ASPECTS, PresetAspect, PresetAspect as PresetAspect$1, PresetCapabilities, PresetCapabilities as PresetCapabilities$1, PresetData, PresetDraft, PresetSnapshot, PresetSnapshot as PresetSnapshot$1, PresetSnapshotWire, QueryOptions, STANDARD_PRESET_ID, SYSTEM_PRESET_PREFIX, SelectionMode, SystemPreset, SystemPreset as SystemPreset$1, SystemPresetInput, SystemPresetInput as SystemPresetInput$1, UnsupportedFilter, UrlQuerySync, UrlQuerySync as UrlQuerySync$1, UserConfData, isSystemPresetId, resolveSystemPresets } from "@atscript/ui-table";
|
|
8
|
+
import { AppConfData, AppConfData as AppConfData$1, AsPresetEntryRow, AsPresetEntryRow as AsPresetEntryRow$1, ColumnWidthsMap, CsvOptions, CsvOptions as CsvOptions$1, DisplayColumnDef, DisplayColumnDef as DisplayColumnDef$1, ExportAbortError, ExportScalar, ExportScalar as ExportScalar$1, FilterCondition, PRESET_ASPECTS, PresetAspect, PresetAspect as PresetAspect$1, PresetCapabilities, PresetCapabilities as PresetCapabilities$1, PresetData, PresetDraft, PresetSnapshot, PresetSnapshot as PresetSnapshot$1, PresetSnapshotWire, QueryOptions, STANDARD_PRESET_ID, SYSTEM_PRESET_PREFIX, SelectionMode, SelectionQuery, SelectionQuery as SelectionQuery$1, SystemPreset, SystemPreset as SystemPreset$1, SystemPresetInput, SystemPresetInput as SystemPresetInput$1, UnsupportedFilter, UrlQuerySync, UrlQuerySync as UrlQuerySync$1, UserConfData, isSystemPresetId, resolveSystemPresets } from "@atscript/ui-table";
|
|
9
|
+
import { FilterExpr, Uniquery } from "@uniqu/core";
|
|
10
10
|
import { TAsTypeComponents } from "@atscript/vue-form";
|
|
11
11
|
|
|
12
12
|
//#region src/composables/state/create-selection.d.ts
|
|
13
|
-
type Row = Record<string, unknown>;
|
|
13
|
+
type Row$1 = Record<string, unknown>;
|
|
14
14
|
interface SelectionApiOptions {
|
|
15
15
|
/** Extract a unique value from a row for selection tracking. */
|
|
16
|
-
rowValueFn?: (row: Row) => unknown;
|
|
16
|
+
rowValueFn?: (row: Row$1) => unknown;
|
|
17
17
|
/**
|
|
18
18
|
* External ref to back `selectedRows`. When provided the framework reads
|
|
19
19
|
* from and writes to this ref directly (identity preserved); otherwise a
|
|
20
20
|
* local `shallowRef([])` is created.
|
|
21
21
|
*/
|
|
22
22
|
selectedRows?: Ref<unknown[]>;
|
|
23
|
+
/**
|
|
24
|
+
* External ref to back `querySelection` (`v-model:query-selection`).
|
|
25
|
+
* Writers replace the value wholesale. Since 0.1.147.
|
|
26
|
+
*/
|
|
27
|
+
querySelection?: Ref<QuerySelection | null>;
|
|
28
|
+
/**
|
|
29
|
+
* Stable identity of a selection value for a query selection's
|
|
30
|
+
* exclusions. A row object (the default `rowValueFn`) is a new object on
|
|
31
|
+
* every refetch, so exclusions compare by this key, not by reference.
|
|
32
|
+
* Default: the value itself. Since 0.1.147.
|
|
33
|
+
*/
|
|
34
|
+
identityOf?: (value: unknown) => unknown;
|
|
23
35
|
}
|
|
24
36
|
//#endregion
|
|
25
37
|
//#region src/composables/use-local-draft.d.ts
|
|
@@ -223,7 +235,14 @@ interface TableModelRefs {
|
|
|
223
235
|
*/
|
|
224
236
|
ignoreSortersWhenSearched?: Ref<boolean>;
|
|
225
237
|
}
|
|
226
|
-
|
|
238
|
+
interface TableSelectionOptions extends SelectionApiOptions {
|
|
239
|
+
/**
|
|
240
|
+
* Called when the table drops a query selection on its own — the filter,
|
|
241
|
+
* search or index changed under it (`<AsTableRoot>`'s `selection-reset`).
|
|
242
|
+
* Since 0.1.147.
|
|
243
|
+
*/
|
|
244
|
+
onSelectionReset?: (event: SelectionResetEvent) => void;
|
|
245
|
+
}
|
|
227
246
|
interface TableQueryOptions {
|
|
228
247
|
/** Override the default query function. */
|
|
229
248
|
fn?: QueryFn;
|
|
@@ -292,6 +311,9 @@ interface TableQueryOptions {
|
|
|
292
311
|
* Since 0.1.140 such pieces are carried as `residualFilters` instead
|
|
293
312
|
* whenever every field they reference is a server-backed column (and
|
|
294
313
|
* `urlQuerySync.residual` is not `false`); only the rest are reported.
|
|
314
|
+
* Since 0.1.147 it also receives each URL segment that does not parse
|
|
315
|
+
* (reason `"syntax"`, the segment in `issue.raw`) — the rest of the URL
|
|
316
|
+
* still applies.
|
|
295
317
|
*/
|
|
296
318
|
onUnsupportedFilter?: (issue: UnsupportedFilter) => void;
|
|
297
319
|
/**
|
|
@@ -497,6 +519,16 @@ interface UseTableOptions {
|
|
|
497
519
|
* this ref directly.
|
|
498
520
|
*/
|
|
499
521
|
selectedRows?: Ref<unknown[]>;
|
|
522
|
+
/**
|
|
523
|
+
* External ref for the "every row matching the query" selection
|
|
524
|
+
* (`v-model:query-selection`). Since 0.1.147.
|
|
525
|
+
*/
|
|
526
|
+
querySelection?: Ref<QuerySelection | null>;
|
|
527
|
+
/**
|
|
528
|
+
* Called when the table drops a query selection because its filter,
|
|
529
|
+
* search or index changed. Since 0.1.147.
|
|
530
|
+
*/
|
|
531
|
+
onSelectionReset?: (event: SelectionResetEvent) => void;
|
|
500
532
|
/** Always-applied Uniquery filter expression (AND'd with user filters). */
|
|
501
533
|
forceFilters?: FilterExpr;
|
|
502
534
|
/** Always-applied sorters (prepended before user sorters). */
|
|
@@ -2333,6 +2365,261 @@ declare function useAppPrefs(opts: UseAppPrefsOptions): UseAppPrefsReturn;
|
|
|
2333
2365
|
*/
|
|
2334
2366
|
declare function useTableComponent<K extends keyof TAsTableControls>(key: K, fallback: Component$1): Component$1;
|
|
2335
2367
|
//#endregion
|
|
2368
|
+
//#region src/components/as-table.vue.d.ts
|
|
2369
|
+
type __VLS_Props$2 = {
|
|
2370
|
+
rows?: Record<string, unknown>[];
|
|
2371
|
+
columns?: ColumnDef[];
|
|
2372
|
+
stickyHeader?: boolean;
|
|
2373
|
+
virtualRowHeight?: number;
|
|
2374
|
+
virtualOverscan?: number;
|
|
2375
|
+
columnMenu?: ColumnMenuConfig; /** Allow header drag-and-drop column reorder. Default true. */
|
|
2376
|
+
reorderable?: boolean; /** Allow header drag-resize. Default true. */
|
|
2377
|
+
resizable?: boolean; /** Pixel floor for the resize clamp. Default 48. */
|
|
2378
|
+
columnMinWidth?: number;
|
|
2379
|
+
/**
|
|
2380
|
+
* Selection mode — rendering concern owned by the renderer. `"multi"`
|
|
2381
|
+
* shows a leading checkbox column and turns row clicks into selection
|
|
2382
|
+
* toggles; `"none"` (default) hides the column and routes clicks
|
|
2383
|
+
* through the main-action path. Independent of `state.selectedRows` —
|
|
2384
|
+
* flipping `select` to `"none"` hides the checkbox UI but leaves the
|
|
2385
|
+
* user's selected pks in place, surviving a future re-enable.
|
|
2386
|
+
*/
|
|
2387
|
+
select?: SelectionMode; /** See {@link SelectOn}. Since 0.1.142. */
|
|
2388
|
+
selectOn?: SelectOn;
|
|
2389
|
+
/**
|
|
2390
|
+
* Built-in row-delete: `false` (off, default), `true` (on with defaults),
|
|
2391
|
+
* or a `RowDeleteOpt` overriding label/icon/intent/promptText. The
|
|
2392
|
+
* synthesised `__remove` action only appears when the consumer opts in
|
|
2393
|
+
* AND `tableDef.canRemove === true`. Pushed into `state.rowDelete` via
|
|
2394
|
+
* a watcher — the action set live-updates as the prop flips.
|
|
2395
|
+
*/
|
|
2396
|
+
rowDelete?: boolean | RowDeleteOpt;
|
|
2397
|
+
/**
|
|
2398
|
+
* Synthesised row-actions pseudo-column. `'first'` / `'last'` prepend or
|
|
2399
|
+
* append a fixed `__actions` column rendering `controls.rowActions`.
|
|
2400
|
+
* `'merge-select'` only renders the column when `select === "none"` —
|
|
2401
|
+
* sharing the leading gutter with the multi-select checkbox column so the
|
|
2402
|
+
* row gutter shows a checkbox in `select="multi"` mode and an action
|
|
2403
|
+
* trigger in `select="none"` mode (toggled at the consumer level).
|
|
2404
|
+
*
|
|
2405
|
+
* The column is locked: no header dropdown, no resize, no drag-reorder,
|
|
2406
|
+
* NOT in the `columnNames` v-model. Hidden entirely when
|
|
2407
|
+
* the cell has no action to show (no row / rows-level action, no
|
|
2408
|
+
* `:row-actions` `extra` one — since 0.1.147 rows-level ones count).
|
|
2409
|
+
*
|
|
2410
|
+
* Wrapper-only prop — not forwarded by `<AsTableRoot>`. Raw consumers
|
|
2411
|
+
* compose their own column layout.
|
|
2412
|
+
*/
|
|
2413
|
+
rowActionsColumn?: RowActionsColumnPlacement | false;
|
|
2414
|
+
/**
|
|
2415
|
+
* Render without a header row. Omits `<thead>` entirely (not
|
|
2416
|
+
* `display:none`); column widths are carried by the `<colgroup>`, so data
|
|
2417
|
+
* columns keep their annotated/seeded widths. Header-driven interactions
|
|
2418
|
+
* (sort/filter/reorder/resize) are unavailable in headless mode.
|
|
2419
|
+
*/
|
|
2420
|
+
headless?: boolean;
|
|
2421
|
+
/**
|
|
2422
|
+
* Per-row selectability. Return `false` — or a string, surfaced as the
|
|
2423
|
+
* disabled reason on the row's selection control — to make a row not
|
|
2424
|
+
* selectable. Enforced on every path: row click, Space/Enter toggle, and
|
|
2425
|
+
* the header select-all (which also stops counting ineligible rows).
|
|
2426
|
+
* Since 0.1.133.
|
|
2427
|
+
*
|
|
2428
|
+
* @example
|
|
2429
|
+
* `:row-selectable="(row) => row.locked ? 'Locked by another user' : true"`
|
|
2430
|
+
*/
|
|
2431
|
+
rowSelectable?: RowSelectableHook;
|
|
2432
|
+
/**
|
|
2433
|
+
* Extra classes for the row element — string, array, or
|
|
2434
|
+
* `{ class: boolean }` map, merged with the framework's own row classes.
|
|
2435
|
+
* Since 0.1.133.
|
|
2436
|
+
*/
|
|
2437
|
+
rowClass?: RowClassHook;
|
|
2438
|
+
/**
|
|
2439
|
+
* Extra attributes for the row element. The framework's own `id`, `role`,
|
|
2440
|
+
* `aria-*`, `data-*`, `class` and `style` always win, so a hook can
|
|
2441
|
+
* decorate a row but never rewrite its accessibility contract.
|
|
2442
|
+
* Since 0.1.133.
|
|
2443
|
+
*/
|
|
2444
|
+
rowAttrs?: RowAttrsHook;
|
|
2445
|
+
};
|
|
2446
|
+
declare var __VLS_8: {
|
|
2447
|
+
selection: TableSelection;
|
|
2448
|
+
canSelectAllMatching: boolean;
|
|
2449
|
+
selectAllMatching: () => void;
|
|
2450
|
+
clearSelection: () => void;
|
|
2451
|
+
loadedCount: number;
|
|
2452
|
+
}, __VLS_28: string, __VLS_29: any, __VLS_31: {};
|
|
2453
|
+
type __VLS_Slots$2 = {} & { [K in NonNullable<typeof __VLS_28>]?: (props: typeof __VLS_29) => any } & {
|
|
2454
|
+
'selection-banner'?: (props: typeof __VLS_8) => any;
|
|
2455
|
+
} & {
|
|
2456
|
+
'query-loading'?: (props: typeof __VLS_31) => any;
|
|
2457
|
+
};
|
|
2458
|
+
declare const __VLS_base$2: vue.DefineComponent<__VLS_Props$2, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
2459
|
+
"row-click": (row: Record<string, unknown>, event: MouseEvent) => any;
|
|
2460
|
+
"row-dblclick": (row: Record<string, unknown>, event: MouseEvent) => any;
|
|
2461
|
+
"main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
|
|
2462
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$2> & Readonly<{
|
|
2463
|
+
"onRow-click"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
|
|
2464
|
+
"onRow-dblclick"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
|
|
2465
|
+
"onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
2466
|
+
}>, {
|
|
2467
|
+
select: SelectionMode;
|
|
2468
|
+
stickyHeader: boolean;
|
|
2469
|
+
virtualOverscan: number;
|
|
2470
|
+
reorderable: boolean;
|
|
2471
|
+
resizable: boolean;
|
|
2472
|
+
columnMinWidth: number;
|
|
2473
|
+
selectOn: SelectOn;
|
|
2474
|
+
rowDelete: boolean | RowDeleteOpt;
|
|
2475
|
+
rowActionsColumn: RowActionsColumnPlacement | false;
|
|
2476
|
+
headless: boolean;
|
|
2477
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2478
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
2479
|
+
declare const _default$2: typeof __VLS_export$2;
|
|
2480
|
+
type __VLS_WithSlots$2<T, S> = T & {
|
|
2481
|
+
new (): {
|
|
2482
|
+
$slots: S;
|
|
2483
|
+
};
|
|
2484
|
+
};
|
|
2485
|
+
//#endregion
|
|
2486
|
+
//#region src/components/as-window-table.vue.d.ts
|
|
2487
|
+
type Row = Record<string, unknown>;
|
|
2488
|
+
type __VLS_Props$1 = {
|
|
2489
|
+
/** Pixel height of one row. Defaults to `DEFAULT_ROW_HEIGHT_PX`. */rowHeight?: number; /** Number of rows the viewport advances per wheel-tick. */
|
|
2490
|
+
wheelRowsPerTick?: number;
|
|
2491
|
+
/**
|
|
2492
|
+
* Selection mode — rendering concern owned by the renderer. `"multi"`
|
|
2493
|
+
* shows a leading checkbox column and turns row clicks into selection
|
|
2494
|
+
* toggles; `"none"` (default) hides the column and routes clicks
|
|
2495
|
+
* through the main-action path. Independent of `state.selectedRows` —
|
|
2496
|
+
* flipping `select` to `"none"` hides the checkbox UI but leaves the
|
|
2497
|
+
* user's selected pks in place, surviving a future re-enable.
|
|
2498
|
+
*/
|
|
2499
|
+
select?: SelectionMode; /** See {@link SelectOn}. Since 0.1.142. */
|
|
2500
|
+
selectOn?: SelectOn;
|
|
2501
|
+
/**
|
|
2502
|
+
* Force exactly N rows tall. Equivalent to setting both `min-rows` and
|
|
2503
|
+
* `max-rows` to N — overrides both when set. The table reserves N rows
|
|
2504
|
+
* worth of height even when empty.
|
|
2505
|
+
*/
|
|
2506
|
+
rows?: number;
|
|
2507
|
+
/**
|
|
2508
|
+
* Minimum row count. The table is at least this tall even when empty
|
|
2509
|
+
* or when fewer rows would fit the available area.
|
|
2510
|
+
*/
|
|
2511
|
+
minRows?: number;
|
|
2512
|
+
/**
|
|
2513
|
+
* Maximum row count. The table caps at this many rows tall even if the
|
|
2514
|
+
* available area would fit more. Useful for value-help dialogs.
|
|
2515
|
+
*/
|
|
2516
|
+
maxRows?: number;
|
|
2517
|
+
columnMenu?: ColumnMenuConfig; /** Allow header drag-and-drop column reorder. Default true. */
|
|
2518
|
+
reorderable?: boolean; /** Allow header drag-resize. Default true. */
|
|
2519
|
+
resizable?: boolean; /** Pixel floor for the resize clamp. Default 48. */
|
|
2520
|
+
columnMinWidth?: number;
|
|
2521
|
+
/**
|
|
2522
|
+
* Override Enter-key semantics. Default `"main-action"`. Pass
|
|
2523
|
+
* `"toggle-select"` to make Enter mirror Space (pick/unpick the active
|
|
2524
|
+
* row) — used by value-help dialog tables where Enter shouldn't fire a
|
|
2525
|
+
* main action.
|
|
2526
|
+
*/
|
|
2527
|
+
enterAction?: EnterAction;
|
|
2528
|
+
/**
|
|
2529
|
+
* Built-in row-delete: `false` (off, default), `true` (on with defaults),
|
|
2530
|
+
* or a `RowDeleteOpt` overriding label/icon/intent/promptText. The
|
|
2531
|
+
* synthesised `__remove` action only appears when the consumer opts in
|
|
2532
|
+
* AND `tableDef.canRemove === true`. Pushed into `state.rowDelete` via
|
|
2533
|
+
* a watcher — the action set live-updates as the prop flips.
|
|
2534
|
+
*/
|
|
2535
|
+
rowDelete?: boolean | RowDeleteOpt;
|
|
2536
|
+
/**
|
|
2537
|
+
* Synthesised row-actions pseudo-column, as on `<AsTable>`. `'first'` /
|
|
2538
|
+
* `'last'` prepend or append a fixed `__actions` column rendering
|
|
2539
|
+
* `controls.rowActions` (the `@DbAction` row actions, per-row gated by
|
|
2540
|
+
* `$actions`). `'merge-select'` only renders it when `select === "none"`,
|
|
2541
|
+
* sharing the leading gutter with the checkbox column.
|
|
2542
|
+
*
|
|
2543
|
+
* The column is locked: no header dropdown, no resize, no drag-reorder,
|
|
2544
|
+
* NOT in the `columnNames` v-model. Hidden entirely when
|
|
2545
|
+
* the cell has no action to show (no row / rows-level action, no
|
|
2546
|
+
* `:row-actions` `extra` one — since 0.1.147 rows-level ones count).
|
|
2547
|
+
* Since 0.1.138.
|
|
2548
|
+
*/
|
|
2549
|
+
rowActionsColumn?: RowActionsColumnPlacement | false;
|
|
2550
|
+
/**
|
|
2551
|
+
* Render without a header row. Omits `<thead>` entirely (not
|
|
2552
|
+
* `display:none`); column widths are carried by the `<colgroup>`, so data
|
|
2553
|
+
* columns keep their annotated/seeded widths. Header-driven interactions
|
|
2554
|
+
* (sort/filter/reorder/resize) are unavailable in headless mode.
|
|
2555
|
+
*/
|
|
2556
|
+
headless?: boolean;
|
|
2557
|
+
/**
|
|
2558
|
+
* Per-row selectability. Return `false` — or a string, surfaced as the
|
|
2559
|
+
* disabled reason on the row's selection control — to make a row not
|
|
2560
|
+
* selectable. Enforced on every path: row click, Space/Enter toggle, and
|
|
2561
|
+
* the header select-all. Since 0.1.133.
|
|
2562
|
+
*
|
|
2563
|
+
* @example
|
|
2564
|
+
* `:row-selectable="(row) => row.locked ? 'Locked by another user' : true"`
|
|
2565
|
+
*/
|
|
2566
|
+
rowSelectable?: RowSelectableHook;
|
|
2567
|
+
/**
|
|
2568
|
+
* Extra classes for the row element — string, array, or
|
|
2569
|
+
* `{ class: boolean }` map, merged with the framework's own row classes.
|
|
2570
|
+
* Since 0.1.133.
|
|
2571
|
+
*/
|
|
2572
|
+
rowClass?: RowClassHook;
|
|
2573
|
+
/**
|
|
2574
|
+
* Extra attributes for the row element. The framework's own `id`, `role`,
|
|
2575
|
+
* `aria-*`, `data-*`, `class` and `style` always win, so a hook can
|
|
2576
|
+
* decorate a row but never rewrite its accessibility contract.
|
|
2577
|
+
* Since 0.1.133.
|
|
2578
|
+
*/
|
|
2579
|
+
rowAttrs?: RowAttrsHook;
|
|
2580
|
+
};
|
|
2581
|
+
declare var __VLS_10: {
|
|
2582
|
+
selection: TableSelection;
|
|
2583
|
+
canSelectAllMatching: boolean;
|
|
2584
|
+
selectAllMatching: () => void;
|
|
2585
|
+
clearSelection: () => void;
|
|
2586
|
+
loadedCount: number;
|
|
2587
|
+
}, __VLS_24: string, __VLS_25: any, __VLS_27: {};
|
|
2588
|
+
type __VLS_Slots$1 = {} & { [K in NonNullable<typeof __VLS_24>]?: (props: typeof __VLS_25) => any } & {
|
|
2589
|
+
'selection-banner'?: (props: typeof __VLS_10) => any;
|
|
2590
|
+
} & {
|
|
2591
|
+
'query-loading'?: (props: typeof __VLS_27) => any;
|
|
2592
|
+
};
|
|
2593
|
+
declare const __VLS_base$1: vue.DefineComponent<__VLS_Props$1, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
2594
|
+
"row-click": (row: Row, event: MouseEvent) => any;
|
|
2595
|
+
"row-dblclick": (row: Row, event: MouseEvent) => any;
|
|
2596
|
+
"main-action": (row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
|
|
2597
|
+
error: (error: Error, kind: QueryErrorKind) => any;
|
|
2598
|
+
}, string, vue.PublicProps, Readonly<__VLS_Props$1> & Readonly<{
|
|
2599
|
+
"onRow-click"?: ((row: Row, event: MouseEvent) => any) | undefined;
|
|
2600
|
+
"onRow-dblclick"?: ((row: Row, event: MouseEvent) => any) | undefined;
|
|
2601
|
+
"onMain-action"?: ((row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
2602
|
+
onError?: ((error: Error, kind: QueryErrorKind) => any) | undefined;
|
|
2603
|
+
}>, {
|
|
2604
|
+
select: SelectionMode;
|
|
2605
|
+
reorderable: boolean;
|
|
2606
|
+
resizable: boolean;
|
|
2607
|
+
columnMinWidth: number;
|
|
2608
|
+
selectOn: SelectOn;
|
|
2609
|
+
rowDelete: boolean | RowDeleteOpt;
|
|
2610
|
+
rowActionsColumn: RowActionsColumnPlacement | false;
|
|
2611
|
+
headless: boolean;
|
|
2612
|
+
rowHeight: number;
|
|
2613
|
+
wheelRowsPerTick: number;
|
|
2614
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2615
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
2616
|
+
declare const _default$1: typeof __VLS_export$1;
|
|
2617
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
2618
|
+
new (): {
|
|
2619
|
+
$slots: S;
|
|
2620
|
+
};
|
|
2621
|
+
};
|
|
2622
|
+
//#endregion
|
|
2336
2623
|
//#region src/composables/create-default-controls.d.ts
|
|
2337
2624
|
/**
|
|
2338
2625
|
* Returns a fresh skin-slot map pre-filled with all built-in defaults.
|
|
@@ -2462,7 +2749,17 @@ type __VLS_Props = {
|
|
|
2462
2749
|
* - `"trim"` (default) — keep PKs that survive the new result set.
|
|
2463
2750
|
* - `"persist"` — never write to `selectedRows`; full consumer ownership.
|
|
2464
2751
|
*/
|
|
2465
|
-
selectionPersistence?: SelectionPersistence;
|
|
2752
|
+
selectionPersistence?: SelectionPersistence;
|
|
2753
|
+
/**
|
|
2754
|
+
* Offer "Select all N matching" — a selection of every row matching the
|
|
2755
|
+
* current filter / search, not just the loaded ones (default `false`).
|
|
2756
|
+
* Shown by `<AsTable>` / `<AsWindowTable>` in `select="multi"` once every
|
|
2757
|
+
* loaded row is picked, for a server-backed table (no `queryFn`) whose
|
|
2758
|
+
* row actions include one that takes a query target (`queryTarget` in
|
|
2759
|
+
* `/meta`). The selection is bound by `v-model:query-selection`; see
|
|
2760
|
+
* `state.querySelection`. Since 0.1.147.
|
|
2761
|
+
*/
|
|
2762
|
+
selectAllMatching?: boolean; /** Page-alignment unit for `loadRange` and `queryNext` extension. */
|
|
2466
2763
|
blockSize?: number; /** Debounce window for the topIndex/viewportRowCount watcher. */
|
|
2467
2764
|
dragReleaseDebounceMs?: number;
|
|
2468
2765
|
/**
|
|
@@ -2508,6 +2805,11 @@ type __VLS_ModelProps = {
|
|
|
2508
2805
|
*/
|
|
2509
2806
|
"ignoreSortersWhenSearched"?: boolean;
|
|
2510
2807
|
"selectedRows"?: unknown[];
|
|
2808
|
+
/**
|
|
2809
|
+
* The "every row matching the query" selection (`state.querySelection`):
|
|
2810
|
+
* `null` while the selection is `selectedRows`. Since 0.1.147.
|
|
2811
|
+
*/
|
|
2812
|
+
"querySelection"?: QuerySelection | null;
|
|
2511
2813
|
/**
|
|
2512
2814
|
* Bidirectional URL bridge bound via `v-model:url-query`. When unbound the
|
|
2513
2815
|
* feature is off (zero overhead); when bound the first query is gated on
|
|
@@ -2540,6 +2842,10 @@ declare var __VLS_1: {
|
|
|
2540
2842
|
ignoreSortersWhenSearched: boolean;
|
|
2541
2843
|
selectedRows: unknown[];
|
|
2542
2844
|
selectedCount: number;
|
|
2845
|
+
selection: TableSelection;
|
|
2846
|
+
canSelectAllMatching: boolean;
|
|
2847
|
+
selectAllMatching: () => void;
|
|
2848
|
+
clearSelection: () => void;
|
|
2543
2849
|
navBridge: TableNavBridge;
|
|
2544
2850
|
query: (opts?: _atscript_ui_table0.QueryOptions) => void;
|
|
2545
2851
|
queryNext: () => void;
|
|
@@ -2569,16 +2875,19 @@ declare const __VLS_base: vue.DefineComponent<__VLS_PublicProps, {
|
|
|
2569
2875
|
"update:sorters": (value: SortControl[]) => any;
|
|
2570
2876
|
"update:ignoreSortersWhenSearched": (value: boolean) => any;
|
|
2571
2877
|
"update:selectedRows": (value: unknown[]) => any;
|
|
2878
|
+
"update:querySelection": (value: QuerySelection | null) => any;
|
|
2572
2879
|
"update:urlQuery": (value: string | undefined) => any;
|
|
2573
2880
|
} & {
|
|
2574
|
-
"main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
|
|
2575
2881
|
action: (action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any;
|
|
2882
|
+
"main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
|
|
2576
2883
|
"unsupported-filter": (issue: UnsupportedFilter) => any;
|
|
2884
|
+
"selection-reset": (event: SelectionResetEvent) => any;
|
|
2577
2885
|
"fields-dropped": (report: DroppedFieldsReport) => any;
|
|
2578
2886
|
}, string, vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
2579
|
-
"onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
2580
2887
|
onAction?: ((action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any) | undefined;
|
|
2888
|
+
"onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
2581
2889
|
"onUnsupported-filter"?: ((issue: UnsupportedFilter) => any) | undefined;
|
|
2890
|
+
"onSelection-reset"?: ((event: SelectionResetEvent) => any) | undefined;
|
|
2582
2891
|
"onFields-dropped"?: ((report: DroppedFieldsReport) => any) | undefined;
|
|
2583
2892
|
"onUpdate:filterFields"?: ((value: string[]) => any) | undefined;
|
|
2584
2893
|
"onUpdate:columnNames"?: ((value: string[]) => any) | undefined;
|
|
@@ -2586,6 +2895,7 @@ declare const __VLS_base: vue.DefineComponent<__VLS_PublicProps, {
|
|
|
2586
2895
|
"onUpdate:sorters"?: ((value: SortControl[]) => any) | undefined;
|
|
2587
2896
|
"onUpdate:ignoreSortersWhenSearched"?: ((value: boolean) => any) | undefined;
|
|
2588
2897
|
"onUpdate:selectedRows"?: ((value: unknown[]) => any) | undefined;
|
|
2898
|
+
"onUpdate:querySelection"?: ((value: QuerySelection | null) => any) | undefined;
|
|
2589
2899
|
"onUpdate:urlQuery"?: ((value: string | undefined) => any) | undefined;
|
|
2590
2900
|
}>, {
|
|
2591
2901
|
localSort: boolean;
|
|
@@ -2601,4 +2911,4 @@ type __VLS_WithSlots<T, S> = T & {
|
|
|
2601
2911
|
};
|
|
2602
2912
|
};
|
|
2603
2913
|
//#endregion
|
|
2604
|
-
export {
|
|
2914
|
+
export { ExportRowsOptions as $, getColumnWidth as A, UseAppPrefsReturn as B, getDefaultClientFactory as C, usePresets as Ct, setDefaultClientFactory as D, useLocalDraft as Dt, resolveSystemPresets as E, UseLocalDraftReturn as Et, createDefaultControls as F, useTableUrlQuery as G, AS_PRESETS_APP as H, _default$1 as I, useTableFilter as J, useTableActions as K, _default$2 as L, provideCellLocale as M, useCellLocale as N, formatCellValue as O, createDefaultCellTypes as P, ExportResult as Q, useTableComponent as R, UserConfData as S, UsePresetsReturn as St, resetDefaultClientFactory as T, UseLocalDraftOptions as Tt, injectPresetsApp as U, useAppPrefs as V, UseTableUrlQueryOptions as W, ExportCellFormatter as X, useTableNavBridge as Y, ExportProgress as Z, SYSTEM_PRESET_PREFIX as _, provideTableContext as _t, CsvOptions$1 as a, useTable as at, SystemPresetInput$1 as b, ActivePresetView as bt, ExportScalar$1 as c, BuildQueryOptions as ct, PresetCapabilities$1 as d, QueryFn as dt, UseTableExportReturn as et, PresetData as f, TableContext as ft, STANDARD_PRESET_ID as g, createTableState as gt, QueryOptions as h, createStaticTableState as ht, ClientFactory$1 as i, clearTableCache as it, CellLocale as j, getCellValue as k, PRESET_ASPECTS as l, CreateStaticTableStateOptions as lt, PresetSnapshotWire as m, TableStateInternals as mt, AppConfData$1 as n, useTableExport as nt, DisplayColumnDef$1 as o, SelectionPersistence as ot, PresetSnapshot$1 as p, TableModelRefs as pt, useTableSearch as q, AsPresetEntryRow$1 as r, UseTableOptions as rt, ExportAbortError as s, useTableSelection as st, _default as t, downloadExport as tt, PresetAspect$1 as u, CreateTableStateOptions as ut, SelectionQuery$1 as v, useTableContext as vt, isSystemPresetId as w, StorageLike as wt, UrlQuerySync$1 as x, UsePresetsOptions as xt, SystemPreset$1 as y, useTableContextOptional as yt, UseAppPrefsOptions as z };
|
package/dist/as-table.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_table = require("./as-table-
|
|
1
|
+
const require_as_table = require("./as-table-B1FowaPF.cjs");
|
|
2
2
|
module.exports = require_as_table.as_table_default;
|
package/dist/as-table.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { L as _default } from "./as-table-root.vue-CF03c4vu.cjs";
|
|
2
2
|
export = _default;
|
package/dist/as-table.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { L as _default } from "./as-table-root.vue-Bm2DxAqU.mjs";
|
|
2
2
|
export { _default as default };
|
package/dist/as-table.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_table_default } from "./as-table-
|
|
1
|
+
import { t as as_table_default } from "./as-table-Cpvfv9zA.mjs";
|
|
2
2
|
export { as_table_default as default };
|