@atscript/vue-table 0.1.149 → 0.1.150

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.
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-table-actions.vue-CBD_tEpe.cjs";
1
+ import { t as _default } from "./as-table-actions.vue-cexsRPT4.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-table-actions.vue-C2szPEXd.mjs";
1
+ import { t as _default } from "./as-table-actions.vue-5yhKxcAo.mjs";
2
2
  export { _default as default };
@@ -23,7 +23,7 @@ declare var __VLS_1: {
23
23
  defaultAction: TVueTableActionInfo | undefined;
24
24
  otherActions: TVueTableActionInfo[];
25
25
  trailingRowActions: TVueTableActionInfo[];
26
- level: "row" | "rows" | "table";
26
+ level: "row" | "table" | "rows";
27
27
  ids: Record<string, unknown>[];
28
28
  target: PromptTarget | undefined;
29
29
  count: number;
@@ -23,7 +23,7 @@ declare var __VLS_1: {
23
23
  defaultAction: TVueTableActionInfo | undefined;
24
24
  otherActions: TVueTableActionInfo[];
25
25
  trailingRowActions: TVueTableActionInfo[];
26
- level: "row" | "rows" | "table";
26
+ level: "row" | "table" | "rows";
27
27
  ids: Record<string, unknown>[];
28
28
  target: PromptTarget | undefined;
29
29
  count: number;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-table-root.vue-BJMOyB9Q.cjs";
1
+ import { t as _default } from "./as-table-root.vue-CupE2b2_.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-table-root.vue-CES8cqKw.mjs";
1
+ import { t as _default } from "./as-table-root.vue-BsDBKgez.mjs";
2
2
  export { _default as default };
@@ -1266,9 +1266,9 @@ declare const __VLS_base$1: vue.DefineComponent<__VLS_Props$1, {}, {}, {}, {}, v
1266
1266
  "onRow-dblclick"?: ((row: Row, event: MouseEvent) => any) | undefined;
1267
1267
  onError?: ((error: Error, kind: QueryErrorKind) => any) | undefined;
1268
1268
  }>, {
1269
+ select: SelectionMode;
1269
1270
  rowHeight: number;
1270
1271
  wheelRowsPerTick: number;
1271
- select: SelectionMode;
1272
1272
  selectOn: SelectOn;
1273
1273
  reorderable: boolean;
1274
1274
  resizable: boolean;
@@ -1553,12 +1553,13 @@ declare const __VLS_base: vue.DefineComponent<__VLS_PublicProps, {
1553
1553
  "update:querySelection": (value: QuerySelection | null) => any;
1554
1554
  "update:urlQuery": (value: string | undefined) => any;
1555
1555
  } & {
1556
+ action: (action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any;
1556
1557
  "main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
1557
1558
  "unsupported-filter": (issue: UnsupportedFilter) => any;
1558
1559
  "selection-reset": (event: SelectionResetEvent) => any;
1559
1560
  "fields-dropped": (report: DroppedFieldsReport) => any;
1560
- action: (action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any;
1561
1561
  }, string, vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
1562
+ onAction?: ((action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any) | undefined;
1562
1563
  "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
1563
1564
  "onUnsupported-filter"?: ((issue: UnsupportedFilter) => any) | undefined;
1564
1565
  "onSelection-reset"?: ((event: SelectionResetEvent) => any) | undefined;
@@ -1571,7 +1572,6 @@ declare const __VLS_base: vue.DefineComponent<__VLS_PublicProps, {
1571
1572
  "onUpdate:selectedRows"?: ((value: unknown[]) => any) | undefined;
1572
1573
  "onUpdate:querySelection"?: ((value: QuerySelection | null) => any) | undefined;
1573
1574
  "onUpdate:urlQuery"?: ((value: string | undefined) => any) | undefined;
1574
- onAction?: ((action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any) | undefined;
1575
1575
  }>, {
1576
1576
  localSort: boolean;
1577
1577
  queryOnMount: boolean;
@@ -1266,9 +1266,9 @@ declare const __VLS_base$1: vue.DefineComponent<__VLS_Props$1, {}, {}, {}, {}, v
1266
1266
  "onRow-dblclick"?: ((row: Row, event: MouseEvent) => any) | undefined;
1267
1267
  onError?: ((error: Error, kind: QueryErrorKind) => any) | undefined;
1268
1268
  }>, {
1269
+ select: SelectionMode;
1269
1270
  rowHeight: number;
1270
1271
  wheelRowsPerTick: number;
1271
- select: SelectionMode;
1272
1272
  selectOn: SelectOn;
1273
1273
  reorderable: boolean;
1274
1274
  resizable: boolean;
@@ -1553,12 +1553,13 @@ declare const __VLS_base: vue.DefineComponent<__VLS_PublicProps, {
1553
1553
  "update:querySelection": (value: QuerySelection | null) => any;
1554
1554
  "update:urlQuery": (value: string | undefined) => any;
1555
1555
  } & {
1556
+ action: (action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any;
1556
1557
  "main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
1557
1558
  "unsupported-filter": (issue: UnsupportedFilter) => any;
1558
1559
  "selection-reset": (event: SelectionResetEvent) => any;
1559
1560
  "fields-dropped": (report: DroppedFieldsReport) => any;
1560
- action: (action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any;
1561
1561
  }, string, vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
1562
+ onAction?: ((action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any) | undefined;
1562
1563
  "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
1563
1564
  "onUnsupported-filter"?: ((issue: UnsupportedFilter) => any) | undefined;
1564
1565
  "onSelection-reset"?: ((event: SelectionResetEvent) => any) | undefined;
@@ -1571,7 +1572,6 @@ declare const __VLS_base: vue.DefineComponent<__VLS_PublicProps, {
1571
1572
  "onUpdate:selectedRows"?: ((value: unknown[]) => any) | undefined;
1572
1573
  "onUpdate:querySelection"?: ((value: QuerySelection | null) => any) | undefined;
1573
1574
  "onUpdate:urlQuery"?: ((value: string | undefined) => any) | undefined;
1574
- onAction?: ((action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any) | undefined;
1575
1575
  }>, {
1576
1576
  localSort: boolean;
1577
1577
  queryOnMount: boolean;
@@ -1,2 +1,2 @@
1
- import { L as _default } from "./as-table-root.vue-BJMOyB9Q.cjs";
1
+ import { L as _default } from "./as-table-root.vue-CupE2b2_.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { L as _default } from "./as-table-root.vue-CES8cqKw.mjs";
1
+ import { L as _default } from "./as-table-root.vue-BsDBKgez.mjs";
2
2
  export { _default as default };
@@ -1,2 +1,2 @@
1
- import { I as _default } from "./as-table-root.vue-BJMOyB9Q.cjs";
1
+ import { I as _default } from "./as-table-root.vue-CupE2b2_.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { I as _default } from "./as-table-root.vue-CES8cqKw.mjs";
1
+ import { I as _default } from "./as-table-root.vue-BsDBKgez.mjs";
2
2
  export { _default as default };
package/dist/index.d.cts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { t as _default$11 } from "./as-filters.vue-vH1FHn9L.cjs";
2
2
  import { t as _default$13 } from "./as-preset-picker.vue-DfXS3pGl.cjs";
3
3
  import { A as RowSelectableHook, B as TableSelection, C as ResolvedRowActions, D as RowClassHook, E as RowAttrsHook, F as TAsCellTypeComponents, I as TAsTableControls, L as TVueTableActionInfo, M as SelectAllState, N as SelectOn, O as RowDeleteOpt, P as SelectionResetEvent, R as TableActionsState, S as ReactiveTableState, T as RowActionsConfig, V as resolveRowActions, _ as MainActionRequest, a as identifierFieldsOf, b as QueryErrorKind, c as ActionResult, d as ConfigTab, g as LocalRowAction, h as InvokeOpts, i as extractIdentifier, j as RowSelectableVerdict, k as RowHookContext, l as ApplyUrlQueryOptions, n as QUERY_TARGET_UNSUPPORTED_REASON, o as queryTargetGate, p as DroppedFieldsReport, r as actionIdentifiers, s as ActionQueryTarget, u as ColumnMenuConfig, v as NavKeyOptions, x as QuerySelection, z as TableNavBridge } from "./intent-scope-CGch9yhy.cjs";
4
- import { t as _default$16 } from "./as-table-actions.vue-CBD_tEpe.cjs";
5
- import { $ as ExportProgress, A as getColumnWidth, B as UseAppPrefsReturn, C as getDefaultClientFactory, Ct as UsePresetsOptions, D as setDefaultClientFactory, Dt as UseLocalDraftOptions, E as resolveSystemPresets, Et as StorageLike, F as createDefaultControls, G as TableUrlQueryRouter, H as AS_PRESETS_APP, I as _default$20, J as useTableActions, K as UseTableUrlQueryOptions, L as _default$15, M as provideCellLocale, N as useCellLocale, O as formatCellValue, Ot as UseLocalDraftReturn, P as createDefaultCellTypes, Q as ExportCellFormatter, R as useTableComponent, S as UserConfData, St as ActivePresetView, T as resetDefaultClientFactory, Tt as usePresets, U as injectPresetsApp, V as useAppPrefs, W as TableUrlQueryRoute, X as useTableFilter, Y as useTableSearch, Z as useTableNavBridge, _ as SYSTEM_PRESET_PREFIX, _t as createStaticTableState, a as CsvOptions, at as UseTableOptions, b as SystemPresetInput, bt as useTableContext, c as ExportScalar, ct as SelectionPersistence, d as PresetCapabilities, dt as CreateStaticTableStateOptions, et as ExportResult, f as PresetData, ft as CreateTableStateOptions, g as STANDARD_PRESET_ID, gt as TableStateInternals, h as QueryOptions, ht as TableModelRefs, i as ClientFactory, it as useTableExport, j as CellLocale, k as getCellValue, kt as useLocalDraft, l as PRESET_ASPECTS, lt as useTableSelection, m as PresetSnapshotWire, mt as TableContext, n as AppConfData, nt as UseTableExportReturn, o as DisplayColumnDef, ot as clearTableCache, p as PresetSnapshot, pt as QueryFn, q as useTableUrlQuery, r as AsPresetEntryRow, rt as downloadExport, s as ExportAbortError, st as useTable, t as _default$19, tt as ExportRowsOptions, u as PresetAspect, ut as BuildQueryOptions, v as SelectionQuery, vt as createTableState, w as isSystemPresetId, wt as UsePresetsReturn, x as UrlQuerySync, xt as useTableContextOptional, y as SystemPreset, yt as provideTableContext, z as UseAppPrefsOptions } from "./as-table-root.vue-BJMOyB9Q.cjs";
4
+ import { t as _default$16 } from "./as-table-actions.vue-cexsRPT4.cjs";
5
+ import { $ as ExportProgress, A as getColumnWidth, B as UseAppPrefsReturn, C as getDefaultClientFactory, Ct as UsePresetsOptions, D as setDefaultClientFactory, Dt as UseLocalDraftOptions, E as resolveSystemPresets, Et as StorageLike, F as createDefaultControls, G as TableUrlQueryRouter, H as AS_PRESETS_APP, I as _default$20, J as useTableActions, K as UseTableUrlQueryOptions, L as _default$15, M as provideCellLocale, N as useCellLocale, O as formatCellValue, Ot as UseLocalDraftReturn, P as createDefaultCellTypes, Q as ExportCellFormatter, R as useTableComponent, S as UserConfData, St as ActivePresetView, T as resetDefaultClientFactory, Tt as usePresets, U as injectPresetsApp, V as useAppPrefs, W as TableUrlQueryRoute, X as useTableFilter, Y as useTableSearch, Z as useTableNavBridge, _ as SYSTEM_PRESET_PREFIX, _t as createStaticTableState, a as CsvOptions, at as UseTableOptions, b as SystemPresetInput, bt as useTableContext, c as ExportScalar, ct as SelectionPersistence, d as PresetCapabilities, dt as CreateStaticTableStateOptions, et as ExportResult, f as PresetData, ft as CreateTableStateOptions, g as STANDARD_PRESET_ID, gt as TableStateInternals, h as QueryOptions, ht as TableModelRefs, i as ClientFactory, it as useTableExport, j as CellLocale, k as getCellValue, kt as useLocalDraft, l as PRESET_ASPECTS, lt as useTableSelection, m as PresetSnapshotWire, mt as TableContext, n as AppConfData, nt as UseTableExportReturn, o as DisplayColumnDef, ot as clearTableCache, p as PresetSnapshot, pt as QueryFn, q as useTableUrlQuery, r as AsPresetEntryRow, rt as downloadExport, s as ExportAbortError, st as useTable, t as _default$19, tt as ExportRowsOptions, u as PresetAspect, ut as BuildQueryOptions, v as SelectionQuery, vt as createTableState, w as isSystemPresetId, wt as UsePresetsReturn, x as UrlQuerySync, xt as useTableContextOptional, y as SystemPreset, yt as provideTableContext, z as UseAppPrefsOptions } from "./as-table-root.vue-CupE2b2_.cjs";
6
6
  import { t as _default } from "./as-cell-array.vue-C4BTM8YW.cjs";
7
7
  import { t as _default$1 } from "./as-cell-date.vue-BcMgxBfm.cjs";
8
8
  import { t as _default$2 } from "./as-cell-json.vue-pwE9uJdv.cjs";
package/dist/index.d.mts CHANGED
@@ -1,8 +1,8 @@
1
1
  import { t as _default$11 } from "./as-filters.vue-Bu4wK0iD.mjs";
2
2
  import { t as _default$13 } from "./as-preset-picker.vue-DAUZOlOD.mjs";
3
3
  import { A as RowSelectableHook, B as TableSelection, C as ResolvedRowActions, D as RowClassHook, E as RowAttrsHook, F as TAsCellTypeComponents, I as TAsTableControls, L as TVueTableActionInfo, M as SelectAllState, N as SelectOn, O as RowDeleteOpt, P as SelectionResetEvent, R as TableActionsState, S as ReactiveTableState, T as RowActionsConfig, V as resolveRowActions, _ as MainActionRequest, a as identifierFieldsOf, b as QueryErrorKind, c as ActionResult, d as ConfigTab, g as LocalRowAction, h as InvokeOpts, i as extractIdentifier, j as RowSelectableVerdict, k as RowHookContext, l as ApplyUrlQueryOptions, n as QUERY_TARGET_UNSUPPORTED_REASON, o as queryTargetGate, p as DroppedFieldsReport, r as actionIdentifiers, s as ActionQueryTarget, u as ColumnMenuConfig, v as NavKeyOptions, x as QuerySelection, z as TableNavBridge } from "./intent-scope-CvD4YOvf.mjs";
4
- import { t as _default$16 } from "./as-table-actions.vue-C2szPEXd.mjs";
5
- import { $ as ExportProgress, A as getColumnWidth, B as UseAppPrefsReturn, C as getDefaultClientFactory, Ct as UsePresetsOptions, D as setDefaultClientFactory, Dt as UseLocalDraftOptions, E as resolveSystemPresets, Et as StorageLike, F as createDefaultControls, G as TableUrlQueryRouter, H as AS_PRESETS_APP, I as _default$20, J as useTableActions, K as UseTableUrlQueryOptions, L as _default$15, M as provideCellLocale, N as useCellLocale, O as formatCellValue, Ot as UseLocalDraftReturn, P as createDefaultCellTypes, Q as ExportCellFormatter, R as useTableComponent, S as UserConfData, St as ActivePresetView, T as resetDefaultClientFactory, Tt as usePresets, U as injectPresetsApp, V as useAppPrefs, W as TableUrlQueryRoute, X as useTableFilter, Y as useTableSearch, Z as useTableNavBridge, _ as SYSTEM_PRESET_PREFIX, _t as createStaticTableState, a as CsvOptions, at as UseTableOptions, b as SystemPresetInput, bt as useTableContext, c as ExportScalar, ct as SelectionPersistence, d as PresetCapabilities, dt as CreateStaticTableStateOptions, et as ExportResult, f as PresetData, ft as CreateTableStateOptions, g as STANDARD_PRESET_ID, gt as TableStateInternals, h as QueryOptions, ht as TableModelRefs, i as ClientFactory, it as useTableExport, j as CellLocale, k as getCellValue, kt as useLocalDraft, l as PRESET_ASPECTS, lt as useTableSelection, m as PresetSnapshotWire, mt as TableContext, n as AppConfData, nt as UseTableExportReturn, o as DisplayColumnDef, ot as clearTableCache, p as PresetSnapshot, pt as QueryFn, q as useTableUrlQuery, r as AsPresetEntryRow, rt as downloadExport, s as ExportAbortError, st as useTable, t as _default$19, tt as ExportRowsOptions, u as PresetAspect, ut as BuildQueryOptions, v as SelectionQuery, vt as createTableState, w as isSystemPresetId, wt as UsePresetsReturn, x as UrlQuerySync, xt as useTableContextOptional, y as SystemPreset, yt as provideTableContext, z as UseAppPrefsOptions } from "./as-table-root.vue-CES8cqKw.mjs";
4
+ import { t as _default$16 } from "./as-table-actions.vue-5yhKxcAo.mjs";
5
+ import { $ as ExportProgress, A as getColumnWidth, B as UseAppPrefsReturn, C as getDefaultClientFactory, Ct as UsePresetsOptions, D as setDefaultClientFactory, Dt as UseLocalDraftOptions, E as resolveSystemPresets, Et as StorageLike, F as createDefaultControls, G as TableUrlQueryRouter, H as AS_PRESETS_APP, I as _default$20, J as useTableActions, K as UseTableUrlQueryOptions, L as _default$15, M as provideCellLocale, N as useCellLocale, O as formatCellValue, Ot as UseLocalDraftReturn, P as createDefaultCellTypes, Q as ExportCellFormatter, R as useTableComponent, S as UserConfData, St as ActivePresetView, T as resetDefaultClientFactory, Tt as usePresets, U as injectPresetsApp, V as useAppPrefs, W as TableUrlQueryRoute, X as useTableFilter, Y as useTableSearch, Z as useTableNavBridge, _ as SYSTEM_PRESET_PREFIX, _t as createStaticTableState, a as CsvOptions, at as UseTableOptions, b as SystemPresetInput, bt as useTableContext, c as ExportScalar, ct as SelectionPersistence, d as PresetCapabilities, dt as CreateStaticTableStateOptions, et as ExportResult, f as PresetData, ft as CreateTableStateOptions, g as STANDARD_PRESET_ID, gt as TableStateInternals, h as QueryOptions, ht as TableModelRefs, i as ClientFactory, it as useTableExport, j as CellLocale, k as getCellValue, kt as useLocalDraft, l as PRESET_ASPECTS, lt as useTableSelection, m as PresetSnapshotWire, mt as TableContext, n as AppConfData, nt as UseTableExportReturn, o as DisplayColumnDef, ot as clearTableCache, p as PresetSnapshot, pt as QueryFn, q as useTableUrlQuery, r as AsPresetEntryRow, rt as downloadExport, s as ExportAbortError, st as useTable, t as _default$19, tt as ExportRowsOptions, u as PresetAspect, ut as BuildQueryOptions, v as SelectionQuery, vt as createTableState, w as isSystemPresetId, wt as UsePresetsReturn, x as UrlQuerySync, xt as useTableContextOptional, y as SystemPreset, yt as provideTableContext, z as UseAppPrefsOptions } from "./as-table-root.vue-BsDBKgez.mjs";
6
6
  import { t as _default } from "./as-cell-array.vue-D4vS7C_D.mjs";
7
7
  import { t as _default$1 } from "./as-cell-date.vue-Chs7WTZ9.mjs";
8
8
  import { t as _default$2 } from "./as-cell-json.vue-C0_LDvQw.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atscript/vue-table",
3
- "version": "0.1.149",
3
+ "version": "0.1.150",
4
4
  "description": "Type-driven table components for Atscript with Vue 3",
5
5
  "keywords": [
6
6
  "atscript",
@@ -167,14 +167,14 @@
167
167
  "access": "public"
168
168
  },
169
169
  "dependencies": {
170
- "@atscript/ui": "^0.1.149",
171
- "@atscript/ui-table": "^0.1.149",
172
- "@atscript/vue-form": "^0.1.149"
170
+ "@atscript/ui": "^0.1.150",
171
+ "@atscript/ui-table": "^0.1.150",
172
+ "@atscript/vue-form": "^0.1.150"
173
173
  },
174
174
  "devDependencies": {
175
- "@atscript/core": "^0.1.100",
176
- "@atscript/db-client": "^0.1.149",
177
- "@atscript/typescript": "^0.1.100",
175
+ "@atscript/core": "^0.1.101",
176
+ "@atscript/db-client": "^0.1.150",
177
+ "@atscript/typescript": "^0.1.101",
178
178
  "@tanstack/vue-virtual": "^3.13.26",
179
179
  "@uniqu/core": "^0.1.13",
180
180
  "@uniqu/url": "^0.1.13",
@@ -190,7 +190,7 @@
190
190
  "vunor": "^0.3.2"
191
191
  },
192
192
  "peerDependencies": {
193
- "@atscript/db-client": "^0.1.149",
193
+ "@atscript/db-client": "^0.1.150",
194
194
  "@tanstack/vue-virtual": "^3.13.26",
195
195
  "@uniqu/url": "^0.1.13",
196
196
  "@vueuse/core": "^14.3.0",