@atscript/vue-table 0.1.92 → 0.1.93
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-cell-date-CTrvxS1h.cjs → as-cell-date-D0rowX5E.cjs} +6 -2
- package/dist/{as-cell-date-Cq49RHmL.mjs → as-cell-date-DPWBlhyM.mjs} +6 -2
- package/dist/as-cell-date.cjs +1 -1
- package/dist/as-cell-date.mjs +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.vue-B7Q-JA3z.d.cts → as-table-actions.vue-BzRGefEz.d.cts} +1 -1
- package/dist/{as-table-actions.vue-Bs1Jl1ep.d.mts → as-table-actions.vue-CMgBBa4-.d.mts} +1 -1
- package/dist/{as-table-root-Dx4kfEHC.mjs → as-table-root-Bc23Z7we.mjs} +1 -1
- package/dist/{as-table-root-CbV4ou8W.cjs → as-table-root-zJdmNnsC.cjs} +1 -1
- 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-RER9pv0K.d.cts → as-table-root.vue-DL3BnZOe.d.cts} +4 -4
- package/dist/{as-table-root.vue-DYu3FV1k.d.mts → as-table-root.vue-DtjHgOVP.d.mts} +4 -4
- package/dist/as-table.d.cts +1 -1
- package/dist/as-table.d.mts +1 -1
- package/dist/{as-table.vue-vxuudXjo.d.cts → as-table.vue-C1PL0aFi.d.cts} +4 -4
- package/dist/{as-table.vue-CH7WH6qe.d.mts → as-table.vue-DHi9pCgA.d.mts} +4 -4
- package/dist/as-window-table.d.cts +1 -1
- package/dist/as-window-table.d.mts +1 -1
- package/dist/{as-window-table.vue-DXB5Qan7.d.cts → as-window-table.vue-CgvN_iua.d.cts} +4 -4
- package/dist/{as-window-table.vue-7cJ3TUZX.d.mts → as-window-table.vue-Ckjt9VU8.d.mts} +4 -4
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +4 -4
- package/dist/index.d.mts +4 -4
- package/dist/index.mjs +2 -2
- package/package.json +4 -4
|
@@ -46,10 +46,14 @@ var as_cell_date_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
46
46
|
const date = (0, vue.computed)(() => {
|
|
47
47
|
const v = require_get_cell_value.getCellValue(props.row, props.column.path);
|
|
48
48
|
if (v === null || v === void 0 || v === "") return void 0;
|
|
49
|
-
if (v instanceof Date)
|
|
49
|
+
if (v instanceof Date) {
|
|
50
|
+
const t = v.getTime();
|
|
51
|
+
return Number.isFinite(t) && t !== 0 ? v : void 0;
|
|
52
|
+
}
|
|
50
53
|
if (typeof v === "number" || typeof v === "string") {
|
|
51
54
|
const d = new Date(v);
|
|
52
|
-
|
|
55
|
+
const t = d.getTime();
|
|
56
|
+
return Number.isFinite(t) && t !== 0 ? d : void 0;
|
|
53
57
|
}
|
|
54
58
|
});
|
|
55
59
|
const formatted = (0, vue.computed)(() => {
|
|
@@ -46,10 +46,14 @@ var as_cell_date_default = /* @__PURE__ */ defineComponent({
|
|
|
46
46
|
const date = computed(() => {
|
|
47
47
|
const v = getCellValue(props.row, props.column.path);
|
|
48
48
|
if (v === null || v === void 0 || v === "") return void 0;
|
|
49
|
-
if (v instanceof Date)
|
|
49
|
+
if (v instanceof Date) {
|
|
50
|
+
const t = v.getTime();
|
|
51
|
+
return Number.isFinite(t) && t !== 0 ? v : void 0;
|
|
52
|
+
}
|
|
50
53
|
if (typeof v === "number" || typeof v === "string") {
|
|
51
54
|
const d = new Date(v);
|
|
52
|
-
|
|
55
|
+
const t = d.getTime();
|
|
56
|
+
return Number.isFinite(t) && t !== 0 ? d : void 0;
|
|
53
57
|
}
|
|
54
58
|
});
|
|
55
59
|
const formatted = computed(() => {
|
package/dist/as-cell-date.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_cell_date = require("./as-cell-date-
|
|
1
|
+
const require_as_cell_date = require("./as-cell-date-D0rowX5E.cjs");
|
|
2
2
|
module.exports = require_as_cell_date.as_cell_date_default;
|
package/dist/as-cell-date.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_cell_date_default } from "./as-cell-date-
|
|
1
|
+
import { t as as_cell_date_default } from "./as-cell-date-DPWBlhyM.mjs";
|
|
2
2
|
export { as_cell_date_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-table-actions.vue-
|
|
1
|
+
import { t as _default } from "./as-table-actions.vue-BzRGefEz.cjs";
|
|
2
2
|
export = _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-table-actions.vue-
|
|
1
|
+
import { t as _default } from "./as-table-actions.vue-CMgBBa4-.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: "
|
|
21
|
+
level: "rows" | "row" | "table";
|
|
22
22
|
ids: Record<string, unknown>[];
|
|
23
23
|
invoke: typeof invokeWith;
|
|
24
24
|
}, __VLS_3: {
|
|
@@ -18,7 +18,7 @@ declare var __VLS_1: {
|
|
|
18
18
|
defaultAction: TVueTableActionInfo | undefined;
|
|
19
19
|
otherActions: TVueTableActionInfo[];
|
|
20
20
|
trailingRowActions: TVueTableActionInfo[];
|
|
21
|
-
level: "
|
|
21
|
+
level: "rows" | "row" | "table";
|
|
22
22
|
ids: Record<string, unknown>[];
|
|
23
23
|
invoke: typeof invokeWith;
|
|
24
24
|
}, __VLS_3: {
|
|
@@ -3,7 +3,7 @@ import { r as useTable } from "./as-filter-field-CkiRXHVx.mjs";
|
|
|
3
3
|
import { n as useTableNavBridge } from "./as-filter-dialog-KGyPqr2P.mjs";
|
|
4
4
|
import { n as useHasEmitListener } from "./use-table-column-handlers-t6xi1yCE.mjs";
|
|
5
5
|
import "./as-cell-array-DOQKR6t5.mjs";
|
|
6
|
-
import "./as-cell-date-
|
|
6
|
+
import "./as-cell-date-DPWBlhyM.mjs";
|
|
7
7
|
import "./as-cell-json-BynWIs1d.mjs";
|
|
8
8
|
import "./as-cell-number-Bc1C97Vg.mjs";
|
|
9
9
|
import "./as-cell-union-C1w3B38J.mjs";
|
|
@@ -3,7 +3,7 @@ const require_as_filter_field = require("./as-filter-field-jL7cnKUR.cjs");
|
|
|
3
3
|
const require_as_filter_dialog = require("./as-filter-dialog-O62-CnIQ.cjs");
|
|
4
4
|
const require_use_table_column_handlers = require("./use-table-column-handlers-CGYAY2xH.cjs");
|
|
5
5
|
require("./as-cell-array-CXeZzZqt.cjs");
|
|
6
|
-
require("./as-cell-date-
|
|
6
|
+
require("./as-cell-date-D0rowX5E.cjs");
|
|
7
7
|
require("./as-cell-json-DvHvQ6IL.cjs");
|
|
8
8
|
require("./as-cell-number-0_WrSCzu.cjs");
|
|
9
9
|
require("./as-cell-union-CFAI0utz.cjs");
|
package/dist/as-table-root.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_table_root = require("./as-table-root-
|
|
1
|
+
const require_as_table_root = require("./as-table-root-zJdmNnsC.cjs");
|
|
2
2
|
module.exports = require_as_table_root.as_table_root_default;
|
package/dist/as-table-root.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-table-root.vue-
|
|
1
|
+
import { t as _default } from "./as-table-root.vue-DL3BnZOe.cjs";
|
|
2
2
|
export = _default;
|
package/dist/as-table-root.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-table-root.vue-
|
|
1
|
+
import { t as _default } from "./as-table-root.vue-DtjHgOVP.mjs";
|
|
2
2
|
export { _default as default };
|
package/dist/as-table-root.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_table_root_default } from "./as-table-root-
|
|
1
|
+
import { t as as_table_root_default } from "./as-table-root-Bc23Z7we.mjs";
|
|
2
2
|
export { as_table_root_default as default };
|
|
@@ -2246,17 +2246,17 @@ declare const __VLS_base: vue.DefineComponent<__VLS_PublicProps, {
|
|
|
2246
2246
|
"update:selectedRows": (value: unknown[]) => any;
|
|
2247
2247
|
"update:urlQuery": (value: string | undefined) => any;
|
|
2248
2248
|
} & {
|
|
2249
|
-
action: (
|
|
2250
|
-
|
|
2249
|
+
"main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
|
|
2250
|
+
action: (action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any;
|
|
2251
2251
|
}, string, vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
2252
|
-
|
|
2252
|
+
"onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
2253
|
+
onAction?: ((action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any) | undefined;
|
|
2253
2254
|
"onUpdate:filterFields"?: ((value: string[]) => any) | undefined;
|
|
2254
2255
|
"onUpdate:columnNames"?: ((value: string[]) => any) | undefined;
|
|
2255
2256
|
"onUpdate:columnWidths"?: ((value: ColumnWidthsMap) => any) | undefined;
|
|
2256
2257
|
"onUpdate:sorters"?: ((value: SortControl[]) => any) | undefined;
|
|
2257
2258
|
"onUpdate:selectedRows"?: ((value: unknown[]) => any) | undefined;
|
|
2258
2259
|
"onUpdate:urlQuery"?: ((value: string | undefined) => any) | undefined;
|
|
2259
|
-
"onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: KeyboardEvent | MouseEvent) => any) | undefined;
|
|
2260
2260
|
}>, {
|
|
2261
2261
|
queryOnMount: boolean;
|
|
2262
2262
|
selectionPersistence: SelectionPersistence;
|
|
@@ -2246,17 +2246,17 @@ declare const __VLS_base: vue.DefineComponent<__VLS_PublicProps, {
|
|
|
2246
2246
|
"update:selectedRows": (value: unknown[]) => any;
|
|
2247
2247
|
"update:urlQuery": (value: string | undefined) => any;
|
|
2248
2248
|
} & {
|
|
2249
|
-
action: (
|
|
2250
|
-
|
|
2249
|
+
"main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
|
|
2250
|
+
action: (action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any;
|
|
2251
2251
|
}, string, vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
2252
|
-
|
|
2252
|
+
"onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
2253
|
+
onAction?: ((action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any) | undefined;
|
|
2253
2254
|
"onUpdate:filterFields"?: ((value: string[]) => any) | undefined;
|
|
2254
2255
|
"onUpdate:columnNames"?: ((value: string[]) => any) | undefined;
|
|
2255
2256
|
"onUpdate:columnWidths"?: ((value: ColumnWidthsMap) => any) | undefined;
|
|
2256
2257
|
"onUpdate:sorters"?: ((value: SortControl[]) => any) | undefined;
|
|
2257
2258
|
"onUpdate:selectedRows"?: ((value: unknown[]) => any) | undefined;
|
|
2258
2259
|
"onUpdate:urlQuery"?: ((value: string | undefined) => any) | undefined;
|
|
2259
|
-
"onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: KeyboardEvent | MouseEvent) => any) | undefined;
|
|
2260
2260
|
}>, {
|
|
2261
2261
|
queryOnMount: boolean;
|
|
2262
2262
|
selectionPersistence: SelectionPersistence;
|
package/dist/as-table.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-table.vue-
|
|
1
|
+
import { t as _default } from "./as-table.vue-C1PL0aFi.cjs";
|
|
2
2
|
export = _default;
|
package/dist/as-table.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-table.vue-
|
|
1
|
+
import { t as _default } from "./as-table.vue-DHi9pCgA.mjs";
|
|
2
2
|
export { _default as default };
|
|
@@ -53,21 +53,21 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_21>]?: (props: typeof _
|
|
|
53
53
|
'query-loading'?: (props: typeof __VLS_24) => any;
|
|
54
54
|
};
|
|
55
55
|
declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
56
|
-
"main-action": (row: Record<string, unknown>, absIndex: number, event:
|
|
56
|
+
"main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
|
|
57
57
|
"row-click": (row: Record<string, unknown>, event: MouseEvent) => any;
|
|
58
58
|
"row-dblclick": (row: Record<string, unknown>, event: MouseEvent) => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
60
|
-
"onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event:
|
|
60
|
+
"onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
61
61
|
"onRow-click"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
|
|
62
62
|
"onRow-dblclick"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
|
|
63
63
|
}>, {
|
|
64
64
|
select: SelectionMode;
|
|
65
|
-
stickyHeader: boolean;
|
|
66
|
-
virtualOverscan: number;
|
|
67
65
|
reorderable: boolean;
|
|
68
66
|
resizable: boolean;
|
|
69
67
|
columnMinWidth: number;
|
|
70
68
|
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>;
|
|
@@ -53,21 +53,21 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_21>]?: (props: typeof _
|
|
|
53
53
|
'query-loading'?: (props: typeof __VLS_24) => any;
|
|
54
54
|
};
|
|
55
55
|
declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
56
|
-
"main-action": (row: Record<string, unknown>, absIndex: number, event:
|
|
56
|
+
"main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
|
|
57
57
|
"row-click": (row: Record<string, unknown>, event: MouseEvent) => any;
|
|
58
58
|
"row-dblclick": (row: Record<string, unknown>, event: MouseEvent) => any;
|
|
59
59
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
60
|
-
"onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event:
|
|
60
|
+
"onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
61
61
|
"onRow-click"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
|
|
62
62
|
"onRow-dblclick"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
|
|
63
63
|
}>, {
|
|
64
64
|
select: SelectionMode;
|
|
65
|
-
stickyHeader: boolean;
|
|
66
|
-
virtualOverscan: number;
|
|
67
65
|
reorderable: boolean;
|
|
68
66
|
resizable: boolean;
|
|
69
67
|
columnMinWidth: number;
|
|
70
68
|
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-
|
|
1
|
+
import { t as _default } from "./as-window-table.vue-CgvN_iua.cjs";
|
|
2
2
|
export = _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-window-table.vue-
|
|
1
|
+
import { t as _default } from "./as-window-table.vue-Ckjt9VU8.mjs";
|
|
2
2
|
export { _default as default };
|
|
@@ -57,23 +57,23 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_13>]?: (props: typeof _
|
|
|
57
57
|
'query-loading'?: (props: typeof __VLS_16) => any;
|
|
58
58
|
};
|
|
59
59
|
declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
60
|
-
"main-action": (row: Row, absIndex: number, event:
|
|
60
|
+
"main-action": (row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
|
|
61
61
|
"row-click": (row: Row, event: MouseEvent) => any;
|
|
62
62
|
"row-dblclick": (row: Row, event: MouseEvent) => any;
|
|
63
63
|
error: (error: Error, kind: QueryErrorKind) => any;
|
|
64
64
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
65
|
-
"onMain-action"?: ((row: Row, absIndex: number, event:
|
|
65
|
+
"onMain-action"?: ((row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
66
66
|
"onRow-click"?: ((row: Row, event: MouseEvent) => any) | undefined;
|
|
67
67
|
"onRow-dblclick"?: ((row: Row, event: MouseEvent) => any) | undefined;
|
|
68
68
|
onError?: ((error: Error, kind: QueryErrorKind) => any) | undefined;
|
|
69
69
|
}>, {
|
|
70
|
+
rowHeight: number;
|
|
71
|
+
wheelRowsPerTick: number;
|
|
70
72
|
select: SelectionMode;
|
|
71
73
|
reorderable: boolean;
|
|
72
74
|
resizable: boolean;
|
|
73
75
|
columnMinWidth: number;
|
|
74
76
|
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;
|
|
@@ -57,23 +57,23 @@ type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_13>]?: (props: typeof _
|
|
|
57
57
|
'query-loading'?: (props: typeof __VLS_16) => any;
|
|
58
58
|
};
|
|
59
59
|
declare const __VLS_base: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
60
|
-
"main-action": (row: Row, absIndex: number, event:
|
|
60
|
+
"main-action": (row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
|
|
61
61
|
"row-click": (row: Row, event: MouseEvent) => any;
|
|
62
62
|
"row-dblclick": (row: Row, event: MouseEvent) => any;
|
|
63
63
|
error: (error: Error, kind: QueryErrorKind) => any;
|
|
64
64
|
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
65
|
-
"onMain-action"?: ((row: Row, absIndex: number, event:
|
|
65
|
+
"onMain-action"?: ((row: Row, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
66
66
|
"onRow-click"?: ((row: Row, event: MouseEvent) => any) | undefined;
|
|
67
67
|
"onRow-dblclick"?: ((row: Row, event: MouseEvent) => any) | undefined;
|
|
68
68
|
onError?: ((error: Error, kind: QueryErrorKind) => any) | undefined;
|
|
69
69
|
}>, {
|
|
70
|
+
rowHeight: number;
|
|
71
|
+
wheelRowsPerTick: number;
|
|
70
72
|
select: SelectionMode;
|
|
71
73
|
reorderable: boolean;
|
|
72
74
|
resizable: boolean;
|
|
73
75
|
columnMinWidth: number;
|
|
74
76
|
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.cjs
CHANGED
|
@@ -5,7 +5,7 @@ const require_as_filter_field = require("./as-filter-field-jL7cnKUR.cjs");
|
|
|
5
5
|
const require_as_filter_dialog = require("./as-filter-dialog-O62-CnIQ.cjs");
|
|
6
6
|
const require_get_cell_value = require("./get-cell-value-CZSVfDLg.cjs");
|
|
7
7
|
const require_as_cell_array = require("./as-cell-array-CXeZzZqt.cjs");
|
|
8
|
-
const require_as_cell_date = require("./as-cell-date-
|
|
8
|
+
const require_as_cell_date = require("./as-cell-date-D0rowX5E.cjs");
|
|
9
9
|
const require_use_cell_locale = require("./use-cell-locale-B480_QYK.cjs");
|
|
10
10
|
const require_as_cell_json = require("./as-cell-json-DvHvQ6IL.cjs");
|
|
11
11
|
const require_as_cell_number = require("./as-cell-number-0_WrSCzu.cjs");
|
|
@@ -21,7 +21,7 @@ const require_as_window_table = require("./as-window-table-DuwMCDUh.cjs");
|
|
|
21
21
|
const require_as_filters = require("./as-filters-BFpZKtAU.cjs");
|
|
22
22
|
const require_as_preset_dialog = require("./as-preset-dialog-1Xl8DIiN.cjs");
|
|
23
23
|
const require_as_row_actions = require("./as-row-actions-C78cvaf3.cjs");
|
|
24
|
-
const require_as_table_root = require("./as-table-root-
|
|
24
|
+
const require_as_table_root = require("./as-table-root-zJdmNnsC.cjs");
|
|
25
25
|
const require_as_table = require("./as-table-v42bV1ea.cjs");
|
|
26
26
|
const require_as_table_actions = require("./as-table-actions-DtCjMMCI.cjs");
|
|
27
27
|
const require_as_preset_picker = require("./as-preset-picker-CkaaKzYB.cjs");
|
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
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
|
-
import { t as _default$14 } from "./as-table-actions.vue-
|
|
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-
|
|
6
|
-
import { t as _default$13 } from "./as-table.vue-
|
|
7
|
-
import { t as _default$18 } from "./as-window-table.vue-
|
|
4
|
+
import { t as _default$14 } from "./as-table-actions.vue-BzRGefEz.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-DL3BnZOe.cjs";
|
|
6
|
+
import { t as _default$13 } from "./as-table.vue-C1PL0aFi.cjs";
|
|
7
|
+
import { t as _default$18 } from "./as-window-table.vue-CgvN_iua.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$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
|
-
import { t as _default$14 } from "./as-table-actions.vue-
|
|
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-
|
|
6
|
-
import { t as _default$13 } from "./as-table.vue-
|
|
7
|
-
import { t as _default$18 } from "./as-window-table.vue-
|
|
4
|
+
import { t as _default$14 } from "./as-table-actions.vue-CMgBBa4-.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-DtjHgOVP.mjs";
|
|
6
|
+
import { t as _default$13 } from "./as-table.vue-DHi9pCgA.mjs";
|
|
7
|
+
import { t as _default$18 } from "./as-window-table.vue-Ckjt9VU8.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/dist/index.mjs
CHANGED
|
@@ -4,7 +4,7 @@ import { a as useLocalDraft, i as usePresets, n as clearTableCache, o as AS_PRES
|
|
|
4
4
|
import { n as useTableNavBridge, t as as_filter_dialog_default } from "./as-filter-dialog-KGyPqr2P.mjs";
|
|
5
5
|
import { t as getCellValue } from "./get-cell-value-DiH84HKL.mjs";
|
|
6
6
|
import { t as as_cell_array_default } from "./as-cell-array-DOQKR6t5.mjs";
|
|
7
|
-
import { t as as_cell_date_default } from "./as-cell-date-
|
|
7
|
+
import { t as as_cell_date_default } from "./as-cell-date-DPWBlhyM.mjs";
|
|
8
8
|
import { n as useCellLocale, t as provideCellLocale } from "./use-cell-locale-1uQaFTLQ.mjs";
|
|
9
9
|
import { t as as_cell_json_default } from "./as-cell-json-BynWIs1d.mjs";
|
|
10
10
|
import { t as as_cell_number_default } from "./as-cell-number-Bc1C97Vg.mjs";
|
|
@@ -20,7 +20,7 @@ import { t as as_window_table_default } from "./as-window-table-CDTjX7W5.mjs";
|
|
|
20
20
|
import { t as as_filters_default } from "./as-filters-BJM-NjUn.mjs";
|
|
21
21
|
import { t as as_preset_dialog_default } from "./as-preset-dialog-DXbqMVI1.mjs";
|
|
22
22
|
import { t as as_row_actions_default } from "./as-row-actions-CpEMa5NU.mjs";
|
|
23
|
-
import { t as as_table_root_default } from "./as-table-root-
|
|
23
|
+
import { t as as_table_root_default } from "./as-table-root-Bc23Z7we.mjs";
|
|
24
24
|
import { t as as_table_default } from "./as-table-DDyvnBFL.mjs";
|
|
25
25
|
import { t as as_table_actions_default } from "./as-table-actions-D2-MBvoy.mjs";
|
|
26
26
|
import { t as as_preset_picker_default } from "./as-preset-picker-DJTF47_V.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atscript/vue-table",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.93",
|
|
4
4
|
"description": "Type-driven table components for Atscript with Vue 3",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"atscript",
|
|
@@ -159,9 +159,9 @@
|
|
|
159
159
|
"access": "public"
|
|
160
160
|
},
|
|
161
161
|
"dependencies": {
|
|
162
|
-
"@atscript/ui
|
|
163
|
-
"@atscript/
|
|
164
|
-
"@atscript/
|
|
162
|
+
"@atscript/ui": "^0.1.93",
|
|
163
|
+
"@atscript/ui-table": "^0.1.93",
|
|
164
|
+
"@atscript/vue-form": "^0.1.93"
|
|
165
165
|
},
|
|
166
166
|
"devDependencies": {
|
|
167
167
|
"@atscript/db-client": "^0.1.98",
|