@atscript/vue-table 0.1.153 → 0.1.155
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-filter-dialog-DA7vdmUO.mjs → as-filter-dialog-DG5AIaHJ.mjs} +3 -3
- package/dist/{as-filter-dialog-BB9M5PhT.cjs → as-filter-dialog-Df-QwOn9.cjs} +3 -3
- package/dist/as-filter-dialog.cjs +1 -1
- package/dist/as-filter-dialog.mjs +1 -1
- package/dist/{as-filter-field-BFCTuRAa.cjs → as-filter-field-5StldR5G.cjs} +1 -1
- package/dist/{as-filter-field-BxZwGNoI.mjs → as-filter-field-CyczT_rO.mjs} +1 -1
- package/dist/as-filter-field.cjs +1 -1
- package/dist/as-filter-field.mjs +1 -1
- package/dist/{as-filters-9kFdHR4q.cjs → as-filters-Banbn-pX.cjs} +1 -1
- package/dist/{as-filters-Cu8Hulrv.mjs → as-filters-p7fbcYkp.mjs} +1 -1
- package/dist/as-filters.cjs +1 -1
- package/dist/as-filters.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-DNNYGVQW.d.mts → as-table-actions.vue-C2szPEXd.d.mts} +1 -1
- package/dist/{as-table-actions.vue-Dzi8wX-e.d.cts → as-table-actions.vue-CBD_tEpe.d.cts} +1 -1
- package/dist/{as-table-root-_eZRGvAC.mjs → as-table-root-D1qWGhxL.mjs} +1 -1
- package/dist/{as-table-root-c2ep1IOv.cjs → as-table-root-Do8Fqaey.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-D1M2B9A_.d.mts → as-table-root.vue-BSn0I02L.d.mts} +8 -8
- package/dist/{as-table-root.vue-CwQtwsIY.d.cts → as-table-root.vue-BeWq82bU.d.cts} +8 -8
- package/dist/as-table.d.cts +1 -1
- package/dist/as-table.d.mts +1 -1
- package/dist/as-window-table.d.cts +1 -1
- package/dist/as-window-table.d.mts +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +5 -5
- package/dist/{use-table-D86LSCnG.mjs → use-table-BrXqqliI.mjs} +2 -1
- package/dist/{use-table-nZElzw2r.cjs → use-table-DFcciC80.cjs} +1 -0
- package/package.json +8 -8
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { a as useTableContext, o as useTableContextOptional, r as provideTableContext, t as createStaticTableState } from "./use-table-state-DzvCmxEx.mjs";
|
|
2
|
-
import { r as useTable } from "./use-table-
|
|
2
|
+
import { r as useTable } from "./use-table-BrXqqliI.mjs";
|
|
3
3
|
import { t as useTableNavBridge } from "./use-table-nav-bridge-Ch61msQs.mjs";
|
|
4
4
|
import { t as useTableComponent } from "./use-table-component-B9QRSvoR.mjs";
|
|
5
5
|
import { n as useDialogTabKeyboard, t as as_config_dialog_default } from "./as-config-dialog-DW4WfYEi.mjs";
|
|
6
6
|
import { t as useSeedOnOpen } from "./use-seed-on-open-DO3A1kIb.mjs";
|
|
7
7
|
import { t as useConditionFormat } from "./use-condition-format-ka5_XiSn.mjs";
|
|
8
|
-
import { a as valueColumn, i as hasValuePicker, n as createDistinctPager, r as declineIfRejected } from "./as-filter-field-
|
|
8
|
+
import { a as valueColumn, i as hasValuePicker, n as createDistinctPager, r as declineIfRejected } from "./as-filter-field-CyczT_rO.mjs";
|
|
9
9
|
import { t as as_filter_input_default } from "./as-filter-input-DeI85XVZ.mjs";
|
|
10
10
|
import { t as as_window_table_default } from "./as-window-table-Cf523h8Q.mjs";
|
|
11
|
-
import { t as as_filters_default } from "./as-filters-
|
|
11
|
+
import { t as as_filters_default } from "./as-filters-p7fbcYkp.mjs";
|
|
12
12
|
import { resolveValueHelp, valueHelpDictPaths } from "@atscript/ui";
|
|
13
13
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, normalizeClass, normalizeStyle, onMounted, openBlock, ref, renderList, resolveDynamicComponent, shallowRef, toDisplayString, unref, useModel, watch, withCtx } from "vue";
|
|
14
14
|
import { columnDefaultCondition, columnFilter, conditionLabel, filledFilterCount, isColumnFilterable, isFilled, isSimpleEq, isTemporalKind, sameColumnSet, temporalShortcuts } from "@atscript/ui-table";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
const require_use_table_state = require("./use-table-state-zE3BpeA7.cjs");
|
|
2
|
-
const require_use_table = require("./use-table-
|
|
2
|
+
const require_use_table = require("./use-table-DFcciC80.cjs");
|
|
3
3
|
const require_use_table_nav_bridge = require("./use-table-nav-bridge-C43u266u.cjs");
|
|
4
4
|
const require_use_table_component = require("./use-table-component-Daap95CE.cjs");
|
|
5
5
|
const require_as_config_dialog = require("./as-config-dialog-XSkaW1X0.cjs");
|
|
6
6
|
const require_use_seed_on_open = require("./use-seed-on-open-Dg9I89fU.cjs");
|
|
7
7
|
const require_use_condition_format = require("./use-condition-format-Dyb5CVYw.cjs");
|
|
8
|
-
const require_as_filter_field = require("./as-filter-field-
|
|
8
|
+
const require_as_filter_field = require("./as-filter-field-5StldR5G.cjs");
|
|
9
9
|
const require_as_filter_input = require("./as-filter-input-DZkhoSWO.cjs");
|
|
10
10
|
const require_as_window_table = require("./as-window-table-BvUfaBj8.cjs");
|
|
11
|
-
const require_as_filters = require("./as-filters-
|
|
11
|
+
const require_as_filters = require("./as-filters-Banbn-pX.cjs");
|
|
12
12
|
let _atscript_ui = require("@atscript/ui");
|
|
13
13
|
let vue = require("vue");
|
|
14
14
|
let _atscript_ui_table = require("@atscript/ui-table");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_filter_dialog = require("./as-filter-dialog-
|
|
1
|
+
const require_as_filter_dialog = require("./as-filter-dialog-Df-QwOn9.cjs");
|
|
2
2
|
module.exports = require_as_filter_dialog.as_filter_dialog_default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_filter_dialog_default } from "./as-filter-dialog-
|
|
1
|
+
import { t as as_filter_dialog_default } from "./as-filter-dialog-DG5AIaHJ.mjs";
|
|
2
2
|
export { as_filter_dialog_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_use_table_state = require("./use-table-state-zE3BpeA7.cjs");
|
|
2
|
-
const require_use_table = require("./use-table-
|
|
2
|
+
const require_use_table = require("./use-table-DFcciC80.cjs");
|
|
3
3
|
const require_use_condition_format = require("./use-condition-format-Dyb5CVYw.cjs");
|
|
4
4
|
const require_as_table_base = require("./as-table-base-D_Hmin8J.cjs");
|
|
5
5
|
let _atscript_ui = require("@atscript/ui");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as useTableContext } from "./use-table-state-DzvCmxEx.mjs";
|
|
2
|
-
import { r as useTable } from "./use-table-
|
|
2
|
+
import { r as useTable } from "./use-table-BrXqqliI.mjs";
|
|
3
3
|
import { t as useConditionFormat } from "./use-condition-format-ka5_XiSn.mjs";
|
|
4
4
|
import { t as as_table_base_default } from "./as-table-base-C1B_VVk-.mjs";
|
|
5
5
|
import { NUMERIC_VALUE_KINDS, ValueHelpClient, fetchDistinctValues, getMetaEntry, isPickerDeclined, optionValue, resolveValueHelp, valueHelpDictPaths } from "@atscript/ui";
|
package/dist/as-filter-field.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_filter_field = require("./as-filter-field-
|
|
1
|
+
const require_as_filter_field = require("./as-filter-field-5StldR5G.cjs");
|
|
2
2
|
module.exports = require_as_filter_field.as_filter_field_default;
|
package/dist/as-filter-field.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_filter_field_default } from "./as-filter-field-
|
|
1
|
+
import { t as as_filter_field_default } from "./as-filter-field-CyczT_rO.mjs";
|
|
2
2
|
export { as_filter_field_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const require_use_table_state = require("./use-table-state-zE3BpeA7.cjs");
|
|
2
2
|
const require_use_table_component = require("./use-table-component-Daap95CE.cjs");
|
|
3
|
-
const require_as_filter_field = require("./as-filter-field-
|
|
3
|
+
const require_as_filter_field = require("./as-filter-field-5StldR5G.cjs");
|
|
4
4
|
const require_as_residual_filter = require("./as-residual-filter-BGz7pSdL.cjs");
|
|
5
5
|
let vue = require("vue");
|
|
6
6
|
let _atscript_ui_table = require("@atscript/ui-table");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as useTableContext } from "./use-table-state-DzvCmxEx.mjs";
|
|
2
2
|
import { t as useTableComponent } from "./use-table-component-B9QRSvoR.mjs";
|
|
3
|
-
import { t as as_filter_field_default } from "./as-filter-field-
|
|
3
|
+
import { t as as_filter_field_default } from "./as-filter-field-CyczT_rO.mjs";
|
|
4
4
|
import { t as as_residual_filter_default } from "./as-residual-filter-BoeOL9AJ.mjs";
|
|
5
5
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeModels, mergeProps, openBlock, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useModel, watch, withCtx } from "vue";
|
|
6
6
|
import { filterExprKey } from "@atscript/ui-table";
|
package/dist/as-filters.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_filters = require("./as-filters-
|
|
1
|
+
const require_as_filters = require("./as-filters-Banbn-pX.cjs");
|
|
2
2
|
module.exports = require_as_filters.as_filters_default;
|
package/dist/as-filters.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_filters_default } from "./as-filters-
|
|
1
|
+
import { t as as_filters_default } from "./as-filters-p7fbcYkp.mjs";
|
|
2
2
|
export { as_filters_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-CBD_tEpe.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-C2szPEXd.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: "
|
|
26
|
+
level: "row" | "rows" | "table";
|
|
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: "
|
|
26
|
+
level: "row" | "rows" | "table";
|
|
27
27
|
ids: Record<string, unknown>[];
|
|
28
28
|
target: PromptTarget | undefined;
|
|
29
29
|
count: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as warnUnsupportedFilter, i as useRegisterMainActionListener, s as warnFieldsDropped, t as createStaticTableState } from "./use-table-state-DzvCmxEx.mjs";
|
|
2
|
-
import { n as finalizeTableState, r as useTable } from "./use-table-
|
|
2
|
+
import { n as finalizeTableState, r as useTable } from "./use-table-BrXqqliI.mjs";
|
|
3
3
|
import { n as useCellLocale, t as provideCellLocale } from "./use-cell-locale-Bye0ANIP.mjs";
|
|
4
4
|
import { t as useTableNavBridge } from "./use-table-nav-bridge-Ch61msQs.mjs";
|
|
5
5
|
import { t as useHasEmitListener } from "./use-has-emit-listener-CsF2w9iT.mjs";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const require_use_table_state = require("./use-table-state-zE3BpeA7.cjs");
|
|
2
|
-
const require_use_table = require("./use-table-
|
|
2
|
+
const require_use_table = require("./use-table-DFcciC80.cjs");
|
|
3
3
|
const require_use_cell_locale = require("./use-cell-locale-Dy5Rf1yp.cjs");
|
|
4
4
|
const require_use_table_nav_bridge = require("./use-table-nav-bridge-C43u266u.cjs");
|
|
5
5
|
const require_use_has_emit_listener = require("./use-has-emit-listener-gD1aWp6N.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-Do8Fqaey.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-BeWq82bU.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-BSn0I02L.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-D1qWGhxL.mjs";
|
|
2
2
|
export { as_table_root_default as default };
|
|
@@ -1151,15 +1151,15 @@ declare const __VLS_base$2: vue.DefineComponent<__VLS_Props$2, {}, {}, {}, {}, v
|
|
|
1151
1151
|
"onRow-dblclick"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
|
|
1152
1152
|
}>, {
|
|
1153
1153
|
select: SelectionMode;
|
|
1154
|
-
|
|
1155
|
-
virtualOverscan: number;
|
|
1154
|
+
selectOn: SelectOn;
|
|
1156
1155
|
reorderable: boolean;
|
|
1157
1156
|
resizable: boolean;
|
|
1158
1157
|
columnMinWidth: number;
|
|
1159
|
-
selectOn: SelectOn;
|
|
1160
1158
|
rowDelete: boolean | RowDeleteOpt;
|
|
1161
1159
|
rowActionsColumn: RowActionsColumnPlacement | false;
|
|
1162
1160
|
headless: boolean;
|
|
1161
|
+
stickyHeader: boolean;
|
|
1162
|
+
virtualOverscan: number;
|
|
1163
1163
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1164
1164
|
declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
1165
1165
|
declare const _default$2: typeof __VLS_export$2;
|
|
@@ -1287,16 +1287,16 @@ declare const __VLS_base$1: vue.DefineComponent<__VLS_Props$1, {}, {}, {}, {}, v
|
|
|
1287
1287
|
"onRow-dblclick"?: ((row: Row, event: MouseEvent) => any) | undefined;
|
|
1288
1288
|
onError?: ((error: Error, kind: QueryErrorKind) => any) | undefined;
|
|
1289
1289
|
}>, {
|
|
1290
|
+
rowHeight: number;
|
|
1291
|
+
wheelRowsPerTick: number;
|
|
1290
1292
|
select: SelectionMode;
|
|
1293
|
+
selectOn: SelectOn;
|
|
1291
1294
|
reorderable: boolean;
|
|
1292
1295
|
resizable: boolean;
|
|
1293
1296
|
columnMinWidth: number;
|
|
1294
|
-
selectOn: SelectOn;
|
|
1295
1297
|
rowDelete: boolean | RowDeleteOpt;
|
|
1296
1298
|
rowActionsColumn: RowActionsColumnPlacement | false;
|
|
1297
1299
|
headless: boolean;
|
|
1298
|
-
rowHeight: number;
|
|
1299
|
-
wheelRowsPerTick: number;
|
|
1300
1300
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1301
1301
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
1302
1302
|
declare const _default$1: typeof __VLS_export$1;
|
|
@@ -1582,12 +1582,13 @@ declare const __VLS_base: vue.DefineComponent<__VLS_PublicProps, {
|
|
|
1582
1582
|
"update:querySelection": (value: QuerySelection | null) => any;
|
|
1583
1583
|
"update:urlQuery": (value: string | undefined) => any;
|
|
1584
1584
|
} & {
|
|
1585
|
+
"main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
|
|
1585
1586
|
action: (action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any;
|
|
1586
1587
|
"unsupported-filter": (issue: UnsupportedFilter) => any;
|
|
1587
1588
|
"selection-reset": (event: SelectionResetEvent) => any;
|
|
1588
1589
|
"fields-dropped": (report: DroppedFieldsReport) => any;
|
|
1589
|
-
"main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
|
|
1590
1590
|
}, string, vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
1591
|
+
"onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
1591
1592
|
onAction?: ((action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any) | undefined;
|
|
1592
1593
|
"onUnsupported-filter"?: ((issue: UnsupportedFilter) => any) | undefined;
|
|
1593
1594
|
"onSelection-reset"?: ((event: SelectionResetEvent) => any) | undefined;
|
|
@@ -1600,7 +1601,6 @@ declare const __VLS_base: vue.DefineComponent<__VLS_PublicProps, {
|
|
|
1600
1601
|
"onUpdate:selectedRows"?: ((value: unknown[]) => any) | undefined;
|
|
1601
1602
|
"onUpdate:querySelection"?: ((value: QuerySelection | null) => any) | undefined;
|
|
1602
1603
|
"onUpdate:urlQuery"?: ((value: string | undefined) => any) | undefined;
|
|
1603
|
-
"onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
1604
1604
|
}>, {
|
|
1605
1605
|
localSort: boolean;
|
|
1606
1606
|
queryOnMount: boolean;
|
|
@@ -1151,15 +1151,15 @@ declare const __VLS_base$2: vue.DefineComponent<__VLS_Props$2, {}, {}, {}, {}, v
|
|
|
1151
1151
|
"onRow-dblclick"?: ((row: Record<string, unknown>, event: MouseEvent) => any) | undefined;
|
|
1152
1152
|
}>, {
|
|
1153
1153
|
select: SelectionMode;
|
|
1154
|
-
|
|
1155
|
-
virtualOverscan: number;
|
|
1154
|
+
selectOn: SelectOn;
|
|
1156
1155
|
reorderable: boolean;
|
|
1157
1156
|
resizable: boolean;
|
|
1158
1157
|
columnMinWidth: number;
|
|
1159
|
-
selectOn: SelectOn;
|
|
1160
1158
|
rowDelete: boolean | RowDeleteOpt;
|
|
1161
1159
|
rowActionsColumn: RowActionsColumnPlacement | false;
|
|
1162
1160
|
headless: boolean;
|
|
1161
|
+
stickyHeader: boolean;
|
|
1162
|
+
virtualOverscan: number;
|
|
1163
1163
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1164
1164
|
declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
1165
1165
|
declare const _default$2: typeof __VLS_export$2;
|
|
@@ -1287,16 +1287,16 @@ declare const __VLS_base$1: vue.DefineComponent<__VLS_Props$1, {}, {}, {}, {}, v
|
|
|
1287
1287
|
"onRow-dblclick"?: ((row: Row, event: MouseEvent) => any) | undefined;
|
|
1288
1288
|
onError?: ((error: Error, kind: QueryErrorKind) => any) | undefined;
|
|
1289
1289
|
}>, {
|
|
1290
|
+
rowHeight: number;
|
|
1291
|
+
wheelRowsPerTick: number;
|
|
1290
1292
|
select: SelectionMode;
|
|
1293
|
+
selectOn: SelectOn;
|
|
1291
1294
|
reorderable: boolean;
|
|
1292
1295
|
resizable: boolean;
|
|
1293
1296
|
columnMinWidth: number;
|
|
1294
|
-
selectOn: SelectOn;
|
|
1295
1297
|
rowDelete: boolean | RowDeleteOpt;
|
|
1296
1298
|
rowActionsColumn: RowActionsColumnPlacement | false;
|
|
1297
1299
|
headless: boolean;
|
|
1298
|
-
rowHeight: number;
|
|
1299
|
-
wheelRowsPerTick: number;
|
|
1300
1300
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1301
1301
|
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
1302
1302
|
declare const _default$1: typeof __VLS_export$1;
|
|
@@ -1582,12 +1582,13 @@ declare const __VLS_base: vue.DefineComponent<__VLS_PublicProps, {
|
|
|
1582
1582
|
"update:querySelection": (value: QuerySelection | null) => any;
|
|
1583
1583
|
"update:urlQuery": (value: string | undefined) => any;
|
|
1584
1584
|
} & {
|
|
1585
|
+
"main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
|
|
1585
1586
|
action: (action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any;
|
|
1586
1587
|
"unsupported-filter": (issue: UnsupportedFilter) => any;
|
|
1587
1588
|
"selection-reset": (event: SelectionResetEvent) => any;
|
|
1588
1589
|
"fields-dropped": (report: DroppedFieldsReport) => any;
|
|
1589
|
-
"main-action": (row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any;
|
|
1590
1590
|
}, string, vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
1591
|
+
"onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
1591
1592
|
onAction?: ((action: TVueTableActionInfo, ids: unknown[], result: ActionResult, event?: MouseEvent | KeyboardEvent | undefined) => any) | undefined;
|
|
1592
1593
|
"onUnsupported-filter"?: ((issue: UnsupportedFilter) => any) | undefined;
|
|
1593
1594
|
"onSelection-reset"?: ((event: SelectionResetEvent) => any) | undefined;
|
|
@@ -1600,7 +1601,6 @@ declare const __VLS_base: vue.DefineComponent<__VLS_PublicProps, {
|
|
|
1600
1601
|
"onUpdate:selectedRows"?: ((value: unknown[]) => any) | undefined;
|
|
1601
1602
|
"onUpdate:querySelection"?: ((value: QuerySelection | null) => any) | undefined;
|
|
1602
1603
|
"onUpdate:urlQuery"?: ((value: string | undefined) => any) | undefined;
|
|
1603
|
-
"onMain-action"?: ((row: Record<string, unknown>, absIndex: number, event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
1604
1604
|
}>, {
|
|
1605
1605
|
localSort: boolean;
|
|
1606
1606
|
queryOnMount: boolean;
|
package/dist/as-table.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { L as _default } from "./as-table-root.vue-
|
|
1
|
+
import { L as _default } from "./as-table-root.vue-BeWq82bU.cjs";
|
|
2
2
|
export = _default;
|
package/dist/as-table.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { L as _default } from "./as-table-root.vue-
|
|
1
|
+
import { L as _default } from "./as-table-root.vue-BSn0I02L.mjs";
|
|
2
2
|
export { _default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { I as _default } from "./as-table-root.vue-
|
|
1
|
+
import { I as _default } from "./as-table-root.vue-BeWq82bU.cjs";
|
|
2
2
|
export = _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { I as _default } from "./as-table-root.vue-
|
|
1
|
+
import { I as _default } from "./as-table-root.vue-BSn0I02L.mjs";
|
|
2
2
|
export { _default as default };
|
package/dist/index.cjs
CHANGED
|
@@ -2,7 +2,7 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
const require_use_table_state = require("./use-table-state-zE3BpeA7.cjs");
|
|
3
3
|
const require_get_cell_value = require("./get-cell-value-CJT4fk4y.cjs");
|
|
4
4
|
const require_use_table_selection = require("./use-table-selection-Cs7-gjHg.cjs");
|
|
5
|
-
const require_use_table = require("./use-table-
|
|
5
|
+
const require_use_table = require("./use-table-DFcciC80.cjs");
|
|
6
6
|
const require_use_cell_locale = require("./use-cell-locale-Dy5Rf1yp.cjs");
|
|
7
7
|
const require_use_table_nav_bridge = require("./use-table-nav-bridge-C43u266u.cjs");
|
|
8
8
|
const require_use_table_component = require("./use-table-component-Daap95CE.cjs");
|
|
@@ -15,17 +15,17 @@ const require_as_cell_union = require("./as-cell-union-DpCEHLzN.cjs");
|
|
|
15
15
|
const require_as_column_menu = require("./as-column-menu-ChB7hzmr.cjs");
|
|
16
16
|
const require_as_config_dialog = require("./as-config-dialog-XSkaW1X0.cjs");
|
|
17
17
|
const require_as_confirm_dialog = require("./as-confirm-dialog-pcKkl-Qo.cjs");
|
|
18
|
-
const require_as_filter_field = require("./as-filter-field-
|
|
18
|
+
const require_as_filter_field = require("./as-filter-field-5StldR5G.cjs");
|
|
19
19
|
const require_as_filter_input = require("./as-filter-input-DZkhoSWO.cjs");
|
|
20
|
-
const require_as_filter_dialog = require("./as-filter-dialog-
|
|
20
|
+
const require_as_filter_dialog = require("./as-filter-dialog-Df-QwOn9.cjs");
|
|
21
21
|
const require_as_table_header_cell = require("./as-table-header-cell-Ch0J_Axe.cjs");
|
|
22
22
|
const require_as_window_table = require("./as-window-table-BvUfaBj8.cjs");
|
|
23
23
|
const require_as_table_cell_value = require("./as-table-cell-value-CGBk-KWx.cjs");
|
|
24
24
|
const require_as_residual_filter = require("./as-residual-filter-BGz7pSdL.cjs");
|
|
25
|
-
const require_as_filters = require("./as-filters-
|
|
25
|
+
const require_as_filters = require("./as-filters-Banbn-pX.cjs");
|
|
26
26
|
const require_as_preset_dialog = require("./as-preset-dialog-CFvmrXGP.cjs");
|
|
27
27
|
const require_as_row_actions = require("./as-row-actions-S_IVb5c2.cjs");
|
|
28
|
-
const require_as_table_root = require("./as-table-root-
|
|
28
|
+
const require_as_table_root = require("./as-table-root-Do8Fqaey.cjs");
|
|
29
29
|
const require_as_table = require("./as-table-BIKHGH4x.cjs");
|
|
30
30
|
const require_as_table_actions = require("./as-table-actions-CgMktjjD.cjs");
|
|
31
31
|
const require_as_preset_picker = require("./as-preset-picker-DjV1c6Kh.cjs");
|
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-
|
|
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-
|
|
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-BeWq82bU.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-DwTSTjsj.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-
|
|
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-
|
|
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-BSn0I02L.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-Dyq2-vg9.mjs";
|
|
8
8
|
import { t as _default$2 } from "./as-cell-json.vue-C0_LDvQw.mjs";
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { I as queryTargetGate, O as extractIdentifier, V as ROW_ACTIONS_TYPE, a as useTableContext, b as QUERY_TARGET_UNSUPPORTED_REASON, k as identifierFieldsOf, n as createTableState, o as useTableContextOptional, r as provideTableContext, t as createStaticTableState, v as resolveRowActions, x as actionIdentifiers } from "./use-table-state-DzvCmxEx.mjs";
|
|
2
2
|
import { t as getCellValue } from "./get-cell-value-Cb3X8nUn.mjs";
|
|
3
3
|
import { n as useTableSelection } from "./use-table-selection-CdaOPo1d.mjs";
|
|
4
|
-
import { a as useLocalDraft, i as usePresets, o as AS_PRESETS_APP, r as useTable, s as injectPresetsApp, t as clearTableCache } from "./use-table-
|
|
4
|
+
import { a as useLocalDraft, i as usePresets, o as AS_PRESETS_APP, r as useTable, s as injectPresetsApp, t as clearTableCache } from "./use-table-BrXqqliI.mjs";
|
|
5
5
|
import { n as useCellLocale, t as provideCellLocale } from "./use-cell-locale-Bye0ANIP.mjs";
|
|
6
6
|
import { t as useTableNavBridge } from "./use-table-nav-bridge-Ch61msQs.mjs";
|
|
7
7
|
import { t as useTableComponent } from "./use-table-component-B9QRSvoR.mjs";
|
|
@@ -14,17 +14,17 @@ import { t as as_cell_union_default } from "./as-cell-union-C9Bbnkrg.mjs";
|
|
|
14
14
|
import { t as as_column_menu_default } from "./as-column-menu-CBtUfYEE.mjs";
|
|
15
15
|
import { t as as_config_dialog_default } from "./as-config-dialog-DW4WfYEi.mjs";
|
|
16
16
|
import { t as as_confirm_dialog_default } from "./as-confirm-dialog-rWRl5z4R.mjs";
|
|
17
|
-
import { t as as_filter_field_default } from "./as-filter-field-
|
|
17
|
+
import { t as as_filter_field_default } from "./as-filter-field-CyczT_rO.mjs";
|
|
18
18
|
import { t as as_filter_input_default } from "./as-filter-input-DeI85XVZ.mjs";
|
|
19
|
-
import { t as as_filter_dialog_default } from "./as-filter-dialog-
|
|
19
|
+
import { t as as_filter_dialog_default } from "./as-filter-dialog-DG5AIaHJ.mjs";
|
|
20
20
|
import { t as as_table_header_cell_default } from "./as-table-header-cell-Bg5wAPHv.mjs";
|
|
21
21
|
import { t as as_window_table_default } from "./as-window-table-Cf523h8Q.mjs";
|
|
22
22
|
import { t as as_table_cell_value_default } from "./as-table-cell-value-BYJd-QRA.mjs";
|
|
23
23
|
import { t as as_residual_filter_default } from "./as-residual-filter-BoeOL9AJ.mjs";
|
|
24
|
-
import { t as as_filters_default } from "./as-filters-
|
|
24
|
+
import { t as as_filters_default } from "./as-filters-p7fbcYkp.mjs";
|
|
25
25
|
import { t as as_preset_dialog_default } from "./as-preset-dialog-BXL8yt8O.mjs";
|
|
26
26
|
import { t as as_row_actions_default } from "./as-row-actions-QN_UFuah.mjs";
|
|
27
|
-
import { t as as_table_root_default } from "./as-table-root-
|
|
27
|
+
import { t as as_table_root_default } from "./as-table-root-D1qWGhxL.mjs";
|
|
28
28
|
import { t as as_table_default } from "./as-table-DEjvo36o.mjs";
|
|
29
29
|
import { t as as_table_actions_default } from "./as-table-actions-m-QLy2Ys.mjs";
|
|
30
30
|
import { t as as_preset_picker_default } from "./as-preset-picker-IVVvFw6r.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { l as DEFAULT_AVAILABLE_ASPECTS, n as createTableState, r as provideTableContext } from "./use-table-state-DzvCmxEx.mjs";
|
|
2
2
|
import { n as useTableSelection } from "./use-table-selection-CdaOPo1d.mjs";
|
|
3
3
|
import { n as useCellLocale } from "./use-cell-locale-Bye0ANIP.mjs";
|
|
4
|
-
import { getMetaEntry, getMetaTableDef, resetMetaCache } from "@atscript/ui";
|
|
4
|
+
import { getMetaEntry, getMetaTableDef, resetMetaCache, retainMetaEntry } from "@atscript/ui";
|
|
5
5
|
import { computed, getCurrentInstance, getCurrentScope, inject, isRef, onScopeDispose, ref, shallowRef, toValue, watch } from "vue";
|
|
6
6
|
import { PresetsClient, STANDARD_PRESET_ID, cachedPresetCapabilities, cachedPresetRows, debounce, deserializeDraft, isEmptyDraft, isPresetsCacheActive, isSystemPresetId, isUnavailableError, loadPresetCapabilities, loadPresetRows, presetsCacheKey, publishPresetsWrite, resolveSystemPresets, serializeDraft, sharedPresetsClient, stableStringify, subscribePresetsCache } from "@atscript/ui-table";
|
|
7
7
|
//#region src/composables/as-presets-app.ts
|
|
@@ -487,6 +487,7 @@ function finalizeTableState(state, client, opts) {
|
|
|
487
487
|
*/
|
|
488
488
|
function useTable(url, opts) {
|
|
489
489
|
const entry = getMetaEntry(url, opts?.clientFactory, { metaKey: opts?.metaKey });
|
|
490
|
+
if (getCurrentScope()) onScopeDispose(retainMetaEntry(entry));
|
|
490
491
|
const { client } = entry;
|
|
491
492
|
const defPromise = getMetaTableDef(entry);
|
|
492
493
|
const cellLocale = getCurrentInstance() ? useCellLocale() : void 0;
|
|
@@ -487,6 +487,7 @@ function finalizeTableState(state, client, opts) {
|
|
|
487
487
|
*/
|
|
488
488
|
function useTable(url, opts) {
|
|
489
489
|
const entry = (0, _atscript_ui.getMetaEntry)(url, opts?.clientFactory, { metaKey: opts?.metaKey });
|
|
490
|
+
if ((0, vue.getCurrentScope)()) (0, vue.onScopeDispose)((0, _atscript_ui.retainMetaEntry)(entry));
|
|
490
491
|
const { client } = entry;
|
|
491
492
|
const defPromise = (0, _atscript_ui.getMetaTableDef)(entry);
|
|
492
493
|
const cellLocale = (0, vue.getCurrentInstance)() ? require_use_cell_locale.useCellLocale() : void 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atscript/vue-table",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.155",
|
|
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.
|
|
171
|
-
"@atscript/ui-table": "^0.1.
|
|
172
|
-
"@atscript/vue-form": "^0.1.
|
|
170
|
+
"@atscript/ui": "^0.1.155",
|
|
171
|
+
"@atscript/ui-table": "^0.1.155",
|
|
172
|
+
"@atscript/vue-form": "^0.1.155"
|
|
173
173
|
},
|
|
174
174
|
"devDependencies": {
|
|
175
|
-
"@atscript/core": "^0.1.
|
|
176
|
-
"@atscript/db-client": "^0.1.
|
|
177
|
-
"@atscript/typescript": "^0.1.
|
|
175
|
+
"@atscript/core": "^0.1.106",
|
|
176
|
+
"@atscript/db-client": "^0.1.157",
|
|
177
|
+
"@atscript/typescript": "^0.1.106",
|
|
178
178
|
"@tanstack/vue-virtual": "^3.13.26",
|
|
179
179
|
"@uniqu/core": "^0.1.15",
|
|
180
180
|
"@uniqu/url": "^0.1.15",
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
"vunor": "^0.3.2"
|
|
191
191
|
},
|
|
192
192
|
"peerDependencies": {
|
|
193
|
-
"@atscript/db-client": "^0.1.
|
|
193
|
+
"@atscript/db-client": "^0.1.157",
|
|
194
194
|
"@tanstack/vue-virtual": "^3.13.26",
|
|
195
195
|
"@uniqu/url": "^0.1.15",
|
|
196
196
|
"@vueuse/core": "^14.3.0",
|