@atscript/vue-table 0.1.112 → 0.1.114
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-C_-ndF6S.cjs → as-action-menu-content-C7n_dJx0.cjs} +63 -7
- package/dist/{as-action-menu-content-CVZJpVPG.mjs → as-action-menu-content-CWmWeQam.mjs} +63 -7
- package/dist/as-column-menu.d.cts +1 -1
- package/dist/as-column-menu.d.mts +1 -1
- package/dist/{as-column-menu.vue-BbdaVsNi.d.cts → as-column-menu.vue-DL5N9mKR.d.mts} +2 -2
- package/dist/{as-column-menu.vue-CwhbMgzZ.d.mts → as-column-menu.vue-u_DNy3f-.d.cts} +2 -2
- package/dist/{as-config-dialog-Dvnlubkp.mjs → as-config-dialog-0e-az0nn.mjs} +2 -2
- package/dist/{as-config-dialog-ulI6e9vX.cjs → as-config-dialog-B6MFmBRW.cjs} +2 -2
- package/dist/as-config-dialog.cjs +1 -1
- package/dist/as-config-dialog.mjs +1 -1
- package/dist/{as-confirm-dialog-B7SM0zxy.cjs → as-confirm-dialog-CYiLQUP-.cjs} +1 -1
- package/dist/{as-confirm-dialog-DLR2ejrF.mjs → as-confirm-dialog-DlZzfASO.mjs} +1 -1
- package/dist/as-confirm-dialog.cjs +1 -1
- package/dist/as-confirm-dialog.mjs +1 -1
- package/dist/{as-filter-dialog-CiIPgmt8.mjs → as-filter-dialog-Bole60UC.mjs} +7 -7
- package/dist/{as-filter-dialog-DfX7ahsa.cjs → as-filter-dialog-OiRuTYfh.cjs} +7 -7
- package/dist/as-filter-dialog.cjs +1 -1
- package/dist/as-filter-dialog.mjs +1 -1
- package/dist/{as-filter-field-D8kv8lOm.cjs → as-filter-field-iJbKFVSw.cjs} +3 -3
- package/dist/{as-filter-field-C3wmTg22.mjs → as-filter-field-xzcm2aGE.mjs} +3 -3
- package/dist/as-filter-field.cjs +1 -1
- package/dist/as-filter-field.mjs +1 -1
- package/dist/{as-filters-Dmn0ykIo.mjs → as-filters-CGRd9vX0.mjs} +3 -3
- package/dist/{as-filters-BhPQXswG.cjs → as-filters-DfkxKGNU.cjs} +3 -3
- package/dist/as-filters.cjs +1 -1
- package/dist/as-filters.mjs +1 -1
- package/dist/{as-preset-dialog-B3fC0Eqc.mjs → as-preset-dialog-BbnwfYzC.mjs} +1 -1
- package/dist/{as-preset-dialog-DYxEVZ7V.cjs → as-preset-dialog-D77Dg9ll.cjs} +1 -1
- package/dist/as-preset-dialog.cjs +1 -1
- package/dist/as-preset-dialog.mjs +1 -1
- package/dist/{as-preset-picker-B9hw2qc8.mjs → as-preset-picker-Bwr3kM4o.mjs} +1 -1
- package/dist/{as-preset-picker-PbSNiBDr.cjs → as-preset-picker-Divz_1ZG.cjs} +1 -1
- package/dist/as-preset-picker.cjs +1 -1
- package/dist/as-preset-picker.mjs +1 -1
- package/dist/{as-row-actions-C4mSAqeh.mjs → as-row-actions-CBVF6B2-.mjs} +55 -28
- package/dist/{as-row-actions-N30up8uG.cjs → as-row-actions-DC6-kpsJ.cjs} +54 -27
- package/dist/as-row-actions.cjs +1 -1
- package/dist/as-row-actions.mjs +1 -1
- package/dist/{as-table-DnUc3TB1.mjs → as-table-DQwYi63u.mjs} +2 -2
- package/dist/{as-table-3TbYx5tz.cjs → as-table-DaT2K-7n.cjs} +2 -2
- package/dist/{as-table-actions-CoN68w6P.cjs → as-table-actions-CEhZXH97.cjs} +48 -19
- package/dist/{as-table-actions-Ct3tEarY.mjs → as-table-actions-ChR9MGQt.mjs} +49 -20
- 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-62ZjZoIa.d.cts → as-table-actions.vue-DTGYOsZh.d.mts} +6 -6
- package/dist/{as-table-actions.vue-B2C_nC86.d.mts → as-table-actions.vue-WXkllHVw.d.cts} +6 -6
- package/dist/{as-table-base-CbxfXR2t.cjs → as-table-base-1uBBmFuL.cjs} +2 -2
- package/dist/{as-table-base-O9cMoTBL.mjs → as-table-base-DOvVedJg.mjs} +2 -2
- package/dist/{as-table-header-cell-D025cLjb.cjs → as-table-header-cell-DD6Tw87_.cjs} +1 -1
- package/dist/{as-table-header-cell-BlDhjZNp.mjs → as-table-header-cell-DfjfNeq4.mjs} +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-BjQUPdmH.d.cts → as-table-header-cell.vue-BCszzxtU.d.mts} +2 -2
- package/dist/{as-table-header-cell.vue-PEFiv40i.d.mts → as-table-header-cell.vue-BzTzfGRo.d.cts} +2 -2
- package/dist/{as-table-root-IzffHCVo.mjs → as-table-root-BSbO16CM.mjs} +9 -4
- package/dist/{as-table-root-CeypME9M.cjs → as-table-root-BnW1SL4W.cjs} +9 -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-D5Tp8U_d.d.cts → as-table-root.vue-DRv85M1N.d.cts} +26 -5
- package/dist/{as-table-root.vue-DtJBjtoC.d.mts → as-table-root.vue-TUauKr31.d.mts} +26 -5
- package/dist/{as-table-status-f4QmdAZ0.cjs → as-table-status-2eUIHBmk.cjs} +4 -4
- package/dist/{as-table-status-d3iUSOoH.mjs → as-table-status-Dy3rA0T-.mjs} +4 -4
- 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-53yyA7zP.d.cts → as-table.vue-D9cCjbtr.d.cts} +7 -7
- package/dist/{as-table.vue-CdSb4IUc.d.mts → as-table.vue-DxtfL26P.d.mts} +7 -7
- package/dist/{as-window-table-C3o72zaM.mjs → as-window-table-B9k_nv4c.mjs} +2 -2
- package/dist/{as-window-table-BzyV1iDL.cjs → as-window-table-iwpsLq0K.cjs} +2 -2
- 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-DU6UdjA3.d.cts → as-window-table.vue-BavmqDeH.d.cts} +6 -6
- package/dist/{as-window-table.vue-DQPjWA3T.d.mts → as-window-table.vue-BpvgmsC1.d.mts} +6 -6
- package/dist/index.cjs +17 -17
- package/dist/index.d.cts +7 -7
- package/dist/index.d.mts +7 -7
- package/dist/index.mjs +17 -17
- package/dist/{types-DAgdkjji.d.cts → types-ByU4O0Yf.d.mts} +10 -2
- package/dist/{types-iSundY5p.d.mts → types-CTMxE_zA.d.cts} +10 -2
- package/dist/{use-table-Dwl4JoZR.cjs → use-table-BWgcmQS7.cjs} +2 -1
- package/dist/{use-table-ClKUAYU4.mjs → use-table-DHN_frAf.mjs} +2 -1
- package/dist/{use-table-component-QIECHhdZ.mjs → use-table-component-Bu7CIG5I.mjs} +1 -1
- package/dist/{use-table-component-xSoXI7Jm.cjs → use-table-component-QDcfYIBU.cjs} +1 -1
- package/dist/{use-table-nav-bridge-Cs4R_6F2.cjs → use-table-nav-bridge-BlqeY53w.cjs} +1 -1
- package/dist/{use-table-nav-bridge-0WVZrMv9.mjs → use-table-nav-bridge-CVO5_ttZ.mjs} +1 -1
- package/dist/{use-table-state-CI8i5m7s.cjs → use-table-state-CElgF_iy.cjs} +95 -1
- package/dist/{use-table-state-kxv6_Biy.mjs → use-table-state-Dju5bxt8.mjs} +72 -2
- package/package.json +4 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_use_table_state = require("./use-table-state-
|
|
1
|
+
const require_use_table_state = require("./use-table-state-CElgF_iy.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 { a as useTableContext,
|
|
1
|
+
import { a as useTableContext, g as intentToScope } from "./use-table-state-Dju5bxt8.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
|
-
const require_use_table_state = require("./use-table-state-
|
|
1
|
+
const require_use_table_state = require("./use-table-state-CElgF_iy.cjs");
|
|
2
2
|
let vue = require("vue");
|
|
3
3
|
let reka_ui = require("reka-ui");
|
|
4
4
|
//#endregion
|
|
@@ -17,17 +17,63 @@ var as_action_menu_item_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
17
17
|
default: {
|
|
18
18
|
type: Boolean,
|
|
19
19
|
required: false
|
|
20
|
+
},
|
|
21
|
+
href: {
|
|
22
|
+
type: String,
|
|
23
|
+
required: false
|
|
20
24
|
}
|
|
21
25
|
},
|
|
22
|
-
emits: ["select"],
|
|
23
|
-
setup(__props) {
|
|
26
|
+
emits: ["select", "newtab"],
|
|
27
|
+
setup(__props, { emit: __emit }) {
|
|
24
28
|
const props = __props;
|
|
29
|
+
const emit = __emit;
|
|
30
|
+
const asLink = (0, vue.computed)(() => props.href !== void 0 && !props.action.promptText);
|
|
31
|
+
let pointer = null;
|
|
32
|
+
function onPointerdown(e) {
|
|
33
|
+
pointer = {
|
|
34
|
+
nonPlain: e.button !== 0 || e.ctrlKey || e.metaKey || e.shiftKey || e.altKey,
|
|
35
|
+
newTabChord: require_use_table_state.isModClick(e)
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Anchor mode: intercept ONLY plain left clicks (including the synthetic
|
|
40
|
+
* `click()` reka dispatches on keyboard select) so the SPA invoke path runs
|
|
41
|
+
* instead of a full page load. Modified clicks keep their native default
|
|
42
|
+
* (new tab / new window) — the browser owns them.
|
|
43
|
+
*/
|
|
44
|
+
function onClick(e) {
|
|
45
|
+
if (asLink.value && require_use_table_state.isPlainLeftClick(e)) e.preventDefault();
|
|
46
|
+
}
|
|
47
|
+
function onSelect(e) {
|
|
48
|
+
const p = pointer;
|
|
49
|
+
pointer = null;
|
|
50
|
+
if (p && props.href !== void 0) {
|
|
51
|
+
if (asLink.value && p.nonPlain) return;
|
|
52
|
+
if (!asLink.value && p.newTabChord) {
|
|
53
|
+
emit("newtab");
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
emit("select", e);
|
|
58
|
+
}
|
|
59
|
+
/** Middle click on a promptText navigate item → confirm → new tab. Anchor
|
|
60
|
+
* items skip this — the browser's native middle-click handles them. */
|
|
61
|
+
function onAuxclick(e) {
|
|
62
|
+
if (e.button !== 1 || props.href === void 0 || asLink.value) return;
|
|
63
|
+
e.preventDefault();
|
|
64
|
+
emit("newtab");
|
|
65
|
+
}
|
|
25
66
|
return (_ctx, _cache) => {
|
|
26
67
|
return (0, vue.openBlock)(), (0, vue.createBlock)((0, vue.unref)(reka_ui.DropdownMenuItem), {
|
|
68
|
+
as: asLink.value ? "a" : "div",
|
|
69
|
+
href: asLink.value ? __props.href : void 0,
|
|
27
70
|
class: (0, vue.normalizeClass)([`${__props.prefix}-menu-item`, (0, vue.unref)(require_use_table_state.intentClass)(__props.prefix, __props.action)]),
|
|
28
71
|
"data-default": props.default || void 0,
|
|
29
72
|
"aria-label": (0, vue.unref)(require_use_table_state.ariaLabelFor)(__props.action),
|
|
30
|
-
onSelect
|
|
73
|
+
onSelect,
|
|
74
|
+
onPointerdown,
|
|
75
|
+
onClick,
|
|
76
|
+
onAuxclick
|
|
31
77
|
}, {
|
|
32
78
|
default: (0, vue.withCtx)(() => [(0, vue.renderSlot)(_ctx.$slots, "default", { action: __props.action }, () => [__props.action.icon ? ((0, vue.openBlock)(), (0, vue.createElementBlock)("span", {
|
|
33
79
|
key: 0,
|
|
@@ -36,6 +82,8 @@ var as_action_menu_item_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
36
82
|
}, null, 2)) : (0, vue.createCommentVNode)("v-if", true), (0, vue.createElementVNode)("span", { class: (0, vue.normalizeClass)(`${__props.prefix}-menu-item-label`) }, (0, vue.toDisplayString)(__props.action.label || __props.action.name), 3)])]),
|
|
37
83
|
_: 3
|
|
38
84
|
}, 8, [
|
|
85
|
+
"as",
|
|
86
|
+
"href",
|
|
39
87
|
"class",
|
|
40
88
|
"data-default",
|
|
41
89
|
"aria-label"
|
|
@@ -59,9 +107,13 @@ var as_action_menu_content_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
59
107
|
prefix: {
|
|
60
108
|
type: String,
|
|
61
109
|
required: true
|
|
110
|
+
},
|
|
111
|
+
hrefFor: {
|
|
112
|
+
type: Function,
|
|
113
|
+
required: false
|
|
62
114
|
}
|
|
63
115
|
},
|
|
64
|
-
emits: ["select"],
|
|
116
|
+
emits: ["select", "newtab"],
|
|
65
117
|
setup(__props) {
|
|
66
118
|
const props = __props;
|
|
67
119
|
const slots = (0, vue.useSlots)();
|
|
@@ -82,7 +134,9 @@ var as_action_menu_content_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
82
134
|
action,
|
|
83
135
|
prefix: __props.prefix,
|
|
84
136
|
default: action === __props.defaultMarker,
|
|
85
|
-
|
|
137
|
+
href: __props.hrefFor?.(action),
|
|
138
|
+
onSelect: ($event) => _ctx.$emit("select", action, $event),
|
|
139
|
+
onNewtab: ($event) => _ctx.$emit("newtab", action)
|
|
86
140
|
}, (0, vue.createSlots)({ _: 2 }, [(0, vue.unref)(slots)["menu-item"] ? {
|
|
87
141
|
name: "default",
|
|
88
142
|
fn: (0, vue.withCtx)((slotProps) => [(0, vue.renderSlot)(_ctx.$slots, "menu-item", { action: slotProps.action })]),
|
|
@@ -91,7 +145,9 @@ var as_action_menu_content_default = /* @__PURE__ */ (0, vue.defineComponent)({
|
|
|
91
145
|
"action",
|
|
92
146
|
"prefix",
|
|
93
147
|
"default",
|
|
94
|
-
"
|
|
148
|
+
"href",
|
|
149
|
+
"onSelect",
|
|
150
|
+
"onNewtab"
|
|
95
151
|
]);
|
|
96
152
|
}), 128))], 64);
|
|
97
153
|
}), 128))]),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as isModClick, d as ariaLabelFor, h as intentClass, v as isPlainLeftClick } from "./use-table-state-Dju5bxt8.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
|
|
@@ -17,17 +17,63 @@ var as_action_menu_item_default = /* @__PURE__ */ defineComponent({
|
|
|
17
17
|
default: {
|
|
18
18
|
type: Boolean,
|
|
19
19
|
required: false
|
|
20
|
+
},
|
|
21
|
+
href: {
|
|
22
|
+
type: String,
|
|
23
|
+
required: false
|
|
20
24
|
}
|
|
21
25
|
},
|
|
22
|
-
emits: ["select"],
|
|
23
|
-
setup(__props) {
|
|
26
|
+
emits: ["select", "newtab"],
|
|
27
|
+
setup(__props, { emit: __emit }) {
|
|
24
28
|
const props = __props;
|
|
29
|
+
const emit = __emit;
|
|
30
|
+
const asLink = computed(() => props.href !== void 0 && !props.action.promptText);
|
|
31
|
+
let pointer = null;
|
|
32
|
+
function onPointerdown(e) {
|
|
33
|
+
pointer = {
|
|
34
|
+
nonPlain: e.button !== 0 || e.ctrlKey || e.metaKey || e.shiftKey || e.altKey,
|
|
35
|
+
newTabChord: isModClick(e)
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Anchor mode: intercept ONLY plain left clicks (including the synthetic
|
|
40
|
+
* `click()` reka dispatches on keyboard select) so the SPA invoke path runs
|
|
41
|
+
* instead of a full page load. Modified clicks keep their native default
|
|
42
|
+
* (new tab / new window) — the browser owns them.
|
|
43
|
+
*/
|
|
44
|
+
function onClick(e) {
|
|
45
|
+
if (asLink.value && isPlainLeftClick(e)) e.preventDefault();
|
|
46
|
+
}
|
|
47
|
+
function onSelect(e) {
|
|
48
|
+
const p = pointer;
|
|
49
|
+
pointer = null;
|
|
50
|
+
if (p && props.href !== void 0) {
|
|
51
|
+
if (asLink.value && p.nonPlain) return;
|
|
52
|
+
if (!asLink.value && p.newTabChord) {
|
|
53
|
+
emit("newtab");
|
|
54
|
+
return;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
emit("select", e);
|
|
58
|
+
}
|
|
59
|
+
/** Middle click on a promptText navigate item → confirm → new tab. Anchor
|
|
60
|
+
* items skip this — the browser's native middle-click handles them. */
|
|
61
|
+
function onAuxclick(e) {
|
|
62
|
+
if (e.button !== 1 || props.href === void 0 || asLink.value) return;
|
|
63
|
+
e.preventDefault();
|
|
64
|
+
emit("newtab");
|
|
65
|
+
}
|
|
25
66
|
return (_ctx, _cache) => {
|
|
26
67
|
return openBlock(), createBlock(unref(DropdownMenuItem), {
|
|
68
|
+
as: asLink.value ? "a" : "div",
|
|
69
|
+
href: asLink.value ? __props.href : void 0,
|
|
27
70
|
class: normalizeClass([`${__props.prefix}-menu-item`, unref(intentClass)(__props.prefix, __props.action)]),
|
|
28
71
|
"data-default": props.default || void 0,
|
|
29
72
|
"aria-label": unref(ariaLabelFor)(__props.action),
|
|
30
|
-
onSelect
|
|
73
|
+
onSelect,
|
|
74
|
+
onPointerdown,
|
|
75
|
+
onClick,
|
|
76
|
+
onAuxclick
|
|
31
77
|
}, {
|
|
32
78
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default", { action: __props.action }, () => [__props.action.icon ? (openBlock(), createElementBlock("span", {
|
|
33
79
|
key: 0,
|
|
@@ -36,6 +82,8 @@ var as_action_menu_item_default = /* @__PURE__ */ defineComponent({
|
|
|
36
82
|
}, null, 2)) : createCommentVNode("v-if", true), createElementVNode("span", { class: normalizeClass(`${__props.prefix}-menu-item-label`) }, toDisplayString(__props.action.label || __props.action.name), 3)])]),
|
|
37
83
|
_: 3
|
|
38
84
|
}, 8, [
|
|
85
|
+
"as",
|
|
86
|
+
"href",
|
|
39
87
|
"class",
|
|
40
88
|
"data-default",
|
|
41
89
|
"aria-label"
|
|
@@ -59,9 +107,13 @@ var as_action_menu_content_default = /* @__PURE__ */ defineComponent({
|
|
|
59
107
|
prefix: {
|
|
60
108
|
type: String,
|
|
61
109
|
required: true
|
|
110
|
+
},
|
|
111
|
+
hrefFor: {
|
|
112
|
+
type: Function,
|
|
113
|
+
required: false
|
|
62
114
|
}
|
|
63
115
|
},
|
|
64
|
-
emits: ["select"],
|
|
116
|
+
emits: ["select", "newtab"],
|
|
65
117
|
setup(__props) {
|
|
66
118
|
const props = __props;
|
|
67
119
|
const slots = useSlots();
|
|
@@ -82,7 +134,9 @@ var as_action_menu_content_default = /* @__PURE__ */ defineComponent({
|
|
|
82
134
|
action,
|
|
83
135
|
prefix: __props.prefix,
|
|
84
136
|
default: action === __props.defaultMarker,
|
|
85
|
-
|
|
137
|
+
href: __props.hrefFor?.(action),
|
|
138
|
+
onSelect: ($event) => _ctx.$emit("select", action, $event),
|
|
139
|
+
onNewtab: ($event) => _ctx.$emit("newtab", action)
|
|
86
140
|
}, createSlots({ _: 2 }, [unref(slots)["menu-item"] ? {
|
|
87
141
|
name: "default",
|
|
88
142
|
fn: withCtx((slotProps) => [renderSlot(_ctx.$slots, "menu-item", { action: slotProps.action })]),
|
|
@@ -91,7 +145,9 @@ var as_action_menu_content_default = /* @__PURE__ */ defineComponent({
|
|
|
91
145
|
"action",
|
|
92
146
|
"prefix",
|
|
93
147
|
"default",
|
|
94
|
-
"
|
|
148
|
+
"href",
|
|
149
|
+
"onSelect",
|
|
150
|
+
"onNewtab"
|
|
95
151
|
]);
|
|
96
152
|
}), 128))], 64);
|
|
97
153
|
}), 128))]),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _default } from "./as-column-menu.vue-
|
|
1
|
+
import { t as _default } from "./as-column-menu.vue-u_DNy3f-.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-DL5N9mKR.mjs";
|
|
2
2
|
export { _default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as ColumnMenuConfig } from "./types-
|
|
2
|
-
import * as vue from "vue";
|
|
1
|
+
import { n as ColumnMenuConfig } from "./types-ByU4O0Yf.mjs";
|
|
3
2
|
import { ColumnDef } from "@atscript/ui";
|
|
3
|
+
import * as vue from "vue";
|
|
4
4
|
import { ColumnWidthEntry, FilterCondition } from "@atscript/ui-table";
|
|
5
5
|
|
|
6
6
|
//#region src/components/defaults/as-column-menu.vue.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as ColumnMenuConfig } from "./types-
|
|
2
|
-
import { ColumnDef } from "@atscript/ui";
|
|
1
|
+
import { n as ColumnMenuConfig } from "./types-CTMxE_zA.cjs";
|
|
3
2
|
import * as vue from "vue";
|
|
3
|
+
import { ColumnDef } from "@atscript/ui";
|
|
4
4
|
import { ColumnWidthEntry, FilterCondition } from "@atscript/ui-table";
|
|
5
5
|
|
|
6
6
|
//#region src/components/defaults/as-column-menu.vue.d.ts
|
|
@@ -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-Dju5bxt8.mjs";
|
|
2
|
+
import { t as useTableComponent } from "./use-table-component-Bu7CIG5I.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, sortersEqual } 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-CElgF_iy.cjs");
|
|
2
|
+
const require_use_table_component = require("./use-table-component-QDcfYIBU.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,2 +1,2 @@
|
|
|
1
|
-
const require_as_config_dialog = require("./as-config-dialog-
|
|
1
|
+
const require_as_config_dialog = require("./as-config-dialog-B6MFmBRW.cjs");
|
|
2
2
|
module.exports = require_as_config_dialog.as_config_dialog_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-0e-az0nn.mjs";
|
|
2
2
|
export { as_config_dialog_default as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_use_table_state = require("./use-table-state-
|
|
1
|
+
const require_use_table_state = require("./use-table-state-CElgF_iy.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,4 +1,4 @@
|
|
|
1
|
-
import { a as useTableContext } from "./use-table-state-
|
|
1
|
+
import { a as useTableContext } from "./use-table-state-Dju5bxt8.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,2 +1,2 @@
|
|
|
1
|
-
const require_as_confirm_dialog = require("./as-confirm-dialog-
|
|
1
|
+
const require_as_confirm_dialog = require("./as-confirm-dialog-CYiLQUP-.cjs");
|
|
2
2
|
module.exports = require_as_confirm_dialog.as_confirm_dialog_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-DlZzfASO.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 { n 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-Dju5bxt8.mjs";
|
|
2
|
+
import { n as useTable } from "./use-table-DHN_frAf.mjs";
|
|
3
|
+
import { t as useTableNavBridge } from "./use-table-nav-bridge-CVO5_ttZ.mjs";
|
|
4
|
+
import { t as useTableComponent } from "./use-table-component-Bu7CIG5I.mjs";
|
|
5
|
+
import { n as useDialogTabKeyboard, t as as_config_dialog_default } from "./as-config-dialog-0e-az0nn.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-B9k_nv4c.mjs";
|
|
9
|
+
import { t as as_filters_default } from "./as-filters-CGRd9vX0.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 { columnFilterType, conditionLabel, conditionsForType, dateShortcuts, defaultCondition, filledFilterCount, formatFilterCondition, isFilled, isSimpleEq, sameColumnSet } from "@atscript/ui-table";
|
|
@@ -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-CElgF_iy.cjs");
|
|
2
|
+
const require_use_table = require("./use-table-BWgcmQS7.cjs");
|
|
3
|
+
const require_use_table_nav_bridge = require("./use-table-nav-bridge-BlqeY53w.cjs");
|
|
4
|
+
const require_use_table_component = require("./use-table-component-QDcfYIBU.cjs");
|
|
5
|
+
const require_as_config_dialog = require("./as-config-dialog-B6MFmBRW.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-iwpsLq0K.cjs");
|
|
9
|
+
const require_as_filters = require("./as-filters-DfkxKGNU.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");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_filter_dialog = require("./as-filter-dialog-
|
|
1
|
+
const require_as_filter_dialog = require("./as-filter-dialog-OiRuTYfh.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-Bole60UC.mjs";
|
|
2
2
|
export { as_filter_dialog_default as default };
|
|
@@ -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-CElgF_iy.cjs");
|
|
2
|
+
const require_use_table = require("./use-table-BWgcmQS7.cjs");
|
|
3
|
+
const require_as_table_base = require("./as-table-base-1uBBmFuL.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");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as useTableContext } from "./use-table-state-
|
|
2
|
-
import { n 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-Dju5bxt8.mjs";
|
|
2
|
+
import { n as useTable } from "./use-table-DHN_frAf.mjs";
|
|
3
|
+
import { t as as_table_base_default } from "./as-table-base-DOvVedJg.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, columnFilterType, debounce, formatFilterCondition, isFilled, isSimpleEq, parseFilterInput } from "@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-iJbKFVSw.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-xzcm2aGE.mjs";
|
|
2
2
|
export { as_filter_field_default as default };
|
|
@@ -1,6 +1,6 @@
|
|
|
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-Dju5bxt8.mjs";
|
|
2
|
+
import { t as useTableComponent } from "./use-table-component-Bu7CIG5I.mjs";
|
|
3
|
+
import { t as as_filter_field_default } from "./as-filter-field-xzcm2aGE.mjs";
|
|
4
4
|
import { Fragment, computed, createBlock, createElementBlock, defineComponent, mergeProps, openBlock, renderList, resolveDynamicComponent, unref } from "vue";
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/components/as-filters.vue
|
|
@@ -1,6 +1,6 @@
|
|
|
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-CElgF_iy.cjs");
|
|
2
|
+
const require_use_table_component = require("./use-table-component-QDcfYIBU.cjs");
|
|
3
|
+
const require_as_filter_field = require("./as-filter-field-iJbKFVSw.cjs");
|
|
4
4
|
let vue = require("vue");
|
|
5
5
|
//#endregion
|
|
6
6
|
//#region src/components/as-filters.vue
|
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-DfkxKGNU.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-CGRd9vX0.mjs";
|
|
2
2
|
export { as_filters_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-Dju5bxt8.mjs";
|
|
2
2
|
import { t as useSeedOnOpen } from "./use-seed-on-open-DO3A1kIb.mjs";
|
|
3
3
|
import { a as readPresetLabel, i as ownerNameOf, n as ASPECT_LABELS, r as aspectsOf, t as ASPECT_ICONS } from "./preset-aspect-display-IICxAlVo.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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_use_table_state = require("./use-table-state-
|
|
1
|
+
const require_use_table_state = require("./use-table-state-CElgF_iy.cjs");
|
|
2
2
|
const require_use_seed_on_open = require("./use-seed-on-open-Dg9I89fU.cjs");
|
|
3
3
|
const require_preset_aspect_display = require("./preset-aspect-display-TWwf6j1B.cjs");
|
|
4
4
|
let vue = require("vue");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_preset_dialog = require("./as-preset-dialog-
|
|
1
|
+
const require_as_preset_dialog = require("./as-preset-dialog-D77Dg9ll.cjs");
|
|
2
2
|
module.exports = require_as_preset_dialog.as_preset_dialog_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-BbnwfYzC.mjs";
|
|
2
2
|
export { as_preset_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-Dju5bxt8.mjs";
|
|
2
2
|
import { a as readPresetLabel, i as ownerNameOf, n as ASPECT_LABELS, r as aspectsOf, t as ASPECT_ICONS } from "./preset-aspect-display-IICxAlVo.mjs";
|
|
3
3
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, nextTick, normalizeClass, onScopeDispose, openBlock, ref, renderList, toDisplayString, unref, vModelCheckbox, vModelText, watch, withCtx, withDirectives, withKeys, withModifiers } from "vue";
|
|
4
4
|
import { isSystemPresetId } from "@atscript/ui-table";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_use_table_state = require("./use-table-state-
|
|
1
|
+
const require_use_table_state = require("./use-table-state-CElgF_iy.cjs");
|
|
2
2
|
const require_preset_aspect_display = require("./preset-aspect-display-TWwf6j1B.cjs");
|
|
3
3
|
let vue = require("vue");
|
|
4
4
|
let _atscript_ui_table = require("@atscript/ui-table");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const require_as_preset_picker = require("./as-preset-picker-
|
|
1
|
+
const require_as_preset_picker = require("./as-preset-picker-Divz_1ZG.cjs");
|
|
2
2
|
module.exports = require_as_preset_picker.as_preset_picker_default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as as_preset_picker_default } from "./as-preset-picker-
|
|
1
|
+
import { t as as_preset_picker_default } from "./as-preset-picker-Bwr3kM4o.mjs";
|
|
2
2
|
export { as_preset_picker_default as default };
|