@fewangsit/wangsvue-fats 1.0.0-alpha.62 → 1.0.0-alpha.63
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/components/dialog/Dialog.vue.d.ts +3 -3
- package/components/dialogform/DialogForm.vue.d.ts +2 -2
- package/package.json +1 -1
- package/stats.html +1 -1
- package/style.css +1 -1
- package/wangsvue-fats.js +267 -264
- package/wangsvue-fats.system.js +1 -1
package/wangsvue-fats.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { inject as ct, shallowRef as oe, ref as se, readonly as Ay, getCurrentInstance as Ro, onMounted as mt, nextTick as wt, watch as ze, mergeProps as C, reactive as Xt, computed as te, unref as x, isRef as ku, provide as ba, toValue as kt, onBeforeUnmount as Oi, watchEffect as Oc, shallowReactive as f6, createElementBlock as O, openBlock as g, renderSlot as Y, createTextVNode as lt, toDisplayString as ee, createElementVNode as E, resolveComponent as Ze, resolveDirective as Ht, withDirectives as nt, createBlock as I, createCommentVNode as N, normalizeClass as me, defineComponent as
|
|
1
|
+
import { inject as ct, shallowRef as oe, ref as se, readonly as Ay, getCurrentInstance as Ro, onMounted as mt, nextTick as wt, watch as ze, mergeProps as C, reactive as Xt, computed as te, unref as x, isRef as ku, provide as ba, toValue as kt, onBeforeUnmount as Oi, watchEffect as Oc, shallowReactive as f6, createElementBlock as O, openBlock as g, renderSlot as Y, createTextVNode as lt, toDisplayString as ee, createElementVNode as E, resolveComponent as Ze, resolveDirective as Ht, withDirectives as nt, createBlock as I, createCommentVNode as N, normalizeClass as me, defineComponent as Te, Fragment as le, withCtx as j, normalizeProps as Je, Teleport as Pp, createVNode as R, Transition as Jr, resolveDynamicComponent as ot, createSlots as hn, renderList as Ye, mergeModels as nn, useModel as mi, guardReactiveProps as ht, withModifiers as At, onUnmounted as gl, vShow as En, h as fr, normalizeStyle as sr, useSlots as Tc, TransitionGroup as p6, onBeforeMount as wy, withKeys as an, toHandlers as ts, vModelText as Sy, markRaw as Cy, render as bm, customRef as h6 } from "vue";
|
|
2
2
|
import { navigateToUrl as Lp } from "single-spa";
|
|
3
3
|
import { I18nService as m6, AssetServices as g6, getImageURL as mf, TAGServices as v6, AssetNameServices as Am, GroupCategoryServicesGo as y6, GroupCategoryServices as b6 } from "@tagsamurai/fats-api-services";
|
|
4
4
|
import A6, { AxiosError as w6 } from "axios";
|
|
@@ -7148,7 +7148,7 @@ function x7(t, e, n, i, r, o) {
|
|
|
7148
7148
|
})], 16, T7)), [[l]]);
|
|
7149
7149
|
}
|
|
7150
7150
|
Lr.render = x7;
|
|
7151
|
-
const yb = (t) => t ? Array.isArray(t) ? t : [t] : [], De = /* @__PURE__ */
|
|
7151
|
+
const yb = (t) => t ? Array.isArray(t) ? t : [t] : [], De = /* @__PURE__ */ Te({
|
|
7152
7152
|
__name: "Icon",
|
|
7153
7153
|
props: {
|
|
7154
7154
|
icon: {},
|
|
@@ -7225,7 +7225,7 @@ const yb = (t) => t ? Array.isArray(t) ? t : [t] : [], De = /* @__PURE__ */ Oe({
|
|
|
7225
7225
|
], 64);
|
|
7226
7226
|
};
|
|
7227
7227
|
}
|
|
7228
|
-
}), Ue = /* @__PURE__ */
|
|
7228
|
+
}), Ue = /* @__PURE__ */ Te({
|
|
7229
7229
|
__name: "Button",
|
|
7230
7230
|
props: {
|
|
7231
7231
|
style: {},
|
|
@@ -7340,7 +7340,7 @@ const yb = (t) => t ? Array.isArray(t) ? t : [t] : [], De = /* @__PURE__ */ Oe({
|
|
|
7340
7340
|
}), M7 = ["contenteditable"], E7 = {
|
|
7341
7341
|
key: 1,
|
|
7342
7342
|
"aria-label": "invalid-label"
|
|
7343
|
-
}, Sn = /* @__PURE__ */
|
|
7343
|
+
}, Sn = /* @__PURE__ */ Te({
|
|
7344
7344
|
__name: "Badge",
|
|
7345
7345
|
props: {
|
|
7346
7346
|
label: {},
|
|
@@ -8178,7 +8178,7 @@ function n8(t, e, n, i, r, o) {
|
|
|
8178
8178
|
}, 8, ["appendTo"]);
|
|
8179
8179
|
}
|
|
8180
8180
|
Al.render = n8;
|
|
8181
|
-
const Yr = /* @__PURE__ */
|
|
8181
|
+
const Yr = /* @__PURE__ */ Te({
|
|
8182
8182
|
__name: "Dialog",
|
|
8183
8183
|
props: {
|
|
8184
8184
|
header: { default: void 0 },
|
|
@@ -8302,7 +8302,7 @@ const Yr = /* @__PURE__ */ Oe({
|
|
|
8302
8302
|
}, h8 = {
|
|
8303
8303
|
key: 1,
|
|
8304
8304
|
class: "flex gap-1 justify-end items-center"
|
|
8305
|
-
}, m8 = { class: "text-general-800 font-normal text-xs" }, HQ = /* @__PURE__ */
|
|
8305
|
+
}, m8 = { class: "text-general-800 font-normal text-xs" }, HQ = /* @__PURE__ */ Te({
|
|
8306
8306
|
__name: "ApproverInfo",
|
|
8307
8307
|
props: {
|
|
8308
8308
|
approvals: {},
|
|
@@ -8411,7 +8411,7 @@ const Yr = /* @__PURE__ */ Oe({
|
|
|
8411
8411
|
], 64);
|
|
8412
8412
|
};
|
|
8413
8413
|
}
|
|
8414
|
-
}), g8 = { key: 0 }, $Q = /* @__PURE__ */
|
|
8414
|
+
}), g8 = { key: 0 }, $Q = /* @__PURE__ */ Te({
|
|
8415
8415
|
__name: "BadgeGroup",
|
|
8416
8416
|
props: {
|
|
8417
8417
|
labels: {},
|
|
@@ -8471,7 +8471,7 @@ const Yr = /* @__PURE__ */ Oe({
|
|
|
8471
8471
|
}, 8, ["visible", "header", "pt"])) : N("", !0)
|
|
8472
8472
|
], 16)) : (g(), O("span", g8, " - "));
|
|
8473
8473
|
}
|
|
8474
|
-
}), v8 = ["data-p-disabled", "data-p-highlight"], y8 = ["id", "aria-invalid", "aria-label", "aria-labelledby", "checked", "disabled", "input-id", "name", "readonly", "required", "tabindex", "value"], go = /* @__PURE__ */
|
|
8474
|
+
}), v8 = ["data-p-disabled", "data-p-highlight"], y8 = ["id", "aria-invalid", "aria-label", "aria-labelledby", "checked", "disabled", "input-id", "name", "readonly", "required", "tabindex", "value"], go = /* @__PURE__ */ Te({
|
|
8475
8475
|
__name: "Checkbox",
|
|
8476
8476
|
props: /* @__PURE__ */ nn({
|
|
8477
8477
|
value: {},
|
|
@@ -9130,7 +9130,7 @@ const Sb = (t, e) => {
|
|
|
9130
9130
|
disabled: !0
|
|
9131
9131
|
}, i = t.filter((r) => r.visible !== !1);
|
|
9132
9132
|
return i.length ? i : [n];
|
|
9133
|
-
}, D8 = ["href", "onClick"], R8 = ["href", "target"], Cb = /* @__PURE__ */
|
|
9133
|
+
}, D8 = ["href", "onClick"], R8 = ["href", "target"], Cb = /* @__PURE__ */ Te({
|
|
9134
9134
|
__name: "MenuItem",
|
|
9135
9135
|
props: {
|
|
9136
9136
|
item: {},
|
|
@@ -9189,7 +9189,7 @@ const Sb = (t, e) => {
|
|
|
9189
9189
|
], 16));
|
|
9190
9190
|
};
|
|
9191
9191
|
}
|
|
9192
|
-
}), Xp = /* @__PURE__ */
|
|
9192
|
+
}), Xp = /* @__PURE__ */ Te({
|
|
9193
9193
|
__name: "Menu",
|
|
9194
9194
|
props: {
|
|
9195
9195
|
model: { default: () => [] },
|
|
@@ -9257,7 +9257,7 @@ const Sb = (t, e) => {
|
|
|
9257
9257
|
class: "flex items-center justify-start gap-2 px-4 py-1.5 hover:bg-surface-50 text-xs no-underline overflow-hidden cursor-pointer select-none",
|
|
9258
9258
|
"data-pc-section": "action",
|
|
9259
9259
|
tabindex: "-1"
|
|
9260
|
-
}, F8 = /* @__PURE__ */
|
|
9260
|
+
}, F8 = /* @__PURE__ */ Te({
|
|
9261
9261
|
__name: "TreeNode",
|
|
9262
9262
|
props: {
|
|
9263
9263
|
node: {},
|
|
@@ -9750,7 +9750,7 @@ const Sb = (t, e) => {
|
|
|
9750
9750
|
], 64);
|
|
9751
9751
|
};
|
|
9752
9752
|
}
|
|
9753
|
-
}), H8 = ["id"], $8 = ["aria-label", "aria-labelledby"], j8 = /* @__PURE__ */
|
|
9753
|
+
}), H8 = ["id"], $8 = ["aria-label", "aria-labelledby"], j8 = /* @__PURE__ */ Te({
|
|
9754
9754
|
inheritAttrs: !1,
|
|
9755
9755
|
__name: "BaseTree",
|
|
9756
9756
|
props: {
|
|
@@ -9911,7 +9911,7 @@ const Sb = (t, e) => {
|
|
|
9911
9911
|
], 16, H8);
|
|
9912
9912
|
};
|
|
9913
9913
|
}
|
|
9914
|
-
}), K8 = ["href", "title", "onClick"], U8 = ["textContent"], jQ = /* @__PURE__ */
|
|
9914
|
+
}), K8 = ["href", "title", "onClick"], U8 = ["textContent"], jQ = /* @__PURE__ */ Te({
|
|
9915
9915
|
__name: "Breadcrumb",
|
|
9916
9916
|
props: {
|
|
9917
9917
|
menus: {}
|
|
@@ -12057,7 +12057,7 @@ function Ek(t, e, n, i, r, o) {
|
|
|
12057
12057
|
}, 8, ["appendTo"])], 16, Sk);
|
|
12058
12058
|
}
|
|
12059
12059
|
mr.render = Ek;
|
|
12060
|
-
const KQ = /* @__PURE__ */
|
|
12060
|
+
const KQ = /* @__PURE__ */ Te({
|
|
12061
12061
|
__name: "ButtonBulkAction",
|
|
12062
12062
|
props: {
|
|
12063
12063
|
disabled: { type: Boolean },
|
|
@@ -12223,7 +12223,7 @@ const KQ = /* @__PURE__ */ Oe({
|
|
|
12223
12223
|
]);
|
|
12224
12224
|
};
|
|
12225
12225
|
}
|
|
12226
|
-
}), UQ = /* @__PURE__ */
|
|
12226
|
+
}), UQ = /* @__PURE__ */ Te({
|
|
12227
12227
|
__name: "ButtonCopy",
|
|
12228
12228
|
props: {
|
|
12229
12229
|
text: {}
|
|
@@ -12279,7 +12279,7 @@ const KQ = /* @__PURE__ */ Oe({
|
|
|
12279
12279
|
}, Pk = {
|
|
12280
12280
|
key: 0,
|
|
12281
12281
|
class: "inherit text-xs"
|
|
12282
|
-
}, WQ = /* @__PURE__ */
|
|
12282
|
+
}, WQ = /* @__PURE__ */ Te({
|
|
12283
12283
|
__name: "ButtonDownload",
|
|
12284
12284
|
props: {
|
|
12285
12285
|
fileName: {},
|
|
@@ -12329,7 +12329,7 @@ const KQ = /* @__PURE__ */ Oe({
|
|
|
12329
12329
|
a.label ? (g(), O("span", Pk, ee(a.label), 1)) : N("", !0)
|
|
12330
12330
|
], 16));
|
|
12331
12331
|
}
|
|
12332
|
-
}), Mb = /* @__PURE__ */
|
|
12332
|
+
}), Mb = /* @__PURE__ */ Te({
|
|
12333
12333
|
__name: "ButtonFilter",
|
|
12334
12334
|
props: {
|
|
12335
12335
|
tableName: { default: "datatable" }
|
|
@@ -12353,7 +12353,7 @@ const KQ = /* @__PURE__ */ Oe({
|
|
|
12353
12353
|
}), Lk = (t, e) => {
|
|
12354
12354
|
const { attrs: n, slots: i } = e || {};
|
|
12355
12355
|
return t.label ? fr("label", n, i.default()) : i.default();
|
|
12356
|
-
}, Dk = ["id", "aria-invalid", "checked", "disabled", "name", "readonly", "tabindex", "value"], Rk = /* @__PURE__ */
|
|
12356
|
+
}, Dk = ["id", "aria-invalid", "checked", "disabled", "name", "readonly", "tabindex", "value"], Rk = /* @__PURE__ */ Te({
|
|
12357
12357
|
inheritAttrs: !1,
|
|
12358
12358
|
__name: "ButtonRadio",
|
|
12359
12359
|
props: {
|
|
@@ -12494,7 +12494,7 @@ const Lb = () => window.devices ?? [], Hk = () => window.device ?? { RFID: null,
|
|
|
12494
12494
|
setDevice: e,
|
|
12495
12495
|
loadDevices: n
|
|
12496
12496
|
};
|
|
12497
|
-
}, Pc = /* @__PURE__ */
|
|
12497
|
+
}, Pc = /* @__PURE__ */ Te({
|
|
12498
12498
|
__name: "DialogConfirm",
|
|
12499
12499
|
props: {
|
|
12500
12500
|
header: {},
|
|
@@ -12650,7 +12650,7 @@ function Uk(t, e, n, i, r, o) {
|
|
|
12650
12650
|
}, t.ptmi("root")), [Y(t.$slots, "default")], 16);
|
|
12651
12651
|
}
|
|
12652
12652
|
xo.render = Uk;
|
|
12653
|
-
const Rb = (t) => t != null && t.length ? typeof (t == null ? void 0 : t[0]) == "string" ? t : t == null ? void 0 : t.filter((e) => e.visible !== !1) : [], Fn = /* @__PURE__ */
|
|
12653
|
+
const Rb = (t) => t != null && t.length ? typeof (t == null ? void 0 : t[0]) == "string" ? t : t == null ? void 0 : t.filter((e) => e.visible !== !1) : [], Fn = /* @__PURE__ */ Te({
|
|
12654
12654
|
__name: "FieldWrapper",
|
|
12655
12655
|
props: {
|
|
12656
12656
|
label: {},
|
|
@@ -12706,7 +12706,7 @@ function qk(t, e, n, i, r, o) {
|
|
|
12706
12706
|
}, t.ptmi("root")), [Y(t.$slots, "default")], 16);
|
|
12707
12707
|
}
|
|
12708
12708
|
Bb.render = qk;
|
|
12709
|
-
const qr = /* @__PURE__ */
|
|
12709
|
+
const qr = /* @__PURE__ */ Te({
|
|
12710
12710
|
__name: "InputGroup",
|
|
12711
12711
|
props: {
|
|
12712
12712
|
pt: {},
|
|
@@ -12731,7 +12731,7 @@ const qr = /* @__PURE__ */ Oe({
|
|
|
12731
12731
|
_: 3
|
|
12732
12732
|
}, 16)) : Y(i.$slots, "default", { key: 1 });
|
|
12733
12733
|
}
|
|
12734
|
-
}), gn = /* @__PURE__ */
|
|
12734
|
+
}), gn = /* @__PURE__ */ Te({
|
|
12735
12735
|
__name: "ValidatorMessage",
|
|
12736
12736
|
props: {
|
|
12737
12737
|
message: {}
|
|
@@ -12745,7 +12745,7 @@ const qr = /* @__PURE__ */ Oe({
|
|
|
12745
12745
|
]);
|
|
12746
12746
|
};
|
|
12747
12747
|
}
|
|
12748
|
-
}), Pu = /* @__PURE__ */
|
|
12748
|
+
}), Pu = /* @__PURE__ */ Te({
|
|
12749
12749
|
__name: "Dropdown",
|
|
12750
12750
|
props: {
|
|
12751
12751
|
modelValue: { type: [String, Number, Boolean, Object], default: void 0 },
|
|
@@ -12967,7 +12967,7 @@ const qr = /* @__PURE__ */ Oe({
|
|
|
12967
12967
|
key: 0,
|
|
12968
12968
|
class: "flex flex-col gap-3 overflow-auto max-h-[71px]",
|
|
12969
12969
|
"data-wv-section": "list"
|
|
12970
|
-
}, eO = /* @__PURE__ */
|
|
12970
|
+
}, eO = /* @__PURE__ */ Te({
|
|
12971
12971
|
__name: "InlineMessage",
|
|
12972
12972
|
props: {
|
|
12973
12973
|
severity: { default: "secondary" },
|
|
@@ -13043,7 +13043,7 @@ const qr = /* @__PURE__ */ Oe({
|
|
|
13043
13043
|
])) : N("", !0)
|
|
13044
13044
|
], 16)) : N("", !0);
|
|
13045
13045
|
}
|
|
13046
|
-
}), Nb = /* @__PURE__ */
|
|
13046
|
+
}), Nb = /* @__PURE__ */ Te({
|
|
13047
13047
|
__name: "HardwareSync",
|
|
13048
13048
|
props: {
|
|
13049
13049
|
visible: { type: Boolean },
|
|
@@ -13833,7 +13833,7 @@ function LO(t, e, n, i, r, o) {
|
|
|
13833
13833
|
});
|
|
13834
13834
|
}
|
|
13835
13835
|
zb.render = LO;
|
|
13836
|
-
const mu = /* @__PURE__ */
|
|
13836
|
+
const mu = /* @__PURE__ */ Te({
|
|
13837
13837
|
__name: "Toast",
|
|
13838
13838
|
props: {
|
|
13839
13839
|
group: { default: "default-toast" },
|
|
@@ -13902,7 +13902,7 @@ const mu = /* @__PURE__ */ Oe({
|
|
|
13902
13902
|
}), DO = { class: "flex gap-2 items-center" }, RO = { class: "flex gap-0.5 items-center leading-4" }, BO = { class: "flex gap-5 items-center" }, NO = /* @__PURE__ */ E("span", null, "do not leave this page", -1), VO = {
|
|
13903
13903
|
key: 1,
|
|
13904
13904
|
class: "text-xs font-medium leading-[16.39px] tracking-[0.02em]"
|
|
13905
|
-
}, jg = /* @__PURE__ */
|
|
13905
|
+
}, jg = /* @__PURE__ */ Te({
|
|
13906
13906
|
__name: "ButtonScan",
|
|
13907
13907
|
props: {
|
|
13908
13908
|
label: {},
|
|
@@ -14539,7 +14539,7 @@ function KO(t, e, n, i, r, o) {
|
|
|
14539
14539
|
}, 8, ["appendTo"]);
|
|
14540
14540
|
}
|
|
14541
14541
|
Jp.render = KO;
|
|
14542
|
-
const Lc = /* @__PURE__ */
|
|
14542
|
+
const Lc = /* @__PURE__ */ Te({
|
|
14543
14543
|
__name: "OverlayPanel",
|
|
14544
14544
|
props: {
|
|
14545
14545
|
dismissable: { type: Boolean, default: !0 },
|
|
@@ -14581,7 +14581,7 @@ const Lc = /* @__PURE__ */ Oe({
|
|
|
14581
14581
|
_: 3
|
|
14582
14582
|
}, 16));
|
|
14583
14583
|
}
|
|
14584
|
-
}), UO = { class: "hidden" }, WO = { class: "flex gap-1 justify-center p-2" }, XQ = /* @__PURE__ */
|
|
14584
|
+
}), UO = { class: "hidden" }, WO = { class: "flex gap-1 justify-center p-2" }, XQ = /* @__PURE__ */ Te({
|
|
14585
14585
|
__name: "ButtonSearchByScan",
|
|
14586
14586
|
props: {
|
|
14587
14587
|
label: { default: "Search by Scan" },
|
|
@@ -14732,7 +14732,7 @@ function JO(t, e, n, i, r, o) {
|
|
|
14732
14732
|
}, o.getPTOptions("root")), null, 16, GO);
|
|
14733
14733
|
}
|
|
14734
14734
|
zo.render = JO;
|
|
14735
|
-
const Fb = /* @__PURE__ */
|
|
14735
|
+
const Fb = /* @__PURE__ */ Te({
|
|
14736
14736
|
__name: "ButtonSearch",
|
|
14737
14737
|
props: {
|
|
14738
14738
|
tableName: { default: "datatable" }
|
|
@@ -14793,7 +14793,7 @@ const Fb = /* @__PURE__ */ Oe({
|
|
|
14793
14793
|
], 16));
|
|
14794
14794
|
};
|
|
14795
14795
|
}
|
|
14796
|
-
}), YO = /* @__PURE__ */
|
|
14796
|
+
}), YO = /* @__PURE__ */ Te({
|
|
14797
14797
|
__name: "Tree",
|
|
14798
14798
|
props: {
|
|
14799
14799
|
filter: {},
|
|
@@ -15050,7 +15050,7 @@ const Fb = /* @__PURE__ */ Oe({
|
|
|
15050
15050
|
"rounded ring-1 ring-inset ring-offset-0 ring-general-500 dark:ring-general-500"
|
|
15051
15051
|
]),
|
|
15052
15052
|
"data-wv-name": "tree-search-input"
|
|
15053
|
-
}, QO = /* @__PURE__ */
|
|
15053
|
+
}, QO = /* @__PURE__ */ Te({
|
|
15054
15054
|
__name: "TreeSearchInput",
|
|
15055
15055
|
props: {
|
|
15056
15056
|
modelValue: {}
|
|
@@ -15103,7 +15103,7 @@ const Fb = /* @__PURE__ */ Oe({
|
|
|
15103
15103
|
}, nT = {
|
|
15104
15104
|
class: "flex gap-1 items-center justify-end",
|
|
15105
15105
|
"data-wv-section": "footer-button"
|
|
15106
|
-
}, iT = /* @__PURE__ */
|
|
15106
|
+
}, iT = /* @__PURE__ */ Te({
|
|
15107
15107
|
__name: "DialogSelectTree",
|
|
15108
15108
|
props: /* @__PURE__ */ nn({
|
|
15109
15109
|
fetchTree: {},
|
|
@@ -15353,7 +15353,7 @@ const Fb = /* @__PURE__ */ Oe({
|
|
|
15353
15353
|
}), rT = {
|
|
15354
15354
|
key: 0,
|
|
15355
15355
|
class: "inline-flex gap-1 items-center"
|
|
15356
|
-
}, oT = /* @__PURE__ */
|
|
15356
|
+
}, oT = /* @__PURE__ */ Te({
|
|
15357
15357
|
__name: "ButtonSelectTree",
|
|
15358
15358
|
props: {
|
|
15359
15359
|
type: {},
|
|
@@ -15556,7 +15556,7 @@ const Fb = /* @__PURE__ */ Oe({
|
|
|
15556
15556
|
]), 1032, ["visible", "allow-empty-selection", "auto-select-all", "disable-keys", "disable-node-all", "exact-disable-key", "exact-disable-keys", "excluded-keys", "fetch-tree", "flatten-disposable-node", "header", "hidden", "keys", "params", "readonly", "selection-mode", "show-disposable-groups", "type"]))
|
|
15557
15557
|
], 64));
|
|
15558
15558
|
}
|
|
15559
|
-
}), ZQ = /* @__PURE__ */
|
|
15559
|
+
}), ZQ = /* @__PURE__ */ Te({
|
|
15560
15560
|
__name: "ButtonSync",
|
|
15561
15561
|
props: {
|
|
15562
15562
|
withoutScanBtn: { type: Boolean }
|
|
@@ -15578,7 +15578,7 @@ const Fb = /* @__PURE__ */ Oe({
|
|
|
15578
15578
|
}, null, 8, ["visible", "without-scan-btn"])
|
|
15579
15579
|
], 64));
|
|
15580
15580
|
}
|
|
15581
|
-
}), sT = ["data-p-disabled", "data-p-highlight"], aT = ["id", "aria-checked", "aria-invalid", "aria-label", "aria-labelledby", "checked", "disabled", "readonly", "tabindex"], Hb = /* @__PURE__ */
|
|
15581
|
+
}), sT = ["data-p-disabled", "data-p-highlight"], aT = ["id", "aria-checked", "aria-invalid", "aria-label", "aria-labelledby", "checked", "disabled", "readonly", "tabindex"], Hb = /* @__PURE__ */ Te({
|
|
15582
15582
|
__name: "ToggleSwitch",
|
|
15583
15583
|
props: {
|
|
15584
15584
|
triState: { type: Boolean, default: !1 },
|
|
@@ -15662,7 +15662,7 @@ const Fb = /* @__PURE__ */ Oe({
|
|
|
15662
15662
|
_: 1
|
|
15663
15663
|
}, 16));
|
|
15664
15664
|
}
|
|
15665
|
-
}), qQ = /* @__PURE__ */
|
|
15665
|
+
}), qQ = /* @__PURE__ */ Te({
|
|
15666
15666
|
__name: "ButtonToggle",
|
|
15667
15667
|
setup(t) {
|
|
15668
15668
|
return (e, n) => (g(), I(Hb));
|
|
@@ -16048,7 +16048,7 @@ const kT = ["id"], OT = ["id", "aria-invalid", "disabled", "placeholder", "value
|
|
|
16048
16048
|
key: 1,
|
|
16049
16049
|
class: "w-full flex items-center justify-end gap-1",
|
|
16050
16050
|
"data-wv-section": "calendarbuttons"
|
|
16051
|
-
}, $T = /* @__PURE__ */
|
|
16051
|
+
}, $T = /* @__PURE__ */ Te({
|
|
16052
16052
|
__name: "BaseCalendar",
|
|
16053
16053
|
props: {
|
|
16054
16054
|
modelValue: {},
|
|
@@ -16896,7 +16896,7 @@ const kT = ["id"], OT = ["id", "aria-invalid", "disabled", "placeholder", "value
|
|
|
16896
16896
|
_: 3
|
|
16897
16897
|
}, 8, ["info", "label", "mandatory", "show-optional-text"]));
|
|
16898
16898
|
}
|
|
16899
|
-
}), jT = /* @__PURE__ */
|
|
16899
|
+
}), jT = /* @__PURE__ */ Te({
|
|
16900
16900
|
__name: "Calendar",
|
|
16901
16901
|
props: {
|
|
16902
16902
|
modelValue: {},
|
|
@@ -17051,7 +17051,7 @@ function XT(t, e, n, i, r, o) {
|
|
|
17051
17051
|
}, t.ptm("footer")), [Y(t.$slots, "footer")], 16)) : N("", !0)], 16)], 16);
|
|
17052
17052
|
}
|
|
17053
17053
|
Kb.render = XT;
|
|
17054
|
-
const GQ = /* @__PURE__ */
|
|
17054
|
+
const GQ = /* @__PURE__ */ Te({
|
|
17055
17055
|
__name: "Card",
|
|
17056
17056
|
setup(t) {
|
|
17057
17057
|
return (e, n) => (g(), I(x(Kb), null, hn({ _: 2 }, [
|
|
@@ -17594,7 +17594,7 @@ function eM(t) {
|
|
|
17594
17594
|
])
|
|
17595
17595
|
]);
|
|
17596
17596
|
}
|
|
17597
|
-
var tM =
|
|
17597
|
+
var tM = Te((Hs = {
|
|
17598
17598
|
name: "simplebar-vue",
|
|
17599
17599
|
props: {
|
|
17600
17600
|
/**
|
|
@@ -19703,7 +19703,7 @@ const rE = (t, e, n) => {
|
|
|
19703
19703
|
)
|
|
19704
19704
|
);
|
|
19705
19705
|
});
|
|
19706
|
-
}, qs = /* @__PURE__ */
|
|
19706
|
+
}, qs = /* @__PURE__ */ Te({
|
|
19707
19707
|
__name: "Animation",
|
|
19708
19708
|
props: {
|
|
19709
19709
|
animation: {},
|
|
@@ -19788,7 +19788,7 @@ async function aE(t, e) {
|
|
|
19788
19788
|
};
|
|
19789
19789
|
}).filter((r) => !!r) : e;
|
|
19790
19790
|
}
|
|
19791
|
-
const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart"], ev = /* @__PURE__ */
|
|
19791
|
+
const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart"], ev = /* @__PURE__ */ Te({
|
|
19792
19792
|
__name: "ColumnList",
|
|
19793
19793
|
props: /* @__PURE__ */ nn({
|
|
19794
19794
|
tableId: {},
|
|
@@ -19938,7 +19938,7 @@ const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
19938
19938
|
}), 256))
|
|
19939
19939
|
]));
|
|
19940
19940
|
}
|
|
19941
|
-
}), uE = /* @__PURE__ */
|
|
19941
|
+
}), uE = /* @__PURE__ */ Te({
|
|
19942
19942
|
__name: "CustomColumn",
|
|
19943
19943
|
props: {
|
|
19944
19944
|
tableId: {},
|
|
@@ -20055,7 +20055,7 @@ const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
20055
20055
|
], 64);
|
|
20056
20056
|
};
|
|
20057
20057
|
}
|
|
20058
|
-
}), cE = /* @__PURE__ */
|
|
20058
|
+
}), cE = /* @__PURE__ */ Te({
|
|
20059
20059
|
__name: "MultiRow",
|
|
20060
20060
|
props: {
|
|
20061
20061
|
attributes: {}
|
|
@@ -20102,7 +20102,7 @@ const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
20102
20102
|
], 16);
|
|
20103
20103
|
};
|
|
20104
20104
|
}
|
|
20105
|
-
}), dE = ["id"], fE = ["onClick"], pE = { class: "flex" }, hE = ["id"], mE = { key: 0 }, gE = ["colspan"], vE = ["id", "draggable", "onClick", "onDblclick", "onDragenter", "onDragstart"], yE = ["onClick"], bE = ["colspan"], AE = ["colspan"], wE = ["colspan"], SE = ["colspan"], CE = ["colspan"], kE = ["contenteditable", "onBlur", "onKeypress"], OE = { key: 1 }, TE = { key: 2 }, xE = ["colspan"], ME = /* @__PURE__ */
|
|
20105
|
+
}), dE = ["id"], fE = ["onClick"], pE = { class: "flex" }, hE = ["id"], mE = { key: 0 }, gE = ["colspan"], vE = ["id", "draggable", "onClick", "onDblclick", "onDragenter", "onDragstart"], yE = ["onClick"], bE = ["colspan"], AE = ["colspan"], wE = ["colspan"], SE = ["colspan"], CE = ["colspan"], kE = ["contenteditable", "onBlur", "onKeypress"], OE = { key: 1 }, TE = { key: 2 }, xE = ["colspan"], ME = /* @__PURE__ */ Te({
|
|
20106
20106
|
__name: "DataTable",
|
|
20107
20107
|
props: /* @__PURE__ */ nn({
|
|
20108
20108
|
treeTable: { type: Boolean },
|
|
@@ -20701,18 +20701,18 @@ const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
20701
20701
|
props: n
|
|
20702
20702
|
}),
|
|
20703
20703
|
{
|
|
20704
|
-
onClick: (
|
|
20705
|
-
onDblclick: (
|
|
20704
|
+
onClick: (ke) => st(ke, ge, Wt),
|
|
20705
|
+
onDblclick: (ke) => {
|
|
20706
20706
|
var vr;
|
|
20707
20707
|
return V.treeTable && ((vr = ge.children) != null && vr.length || ge.hasChildren) ? Ee(ge, Wt) : null;
|
|
20708
20708
|
},
|
|
20709
|
-
onDrag: Z[10] || (Z[10] = (
|
|
20710
|
-
onDragenter: At((
|
|
20709
|
+
onDrag: Z[10] || (Z[10] = (ke) => ne.value = !0),
|
|
20710
|
+
onDragenter: At((ke) => Pe(ke, ge), ["prevent"]),
|
|
20711
20711
|
onDragleave: Z[11] || (Z[11] = At(() => {
|
|
20712
20712
|
}, ["prevent"])),
|
|
20713
20713
|
onDragover: Z[12] || (Z[12] = At(() => {
|
|
20714
20714
|
}, ["prevent"])),
|
|
20715
|
-
onDragstart: (
|
|
20715
|
+
onDragstart: (ke) => Tt(ke, ge, Wt),
|
|
20716
20716
|
onDrop: Ne
|
|
20717
20717
|
}
|
|
20718
20718
|
), [
|
|
@@ -20738,7 +20738,7 @@ const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
20738
20738
|
ref_for: !0
|
|
20739
20739
|
}, (Rl = x(l)) == null ? void 0 : Rl.rowcheckbox, {
|
|
20740
20740
|
modelValue: y.value,
|
|
20741
|
-
"onUpdate:modelValue": Z[2] || (Z[2] = (
|
|
20741
|
+
"onUpdate:modelValue": Z[2] || (Z[2] = (ke) => y.value = ke),
|
|
20742
20742
|
binary: !1,
|
|
20743
20743
|
disabled: fe(ge[V.dataKey]),
|
|
20744
20744
|
value: ge
|
|
@@ -20748,14 +20748,14 @@ const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
20748
20748
|
key: 2,
|
|
20749
20749
|
ref_for: !0
|
|
20750
20750
|
}, (Rs = x(l)) == null ? void 0 : Rs.bodycell, {
|
|
20751
|
-
onClick: (
|
|
20752
|
-
(ge.childRow || ge.childRowHeader) &&
|
|
20751
|
+
onClick: (ke) => {
|
|
20752
|
+
(ge.childRow || ge.childRowHeader) && ke.stopPropagation();
|
|
20753
20753
|
}
|
|
20754
20754
|
}), [
|
|
20755
20755
|
(qi = ge.children) != null && qi.length || ge.hasChildren ? (g(), I(Ue, C(
|
|
20756
20756
|
{
|
|
20757
20757
|
key: 0,
|
|
20758
|
-
onClick: At((
|
|
20758
|
+
onClick: At((ke) => Ee(ge, Wt), ["stop"]),
|
|
20759
20759
|
ref_for: !0
|
|
20760
20760
|
},
|
|
20761
20761
|
x(l).rowtogglerbutton({
|
|
@@ -20770,17 +20770,17 @@ const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
20770
20770
|
), null, 16, ["onClick"])) : N("", !0)
|
|
20771
20771
|
], 16, yE)) : N("", !0),
|
|
20772
20772
|
(() => {
|
|
20773
|
-
var
|
|
20774
|
-
return ge.childRowHeader && ((
|
|
20775
|
-
})() ? (g(!0), O(le, { key: 3 }, Ye(ie.value, (
|
|
20773
|
+
var ke;
|
|
20774
|
+
return ge.childRowHeader && ((ke = n.childTableProps) == null ? void 0 : ke.useColumnsHeader);
|
|
20775
|
+
})() ? (g(!0), O(le, { key: 3 }, Ye(ie.value, (ke) => {
|
|
20776
20776
|
var vr, Bs;
|
|
20777
20777
|
return g(), O("td", {
|
|
20778
|
-
key:
|
|
20778
|
+
key: ke.header,
|
|
20779
20779
|
class: me([(vr = x(l)) == null ? void 0 : vr.bodycell.class, "font-semibold text-xs"]),
|
|
20780
|
-
colspan:
|
|
20780
|
+
colspan: ke.colspan ?? ((Bs = ke.parentColumnsFields) == null ? void 0 : Bs.length),
|
|
20781
20781
|
onClick: Z[4] || (Z[4] = At(() => {
|
|
20782
20782
|
}, ["stop"]))
|
|
20783
|
-
}, ee(
|
|
20783
|
+
}, ee(ke.header), 11, bE);
|
|
20784
20784
|
}), 128)) : ge.childRowHeader ? (g(), O("td", C({
|
|
20785
20785
|
key: 4,
|
|
20786
20786
|
ref_for: !0
|
|
@@ -20820,153 +20820,156 @@ const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
20820
20820
|
}, x(l).nodatamessage), ee(a.value.emptyTableMessage), 17)) : N("", !0)
|
|
20821
20821
|
], 16)
|
|
20822
20822
|
], 10, SE)) : (g(), O(le, { key: 7 }, [
|
|
20823
|
-
(g(!0), O(le, null, Ye(ge.childRow ? ie.value : S.value, (
|
|
20823
|
+
(g(!0), O(le, null, Ye(ge.childRow ? ie.value : S.value, (ke) => {
|
|
20824
20824
|
var vr, Bs, im, rm, om, sm, am, lm, um, cm, dm, fm, pm, hm, mm, Bl, gm, vm;
|
|
20825
20825
|
return g(), O("td", C({
|
|
20826
|
-
key:
|
|
20826
|
+
key: ke.field,
|
|
20827
20827
|
class: [
|
|
20828
20828
|
{
|
|
20829
|
-
"!py-0":
|
|
20830
|
-
"!px-0": ((vr =
|
|
20829
|
+
"!py-0": ke.editable,
|
|
20830
|
+
"!px-0": ((vr = ke.preset) == null ? void 0 : vr.type) === "multirow"
|
|
20831
20831
|
},
|
|
20832
|
-
typeof
|
|
20833
|
-
|
|
20832
|
+
typeof ke.bodyClass == "function" ? ke.bodyClass(ge) : ke.bodyClass,
|
|
20833
|
+
ke.class
|
|
20834
20834
|
],
|
|
20835
|
-
colspan:
|
|
20835
|
+
colspan: ke.colspan ?? ((Bs = ke.parentColumnsFields) == null ? void 0 : Bs.length),
|
|
20836
20836
|
ref_for: !0
|
|
20837
20837
|
}, (im = x(l)) == null ? void 0 : im.bodycell), [
|
|
20838
|
-
((rm =
|
|
20839
|
-
((sm =
|
|
20838
|
+
((rm = ke.preset) == null ? void 0 : rm.type) === "toggle" || ((om = ke.preset) == null ? void 0 : om.type) === "checkbox" ? (g(), O(le, { key: 0 }, [
|
|
20839
|
+
((sm = ke.preset) == null ? void 0 : sm.type) === "toggle" ? (g(), I(Hb, {
|
|
20840
20840
|
key: 0,
|
|
20841
|
-
disabled: fe(ge[V.dataKey]) || (typeof ((am =
|
|
20841
|
+
disabled: fe(ge[V.dataKey]) || (typeof ((am = ke.preset) == null ? void 0 : am.disabled) == "function" ? (lm = ke.preset) == null ? void 0 : lm.disabled(ge) : (um = ke.preset) == null ? void 0 : um.disabled),
|
|
20842
20842
|
"input-id": ge[V.dataKey],
|
|
20843
|
-
"model-value": x(un)(ge,
|
|
20843
|
+
"model-value": x(un)(ge, ke.field),
|
|
20844
20844
|
onClick: Z[8] || (Z[8] = At(() => {
|
|
20845
20845
|
}, ["stop"])),
|
|
20846
20846
|
"onUpdate:modelValue": (_t) => {
|
|
20847
|
-
x(Go)(ge,
|
|
20847
|
+
x(Go)(ge, ke.field, _t), Lt(_t, ge, ke);
|
|
20848
20848
|
}
|
|
20849
20849
|
}, null, 8, ["disabled", "input-id", "model-value", "onUpdate:modelValue"])) : N("", !0),
|
|
20850
|
-
((cm =
|
|
20850
|
+
((cm = ke.preset) == null ? void 0 : cm.type) === "checkbox" ? (g(), I(go, {
|
|
20851
20851
|
key: 1,
|
|
20852
|
-
disabled: fe(ge[V.dataKey]) || (typeof ((dm =
|
|
20852
|
+
disabled: fe(ge[V.dataKey]) || (typeof ((dm = ke.preset) == null ? void 0 : dm.disabled) == "function" ? (fm = ke.preset) == null ? void 0 : fm.disabled(ge) : (pm = ke.preset) == null ? void 0 : pm.disabled),
|
|
20853
20853
|
"input-id": ge[V.dataKey],
|
|
20854
|
-
"model-value": x(un)(ge,
|
|
20854
|
+
"model-value": x(un)(ge, ke.field),
|
|
20855
20855
|
onClick: Z[9] || (Z[9] = At(() => {
|
|
20856
20856
|
}, ["stop"])),
|
|
20857
20857
|
"onUpdate:modelValue": (_t) => {
|
|
20858
|
-
x(Go)(ge,
|
|
20858
|
+
x(Go)(ge, ke.field, !!_t), Lt(!!_t, ge, ke);
|
|
20859
20859
|
},
|
|
20860
20860
|
binary: ""
|
|
20861
20861
|
}, null, 8, ["disabled", "input-id", "model-value", "onUpdate:modelValue"])) : N("", !0),
|
|
20862
|
-
(hm =
|
|
20862
|
+
(hm = ke.preset) != null && hm.confirmDialogProps ? (g(), I(Pc, C(
|
|
20863
20863
|
{
|
|
20864
20864
|
key: 2,
|
|
20865
20865
|
list: [ge],
|
|
20866
|
-
visible: !!Ae.value[ge[V.dataKey] +
|
|
20866
|
+
visible: !!Ae.value[ge[V.dataKey] + ke.field],
|
|
20867
20867
|
onClose: () => {
|
|
20868
20868
|
var Jn, yi, ym;
|
|
20869
20869
|
const _t = () => x(Go)(
|
|
20870
20870
|
ge,
|
|
20871
|
-
|
|
20872
|
-
!x(un)(ge,
|
|
20871
|
+
ke.field,
|
|
20872
|
+
!x(un)(ge, ke.field)
|
|
20873
20873
|
);
|
|
20874
20874
|
((Jn = Ke(
|
|
20875
|
-
|
|
20876
|
-
ge[
|
|
20875
|
+
ke.preset,
|
|
20876
|
+
ge[ke.field],
|
|
20877
20877
|
ge
|
|
20878
|
-
)) == null ? void 0 : Jn.actionable) == !1 && "onConfirm" in
|
|
20878
|
+
)) == null ? void 0 : Jn.actionable) == !1 && "onConfirm" in ke.preset ? (ym = (yi = ke.preset).onConfirm) == null || ym.call(
|
|
20879
20879
|
yi,
|
|
20880
|
-
ge[
|
|
20880
|
+
ge[ke.field],
|
|
20881
20881
|
ge,
|
|
20882
20882
|
_t
|
|
20883
20883
|
) : _t();
|
|
20884
20884
|
},
|
|
20885
20885
|
onConfirm: (_t) => {
|
|
20886
20886
|
var Jn, yi;
|
|
20887
|
-
return (yi = (Jn =
|
|
20887
|
+
return (yi = (Jn = ke.preset) == null ? void 0 : Jn.onConfirm) == null ? void 0 : yi.call(
|
|
20888
20888
|
Jn,
|
|
20889
|
-
ge[
|
|
20889
|
+
ge[ke.field],
|
|
20890
20890
|
ge,
|
|
20891
20891
|
() => x(Go)(
|
|
20892
20892
|
ge,
|
|
20893
|
-
|
|
20894
|
-
!x(un)(ge,
|
|
20893
|
+
ke.field,
|
|
20894
|
+
!x(un)(ge, ke.field)
|
|
20895
20895
|
)
|
|
20896
20896
|
);
|
|
20897
20897
|
},
|
|
20898
|
-
"onUpdate:visible": (_t) => Ae.value[ge[V.dataKey] +
|
|
20898
|
+
"onUpdate:visible": (_t) => Ae.value[ge[V.dataKey] + ke.field] = _t,
|
|
20899
20899
|
actionable: "",
|
|
20900
20900
|
ref_for: !0
|
|
20901
20901
|
},
|
|
20902
20902
|
Ke(
|
|
20903
|
-
|
|
20904
|
-
ge[
|
|
20903
|
+
ke.preset,
|
|
20904
|
+
ge[ke.field],
|
|
20905
20905
|
ge
|
|
20906
20906
|
)
|
|
20907
20907
|
), null, 16, ["list", "visible", "onClose", "onConfirm", "onUpdate:visible"])) : N("", !0)
|
|
20908
|
-
], 64)) : ((mm =
|
|
20908
|
+
], 64)) : ((mm = ke.preset) == null ? void 0 : mm.type) === "multirow" ? (g(), I(cE, {
|
|
20909
20909
|
key: 1,
|
|
20910
|
-
attributes: ((gm = (Bl =
|
|
20911
|
-
}, null, 8, ["attributes"])) :
|
|
20910
|
+
attributes: ((gm = (Bl = ke.preset) == null ? void 0 : Bl.fieldAttributes) == null ? void 0 : gm.call(Bl, ge)) ?? []
|
|
20911
|
+
}, null, 8, ["attributes"])) : ke.editable ? (g(), O("span", C({
|
|
20912
20912
|
key: 2,
|
|
20913
20913
|
ref_for: !0
|
|
20914
20914
|
}, x(l).celleditableelement, {
|
|
20915
|
-
contenteditable:
|
|
20915
|
+
contenteditable: ke.editable,
|
|
20916
20916
|
onBlur: (_t) => {
|
|
20917
20917
|
V.$emit("cellEdited", {
|
|
20918
20918
|
item: ge,
|
|
20919
|
-
field:
|
|
20919
|
+
field: ke.field,
|
|
20920
20920
|
index: Wt,
|
|
20921
20921
|
value: _t.target.innerText
|
|
20922
20922
|
});
|
|
20923
20923
|
},
|
|
20924
20924
|
onKeypress: (_t) => {
|
|
20925
|
-
|
|
20925
|
+
ke.numberInputOnly && L(_t);
|
|
20926
20926
|
}
|
|
20927
|
-
}), ee(x(un)(ge,
|
|
20928
|
-
|
|
20927
|
+
}), ee(x(un)(ge, ke.field) || "-"), 17, kE)) : ke.bodyComponent || ke.bodyClass || ke.bodyTemplate || ke.dateFormatOptions ? (g(), O(le, { key: 3 }, [
|
|
20928
|
+
ke.bodyComponent ? (g(), I(ot(ke.bodyComponent(ge, Wt).component), C({
|
|
20929
20929
|
key: 0,
|
|
20930
|
-
modelValue:
|
|
20931
|
-
"onUpdate:modelValue": (_t) =>
|
|
20932
|
-
disabled:
|
|
20930
|
+
modelValue: ke.bodyComponent(ge, Wt).model,
|
|
20931
|
+
"onUpdate:modelValue": (_t) => ke.bodyComponent(ge, Wt).model = _t,
|
|
20932
|
+
disabled: ke.bodyComponent(ge, Wt).disabled,
|
|
20933
20933
|
ref_for: !0
|
|
20934
|
-
},
|
|
20935
|
-
|
|
20934
|
+
}, ke.bodyComponent(ge, Wt).props, ts(
|
|
20935
|
+
ke.bodyComponent(ge, Wt).events ? ke.bodyComponent(ge, Wt).events : {}
|
|
20936
20936
|
), {
|
|
20937
20937
|
onChange: (_t) => {
|
|
20938
20938
|
var Jn, yi;
|
|
20939
|
-
return (yi = (Jn =
|
|
20939
|
+
return (yi = (Jn = ke.bodyComponent(ge, Wt)).onChange) == null ? void 0 : yi.call(Jn, ge);
|
|
20940
20940
|
},
|
|
20941
20941
|
onClick: (_t) => {
|
|
20942
|
-
|
|
20942
|
+
ke.bodyComponent(ge, Wt).stop !== !1 && _t.stopPropagation();
|
|
20943
20943
|
},
|
|
20944
20944
|
"onUpdate:modelValue": (_t) => {
|
|
20945
20945
|
var Jn, yi;
|
|
20946
|
-
return (yi = (Jn =
|
|
20946
|
+
return (yi = (Jn = ke.bodyComponent(ge, Wt)).onChange) == null ? void 0 : yi.call(Jn, ge);
|
|
20947
20947
|
}
|
|
20948
20948
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "onClick"])) : (g(), O("span", OE, [
|
|
20949
|
-
|
|
20950
|
-
lt(ee(((vm =
|
|
20951
|
-
], 64)) : (g(), O(le, { key: 1 }, [
|
|
20952
|
-
lt(ee(x(
|
|
20949
|
+
ke.bodyTemplate ? (g(), O(le, { key: 0 }, [
|
|
20950
|
+
lt(ee(((vm = ke.bodyTemplate) == null ? void 0 : vm.call(ke, ge, Wt)) || "-"), 1)
|
|
20951
|
+
], 64)) : ke.dateFormatOptions ? (g(), O(le, { key: 1 }, [
|
|
20952
|
+
lt(ee(x(Ou)(
|
|
20953
|
+
new Date(
|
|
20954
|
+
x(un)(
|
|
20955
|
+
ge,
|
|
20956
|
+
ke.field
|
|
20957
|
+
)
|
|
20958
|
+
),
|
|
20959
|
+
ke.dateFormatOptions
|
|
20960
|
+
)), 1)
|
|
20961
|
+
], 64)) : (g(), O(le, { key: 2 }, [
|
|
20962
|
+
lt(ee(x(un)(ge, ke.field) || "-"), 1)
|
|
20953
20963
|
], 64))
|
|
20954
20964
|
]))
|
|
20955
|
-
], 64)) :
|
|
20956
|
-
lt(ee(x(
|
|
20957
|
-
new Date(
|
|
20958
|
-
x(un)(ge, Te.field)
|
|
20959
|
-
),
|
|
20960
|
-
Te.dateFormatOptions
|
|
20961
|
-
)), 1)
|
|
20962
|
-
], 64)) : (g(), O(le, { key: 5 }, [
|
|
20963
|
-
lt(ee(x(un)(ge, Te.field) ?? "-"), 1)
|
|
20965
|
+
], 64)) : (g(), O(le, { key: 4 }, [
|
|
20966
|
+
lt(ee(x(un)(ge, ke.field) ?? "-"), 1)
|
|
20964
20967
|
], 64))
|
|
20965
20968
|
], 16, CE);
|
|
20966
20969
|
}), 128)),
|
|
20967
20970
|
(() => {
|
|
20968
|
-
var
|
|
20969
|
-
return (V.useOption || Re.value) && !ge.childRow || ge.childRow && ((
|
|
20971
|
+
var ke;
|
|
20972
|
+
return (V.useOption || Re.value) && !ge.childRow || ge.childRow && ((ke = V.childTableProps) == null ? void 0 : ke.useOption);
|
|
20970
20973
|
})() ? (g(), O("td", C(
|
|
20971
20974
|
{
|
|
20972
20975
|
key: 0,
|
|
@@ -20994,7 +20997,7 @@ const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
20994
20997
|
ref_for: !0
|
|
20995
20998
|
}, x(l).singleactionbutton({ props: n }), {
|
|
20996
20999
|
disabled: V.disableAllRows,
|
|
20997
|
-
onClick: At((
|
|
21000
|
+
onClick: At((ke) => Rt(ke, ge), ["stop"]),
|
|
20998
21001
|
icon: "ellipsis-h",
|
|
20999
21002
|
outlined: "",
|
|
21000
21003
|
size: "small",
|
|
@@ -21066,7 +21069,7 @@ const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
21066
21069
|
for (const [i, r] of e)
|
|
21067
21070
|
n[i] = r;
|
|
21068
21071
|
return n;
|
|
21069
|
-
}, A0 = /* @__PURE__ */ b0(ME, [["__scopeId", "data-v-
|
|
21072
|
+
}, A0 = /* @__PURE__ */ b0(ME, [["__scopeId", "data-v-9ef46407"]]), w0 = /* @__PURE__ */ Te({
|
|
21070
21073
|
__name: "Form",
|
|
21071
21074
|
props: {
|
|
21072
21075
|
buttonsTemplate: {},
|
|
@@ -21238,7 +21241,7 @@ const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
21238
21241
|
], 16);
|
|
21239
21242
|
};
|
|
21240
21243
|
}
|
|
21241
|
-
}), JQ = /* @__PURE__ */
|
|
21244
|
+
}), JQ = /* @__PURE__ */ Te({
|
|
21242
21245
|
__name: "DialogForm",
|
|
21243
21246
|
props: {
|
|
21244
21247
|
buttonsTemplate: {},
|
|
@@ -22545,7 +22548,7 @@ function rI(t, e, n, i, r, o) {
|
|
|
22545
22548
|
}, t.ptm("input")), null, 16, iI))], 16)), [[c]])], 16)) : N("", !0);
|
|
22546
22549
|
}
|
|
22547
22550
|
M0.render = rI;
|
|
22548
|
-
const Wl = "Checking availability...", wl = /* @__PURE__ */
|
|
22551
|
+
const Wl = "Checking availability...", wl = /* @__PURE__ */ Te({
|
|
22549
22552
|
__name: "InputText",
|
|
22550
22553
|
props: {
|
|
22551
22554
|
allowedCharacters: {},
|
|
@@ -22773,7 +22776,7 @@ const Wl = "Checking availability...", wl = /* @__PURE__ */ Oe({
|
|
|
22773
22776
|
_: 3
|
|
22774
22777
|
}, 8, ["info", "label", "label-class", "mandatory"]));
|
|
22775
22778
|
}
|
|
22776
|
-
}), oI = { class: "'!mt-0 font-light text-xs text-general-500'" }, sI = 1048576, YQ = /* @__PURE__ */
|
|
22779
|
+
}), oI = { class: "'!mt-0 font-light text-xs text-general-500'" }, sI = 1048576, YQ = /* @__PURE__ */ Te({
|
|
22777
22780
|
__name: "FileUpload",
|
|
22778
22781
|
props: /* @__PURE__ */ nn({
|
|
22779
22782
|
accept: {},
|
|
@@ -23432,7 +23435,7 @@ function NI(t, e, n, i, r, o) {
|
|
|
23432
23435
|
})], 16);
|
|
23433
23436
|
}
|
|
23434
23437
|
D0.render = NI;
|
|
23435
|
-
const VI = ["src"], zI = ["src"], FI = ["src"], HI = ["src", "onClick"], cs = /* @__PURE__ */
|
|
23438
|
+
const VI = ["src"], zI = ["src"], FI = ["src"], HI = ["src", "onClick"], cs = /* @__PURE__ */ Te({
|
|
23436
23439
|
__name: "Image",
|
|
23437
23440
|
props: {
|
|
23438
23441
|
src: {},
|
|
@@ -25019,7 +25022,7 @@ const pv = [
|
|
|
25019
25022
|
s.fillStyle = r, s.fillRect(0, 0, o.width, o.height), s.fillStyle = c, s.fillText(t, d, f);
|
|
25020
25023
|
}
|
|
25021
25024
|
return o;
|
|
25022
|
-
}, CP = { class: "!hidden" }, kP = /* @__PURE__ */
|
|
25025
|
+
}, CP = { class: "!hidden" }, kP = /* @__PURE__ */ Te({
|
|
25023
25026
|
__name: "InvisibleField",
|
|
25024
25027
|
props: {
|
|
25025
25028
|
value: { type: [String, Array, Number, Boolean, null, Object], default: void 0 },
|
|
@@ -25040,7 +25043,7 @@ const pv = [
|
|
|
25040
25043
|
}
|
|
25041
25044
|
), (r, o) => (g(), O("div", CP));
|
|
25042
25045
|
}
|
|
25043
|
-
}), OP = /* @__PURE__ */
|
|
25046
|
+
}), OP = /* @__PURE__ */ Te({
|
|
25044
25047
|
__name: "BackgroundImageCropper",
|
|
25045
25048
|
props: {
|
|
25046
25049
|
touchMove: {},
|
|
@@ -25093,7 +25096,7 @@ const pv = [
|
|
|
25093
25096
|
"max-w-[121px] [&_li]:pl-0.5"
|
|
25094
25097
|
]),
|
|
25095
25098
|
"data-wv-section": "image-requirements-info"
|
|
25096
|
-
}, hv = /* @__PURE__ */
|
|
25099
|
+
}, hv = /* @__PURE__ */ Te({
|
|
25097
25100
|
__name: "ImageInputInfo",
|
|
25098
25101
|
props: {
|
|
25099
25102
|
customRequirements: {},
|
|
@@ -25126,7 +25129,7 @@ const pv = [
|
|
|
25126
25129
|
}), EP = {
|
|
25127
25130
|
key: 1,
|
|
25128
25131
|
class: "flex gap-1 items-start"
|
|
25129
|
-
}, IP = ["id", "multiple"], _Q = /* @__PURE__ */
|
|
25132
|
+
}, IP = ["id", "multiple"], _Q = /* @__PURE__ */ Te({
|
|
25130
25133
|
__name: "ImageCompressor",
|
|
25131
25134
|
props: /* @__PURE__ */ nn({
|
|
25132
25135
|
initialName: {},
|
|
@@ -25581,7 +25584,7 @@ const pv = [
|
|
|
25581
25584
|
}, 8, ["visible", "header"])
|
|
25582
25585
|
], 64));
|
|
25583
25586
|
}
|
|
25584
|
-
}), PP = ["id", "disabled", "placeholder"], QQ = /* @__PURE__ */
|
|
25587
|
+
}), PP = ["id", "disabled", "placeholder"], QQ = /* @__PURE__ */ Te({
|
|
25585
25588
|
__name: "InputBadge",
|
|
25586
25589
|
props: {
|
|
25587
25590
|
type: { default: "text" },
|
|
@@ -25755,7 +25758,7 @@ const pv = [
|
|
|
25755
25758
|
_: 1
|
|
25756
25759
|
}, 8, ["info", "label", "mandatory"]));
|
|
25757
25760
|
}
|
|
25758
|
-
}), Y0 = /* @__PURE__ */
|
|
25761
|
+
}), Y0 = /* @__PURE__ */ Te({
|
|
25759
25762
|
__name: "InputNumber",
|
|
25760
25763
|
props: {
|
|
25761
25764
|
modelValue: {},
|
|
@@ -25982,7 +25985,7 @@ const pv = [
|
|
|
25982
25985
|
} : void 0
|
|
25983
25986
|
]), 1032, ["info", "label", "mandatory", "tooltip-pos"]));
|
|
25984
25987
|
}
|
|
25985
|
-
}), eee = /* @__PURE__ */
|
|
25988
|
+
}), eee = /* @__PURE__ */ Te({
|
|
25986
25989
|
__name: "InputCurrency",
|
|
25987
25990
|
props: {
|
|
25988
25991
|
modelValue: {},
|
|
@@ -26101,7 +26104,7 @@ const pv = [
|
|
|
26101
26104
|
_: 1
|
|
26102
26105
|
}, 16, ["modelValue", "input-id", "input-number-class", "locale"]));
|
|
26103
26106
|
}
|
|
26104
|
-
}), tee = /* @__PURE__ */
|
|
26107
|
+
}), tee = /* @__PURE__ */ Te({
|
|
26105
26108
|
__name: "InputEmail",
|
|
26106
26109
|
props: {
|
|
26107
26110
|
allowedCharacters: {},
|
|
@@ -26635,7 +26638,7 @@ function KP(t, e, n, i, r, o) {
|
|
|
26635
26638
|
}, 8, ["appendTo"])], 16);
|
|
26636
26639
|
}
|
|
26637
26640
|
Q0.render = KP;
|
|
26638
|
-
const UP = ["onClick"], WP = ["onClick"], nee = /* @__PURE__ */
|
|
26641
|
+
const UP = ["onClick"], WP = ["onClick"], nee = /* @__PURE__ */ Te({
|
|
26639
26642
|
__name: "InputPassword",
|
|
26640
26643
|
props: {
|
|
26641
26644
|
modelValue: {},
|
|
@@ -27178,7 +27181,7 @@ function IF() {
|
|
|
27178
27181
|
const PF = {
|
|
27179
27182
|
class: "grid grid-cols-[max-content,auto] w-full",
|
|
27180
27183
|
"data-wv-section": "phone-number-input-wrapper"
|
|
27181
|
-
}, LF = { class: "flex gap-2" }, DF = ["src"], iee = /* @__PURE__ */
|
|
27184
|
+
}, LF = { class: "flex gap-2" }, DF = ["src"], iee = /* @__PURE__ */ Te({
|
|
27182
27185
|
__name: "InputPhoneNumber",
|
|
27183
27186
|
props: {
|
|
27184
27187
|
modelValue: {},
|
|
@@ -27326,7 +27329,7 @@ const PF = {
|
|
|
27326
27329
|
}), RF = {
|
|
27327
27330
|
class: "flex gap-2 w-full items-center",
|
|
27328
27331
|
"data-wv-section": "inputwrapper"
|
|
27329
|
-
}, BF = /* @__PURE__ */
|
|
27332
|
+
}, BF = /* @__PURE__ */ Te({
|
|
27330
27333
|
__name: "InputRangeNumber",
|
|
27331
27334
|
props: {
|
|
27332
27335
|
modelValue: {},
|
|
@@ -27446,7 +27449,7 @@ const PF = {
|
|
|
27446
27449
|
_: 1
|
|
27447
27450
|
}, 8, ["label", "show-optional-text"]));
|
|
27448
27451
|
}
|
|
27449
|
-
}), vv = /* @__PURE__ */
|
|
27452
|
+
}), vv = /* @__PURE__ */ Te({
|
|
27450
27453
|
__name: "InputURL",
|
|
27451
27454
|
props: {
|
|
27452
27455
|
allowedCharacters: {},
|
|
@@ -27501,7 +27504,7 @@ const PF = {
|
|
|
27501
27504
|
} : void 0
|
|
27502
27505
|
]), 1040));
|
|
27503
27506
|
}
|
|
27504
|
-
}), ree = /* @__PURE__ */
|
|
27507
|
+
}), ree = /* @__PURE__ */ Te({
|
|
27505
27508
|
__name: "LiteDropdown",
|
|
27506
27509
|
props: /* @__PURE__ */ nn({
|
|
27507
27510
|
modelValue: { type: [String, Number, Boolean, Object] },
|
|
@@ -27598,7 +27601,7 @@ const PF = {
|
|
|
27598
27601
|
}), NF = ["data-user-lang"], VF = ["alt", "src"], zF = {
|
|
27599
27602
|
key: 1,
|
|
27600
27603
|
class: "flex items-center gap-0.5 text-xs text-general-800"
|
|
27601
|
-
}, FF = { key: 2 }, yv = /* @__PURE__ */
|
|
27604
|
+
}, FF = { key: 2 }, yv = /* @__PURE__ */ Te({
|
|
27602
27605
|
__name: "LanguageDropdownOption",
|
|
27603
27606
|
props: {
|
|
27604
27607
|
option: {},
|
|
@@ -27640,7 +27643,7 @@ const PF = {
|
|
|
27640
27643
|
], 8, NF);
|
|
27641
27644
|
};
|
|
27642
27645
|
}
|
|
27643
|
-
}), oee = /* @__PURE__ */
|
|
27646
|
+
}), oee = /* @__PURE__ */ Te({
|
|
27644
27647
|
__name: "LanguageSwitcher",
|
|
27645
27648
|
setup(t) {
|
|
27646
27649
|
mt(async () => {
|
|
@@ -27719,7 +27722,7 @@ const PF = {
|
|
|
27719
27722
|
_: 1
|
|
27720
27723
|
}, 8, ["modelValue", "loading", "options"]));
|
|
27721
27724
|
}
|
|
27722
|
-
}), see = /* @__PURE__ */
|
|
27725
|
+
}), see = /* @__PURE__ */ Te({
|
|
27723
27726
|
__name: "Loading",
|
|
27724
27727
|
setup(t) {
|
|
27725
27728
|
const { loading: e, message: n } = yl();
|
|
@@ -29367,7 +29370,7 @@ function gH(t, e, n, i, r, o) {
|
|
|
29367
29370
|
}, 8, ["appendTo"])], 16);
|
|
29368
29371
|
}
|
|
29369
29372
|
nA.render = gH;
|
|
29370
|
-
const vH = /* @__PURE__ */
|
|
29373
|
+
const vH = /* @__PURE__ */ Te({
|
|
29371
29374
|
__name: "MultiSelect",
|
|
29372
29375
|
props: {
|
|
29373
29376
|
modelValue: {},
|
|
@@ -29540,7 +29543,7 @@ const vH = /* @__PURE__ */ Oe({
|
|
|
29540
29543
|
_: 3
|
|
29541
29544
|
}, 8, ["info", "label", "mandatory", "show-optional-text"]));
|
|
29542
29545
|
}
|
|
29543
|
-
}), aee = /* @__PURE__ */
|
|
29546
|
+
}), aee = /* @__PURE__ */ Te({
|
|
29544
29547
|
__name: "Paginator",
|
|
29545
29548
|
props: /* @__PURE__ */ nn({
|
|
29546
29549
|
totalRecords: {},
|
|
@@ -29858,7 +29861,7 @@ function kH(t, e, n, i, r, o) {
|
|
|
29858
29861
|
}, t.ptm("inkbar")), null, 16)], 16, wH)], 16);
|
|
29859
29862
|
}
|
|
29860
29863
|
iA.render = kH;
|
|
29861
|
-
const OH = ["href", "onClick"], TH = ["href", "target"], lee = /* @__PURE__ */
|
|
29864
|
+
const OH = ["href", "onClick"], TH = ["href", "target"], lee = /* @__PURE__ */ Te({
|
|
29862
29865
|
__name: "TabMenu",
|
|
29863
29866
|
props: /* @__PURE__ */ nn({
|
|
29864
29867
|
menu: {},
|
|
@@ -30036,7 +30039,7 @@ function PH(t, e, n, i, r, o) {
|
|
|
30036
30039
|
}, t.ptmi("root", o.ptmParams)), null, 16, IH);
|
|
30037
30040
|
}
|
|
30038
30041
|
rA.render = PH;
|
|
30039
|
-
const uee = /* @__PURE__ */
|
|
30042
|
+
const uee = /* @__PURE__ */ Te({
|
|
30040
30043
|
__name: "Textarea",
|
|
30041
30044
|
props: {
|
|
30042
30045
|
modelValue: {},
|
|
@@ -30228,7 +30231,7 @@ function BH(t, e, n, i, r, o) {
|
|
|
30228
30231
|
}), 128))], 16);
|
|
30229
30232
|
}
|
|
30230
30233
|
oA.render = BH;
|
|
30231
|
-
const NH = { key: 0 }, Qa = /* @__PURE__ */
|
|
30234
|
+
const NH = { key: 0 }, Qa = /* @__PURE__ */ Te({
|
|
30232
30235
|
__name: "UserName",
|
|
30233
30236
|
props: {
|
|
30234
30237
|
user: {},
|
|
@@ -32846,7 +32849,7 @@ function K$(t) {
|
|
|
32846
32849
|
]
|
|
32847
32850
|
};
|
|
32848
32851
|
}
|
|
32849
|
-
const U$ = { class: "relative w-full overflow-hidden" }, W$ = ["placeholder"], X$ = { class: "relative" }, Z$ = ["innerHTML"], MA = /* @__PURE__ */
|
|
32852
|
+
const U$ = { class: "relative w-full overflow-hidden" }, W$ = ["placeholder"], X$ = { class: "relative" }, Z$ = ["innerHTML"], MA = /* @__PURE__ */ Te({
|
|
32850
32853
|
__name: "CodeSnippet",
|
|
32851
32854
|
props: /* @__PURE__ */ nn({
|
|
32852
32855
|
code: {},
|
|
@@ -33103,7 +33106,7 @@ function IA(t, e, n, i) {
|
|
|
33103
33106
|
n -= l, i -= l;
|
|
33104
33107
|
}
|
|
33105
33108
|
}
|
|
33106
|
-
class
|
|
33109
|
+
class Oe {
|
|
33107
33110
|
/**
|
|
33108
33111
|
@internal
|
|
33109
33112
|
*/
|
|
@@ -33158,7 +33161,7 @@ class ke {
|
|
|
33158
33161
|
let n = this.lastChild, i = e.firstChild, r = this.content.slice(), o = 0;
|
|
33159
33162
|
for (n.isText && n.sameMarkup(i) && (r[r.length - 1] = n.withText(n.text + i.text), o = 1); o < e.content.length; o++)
|
|
33160
33163
|
r.push(e.content[o]);
|
|
33161
|
-
return new
|
|
33164
|
+
return new Oe(r, this.size + e.size);
|
|
33162
33165
|
}
|
|
33163
33166
|
/**
|
|
33164
33167
|
Cut out the sub-fragment between the two given positions.
|
|
@@ -33172,13 +33175,13 @@ class ke {
|
|
|
33172
33175
|
let a = this.content[o], l = s + a.nodeSize;
|
|
33173
33176
|
l > e && ((s < e || l > n) && (a.isText ? a = a.cut(Math.max(0, e - s), Math.min(a.text.length, n - s)) : a = a.cut(Math.max(0, e - s - 1), Math.min(a.content.size, n - s - 1))), i.push(a), r += a.nodeSize), s = l;
|
|
33174
33177
|
}
|
|
33175
|
-
return new
|
|
33178
|
+
return new Oe(i, r);
|
|
33176
33179
|
}
|
|
33177
33180
|
/**
|
|
33178
33181
|
@internal
|
|
33179
33182
|
*/
|
|
33180
33183
|
cutByIndex(e, n) {
|
|
33181
|
-
return e == n ?
|
|
33184
|
+
return e == n ? Oe.empty : e == 0 && n == this.content.length ? this : new Oe(this.content.slice(e, n));
|
|
33182
33185
|
}
|
|
33183
33186
|
/**
|
|
33184
33187
|
Create a new fragment in which the node at the given index is
|
|
@@ -33189,21 +33192,21 @@ class ke {
|
|
|
33189
33192
|
if (i == n)
|
|
33190
33193
|
return this;
|
|
33191
33194
|
let r = this.content.slice(), o = this.size + n.nodeSize - i.nodeSize;
|
|
33192
|
-
return r[e] = n, new
|
|
33195
|
+
return r[e] = n, new Oe(r, o);
|
|
33193
33196
|
}
|
|
33194
33197
|
/**
|
|
33195
33198
|
Create a new fragment by prepending the given node to this
|
|
33196
33199
|
fragment.
|
|
33197
33200
|
*/
|
|
33198
33201
|
addToStart(e) {
|
|
33199
|
-
return new
|
|
33202
|
+
return new Oe([e].concat(this.content), this.size + e.nodeSize);
|
|
33200
33203
|
}
|
|
33201
33204
|
/**
|
|
33202
33205
|
Create a new fragment by appending the given node to this
|
|
33203
33206
|
fragment.
|
|
33204
33207
|
*/
|
|
33205
33208
|
addToEnd(e) {
|
|
33206
|
-
return new
|
|
33209
|
+
return new Oe(this.content.concat(e), this.size + e.nodeSize);
|
|
33207
33210
|
}
|
|
33208
33211
|
/**
|
|
33209
33212
|
Compare this fragment to another one.
|
|
@@ -33318,10 +33321,10 @@ class ke {
|
|
|
33318
33321
|
*/
|
|
33319
33322
|
static fromJSON(e, n) {
|
|
33320
33323
|
if (!n)
|
|
33321
|
-
return
|
|
33324
|
+
return Oe.empty;
|
|
33322
33325
|
if (!Array.isArray(n))
|
|
33323
33326
|
throw new RangeError("Invalid input for Fragment.fromJSON");
|
|
33324
|
-
return new
|
|
33327
|
+
return new Oe(n.map(e.nodeFromJSON));
|
|
33325
33328
|
}
|
|
33326
33329
|
/**
|
|
33327
33330
|
Build a fragment from an array of nodes. Ensures that adjacent
|
|
@@ -33329,13 +33332,13 @@ class ke {
|
|
|
33329
33332
|
*/
|
|
33330
33333
|
static fromArray(e) {
|
|
33331
33334
|
if (!e.length)
|
|
33332
|
-
return
|
|
33335
|
+
return Oe.empty;
|
|
33333
33336
|
let n, i = 0;
|
|
33334
33337
|
for (let r = 0; r < e.length; r++) {
|
|
33335
33338
|
let o = e[r];
|
|
33336
33339
|
i += o.nodeSize, r && o.isText && e[r - 1].sameMarkup(o) ? (n || (n = e.slice(0, r)), n[n.length - 1] = o.withText(n[n.length - 1].text + o.text)) : n && n.push(o);
|
|
33337
33340
|
}
|
|
33338
|
-
return new
|
|
33341
|
+
return new Oe(n || e, i);
|
|
33339
33342
|
}
|
|
33340
33343
|
/**
|
|
33341
33344
|
Create a fragment from something that can be interpreted as a
|
|
@@ -33345,17 +33348,17 @@ class ke {
|
|
|
33345
33348
|
*/
|
|
33346
33349
|
static from(e) {
|
|
33347
33350
|
if (!e)
|
|
33348
|
-
return
|
|
33349
|
-
if (e instanceof
|
|
33351
|
+
return Oe.empty;
|
|
33352
|
+
if (e instanceof Oe)
|
|
33350
33353
|
return e;
|
|
33351
33354
|
if (Array.isArray(e))
|
|
33352
33355
|
return this.fromArray(e);
|
|
33353
33356
|
if (e.attrs)
|
|
33354
|
-
return new
|
|
33357
|
+
return new Oe([e], e.nodeSize);
|
|
33355
33358
|
throw new RangeError("Can not convert " + e + " to a Fragment" + (e.nodesBetween ? " (looks like multiple versions of prosemirror-model were loaded)" : ""));
|
|
33356
33359
|
}
|
|
33357
33360
|
}
|
|
33358
|
-
|
|
33361
|
+
Oe.empty = new Oe([], 0);
|
|
33359
33362
|
const Pd = { index: 0, offset: 0 };
|
|
33360
33363
|
function Ql(t, e) {
|
|
33361
33364
|
return Pd.index = t, Pd.offset = e, Pd;
|
|
@@ -33557,7 +33560,7 @@ class je {
|
|
|
33557
33560
|
let i = n.openStart || 0, r = n.openEnd || 0;
|
|
33558
33561
|
if (typeof i != "number" || typeof r != "number")
|
|
33559
33562
|
throw new RangeError("Invalid input for Slice.fromJSON");
|
|
33560
|
-
return new je(
|
|
33563
|
+
return new je(Oe.fromJSON(e, n.content), i, r);
|
|
33561
33564
|
}
|
|
33562
33565
|
/**
|
|
33563
33566
|
Create a slice from a fragment by taking the maximum possible
|
|
@@ -33572,7 +33575,7 @@ class je {
|
|
|
33572
33575
|
return new je(e, i, r);
|
|
33573
33576
|
}
|
|
33574
33577
|
}
|
|
33575
|
-
je.empty = new je(
|
|
33578
|
+
je.empty = new je(Oe.empty, 0, 0);
|
|
33576
33579
|
function PA(t, e, n) {
|
|
33577
33580
|
let { index: i, offset: r } = t.findIndex(e), o = t.maybeChild(i), { index: s, offset: a } = t.findIndex(n);
|
|
33578
33581
|
if (r == e || o.isText) {
|
|
@@ -33637,7 +33640,7 @@ function bo(t, e) {
|
|
|
33637
33640
|
}
|
|
33638
33641
|
function BA(t, e, n, i, r) {
|
|
33639
33642
|
let o = t.depth > r && Yf(t, e, r + 1), s = i.depth > r && Yf(n, i, r + 1), a = [];
|
|
33640
|
-
return sa(null, t, r, a), o && s && e.index(r) == n.index(r) ? (RA(o, s), yo(bo(o, BA(t, e, n, i, r + 1)), a)) : (o && yo(bo(o, Nu(t, e, r + 1)), a), sa(e, n, r, a), s && yo(bo(s, Nu(n, i, r + 1)), a)), sa(i, null, r, a), new
|
|
33643
|
+
return sa(null, t, r, a), o && s && e.index(r) == n.index(r) ? (RA(o, s), yo(bo(o, BA(t, e, n, i, r + 1)), a)) : (o && yo(bo(o, Nu(t, e, r + 1)), a), sa(e, n, r, a), s && yo(bo(s, Nu(n, i, r + 1)), a)), sa(i, null, r, a), new Oe(a);
|
|
33641
33644
|
}
|
|
33642
33645
|
function Nu(t, e, n) {
|
|
33643
33646
|
let i = [];
|
|
@@ -33645,12 +33648,12 @@ function Nu(t, e, n) {
|
|
|
33645
33648
|
let r = Yf(t, e, n + 1);
|
|
33646
33649
|
yo(bo(r, Nu(t, e, n + 1)), i);
|
|
33647
33650
|
}
|
|
33648
|
-
return sa(e, null, n, i), new
|
|
33651
|
+
return sa(e, null, n, i), new Oe(i);
|
|
33649
33652
|
}
|
|
33650
33653
|
function G$(t, e) {
|
|
33651
33654
|
let n = e.depth - t.openStart, r = e.node(n).copy(t.content);
|
|
33652
33655
|
for (let o = n - 1; o >= 0; o--)
|
|
33653
|
-
r = e.node(o).copy(
|
|
33656
|
+
r = e.node(o).copy(Oe.from(r));
|
|
33654
33657
|
return {
|
|
33655
33658
|
start: r.resolveNoCache(t.openStart + n),
|
|
33656
33659
|
end: r.resolveNoCache(r.content.size - t.openEnd - n)
|
|
@@ -33955,7 +33958,7 @@ let Hr = class _f {
|
|
|
33955
33958
|
@internal
|
|
33956
33959
|
*/
|
|
33957
33960
|
constructor(e, n, i, r = Vt.none) {
|
|
33958
|
-
this.type = e, this.attrs = n, this.marks = r, this.content = i ||
|
|
33961
|
+
this.type = e, this.attrs = n, this.marks = r, this.content = i || Oe.empty;
|
|
33959
33962
|
}
|
|
33960
33963
|
/**
|
|
33961
33964
|
The array of this node's child nodes.
|
|
@@ -34244,7 +34247,7 @@ let Hr = class _f {
|
|
|
34244
34247
|
can optionally pass `start` and `end` indices into the
|
|
34245
34248
|
replacement fragment.
|
|
34246
34249
|
*/
|
|
34247
|
-
canReplace(e, n, i =
|
|
34250
|
+
canReplace(e, n, i = Oe.empty, r = 0, o = i.childCount) {
|
|
34248
34251
|
let s = this.contentMatchAt(e).matchFragment(i, r, o), a = s && s.matchFragment(this.content, n);
|
|
34249
34252
|
if (!a || !a.validEnd)
|
|
34250
34253
|
return !1;
|
|
@@ -34315,7 +34318,7 @@ let Hr = class _f {
|
|
|
34315
34318
|
throw new RangeError("Invalid text node in JSON");
|
|
34316
34319
|
return e.text(n.text, i);
|
|
34317
34320
|
}
|
|
34318
|
-
let r =
|
|
34321
|
+
let r = Oe.fromJSON(e, n.content), o = e.nodeType(n.type).create(n.attrs, r, i);
|
|
34319
34322
|
return o.type.checkAttrs(o.attrs), o;
|
|
34320
34323
|
}
|
|
34321
34324
|
};
|
|
@@ -34443,7 +34446,7 @@ class Eo {
|
|
|
34443
34446
|
function o(s, a) {
|
|
34444
34447
|
let l = s.matchFragment(e, i);
|
|
34445
34448
|
if (l && (!n || l.validEnd))
|
|
34446
|
-
return
|
|
34449
|
+
return Oe.from(a.map((u) => u.createAndFill()));
|
|
34447
34450
|
for (let u = 0; u < s.next.length; u++) {
|
|
34448
34451
|
let { type: c, next: d } = s.next[u];
|
|
34449
34452
|
if (!(c.isText || c.hasRequiredAttrs()) && r.indexOf(d) == -1) {
|
|
@@ -34826,7 +34829,7 @@ let Rv = class KA {
|
|
|
34826
34829
|
create(e = null, n, i) {
|
|
34827
34830
|
if (this.isText)
|
|
34828
34831
|
throw new Error("NodeType.create can't construct text nodes");
|
|
34829
|
-
return new Hr(this, this.computeAttrs(e),
|
|
34832
|
+
return new Hr(this, this.computeAttrs(e), Oe.from(n), Vt.setFrom(i));
|
|
34830
34833
|
}
|
|
34831
34834
|
/**
|
|
34832
34835
|
Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but check the given content
|
|
@@ -34834,7 +34837,7 @@ let Rv = class KA {
|
|
|
34834
34837
|
if it doesn't match.
|
|
34835
34838
|
*/
|
|
34836
34839
|
createChecked(e = null, n, i) {
|
|
34837
|
-
return n =
|
|
34840
|
+
return n = Oe.from(n), this.checkContent(n), new Hr(this, this.computeAttrs(e), n, Vt.setFrom(i));
|
|
34838
34841
|
}
|
|
34839
34842
|
/**
|
|
34840
34843
|
Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but see if it is
|
|
@@ -34845,13 +34848,13 @@ let Rv = class KA {
|
|
|
34845
34848
|
`Fragment.empty` as content.
|
|
34846
34849
|
*/
|
|
34847
34850
|
createAndFill(e = null, n, i) {
|
|
34848
|
-
if (e = this.computeAttrs(e), n =
|
|
34851
|
+
if (e = this.computeAttrs(e), n = Oe.from(n), n.size) {
|
|
34849
34852
|
let s = this.contentMatch.fillBefore(n);
|
|
34850
34853
|
if (!s)
|
|
34851
34854
|
return null;
|
|
34852
34855
|
n = s.append(n);
|
|
34853
34856
|
}
|
|
34854
|
-
let r = this.contentMatch.matchFragment(n), o = r && r.fillBefore(
|
|
34857
|
+
let r = this.contentMatch.matchFragment(n), o = r && r.fillBefore(Oe.empty, !0);
|
|
34855
34858
|
return o ? new Hr(this, e, n.append(o), Vt.setFrom(i)) : null;
|
|
34856
34859
|
}
|
|
34857
34860
|
/**
|
|
@@ -35269,7 +35272,7 @@ class eu {
|
|
|
35269
35272
|
if (!this.match) {
|
|
35270
35273
|
if (!this.type)
|
|
35271
35274
|
return [];
|
|
35272
|
-
let n = this.type.contentMatch.fillBefore(
|
|
35275
|
+
let n = this.type.contentMatch.fillBefore(Oe.from(e));
|
|
35273
35276
|
if (n)
|
|
35274
35277
|
this.match = this.type.contentMatch.matchFragment(n);
|
|
35275
35278
|
else {
|
|
@@ -35287,8 +35290,8 @@ class eu {
|
|
|
35287
35290
|
i.text.length == r[0].length ? this.content.pop() : this.content[this.content.length - 1] = o.withText(o.text.slice(0, o.text.length - r[0].length));
|
|
35288
35291
|
}
|
|
35289
35292
|
}
|
|
35290
|
-
let n =
|
|
35291
|
-
return !e && this.match && (n = n.append(this.match.fillBefore(
|
|
35293
|
+
let n = Oe.from(this.content);
|
|
35294
|
+
return !e && this.match && (n = n.append(this.match.fillBefore(Oe.empty, !0))), this.type ? this.type.create(this.attrs, n, this.marks) : n;
|
|
35292
35295
|
}
|
|
35293
35296
|
inlineContext(e) {
|
|
35294
35297
|
return this.type ? this.type.inlineContent : this.content.length ? this.content[0].isInline : e.parentNode && !WA.hasOwnProperty(e.parentNode.nodeName.toLowerCase());
|
|
@@ -36110,7 +36113,7 @@ function ch(t, e, n) {
|
|
|
36110
36113
|
let o = t.child(r);
|
|
36111
36114
|
o.content.size && (o = o.copy(ch(o.content, e, o))), o.isInline && (o = e(o, n, r)), i.push(o);
|
|
36112
36115
|
}
|
|
36113
|
-
return
|
|
36116
|
+
return Oe.fromArray(i);
|
|
36114
36117
|
}
|
|
36115
36118
|
class Br extends Ln {
|
|
36116
36119
|
/**
|
|
@@ -36202,7 +36205,7 @@ class Nr extends Ln {
|
|
|
36202
36205
|
if (!n)
|
|
36203
36206
|
return en.fail("No node at mark step's position");
|
|
36204
36207
|
let i = n.type.create(n.attrs, null, this.mark.addToSet(n.marks));
|
|
36205
|
-
return en.fromReplace(e, this.pos, this.pos + 1, new je(
|
|
36208
|
+
return en.fromReplace(e, this.pos, this.pos + 1, new je(Oe.from(i), 0, n.isLeaf ? 0 : 1));
|
|
36206
36209
|
}
|
|
36207
36210
|
invert(e) {
|
|
36208
36211
|
let n = e.nodeAt(this.pos);
|
|
@@ -36246,7 +36249,7 @@ class Io extends Ln {
|
|
|
36246
36249
|
if (!n)
|
|
36247
36250
|
return en.fail("No node at mark step's position");
|
|
36248
36251
|
let i = n.type.create(n.attrs, null, this.mark.removeFromSet(n.marks));
|
|
36249
|
-
return en.fromReplace(e, this.pos, this.pos + 1, new je(
|
|
36252
|
+
return en.fromReplace(e, this.pos, this.pos + 1, new je(Oe.from(i), 0, n.isLeaf ? 0 : 1));
|
|
36250
36253
|
}
|
|
36251
36254
|
invert(e) {
|
|
36252
36255
|
let n = e.nodeAt(this.pos);
|
|
@@ -36445,13 +36448,13 @@ function dh(t, e, n, i = n.contentMatch, r = !0) {
|
|
|
36445
36448
|
if (r && u.isText && n.whitespace != "pre") {
|
|
36446
36449
|
let f, p = /\r?\n|\r/g, h;
|
|
36447
36450
|
for (; f = p.exec(u.text); )
|
|
36448
|
-
h || (h = new je(
|
|
36451
|
+
h || (h = new je(Oe.from(n.schema.text(" ", n.allowedMarks(u.marks))), 0, 0)), s.push(new cn(a + f.index, a + f.index + f[0].length, h));
|
|
36449
36452
|
}
|
|
36450
36453
|
}
|
|
36451
36454
|
a = c;
|
|
36452
36455
|
}
|
|
36453
36456
|
if (!i.validEnd) {
|
|
36454
|
-
let l = i.fillBefore(
|
|
36457
|
+
let l = i.fillBefore(Oe.empty, !0);
|
|
36455
36458
|
t.replace(a, a, new je(l, 0, 0));
|
|
36456
36459
|
}
|
|
36457
36460
|
for (let l = s.length - 1; l >= 0; l--)
|
|
@@ -36472,12 +36475,12 @@ function Ds(t) {
|
|
|
36472
36475
|
return null;
|
|
36473
36476
|
}
|
|
36474
36477
|
function Sj(t, e, n) {
|
|
36475
|
-
let { $from: i, $to: r, depth: o } = e, s = i.before(o + 1), a = r.after(o + 1), l = s, u = a, c =
|
|
36478
|
+
let { $from: i, $to: r, depth: o } = e, s = i.before(o + 1), a = r.after(o + 1), l = s, u = a, c = Oe.empty, d = 0;
|
|
36476
36479
|
for (let h = o, m = !1; h > n; h--)
|
|
36477
|
-
m || i.index(h) > 0 ? (m = !0, c =
|
|
36478
|
-
let f =
|
|
36480
|
+
m || i.index(h) > 0 ? (m = !0, c = Oe.from(i.node(h).copy(c)), d++) : l--;
|
|
36481
|
+
let f = Oe.empty, p = 0;
|
|
36479
36482
|
for (let h = o, m = !1; h > n; h--)
|
|
36480
|
-
m || r.after(h + 1) < r.end(h) ? (m = !0, f =
|
|
36483
|
+
m || r.after(h + 1) < r.end(h) ? (m = !0, f = Oe.from(r.node(h).copy(f)), p++) : u++;
|
|
36481
36484
|
t.step(new fn(l, u, s, a, new je(c.append(f), d, p), c.size - d, !0));
|
|
36482
36485
|
}
|
|
36483
36486
|
function fh(t, e, n = null, i = t) {
|
|
@@ -36504,14 +36507,14 @@ function kj(t, e) {
|
|
|
36504
36507
|
return !l || !l.validEnd ? null : s;
|
|
36505
36508
|
}
|
|
36506
36509
|
function Oj(t, e, n) {
|
|
36507
|
-
let i =
|
|
36510
|
+
let i = Oe.empty;
|
|
36508
36511
|
for (let s = n.length - 1; s >= 0; s--) {
|
|
36509
36512
|
if (i.size) {
|
|
36510
36513
|
let a = n[s].type.contentMatch.matchFragment(i);
|
|
36511
36514
|
if (!a || !a.validEnd)
|
|
36512
36515
|
throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper");
|
|
36513
36516
|
}
|
|
36514
|
-
i =
|
|
36517
|
+
i = Oe.from(n[s].type.create(n[s].attrs, i));
|
|
36515
36518
|
}
|
|
36516
36519
|
let r = e.start, o = e.end;
|
|
36517
36520
|
t.step(new fn(r, o, r, o, new je(i, 0, 0), n.length, !0));
|
|
@@ -36530,7 +36533,7 @@ function Tj(t, e, n, i, r) {
|
|
|
36530
36533
|
}
|
|
36531
36534
|
u === !1 && QA(t, s, a, o), dh(t, t.mapping.slice(o).map(a, 1), i, void 0, u === null);
|
|
36532
36535
|
let c = t.mapping.slice(o), d = c.map(a, 1), f = c.map(a + s.nodeSize, 1);
|
|
36533
|
-
return t.step(new fn(d, f, d + 1, f - 1, new je(
|
|
36536
|
+
return t.step(new fn(d, f, d + 1, f - 1, new je(Oe.from(i.create(l, null, s.marks)), 0, 0), 1, !0)), u === !0 && _A(t, s, a, o), !1;
|
|
36534
36537
|
}
|
|
36535
36538
|
});
|
|
36536
36539
|
}
|
|
@@ -36568,7 +36571,7 @@ function Mj(t, e, n, i, r) {
|
|
|
36568
36571
|
return t.replaceWith(e, e + o.nodeSize, s);
|
|
36569
36572
|
if (!n.validContent(o.content))
|
|
36570
36573
|
throw new RangeError("Invalid content for node type " + n.name);
|
|
36571
|
-
t.step(new fn(e, e + o.nodeSize, e + 1, e + o.nodeSize - 1, new je(
|
|
36574
|
+
t.step(new fn(e, e + o.nodeSize, e + 1, e + o.nodeSize - 1, new je(Oe.from(s), 0, 0), 1, !0));
|
|
36572
36575
|
}
|
|
36573
36576
|
function lr(t, e, n = 1, i) {
|
|
36574
36577
|
let r = t.resolve(e), o = r.depth - n, s = i && i[i.length - 1] || r.parent;
|
|
@@ -36588,11 +36591,11 @@ function lr(t, e, n = 1, i) {
|
|
|
36588
36591
|
return r.node(o).canReplaceWith(a, a, l ? l.type : r.node(o + 1).type);
|
|
36589
36592
|
}
|
|
36590
36593
|
function Ej(t, e, n = 1, i) {
|
|
36591
|
-
let r = t.doc.resolve(e), o =
|
|
36594
|
+
let r = t.doc.resolve(e), o = Oe.empty, s = Oe.empty;
|
|
36592
36595
|
for (let a = r.depth, l = r.depth - n, u = n - 1; a > l; a--, u--) {
|
|
36593
|
-
o =
|
|
36596
|
+
o = Oe.from(r.node(a).copy(o));
|
|
36594
36597
|
let c = i && i[u];
|
|
36595
|
-
s =
|
|
36598
|
+
s = Oe.from(c ? c.type.create(c.attrs, s) : r.node(a).copy(s));
|
|
36596
36599
|
}
|
|
36597
36600
|
t.step(new cn(e, e, new je(o.append(s), n, n), !0));
|
|
36598
36601
|
}
|
|
@@ -36697,7 +36700,7 @@ function t2(t, e, n) {
|
|
|
36697
36700
|
}
|
|
36698
36701
|
class Rj {
|
|
36699
36702
|
constructor(e, n, i) {
|
|
36700
|
-
this.$from = e, this.$to = n, this.unplaced = i, this.frontier = [], this.placed =
|
|
36703
|
+
this.$from = e, this.$to = n, this.unplaced = i, this.frontier = [], this.placed = Oe.empty;
|
|
36701
36704
|
for (let r = 0; r <= e.depth; r++) {
|
|
36702
36705
|
let o = e.node(r);
|
|
36703
36706
|
this.frontier.push({
|
|
@@ -36706,7 +36709,7 @@ class Rj {
|
|
|
36706
36709
|
});
|
|
36707
36710
|
}
|
|
36708
36711
|
for (let r = e.depth; r > 0; r--)
|
|
36709
|
-
this.placed =
|
|
36712
|
+
this.placed = Oe.from(e.node(r).copy(this.placed));
|
|
36710
36713
|
}
|
|
36711
36714
|
get depth() {
|
|
36712
36715
|
return this.frontier.length - 1;
|
|
@@ -36745,7 +36748,7 @@ class Rj {
|
|
|
36745
36748
|
let s = r.firstChild;
|
|
36746
36749
|
for (let a = this.depth; a >= 0; a--) {
|
|
36747
36750
|
let { type: l, match: u } = this.frontier[a], c, d = null;
|
|
36748
|
-
if (n == 1 && (s ? u.matchType(s.type) || (d = u.fillBefore(
|
|
36751
|
+
if (n == 1 && (s ? u.matchType(s.type) || (d = u.fillBefore(Oe.from(s), !1)) : o && l.compatibleContent(o.type)))
|
|
36749
36752
|
return { sliceDepth: i, frontierDepth: a, parent: o, inject: d };
|
|
36750
36753
|
if (n == 2 && s && (c = u.findWrapping(s.type)))
|
|
36751
36754
|
return { sliceDepth: i, frontierDepth: a, parent: o, wrap: c };
|
|
@@ -36789,7 +36792,7 @@ class Rj {
|
|
|
36789
36792
|
u++, (u > 1 || l == 0 || m.content.size) && (d = v, c.push(n2(m.mark(f.allowedMarks(m.marks)), u == 1 ? l : 0, u == a.childCount ? p : -1)));
|
|
36790
36793
|
}
|
|
36791
36794
|
let h = u == a.childCount;
|
|
36792
|
-
h || (p = -1), this.placed = Js(this.placed, n,
|
|
36795
|
+
h || (p = -1), this.placed = Js(this.placed, n, Oe.from(c)), this.frontier[n].match = d, h && p < 0 && i && i.type == this.frontier[this.depth].type && this.frontier.length > 1 && this.closeFrontierNode();
|
|
36793
36796
|
for (let m = 0, v = a; m < p; m++) {
|
|
36794
36797
|
let S = v.lastChild;
|
|
36795
36798
|
this.frontier.push({ type: S.type, match: S.contentMatchAt(S.childCount) }), v = S.content;
|
|
@@ -36835,10 +36838,10 @@ class Rj {
|
|
|
36835
36838
|
}
|
|
36836
36839
|
openFrontierNode(e, n = null, i) {
|
|
36837
36840
|
let r = this.frontier[this.depth];
|
|
36838
|
-
r.match = r.match.matchType(e), this.placed = Js(this.placed, this.depth,
|
|
36841
|
+
r.match = r.match.matchType(e), this.placed = Js(this.placed, this.depth, Oe.from(e.create(n, i))), this.frontier.push({ type: e, match: e.contentMatch });
|
|
36839
36842
|
}
|
|
36840
36843
|
closeFrontierNode() {
|
|
36841
|
-
let n = this.frontier.pop().match.fillBefore(
|
|
36844
|
+
let n = this.frontier.pop().match.fillBefore(Oe.empty, !0);
|
|
36842
36845
|
n.childCount && (this.placed = Js(this.placed, this.frontier.length, n));
|
|
36843
36846
|
}
|
|
36844
36847
|
}
|
|
@@ -36857,7 +36860,7 @@ function n2(t, e, n) {
|
|
|
36857
36860
|
if (e <= 0)
|
|
36858
36861
|
return t;
|
|
36859
36862
|
let i = t.content;
|
|
36860
|
-
return e > 1 && (i = i.replaceChild(0, n2(i.firstChild, e - 1, i.childCount == 1 ? n - 1 : 0))), e > 0 && (i = t.type.contentMatch.fillBefore(i).append(i), n <= 0 && (i = i.append(t.type.contentMatch.matchFragment(i).fillBefore(
|
|
36863
|
+
return e > 1 && (i = i.replaceChild(0, n2(i.firstChild, e - 1, i.childCount == 1 ? n - 1 : 0))), e > 0 && (i = t.type.contentMatch.fillBefore(i).append(i), n <= 0 && (i = i.append(t.type.contentMatch.matchFragment(i).fillBefore(Oe.empty, !0)))), t.copy(i);
|
|
36861
36864
|
}
|
|
36862
36865
|
function Bd(t, e, n, i, r) {
|
|
36863
36866
|
let o = t.node(e), s = r ? t.indexAfter(e) : t.index(e);
|
|
@@ -36929,7 +36932,7 @@ function i2(t, e, n, i, r) {
|
|
|
36929
36932
|
}
|
|
36930
36933
|
if (e > i) {
|
|
36931
36934
|
let o = r.contentMatchAt(0), s = o.fillBefore(t).append(t);
|
|
36932
|
-
t = s.append(o.matchFragment(s).fillBefore(
|
|
36935
|
+
t = s.append(o.matchFragment(s).fillBefore(Oe.empty, !0));
|
|
36933
36936
|
}
|
|
36934
36937
|
return t;
|
|
36935
36938
|
}
|
|
@@ -36938,7 +36941,7 @@ function zj(t, e, n, i) {
|
|
|
36938
36941
|
let r = Lj(t.doc, e, i.type);
|
|
36939
36942
|
r != null && (e = n = r);
|
|
36940
36943
|
}
|
|
36941
|
-
t.replaceRange(e, n, new je(
|
|
36944
|
+
t.replaceRange(e, n, new je(Oe.from(i), 0, 0));
|
|
36942
36945
|
}
|
|
36943
36946
|
function Fj(t, e, n) {
|
|
36944
36947
|
let i = t.doc.resolve(e), r = t.doc.resolve(n), o = r2(i, r);
|
|
@@ -36980,7 +36983,7 @@ class ss extends Ln {
|
|
|
36980
36983
|
i[o] = n.attrs[o];
|
|
36981
36984
|
i[this.attr] = this.value;
|
|
36982
36985
|
let r = n.type.create(i, null, n.marks);
|
|
36983
|
-
return en.fromReplace(e, this.pos, this.pos + 1, new je(
|
|
36986
|
+
return en.fromReplace(e, this.pos, this.pos + 1, new je(Oe.from(r), 0, n.isLeaf ? 0 : 1));
|
|
36984
36987
|
}
|
|
36985
36988
|
getMap() {
|
|
36986
36989
|
return _n.empty;
|
|
@@ -37102,7 +37105,7 @@ class o2 {
|
|
|
37102
37105
|
fragment, node, or array of nodes.
|
|
37103
37106
|
*/
|
|
37104
37107
|
replaceWith(e, n, i) {
|
|
37105
|
-
return this.replace(e, n, new je(
|
|
37108
|
+
return this.replace(e, n, new je(Oe.from(i), 0, 0));
|
|
37106
37109
|
}
|
|
37107
37110
|
/**
|
|
37108
37111
|
Delete the content between the given positions.
|
|
@@ -37545,7 +37548,7 @@ class it extends St {
|
|
|
37545
37548
|
return i ? St.near(o) : new it(o);
|
|
37546
37549
|
}
|
|
37547
37550
|
content() {
|
|
37548
|
-
return new je(
|
|
37551
|
+
return new je(Oe.from(this.node), 0, 0);
|
|
37549
37552
|
}
|
|
37550
37553
|
eq(e) {
|
|
37551
37554
|
return e instanceof it && e.anchor == this.anchor;
|
|
@@ -39004,7 +39007,7 @@ class Kr extends kl {
|
|
|
39004
39007
|
break;
|
|
39005
39008
|
}
|
|
39006
39009
|
}
|
|
39007
|
-
e.contentElement || (e.getContent = () =>
|
|
39010
|
+
e.contentElement || (e.getContent = () => Oe.empty);
|
|
39008
39011
|
}
|
|
39009
39012
|
return e;
|
|
39010
39013
|
}
|
|
@@ -39951,7 +39954,7 @@ function O2(t, e, n, i, r) {
|
|
|
39951
39954
|
if (t.someProp("transformPastedText", (f) => {
|
|
39952
39955
|
e = f(e, o || i, t);
|
|
39953
39956
|
}), o)
|
|
39954
|
-
return e ? new je(
|
|
39957
|
+
return e ? new je(Oe.from(t.state.schema.text(e.replace(/\r\n?/g, `
|
|
39955
39958
|
`))), 0, 0) : je.empty;
|
|
39956
39959
|
let d = t.someProp("clipboardTextParser", (f) => f(e, r, i, t));
|
|
39957
39960
|
if (d)
|
|
@@ -40017,13 +40020,13 @@ function RK(t, e) {
|
|
|
40017
40020
|
s.push(c), r = r.matchType(c.type), o = l;
|
|
40018
40021
|
}
|
|
40019
40022
|
}), s)
|
|
40020
|
-
return
|
|
40023
|
+
return Oe.from(s);
|
|
40021
40024
|
}
|
|
40022
40025
|
return t;
|
|
40023
40026
|
}
|
|
40024
40027
|
function T2(t, e, n = 0) {
|
|
40025
40028
|
for (let i = e.length - 1; i >= n; i--)
|
|
40026
|
-
t = e[i].create(null,
|
|
40029
|
+
t = e[i].create(null, Oe.from(t));
|
|
40027
40030
|
return t;
|
|
40028
40031
|
}
|
|
40029
40032
|
function x2(t, e, n, i, r) {
|
|
@@ -40032,18 +40035,18 @@ function x2(t, e, n, i, r) {
|
|
|
40032
40035
|
if (o)
|
|
40033
40036
|
return i.copy(i.content.replaceChild(i.childCount - 1, o));
|
|
40034
40037
|
if (i.contentMatchAt(i.childCount).matchType(r == t.length - 1 ? n.type : t[r + 1]))
|
|
40035
|
-
return i.copy(i.content.append(
|
|
40038
|
+
return i.copy(i.content.append(Oe.from(T2(n, t, r + 1))));
|
|
40036
40039
|
}
|
|
40037
40040
|
}
|
|
40038
40041
|
function M2(t, e) {
|
|
40039
40042
|
if (e == 0)
|
|
40040
40043
|
return t;
|
|
40041
|
-
let n = t.content.replaceChild(t.childCount - 1, M2(t.lastChild, e - 1)), i = t.contentMatchAt(t.childCount).fillBefore(
|
|
40044
|
+
let n = t.content.replaceChild(t.childCount - 1, M2(t.lastChild, e - 1)), i = t.contentMatchAt(t.childCount).fillBefore(Oe.empty, !0);
|
|
40042
40045
|
return t.copy(n.append(i));
|
|
40043
40046
|
}
|
|
40044
40047
|
function cp(t, e, n, i, r, o) {
|
|
40045
40048
|
let s = e < 0 ? t.firstChild : t.lastChild, a = s.content;
|
|
40046
|
-
return t.childCount > 1 && (o = 0), r < i - 1 && (a = cp(a, e, n, i, r + 1, o)), r >= n && (a = e < 0 ? s.contentMatchAt(0).fillBefore(a, o <= r).append(a) : a.append(s.contentMatchAt(s.childCount).fillBefore(
|
|
40049
|
+
return t.childCount > 1 && (o = 0), r < i - 1 && (a = cp(a, e, n, i, r + 1, o)), r >= n && (a = e < 0 ? s.contentMatchAt(0).fillBefore(a, o <= r).append(a) : a.append(s.contentMatchAt(s.childCount).fillBefore(Oe.empty, !0))), t.replaceChild(e < 0 ? 0 : t.childCount - 1, s.copy(a));
|
|
40047
40050
|
}
|
|
40048
40051
|
function v1(t, e, n) {
|
|
40049
40052
|
return e < t.openStart && (t = new je(cp(t.content, -1, e, t.openStart, 0, t.openEnd), e, t.openEnd)), n < t.openEnd && (t = new je(cp(t.content, 1, n, t.openEnd, 0, 0), t.openStart, n)), t;
|
|
@@ -40098,7 +40101,7 @@ function zK(t, e) {
|
|
|
40098
40101
|
let l = n.nodes[i[a]];
|
|
40099
40102
|
if (!l || l.hasRequiredAttrs())
|
|
40100
40103
|
break;
|
|
40101
|
-
r =
|
|
40104
|
+
r = Oe.from(l.create(i[a + 1], r)), o++, s++;
|
|
40102
40105
|
}
|
|
40103
40106
|
return new je(r, o, s);
|
|
40104
40107
|
}
|
|
@@ -41368,7 +41371,7 @@ function bU(t, e) {
|
|
|
41368
41371
|
let u = [];
|
|
41369
41372
|
for (let c = 0; c < e.childCount; c++)
|
|
41370
41373
|
u.push(l(e.child(c)));
|
|
41371
|
-
if (
|
|
41374
|
+
if (Oe.from(u).eq(t))
|
|
41372
41375
|
return { mark: a, type: s };
|
|
41373
41376
|
}
|
|
41374
41377
|
function AU(t, e, n, i, r) {
|
|
@@ -42223,10 +42226,10 @@ function Y2(t, e, n, i) {
|
|
|
42223
42226
|
let u = !l && e.parent.canReplace(e.index(), e.index() + 1);
|
|
42224
42227
|
if (u && (s = (a = r.contentMatchAt(r.childCount)).findWrapping(o.type)) && a.matchType(s[0] || o.type).validEnd) {
|
|
42225
42228
|
if (n) {
|
|
42226
|
-
let p = e.pos + o.nodeSize, h =
|
|
42229
|
+
let p = e.pos + o.nodeSize, h = Oe.empty;
|
|
42227
42230
|
for (let S = s.length - 1; S >= 0; S--)
|
|
42228
|
-
h =
|
|
42229
|
-
h =
|
|
42231
|
+
h = Oe.from(s[S].create(null, h));
|
|
42232
|
+
h = Oe.from(r.copy(h));
|
|
42230
42233
|
let m = t.tr.step(new fn(e.pos - 1, p, e.pos, p, new je(h, 1, 0), s.length, !0)), v = m.doc.resolve(p + 2 * s.length);
|
|
42231
42234
|
v.nodeAfter && v.nodeAfter.type == r.type && _r(m.doc, v.pos) && m.join(v.pos), n(m.scrollIntoView());
|
|
42232
42235
|
}
|
|
@@ -42244,9 +42247,9 @@ function Y2(t, e, n, i) {
|
|
|
42244
42247
|
v++;
|
|
42245
42248
|
if (p.canReplace(p.childCount, p.childCount, m.content)) {
|
|
42246
42249
|
if (n) {
|
|
42247
|
-
let S =
|
|
42250
|
+
let S = Oe.empty;
|
|
42248
42251
|
for (let k = h.length - 1; k >= 0; k--)
|
|
42249
|
-
S =
|
|
42252
|
+
S = Oe.from(h[k].copy(S));
|
|
42250
42253
|
let w = t.tr.step(new fn(e.pos - h.length, e.pos + o.nodeSize, e.pos + v, e.pos + o.nodeSize - v, new je(S, h.length, 0), 0, !0));
|
|
42251
42254
|
n(w.scrollIntoView());
|
|
42252
42255
|
}
|
|
@@ -42336,9 +42339,9 @@ function ZU(t, e, n, i = null) {
|
|
|
42336
42339
|
return a ? (t && qU(t, e, a, r, n), !0) : !1;
|
|
42337
42340
|
}
|
|
42338
42341
|
function qU(t, e, n, i, r) {
|
|
42339
|
-
let o =
|
|
42342
|
+
let o = Oe.empty;
|
|
42340
42343
|
for (let c = n.length - 1; c >= 0; c--)
|
|
42341
|
-
o =
|
|
42344
|
+
o = Oe.from(n[c].type.create(n[c].attrs, o));
|
|
42342
42345
|
t.step(new fn(e.start - (i ? 2 : 0), e.end, e.start, e.end, new je(o, 0, 0), n.length, !0));
|
|
42343
42346
|
let s = 0;
|
|
42344
42347
|
for (let c = 0; c < n.length; c++)
|
|
@@ -42356,7 +42359,7 @@ function GU(t) {
|
|
|
42356
42359
|
}
|
|
42357
42360
|
function JU(t, e, n, i) {
|
|
42358
42361
|
let r = t.tr, o = i.end, s = i.$to.end(i.depth);
|
|
42359
|
-
o < s && (r.step(new fn(o - 1, s, o, s, new je(
|
|
42362
|
+
o < s && (r.step(new fn(o - 1, s, o, s, new je(Oe.from(n.create(null, i.parent.copy())), 1, 0), 1, !0)), i = new Vu(r.doc.resolve(i.$from.pos), r.doc.resolve(s), i.depth));
|
|
42360
42363
|
const a = Ds(i);
|
|
42361
42364
|
if (a == null)
|
|
42362
42365
|
return !1;
|
|
@@ -42372,10 +42375,10 @@ function YU(t, e, n) {
|
|
|
42372
42375
|
if (i.mapping.map(n.end) != n.start + o.nodeAfter.nodeSize)
|
|
42373
42376
|
return !1;
|
|
42374
42377
|
let a = n.startIndex == 0, l = n.endIndex == r.childCount, u = o.node(-1), c = o.index(-1);
|
|
42375
|
-
if (!u.canReplace(c + (a ? 0 : 1), c + 1, s.content.append(l ?
|
|
42378
|
+
if (!u.canReplace(c + (a ? 0 : 1), c + 1, s.content.append(l ? Oe.empty : Oe.from(r))))
|
|
42376
42379
|
return !1;
|
|
42377
42380
|
let d = o.pos, f = d + s.nodeSize;
|
|
42378
|
-
return i.step(new fn(d - (a ? 1 : 0), f + (l ? 1 : 0), d + 1, f - 1, new je((a ?
|
|
42381
|
+
return i.step(new fn(d - (a ? 1 : 0), f + (l ? 1 : 0), d + 1, f - 1, new je((a ? Oe.empty : Oe.from(r.copy(Oe.empty))).append(l ? Oe.empty : Oe.from(r.copy(Oe.empty))), a ? 0 : 1, l ? 0 : 1), a ? 0 : 1)), e(i.scrollIntoView()), !0;
|
|
42379
42382
|
}
|
|
42380
42383
|
function _U(t) {
|
|
42381
42384
|
return function(e, n) {
|
|
@@ -42389,7 +42392,7 @@ function _U(t) {
|
|
|
42389
42392
|
if (l.type != t)
|
|
42390
42393
|
return !1;
|
|
42391
42394
|
if (n) {
|
|
42392
|
-
let u = l.lastChild && l.lastChild.type == a.type, c =
|
|
42395
|
+
let u = l.lastChild && l.lastChild.type == a.type, c = Oe.from(u ? t.create() : null), d = new je(Oe.from(t.create(null, Oe.from(a.type.create(null, c)))), u ? 3 : 1, 0), f = o.start, p = o.end;
|
|
42393
42396
|
n(e.tr.step(new fn(f - (u ? 3 : 1), p, f, p, d, 1, !0)).scrollIntoView());
|
|
42394
42397
|
}
|
|
42395
42398
|
return !0;
|
|
@@ -42823,7 +42826,7 @@ function oW(t) {
|
|
|
42823
42826
|
const l = r.getMeta("applyInputRules");
|
|
42824
42827
|
return !!l && setTimeout(() => {
|
|
42825
42828
|
let { text: c } = l;
|
|
42826
|
-
typeof c == "string" ? c = c : c = Mh(
|
|
42829
|
+
typeof c == "string" ? c = c : c = Mh(Oe.from(c), s.schema);
|
|
42827
42830
|
const { from: d } = l, f = d + c.length;
|
|
42828
42831
|
tu({
|
|
42829
42832
|
editor: e,
|
|
@@ -43064,7 +43067,7 @@ function fW(t) {
|
|
|
43064
43067
|
return;
|
|
43065
43068
|
if (w) {
|
|
43066
43069
|
let { text: A } = S;
|
|
43067
|
-
typeof A == "string" ? A = A : A = Mh(
|
|
43070
|
+
typeof A == "string" ? A = A : A = Mh(Oe.from(A), p.schema);
|
|
43068
43071
|
const { from: b } = S, T = b + A.length, P = dW(A);
|
|
43069
43072
|
return l({
|
|
43070
43073
|
rule: c,
|
|
@@ -43504,7 +43507,7 @@ function ru(t) {
|
|
|
43504
43507
|
return ow(n);
|
|
43505
43508
|
}
|
|
43506
43509
|
function Xu(t, e, n) {
|
|
43507
|
-
if (t instanceof Hr || t instanceof
|
|
43510
|
+
if (t instanceof Hr || t instanceof Oe)
|
|
43508
43511
|
return t;
|
|
43509
43512
|
n = {
|
|
43510
43513
|
slice: !0,
|
|
@@ -43515,7 +43518,7 @@ function Xu(t, e, n) {
|
|
|
43515
43518
|
if (i)
|
|
43516
43519
|
try {
|
|
43517
43520
|
if (Array.isArray(t) && t.length > 0)
|
|
43518
|
-
return
|
|
43521
|
+
return Oe.fromArray(t.map((a) => e.nodeFromJSON(a)));
|
|
43519
43522
|
const s = e.nodeFromJSON(t);
|
|
43520
43523
|
return n.errorOnInvalidContent && s.check(), s;
|
|
43521
43524
|
} catch (o) {
|
|
@@ -43604,7 +43607,7 @@ const DW = (t) => !("type" in t), RW = (t, e, n) => ({ tr: i, dispatch: r, edito
|
|
|
43604
43607
|
if (c) {
|
|
43605
43608
|
if (Array.isArray(e))
|
|
43606
43609
|
p = e.map((h) => h.text || "").join("");
|
|
43607
|
-
else if (e instanceof
|
|
43610
|
+
else if (e instanceof Oe) {
|
|
43608
43611
|
let h = "";
|
|
43609
43612
|
e.forEach((m) => {
|
|
43610
43613
|
m.text && (h += m.text);
|
|
@@ -44061,15 +44064,15 @@ const wX = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: i, edit
|
|
|
44061
44064
|
if (l.depth === 2 || l.node(-3).type !== a || l.index(-2) !== l.node(-2).childCount - 1)
|
|
44062
44065
|
return !1;
|
|
44063
44066
|
if (r) {
|
|
44064
|
-
let S =
|
|
44067
|
+
let S = Oe.empty;
|
|
44065
44068
|
const w = l.index(-1) ? 1 : l.index(-2) ? 2 : 3;
|
|
44066
44069
|
for (let P = l.depth - w; P >= l.depth - 3; P -= 1)
|
|
44067
|
-
S =
|
|
44070
|
+
S = Oe.from(l.node(P).copy(S));
|
|
44068
44071
|
const k = l.indexAfter(-1) < l.node(-2).childCount ? 1 : l.indexAfter(-2) < l.node(-3).childCount ? 2 : 3, y = {
|
|
44069
44072
|
...Au(f, l.node().type.name, l.node().attrs),
|
|
44070
44073
|
...e
|
|
44071
44074
|
}, A = ((s = a.contentMatch.defaultType) === null || s === void 0 ? void 0 : s.createAndFill(y)) || void 0;
|
|
44072
|
-
S = S.append(
|
|
44075
|
+
S = S.append(Oe.from(a.createAndFill(null, A) || void 0));
|
|
44073
44076
|
const b = l.before(l.depth - (w - 1));
|
|
44074
44077
|
n.replace(b, l.after(-k), new je(S, 4 - w, 0));
|
|
44075
44078
|
let T = -1;
|
|
@@ -49174,7 +49177,7 @@ zn.create({
|
|
|
49174
49177
|
] : [];
|
|
49175
49178
|
}
|
|
49176
49179
|
});
|
|
49177
|
-
|
|
49180
|
+
Te({
|
|
49178
49181
|
name: "BubbleMenu",
|
|
49179
49182
|
props: {
|
|
49180
49183
|
pluginKey: {
|
|
@@ -49260,7 +49263,7 @@ class VG extends UX {
|
|
|
49260
49263
|
return this.reactiveState && n && (this.reactiveState.value = n), n;
|
|
49261
49264
|
}
|
|
49262
49265
|
}
|
|
49263
|
-
const zG =
|
|
49266
|
+
const zG = Te({
|
|
49264
49267
|
name: "EditorContent",
|
|
49265
49268
|
props: {
|
|
49266
49269
|
editor: {
|
|
@@ -49298,7 +49301,7 @@ const zG = Oe({
|
|
|
49298
49301
|
}
|
|
49299
49302
|
});
|
|
49300
49303
|
}
|
|
49301
|
-
}), lf =
|
|
49304
|
+
}), lf = Te({
|
|
49302
49305
|
name: "FloatingMenu",
|
|
49303
49306
|
props: {
|
|
49304
49307
|
pluginKey: {
|
|
@@ -49340,7 +49343,7 @@ const zG = Oe({
|
|
|
49340
49343
|
};
|
|
49341
49344
|
}
|
|
49342
49345
|
});
|
|
49343
|
-
|
|
49346
|
+
Te({
|
|
49344
49347
|
name: "NodeViewContent",
|
|
49345
49348
|
props: {
|
|
49346
49349
|
as: {
|
|
@@ -49357,7 +49360,7 @@ Oe({
|
|
|
49357
49360
|
});
|
|
49358
49361
|
}
|
|
49359
49362
|
});
|
|
49360
|
-
const Uw =
|
|
49363
|
+
const Uw = Te({
|
|
49361
49364
|
name: "NodeViewWrapper",
|
|
49362
49365
|
props: {
|
|
49363
49366
|
as: {
|
|
@@ -49477,7 +49480,7 @@ class HG extends ZX {
|
|
|
49477
49480
|
deleteNode: () => this.deleteNode()
|
|
49478
49481
|
}, n = this.onDragStart.bind(this);
|
|
49479
49482
|
this.decorationClasses = se(this.getDecorationClasses());
|
|
49480
|
-
const i =
|
|
49483
|
+
const i = Te({
|
|
49481
49484
|
extends: { ...this.component },
|
|
49482
49485
|
props: Object.keys(e),
|
|
49483
49486
|
template: this.component.template,
|
|
@@ -49597,7 +49600,7 @@ function Zw(t, e) {
|
|
|
49597
49600
|
return new HG(i, n, e);
|
|
49598
49601
|
};
|
|
49599
49602
|
}
|
|
49600
|
-
const $G = /* @__PURE__ */
|
|
49603
|
+
const $G = /* @__PURE__ */ Te({
|
|
49601
49604
|
__name: "CodeSnippetAdapter",
|
|
49602
49605
|
props: Xw,
|
|
49603
49606
|
setup(t) {
|
|
@@ -49652,7 +49655,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
49652
49655
|
}), KG = { class: "flex flex-col gap-1 border-primary-400 border-[2px] rounded-md relative my-4" }, UG = { class: "!font-semibold !text-sm absolute -top-[10px] ml-2 bg-white border-primary-400 border-[2px] px-4 rounded-md" }, WG = /* @__PURE__ */ E("span", { class: "text-xs" }, "#", -1), XG = {
|
|
49653
49656
|
key: 0,
|
|
49654
49657
|
class: "absolute top-[45%] px-4 text-gray-400"
|
|
49655
|
-
}, ZG = ["contenteditable"], qG = /* @__PURE__ */
|
|
49658
|
+
}, ZG = ["contenteditable"], qG = /* @__PURE__ */ Te({
|
|
49656
49659
|
__name: "MentionSection",
|
|
49657
49660
|
props: Xw,
|
|
49658
49661
|
setup(t) {
|
|
@@ -49737,7 +49740,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
49737
49740
|
}), JG = { class: "bg-white border border-gray-200 rounded-lg shadow-md flex flex-col max-h-72 overflow-y-scroll w-fit gap-1 p-2 relative" }, YG = ["onClick"], _G = { class: "flex flex-col gap-[1px]" }, QG = { class: "!text-[10px] !font-light" }, eJ = {
|
|
49738
49741
|
key: 1,
|
|
49739
49742
|
class: "text-xs font-semibold"
|
|
49740
|
-
}, tJ = /* @__PURE__ */
|
|
49743
|
+
}, tJ = /* @__PURE__ */ Te({
|
|
49741
49744
|
__name: "MentionList",
|
|
49742
49745
|
props: {
|
|
49743
49746
|
items: {},
|
|
@@ -49826,7 +49829,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
49826
49829
|
return !1;
|
|
49827
49830
|
const n = oJ(t.type);
|
|
49828
49831
|
return t.size <= (n === "mp4" || n === "mkv" ? rJ : e);
|
|
49829
|
-
}, so = /* @__PURE__ */
|
|
49832
|
+
}, so = /* @__PURE__ */ Te({
|
|
49830
49833
|
__name: "EditorButton",
|
|
49831
49834
|
props: {
|
|
49832
49835
|
classButton: {}
|
|
@@ -49872,7 +49875,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
49872
49875
|
"[&_.separator::after]:font-thin",
|
|
49873
49876
|
"[&_.separator]:h-6"
|
|
49874
49877
|
])
|
|
49875
|
-
}, OJ = /* @__PURE__ */
|
|
49878
|
+
}, OJ = /* @__PURE__ */ Te({
|
|
49876
49879
|
__name: "Editor",
|
|
49877
49880
|
props: /* @__PURE__ */ nn({
|
|
49878
49881
|
modelValue: {},
|
|
@@ -50678,7 +50681,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
50678
50681
|
}, DJ = {
|
|
50679
50682
|
key: 7,
|
|
50680
50683
|
class: "grid grid-cols-[max-content,1fr] gap-2 items-center"
|
|
50681
|
-
}, RJ = ["alt", "src"], BJ = ["href"], cu = /* @__PURE__ */
|
|
50684
|
+
}, RJ = ["alt", "src"], BJ = ["href"], cu = /* @__PURE__ */ Te({
|
|
50682
50685
|
__name: "TimelineContentByType",
|
|
50683
50686
|
props: {
|
|
50684
50687
|
detail: {}
|
|
@@ -50784,7 +50787,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
50784
50787
|
}, XJ = { class: "font-semibold whitespace-nowrap" }, ZJ = { class: "text-xs" }, qJ = {
|
|
50785
50788
|
key: 1,
|
|
50786
50789
|
class: "grid grid-rows-[max-content,auto] gap-1"
|
|
50787
|
-
}, GJ = { class: "font-semibold whitespace-nowrap" }, dee = /* @__PURE__ */
|
|
50790
|
+
}, GJ = { class: "font-semibold whitespace-nowrap" }, dee = /* @__PURE__ */ Te({
|
|
50788
50791
|
__name: "Timeline",
|
|
50789
50792
|
props: {
|
|
50790
50793
|
value: {},
|
|
@@ -50904,7 +50907,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
50904
50907
|
}, YJ = {
|
|
50905
50908
|
class: "text-[10px] leading-3 tracking-[0.03em] flex gap-1",
|
|
50906
50909
|
"data-wv-name": "tagtype"
|
|
50907
|
-
}, _J = ["data-wv-section"], QJ = /* @__PURE__ */
|
|
50910
|
+
}, _J = ["data-wv-section"], QJ = /* @__PURE__ */ Te({
|
|
50908
50911
|
__name: "TagType",
|
|
50909
50912
|
props: {
|
|
50910
50913
|
type: {}
|
|
@@ -50956,7 +50959,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
50956
50959
|
}, mY = /* @__PURE__ */ E("span", null, ":", -1), gY = {
|
|
50957
50960
|
key: 3,
|
|
50958
50961
|
class: "flex gap-3"
|
|
50959
|
-
}, vY = /* @__PURE__ */ E("span", null, ":", -1), fee = /* @__PURE__ */
|
|
50962
|
+
}, vY = /* @__PURE__ */ E("span", null, ":", -1), fee = /* @__PURE__ */ Te({
|
|
50960
50963
|
__name: "AssetInfo",
|
|
50961
50964
|
props: {
|
|
50962
50965
|
id: {},
|
|
@@ -51204,7 +51207,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
51204
51207
|
}, wY = {
|
|
51205
51208
|
class: "flex items-end justify-end gap-2",
|
|
51206
51209
|
"data-wv-section": "filteractionbuttons"
|
|
51207
|
-
}, SY = /* @__PURE__ */
|
|
51210
|
+
}, SY = /* @__PURE__ */ Te({
|
|
51208
51211
|
inheritAttrs: !1,
|
|
51209
51212
|
__name: "FilterContainer",
|
|
51210
51213
|
props: {
|
|
@@ -51401,7 +51404,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
51401
51404
|
[En, f.value]
|
|
51402
51405
|
]);
|
|
51403
51406
|
}
|
|
51404
|
-
}), Gw = /* @__PURE__ */
|
|
51407
|
+
}), Gw = /* @__PURE__ */ Te({
|
|
51405
51408
|
__name: "FilterContainer",
|
|
51406
51409
|
setup(t) {
|
|
51407
51410
|
return (e, n) => (g(), I(SY, C({
|
|
@@ -51422,7 +51425,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
51422
51425
|
_: 1
|
|
51423
51426
|
}, 16, ["fields"]));
|
|
51424
51427
|
}
|
|
51425
|
-
}), CY = /* @__PURE__ */
|
|
51428
|
+
}), CY = /* @__PURE__ */ Te({
|
|
51426
51429
|
__name: "DialogSelectUserFilter",
|
|
51427
51430
|
props: {
|
|
51428
51431
|
tableName: {},
|
|
@@ -51466,7 +51469,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
51466
51469
|
key: 0,
|
|
51467
51470
|
class: "text-danger-500 text-[12px] font-light",
|
|
51468
51471
|
"data-ts-section": "warning-message"
|
|
51469
|
-
}, PY = /* @__PURE__ */
|
|
51472
|
+
}, PY = /* @__PURE__ */ Te({
|
|
51470
51473
|
__name: "DialogSelectUser",
|
|
51471
51474
|
props: {
|
|
51472
51475
|
header: { default: "Select User" },
|
|
@@ -51568,7 +51571,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
51568
51571
|
}), LY = {
|
|
51569
51572
|
key: 0,
|
|
51570
51573
|
class: "flex gap-1 items-center"
|
|
51571
|
-
}, DY = { class: "text-primary-500 text-xs font-medium" }, RY = /* @__PURE__ */ E("p", null, "Are you sure you want to continue?", -1), pee = /* @__PURE__ */
|
|
51574
|
+
}, DY = { class: "text-primary-500 text-xs font-medium" }, RY = /* @__PURE__ */ E("p", null, "Are you sure you want to continue?", -1), pee = /* @__PURE__ */ Te({
|
|
51572
51575
|
__name: "ButtonSelectUser",
|
|
51573
51576
|
props: {
|
|
51574
51577
|
fetchFunction: { type: Function },
|
|
@@ -51656,7 +51659,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
51656
51659
|
], 64);
|
|
51657
51660
|
};
|
|
51658
51661
|
}
|
|
51659
|
-
}), hee = /* @__PURE__ */
|
|
51662
|
+
}), hee = /* @__PURE__ */ Te({
|
|
51660
51663
|
__name: "ButtonViewLog",
|
|
51661
51664
|
props: {
|
|
51662
51665
|
showLog: { type: Boolean }
|
|
@@ -51671,7 +51674,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
51671
51674
|
tooltip: "Changelog"
|
|
51672
51675
|
}, null, 8, ["outlined"]));
|
|
51673
51676
|
}
|
|
51674
|
-
}), mee = /* @__PURE__ */
|
|
51677
|
+
}), mee = /* @__PURE__ */ Te({
|
|
51675
51678
|
__name: "UserWithIcon",
|
|
51676
51679
|
props: {
|
|
51677
51680
|
user: {}
|
|
@@ -51683,7 +51686,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
51683
51686
|
"user-name-field": "fullName"
|
|
51684
51687
|
}, null, 8, ["user"]));
|
|
51685
51688
|
}
|
|
51686
|
-
}), BY = { class: "w-full" }, gee = /* @__PURE__ */
|
|
51689
|
+
}), BY = { class: "w-full" }, gee = /* @__PURE__ */ Te({
|
|
51687
51690
|
__name: "InputSearch",
|
|
51688
51691
|
emits: ["search"],
|
|
51689
51692
|
setup(t, { emit: e }) {
|
|
@@ -51732,7 +51735,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
51732
51735
|
}), NY = {
|
|
51733
51736
|
class: "flex gap-1 items-center text-placeholder",
|
|
51734
51737
|
"data-section-name": "transaction-role-lists"
|
|
51735
|
-
}, vee = /* @__PURE__ */
|
|
51738
|
+
}, vee = /* @__PURE__ */ Te({
|
|
51736
51739
|
__name: "TransactionRoles",
|
|
51737
51740
|
props: {
|
|
51738
51741
|
asset: {},
|
|
@@ -53519,7 +53522,7 @@ const by = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABXCAYAAACAw4LhAA
|
|
|
53519
53522
|
background-size: 120%;
|
|
53520
53523
|
}
|
|
53521
53524
|
}
|
|
53522
|
-
`, __ = "Q*2D1AB4", yee = /* @__PURE__ */
|
|
53525
|
+
`, __ = "Q*2D1AB4", yee = /* @__PURE__ */ Te({
|
|
53523
53526
|
__name: "DialogPrintQR",
|
|
53524
53527
|
props: {
|
|
53525
53528
|
visible: { type: Boolean }
|
|
@@ -53865,7 +53868,7 @@ const by = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABXCAYAAACAw4LhAA
|
|
|
53865
53868
|
], iQ = { class: "flex flex-col gap-2" }, rQ = {
|
|
53866
53869
|
class: "flex items-center gap-1",
|
|
53867
53870
|
"data-ts-section": "dialog-asset-name-detail-action-group"
|
|
53868
|
-
}, oQ = { class: "flex items-center gap-3 text-body-medium mr-auto" }, sQ = { class: "font-bold" }, bee = /* @__PURE__ */
|
|
53871
|
+
}, oQ = { class: "flex items-center gap-3 text-body-medium mr-auto" }, sQ = { class: "font-bold" }, bee = /* @__PURE__ */ Te({
|
|
53869
53872
|
__name: "DialogAssetNameDetail",
|
|
53870
53873
|
props: {
|
|
53871
53874
|
header: { default: "Asset Name Detail" },
|