@atscript/vue-table 0.1.142 → 0.1.143

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.vue-CwI5Z0y5.cjs";
1
+ import { t as _default } from "./as-table.vue-pYZ4eGni.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-table.vue-wdFf4hMW.mjs";
1
+ import { t as _default } from "./as-table.vue-BgcFEBxt.mjs";
2
2
  export { _default as default };
@@ -85,24 +85,24 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_19>]?: (props: typeof _
85
85
  'query-loading'?: (props: typeof __VLS_22) => any;
86
86
  };
87
87
  declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
88
- "main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
89
88
  "row-click": (row: Record<string, unknown>, event: MouseEvent) => any;
90
89
  "row-dblclick": (row: Record<string, unknown>, event: MouseEvent) => any;
90
+ "main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
91
91
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
92
- "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
93
92
  "onRow-click"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
94
93
  "onRow-dblclick"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
94
+ "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
95
95
  }>, {
96
- select: SelectionMode;
97
- selectOn: SelectOn;
96
+ stickyHeader: boolean;
97
+ virtualOverscan: number;
98
98
  reorderable: boolean;
99
99
  resizable: boolean;
100
100
  columnMinWidth: number;
101
+ select: SelectionMode;
102
+ selectOn: SelectOn;
101
103
  rowDelete: boolean | RowDeleteOpt;
102
104
  rowActionsColumn: RowActionsColumnPlacement | false;
103
105
  headless: boolean;
104
- stickyHeader: boolean;
105
- virtualOverscan: number;
106
106
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
107
107
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
108
108
  declare const _default: typeof __VLS_export;
@@ -85,24 +85,24 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_19>]?: (props: typeof _
85
85
  'query-loading'?: (props: typeof __VLS_22) => any;
86
86
  };
87
87
  declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
88
- "main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
89
88
  "row-click": (row: Record<string, unknown>, event: MouseEvent) => any;
90
89
  "row-dblclick": (row: Record<string, unknown>, event: MouseEvent) => any;
90
+ "main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
91
91
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
92
- "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
93
92
  "onRow-click"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
94
93
  "onRow-dblclick"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
94
+ "onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
95
95
  }>, {
96
- select: SelectionMode;
97
- selectOn: SelectOn;
96
+ stickyHeader: boolean;
97
+ virtualOverscan: number;
98
98
  reorderable: boolean;
99
99
  resizable: boolean;
100
100
  columnMinWidth: number;
101
+ select: SelectionMode;
102
+ selectOn: SelectOn;
101
103
  rowDelete: boolean | RowDeleteOpt;
102
104
  rowActionsColumn: RowActionsColumnPlacement | false;
103
105
  headless: boolean;
104
- stickyHeader: boolean;
105
- virtualOverscan: number;
106
106
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
107
107
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
108
108
  declare const _default: typeof __VLS_export;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-window-table.vue-D6UDA6td.cjs";
1
+ import { t as _default } from "./as-window-table.vue-6RsX1T1D.cjs";
2
2
  export = _default;
@@ -1,2 +1,2 @@
1
- import { t as _default } from "./as-window-table.vue-Deg1mj3t.mjs";
1
+ import { t as _default } from "./as-window-table.vue-DZ23YTmK.mjs";
2
2
  export { _default as default };
@@ -100,26 +100,26 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_13>]?: (props: typeof _
100
100
  'query-loading'?: (props: typeof __VLS_16) => any;
101
101
  };
102
102
  declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
