@atscript/vue-table 0.1.70 → 0.1.72

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-root.vue-CSqEtIll.cjs";
1
+ import { t as _default } from "./as-table-root.vue-CAQzVgay.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-table-root.vue-5_OhVwse.mjs";
1
+ import { t as _default } from "./as-table-root.vue-Bnooi1I6.mjs";
2
2
  export { _default as default };
@@ -2235,13 +2235,13 @@ declare const __VLS_base: vue.DefineComponent<__VLS_PublicProps, {
2235
2235
  "main-action": (row: Record<string, unknown>, absIndex: number, event: KeyboardEvent | MouseEvent) => any;
2236
2236
  }, string, vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
2237
2237
  onAction?: ((action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: KeyboardEvent | MouseEvent | undefined) => any) | undefined;
2238
- "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: KeyboardEvent | MouseEvent) => any) | undefined;
2239
2238
  "onUpdate:filterFields"?: ((value: string[]) => any) | undefined;
2240
2239
  "onUpdate:columnNames"?: ((value: string[]) => any) | undefined;
2241
2240
  "onUpdate:columnWidths"?: ((value: ColumnWidthsMap) => any) | undefined;
2242
2241
  "onUpdate:sorters"?: ((value: SortControl[]) => any) | undefined;
2243
2242
  "onUpdate:selectedRows"?: ((value: unknown[]) => any) | undefined;
2244
2243
  "onUpdate:urlQuery"?: ((value: string | undefined) => any) | undefined;
