@atscript/vue-table 0.1.113 → 0.1.115

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-WXkllHVw.cjs";
1
+ import { t as _default } from "./as-table-actions.vue-Bh9qjNbE.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-table-actions.vue-DTGYOsZh.mjs";
1
+ import { t as _default } from "./as-table-actions.vue-BBu0a75s.mjs";
2
2
  export { _default as default };
@@ -18,7 +18,7 @@ declare var __VLS_1: {
18
18
  defaultAction: TVueTableActionInfo | undefined;
19
19
  otherActions: TVueTableActionInfo[];
20
20
  trailingRowActions: TVueTableActionInfo[];
21
- level: "row" | "rows" | "table";
21
+ level: "rows" | "table" | "row";
22
22
  ids: Record<string, unknown>[];
23
23
  invoke: typeof invokeWith;
24
24
  }, __VLS_12: {
@@ -18,7 +18,7 @@ declare var __VLS_1: {
18
18
  defaultAction: TVueTableActionInfo | undefined;
19
19
  otherActions: TVueTableActionInfo[];
20
20
  trailingRowActions: TVueTableActionInfo[];
21
- level: "row" | "rows" | "table";
21
+ level: "rows" | "table" | "row";
22
22
  ids: Record<string, unknown>[];
23
23
  invoke: typeof invokeWith;
24
24
  }, __VLS_12: {
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-table.vue-Co8kYS_o.cjs";
1
+ import { t as _default } from "./as-table.vue-D9cCjbtr.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-table.vue-B2ywpIo_.mjs";
1
+ import { t as _default } from "./as-table.vue-DxtfL26P.mjs";
2
2
  export { _default as default };
@@ -60,23 +60,23 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_21>]?: (props: typeof _
60
60
  'query-loading'?: (props: typeof __VLS_24) => any;
61
61
  };
62
62
  declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
63
- "main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
64
63
  "row-click": (row: Record<string, unknown>, event: MouseEvent) => any;
65
64
  "row-dblclick": (row: Record<string, unknown>, event: MouseEvent) => any;
65
+ "main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
66
66
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
67
- "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
68
67
  "onRow-click"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
69
68
  "onRow-dblclick"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
69
+ "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
70
70
  }>, {
71
- select: SelectionMode;
71
+ stickyHeader: boolean;
72
+ virtualOverscan: number;
72
73
  reorderable: boolean;
73
74
  resizable: boolean;
74
75
  columnMinWidth: number;
76
+ select: SelectionMode;
75
77
  rowDelete: boolean | RowDeleteOpt;
76
- headless: boolean;
77
- stickyHeader: boolean;
78
- virtualOverscan: number;
79
78
  rowActionsColumn: "first" | "last" | "merge-select" | false;
79
+ headless: boolean;
80
80
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
81
81
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
82
82
  declare const _default: typeof __VLS_export;
@@ -60,23 +60,23 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_21>]?: (props: typeof _
60
60
  'query-loading'?: (props: typeof __VLS_24) => any;
61
61
  };
62
62
  declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
63
- "main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
64
63
  "row-click": (row: Record<string, unknown>, event: MouseEvent) => any;
65
64
  "row-dblclick": (row: Record<string, unknown>, event: MouseEvent) => any;
65
+ "main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
66
66
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
67
- "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
68
67
  "onRow-click"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
69
68
  "onRow-dblclick"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
69
+ "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
70
70
  }>, {
71
- select: SelectionMode;
71
+ stickyHeader: boolean;
72
+ virtualOverscan: number;
72
73
  reorderable: boolean;
73
74
  resizable: boolean;
74
75
  columnMinWidth: number;
76
+ select: SelectionMode;
75
77
  rowDelete: boolean | RowDeleteOpt;
76
- headless: boolean;
77
- stickyHeader: boolean;
78
- virtualOverscan: number;
79
78
  rowActionsColumn: "first" | "last" | "merge-select" | false;
79
+ headless: boolean;
80
80
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
81
81
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
82
82
  declare const _default: typeof __VLS_export;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-window-table.vue-DajUEg5q.cjs";
1
+ import { t as _default } from "./as-window-table.vue-BavmqDeH.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-window-table.vue-0ykWW1_K.mjs";
1
+ import { t as _default } from "./as-window-table.vue-BpvgmsC1.mjs";
2
2
  export { _default as default };
@@ -64,24 +64,24 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_13>]?: (props: typeof _
64
64
  'query-loading'?: (props: typeof __VLS_16) => any;
65
65
  };
66
66
  declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
