@atscript/vue-table 0.1.139 → 0.1.140
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-action-form-dialog.cjs +1 -1
- package/dist/as-action-form-dialog.mjs +1 -1
- package/dist/{as-action-menu-content-DXuyDZ_X.cjs → as-action-menu-content-B5RFt7Hc.cjs} +1 -1
- package/dist/{as-action-menu-content-D7NIwc9X.mjs → as-action-menu-content-KNJr1EkO.mjs} +1 -1
- package/dist/as-cell-array.d.mts +1 -1
- package/dist/as-cell-date.d.mts +1 -1
- package/dist/as-cell-json.d.mts +1 -1
- package/dist/as-cell-number.d.mts +1 -1
- package/dist/as-cell-union.d.mts +1 -1
- package/dist/as-column-menu.d.cts +1 -1
- package/dist/as-column-menu.d.mts +1 -1
- package/dist/{as-column-menu.vue-Cul3eIz_.d.cts → as-column-menu.vue-DKQNY5gh.d.cts} +1 -1
- package/dist/{as-column-menu.vue-Dw2m8ZqD.d.mts → as-column-menu.vue-hOmuVcKf.d.mts} +1 -1
- package/dist/{as-config-dialog-j_-oUmN7.cjs → as-config-dialog-B1KJJSHE.cjs} +2 -2
- package/dist/{as-config-dialog-DrcYlrOh.mjs → as-config-dialog-JXNkCCrh.mjs} +2 -2
- package/dist/as-config-dialog.cjs +1 -1
- package/dist/as-config-dialog.d.mts +1 -1
- package/dist/as-config-dialog.mjs +1 -1
- package/dist/{as-confirm-dialog-Pnt60ALy.mjs → as-confirm-dialog-CC6U8nLZ.mjs} +1 -1
- package/dist/{as-confirm-dialog-CStjIWN0.cjs → as-confirm-dialog-a736BLOm.cjs} +1 -1
- package/dist/as-confirm-dialog.cjs +1 -1
- package/dist/as-confirm-dialog.d.mts +1 -1
- package/dist/as-confirm-dialog.mjs +1 -1
- package/dist/{as-filter-dialog-CUzahpd_.mjs → as-filter-dialog-C3wltqrN.mjs} +8 -8
- package/dist/{as-filter-dialog-B6_NvvlM.cjs → as-filter-dialog-IflKkOd8.cjs} +8 -8
- package/dist/as-filter-dialog.cjs +1 -1
- package/dist/as-filter-dialog.d.mts +1 -1
- package/dist/as-filter-dialog.mjs +1 -1
- package/dist/{as-filter-field-3DJh_ICs.mjs → as-filter-field-D_6DlFcp.mjs} +3 -3
- package/dist/{as-filter-field-DCUMuu0M.cjs → as-filter-field-pygBjA-K.cjs} +3 -3
- package/dist/as-filter-field.cjs +1 -1
- package/dist/as-filter-field.d.mts +1 -1
- package/dist/as-filter-field.mjs +1 -1
- package/dist/as-filter-input.d.mts +1 -1
- package/dist/{as-filters-D0DWDyiv.mjs → as-filters-BDzQ2SM_.mjs} +19 -4
- package/dist/{as-filters-CHLPYHNP.cjs → as-filters-BIoEsPD0.cjs} +19 -4
- package/dist/as-filters.cjs +1 -1
- package/dist/as-filters.d.cts +1 -1
- package/dist/as-filters.d.mts +1 -1
- package/dist/as-filters.mjs +1 -1
- package/dist/{as-filters.vue-BG_ysCkC.d.mts → as-filters.vue-BSgUEh4D.d.mts} +23 -1
- package/dist/{as-filters.vue-DcxDnWAU.d.cts → as-filters.vue-DMXZhQW3.d.cts} +23 -1
- package/dist/{as-preset-dialog-RLW0gZDj.cjs → as-preset-dialog-BgZB8xyk.cjs} +2 -2
- package/dist/{as-preset-dialog-H98DeOMM.mjs → as-preset-dialog-D_w4cxKS.mjs} +2 -2
- package/dist/as-preset-dialog.cjs +1 -1
- package/dist/as-preset-dialog.d.mts +1 -1
- package/dist/as-preset-dialog.mjs +1 -1
- package/dist/{as-preset-picker-Cw7LB7o1.mjs → as-preset-picker-B8d6l3U1.mjs} +13 -8
- package/dist/{as-preset-picker-yWXEhWEq.cjs → as-preset-picker-XnGrqHyF.cjs} +13 -8
- package/dist/as-preset-picker.cjs +1 -1
- package/dist/as-preset-picker.d.mts +1 -1
- package/dist/as-preset-picker.mjs +1 -1
- package/dist/as-residual-filter-C65QsWxr.mjs +49 -0
- package/dist/as-residual-filter-ihvXCtpH.cjs +54 -0
- package/dist/as-residual-filter.cjs +2 -0
- package/dist/as-residual-filter.d.cts +2 -0
- package/dist/as-residual-filter.d.mts +2 -0
- package/dist/as-residual-filter.mjs +2 -0
- package/dist/as-residual-filter.vue-Dfw1l2wS.d.cts +21 -0
- package/dist/as-residual-filter.vue-N89YqlCz.d.mts +21 -0
- package/dist/{as-row-actions-D_TqnP3S.cjs → as-row-actions-C6N0lcZb.cjs} +2 -2
- package/dist/{as-row-actions-BvJWHf3j.mjs → as-row-actions-xQ9M1PrO.mjs} +2 -2
- package/dist/as-row-actions.cjs +1 -1
- package/dist/as-row-actions.d.cts +1 -1
- package/dist/as-row-actions.d.mts +1 -1
- package/dist/as-row-actions.mjs +1 -1
- package/dist/{as-row-actions.vue-DxXodLGq.d.mts → as-row-actions.vue-B3XAxDAL.d.cts} +1 -1
- package/dist/{as-row-actions.vue-WRrzvdbJ.d.cts → as-row-actions.vue-C8vslg0n.d.mts} +1 -1
- package/dist/{as-table-D5mMZKKg.mjs → as-table-B49x0hDM.mjs} +3 -3
- package/dist/{as-table-actions-D91sNgel.cjs → as-table-actions-B-jY3s6f.cjs} +2 -2
- package/dist/{as-table-actions-C6moFlxt.mjs → as-table-actions-B2Hy3h7v.mjs} +2 -2
- package/dist/as-table-actions.cjs +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.mjs +1 -1
- package/dist/{as-table-actions.vue-CPVhj2ZC.d.mts → as-table-actions.vue-BgTJuXEH.d.cts} +2 -2
- package/dist/{as-table-actions.vue-DB3LW-eI.d.cts → as-table-actions.vue-BnLH2NqO.d.mts} +2 -2
- package/dist/{as-table-base-CEpvNFBd.mjs → as-table-base-DErJfFYz.mjs} +2 -2
- package/dist/{as-table-base-CyBOmUK9.cjs → as-table-base-ceywcVRq.cjs} +2 -2
- package/dist/as-table-cell-value.cjs +1 -1
- package/dist/as-table-cell-value.d.cts +1 -1
- package/dist/as-table-cell-value.d.mts +1 -1
- package/dist/as-table-cell-value.mjs +1 -1
- package/dist/{as-table-header-cell-CUs-sSBm.mjs → as-table-header-cell-Ccf06b2_.mjs} +1 -1
- package/dist/{as-table-header-cell-D7pW2sV3.cjs → as-table-header-cell-ZCk3XD_d.cjs} +1 -1
- package/dist/as-table-header-cell.cjs +1 -1
- package/dist/as-table-header-cell.d.cts +1 -1
- package/dist/as-table-header-cell.d.mts +1 -1
- package/dist/as-table-header-cell.mjs +1 -1
- package/dist/{as-table-header-cell.vue-DFaRLZZA.d.cts → as-table-header-cell.vue-C7jNmdDh.d.mts} +2 -2
- package/dist/{as-table-header-cell.vue-BDhs3PNi.d.mts → as-table-header-cell.vue-DkClJBAT.d.cts} +2 -2
- package/dist/{as-table-CVD1zLva.cjs → as-table-ouPxssqv.cjs} +3 -3
- package/dist/{as-table-root-C61wrFd9.mjs → as-table-root-CG7bLzcQ.mjs} +7 -4
- package/dist/{as-table-root-C7Tr_9W-.cjs → as-table-root-_58hdHAi.cjs} +7 -4
- 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-D5Xyux8I.d.cts → as-table-root.vue-D8hH1xGK.d.cts} +10 -3
- package/dist/{as-table-root.vue-Bza3D5F1.d.mts → as-table-root.vue-DpPRMy3v.d.mts} +10 -3
- package/dist/{as-table-status-D08b0cqn.mjs → as-table-status-2rA91OFT.mjs} +5 -5
- package/dist/{as-table-status-B-MjDXNZ.cjs → as-table-status-UWTPJJUL.cjs} +5 -5
- package/dist/as-table.cjs +1 -1
- package/dist/as-table.d.cts +1 -1
- package/dist/as-table.d.mts +1 -1
- package/dist/as-table.mjs +1 -1
- package/dist/{as-table.vue-BuZGgKuM.d.cts → as-table.vue-Bv6sKnL5.d.cts} +2 -2
- package/dist/{as-table.vue-CPfERNtx.d.mts → as-table.vue-CudFoZTF.d.mts} +2 -2
- package/dist/{as-window-table-BfSud7yB.cjs → as-window-table-C9YtzepV.cjs} +3 -3
- package/dist/{as-window-table-CjYMF0aX.mjs → as-window-table-KyS6YUpa.mjs} +3 -3
- package/dist/as-window-table.cjs +1 -1
- package/dist/as-window-table.d.cts +1 -1
- package/dist/as-window-table.d.mts +1 -1
- package/dist/as-window-table.mjs +1 -1
- package/dist/{as-window-table.vue-BIjQuSie.d.cts → as-window-table.vue-COVl3die.d.mts} +2 -2
- package/dist/{as-window-table.vue-3egLvwAy.d.mts → as-window-table.vue-CRWdhOgC.d.cts} +2 -2
- package/dist/index.cjs +23 -48
- package/dist/index.d.cts +10 -10
- package/dist/index.d.mts +22 -22
- package/dist/index.mjs +23 -48
- package/dist/{types-B6N5NDx_.d.cts → types-BCixOa8x.d.cts} +20 -1
- package/dist/{types-CgdpcJdd.d.mts → types-D7qVxU_y.d.mts} +20 -1
- package/dist/{use-table-DUwUfjSZ.mjs → use-table-2xPxoNRX.mjs} +1 -1
- package/dist/{use-table-c4ku22Mx.cjs → use-table-B45WZLwg.cjs} +1 -1
- package/dist/{use-table-column-handlers-eKHCfUm_.mjs → use-table-column-handlers-p_xK-l0e.mjs} +1 -1
- package/dist/{use-table-column-handlers-Do0Z-R9D.cjs → use-table-column-handlers-rqFo9HLz.cjs} +1 -1
- package/dist/{use-table-component-wfU13P3L.mjs → use-table-component-BYO0zMQj.mjs} +1 -1
- package/dist/{use-table-component-DbQDINoa.cjs → use-table-component-XQ-Qt_sp.cjs} +1 -1
- package/dist/{use-table-nav-bridge-DRrvQxXq.mjs → use-table-nav-bridge-BDBnRc4C.mjs} +1 -1
- package/dist/{use-table-nav-bridge-BLLVGR1r.cjs → use-table-nav-bridge-DvrsPanF.cjs} +1 -1
- package/dist/{use-table-state-BEwXQayO.mjs → use-table-state-BzjbnpBA.mjs} +50 -8
- package/dist/{use-table-state-Cnxv0w_E.cjs → use-table-state-pF_9gnTG.cjs} +49 -7
- package/package.json +14 -7
- /package/dist/{as-cell-array.vue-D4vS7C_D.d.mts → as-cell-array.vue-ow34clSF.d.mts} +0 -0
- /package/dist/{as-cell-date.vue-Chs7WTZ9.d.mts → as-cell-date.vue-B4JCr1qP.d.mts} +0 -0
- /package/dist/{as-cell-json.vue-C0_LDvQw.d.mts → as-cell-json.vue-B-T3TuFj.d.mts} +0 -0
- /package/dist/{as-cell-number.vue-BBF0OuU8.d.mts → as-cell-number.vue-CNH2fbCB.d.mts} +0 -0
- /package/dist/{as-cell-union.vue-CL-Lf-Rm.d.mts → as-cell-union.vue-CZwN81H4.d.mts} +0 -0
- /package/dist/{as-config-dialog.vue-BvFZZRuY.d.mts → as-config-dialog.vue-BKo2GpzN.d.mts} +0 -0
- /package/dist/{as-confirm-dialog.vue-Cz52-v6c.d.mts → as-confirm-dialog.vue-BN_yzu3h.d.mts} +0 -0
- /package/dist/{as-filter-dialog.vue-likNLqzF.d.mts → as-filter-dialog.vue-Bl8OIKOf.d.mts} +0 -0
- /package/dist/{as-filter-field.vue-BbXLhd6O.d.mts → as-filter-field.vue-DD0IZXS1.d.mts} +0 -0
- /package/dist/{as-filter-input.vue-B9ma2l9j.d.mts → as-filter-input.vue-CFZ33B--.d.mts} +0 -0
- /package/dist/{as-preset-dialog.vue-BRjjfPty.d.mts → as-preset-dialog.vue-ChM7H7B4.d.mts} +0 -0
- /package/dist/{as-preset-picker.vue-BPjsiaVt.d.mts → as-preset-picker.vue-OaAV2v9z.d.mts} +0 -0
- /package/dist/{as-table-cell-value-Ct0KnyKc.cjs → as-table-cell-value-COyZnwUj.cjs} +0 -0
- /package/dist/{as-table-cell-value-D1eLiQKJ.mjs → as-table-cell-value-DoH8Mieo.mjs} +0 -0
- /package/dist/{as-table-cell-value.vue-BgFDv2JQ.d.cts → as-table-cell-value.vue-C0VR9GRK.d.cts} +0 -0
- /package/dist/{as-table-cell-value.vue-kfNgVhzn.d.mts → as-table-cell-value.vue-DphckGq-.d.mts} +0 -0
- /package/dist/{error-message-CglODWl4.cjs → error-message-CfKpn_5w.cjs} +0 -0
- /package/dist/{error-message-hPSAu8Ug.mjs → error-message-gNEXnnbb.mjs} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_use_table_state = require("./use-table-state-
|
|
1
|
+
const require_use_table_state = require("./use-table-state-pF_9gnTG.cjs");
|
|
2
2
|
let _atscript_ui = require("@atscript/ui");
|
|
3
3
|
let vue = require("vue");
|
|
4
4
|
let _atscript_db_client = require("@atscript/db-client");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as intentToScope, a as useTableContext } from "./use-table-state-
|
|
1
|
+
import { C as intentToScope, a as useTableContext } from "./use-table-state-BzjbnpBA.mjs";
|
|
2
2
|
import { META_LABEL, UI_FORM_SUBMIT_TEXT, createFormData, createFormDef, getFieldMeta } from "@atscript/ui";
|
|
3
3
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, openBlock, ref, renderList, toDisplayString, unref, useId, watch, withCtx } from "vue";
|
|
4
4
|
import { formatIdentifier } from "@atscript/db-client";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as intentClass, T as isPlainLeftClick, v as ariaLabelFor, w as isModClick } from "./use-table-state-
|
|
1
|
+
import { S as intentClass, T as isPlainLeftClick, v as ariaLabelFor, w as isModClick } from "./use-table-state-BzjbnpBA.mjs";
|
|
2
2
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, defineComponent, normalizeClass, openBlock, renderList, renderSlot, toDisplayString, unref, useSlots, withCtx } from "vue";
|
|
3
3
|
import { DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator } from "reka-ui";
|
|
4
4
|
//#endregion
|
package/dist/as-cell-array.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-cell-array.vue-
|
|
1
|
+
import { t as _default } from "./as-cell-array.vue-ow34clSF.mjs";
|
|
2
2
|
export { _default as default };
|
package/dist/as-cell-date.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-cell-date.vue-
|
|
1
|
+
import { t as _default } from "./as-cell-date.vue-B4JCr1qP.mjs";
|
|
2
2
|
export { _default as default };
|
package/dist/as-cell-json.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-cell-json.vue-
|
|
1
|
+
import { t as _default } from "./as-cell-json.vue-B-T3TuFj.mjs";
|
|
2
2
|
export { _default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-cell-number.vue-
|
|
1
|
+
import { t as _default } from "./as-cell-number.vue-CNH2fbCB.mjs";
|
|
2
2
|
export { _default as default };
|
package/dist/as-cell-union.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-cell-union.vue-
|
|
1
|
+
import { t as _default } from "./as-cell-union.vue-CZwN81H4.mjs";
|
|
2
2
|
export { _default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-column-menu.vue-
|
|
1
|
+
import { t as _default } from "./as-column-menu.vue-DKQNY5gh.cjs";
|
|
2
2
|
export = _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-column-menu.vue-
|
|
1
|
+
import { t as _default } from "./as-column-menu.vue-hOmuVcKf.mjs";
|
|
2
2
|
export { _default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as ColumnMenuConfig } from "./types-
|
|
1
|
+
import { r as ColumnMenuConfig } from "./types-BCixOa8x.cjs";
|
|
2
2
|
import * as vue from "vue";
|
|
3
3
|
import { ColumnDef } from "@atscript/ui";
|
|
4
4
|
import { ColumnWidthEntry, FilterCondition } from "@atscript/ui-table";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as ColumnMenuConfig } from "./types-
|
|
1
|
+
import { r as ColumnMenuConfig } from "./types-D7qVxU_y.mjs";
|
|
2
2
|
import { ColumnDef } from "@atscript/ui";
|
|
3
3
|
import * as vue from "vue";
|
|
4
4
|
import { ColumnWidthEntry, FilterCondition } from "@atscript/ui-table";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const require_use_table_state = require("./use-table-state-
|
|
2
|
-
const require_use_table_component = require("./use-table-component-
|
|
1
|
+
const require_use_table_state = require("./use-table-state-pF_9gnTG.cjs");
|
|
2
|
+
const require_use_table_component = require("./use-table-component-XQ-Qt_sp.cjs");
|
|
3
3
|
const require_use_seed_on_open = require("./use-seed-on-open-Dg9I89fU.cjs");
|
|
4
4
|
let vue = require("vue");
|
|
5
5
|
let _atscript_ui_table = require("@atscript/ui-table");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as useTableContext } from "./use-table-state-
|
|
2
|
-
import { t as useTableComponent } from "./use-table-component-
|
|
1
|
+
import { a as useTableContext } from "./use-table-state-BzjbnpBA.mjs";
|
|
2
|
+
import { t as useTableComponent } from "./use-table-component-BYO0zMQj.mjs";
|
|
3
3
|
import { t as useSeedOnOpen } from "./use-seed-on-open-DO3A1kIb.mjs";
|
|
4
4
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeModels, nextTick, normalizeClass, normalizeProps, openBlock, reactive, ref, renderList, renderSlot, resolveDynamicComponent, shallowRef, toDisplayString, unref, useModel, vModelText, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
5
5
|
import { arraysEqual, isColumnFilterable, sortersEqual } from "@atscript/ui-table";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_config_dialog = require("./as-config-dialog-
|
|
1
|
+
const require_as_config_dialog = require("./as-config-dialog-B1KJJSHE.cjs");
|
|
2
2
|
module.exports = require_as_config_dialog.as_config_dialog_default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-config-dialog.vue-
|
|
1
|
+
import { t as _default } from "./as-config-dialog.vue-BKo2GpzN.mjs";
|
|
2
2
|
export { _default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_config_dialog_default } from "./as-config-dialog-
|
|
1
|
+
import { t as as_config_dialog_default } from "./as-config-dialog-JXNkCCrh.mjs";
|
|
2
2
|
export { as_config_dialog_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as useTableContext } from "./use-table-state-
|
|
1
|
+
import { a as useTableContext } from "./use-table-state-BzjbnpBA.mjs";
|
|
2
2
|
import { computed, createBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, openBlock, toDisplayString, unref, withCtx } from "vue";
|
|
3
3
|
import { AlertDialogContent, AlertDialogDescription, AlertDialogOverlay, AlertDialogPortal, AlertDialogRoot, AlertDialogTitle } from "reka-ui";
|
|
4
4
|
//#region src/components/defaults/as-confirm-dialog.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_use_table_state = require("./use-table-state-
|
|
1
|
+
const require_use_table_state = require("./use-table-state-pF_9gnTG.cjs");
|
|
2
2
|
let vue = require("vue");
|
|
3
3
|
let reka_ui = require("reka-ui");
|
|
4
4
|
//#region src/components/defaults/as-confirm-dialog.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_confirm_dialog = require("./as-confirm-dialog-
|
|
1
|
+
const require_as_confirm_dialog = require("./as-confirm-dialog-a736BLOm.cjs");
|
|
2
2
|
module.exports = require_as_confirm_dialog.as_confirm_dialog_default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-confirm-dialog.vue-
|
|
1
|
+
import { t as _default } from "./as-confirm-dialog.vue-BN_yzu3h.mjs";
|
|
2
2
|
export { _default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_confirm_dialog_default } from "./as-confirm-dialog-
|
|
1
|
+
import { t as as_confirm_dialog_default } from "./as-confirm-dialog-CC6U8nLZ.mjs";
|
|
2
2
|
export { as_confirm_dialog_default as default };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { a as useTableContext, r as provideTableContext, t as createStaticTableState } from "./use-table-state-
|
|
2
|
-
import { r as useTable } from "./use-table-
|
|
3
|
-
import { t as useTableNavBridge } from "./use-table-nav-bridge-
|
|
4
|
-
import { t as useTableComponent } from "./use-table-component-
|
|
5
|
-
import { n as useDialogTabKeyboard, t as as_config_dialog_default } from "./as-config-dialog-
|
|
1
|
+
import { a as useTableContext, r as provideTableContext, t as createStaticTableState } from "./use-table-state-BzjbnpBA.mjs";
|
|
2
|
+
import { r as useTable } from "./use-table-2xPxoNRX.mjs";
|
|
3
|
+
import { t as useTableNavBridge } from "./use-table-nav-bridge-BDBnRc4C.mjs";
|
|
4
|
+
import { t as useTableComponent } from "./use-table-component-BYO0zMQj.mjs";
|
|
5
|
+
import { n as useDialogTabKeyboard, t as as_config_dialog_default } from "./as-config-dialog-JXNkCCrh.mjs";
|
|
6
6
|
import { t as useSeedOnOpen } from "./use-seed-on-open-DO3A1kIb.mjs";
|
|
7
7
|
import { t as as_filter_input_default } from "./as-filter-input-BM23TNeh.mjs";
|
|
8
|
-
import { t as as_window_table_default } from "./as-window-table-
|
|
9
|
-
import { t as as_filters_default } from "./as-filters-
|
|
8
|
+
import { t as as_window_table_default } from "./as-window-table-KyS6YUpa.mjs";
|
|
9
|
+
import { t as as_filters_default } from "./as-filters-BDzQ2SM_.mjs";
|
|
10
10
|
import { resolveValueHelp, valueHelpDictPaths } from "@atscript/ui";
|
|
11
11
|
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";
|
|
12
12
|
import { columnDefaultCondition, columnFilterConditions, columnFilterType, conditionLabel, dateShortcuts, filledFilterCount, formatFilterCondition, isColumnFilterable, isFilled, isSimpleEq, sameColumnSet } from "@atscript/ui-table";
|
|
@@ -250,7 +250,7 @@ var as_filter_value_help_default = /* @__PURE__ */ defineComponent({
|
|
|
250
250
|
}, { immediate: true });
|
|
251
251
|
const hasFilterableFields = computed(() => !!innerState && innerState.filterFields.value.length > 0);
|
|
252
252
|
const totalCount = computed(() => innerState?.totalCount.value ?? 0);
|
|
253
|
-
const hasActiveFilters = computed(() => innerState ? filledFilterCount(innerState.filters.value) > 0 : false);
|
|
253
|
+
const hasActiveFilters = computed(() => innerState ? filledFilterCount(innerState.filters.value) > 0 || innerState.residualFilters.value.length > 0 : false);
|
|
254
254
|
function clearAllFilters() {
|
|
255
255
|
innerState?.resetFilters();
|
|
256
256
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
const require_use_table_state = require("./use-table-state-
|
|
2
|
-
const require_use_table = require("./use-table-
|
|
3
|
-
const require_use_table_nav_bridge = require("./use-table-nav-bridge-
|
|
4
|
-
const require_use_table_component = require("./use-table-component-
|
|
5
|
-
const require_as_config_dialog = require("./as-config-dialog-
|
|
1
|
+
const require_use_table_state = require("./use-table-state-pF_9gnTG.cjs");
|
|
2
|
+
const require_use_table = require("./use-table-B45WZLwg.cjs");
|
|
3
|
+
const require_use_table_nav_bridge = require("./use-table-nav-bridge-DvrsPanF.cjs");
|
|
4
|
+
const require_use_table_component = require("./use-table-component-XQ-Qt_sp.cjs");
|
|
5
|
+
const require_as_config_dialog = require("./as-config-dialog-B1KJJSHE.cjs");
|
|
6
6
|
const require_use_seed_on_open = require("./use-seed-on-open-Dg9I89fU.cjs");
|
|
7
7
|
const require_as_filter_input = require("./as-filter-input-DJu2k9gO.cjs");
|
|
8
|
-
const require_as_window_table = require("./as-window-table-
|
|
9
|
-
const require_as_filters = require("./as-filters-
|
|
8
|
+
const require_as_window_table = require("./as-window-table-C9YtzepV.cjs");
|
|
9
|
+
const require_as_filters = require("./as-filters-BIoEsPD0.cjs");
|
|
10
10
|
let _atscript_ui = require("@atscript/ui");
|
|
11
11
|
let vue = require("vue");
|
|
12
12
|
let _atscript_ui_table = require("@atscript/ui-table");
|
|
@@ -250,7 +250,7 @@ var as_filter_value_help_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
250
250
|
}, { immediate: true });
|
|
251
251
|
const hasFilterableFields = (0, vue.computed)(() => !!innerState && innerState.filterFields.value.length > 0);
|
|
252
252
|
const totalCount = (0, vue.computed)(() => innerState?.totalCount.value ?? 0);
|
|
253
|
-
const hasActiveFilters = (0, vue.computed)(() => innerState ? (0, _atscript_ui_table.filledFilterCount)(innerState.filters.value) > 0 : false);
|
|
253
|
+
const hasActiveFilters = (0, vue.computed)(() => innerState ? (0, _atscript_ui_table.filledFilterCount)(innerState.filters.value) > 0 || innerState.residualFilters.value.length > 0 : false);
|
|
254
254
|
function clearAllFilters() {
|
|
255
255
|
innerState?.resetFilters();
|
|
256
256
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_filter_dialog = require("./as-filter-dialog-
|
|
1
|
+
const require_as_filter_dialog = require("./as-filter-dialog-IflKkOd8.cjs");
|
|
2
2
|
module.exports = require_as_filter_dialog.as_filter_dialog_default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-filter-dialog.vue-
|
|
1
|
+
import { t as _default } from "./as-filter-dialog.vue-Bl8OIKOf.mjs";
|
|
2
2
|
export { _default as 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-C3wltqrN.mjs";
|
|
2
2
|
export { as_filter_dialog_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as useTableContext } from "./use-table-state-
|
|
2
|
-
import { r as useTable } from "./use-table-
|
|
3
|
-
import { t as as_table_base_default } from "./as-table-base-
|
|
1
|
+
import { a as useTableContext } from "./use-table-state-BzjbnpBA.mjs";
|
|
2
|
+
import { r as useTable } from "./use-table-2xPxoNRX.mjs";
|
|
3
|
+
import { t as as_table_base_default } from "./as-table-base-DErJfFYz.mjs";
|
|
4
4
|
import { ValueHelpClient, getMetaEntry, resolveValueHelp, valueHelpDictPaths } from "@atscript/ui";
|
|
5
5
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, nextTick, onBeforeUnmount, openBlock, ref, renderList, shallowRef, toDisplayString, unref, useId, watch, withCtx, withKeys, withModifiers } from "vue";
|
|
6
6
|
import { arraysEqual, debounce, formatFilterCondition, isFilled, isSimpleEq, parseColumnFilterInput } from "@atscript/ui-table";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_use_table_state = require("./use-table-state-
|
|
2
|
-
const require_use_table = require("./use-table-
|
|
3
|
-
const require_as_table_base = require("./as-table-base-
|
|
1
|
+
const require_use_table_state = require("./use-table-state-pF_9gnTG.cjs");
|
|
2
|
+
const require_use_table = require("./use-table-B45WZLwg.cjs");
|
|
3
|
+
const require_as_table_base = require("./as-table-base-ceywcVRq.cjs");
|
|
4
4
|
let _atscript_ui = require("@atscript/ui");
|
|
5
5
|
let vue = require("vue");
|
|
6
6
|
let _atscript_ui_table = require("@atscript/ui-table");
|
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-pygBjA-K.cjs");
|
|
2
2
|
module.exports = require_as_filter_field.as_filter_field_default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-filter-field.vue-
|
|
1
|
+
import { t as _default } from "./as-filter-field.vue-DD0IZXS1.mjs";
|
|
2
2
|
export { _default as 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-D_6DlFcp.mjs";
|
|
2
2
|
export { as_filter_field_default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-filter-input.vue-
|
|
1
|
+
import { t as _default } from "./as-filter-input.vue-CFZ33B--.mjs";
|
|
2
2
|
export { _default as default };
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
import { a as useTableContext } from "./use-table-state-
|
|
2
|
-
import { t as useTableComponent } from "./use-table-component-
|
|
3
|
-
import { t as as_filter_field_default } from "./as-filter-field-
|
|
1
|
+
import { a as useTableContext } from "./use-table-state-BzjbnpBA.mjs";
|
|
2
|
+
import { t as useTableComponent } from "./use-table-component-BYO0zMQj.mjs";
|
|
3
|
+
import { t as as_filter_field_default } from "./as-filter-field-D_6DlFcp.mjs";
|
|
4
|
+
import { t as as_residual_filter_default } from "./as-residual-filter-C65QsWxr.mjs";
|
|
4
5
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, openBlock, renderList, resolveDynamicComponent, toDisplayString, unref, withCtx } from "vue";
|
|
6
|
+
import { filterExprKey } from "@atscript/ui-table";
|
|
5
7
|
import { PopoverContent, PopoverPortal, PopoverRoot, PopoverTrigger } from "reka-ui";
|
|
6
8
|
//#region src/components/as-filters.vue?vue&type=script&setup=true&lang.ts
|
|
7
9
|
const _hoisted_1 = {
|
|
@@ -25,12 +27,18 @@ var as_filters_default = /* @__PURE__ */ defineComponent({
|
|
|
25
27
|
overflow: {
|
|
26
28
|
type: String,
|
|
27
29
|
required: false
|
|
30
|
+
},
|
|
31
|
+
residual: {
|
|
32
|
+
type: Boolean,
|
|
33
|
+
required: false,
|
|
34
|
+
default: true
|
|
28
35
|
}
|
|
29
36
|
},
|
|
30
37
|
setup(__props) {
|
|
31
38
|
const props = __props;
|
|
32
39
|
const { state } = useTableContext();
|
|
33
40
|
const FilterField = useTableComponent("filterField", as_filter_field_default);
|
|
41
|
+
const ResidualFilter = useTableComponent("residualFilter", as_residual_filter_default);
|
|
34
42
|
const columnMap = computed(() => {
|
|
35
43
|
const tableDef = state.tableDef.value;
|
|
36
44
|
if (!tableDef) return /* @__PURE__ */ new Map();
|
|
@@ -81,7 +89,14 @@ var as_filters_default = /* @__PURE__ */ defineComponent({
|
|
|
81
89
|
column: col
|
|
82
90
|
}, { ref_for: true }, _ctx.$attrs), null, 16, ["column"]);
|
|
83
91
|
}), 128)),
|
|
84
|
-
|
|
92
|
+
props.residual ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(state).residualFilters.value, (expr, i) => {
|
|
93
|
+
return openBlock(), createBlock(resolveDynamicComponent(unref(ResidualFilter)), {
|
|
94
|
+
key: unref(filterExprKey)(expr),
|
|
95
|
+
expr,
|
|
96
|
+
index: i
|
|
97
|
+
}, null, 8, ["expr", "index"]);
|
|
98
|
+
}), 128)) : createCommentVNode("v-if", true),
|
|
99
|
+
(props.overflow ?? "popover") === "popover" && split.value.overflow.length > 0 ? (openBlock(), createBlock(unref(PopoverRoot), { key: 1 }, {
|
|
85
100
|
default: withCtx(() => [createVNode(unref(PopoverTrigger), {
|
|
86
101
|
class: "as-filters-overflow-trigger",
|
|
87
102
|
"aria-label": "More filters"
|
|
@@ -1,7 +1,9 @@
|
|
|
1
|
-
const require_use_table_state = require("./use-table-state-
|
|
2
|
-
const require_use_table_component = require("./use-table-component-
|
|
3
|
-
const require_as_filter_field = require("./as-filter-field-
|
|
1
|
+
const require_use_table_state = require("./use-table-state-pF_9gnTG.cjs");
|
|
2
|
+
const require_use_table_component = require("./use-table-component-XQ-Qt_sp.cjs");
|
|
3
|
+
const require_as_filter_field = require("./as-filter-field-pygBjA-K.cjs");
|
|
4
|
+
const require_as_residual_filter = require("./as-residual-filter-ihvXCtpH.cjs");
|
|
4
5
|
let vue = require("vue");
|
|
6
|
+
let _atscript_ui_table = require("@atscript/ui-table");
|
|
5
7
|
let reka_ui = require("reka-ui");
|
|
6
8
|
//#region src/components/as-filters.vue?vue&type=script&setup=true&lang.ts
|
|
7
9
|
const _hoisted_1 = {
|
|
@@ -25,12 +27,18 @@ var as_filters_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
25
27
|
overflow: {
|
|
26
28
|
type: String,
|
|
27
29
|
required: false
|
|
30
|
+
},
|
|
31
|
+
residual: {
|
|
32
|
+
type: Boolean,
|
|
33
|
+
required: false,
|
|
34
|
+
default: true
|
|
28
35
|
}
|
|
29
36
|
},
|
|
30
37
|
setup(__props) {
|
|
31
38
|
const props = __props;
|
|
32
39
|
const { state } = require_use_table_state.useTableContext();
|
|
33
40
|
const FilterField = require_use_table_component.useTableComponent("filterField", require_as_filter_field.as_filter_field_default);
|
|
41
|
+
const ResidualFilter = require_use_table_component.useTableComponent("residualFilter", require_as_residual_filter.as_residual_filter_default);
|
|
34
42
|
const columnMap = (0, vue.computed)(() => {
|
|
35
43
|
const tableDef = state.tableDef.value;
|
|
36
44
|
if (!tableDef) return /* @__PURE__ */ new Map();
|
|
@@ -81,7 +89,14 @@ var as_filters_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
81
89
|
column: col
|
|
82
90
|
}, { ref_for: true }, _ctx.$attrs), null, 16, ["column"]);
|
|
83
91
|
}), 128)),
|
|
84
|
-
|
|
92
|
+
props.residual ? ((0, vue.openBlock)(true), (0, vue.createElementBlock)(vue.Fragment, { key: 0 }, (0, vue.renderList)((0, vue.unref)(state).residualFilters.value, (expr, i) => {
|
|
93
|
+
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.resolveDynamicComponent)((0, vue.unref)(ResidualFilter)), {
|
|
94
|
+
key: (0, vue.unref)(_atscript_ui_table.filterExprKey)(expr),
|
|
95
|
+
expr,
|
|
96
|
+
index: i
|
|
97
|
+
}, null, 8, ["expr", "index"]);
|
|
98
|
+
}), 128)) : (0, vue.createCommentVNode)("v-if", true),
|
|
99
|
+
(props.overflow ?? "popover") === "popover" && split.value.overflow.length > 0 ? ((0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.PopoverRoot), { key: 1 }, {
|
|
85
100
|
default: (0, vue.withCtx)(() => [(0, vue.createVNode)((0, vue.unref)(reka_ui.PopoverTrigger), {
|
|
86
101
|
class: "as-filters-overflow-trigger",
|
|
87
102
|
"aria-label": "More filters"
|
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-BIoEsPD0.cjs");
|
|
2
2
|
module.exports = require_as_filters.as_filters_default;
|
package/dist/as-filters.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-filters.vue-
|
|
1
|
+
import { t as _default } from "./as-filters.vue-DMXZhQW3.cjs";
|
|
2
2
|
export = _default;
|
package/dist/as-filters.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-filters.vue-
|
|
1
|
+
import { t as _default } from "./as-filters.vue-BSgUEh4D.mjs";
|
|
2
2
|
export { _default as 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-BDzQ2SM_.mjs";
|
|
2
2
|
export { as_filters_default as default };
|
|
@@ -31,6 +31,16 @@ declare const __VLS_export: vue.DefineComponent<{
|
|
|
31
31
|
* @since 0.1.133
|
|
32
32
|
*/
|
|
33
33
|
overflow?: "popover" | "none";
|
|
34
|
+
/**
|
|
35
|
+
* Render the table's residual filter conditions (`state.residualFilters`)
|
|
36
|
+
* as "custom filter" chips after the fields. Default `true`. They always
|
|
37
|
+
* render inline — never moved into the overflow popover — because a hidden
|
|
38
|
+
* condition that narrows the table is exactly what they exist to show.
|
|
39
|
+
* Pass `false` to place them yourself (e.g. with `<AsResidualFilter>`).
|
|
40
|
+
*
|
|
41
|
+
* @since 0.1.140
|
|
42
|
+
*/
|
|
43
|
+
residual?: boolean;
|
|
34
44
|
}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{
|
|
35
45
|
filterFields?: string[];
|
|
36
46
|
/**
|
|
@@ -60,6 +70,18 @@ declare const __VLS_export: vue.DefineComponent<{
|
|
|
60
70
|
* @since 0.1.133
|
|
61
71
|
*/
|
|
62
72
|
overflow?: "popover" | "none";
|
|
63
|
-
|
|
73
|
+
/**
|
|
74
|
+
* Render the table's residual filter conditions (`state.residualFilters`)
|
|
75
|
+
* as "custom filter" chips after the fields. Default `true`. They always
|
|
76
|
+
* render inline — never moved into the overflow popover — because a hidden
|
|
77
|
+
* condition that narrows the table is exactly what they exist to show.
|
|
78
|
+
* Pass `false` to place them yourself (e.g. with `<AsResidualFilter>`).
|
|
79
|
+
*
|
|
80
|
+
* @since 0.1.140
|
|
81
|
+
*/
|
|
82
|
+
residual?: boolean;
|
|
83
|
+
}> & Readonly<{}>, {
|
|
84
|
+
residual: boolean;
|
|
85
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
64
86
|
//#endregion
|
|
65
87
|
export { _default as t };
|
|
@@ -31,6 +31,16 @@ declare const __VLS_export: vue.DefineComponent<{
|
|
|
31
31
|
* @since 0.1.133
|
|
32
32
|
*/
|
|
33
33
|
overflow?: "popover" | "none";
|
|
34
|
+
/**
|
|
35
|
+
* Render the table's residual filter conditions (`state.residualFilters`)
|
|
36
|
+
* as "custom filter" chips after the fields. Default `true`. They always
|
|
37
|
+
* render inline — never moved into the overflow popover — because a hidden
|
|
38
|
+
* condition that narrows the table is exactly what they exist to show.
|
|
39
|
+
* Pass `false` to place them yourself (e.g. with `<AsResidualFilter>`).
|
|
40
|
+
*
|
|
41
|
+
* @since 0.1.140
|
|
42
|
+
*/
|
|
43
|
+
residual?: boolean;
|
|
34
44
|
}, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<{
|
|
35
45
|
filterFields?: string[];
|
|
36
46
|
/**
|
|
@@ -60,6 +70,18 @@ declare const __VLS_export: vue.DefineComponent<{
|
|
|
60
70
|
* @since 0.1.133
|
|
61
71
|
*/
|
|
62
72
|
overflow?: "popover" | "none";
|
|
63
|
-
|
|
73
|
+
/**
|
|
74
|
+
* Render the table's residual filter conditions (`state.residualFilters`)
|
|
75
|
+
* as "custom filter" chips after the fields. Default `true`. They always
|
|
76
|
+
* render inline — never moved into the overflow popover — because a hidden
|
|
77
|
+
* condition that narrows the table is exactly what they exist to show.
|
|
78
|
+
* Pass `false` to place them yourself (e.g. with `<AsResidualFilter>`).
|
|
79
|
+
*
|
|
80
|
+
* @since 0.1.140
|
|
81
|
+
*/
|
|
82
|
+
residual?: boolean;
|
|
83
|
+
}> & Readonly<{}>, {
|
|
84
|
+
residual: boolean;
|
|
85
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
64
86
|
//#endregion
|
|
65
87
|
export { _default as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const require_use_table_state = require("./use-table-state-
|
|
1
|
+
const require_use_table_state = require("./use-table-state-pF_9gnTG.cjs");
|
|
2
2
|
const require_use_seed_on_open = require("./use-seed-on-open-Dg9I89fU.cjs");
|
|
3
|
-
const require_error_message = require("./error-message-
|
|
3
|
+
const require_error_message = require("./error-message-CfKpn_5w.cjs");
|
|
4
4
|
let vue = require("vue");
|
|
5
5
|
let _atscript_ui_table = require("@atscript/ui-table");
|
|
6
6
|
let reka_ui = require("reka-ui");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as useTableContext, d as ownerNameOf, f as readPresetLabel, l as ASPECT_ICONS, u as ASPECT_LABELS } from "./use-table-state-
|
|
1
|
+
import { a as useTableContext, d as ownerNameOf, f as readPresetLabel, l as ASPECT_ICONS, u as ASPECT_LABELS } from "./use-table-state-BzjbnpBA.mjs";
|
|
2
2
|
import { t as useSeedOnOpen } from "./use-seed-on-open-DO3A1kIb.mjs";
|
|
3
|
-
import { t as errorMessage } from "./error-message-
|
|
3
|
+
import { t as errorMessage } from "./error-message-gNEXnnbb.mjs";
|
|
4
4
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, isRef, nextTick, normalizeClass, openBlock, ref, renderList, toDisplayString, unref, vModelText, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
|
|
5
5
|
import { isSystemPresetId, setsEqual } from "@atscript/ui-table";
|
|
6
6
|
import { DialogClose, DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogRoot, DialogTitle } from "reka-ui";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_preset_dialog = require("./as-preset-dialog-
|
|
1
|
+
const require_as_preset_dialog = require("./as-preset-dialog-BgZB8xyk.cjs");
|
|
2
2
|
module.exports = require_as_preset_dialog.as_preset_dialog_default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-preset-dialog.vue-
|
|
1
|
+
import { t as _default } from "./as-preset-dialog.vue-ChM7H7B4.mjs";
|
|
2
2
|
export { _default as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_preset_dialog_default } from "./as-preset-dialog-
|
|
1
|
+
import { t as as_preset_dialog_default } from "./as-preset-dialog-D_w4cxKS.mjs";
|
|
2
2
|
export { as_preset_dialog_default as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as useTableContext, d as ownerNameOf, f as readPresetLabel, l as ASPECT_ICONS, u as ASPECT_LABELS } from "./use-table-state-
|
|
2
|
-
import { t as errorMessage } from "./error-message-
|
|
1
|
+
import { a as useTableContext, d as ownerNameOf, f as readPresetLabel, l as ASPECT_ICONS, u as ASPECT_LABELS } from "./use-table-state-BzjbnpBA.mjs";
|
|
2
|
+
import { t as errorMessage } from "./error-message-gNEXnnbb.mjs";
|
|
3
3
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, h, nextTick, normalizeClass, onScopeDispose, openBlock, ref, renderList, shallowRef, toDisplayString, unref, vModelCheckbox, vModelText, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
|
|
4
4
|
import { isSystemPresetId } from "@atscript/ui-table";
|
|
5
5
|
import { DropdownMenuContent, DropdownMenuItem, DropdownMenuPortal, DropdownMenuRoot, DropdownMenuSeparator, DropdownMenuTrigger } from "reka-ui";
|
|
@@ -33,9 +33,13 @@ const _hoisted_11 = { class: "as-preset-picker-popover-field" };
|
|
|
33
33
|
const _hoisted_12 = ["onKeydown"];
|
|
34
34
|
const _hoisted_13 = { class: "as-preset-picker-popover-aspects" };
|
|
35
35
|
const _hoisted_14 = ["checked", "onChange"];
|
|
36
|
-
const _hoisted_15 = {
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
const _hoisted_15 = {
|
|
37
|
+
key: 0,
|
|
38
|
+
class: "as-preset-picker-popover-note"
|
|
39
|
+
};
|
|
40
|
+
const _hoisted_16 = { class: "as-preset-picker-popover-public" };
|
|
41
|
+
const _hoisted_17 = { class: "as-preset-picker-popover-footer" };
|
|
42
|
+
const _hoisted_18 = ["disabled"];
|
|
39
43
|
//#endregion
|
|
40
44
|
//#region src/components/as-preset-picker.vue
|
|
41
45
|
var as_preset_picker_default = /* @__PURE__ */ defineComponent({
|
|
@@ -418,7 +422,8 @@ var as_preset_picker_default = /* @__PURE__ */ defineComponent({
|
|
|
418
422
|
createTextVNode(" " + toDisplayString(unref(ASPECT_LABELS)[a]), 1)
|
|
419
423
|
]);
|
|
420
424
|
}), 128))]),
|
|
421
|
-
unref(state).
|
|
425
|
+
unref(state).residualFilters.value.length > 0 ? (openBlock(), createElementBlock("p", _hoisted_15, " Custom filter conditions are not saved with presets. ")) : createCommentVNode("v-if", true),
|
|
426
|
+
unref(state).preset.capabilities.value === null || unref(state).preset.capabilities.value.canPublish ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [_cache[15] || (_cache[15] = createElementVNode("div", { class: "as-preset-picker-popover-separator" }, null, -1)), createElementVNode("label", _hoisted_16, [
|
|
422
427
|
withDirectives(createElementVNode("input", {
|
|
423
428
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => saveAsPublic.value = $event),
|
|
424
429
|
type: "checkbox"
|
|
@@ -431,7 +436,7 @@ var as_preset_picker_default = /* @__PURE__ */ defineComponent({
|
|
|
431
436
|
])], 64)) : createCommentVNode("v-if", true)
|
|
432
437
|
]),
|
|
433
438
|
createVNode(ErrorNote),
|
|
434
|
-
createElementVNode("div",
|
|
439
|
+
createElementVNode("div", _hoisted_17, [createElementVNode("button", {
|
|
435
440
|
type: "button",
|
|
436
441
|
class: "as-preset-picker-popover-cancel",
|
|
437
442
|
onClick: cancelSaveAs
|
|
@@ -440,7 +445,7 @@ var as_preset_picker_default = /* @__PURE__ */ defineComponent({
|
|
|
440
445
|
class: "as-preset-picker-popover-save",
|
|
441
446
|
disabled: !saveAsLabel.value.trim(),
|
|
442
447
|
onClick: commitSaveAs
|
|
443
|
-
}, " Save ", 8,
|
|
448
|
+
}, " Save ", 8, _hoisted_18)])
|
|
444
449
|
], 32)]),
|
|
445
450
|
_: 1
|
|
446
451
|
})], 2112))]),
|