2244
+ "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: KeyboardEvent | MouseEvent) => any) | undefined;
2245
2245
  }>, {
2246
2246
  queryOnMount: boolean;
2247
2247
  selectionPersistence: SelectionPersistence;
@@ -2235,13 +2235,13 @@ declare const __VLS_base: vue.DefineComponent<__VLS_PublicProps, {
2235
2235
  "main-action": (row: Record<string, unknown>, absIndex: number, event: KeyboardEvent | MouseEvent) => any;
2236
2236
  }, string, vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
2237
2237
  onAction?: ((action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: KeyboardEvent | MouseEvent | undefined) => any) | undefined;
2238
- "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: KeyboardEvent | MouseEvent) => any) | undefined;
2239
2238
  "onUpdate:filterFields"?: ((value: string[]) => any) | undefined;
2240
2239
  "onUpdate:columnNames"?: ((value: string[]) => any) | undefined;
2241
2240
  "onUpdate:columnWidths"?: ((value: ColumnWidthsMap) => any) | undefined;
2242
2241
  "onUpdate:sorters"?: ((value: SortControl[]) => any) | undefined;
2243
2242
  "onUpdate:selectedRows"?: ((value: unknown[]) => any) | undefined;
2244
2243
  "onUpdate:urlQuery"?: ((value: string | undefined) => any) | undefined;
2244
+ "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: KeyboardEvent | MouseEvent) => any) | undefined;
2245
2245
  }>, {
2246
2246
  queryOnMount: boolean;
2247
2247
  selectionPersistence: SelectionPersistence;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-table.vue-wdRARLIe.cjs";
1
+ import { t as _default } from "./as-table.vue-vxuudXjo.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-table.vue-BTYg-e3Z.mjs";
1
+ import { t as _default } from "./as-table.vue-CH7WH6qe.mjs";
2
2
  export { _default as default };
@@ -62,12 +62,12 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.C
62
62
  "onRow-dblclick"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
63
63
  }>, {
64
64
  select: SelectionMode;
65
+ stickyHeader: boolean;
66
+ virtualOverscan: number;
65
67
  reorderable: boolean;
66
68
  resizable: boolean;
67
69
  columnMinWidth: number;
68
70
  rowDelete: boolean | RowDeleteOpt;
69
- stickyHeader: boolean;
70
- virtualOverscan: number;
71
71
  rowActionsColumn: "first" | "last" | "merge-select" | false;
72
72
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
73
73
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -62,12 +62,12 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.C
62
62
  "onRow-dblclick"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
63
63
  }>, {
64
64
  select: SelectionMode;
65
+ stickyHeader: boolean;
66
+ virtualOverscan: number;
65
67
  reorderable: boolean;
66
68
  resizable: boolean;
67
69
  columnMinWidth: number;
68
70
  rowDelete: boolean | RowDeleteOpt;
69
- stickyHeader: boolean;
70
- virtualOverscan: number;
71
71
  rowActionsColumn: "first" | "last" | "merge-select" | false;
72
72
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
73
73
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-window-table.vue-CA8qsrz4.cjs";
1
+ import { t as _default } from "./as-window-table.vue-DXB5Qan7.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-window-table.vue-Bf8xGC9M.mjs";
1
+ import { t as _default } from "./as-window-table.vue-7cJ3TUZX.mjs";
2
2
  export { _default as default };
@@ -68,12 +68,12 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.C
68
68
  onError?: ((error: Error, kind: QueryErrorKind) => any) | undefined;
69
69
  }>, {
70
70
  select: SelectionMode;
71
- rowHeight: number;
72
- wheelRowsPerTick: number;
73
71
  reorderable: boolean;
74
72
  resizable: boolean;
75
73
  columnMinWidth: number;
76
74
  rowDelete: boolean | RowDeleteOpt;
75
+ rowHeight: number;
76
+ wheelRowsPerTick: number;
77
77
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
78
78
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
79
79
  declare const _default: typeof __VLS_export;
@@ -68,12 +68,12 @@ declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.C
68
68
  onError?: ((error: Error, kind: QueryErrorKind) => any) | undefined;
69
69
  }>, {
70
70
  select: SelectionMode;
71
- rowHeight: number;
72
- wheelRowsPerTick: number;
73
71
  reorderable: boolean;
74
72
  resizable: boolean;
75
73
  columnMinWidth: number;
76
74
  rowDelete: boolean | RowDeleteOpt;
75
+ rowHeight: number;
76
+ wheelRowsPerTick: number;
77
77
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
78
78
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
79
79
  declare const _default: typeof __VLS_export;
package/dist/index.d.cts CHANGED
@@ -2,9 +2,9 @@ import { t as _default$9 } from "./as-filters.vue-fv-tRL2H.cjs";
2
2
  import { t as _default$11 } from "./as-preset-picker.vue-DfXS3pGl.cjs";
3
3
  import { _ as TableNavBridge, c as NavKeyOptions, d as ReactiveTableState, f as RowDeleteOpt, g as TableActionsState, h as TVueTableActionInfo, m as TAsTableControls, n as ColumnMenuConfig, o as InvokeOpts, p as TAsCellTypeComponents, r as ConfigTab, s as MainActionRequest, t as ActionResult, u as QueryErrorKind } from "./types-CNMmF6W2.cjs";
4
4
  import { t as _default$14 } from "./as-table-actions.vue-pDtCQ0oB.cjs";
5
- import { $ as createTableState, A as createDefaultControls, B as useTableSearch, C as formatCellValue, D as provideCellLocale, E as CellLocale, F as AS_PRESETS_APP, G as useTable, H as useTableNavBridge, I as injectPresetsApp, J as CreateStaticTableStateOptions, K as SelectionPersistence, L as UseTableUrlQueryOptions, M as UseAppPrefsOptions, N as UseAppPrefsReturn, O as useCellLocale, P as useAppPrefs, Q as createStaticTableState, R as useTableUrlQuery, S as extractIdentifier, T as getColumnWidth, U as UseTableOptions, V as useTableFilter, W as clearTableCache, X as TableContext, Y as CreateTableStateOptions, Z as TableStateInternals, _ as getDefaultClientFactory, a as PRESET_ASPECTS, at as usePresets, b as resolveSystemPresets, c as PresetData, ct as UseLocalDraftReturn, d as STANDARD_PRESET_ID, et as useTableContext, f as SYSTEM_PRESET_PREFIX, g as UserConfData, h as UrlQuerySync, i as ClientFactory, it as UsePresetsReturn, j as useTableComponent, k as createDefaultCellTypes, l as PresetSnapshot, lt as useLocalDraft, m as SystemPresetInput, n as AppConfData, nt as ActivePresetView, o as PresetAspect, ot as StorageLike, p as SystemPreset, q as useTableSelection, r as AsPresetEntryRow, rt as UsePresetsOptions, s as PresetCapabilities, st as UseLocalDraftOptions, t as _default$17, tt as useTableContextOptional, u as PresetSnapshotWire, v as isSystemPresetId, w as getCellValue, x as setDefaultClientFactory, y as resetDefaultClientFactory, z as useTableActions } from "./as-table-root.vue-CSqEtIll.cjs";
6
- import { t as _default$13 } from "./as-table.vue-wdRARLIe.cjs";
7
- import { t as _default$18 } from "./as-window-table.vue-CA8qsrz4.cjs";
5
+ import { $ as createTableState, A as createDefaultControls, B as useTableSearch, C as formatCellValue, D as provideCellLocale, E as CellLocale, F as AS_PRESETS_APP, G as useTable, H as useTableNavBridge, I as injectPresetsApp, J as CreateStaticTableStateOptions, K as SelectionPersistence, L as UseTableUrlQueryOptions, M as UseAppPrefsOptions, N as UseAppPrefsReturn, O as useCellLocale, P as useAppPrefs, Q as createStaticTableState, R as useTableUrlQuery, S as extractIdentifier, T as getColumnWidth, U as UseTableOptions, V as useTableFilter, W as clearTableCache, X as TableContext, Y as CreateTableStateOptions, Z as TableStateInternals, _ as getDefaultClientFactory, a as PRESET_ASPECTS, at as usePresets, b as resolveSystemPresets, c as PresetData, ct as UseLocalDraftReturn, d as STANDARD_PRESET_ID, et as useTableContext, f as SYSTEM_PRESET_PREFIX, g as UserConfData, h as UrlQuerySync, i as ClientFactory, it as UsePresetsReturn, j as useTableComponent, k as createDefaultCellTypes, l as PresetSnapshot, lt as useLocalDraft, m as SystemPresetInput, n as AppConfData, nt as ActivePresetView, o as PresetAspect, ot as StorageLike, p as SystemPreset, q as useTableSelection, r as AsPresetEntryRow, rt as UsePresetsOptions, s as PresetCapabilities, st as UseLocalDraftOptions, t as _default$17, tt as useTableContextOptional, u as PresetSnapshotWire, v as isSystemPresetId, w as getCellValue, x as setDefaultClientFactory, y as resetDefaultClientFactory, z as useTableActions } from "./as-table-root.vue-CAQzVgay.cjs";
6
+ import { t as _default$13 } from "./as-table.vue-vxuudXjo.cjs";
7
+ import { t as _default$18 } from "./as-window-table.vue-DXB5Qan7.cjs";
8
8
  import { t as _default } from "./as-cell-array.vue-pFs5GcCR.cjs";
9
9
  import { t as _default$1 } from "./as-cell-date.vue-BBSps2B2.cjs";
10
10
  import { t as _default$2 } from "./as-cell-json.vue-C6wg4ARZ.cjs";
package/dist/index.d.mts CHANGED
@@ -2,9 +2,9 @@ import { t as _default$9 } from "./as-filters.vue-BsMgYUcX.mjs";
2
2
  import { t as _default$11 } from "./as-preset-picker.vue-CTBk6leV.mjs";
3
3
  import { _ as TableNavBridge, c as NavKeyOptions, d as ReactiveTableState, f as RowDeleteOpt, g as TableActionsState, h as TVueTableActionInfo, m as TAsTableControls, n as ColumnMenuConfig, o as InvokeOpts, p as TAsCellTypeComponents, r as ConfigTab, s as MainActionRequest, t as ActionResult, u as QueryErrorKind } from "./types-BvvXN72P.mjs";
4
4
  import { t as _default$14 } from "./as-table-actions.vue-riwwEAGF.mjs";
5
- import { $ as createTableState, A as createDefaultControls, B as useTableSearch, C as formatCellValue, D as provideCellLocale, E as CellLocale, F as AS_PRESETS_APP, G as useTable, H as useTableNavBridge, I as injectPresetsApp, J as CreateStaticTableStateOptions, K as SelectionPersistence, L as UseTableUrlQueryOptions, M as UseAppPrefsOptions, N as UseAppPrefsReturn, O as useCellLocale, P as useAppPrefs, Q as createStaticTableState, R as useTableUrlQuery, S as extractIdentifier, T as getColumnWidth, U as UseTableOptions, V as useTableFilter, W as clearTableCache, X as TableContext, Y as CreateTableStateOptions, Z as TableStateInternals, _ as getDefaultClientFactory, a as PRESET_ASPECTS, at as usePresets, b as resolveSystemPresets, c as PresetData, ct as UseLocalDraftReturn, d as STANDARD_PRESET_ID, et as useTableContext, f as SYSTEM_PRESET_PREFIX, g as UserConfData, h as UrlQuerySync, i as ClientFactory, it as UsePresetsReturn, j as useTableComponent, k as createDefaultCellTypes, l as PresetSnapshot, lt as useLocalDraft, m as SystemPresetInput, n as AppConfData, nt as ActivePresetView, o as PresetAspect, ot as StorageLike, p as SystemPreset, q as useTableSelection, r as AsPresetEntryRow, rt as UsePresetsOptions, s as PresetCapabilities, st as UseLocalDraftOptions, t as _default$17, tt as useTableContextOptional, u as PresetSnapshotWire, v as isSystemPresetId, w as getCellValue, x as setDefaultClientFactory, y as resetDefaultClientFactory, z as useTableActions } from "./as-table-root.vue-5_OhVwse.mjs";
6
- import { t as _default$13 } from "./as-table.vue-BTYg-e3Z.mjs";
7
- import { t as _default$18 } from "./as-window-table.vue-Bf8xGC9M.mjs";
5
+ import { $ as createTableState, A as createDefaultControls, B as useTableSearch, C as formatCellValue, D as provideCellLocale, E as CellLocale, F as AS_PRESETS_APP, G as useTable, H as useTableNavBridge, I as injectPresetsApp, J as CreateStaticTableStateOptions, K as SelectionPersistence, L as UseTableUrlQueryOptions, M as UseAppPrefsOptions, N as UseAppPrefsReturn, O as useCellLocale, P as useAppPrefs, Q as createStaticTableState, R as useTableUrlQuery, S as extractIdentifier, T as getColumnWidth, U as UseTableOptions, V as useTableFilter, W as clearTableCache, X as TableContext, Y as CreateTableStateOptions, Z as TableStateInternals, _ as getDefaultClientFactory, a as PRESET_ASPECTS, at as usePresets, b as resolveSystemPresets, c as PresetData, ct as UseLocalDraftReturn, d as STANDARD_PRESET_ID, et as useTableContext, f as SYSTEM_PRESET_PREFIX, g as UserConfData, h as UrlQuerySync, i as ClientFactory, it as UsePresetsReturn, j as useTableComponent, k as createDefaultCellTypes, l as PresetSnapshot, lt as useLocalDraft, m as SystemPresetInput, n as AppConfData, nt as ActivePresetView, o as PresetAspect, ot as StorageLike, p as SystemPreset, q as useTableSelection, r as AsPresetEntryRow, rt as UsePresetsOptions, s as PresetCapabilities, st as UseLocalDraftOptions, t as _default$17, tt as useTableContextOptional, u as PresetSnapshotWire, v as isSystemPresetId, w as getCellValue, x as setDefaultClientFactory, y as resetDefaultClientFactory, z as useTableActions } from "./as-table-root.vue-Bnooi1I6.mjs";
6
+ import { t as _default$13 } from "./as-table.vue-CH7WH6qe.mjs";
7
+ import { t as _default$18 } from "./as-window-table.vue-7cJ3TUZX.mjs";
8
8
  import { t as _default } from "./as-cell-array.vue-DZGM2VHh.mjs";
9
9
  import { t as _default$1 } from "./as-cell-date.vue-Zlt4mHWb.mjs";
10
10
  import { t as _default$2 } from "./as-cell-json.vue-CESWuCer.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atscript/vue-table",
3
- "version": "0.1.70",
3
+ "version": "0.1.72",
4
4
  "description": "Type-driven table components for Atscript with Vue 3",
5
5
  "keywords": [
6
6
  "atscript",
@@ -159,13 +159,13 @@
159
159
  "access": "public"
160
160
  },
161
161
  "dependencies": {
162
- "@atscript/vue-form": "^0.1.70",
163
- "@atscript/ui": "^0.1.70",
164
- "@atscript/ui-table": "^0.1.70"
162
+ "@atscript/ui-table": "^0.1.72",
163
+ "@atscript/ui": "^0.1.72",
164
+ "@atscript/vue-form": "^0.1.72"
165
165
  },
166
166
  "devDependencies": {
167
- "@atscript/db-client": "^0.1.82",
168
- "@atscript/typescript": "^0.1.58",
167
+ "@atscript/db-client": "^0.1.83",
168
+ "@atscript/typescript": "^0.1.59",
169
169
  "@tanstack/vue-virtual": "^3.13.23",
170
170
  "@uniqu/core": "^0.1.6",
171
171
  "@vitejs/plugin-vue": "^6",
@@ -180,7 +180,7 @@
180
180
  "vunor": "^0.2"
181
181
  },
182
182
  "peerDependencies": {
183
- "@atscript/db-client": "^0.1.82",
183
+ "@atscript/db-client": "^0.1.83",
184
184
  "@tanstack/vue-virtual": "^3.13.23",
185
185
  "@vueuse/core": "^14.2.1",
186
186
  "reka-ui": "^2.9.2",