103
- "main-action": (row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
104
103
  "row-click": (row: Row, event: MouseEvent) => any;
105
104
  "row-dblclick": (row: Row, event: MouseEvent) => any;
105
+ "main-action": (row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
106
106
  error: (error: Error, kind: QueryErrorKind) => any;
107
107
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
108
- "onMain-action"?: ((row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
109
108
  "onRow-click"?: ((row: Row, event: MouseEvent) => any) | undefined;
110
109
  "onRow-dblclick"?: ((row: Row, event: MouseEvent) => any) | undefined;
110
+ "onMain-action"?: ((row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
111
111
  onError?: ((error: Error, kind: QueryErrorKind) => any) | undefined;
112
112
  }>, {
113
- rowHeight: number;
114
- wheelRowsPerTick: number;
115
- select: SelectionMode;
116
- selectOn: SelectOn;
117
113
  reorderable: boolean;
118
114
  resizable: boolean;
119
115
  columnMinWidth: number;
116
+ select: SelectionMode;
117
+ selectOn: SelectOn;
120
118
  rowDelete: boolean | RowDeleteOpt;
121
119
  rowActionsColumn: RowActionsColumnPlacement | false;
122
120
  headless: boolean;
121
+ rowHeight: number;
122
+ wheelRowsPerTick: number;
123
123
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
124
124
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
125
125
  declare const _default: typeof __VLS_export;
@@ -100,26 +100,26 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_13>]?: (props: typeof _
100
100
  'query-loading'?: (props: typeof __VLS_16) => any;
101
101
  };
102
102
  declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
103
- "main-action": (row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
104
103
  "row-click": (row: Row, event: MouseEvent) => any;
105
104
  "row-dblclick": (row: Row, event: MouseEvent) => any;
105
+ "main-action": (row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
106
106
  error: (error: Error, kind: QueryErrorKind) => any;
107
107
  }, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
108
- "onMain-action"?: ((row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
109
108
  "onRow-click"?: ((row: Row, event: MouseEvent) => any) | undefined;
110
109
  "onRow-dblclick"?: ((row: Row, event: MouseEvent) => any) | undefined;
110
+ "onMain-action"?: ((row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
111
111
  onError?: ((error: Error, kind: QueryErrorKind) => any) | undefined;
112
112
  }>, {
113
- rowHeight: number;
114
- wheelRowsPerTick: number;
115
- select: SelectionMode;
116
- selectOn: SelectOn;
117
113
  reorderable: boolean;
118
114
  resizable: boolean;
119
115
  columnMinWidth: number;
116
+ select: SelectionMode;
117
+ selectOn: SelectOn;
120
118
  rowDelete: boolean | RowDeleteOpt;
121
119
  rowActionsColumn: RowActionsColumnPlacement | false;
122
120
  headless: boolean;
121
+ rowHeight: number;
122
+ wheelRowsPerTick: number;
123
123
  }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
124
124
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
125
125
  declare const _default: typeof __VLS_export;
package/dist/index.d.cts CHANGED
@@ -3,8 +3,8 @@ import { t as _default$13 } from "./as-preset-picker.vue-DfXS3pGl.cjs";
3
3
  import { A as extractIdentifier, C as SelectAllState, D as TVueTableActionInfo, E as TAsTableControls, O as TableActionsState, S as RowSelectableVerdict, T as TAsCellTypeComponents, _ as RowAttrsHook, b as RowHookContext, c as InvokeOpts, d as NavKeyOptions, g as RowActionsConfig, i as ConfigTab, k as TableNavBridge, l as LocalRowAction, m as ReactiveTableState, n as ApplyUrlQueryOptions, o as DroppedFieldsReport, p as QueryErrorKind, r as ColumnMenuConfig, t as ActionResult, u as MainActionRequest, v as RowClassHook, w as SelectOn, x as RowSelectableHook, y as RowDeleteOpt } from "./types-D4dK49sA.cjs";
4
4
  import { t as _default$16 } from "./as-table-actions.vue-DcuzNZoC.cjs";
5
5
  import { $ as useTableExport, A as CellLocale, B as injectPresetsApp, C as isSystemPresetId, Ct as UseLocalDraftReturn, D as formatCellValue, E as setDefaultClientFactory, F as useTableComponent, G as useTableFilter, H as useTableUrlQuery, I as UseAppPrefsOptions, J as ExportProgress, K as useTableNavBridge, L as UseAppPrefsReturn, M as useCellLocale, N as createDefaultCellTypes, O as getCellValue, P as createDefaultControls, Q as downloadExport, R as useAppPrefs, S as getDefaultClientFactory, St as UseLocalDraftOptions, T as resolveSystemPresets, U as useTableActions, V as UseTableUrlQueryOptions, W as useTableSearch, X as ExportRowsOptions, Y as ExportResult, Z as UseTableExportReturn, _ as SYSTEM_PRESET_PREFIX, _t as ActivePresetView, a as CsvOptions, at as BuildQueryOptions, b as UrlQuerySync, bt as usePresets, c as ExportScalar, ct as QueryFn, d as PresetCapabilities, dt as TableStateInternals, et as UseTableOptions, f as PresetData, ft as createStaticTableState, g as STANDARD_PRESET_ID, gt as useTableContextOptional, h as QueryOptions, ht as useTableContext, i as ClientFactory, it as useTableSelection, j as provideCellLocale, k as getColumnWidth, l as PRESET_ASPECTS, lt as TableContext, m as PresetSnapshotWire, mt as provideTableContext, n as AppConfData, nt as useTable, o as DisplayColumnDef, ot as CreateStaticTableStateOptions, p as PresetSnapshot, pt as createTableState, q as ExportCellFormatter, r as AsPresetEntryRow, rt as SelectionPersistence, s as ExportAbortError, st as CreateTableStateOptions, t as _default$19, tt as clearTableCache, u as PresetAspect, ut as TableModelRefs, v as SystemPreset, vt as UsePresetsOptions, w as resetDefaultClientFactory, wt as useLocalDraft, x as UserConfData, xt as StorageLike, y as SystemPresetInput, yt as UsePresetsReturn, z as AS_PRESETS_APP } from "./as-table-root.vue-yZ7ZcwdT.cjs";
6
- import { t as _default$15 } from "./as-table.vue-CwI5Z0y5.cjs";
7
- import { t as _default$20 } from "./as-window-table.vue-D6UDA6td.cjs";
6
+ import { t as _default$15 } from "./as-table.vue-pYZ4eGni.cjs";
7
+ import { t as _default$20 } from "./as-window-table.vue-6RsX1T1D.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
@@ -3,8 +3,8 @@ import { t as _default$13 } from "./as-preset-picker.vue-OaAV2v9z.mjs";
3
3
  import { A as extractIdentifier, C as SelectAllState, D as TVueTableActionInfo, E as TAsTableControls, O as TableActionsState, S as RowSelectableVerdict, T as TAsCellTypeComponents, _ as RowAttrsHook, b as RowHookContext, c as InvokeOpts, d as NavKeyOptions, g as RowActionsConfig, i as ConfigTab, k as TableNavBridge, l as LocalRowAction, m as ReactiveTableState, n as ApplyUrlQueryOptions, o as DroppedFieldsReport, p as QueryErrorKind, r as ColumnMenuConfig, t as ActionResult, u as MainActionRequest, v as RowClassHook, w as SelectOn, x as RowSelectableHook, y as RowDeleteOpt } from "./types-BU7J-a1r.mjs";
4
4
  import { t as _default$16 } from "./as-table-actions.vue-BG3JVaBQ.mjs";
5
5
  import { $ as useTableExport, A as CellLocale, B as injectPresetsApp, C as isSystemPresetId, Ct as UseLocalDraftReturn, D as formatCellValue, E as setDefaultClientFactory, F as useTableComponent, G as useTableFilter, H as useTableUrlQuery, I as UseAppPrefsOptions, J as ExportProgress, K as useTableNavBridge, L as UseAppPrefsReturn, M as useCellLocale, N as createDefaultCellTypes, O as getCellValue, P as createDefaultControls, Q as downloadExport, R as useAppPrefs, S as getDefaultClientFactory, St as UseLocalDraftOptions, T as resolveSystemPresets, U as useTableActions, V as UseTableUrlQueryOptions, W as useTableSearch, X as ExportRowsOptions, Y as ExportResult, Z as UseTableExportReturn, _ as SYSTEM_PRESET_PREFIX, _t as ActivePresetView, a as CsvOptions, at as BuildQueryOptions, b as UrlQuerySync, bt as usePresets, c as ExportScalar, ct as QueryFn, d as PresetCapabilities, dt as TableStateInternals, et as UseTableOptions, f as PresetData, ft as createStaticTableState, g as STANDARD_PRESET_ID, gt as useTableContextOptional, h as QueryOptions, ht as useTableContext, i as ClientFactory, it as useTableSelection, j as provideCellLocale, k as getColumnWidth, l as PRESET_ASPECTS, lt as TableContext, m as PresetSnapshotWire, mt as provideTableContext, n as AppConfData, nt as useTable, o as DisplayColumnDef, ot as CreateStaticTableStateOptions, p as PresetSnapshot, pt as createTableState, q as ExportCellFormatter, r as AsPresetEntryRow, rt as SelectionPersistence, s as ExportAbortError, st as CreateTableStateOptions, t as _default$19, tt as clearTableCache, u as PresetAspect, ut as TableModelRefs, v as SystemPreset, vt as UsePresetsOptions, w as resetDefaultClientFactory, wt as useLocalDraft, x as UserConfData, xt as StorageLike, y as SystemPresetInput, yt as UsePresetsReturn, z as AS_PRESETS_APP } from "./as-table-root.vue-BGx453_Q.mjs";
6
- import { t as _default$15 } from "./as-table.vue-wdFf4hMW.mjs";
7
- import { t as _default$20 } from "./as-window-table.vue-Deg1mj3t.mjs";
6
+ import { t as _default$15 } from "./as-table.vue-BgcFEBxt.mjs";
7
+ import { t as _default$20 } from "./as-window-table.vue-DZ23YTmK.mjs";
8
8
  import { t as _default } from "./as-cell-array.vue-ow34clSF.mjs";
9
9
  import { t as _default$1 } from "./as-cell-date.vue-B4JCr1qP.mjs";
10
10
  import { t as _default$2 } from "./as-cell-json.vue-B-T3TuFj.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atscript/vue-table",
3
- "version": "0.1.142",
3
+ "version": "0.1.143",
4
4
  "description": "Type-driven table components for Atscript with Vue 3",
5
5
  "keywords": [
6
6
  "atscript",
@@ -167,12 +167,12 @@
167
167
  "access": "public"
168
168
  },
169
169
  "dependencies": {
170
- "@atscript/vue-form": "^0.1.142",
171
- "@atscript/ui-table": "^0.1.142",
172
- "@atscript/ui": "^0.1.142"
170
+ "@atscript/ui": "^0.1.143",
171
+ "@atscript/ui-table": "^0.1.143",
172
+ "@atscript/vue-form": "^0.1.143"
173
173
  },
174
174
  "devDependencies": {
175
- "@atscript/db-client": "^0.1.136",
175
+ "@atscript/db-client": "^0.1.140",
176
176
  "@atscript/typescript": "^0.1.93",
177
177
  "@tanstack/vue-virtual": "^3.13.26",
178
178
  "@uniqu/core": "^0.1.11",
@@ -189,7 +189,7 @@
189
189
  "vunor": "^0.3.0"
190
190
  },
191
191
  "peerDependencies": {
192
- "@atscript/db-client": "^0.1.136",
192
+ "@atscript/db-client": "^0.1.140",
193
193
  "@tanstack/vue-virtual": "^3.13.26",
194
194
  "@uniqu/url": "^0.1.11",
195
195
  "@vueuse/core": "^14.3.0",