67
- "main-action": (row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
68
67
  "row-click": (row: Row, event: MouseEvent) => any;
69
68
  "row-dblclick": (row: Row, event: MouseEvent) => any;
69
+ "main-action": (row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
70
70
  error: (error: Error, kind: QueryErrorKind) => any;
71
71
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
72
- "onMain-action"?: ((row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
73
72
  "onRow-click"?: ((row: Row, event: MouseEvent) => any) | undefined;
74
73
  "onRow-dblclick"?: ((row: Row, event: MouseEvent) => any) | undefined;
74
+ "onMain-action"?: ((row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
75
75
  onError?: ((error: Error, kind: QueryErrorKind) => any) | undefined;
76
76
  }>, {
77
- rowHeight: number;
78
- wheelRowsPerTick: number;
79
- select: SelectionMode;
80
77
  reorderable: boolean;
81
78
  resizable: boolean;
82
79
  columnMinWidth: number;
80
+ select: SelectionMode;
83
81
  rowDelete: boolean | RowDeleteOpt;
84
82
  headless: boolean;
83
+ rowHeight: number;
84
+ wheelRowsPerTick: number;
85
85
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
86
86
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
87
87
  declare const _default: typeof __VLS_export;
@@ -64,24 +64,24 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_13>]?: (props: typeof _
64
64
  'query-loading'?: (props: typeof __VLS_16) => any;
65
65
  };
66
66
  declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
67
- "main-action": (row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
68
67
  "row-click": (row: Row, event: MouseEvent) => any;
69
68
  "row-dblclick": (row: Row, event: MouseEvent) => any;
69
+ "main-action": (row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
70
70
  error: (error: Error, kind: QueryErrorKind) => any;
71
71
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
72
- "onMain-action"?: ((row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
73
72
  "onRow-click"?: ((row: Row, event: MouseEvent) => any) | undefined;
74
73
  "onRow-dblclick"?: ((row: Row, event: MouseEvent) => any) | undefined;
74
+ "onMain-action"?: ((row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
75
75
  onError?: ((error: Error, kind: QueryErrorKind) => any) | undefined;
76
76
  }>, {
77
- rowHeight: number;
78
- wheelRowsPerTick: number;
79
- select: SelectionMode;
80
77
  reorderable: boolean;
81
78
  resizable: boolean;
82
79
  columnMinWidth: number;
80
+ select: SelectionMode;
83
81
  rowDelete: boolean | RowDeleteOpt;
84
82
  headless: boolean;
83
+ rowHeight: number;
84
+ wheelRowsPerTick: number;
85
85
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
86
86
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
87
87
  declare const _default: typeof __VLS_export;
package/dist/index.d.cts CHANGED
@@ -1,10 +1,10 @@
1
1
  import { t as _default$11 } from "./as-filters.vue-fv-tRL2H.cjs";
2
2
  import { t as _default$13 } 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-CTMxE_zA.cjs";
4
- import { t as _default$16 } from "./as-table-actions.vue-WXkllHVw.cjs";
4
+ import { t as _default$16 } from "./as-table-actions.vue-Bh9qjNbE.cjs";
5
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$19, 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-DRv85M1N.cjs";
6
- import { t as _default$15 } from "./as-table.vue-Co8kYS_o.cjs";
7
- import { t as _default$20 } from "./as-window-table.vue-DajUEg5q.cjs";
6
+ import { t as _default$15 } from "./as-table.vue-D9cCjbtr.cjs";
7
+ import { t as _default$20 } from "./as-window-table.vue-BavmqDeH.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
@@ -1,10 +1,10 @@
1
1
  import { t as _default$11 } from "./as-filters.vue-DmECMd1v.mjs";
2
2
  import { t as _default$13 } from "./as-preset-picker.vue-BPjsiaVt.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-ByU4O0Yf.mjs";
4
- import { t as _default$16 } from "./as-table-actions.vue-DTGYOsZh.mjs";
4
+ import { t as _default$16 } from "./as-table-actions.vue-BBu0a75s.mjs";
5
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$19, 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-TUauKr31.mjs";
6
- import { t as _default$15 } from "./as-table.vue-B2ywpIo_.mjs";
7
- import { t as _default$20 } from "./as-window-table.vue-0ykWW1_K.mjs";
6
+ import { t as _default$15 } from "./as-table.vue-DxtfL26P.mjs";
7
+ import { t as _default$20 } from "./as-window-table.vue-BpvgmsC1.mjs";
8
8
  import { t as _default } from "./as-cell-array.vue-D4vS7C_D.mjs";
9
9
  import { t as _default$1 } from "./as-cell-date.vue-Chs7WTZ9.mjs";
10
10
  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.113",
3
+ "version": "0.1.115",
4
4
  "description": "Type-driven table components for Atscript with Vue 3",
5
5
  "keywords": [
6
6
  "atscript",
@@ -162,9 +162,9 @@
162
162
  "access": "public"
163
163
  },
164
164
  "dependencies": {
165
- "@atscript/ui": "^0.1.113",
166
- "@atscript/vue-form": "^0.1.113",
167
- "@atscript/ui-table": "^0.1.113"
165
+ "@atscript/ui": "^0.1.115",
166
+ "@atscript/ui-table": "^0.1.115",
167
+ "@atscript/vue-form": "^0.1.115"
168
168
  },
169
169
  "devDependencies": {
170
170
  "@atscript/db-client": "^0.1.111",