@fewangsit/wangsvue-fats 1.0.0-alpha.61 → 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 +270 -269
- package/wangsvue-fats.system.js +2 -2
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: {}
|
|
@@ -12247,11 +12247,9 @@ const KQ = /* @__PURE__ */ Oe({
|
|
|
12247
12247
|
_: 1
|
|
12248
12248
|
}));
|
|
12249
12249
|
}
|
|
12250
|
-
}), Ik = () =>
|
|
12251
|
-
|
|
12252
|
-
|
|
12253
|
-
n.src = "https://cdn.sheetjs.com/xlsx-0.20.3/package/dist/xlsx.full.min.js", n.onload = () => t(window.XLSX), n.onerror = e, document.body.appendChild(n);
|
|
12254
|
-
}), xb = async (t) => {
|
|
12250
|
+
}), Ik = async () => (window.XLSX || await System.import(
|
|
12251
|
+
"https://cdn.sheetjs.com/xlsx-0.20.3/package/dist/xlsx.full.min.js"
|
|
12252
|
+
), window.XLSX), xb = async (t) => {
|
|
12255
12253
|
const e = await Ik(), n = e.utils.book_new(), i = e.utils.json_to_sheet([]);
|
|
12256
12254
|
let r = 0;
|
|
12257
12255
|
t.tables.forEach((s) => {
|
|
@@ -12281,7 +12279,7 @@ const KQ = /* @__PURE__ */ Oe({
|
|
|
12281
12279
|
}, Pk = {
|
|
12282
12280
|
key: 0,
|
|
12283
12281
|
class: "inherit text-xs"
|
|
12284
|
-
}, WQ = /* @__PURE__ */
|
|
12282
|
+
}, WQ = /* @__PURE__ */ Te({
|
|
12285
12283
|
__name: "ButtonDownload",
|
|
12286
12284
|
props: {
|
|
12287
12285
|
fileName: {},
|
|
@@ -12331,7 +12329,7 @@ const KQ = /* @__PURE__ */ Oe({
|
|
|
12331
12329
|
a.label ? (g(), O("span", Pk, ee(a.label), 1)) : N("", !0)
|
|
12332
12330
|
], 16));
|
|
12333
12331
|
}
|
|
12334
|
-
}), Mb = /* @__PURE__ */
|
|
12332
|
+
}), Mb = /* @__PURE__ */ Te({
|
|
12335
12333
|
__name: "ButtonFilter",
|
|
12336
12334
|
props: {
|
|
12337
12335
|
tableName: { default: "datatable" }
|
|
@@ -12355,7 +12353,7 @@ const KQ = /* @__PURE__ */ Oe({
|
|
|
12355
12353
|
}), Lk = (t, e) => {
|
|
12356
12354
|
const { attrs: n, slots: i } = e || {};
|
|
12357
12355
|
return t.label ? fr("label", n, i.default()) : i.default();
|
|
12358
|
-
}, 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({
|
|
12359
12357
|
inheritAttrs: !1,
|
|
12360
12358
|
__name: "ButtonRadio",
|
|
12361
12359
|
props: {
|
|
@@ -12496,7 +12494,7 @@ const Lb = () => window.devices ?? [], Hk = () => window.device ?? { RFID: null,
|
|
|
12496
12494
|
setDevice: e,
|
|
12497
12495
|
loadDevices: n
|
|
12498
12496
|
};
|
|
12499
|
-
}, Pc = /* @__PURE__ */
|
|
12497
|
+
}, Pc = /* @__PURE__ */ Te({
|
|
12500
12498
|
__name: "DialogConfirm",
|
|
12501
12499
|
props: {
|
|
12502
12500
|
header: {},
|
|
@@ -12652,7 +12650,7 @@ function Uk(t, e, n, i, r, o) {
|
|
|
12652
12650
|
}, t.ptmi("root")), [Y(t.$slots, "default")], 16);
|
|
12653
12651
|
}
|
|
12654
12652
|
xo.render = Uk;
|
|
12655
|
-
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({
|
|
12656
12654
|
__name: "FieldWrapper",
|
|
12657
12655
|
props: {
|
|
12658
12656
|
label: {},
|
|
@@ -12708,7 +12706,7 @@ function qk(t, e, n, i, r, o) {
|
|
|
12708
12706
|
}, t.ptmi("root")), [Y(t.$slots, "default")], 16);
|
|
12709
12707
|
}
|
|
12710
12708
|
Bb.render = qk;
|
|
12711
|
-
const qr = /* @__PURE__ */
|
|
12709
|
+
const qr = /* @__PURE__ */ Te({
|
|
12712
12710
|
__name: "InputGroup",
|
|
12713
12711
|
props: {
|
|
12714
12712
|
pt: {},
|
|
@@ -12733,7 +12731,7 @@ const qr = /* @__PURE__ */ Oe({
|
|
|
12733
12731
|
_: 3
|
|
12734
12732
|
}, 16)) : Y(i.$slots, "default", { key: 1 });
|
|
12735
12733
|
}
|
|
12736
|
-
}), gn = /* @__PURE__ */
|
|
12734
|
+
}), gn = /* @__PURE__ */ Te({
|
|
12737
12735
|
__name: "ValidatorMessage",
|
|
12738
12736
|
props: {
|
|
12739
12737
|
message: {}
|
|
@@ -12747,7 +12745,7 @@ const qr = /* @__PURE__ */ Oe({
|
|
|
12747
12745
|
]);
|
|
12748
12746
|
};
|
|
12749
12747
|
}
|
|
12750
|
-
}), Pu = /* @__PURE__ */
|
|
12748
|
+
}), Pu = /* @__PURE__ */ Te({
|
|
12751
12749
|
__name: "Dropdown",
|
|
12752
12750
|
props: {
|
|
12753
12751
|
modelValue: { type: [String, Number, Boolean, Object], default: void 0 },
|
|
@@ -12969,7 +12967,7 @@ const qr = /* @__PURE__ */ Oe({
|
|
|
12969
12967
|
key: 0,
|
|
12970
12968
|
class: "flex flex-col gap-3 overflow-auto max-h-[71px]",
|
|
12971
12969
|
"data-wv-section": "list"
|
|
12972
|
-
}, eO = /* @__PURE__ */
|
|
12970
|
+
}, eO = /* @__PURE__ */ Te({
|
|
12973
12971
|
__name: "InlineMessage",
|
|
12974
12972
|
props: {
|
|
12975
12973
|
severity: { default: "secondary" },
|
|
@@ -13045,7 +13043,7 @@ const qr = /* @__PURE__ */ Oe({
|
|
|
13045
13043
|
])) : N("", !0)
|
|
13046
13044
|
], 16)) : N("", !0);
|
|
13047
13045
|
}
|
|
13048
|
-
}), Nb = /* @__PURE__ */
|
|
13046
|
+
}), Nb = /* @__PURE__ */ Te({
|
|
13049
13047
|
__name: "HardwareSync",
|
|
13050
13048
|
props: {
|
|
13051
13049
|
visible: { type: Boolean },
|
|
@@ -13835,7 +13833,7 @@ function LO(t, e, n, i, r, o) {
|
|
|
13835
13833
|
});
|
|
13836
13834
|
}
|
|
13837
13835
|
zb.render = LO;
|
|
13838
|
-
const mu = /* @__PURE__ */
|
|
13836
|
+
const mu = /* @__PURE__ */ Te({
|
|
13839
13837
|
__name: "Toast",
|
|
13840
13838
|
props: {
|
|
13841
13839
|
group: { default: "default-toast" },
|
|
@@ -13904,7 +13902,7 @@ const mu = /* @__PURE__ */ Oe({
|
|
|
13904
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 = {
|
|
13905
13903
|
key: 1,
|
|
13906
13904
|
class: "text-xs font-medium leading-[16.39px] tracking-[0.02em]"
|
|
13907
|
-
}, jg = /* @__PURE__ */
|
|
13905
|
+
}, jg = /* @__PURE__ */ Te({
|
|
13908
13906
|
__name: "ButtonScan",
|
|
13909
13907
|
props: {
|
|
13910
13908
|
label: {},
|
|
@@ -14541,7 +14539,7 @@ function KO(t, e, n, i, r, o) {
|
|
|
14541
14539
|
}, 8, ["appendTo"]);
|
|
14542
14540
|
}
|
|
14543
14541
|
Jp.render = KO;
|
|
14544
|
-
const Lc = /* @__PURE__ */
|
|
14542
|
+
const Lc = /* @__PURE__ */ Te({
|
|
14545
14543
|
__name: "OverlayPanel",
|
|
14546
14544
|
props: {
|
|
14547
14545
|
dismissable: { type: Boolean, default: !0 },
|
|
@@ -14583,7 +14581,7 @@ const Lc = /* @__PURE__ */ Oe({
|
|
|
14583
14581
|
_: 3
|
|
14584
14582
|
}, 16));
|
|
14585
14583
|
}
|
|
14586
|
-
}), 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({
|
|
14587
14585
|
__name: "ButtonSearchByScan",
|
|
14588
14586
|
props: {
|
|
14589
14587
|
label: { default: "Search by Scan" },
|
|
@@ -14734,7 +14732,7 @@ function JO(t, e, n, i, r, o) {
|
|
|
14734
14732
|
}, o.getPTOptions("root")), null, 16, GO);
|
|
14735
14733
|
}
|
|
14736
14734
|
zo.render = JO;
|
|
14737
|
-
const Fb = /* @__PURE__ */
|
|
14735
|
+
const Fb = /* @__PURE__ */ Te({
|
|
14738
14736
|
__name: "ButtonSearch",
|
|
14739
14737
|
props: {
|
|
14740
14738
|
tableName: { default: "datatable" }
|
|
@@ -14795,7 +14793,7 @@ const Fb = /* @__PURE__ */ Oe({
|
|
|
14795
14793
|
], 16));
|
|
14796
14794
|
};
|
|
14797
14795
|
}
|
|
14798
|
-
}), YO = /* @__PURE__ */
|
|
14796
|
+
}), YO = /* @__PURE__ */ Te({
|
|
14799
14797
|
__name: "Tree",
|
|
14800
14798
|
props: {
|
|
14801
14799
|
filter: {},
|
|
@@ -15052,7 +15050,7 @@ const Fb = /* @__PURE__ */ Oe({
|
|
|
15052
15050
|
"rounded ring-1 ring-inset ring-offset-0 ring-general-500 dark:ring-general-500"
|
|
15053
15051
|
]),
|
|
15054
15052
|
"data-wv-name": "tree-search-input"
|
|
15055
|
-
}, QO = /* @__PURE__ */
|
|
15053
|
+
}, QO = /* @__PURE__ */ Te({
|
|
15056
15054
|
__name: "TreeSearchInput",
|
|
15057
15055
|
props: {
|
|
15058
15056
|
modelValue: {}
|
|
@@ -15105,7 +15103,7 @@ const Fb = /* @__PURE__ */ Oe({
|
|
|
15105
15103
|
}, nT = {
|
|
15106
15104
|
class: "flex gap-1 items-center justify-end",
|
|
15107
15105
|
"data-wv-section": "footer-button"
|
|
15108
|
-
}, iT = /* @__PURE__ */
|
|
15106
|
+
}, iT = /* @__PURE__ */ Te({
|
|
15109
15107
|
__name: "DialogSelectTree",
|
|
15110
15108
|
props: /* @__PURE__ */ nn({
|
|
15111
15109
|
fetchTree: {},
|
|
@@ -15355,7 +15353,7 @@ const Fb = /* @__PURE__ */ Oe({
|
|
|
15355
15353
|
}), rT = {
|
|
15356
15354
|
key: 0,
|
|
15357
15355
|
class: "inline-flex gap-1 items-center"
|
|
15358
|
-
}, oT = /* @__PURE__ */
|
|
15356
|
+
}, oT = /* @__PURE__ */ Te({
|
|
15359
15357
|
__name: "ButtonSelectTree",
|
|
15360
15358
|
props: {
|
|
15361
15359
|
type: {},
|
|
@@ -15558,7 +15556,7 @@ const Fb = /* @__PURE__ */ Oe({
|
|
|
15558
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"]))
|
|
15559
15557
|
], 64));
|
|
15560
15558
|
}
|
|
15561
|
-
}), ZQ = /* @__PURE__ */
|
|
15559
|
+
}), ZQ = /* @__PURE__ */ Te({
|
|
15562
15560
|
__name: "ButtonSync",
|
|
15563
15561
|
props: {
|
|
15564
15562
|
withoutScanBtn: { type: Boolean }
|
|
@@ -15580,7 +15578,7 @@ const Fb = /* @__PURE__ */ Oe({
|
|
|
15580
15578
|
}, null, 8, ["visible", "without-scan-btn"])
|
|
15581
15579
|
], 64));
|
|
15582
15580
|
}
|
|
15583
|
-
}), 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({
|
|
15584
15582
|
__name: "ToggleSwitch",
|
|
15585
15583
|
props: {
|
|
15586
15584
|
triState: { type: Boolean, default: !1 },
|
|
@@ -15664,7 +15662,7 @@ const Fb = /* @__PURE__ */ Oe({
|
|
|
15664
15662
|
_: 1
|
|
15665
15663
|
}, 16));
|
|
15666
15664
|
}
|
|
15667
|
-
}), qQ = /* @__PURE__ */
|
|
15665
|
+
}), qQ = /* @__PURE__ */ Te({
|
|
15668
15666
|
__name: "ButtonToggle",
|
|
15669
15667
|
setup(t) {
|
|
15670
15668
|
return (e, n) => (g(), I(Hb));
|
|
@@ -16050,7 +16048,7 @@ const kT = ["id"], OT = ["id", "aria-invalid", "disabled", "placeholder", "value
|
|
|
16050
16048
|
key: 1,
|
|
16051
16049
|
class: "w-full flex items-center justify-end gap-1",
|
|
16052
16050
|
"data-wv-section": "calendarbuttons"
|
|
16053
|
-
}, $T = /* @__PURE__ */
|
|
16051
|
+
}, $T = /* @__PURE__ */ Te({
|
|
16054
16052
|
__name: "BaseCalendar",
|
|
16055
16053
|
props: {
|
|
16056
16054
|
modelValue: {},
|
|
@@ -16898,7 +16896,7 @@ const kT = ["id"], OT = ["id", "aria-invalid", "disabled", "placeholder", "value
|
|
|
16898
16896
|
_: 3
|
|
16899
16897
|
}, 8, ["info", "label", "mandatory", "show-optional-text"]));
|
|
16900
16898
|
}
|
|
16901
|
-
}), jT = /* @__PURE__ */
|
|
16899
|
+
}), jT = /* @__PURE__ */ Te({
|
|
16902
16900
|
__name: "Calendar",
|
|
16903
16901
|
props: {
|
|
16904
16902
|
modelValue: {},
|
|
@@ -17053,7 +17051,7 @@ function XT(t, e, n, i, r, o) {
|
|
|
17053
17051
|
}, t.ptm("footer")), [Y(t.$slots, "footer")], 16)) : N("", !0)], 16)], 16);
|
|
17054
17052
|
}
|
|
17055
17053
|
Kb.render = XT;
|
|
17056
|
-
const GQ = /* @__PURE__ */
|
|
17054
|
+
const GQ = /* @__PURE__ */ Te({
|
|
17057
17055
|
__name: "Card",
|
|
17058
17056
|
setup(t) {
|
|
17059
17057
|
return (e, n) => (g(), I(x(Kb), null, hn({ _: 2 }, [
|
|
@@ -17596,7 +17594,7 @@ function eM(t) {
|
|
|
17596
17594
|
])
|
|
17597
17595
|
]);
|
|
17598
17596
|
}
|
|
17599
|
-
var tM =
|
|
17597
|
+
var tM = Te((Hs = {
|
|
17600
17598
|
name: "simplebar-vue",
|
|
17601
17599
|
props: {
|
|
17602
17600
|
/**
|
|
@@ -19705,7 +19703,7 @@ const rE = (t, e, n) => {
|
|
|
19705
19703
|
)
|
|
19706
19704
|
);
|
|
19707
19705
|
});
|
|
19708
|
-
}, qs = /* @__PURE__ */
|
|
19706
|
+
}, qs = /* @__PURE__ */ Te({
|
|
19709
19707
|
__name: "Animation",
|
|
19710
19708
|
props: {
|
|
19711
19709
|
animation: {},
|
|
@@ -19790,7 +19788,7 @@ async function aE(t, e) {
|
|
|
19790
19788
|
};
|
|
19791
19789
|
}).filter((r) => !!r) : e;
|
|
19792
19790
|
}
|
|
19793
|
-
const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart"], ev = /* @__PURE__ */
|
|
19791
|
+
const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart"], ev = /* @__PURE__ */ Te({
|
|
19794
19792
|
__name: "ColumnList",
|
|
19795
19793
|
props: /* @__PURE__ */ nn({
|
|
19796
19794
|
tableId: {},
|
|
@@ -19940,7 +19938,7 @@ const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
19940
19938
|
}), 256))
|
|
19941
19939
|
]));
|
|
19942
19940
|
}
|
|
19943
|
-
}), uE = /* @__PURE__ */
|
|
19941
|
+
}), uE = /* @__PURE__ */ Te({
|
|
19944
19942
|
__name: "CustomColumn",
|
|
19945
19943
|
props: {
|
|
19946
19944
|
tableId: {},
|
|
@@ -20057,7 +20055,7 @@ const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
20057
20055
|
], 64);
|
|
20058
20056
|
};
|
|
20059
20057
|
}
|
|
20060
|
-
}), cE = /* @__PURE__ */
|
|
20058
|
+
}), cE = /* @__PURE__ */ Te({
|
|
20061
20059
|
__name: "MultiRow",
|
|
20062
20060
|
props: {
|
|
20063
20061
|
attributes: {}
|
|
@@ -20104,7 +20102,7 @@ const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
20104
20102
|
], 16);
|
|
20105
20103
|
};
|
|
20106
20104
|
}
|
|
20107
|
-
}), 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({
|
|
20108
20106
|
__name: "DataTable",
|
|
20109
20107
|
props: /* @__PURE__ */ nn({
|
|
20110
20108
|
treeTable: { type: Boolean },
|
|
@@ -20703,18 +20701,18 @@ const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
20703
20701
|
props: n
|
|
20704
20702
|
}),
|
|
20705
20703
|
{
|
|
20706
|
-
onClick: (
|
|
20707
|
-
onDblclick: (
|
|
20704
|
+
onClick: (ke) => st(ke, ge, Wt),
|
|
20705
|
+
onDblclick: (ke) => {
|
|
20708
20706
|
var vr;
|
|
20709
20707
|
return V.treeTable && ((vr = ge.children) != null && vr.length || ge.hasChildren) ? Ee(ge, Wt) : null;
|
|
20710
20708
|
},
|
|
20711
|
-
onDrag: Z[10] || (Z[10] = (
|
|
20712
|
-
onDragenter: At((
|
|
20709
|
+
onDrag: Z[10] || (Z[10] = (ke) => ne.value = !0),
|
|
20710
|
+
onDragenter: At((ke) => Pe(ke, ge), ["prevent"]),
|
|
20713
20711
|
onDragleave: Z[11] || (Z[11] = At(() => {
|
|
20714
20712
|
}, ["prevent"])),
|
|
20715
20713
|
onDragover: Z[12] || (Z[12] = At(() => {
|
|
20716
20714
|
}, ["prevent"])),
|
|
20717
|
-
onDragstart: (
|
|
20715
|
+
onDragstart: (ke) => Tt(ke, ge, Wt),
|
|
20718
20716
|
onDrop: Ne
|
|
20719
20717
|
}
|
|
20720
20718
|
), [
|
|
@@ -20740,7 +20738,7 @@ const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
20740
20738
|
ref_for: !0
|
|
20741
20739
|
}, (Rl = x(l)) == null ? void 0 : Rl.rowcheckbox, {
|
|
20742
20740
|
modelValue: y.value,
|
|
20743
|
-
"onUpdate:modelValue": Z[2] || (Z[2] = (
|
|
20741
|
+
"onUpdate:modelValue": Z[2] || (Z[2] = (ke) => y.value = ke),
|
|
20744
20742
|
binary: !1,
|
|
20745
20743
|
disabled: fe(ge[V.dataKey]),
|
|
20746
20744
|
value: ge
|
|
@@ -20750,14 +20748,14 @@ const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
20750
20748
|
key: 2,
|
|
20751
20749
|
ref_for: !0
|
|
20752
20750
|
}, (Rs = x(l)) == null ? void 0 : Rs.bodycell, {
|
|
20753
|
-
onClick: (
|
|
20754
|
-
(ge.childRow || ge.childRowHeader) &&
|
|
20751
|
+
onClick: (ke) => {
|
|
20752
|
+
(ge.childRow || ge.childRowHeader) && ke.stopPropagation();
|
|
20755
20753
|
}
|
|
20756
20754
|
}), [
|
|
20757
20755
|
(qi = ge.children) != null && qi.length || ge.hasChildren ? (g(), I(Ue, C(
|
|
20758
20756
|
{
|
|
20759
20757
|
key: 0,
|
|
20760
|
-
onClick: At((
|
|
20758
|
+
onClick: At((ke) => Ee(ge, Wt), ["stop"]),
|
|
20761
20759
|
ref_for: !0
|
|
20762
20760
|
},
|
|
20763
20761
|
x(l).rowtogglerbutton({
|
|
@@ -20772,17 +20770,17 @@ const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
20772
20770
|
), null, 16, ["onClick"])) : N("", !0)
|
|
20773
20771
|
], 16, yE)) : N("", !0),
|
|
20774
20772
|
(() => {
|
|
20775
|
-
var
|
|
20776
|
-
return ge.childRowHeader && ((
|
|
20777
|
-
})() ? (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) => {
|
|
20778
20776
|
var vr, Bs;
|
|
20779
20777
|
return g(), O("td", {
|
|
20780
|
-
key:
|
|
20778
|
+
key: ke.header,
|
|
20781
20779
|
class: me([(vr = x(l)) == null ? void 0 : vr.bodycell.class, "font-semibold text-xs"]),
|
|
20782
|
-
colspan:
|
|
20780
|
+
colspan: ke.colspan ?? ((Bs = ke.parentColumnsFields) == null ? void 0 : Bs.length),
|
|
20783
20781
|
onClick: Z[4] || (Z[4] = At(() => {
|
|
20784
20782
|
}, ["stop"]))
|
|
20785
|
-
}, ee(
|
|
20783
|
+
}, ee(ke.header), 11, bE);
|
|
20786
20784
|
}), 128)) : ge.childRowHeader ? (g(), O("td", C({
|
|
20787
20785
|
key: 4,
|
|
20788
20786
|
ref_for: !0
|
|
@@ -20822,153 +20820,156 @@ const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
20822
20820
|
}, x(l).nodatamessage), ee(a.value.emptyTableMessage), 17)) : N("", !0)
|
|
20823
20821
|
], 16)
|
|
20824
20822
|
], 10, SE)) : (g(), O(le, { key: 7 }, [
|
|
20825
|
-
(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) => {
|
|
20826
20824
|
var vr, Bs, im, rm, om, sm, am, lm, um, cm, dm, fm, pm, hm, mm, Bl, gm, vm;
|
|
20827
20825
|
return g(), O("td", C({
|
|
20828
|
-
key:
|
|
20826
|
+
key: ke.field,
|
|
20829
20827
|
class: [
|
|
20830
20828
|
{
|
|
20831
|
-
"!py-0":
|
|
20832
|
-
"!px-0": ((vr =
|
|
20829
|
+
"!py-0": ke.editable,
|
|
20830
|
+
"!px-0": ((vr = ke.preset) == null ? void 0 : vr.type) === "multirow"
|
|
20833
20831
|
},
|
|
20834
|
-
typeof
|
|
20835
|
-
|
|
20832
|
+
typeof ke.bodyClass == "function" ? ke.bodyClass(ge) : ke.bodyClass,
|
|
20833
|
+
ke.class
|
|
20836
20834
|
],
|
|
20837
|
-
colspan:
|
|
20835
|
+
colspan: ke.colspan ?? ((Bs = ke.parentColumnsFields) == null ? void 0 : Bs.length),
|
|
20838
20836
|
ref_for: !0
|
|
20839
20837
|
}, (im = x(l)) == null ? void 0 : im.bodycell), [
|
|
20840
|
-
((rm =
|
|
20841
|
-
((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, {
|
|
20842
20840
|
key: 0,
|
|
20843
|
-
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),
|
|
20844
20842
|
"input-id": ge[V.dataKey],
|
|
20845
|
-
"model-value": x(un)(ge,
|
|
20843
|
+
"model-value": x(un)(ge, ke.field),
|
|
20846
20844
|
onClick: Z[8] || (Z[8] = At(() => {
|
|
20847
20845
|
}, ["stop"])),
|
|
20848
20846
|
"onUpdate:modelValue": (_t) => {
|
|
20849
|
-
x(Go)(ge,
|
|
20847
|
+
x(Go)(ge, ke.field, _t), Lt(_t, ge, ke);
|
|
20850
20848
|
}
|
|
20851
20849
|
}, null, 8, ["disabled", "input-id", "model-value", "onUpdate:modelValue"])) : N("", !0),
|
|
20852
|
-
((cm =
|
|
20850
|
+
((cm = ke.preset) == null ? void 0 : cm.type) === "checkbox" ? (g(), I(go, {
|
|
20853
20851
|
key: 1,
|
|
20854
|
-
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),
|
|
20855
20853
|
"input-id": ge[V.dataKey],
|
|
20856
|
-
"model-value": x(un)(ge,
|
|
20854
|
+
"model-value": x(un)(ge, ke.field),
|
|
20857
20855
|
onClick: Z[9] || (Z[9] = At(() => {
|
|
20858
20856
|
}, ["stop"])),
|
|
20859
20857
|
"onUpdate:modelValue": (_t) => {
|
|
20860
|
-
x(Go)(ge,
|
|
20858
|
+
x(Go)(ge, ke.field, !!_t), Lt(!!_t, ge, ke);
|
|
20861
20859
|
},
|
|
20862
20860
|
binary: ""
|
|
20863
20861
|
}, null, 8, ["disabled", "input-id", "model-value", "onUpdate:modelValue"])) : N("", !0),
|
|
20864
|
-
(hm =
|
|
20862
|
+
(hm = ke.preset) != null && hm.confirmDialogProps ? (g(), I(Pc, C(
|
|
20865
20863
|
{
|
|
20866
20864
|
key: 2,
|
|
20867
20865
|
list: [ge],
|
|
20868
|
-
visible: !!Ae.value[ge[V.dataKey] +
|
|
20866
|
+
visible: !!Ae.value[ge[V.dataKey] + ke.field],
|
|
20869
20867
|
onClose: () => {
|
|
20870
20868
|
var Jn, yi, ym;
|
|
20871
20869
|
const _t = () => x(Go)(
|
|
20872
20870
|
ge,
|
|
20873
|
-
|
|
20874
|
-
!x(un)(ge,
|
|
20871
|
+
ke.field,
|
|
20872
|
+
!x(un)(ge, ke.field)
|
|
20875
20873
|
);
|
|
20876
20874
|
((Jn = Ke(
|
|
20877
|
-
|
|
20878
|
-
ge[
|
|
20875
|
+
ke.preset,
|
|
20876
|
+
ge[ke.field],
|
|
20879
20877
|
ge
|
|
20880
|
-
)) == 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(
|
|
20881
20879
|
yi,
|
|
20882
|
-
ge[
|
|
20880
|
+
ge[ke.field],
|
|
20883
20881
|
ge,
|
|
20884
20882
|
_t
|
|
20885
20883
|
) : _t();
|
|
20886
20884
|
},
|
|
20887
20885
|
onConfirm: (_t) => {
|
|
20888
20886
|
var Jn, yi;
|
|
20889
|
-
return (yi = (Jn =
|
|
20887
|
+
return (yi = (Jn = ke.preset) == null ? void 0 : Jn.onConfirm) == null ? void 0 : yi.call(
|
|
20890
20888
|
Jn,
|
|
20891
|
-
ge[
|
|
20889
|
+
ge[ke.field],
|
|
20892
20890
|
ge,
|
|
20893
20891
|
() => x(Go)(
|
|
20894
20892
|
ge,
|
|
20895
|
-
|
|
20896
|
-
!x(un)(ge,
|
|
20893
|
+
ke.field,
|
|
20894
|
+
!x(un)(ge, ke.field)
|
|
20897
20895
|
)
|
|
20898
20896
|
);
|
|
20899
20897
|
},
|
|
20900
|
-
"onUpdate:visible": (_t) => Ae.value[ge[V.dataKey] +
|
|
20898
|
+
"onUpdate:visible": (_t) => Ae.value[ge[V.dataKey] + ke.field] = _t,
|
|
20901
20899
|
actionable: "",
|
|
20902
20900
|
ref_for: !0
|
|
20903
20901
|
},
|
|
20904
20902
|
Ke(
|
|
20905
|
-
|
|
20906
|
-
ge[
|
|
20903
|
+
ke.preset,
|
|
20904
|
+
ge[ke.field],
|
|
20907
20905
|
ge
|
|
20908
20906
|
)
|
|
20909
20907
|
), null, 16, ["list", "visible", "onClose", "onConfirm", "onUpdate:visible"])) : N("", !0)
|
|
20910
|
-
], 64)) : ((mm =
|
|
20908
|
+
], 64)) : ((mm = ke.preset) == null ? void 0 : mm.type) === "multirow" ? (g(), I(cE, {
|
|
20911
20909
|
key: 1,
|
|
20912
|
-
attributes: ((gm = (Bl =
|
|
20913
|
-
}, 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({
|
|
20914
20912
|
key: 2,
|
|
20915
20913
|
ref_for: !0
|
|
20916
20914
|
}, x(l).celleditableelement, {
|
|
20917
|
-
contenteditable:
|
|
20915
|
+
contenteditable: ke.editable,
|
|
20918
20916
|
onBlur: (_t) => {
|
|
20919
20917
|
V.$emit("cellEdited", {
|
|
20920
20918
|
item: ge,
|
|
20921
|
-
field:
|
|
20919
|
+
field: ke.field,
|
|
20922
20920
|
index: Wt,
|
|
20923
20921
|
value: _t.target.innerText
|
|
20924
20922
|
});
|
|
20925
20923
|
},
|
|
20926
20924
|
onKeypress: (_t) => {
|
|
20927
|
-
|
|
20925
|
+
ke.numberInputOnly && L(_t);
|
|
20928
20926
|
}
|
|
20929
|
-
}), ee(x(un)(ge,
|
|
20930
|
-
|
|
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({
|
|
20931
20929
|
key: 0,
|
|
20932
|
-
modelValue:
|
|
20933
|
-
"onUpdate:modelValue": (_t) =>
|
|
20934
|
-
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,
|
|
20935
20933
|
ref_for: !0
|
|
20936
|
-
},
|
|
20937
|
-
|
|
20934
|
+
}, ke.bodyComponent(ge, Wt).props, ts(
|
|
20935
|
+
ke.bodyComponent(ge, Wt).events ? ke.bodyComponent(ge, Wt).events : {}
|
|
20938
20936
|
), {
|
|
20939
20937
|
onChange: (_t) => {
|
|
20940
20938
|
var Jn, yi;
|
|
20941
|
-
return (yi = (Jn =
|
|
20939
|
+
return (yi = (Jn = ke.bodyComponent(ge, Wt)).onChange) == null ? void 0 : yi.call(Jn, ge);
|
|
20942
20940
|
},
|
|
20943
20941
|
onClick: (_t) => {
|
|
20944
|
-
|
|
20942
|
+
ke.bodyComponent(ge, Wt).stop !== !1 && _t.stopPropagation();
|
|
20945
20943
|
},
|
|
20946
20944
|
"onUpdate:modelValue": (_t) => {
|
|
20947
20945
|
var Jn, yi;
|
|
20948
|
-
return (yi = (Jn =
|
|
20946
|
+
return (yi = (Jn = ke.bodyComponent(ge, Wt)).onChange) == null ? void 0 : yi.call(Jn, ge);
|
|
20949
20947
|
}
|
|
20950
20948
|
}), null, 16, ["modelValue", "onUpdate:modelValue", "disabled", "onChange", "onClick"])) : (g(), O("span", OE, [
|
|
20951
|
-
|
|
20952
|
-
lt(ee(((vm =
|
|
20953
|
-
], 64)) : (g(), O(le, { key: 1 }, [
|
|
20954
|
-
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)
|
|
20955
20963
|
], 64))
|
|
20956
20964
|
]))
|
|
20957
|
-
], 64)) :
|
|
20958
|
-
lt(ee(x(
|
|
20959
|
-
new Date(
|
|
20960
|
-
x(un)(ge, Te.field)
|
|
20961
|
-
),
|
|
20962
|
-
Te.dateFormatOptions
|
|
20963
|
-
)), 1)
|
|
20964
|
-
], 64)) : (g(), O(le, { key: 5 }, [
|
|
20965
|
-
lt(ee(x(un)(ge, Te.field) ?? "-"), 1)
|
|
20965
|
+
], 64)) : (g(), O(le, { key: 4 }, [
|
|
20966
|
+
lt(ee(x(un)(ge, ke.field) ?? "-"), 1)
|
|
20966
20967
|
], 64))
|
|
20967
20968
|
], 16, CE);
|
|
20968
20969
|
}), 128)),
|
|
20969
20970
|
(() => {
|
|
20970
|
-
var
|
|
20971
|
-
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);
|
|
20972
20973
|
})() ? (g(), O("td", C(
|
|
20973
20974
|
{
|
|
20974
20975
|
key: 0,
|
|
@@ -20996,7 +20997,7 @@ const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
20996
20997
|
ref_for: !0
|
|
20997
20998
|
}, x(l).singleactionbutton({ props: n }), {
|
|
20998
20999
|
disabled: V.disableAllRows,
|
|
20999
|
-
onClick: At((
|
|
21000
|
+
onClick: At((ke) => Rt(ke, ge), ["stop"]),
|
|
21000
21001
|
icon: "ellipsis-h",
|
|
21001
21002
|
outlined: "",
|
|
21002
21003
|
size: "small",
|
|
@@ -21068,7 +21069,7 @@ const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
21068
21069
|
for (const [i, r] of e)
|
|
21069
21070
|
n[i] = r;
|
|
21070
21071
|
return n;
|
|
21071
|
-
}, A0 = /* @__PURE__ */ b0(ME, [["__scopeId", "data-v-
|
|
21072
|
+
}, A0 = /* @__PURE__ */ b0(ME, [["__scopeId", "data-v-9ef46407"]]), w0 = /* @__PURE__ */ Te({
|
|
21072
21073
|
__name: "Form",
|
|
21073
21074
|
props: {
|
|
21074
21075
|
buttonsTemplate: {},
|
|
@@ -21240,7 +21241,7 @@ const lE = ["id", "data-item-dragable", "draggable", "onDragenter", "onDragstart
|
|
|
21240
21241
|
], 16);
|
|
21241
21242
|
};
|
|
21242
21243
|
}
|
|
21243
|
-
}), JQ = /* @__PURE__ */
|
|
21244
|
+
}), JQ = /* @__PURE__ */ Te({
|
|
21244
21245
|
__name: "DialogForm",
|
|
21245
21246
|
props: {
|
|
21246
21247
|
buttonsTemplate: {},
|
|
@@ -22547,7 +22548,7 @@ function rI(t, e, n, i, r, o) {
|
|
|
22547
22548
|
}, t.ptm("input")), null, 16, iI))], 16)), [[c]])], 16)) : N("", !0);
|
|
22548
22549
|
}
|
|
22549
22550
|
M0.render = rI;
|
|
22550
|
-
const Wl = "Checking availability...", wl = /* @__PURE__ */
|
|
22551
|
+
const Wl = "Checking availability...", wl = /* @__PURE__ */ Te({
|
|
22551
22552
|
__name: "InputText",
|
|
22552
22553
|
props: {
|
|
22553
22554
|
allowedCharacters: {},
|
|
@@ -22775,7 +22776,7 @@ const Wl = "Checking availability...", wl = /* @__PURE__ */ Oe({
|
|
|
22775
22776
|
_: 3
|
|
22776
22777
|
}, 8, ["info", "label", "label-class", "mandatory"]));
|
|
22777
22778
|
}
|
|
22778
|
-
}), 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({
|
|
22779
22780
|
__name: "FileUpload",
|
|
22780
22781
|
props: /* @__PURE__ */ nn({
|
|
22781
22782
|
accept: {},
|
|
@@ -23434,7 +23435,7 @@ function NI(t, e, n, i, r, o) {
|
|
|
23434
23435
|
})], 16);
|
|
23435
23436
|
}
|
|
23436
23437
|
D0.render = NI;
|
|
23437
|
-
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({
|
|
23438
23439
|
__name: "Image",
|
|
23439
23440
|
props: {
|
|
23440
23441
|
src: {},
|
|
@@ -25021,7 +25022,7 @@ const pv = [
|
|
|
25021
25022
|
s.fillStyle = r, s.fillRect(0, 0, o.width, o.height), s.fillStyle = c, s.fillText(t, d, f);
|
|
25022
25023
|
}
|
|
25023
25024
|
return o;
|
|
25024
|
-
}, CP = { class: "!hidden" }, kP = /* @__PURE__ */
|
|
25025
|
+
}, CP = { class: "!hidden" }, kP = /* @__PURE__ */ Te({
|
|
25025
25026
|
__name: "InvisibleField",
|
|
25026
25027
|
props: {
|
|
25027
25028
|
value: { type: [String, Array, Number, Boolean, null, Object], default: void 0 },
|
|
@@ -25042,7 +25043,7 @@ const pv = [
|
|
|
25042
25043
|
}
|
|
25043
25044
|
), (r, o) => (g(), O("div", CP));
|
|
25044
25045
|
}
|
|
25045
|
-
}), OP = /* @__PURE__ */
|
|
25046
|
+
}), OP = /* @__PURE__ */ Te({
|
|
25046
25047
|
__name: "BackgroundImageCropper",
|
|
25047
25048
|
props: {
|
|
25048
25049
|
touchMove: {},
|
|
@@ -25095,7 +25096,7 @@ const pv = [
|
|
|
25095
25096
|
"max-w-[121px] [&_li]:pl-0.5"
|
|
25096
25097
|
]),
|
|
25097
25098
|
"data-wv-section": "image-requirements-info"
|
|
25098
|
-
}, hv = /* @__PURE__ */
|
|
25099
|
+
}, hv = /* @__PURE__ */ Te({
|
|
25099
25100
|
__name: "ImageInputInfo",
|
|
25100
25101
|
props: {
|
|
25101
25102
|
customRequirements: {},
|
|
@@ -25128,7 +25129,7 @@ const pv = [
|
|
|
25128
25129
|
}), EP = {
|
|
25129
25130
|
key: 1,
|
|
25130
25131
|
class: "flex gap-1 items-start"
|
|
25131
|
-
}, IP = ["id", "multiple"], _Q = /* @__PURE__ */
|
|
25132
|
+
}, IP = ["id", "multiple"], _Q = /* @__PURE__ */ Te({
|
|
25132
25133
|
__name: "ImageCompressor",
|
|
25133
25134
|
props: /* @__PURE__ */ nn({
|
|
25134
25135
|
initialName: {},
|
|
@@ -25583,7 +25584,7 @@ const pv = [
|
|
|
25583
25584
|
}, 8, ["visible", "header"])
|
|
25584
25585
|
], 64));
|
|
25585
25586
|
}
|
|
25586
|
-
}), PP = ["id", "disabled", "placeholder"], QQ = /* @__PURE__ */
|
|
25587
|
+
}), PP = ["id", "disabled", "placeholder"], QQ = /* @__PURE__ */ Te({
|
|
25587
25588
|
__name: "InputBadge",
|
|
25588
25589
|
props: {
|
|
25589
25590
|
type: { default: "text" },
|
|
@@ -25757,7 +25758,7 @@ const pv = [
|
|
|
25757
25758
|
_: 1
|
|
25758
25759
|
}, 8, ["info", "label", "mandatory"]));
|
|
25759
25760
|
}
|
|
25760
|
-
}), Y0 = /* @__PURE__ */
|
|
25761
|
+
}), Y0 = /* @__PURE__ */ Te({
|
|
25761
25762
|
__name: "InputNumber",
|
|
25762
25763
|
props: {
|
|
25763
25764
|
modelValue: {},
|
|
@@ -25984,7 +25985,7 @@ const pv = [
|
|
|
25984
25985
|
} : void 0
|
|
25985
25986
|
]), 1032, ["info", "label", "mandatory", "tooltip-pos"]));
|
|
25986
25987
|
}
|
|
25987
|
-
}), eee = /* @__PURE__ */
|
|
25988
|
+
}), eee = /* @__PURE__ */ Te({
|
|
25988
25989
|
__name: "InputCurrency",
|
|
25989
25990
|
props: {
|
|
25990
25991
|
modelValue: {},
|
|
@@ -26103,7 +26104,7 @@ const pv = [
|
|
|
26103
26104
|
_: 1
|
|
26104
26105
|
}, 16, ["modelValue", "input-id", "input-number-class", "locale"]));
|
|
26105
26106
|
}
|
|
26106
|
-
}), tee = /* @__PURE__ */
|
|
26107
|
+
}), tee = /* @__PURE__ */ Te({
|
|
26107
26108
|
__name: "InputEmail",
|
|
26108
26109
|
props: {
|
|
26109
26110
|
allowedCharacters: {},
|
|
@@ -26637,7 +26638,7 @@ function KP(t, e, n, i, r, o) {
|
|
|
26637
26638
|
}, 8, ["appendTo"])], 16);
|
|
26638
26639
|
}
|
|
26639
26640
|
Q0.render = KP;
|
|
26640
|
-
const UP = ["onClick"], WP = ["onClick"], nee = /* @__PURE__ */
|
|
26641
|
+
const UP = ["onClick"], WP = ["onClick"], nee = /* @__PURE__ */ Te({
|
|
26641
26642
|
__name: "InputPassword",
|
|
26642
26643
|
props: {
|
|
26643
26644
|
modelValue: {},
|
|
@@ -27180,7 +27181,7 @@ function IF() {
|
|
|
27180
27181
|
const PF = {
|
|
27181
27182
|
class: "grid grid-cols-[max-content,auto] w-full",
|
|
27182
27183
|
"data-wv-section": "phone-number-input-wrapper"
|
|
27183
|
-
}, LF = { class: "flex gap-2" }, DF = ["src"], iee = /* @__PURE__ */
|
|
27184
|
+
}, LF = { class: "flex gap-2" }, DF = ["src"], iee = /* @__PURE__ */ Te({
|
|
27184
27185
|
__name: "InputPhoneNumber",
|
|
27185
27186
|
props: {
|
|
27186
27187
|
modelValue: {},
|
|
@@ -27328,7 +27329,7 @@ const PF = {
|
|
|
27328
27329
|
}), RF = {
|
|
27329
27330
|
class: "flex gap-2 w-full items-center",
|
|
27330
27331
|
"data-wv-section": "inputwrapper"
|
|
27331
|
-
}, BF = /* @__PURE__ */
|
|
27332
|
+
}, BF = /* @__PURE__ */ Te({
|
|
27332
27333
|
__name: "InputRangeNumber",
|
|
27333
27334
|
props: {
|
|
27334
27335
|
modelValue: {},
|
|
@@ -27448,7 +27449,7 @@ const PF = {
|
|
|
27448
27449
|
_: 1
|
|
27449
27450
|
}, 8, ["label", "show-optional-text"]));
|
|
27450
27451
|
}
|
|
27451
|
-
}), vv = /* @__PURE__ */
|
|
27452
|
+
}), vv = /* @__PURE__ */ Te({
|
|
27452
27453
|
__name: "InputURL",
|
|
27453
27454
|
props: {
|
|
27454
27455
|
allowedCharacters: {},
|
|
@@ -27503,7 +27504,7 @@ const PF = {
|
|
|
27503
27504
|
} : void 0
|
|
27504
27505
|
]), 1040));
|
|
27505
27506
|
}
|
|
27506
|
-
}), ree = /* @__PURE__ */
|
|
27507
|
+
}), ree = /* @__PURE__ */ Te({
|
|
27507
27508
|
__name: "LiteDropdown",
|
|
27508
27509
|
props: /* @__PURE__ */ nn({
|
|
27509
27510
|
modelValue: { type: [String, Number, Boolean, Object] },
|
|
@@ -27600,7 +27601,7 @@ const PF = {
|
|
|
27600
27601
|
}), NF = ["data-user-lang"], VF = ["alt", "src"], zF = {
|
|
27601
27602
|
key: 1,
|
|
27602
27603
|
class: "flex items-center gap-0.5 text-xs text-general-800"
|
|
27603
|
-
}, FF = { key: 2 }, yv = /* @__PURE__ */
|
|
27604
|
+
}, FF = { key: 2 }, yv = /* @__PURE__ */ Te({
|
|
27604
27605
|
__name: "LanguageDropdownOption",
|
|
27605
27606
|
props: {
|
|
27606
27607
|
option: {},
|
|
@@ -27642,7 +27643,7 @@ const PF = {
|
|
|
27642
27643
|
], 8, NF);
|
|
27643
27644
|
};
|
|
27644
27645
|
}
|
|
27645
|
-
}), oee = /* @__PURE__ */
|
|
27646
|
+
}), oee = /* @__PURE__ */ Te({
|
|
27646
27647
|
__name: "LanguageSwitcher",
|
|
27647
27648
|
setup(t) {
|
|
27648
27649
|
mt(async () => {
|
|
@@ -27721,7 +27722,7 @@ const PF = {
|
|
|
27721
27722
|
_: 1
|
|
27722
27723
|
}, 8, ["modelValue", "loading", "options"]));
|
|
27723
27724
|
}
|
|
27724
|
-
}), see = /* @__PURE__ */
|
|
27725
|
+
}), see = /* @__PURE__ */ Te({
|
|
27725
27726
|
__name: "Loading",
|
|
27726
27727
|
setup(t) {
|
|
27727
27728
|
const { loading: e, message: n } = yl();
|
|
@@ -29369,7 +29370,7 @@ function gH(t, e, n, i, r, o) {
|
|
|
29369
29370
|
}, 8, ["appendTo"])], 16);
|
|
29370
29371
|
}
|
|
29371
29372
|
nA.render = gH;
|
|
29372
|
-
const vH = /* @__PURE__ */
|
|
29373
|
+
const vH = /* @__PURE__ */ Te({
|
|
29373
29374
|
__name: "MultiSelect",
|
|
29374
29375
|
props: {
|
|
29375
29376
|
modelValue: {},
|
|
@@ -29542,7 +29543,7 @@ const vH = /* @__PURE__ */ Oe({
|
|
|
29542
29543
|
_: 3
|
|
29543
29544
|
}, 8, ["info", "label", "mandatory", "show-optional-text"]));
|
|
29544
29545
|
}
|
|
29545
|
-
}), aee = /* @__PURE__ */
|
|
29546
|
+
}), aee = /* @__PURE__ */ Te({
|
|
29546
29547
|
__name: "Paginator",
|
|
29547
29548
|
props: /* @__PURE__ */ nn({
|
|
29548
29549
|
totalRecords: {},
|
|
@@ -29860,7 +29861,7 @@ function kH(t, e, n, i, r, o) {
|
|
|
29860
29861
|
}, t.ptm("inkbar")), null, 16)], 16, wH)], 16);
|
|
29861
29862
|
}
|
|
29862
29863
|
iA.render = kH;
|
|
29863
|
-
const OH = ["href", "onClick"], TH = ["href", "target"], lee = /* @__PURE__ */
|
|
29864
|
+
const OH = ["href", "onClick"], TH = ["href", "target"], lee = /* @__PURE__ */ Te({
|
|
29864
29865
|
__name: "TabMenu",
|
|
29865
29866
|
props: /* @__PURE__ */ nn({
|
|
29866
29867
|
menu: {},
|
|
@@ -30038,7 +30039,7 @@ function PH(t, e, n, i, r, o) {
|
|
|
30038
30039
|
}, t.ptmi("root", o.ptmParams)), null, 16, IH);
|
|
30039
30040
|
}
|
|
30040
30041
|
rA.render = PH;
|
|
30041
|
-
const uee = /* @__PURE__ */
|
|
30042
|
+
const uee = /* @__PURE__ */ Te({
|
|
30042
30043
|
__name: "Textarea",
|
|
30043
30044
|
props: {
|
|
30044
30045
|
modelValue: {},
|
|
@@ -30230,7 +30231,7 @@ function BH(t, e, n, i, r, o) {
|
|
|
30230
30231
|
}), 128))], 16);
|
|
30231
30232
|
}
|
|
30232
30233
|
oA.render = BH;
|
|
30233
|
-
const NH = { key: 0 }, Qa = /* @__PURE__ */
|
|
30234
|
+
const NH = { key: 0 }, Qa = /* @__PURE__ */ Te({
|
|
30234
30235
|
__name: "UserName",
|
|
30235
30236
|
props: {
|
|
30236
30237
|
user: {},
|
|
@@ -32848,7 +32849,7 @@ function K$(t) {
|
|
|
32848
32849
|
]
|
|
32849
32850
|
};
|
|
32850
32851
|
}
|
|
32851
|
-
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({
|
|
32852
32853
|
__name: "CodeSnippet",
|
|
32853
32854
|
props: /* @__PURE__ */ nn({
|
|
32854
32855
|
code: {},
|
|
@@ -33105,7 +33106,7 @@ function IA(t, e, n, i) {
|
|
|
33105
33106
|
n -= l, i -= l;
|
|
33106
33107
|
}
|
|
33107
33108
|
}
|
|
33108
|
-
class
|
|
33109
|
+
class Oe {
|
|
33109
33110
|
/**
|
|
33110
33111
|
@internal
|
|
33111
33112
|
*/
|
|
@@ -33160,7 +33161,7 @@ class ke {
|
|
|
33160
33161
|
let n = this.lastChild, i = e.firstChild, r = this.content.slice(), o = 0;
|
|
33161
33162
|
for (n.isText && n.sameMarkup(i) && (r[r.length - 1] = n.withText(n.text + i.text), o = 1); o < e.content.length; o++)
|
|
33162
33163
|
r.push(e.content[o]);
|
|
33163
|
-
return new
|
|
33164
|
+
return new Oe(r, this.size + e.size);
|
|
33164
33165
|
}
|
|
33165
33166
|
/**
|
|
33166
33167
|
Cut out the sub-fragment between the two given positions.
|
|
@@ -33174,13 +33175,13 @@ class ke {
|
|
|
33174
33175
|
let a = this.content[o], l = s + a.nodeSize;
|
|
33175
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;
|
|
33176
33177
|
}
|
|
33177
|
-
return new
|
|
33178
|
+
return new Oe(i, r);
|
|
33178
33179
|
}
|
|
33179
33180
|
/**
|
|
33180
33181
|
@internal
|
|
33181
33182
|
*/
|
|
33182
33183
|
cutByIndex(e, n) {
|
|
33183
|
-
return e == n ?
|
|
33184
|
+
return e == n ? Oe.empty : e == 0 && n == this.content.length ? this : new Oe(this.content.slice(e, n));
|
|
33184
33185
|
}
|
|
33185
33186
|
/**
|
|
33186
33187
|
Create a new fragment in which the node at the given index is
|
|
@@ -33191,21 +33192,21 @@ class ke {
|
|
|
33191
33192
|
if (i == n)
|
|
33192
33193
|
return this;
|
|
33193
33194
|
let r = this.content.slice(), o = this.size + n.nodeSize - i.nodeSize;
|
|
33194
|
-
return r[e] = n, new
|
|
33195
|
+
return r[e] = n, new Oe(r, o);
|
|
33195
33196
|
}
|
|
33196
33197
|
/**
|
|
33197
33198
|
Create a new fragment by prepending the given node to this
|
|
33198
33199
|
fragment.
|
|
33199
33200
|
*/
|
|
33200
33201
|
addToStart(e) {
|
|
33201
|
-
return new
|
|
33202
|
+
return new Oe([e].concat(this.content), this.size + e.nodeSize);
|
|
33202
33203
|
}
|
|
33203
33204
|
/**
|
|
33204
33205
|
Create a new fragment by appending the given node to this
|
|
33205
33206
|
fragment.
|
|
33206
33207
|
*/
|
|
33207
33208
|
addToEnd(e) {
|
|
33208
|
-
return new
|
|
33209
|
+
return new Oe(this.content.concat(e), this.size + e.nodeSize);
|
|
33209
33210
|
}
|
|
33210
33211
|
/**
|
|
33211
33212
|
Compare this fragment to another one.
|
|
@@ -33320,10 +33321,10 @@ class ke {
|
|
|
33320
33321
|
*/
|
|
33321
33322
|
static fromJSON(e, n) {
|
|
33322
33323
|
if (!n)
|
|
33323
|
-
return
|
|
33324
|
+
return Oe.empty;
|
|
33324
33325
|
if (!Array.isArray(n))
|
|
33325
33326
|
throw new RangeError("Invalid input for Fragment.fromJSON");
|
|
33326
|
-
return new
|
|
33327
|
+
return new Oe(n.map(e.nodeFromJSON));
|
|
33327
33328
|
}
|
|
33328
33329
|
/**
|
|
33329
33330
|
Build a fragment from an array of nodes. Ensures that adjacent
|
|
@@ -33331,13 +33332,13 @@ class ke {
|
|
|
33331
33332
|
*/
|
|
33332
33333
|
static fromArray(e) {
|
|
33333
33334
|
if (!e.length)
|
|
33334
|
-
return
|
|
33335
|
+
return Oe.empty;
|
|
33335
33336
|
let n, i = 0;
|
|
33336
33337
|
for (let r = 0; r < e.length; r++) {
|
|
33337
33338
|
let o = e[r];
|
|
33338
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);
|
|
33339
33340
|
}
|
|
33340
|
-
return new
|
|
33341
|
+
return new Oe(n || e, i);
|
|
33341
33342
|
}
|
|
33342
33343
|
/**
|
|
33343
33344
|
Create a fragment from something that can be interpreted as a
|
|
@@ -33347,17 +33348,17 @@ class ke {
|
|
|
33347
33348
|
*/
|
|
33348
33349
|
static from(e) {
|
|
33349
33350
|
if (!e)
|
|
33350
|
-
return
|
|
33351
|
-
if (e instanceof
|
|
33351
|
+
return Oe.empty;
|
|
33352
|
+
if (e instanceof Oe)
|
|
33352
33353
|
return e;
|
|
33353
33354
|
if (Array.isArray(e))
|
|
33354
33355
|
return this.fromArray(e);
|
|
33355
33356
|
if (e.attrs)
|
|
33356
|
-
return new
|
|
33357
|
+
return new Oe([e], e.nodeSize);
|
|
33357
33358
|
throw new RangeError("Can not convert " + e + " to a Fragment" + (e.nodesBetween ? " (looks like multiple versions of prosemirror-model were loaded)" : ""));
|
|
33358
33359
|
}
|
|
33359
33360
|
}
|
|
33360
|
-
|
|
33361
|
+
Oe.empty = new Oe([], 0);
|
|
33361
33362
|
const Pd = { index: 0, offset: 0 };
|
|
33362
33363
|
function Ql(t, e) {
|
|
33363
33364
|
return Pd.index = t, Pd.offset = e, Pd;
|
|
@@ -33559,7 +33560,7 @@ class je {
|
|
|
33559
33560
|
let i = n.openStart || 0, r = n.openEnd || 0;
|
|
33560
33561
|
if (typeof i != "number" || typeof r != "number")
|
|
33561
33562
|
throw new RangeError("Invalid input for Slice.fromJSON");
|
|
33562
|
-
return new je(
|
|
33563
|
+
return new je(Oe.fromJSON(e, n.content), i, r);
|
|
33563
33564
|
}
|
|
33564
33565
|
/**
|
|
33565
33566
|
Create a slice from a fragment by taking the maximum possible
|
|
@@ -33574,7 +33575,7 @@ class je {
|
|
|
33574
33575
|
return new je(e, i, r);
|
|
33575
33576
|
}
|
|
33576
33577
|
}
|
|
33577
|
-
je.empty = new je(
|
|
33578
|
+
je.empty = new je(Oe.empty, 0, 0);
|
|
33578
33579
|
function PA(t, e, n) {
|
|
33579
33580
|
let { index: i, offset: r } = t.findIndex(e), o = t.maybeChild(i), { index: s, offset: a } = t.findIndex(n);
|
|
33580
33581
|
if (r == e || o.isText) {
|
|
@@ -33639,7 +33640,7 @@ function bo(t, e) {
|
|
|
33639
33640
|
}
|
|
33640
33641
|
function BA(t, e, n, i, r) {
|
|
33641
33642
|
let o = t.depth > r && Yf(t, e, r + 1), s = i.depth > r && Yf(n, i, r + 1), a = [];
|
|
33642
|
-
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);
|
|
33643
33644
|
}
|
|
33644
33645
|
function Nu(t, e, n) {
|
|
33645
33646
|
let i = [];
|
|
@@ -33647,12 +33648,12 @@ function Nu(t, e, n) {
|
|
|
33647
33648
|
let r = Yf(t, e, n + 1);
|
|
33648
33649
|
yo(bo(r, Nu(t, e, n + 1)), i);
|
|
33649
33650
|
}
|
|
33650
|
-
return sa(e, null, n, i), new
|
|
33651
|
+
return sa(e, null, n, i), new Oe(i);
|
|
33651
33652
|
}
|
|
33652
33653
|
function G$(t, e) {
|
|
33653
33654
|
let n = e.depth - t.openStart, r = e.node(n).copy(t.content);
|
|
33654
33655
|
for (let o = n - 1; o >= 0; o--)
|
|
33655
|
-
r = e.node(o).copy(
|
|
33656
|
+
r = e.node(o).copy(Oe.from(r));
|
|
33656
33657
|
return {
|
|
33657
33658
|
start: r.resolveNoCache(t.openStart + n),
|
|
33658
33659
|
end: r.resolveNoCache(r.content.size - t.openEnd - n)
|
|
@@ -33957,7 +33958,7 @@ let Hr = class _f {
|
|
|
33957
33958
|
@internal
|
|
33958
33959
|
*/
|
|
33959
33960
|
constructor(e, n, i, r = Vt.none) {
|
|
33960
|
-
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;
|
|
33961
33962
|
}
|
|
33962
33963
|
/**
|
|
33963
33964
|
The array of this node's child nodes.
|
|
@@ -34246,7 +34247,7 @@ let Hr = class _f {
|
|
|
34246
34247
|
can optionally pass `start` and `end` indices into the
|
|
34247
34248
|
replacement fragment.
|
|
34248
34249
|
*/
|
|
34249
|
-
canReplace(e, n, i =
|
|
34250
|
+
canReplace(e, n, i = Oe.empty, r = 0, o = i.childCount) {
|
|
34250
34251
|
let s = this.contentMatchAt(e).matchFragment(i, r, o), a = s && s.matchFragment(this.content, n);
|
|
34251
34252
|
if (!a || !a.validEnd)
|
|
34252
34253
|
return !1;
|
|
@@ -34317,7 +34318,7 @@ let Hr = class _f {
|
|
|
34317
34318
|
throw new RangeError("Invalid text node in JSON");
|
|
34318
34319
|
return e.text(n.text, i);
|
|
34319
34320
|
}
|
|
34320
|
-
let r =
|
|
34321
|
+
let r = Oe.fromJSON(e, n.content), o = e.nodeType(n.type).create(n.attrs, r, i);
|
|
34321
34322
|
return o.type.checkAttrs(o.attrs), o;
|
|
34322
34323
|
}
|
|
34323
34324
|
};
|
|
@@ -34445,7 +34446,7 @@ class Eo {
|
|
|
34445
34446
|
function o(s, a) {
|
|
34446
34447
|
let l = s.matchFragment(e, i);
|
|
34447
34448
|
if (l && (!n || l.validEnd))
|
|
34448
|
-
return
|
|
34449
|
+
return Oe.from(a.map((u) => u.createAndFill()));
|
|
34449
34450
|
for (let u = 0; u < s.next.length; u++) {
|
|
34450
34451
|
let { type: c, next: d } = s.next[u];
|
|
34451
34452
|
if (!(c.isText || c.hasRequiredAttrs()) && r.indexOf(d) == -1) {
|
|
@@ -34828,7 +34829,7 @@ let Rv = class KA {
|
|
|
34828
34829
|
create(e = null, n, i) {
|
|
34829
34830
|
if (this.isText)
|
|
34830
34831
|
throw new Error("NodeType.create can't construct text nodes");
|
|
34831
|
-
return new Hr(this, this.computeAttrs(e),
|
|
34832
|
+
return new Hr(this, this.computeAttrs(e), Oe.from(n), Vt.setFrom(i));
|
|
34832
34833
|
}
|
|
34833
34834
|
/**
|
|
34834
34835
|
Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but check the given content
|
|
@@ -34836,7 +34837,7 @@ let Rv = class KA {
|
|
|
34836
34837
|
if it doesn't match.
|
|
34837
34838
|
*/
|
|
34838
34839
|
createChecked(e = null, n, i) {
|
|
34839
|
-
return n =
|
|
34840
|
+
return n = Oe.from(n), this.checkContent(n), new Hr(this, this.computeAttrs(e), n, Vt.setFrom(i));
|
|
34840
34841
|
}
|
|
34841
34842
|
/**
|
|
34842
34843
|
Like [`create`](https://prosemirror.net/docs/ref/#model.NodeType.create), but see if it is
|
|
@@ -34847,13 +34848,13 @@ let Rv = class KA {
|
|
|
34847
34848
|
`Fragment.empty` as content.
|
|
34848
34849
|
*/
|
|
34849
34850
|
createAndFill(e = null, n, i) {
|
|
34850
|
-
if (e = this.computeAttrs(e), n =
|
|
34851
|
+
if (e = this.computeAttrs(e), n = Oe.from(n), n.size) {
|
|
34851
34852
|
let s = this.contentMatch.fillBefore(n);
|
|
34852
34853
|
if (!s)
|
|
34853
34854
|
return null;
|
|
34854
34855
|
n = s.append(n);
|
|
34855
34856
|
}
|
|
34856
|
-
let r = this.contentMatch.matchFragment(n), o = r && r.fillBefore(
|
|
34857
|
+
let r = this.contentMatch.matchFragment(n), o = r && r.fillBefore(Oe.empty, !0);
|
|
34857
34858
|
return o ? new Hr(this, e, n.append(o), Vt.setFrom(i)) : null;
|
|
34858
34859
|
}
|
|
34859
34860
|
/**
|
|
@@ -35271,7 +35272,7 @@ class eu {
|
|
|
35271
35272
|
if (!this.match) {
|
|
35272
35273
|
if (!this.type)
|
|
35273
35274
|
return [];
|
|
35274
|
-
let n = this.type.contentMatch.fillBefore(
|
|
35275
|
+
let n = this.type.contentMatch.fillBefore(Oe.from(e));
|
|
35275
35276
|
if (n)
|
|
35276
35277
|
this.match = this.type.contentMatch.matchFragment(n);
|
|
35277
35278
|
else {
|
|
@@ -35289,8 +35290,8 @@ class eu {
|
|
|
35289
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));
|
|
35290
35291
|
}
|
|
35291
35292
|
}
|
|
35292
|
-
let n =
|
|
35293
|
-
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;
|
|
35294
35295
|
}
|
|
35295
35296
|
inlineContext(e) {
|
|
35296
35297
|
return this.type ? this.type.inlineContent : this.content.length ? this.content[0].isInline : e.parentNode && !WA.hasOwnProperty(e.parentNode.nodeName.toLowerCase());
|
|
@@ -36112,7 +36113,7 @@ function ch(t, e, n) {
|
|
|
36112
36113
|
let o = t.child(r);
|
|
36113
36114
|
o.content.size && (o = o.copy(ch(o.content, e, o))), o.isInline && (o = e(o, n, r)), i.push(o);
|
|
36114
36115
|
}
|
|
36115
|
-
return
|
|
36116
|
+
return Oe.fromArray(i);
|
|
36116
36117
|
}
|
|
36117
36118
|
class Br extends Ln {
|
|
36118
36119
|
/**
|
|
@@ -36204,7 +36205,7 @@ class Nr extends Ln {
|
|
|
36204
36205
|
if (!n)
|
|
36205
36206
|
return en.fail("No node at mark step's position");
|
|
36206
36207
|
let i = n.type.create(n.attrs, null, this.mark.addToSet(n.marks));
|
|
36207
|
-
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));
|
|
36208
36209
|
}
|
|
36209
36210
|
invert(e) {
|
|
36210
36211
|
let n = e.nodeAt(this.pos);
|
|
@@ -36248,7 +36249,7 @@ class Io extends Ln {
|
|
|
36248
36249
|
if (!n)
|
|
36249
36250
|
return en.fail("No node at mark step's position");
|
|
36250
36251
|
let i = n.type.create(n.attrs, null, this.mark.removeFromSet(n.marks));
|
|
36251
|
-
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));
|
|
36252
36253
|
}
|
|
36253
36254
|
invert(e) {
|
|
36254
36255
|
let n = e.nodeAt(this.pos);
|
|
@@ -36447,13 +36448,13 @@ function dh(t, e, n, i = n.contentMatch, r = !0) {
|
|
|
36447
36448
|
if (r && u.isText && n.whitespace != "pre") {
|
|
36448
36449
|
let f, p = /\r?\n|\r/g, h;
|
|
36449
36450
|
for (; f = p.exec(u.text); )
|
|
36450
|
-
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));
|
|
36451
36452
|
}
|
|
36452
36453
|
}
|
|
36453
36454
|
a = c;
|
|
36454
36455
|
}
|
|
36455
36456
|
if (!i.validEnd) {
|
|
36456
|
-
let l = i.fillBefore(
|
|
36457
|
+
let l = i.fillBefore(Oe.empty, !0);
|
|
36457
36458
|
t.replace(a, a, new je(l, 0, 0));
|
|
36458
36459
|
}
|
|
36459
36460
|
for (let l = s.length - 1; l >= 0; l--)
|
|
@@ -36474,12 +36475,12 @@ function Ds(t) {
|
|
|
36474
36475
|
return null;
|
|
36475
36476
|
}
|
|
36476
36477
|
function Sj(t, e, n) {
|
|
36477
|
-
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;
|
|
36478
36479
|
for (let h = o, m = !1; h > n; h--)
|
|
36479
|
-
m || i.index(h) > 0 ? (m = !0, c =
|
|
36480
|
-
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;
|
|
36481
36482
|
for (let h = o, m = !1; h > n; h--)
|
|
36482
|
-
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++;
|
|
36483
36484
|
t.step(new fn(l, u, s, a, new je(c.append(f), d, p), c.size - d, !0));
|
|
36484
36485
|
}
|
|
36485
36486
|
function fh(t, e, n = null, i = t) {
|
|
@@ -36506,14 +36507,14 @@ function kj(t, e) {
|
|
|
36506
36507
|
return !l || !l.validEnd ? null : s;
|
|
36507
36508
|
}
|
|
36508
36509
|
function Oj(t, e, n) {
|
|
36509
|
-
let i =
|
|
36510
|
+
let i = Oe.empty;
|
|
36510
36511
|
for (let s = n.length - 1; s >= 0; s--) {
|
|
36511
36512
|
if (i.size) {
|
|
36512
36513
|
let a = n[s].type.contentMatch.matchFragment(i);
|
|
36513
36514
|
if (!a || !a.validEnd)
|
|
36514
36515
|
throw new RangeError("Wrapper type given to Transform.wrap does not form valid content of its parent wrapper");
|
|
36515
36516
|
}
|
|
36516
|
-
i =
|
|
36517
|
+
i = Oe.from(n[s].type.create(n[s].attrs, i));
|
|
36517
36518
|
}
|
|
36518
36519
|
let r = e.start, o = e.end;
|
|
36519
36520
|
t.step(new fn(r, o, r, o, new je(i, 0, 0), n.length, !0));
|
|
@@ -36532,7 +36533,7 @@ function Tj(t, e, n, i, r) {
|
|
|
36532
36533
|
}
|
|
36533
36534
|
u === !1 && QA(t, s, a, o), dh(t, t.mapping.slice(o).map(a, 1), i, void 0, u === null);
|
|
36534
36535
|
let c = t.mapping.slice(o), d = c.map(a, 1), f = c.map(a + s.nodeSize, 1);
|
|
36535
|
-
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;
|
|
36536
36537
|
}
|
|
36537
36538
|
});
|
|
36538
36539
|
}
|
|
@@ -36570,7 +36571,7 @@ function Mj(t, e, n, i, r) {
|
|
|
36570
36571
|
return t.replaceWith(e, e + o.nodeSize, s);
|
|
36571
36572
|
if (!n.validContent(o.content))
|
|
36572
36573
|
throw new RangeError("Invalid content for node type " + n.name);
|
|
36573
|
-
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));
|
|
36574
36575
|
}
|
|
36575
36576
|
function lr(t, e, n = 1, i) {
|
|
36576
36577
|
let r = t.resolve(e), o = r.depth - n, s = i && i[i.length - 1] || r.parent;
|
|
@@ -36590,11 +36591,11 @@ function lr(t, e, n = 1, i) {
|
|
|
36590
36591
|
return r.node(o).canReplaceWith(a, a, l ? l.type : r.node(o + 1).type);
|
|
36591
36592
|
}
|
|
36592
36593
|
function Ej(t, e, n = 1, i) {
|
|
36593
|
-
let r = t.doc.resolve(e), o =
|
|
36594
|
+
let r = t.doc.resolve(e), o = Oe.empty, s = Oe.empty;
|
|
36594
36595
|
for (let a = r.depth, l = r.depth - n, u = n - 1; a > l; a--, u--) {
|
|
36595
|
-
o =
|
|
36596
|
+
o = Oe.from(r.node(a).copy(o));
|
|
36596
36597
|
let c = i && i[u];
|
|
36597
|
-
s =
|
|
36598
|
+
s = Oe.from(c ? c.type.create(c.attrs, s) : r.node(a).copy(s));
|
|
36598
36599
|
}
|
|
36599
36600
|
t.step(new cn(e, e, new je(o.append(s), n, n), !0));
|
|
36600
36601
|
}
|
|
@@ -36699,7 +36700,7 @@ function t2(t, e, n) {
|
|
|
36699
36700
|
}
|
|
36700
36701
|
class Rj {
|
|
36701
36702
|
constructor(e, n, i) {
|
|
36702
|
-
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;
|
|
36703
36704
|
for (let r = 0; r <= e.depth; r++) {
|
|
36704
36705
|
let o = e.node(r);
|
|
36705
36706
|
this.frontier.push({
|
|
@@ -36708,7 +36709,7 @@ class Rj {
|
|
|
36708
36709
|
});
|
|
36709
36710
|
}
|
|
36710
36711
|
for (let r = e.depth; r > 0; r--)
|
|
36711
|
-
this.placed =
|
|
36712
|
+
this.placed = Oe.from(e.node(r).copy(this.placed));
|
|
36712
36713
|
}
|
|
36713
36714
|
get depth() {
|
|
36714
36715
|
return this.frontier.length - 1;
|
|
@@ -36747,7 +36748,7 @@ class Rj {
|
|
|
36747
36748
|
let s = r.firstChild;
|
|
36748
36749
|
for (let a = this.depth; a >= 0; a--) {
|
|
36749
36750
|
let { type: l, match: u } = this.frontier[a], c, d = null;
|
|
36750
|
-
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)))
|
|
36751
36752
|
return { sliceDepth: i, frontierDepth: a, parent: o, inject: d };
|
|
36752
36753
|
if (n == 2 && s && (c = u.findWrapping(s.type)))
|
|
36753
36754
|
return { sliceDepth: i, frontierDepth: a, parent: o, wrap: c };
|
|
@@ -36791,7 +36792,7 @@ class Rj {
|
|
|
36791
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)));
|
|
36792
36793
|
}
|
|
36793
36794
|
let h = u == a.childCount;
|
|
36794
|
-
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();
|
|
36795
36796
|
for (let m = 0, v = a; m < p; m++) {
|
|
36796
36797
|
let S = v.lastChild;
|
|
36797
36798
|
this.frontier.push({ type: S.type, match: S.contentMatchAt(S.childCount) }), v = S.content;
|
|
@@ -36837,10 +36838,10 @@ class Rj {
|
|
|
36837
36838
|
}
|
|
36838
36839
|
openFrontierNode(e, n = null, i) {
|
|
36839
36840
|
let r = this.frontier[this.depth];
|
|
36840
|
-
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 });
|
|
36841
36842
|
}
|
|
36842
36843
|
closeFrontierNode() {
|
|
36843
|
-
let n = this.frontier.pop().match.fillBefore(
|
|
36844
|
+
let n = this.frontier.pop().match.fillBefore(Oe.empty, !0);
|
|
36844
36845
|
n.childCount && (this.placed = Js(this.placed, this.frontier.length, n));
|
|
36845
36846
|
}
|
|
36846
36847
|
}
|
|
@@ -36859,7 +36860,7 @@ function n2(t, e, n) {
|
|
|
36859
36860
|
if (e <= 0)
|
|
36860
36861
|
return t;
|
|
36861
36862
|
let i = t.content;
|
|
36862
|
-
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);
|
|
36863
36864
|
}
|
|
36864
36865
|
function Bd(t, e, n, i, r) {
|
|
36865
36866
|
let o = t.node(e), s = r ? t.indexAfter(e) : t.index(e);
|
|
@@ -36931,7 +36932,7 @@ function i2(t, e, n, i, r) {
|
|
|
36931
36932
|
}
|
|
36932
36933
|
if (e > i) {
|
|
36933
36934
|
let o = r.contentMatchAt(0), s = o.fillBefore(t).append(t);
|
|
36934
|
-
t = s.append(o.matchFragment(s).fillBefore(
|
|
36935
|
+
t = s.append(o.matchFragment(s).fillBefore(Oe.empty, !0));
|
|
36935
36936
|
}
|
|
36936
36937
|
return t;
|
|
36937
36938
|
}
|
|
@@ -36940,7 +36941,7 @@ function zj(t, e, n, i) {
|
|
|
36940
36941
|
let r = Lj(t.doc, e, i.type);
|
|
36941
36942
|
r != null && (e = n = r);
|
|
36942
36943
|
}
|
|
36943
|
-
t.replaceRange(e, n, new je(
|
|
36944
|
+
t.replaceRange(e, n, new je(Oe.from(i), 0, 0));
|
|
36944
36945
|
}
|
|
36945
36946
|
function Fj(t, e, n) {
|
|
36946
36947
|
let i = t.doc.resolve(e), r = t.doc.resolve(n), o = r2(i, r);
|
|
@@ -36982,7 +36983,7 @@ class ss extends Ln {
|
|
|
36982
36983
|
i[o] = n.attrs[o];
|
|
36983
36984
|
i[this.attr] = this.value;
|
|
36984
36985
|
let r = n.type.create(i, null, n.marks);
|
|
36985
|
-
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));
|
|
36986
36987
|
}
|
|
36987
36988
|
getMap() {
|
|
36988
36989
|
return _n.empty;
|
|
@@ -37104,7 +37105,7 @@ class o2 {
|
|
|
37104
37105
|
fragment, node, or array of nodes.
|
|
37105
37106
|
*/
|
|
37106
37107
|
replaceWith(e, n, i) {
|
|
37107
|
-
return this.replace(e, n, new je(
|
|
37108
|
+
return this.replace(e, n, new je(Oe.from(i), 0, 0));
|
|
37108
37109
|
}
|
|
37109
37110
|
/**
|
|
37110
37111
|
Delete the content between the given positions.
|
|
@@ -37547,7 +37548,7 @@ class it extends St {
|
|
|
37547
37548
|
return i ? St.near(o) : new it(o);
|
|
37548
37549
|
}
|
|
37549
37550
|
content() {
|
|
37550
|
-
return new je(
|
|
37551
|
+
return new je(Oe.from(this.node), 0, 0);
|
|
37551
37552
|
}
|
|
37552
37553
|
eq(e) {
|
|
37553
37554
|
return e instanceof it && e.anchor == this.anchor;
|
|
@@ -39006,7 +39007,7 @@ class Kr extends kl {
|
|
|
39006
39007
|
break;
|
|
39007
39008
|
}
|
|
39008
39009
|
}
|
|
39009
|
-
e.contentElement || (e.getContent = () =>
|
|
39010
|
+
e.contentElement || (e.getContent = () => Oe.empty);
|
|
39010
39011
|
}
|
|
39011
39012
|
return e;
|
|
39012
39013
|
}
|
|
@@ -39953,7 +39954,7 @@ function O2(t, e, n, i, r) {
|
|
|
39953
39954
|
if (t.someProp("transformPastedText", (f) => {
|
|
39954
39955
|
e = f(e, o || i, t);
|
|
39955
39956
|
}), o)
|
|
39956
|
-
return e ? new je(
|
|
39957
|
+
return e ? new je(Oe.from(t.state.schema.text(e.replace(/\r\n?/g, `
|
|
39957
39958
|
`))), 0, 0) : je.empty;
|
|
39958
39959
|
let d = t.someProp("clipboardTextParser", (f) => f(e, r, i, t));
|
|
39959
39960
|
if (d)
|
|
@@ -40019,13 +40020,13 @@ function RK(t, e) {
|
|
|
40019
40020
|
s.push(c), r = r.matchType(c.type), o = l;
|
|
40020
40021
|
}
|
|
40021
40022
|
}), s)
|
|
40022
|
-
return
|
|
40023
|
+
return Oe.from(s);
|
|
40023
40024
|
}
|
|
40024
40025
|
return t;
|
|
40025
40026
|
}
|
|
40026
40027
|
function T2(t, e, n = 0) {
|
|
40027
40028
|
for (let i = e.length - 1; i >= n; i--)
|
|
40028
|
-
t = e[i].create(null,
|
|
40029
|
+
t = e[i].create(null, Oe.from(t));
|
|
40029
40030
|
return t;
|
|
40030
40031
|
}
|
|
40031
40032
|
function x2(t, e, n, i, r) {
|
|
@@ -40034,18 +40035,18 @@ function x2(t, e, n, i, r) {
|
|
|
40034
40035
|
if (o)
|
|
40035
40036
|
return i.copy(i.content.replaceChild(i.childCount - 1, o));
|
|
40036
40037
|
if (i.contentMatchAt(i.childCount).matchType(r == t.length - 1 ? n.type : t[r + 1]))
|
|
40037
|
-
return i.copy(i.content.append(
|
|
40038
|
+
return i.copy(i.content.append(Oe.from(T2(n, t, r + 1))));
|
|
40038
40039
|
}
|
|
40039
40040
|
}
|
|
40040
40041
|
function M2(t, e) {
|
|
40041
40042
|
if (e == 0)
|
|
40042
40043
|
return t;
|
|
40043
|
-
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);
|
|
40044
40045
|
return t.copy(n.append(i));
|
|
40045
40046
|
}
|
|
40046
40047
|
function cp(t, e, n, i, r, o) {
|
|
40047
40048
|
let s = e < 0 ? t.firstChild : t.lastChild, a = s.content;
|
|
40048
|
-
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));
|
|
40049
40050
|
}
|
|
40050
40051
|
function v1(t, e, n) {
|
|
40051
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;
|
|
@@ -40100,7 +40101,7 @@ function zK(t, e) {
|
|
|
40100
40101
|
let l = n.nodes[i[a]];
|
|
40101
40102
|
if (!l || l.hasRequiredAttrs())
|
|
40102
40103
|
break;
|
|
40103
|
-
r =
|
|
40104
|
+
r = Oe.from(l.create(i[a + 1], r)), o++, s++;
|
|
40104
40105
|
}
|
|
40105
40106
|
return new je(r, o, s);
|
|
40106
40107
|
}
|
|
@@ -41370,7 +41371,7 @@ function bU(t, e) {
|
|
|
41370
41371
|
let u = [];
|
|
41371
41372
|
for (let c = 0; c < e.childCount; c++)
|
|
41372
41373
|
u.push(l(e.child(c)));
|
|
41373
|
-
if (
|
|
41374
|
+
if (Oe.from(u).eq(t))
|
|
41374
41375
|
return { mark: a, type: s };
|
|
41375
41376
|
}
|
|
41376
41377
|
function AU(t, e, n, i, r) {
|
|
@@ -42225,10 +42226,10 @@ function Y2(t, e, n, i) {
|
|
|
42225
42226
|
let u = !l && e.parent.canReplace(e.index(), e.index() + 1);
|
|
42226
42227
|
if (u && (s = (a = r.contentMatchAt(r.childCount)).findWrapping(o.type)) && a.matchType(s[0] || o.type).validEnd) {
|
|
42227
42228
|
if (n) {
|
|
42228
|
-
let p = e.pos + o.nodeSize, h =
|
|
42229
|
+
let p = e.pos + o.nodeSize, h = Oe.empty;
|
|
42229
42230
|
for (let S = s.length - 1; S >= 0; S--)
|
|
42230
|
-
h =
|
|
42231
|
-
h =
|
|
42231
|
+
h = Oe.from(s[S].create(null, h));
|
|
42232
|
+
h = Oe.from(r.copy(h));
|
|
42232
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);
|
|
42233
42234
|
v.nodeAfter && v.nodeAfter.type == r.type && _r(m.doc, v.pos) && m.join(v.pos), n(m.scrollIntoView());
|
|
42234
42235
|
}
|
|
@@ -42246,9 +42247,9 @@ function Y2(t, e, n, i) {
|
|
|
42246
42247
|
v++;
|
|
42247
42248
|
if (p.canReplace(p.childCount, p.childCount, m.content)) {
|
|
42248
42249
|
if (n) {
|
|
42249
|
-
let S =
|
|
42250
|
+
let S = Oe.empty;
|
|
42250
42251
|
for (let k = h.length - 1; k >= 0; k--)
|
|
42251
|
-
S =
|
|
42252
|
+
S = Oe.from(h[k].copy(S));
|
|
42252
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));
|
|
42253
42254
|
n(w.scrollIntoView());
|
|
42254
42255
|
}
|
|
@@ -42338,9 +42339,9 @@ function ZU(t, e, n, i = null) {
|
|
|
42338
42339
|
return a ? (t && qU(t, e, a, r, n), !0) : !1;
|
|
42339
42340
|
}
|
|
42340
42341
|
function qU(t, e, n, i, r) {
|
|
42341
|
-
let o =
|
|
42342
|
+
let o = Oe.empty;
|
|
42342
42343
|
for (let c = n.length - 1; c >= 0; c--)
|
|
42343
|
-
o =
|
|
42344
|
+
o = Oe.from(n[c].type.create(n[c].attrs, o));
|
|
42344
42345
|
t.step(new fn(e.start - (i ? 2 : 0), e.end, e.start, e.end, new je(o, 0, 0), n.length, !0));
|
|
42345
42346
|
let s = 0;
|
|
42346
42347
|
for (let c = 0; c < n.length; c++)
|
|
@@ -42358,7 +42359,7 @@ function GU(t) {
|
|
|
42358
42359
|
}
|
|
42359
42360
|
function JU(t, e, n, i) {
|
|
42360
42361
|
let r = t.tr, o = i.end, s = i.$to.end(i.depth);
|
|
42361
|
-
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));
|
|
42362
42363
|
const a = Ds(i);
|
|
42363
42364
|
if (a == null)
|
|
42364
42365
|
return !1;
|
|
@@ -42374,10 +42375,10 @@ function YU(t, e, n) {
|
|
|
42374
42375
|
if (i.mapping.map(n.end) != n.start + o.nodeAfter.nodeSize)
|
|
42375
42376
|
return !1;
|
|
42376
42377
|
let a = n.startIndex == 0, l = n.endIndex == r.childCount, u = o.node(-1), c = o.index(-1);
|
|
42377
|
-
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))))
|
|
42378
42379
|
return !1;
|
|
42379
42380
|
let d = o.pos, f = d + s.nodeSize;
|
|
42380
|
-
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;
|
|
42381
42382
|
}
|
|
42382
42383
|
function _U(t) {
|
|
42383
42384
|
return function(e, n) {
|
|
@@ -42391,7 +42392,7 @@ function _U(t) {
|
|
|
42391
42392
|
if (l.type != t)
|
|
42392
42393
|
return !1;
|
|
42393
42394
|
if (n) {
|
|
42394
|
-
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;
|
|
42395
42396
|
n(e.tr.step(new fn(f - (u ? 3 : 1), p, f, p, d, 1, !0)).scrollIntoView());
|
|
42396
42397
|
}
|
|
42397
42398
|
return !0;
|
|
@@ -42825,7 +42826,7 @@ function oW(t) {
|
|
|
42825
42826
|
const l = r.getMeta("applyInputRules");
|
|
42826
42827
|
return !!l && setTimeout(() => {
|
|
42827
42828
|
let { text: c } = l;
|
|
42828
|
-
typeof c == "string" ? c = c : c = Mh(
|
|
42829
|
+
typeof c == "string" ? c = c : c = Mh(Oe.from(c), s.schema);
|
|
42829
42830
|
const { from: d } = l, f = d + c.length;
|
|
42830
42831
|
tu({
|
|
42831
42832
|
editor: e,
|
|
@@ -43066,7 +43067,7 @@ function fW(t) {
|
|
|
43066
43067
|
return;
|
|
43067
43068
|
if (w) {
|
|
43068
43069
|
let { text: A } = S;
|
|
43069
|
-
typeof A == "string" ? A = A : A = Mh(
|
|
43070
|
+
typeof A == "string" ? A = A : A = Mh(Oe.from(A), p.schema);
|
|
43070
43071
|
const { from: b } = S, T = b + A.length, P = dW(A);
|
|
43071
43072
|
return l({
|
|
43072
43073
|
rule: c,
|
|
@@ -43506,7 +43507,7 @@ function ru(t) {
|
|
|
43506
43507
|
return ow(n);
|
|
43507
43508
|
}
|
|
43508
43509
|
function Xu(t, e, n) {
|
|
43509
|
-
if (t instanceof Hr || t instanceof
|
|
43510
|
+
if (t instanceof Hr || t instanceof Oe)
|
|
43510
43511
|
return t;
|
|
43511
43512
|
n = {
|
|
43512
43513
|
slice: !0,
|
|
@@ -43517,7 +43518,7 @@ function Xu(t, e, n) {
|
|
|
43517
43518
|
if (i)
|
|
43518
43519
|
try {
|
|
43519
43520
|
if (Array.isArray(t) && t.length > 0)
|
|
43520
|
-
return
|
|
43521
|
+
return Oe.fromArray(t.map((a) => e.nodeFromJSON(a)));
|
|
43521
43522
|
const s = e.nodeFromJSON(t);
|
|
43522
43523
|
return n.errorOnInvalidContent && s.check(), s;
|
|
43523
43524
|
} catch (o) {
|
|
@@ -43606,7 +43607,7 @@ const DW = (t) => !("type" in t), RW = (t, e, n) => ({ tr: i, dispatch: r, edito
|
|
|
43606
43607
|
if (c) {
|
|
43607
43608
|
if (Array.isArray(e))
|
|
43608
43609
|
p = e.map((h) => h.text || "").join("");
|
|
43609
|
-
else if (e instanceof
|
|
43610
|
+
else if (e instanceof Oe) {
|
|
43610
43611
|
let h = "";
|
|
43611
43612
|
e.forEach((m) => {
|
|
43612
43613
|
m.text && (h += m.text);
|
|
@@ -44063,15 +44064,15 @@ const wX = ({ keepMarks: t = !0 } = {}) => ({ tr: e, state: n, dispatch: i, edit
|
|
|
44063
44064
|
if (l.depth === 2 || l.node(-3).type !== a || l.index(-2) !== l.node(-2).childCount - 1)
|
|
44064
44065
|
return !1;
|
|
44065
44066
|
if (r) {
|
|
44066
|
-
let S =
|
|
44067
|
+
let S = Oe.empty;
|
|
44067
44068
|
const w = l.index(-1) ? 1 : l.index(-2) ? 2 : 3;
|
|
44068
44069
|
for (let P = l.depth - w; P >= l.depth - 3; P -= 1)
|
|
44069
|
-
S =
|
|
44070
|
+
S = Oe.from(l.node(P).copy(S));
|
|
44070
44071
|
const k = l.indexAfter(-1) < l.node(-2).childCount ? 1 : l.indexAfter(-2) < l.node(-3).childCount ? 2 : 3, y = {
|
|
44071
44072
|
...Au(f, l.node().type.name, l.node().attrs),
|
|
44072
44073
|
...e
|
|
44073
44074
|
}, A = ((s = a.contentMatch.defaultType) === null || s === void 0 ? void 0 : s.createAndFill(y)) || void 0;
|
|
44074
|
-
S = S.append(
|
|
44075
|
+
S = S.append(Oe.from(a.createAndFill(null, A) || void 0));
|
|
44075
44076
|
const b = l.before(l.depth - (w - 1));
|
|
44076
44077
|
n.replace(b, l.after(-k), new je(S, 4 - w, 0));
|
|
44077
44078
|
let T = -1;
|
|
@@ -49176,7 +49177,7 @@ zn.create({
|
|
|
49176
49177
|
] : [];
|
|
49177
49178
|
}
|
|
49178
49179
|
});
|
|
49179
|
-
|
|
49180
|
+
Te({
|
|
49180
49181
|
name: "BubbleMenu",
|
|
49181
49182
|
props: {
|
|
49182
49183
|
pluginKey: {
|
|
@@ -49262,7 +49263,7 @@ class VG extends UX {
|
|
|
49262
49263
|
return this.reactiveState && n && (this.reactiveState.value = n), n;
|
|
49263
49264
|
}
|
|
49264
49265
|
}
|
|
49265
|
-
const zG =
|
|
49266
|
+
const zG = Te({
|
|
49266
49267
|
name: "EditorContent",
|
|
49267
49268
|
props: {
|
|
49268
49269
|
editor: {
|
|
@@ -49300,7 +49301,7 @@ const zG = Oe({
|
|
|
49300
49301
|
}
|
|
49301
49302
|
});
|
|
49302
49303
|
}
|
|
49303
|
-
}), lf =
|
|
49304
|
+
}), lf = Te({
|
|
49304
49305
|
name: "FloatingMenu",
|
|
49305
49306
|
props: {
|
|
49306
49307
|
pluginKey: {
|
|
@@ -49342,7 +49343,7 @@ const zG = Oe({
|
|
|
49342
49343
|
};
|
|
49343
49344
|
}
|
|
49344
49345
|
});
|
|
49345
|
-
|
|
49346
|
+
Te({
|
|
49346
49347
|
name: "NodeViewContent",
|
|
49347
49348
|
props: {
|
|
49348
49349
|
as: {
|
|
@@ -49359,7 +49360,7 @@ Oe({
|
|
|
49359
49360
|
});
|
|
49360
49361
|
}
|
|
49361
49362
|
});
|
|
49362
|
-
const Uw =
|
|
49363
|
+
const Uw = Te({
|
|
49363
49364
|
name: "NodeViewWrapper",
|
|
49364
49365
|
props: {
|
|
49365
49366
|
as: {
|
|
@@ -49479,7 +49480,7 @@ class HG extends ZX {
|
|
|
49479
49480
|
deleteNode: () => this.deleteNode()
|
|
49480
49481
|
}, n = this.onDragStart.bind(this);
|
|
49481
49482
|
this.decorationClasses = se(this.getDecorationClasses());
|
|
49482
|
-
const i =
|
|
49483
|
+
const i = Te({
|
|
49483
49484
|
extends: { ...this.component },
|
|
49484
49485
|
props: Object.keys(e),
|
|
49485
49486
|
template: this.component.template,
|
|
@@ -49599,7 +49600,7 @@ function Zw(t, e) {
|
|
|
49599
49600
|
return new HG(i, n, e);
|
|
49600
49601
|
};
|
|
49601
49602
|
}
|
|
49602
|
-
const $G = /* @__PURE__ */
|
|
49603
|
+
const $G = /* @__PURE__ */ Te({
|
|
49603
49604
|
__name: "CodeSnippetAdapter",
|
|
49604
49605
|
props: Xw,
|
|
49605
49606
|
setup(t) {
|
|
@@ -49654,7 +49655,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
49654
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 = {
|
|
49655
49656
|
key: 0,
|
|
49656
49657
|
class: "absolute top-[45%] px-4 text-gray-400"
|
|
49657
|
-
}, ZG = ["contenteditable"], qG = /* @__PURE__ */
|
|
49658
|
+
}, ZG = ["contenteditable"], qG = /* @__PURE__ */ Te({
|
|
49658
49659
|
__name: "MentionSection",
|
|
49659
49660
|
props: Xw,
|
|
49660
49661
|
setup(t) {
|
|
@@ -49739,7 +49740,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
49739
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 = {
|
|
49740
49741
|
key: 1,
|
|
49741
49742
|
class: "text-xs font-semibold"
|
|
49742
|
-
}, tJ = /* @__PURE__ */
|
|
49743
|
+
}, tJ = /* @__PURE__ */ Te({
|
|
49743
49744
|
__name: "MentionList",
|
|
49744
49745
|
props: {
|
|
49745
49746
|
items: {},
|
|
@@ -49828,7 +49829,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
49828
49829
|
return !1;
|
|
49829
49830
|
const n = oJ(t.type);
|
|
49830
49831
|
return t.size <= (n === "mp4" || n === "mkv" ? rJ : e);
|
|
49831
|
-
}, so = /* @__PURE__ */
|
|
49832
|
+
}, so = /* @__PURE__ */ Te({
|
|
49832
49833
|
__name: "EditorButton",
|
|
49833
49834
|
props: {
|
|
49834
49835
|
classButton: {}
|
|
@@ -49874,7 +49875,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
49874
49875
|
"[&_.separator::after]:font-thin",
|
|
49875
49876
|
"[&_.separator]:h-6"
|
|
49876
49877
|
])
|
|
49877
|
-
}, OJ = /* @__PURE__ */
|
|
49878
|
+
}, OJ = /* @__PURE__ */ Te({
|
|
49878
49879
|
__name: "Editor",
|
|
49879
49880
|
props: /* @__PURE__ */ nn({
|
|
49880
49881
|
modelValue: {},
|
|
@@ -50680,7 +50681,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
50680
50681
|
}, DJ = {
|
|
50681
50682
|
key: 7,
|
|
50682
50683
|
class: "grid grid-cols-[max-content,1fr] gap-2 items-center"
|
|
50683
|
-
}, RJ = ["alt", "src"], BJ = ["href"], cu = /* @__PURE__ */
|
|
50684
|
+
}, RJ = ["alt", "src"], BJ = ["href"], cu = /* @__PURE__ */ Te({
|
|
50684
50685
|
__name: "TimelineContentByType",
|
|
50685
50686
|
props: {
|
|
50686
50687
|
detail: {}
|
|
@@ -50786,7 +50787,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
50786
50787
|
}, XJ = { class: "font-semibold whitespace-nowrap" }, ZJ = { class: "text-xs" }, qJ = {
|
|
50787
50788
|
key: 1,
|
|
50788
50789
|
class: "grid grid-rows-[max-content,auto] gap-1"
|
|
50789
|
-
}, GJ = { class: "font-semibold whitespace-nowrap" }, dee = /* @__PURE__ */
|
|
50790
|
+
}, GJ = { class: "font-semibold whitespace-nowrap" }, dee = /* @__PURE__ */ Te({
|
|
50790
50791
|
__name: "Timeline",
|
|
50791
50792
|
props: {
|
|
50792
50793
|
value: {},
|
|
@@ -50906,7 +50907,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
50906
50907
|
}, YJ = {
|
|
50907
50908
|
class: "text-[10px] leading-3 tracking-[0.03em] flex gap-1",
|
|
50908
50909
|
"data-wv-name": "tagtype"
|
|
50909
|
-
}, _J = ["data-wv-section"], QJ = /* @__PURE__ */
|
|
50910
|
+
}, _J = ["data-wv-section"], QJ = /* @__PURE__ */ Te({
|
|
50910
50911
|
__name: "TagType",
|
|
50911
50912
|
props: {
|
|
50912
50913
|
type: {}
|
|
@@ -50958,7 +50959,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
50958
50959
|
}, mY = /* @__PURE__ */ E("span", null, ":", -1), gY = {
|
|
50959
50960
|
key: 3,
|
|
50960
50961
|
class: "flex gap-3"
|
|
50961
|
-
}, vY = /* @__PURE__ */ E("span", null, ":", -1), fee = /* @__PURE__ */
|
|
50962
|
+
}, vY = /* @__PURE__ */ E("span", null, ":", -1), fee = /* @__PURE__ */ Te({
|
|
50962
50963
|
__name: "AssetInfo",
|
|
50963
50964
|
props: {
|
|
50964
50965
|
id: {},
|
|
@@ -51206,7 +51207,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
51206
51207
|
}, wY = {
|
|
51207
51208
|
class: "flex items-end justify-end gap-2",
|
|
51208
51209
|
"data-wv-section": "filteractionbuttons"
|
|
51209
|
-
}, SY = /* @__PURE__ */
|
|
51210
|
+
}, SY = /* @__PURE__ */ Te({
|
|
51210
51211
|
inheritAttrs: !1,
|
|
51211
51212
|
__name: "FilterContainer",
|
|
51212
51213
|
props: {
|
|
@@ -51403,7 +51404,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
51403
51404
|
[En, f.value]
|
|
51404
51405
|
]);
|
|
51405
51406
|
}
|
|
51406
|
-
}), Gw = /* @__PURE__ */
|
|
51407
|
+
}), Gw = /* @__PURE__ */ Te({
|
|
51407
51408
|
__name: "FilterContainer",
|
|
51408
51409
|
setup(t) {
|
|
51409
51410
|
return (e, n) => (g(), I(SY, C({
|
|
@@ -51424,7 +51425,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
51424
51425
|
_: 1
|
|
51425
51426
|
}, 16, ["fields"]));
|
|
51426
51427
|
}
|
|
51427
|
-
}), CY = /* @__PURE__ */
|
|
51428
|
+
}), CY = /* @__PURE__ */ Te({
|
|
51428
51429
|
__name: "DialogSelectUserFilter",
|
|
51429
51430
|
props: {
|
|
51430
51431
|
tableName: {},
|
|
@@ -51468,7 +51469,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
51468
51469
|
key: 0,
|
|
51469
51470
|
class: "text-danger-500 text-[12px] font-light",
|
|
51470
51471
|
"data-ts-section": "warning-message"
|
|
51471
|
-
}, PY = /* @__PURE__ */
|
|
51472
|
+
}, PY = /* @__PURE__ */ Te({
|
|
51472
51473
|
__name: "DialogSelectUser",
|
|
51473
51474
|
props: {
|
|
51474
51475
|
header: { default: "Select User" },
|
|
@@ -51570,7 +51571,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
51570
51571
|
}), LY = {
|
|
51571
51572
|
key: 0,
|
|
51572
51573
|
class: "flex gap-1 items-center"
|
|
51573
|
-
}, 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({
|
|
51574
51575
|
__name: "ButtonSelectUser",
|
|
51575
51576
|
props: {
|
|
51576
51577
|
fetchFunction: { type: Function },
|
|
@@ -51658,7 +51659,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
51658
51659
|
], 64);
|
|
51659
51660
|
};
|
|
51660
51661
|
}
|
|
51661
|
-
}), hee = /* @__PURE__ */
|
|
51662
|
+
}), hee = /* @__PURE__ */ Te({
|
|
51662
51663
|
__name: "ButtonViewLog",
|
|
51663
51664
|
props: {
|
|
51664
51665
|
showLog: { type: Boolean }
|
|
@@ -51673,7 +51674,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
51673
51674
|
tooltip: "Changelog"
|
|
51674
51675
|
}, null, 8, ["outlined"]));
|
|
51675
51676
|
}
|
|
51676
|
-
}), mee = /* @__PURE__ */
|
|
51677
|
+
}), mee = /* @__PURE__ */ Te({
|
|
51677
51678
|
__name: "UserWithIcon",
|
|
51678
51679
|
props: {
|
|
51679
51680
|
user: {}
|
|
@@ -51685,7 +51686,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
51685
51686
|
"user-name-field": "fullName"
|
|
51686
51687
|
}, null, 8, ["user"]));
|
|
51687
51688
|
}
|
|
51688
|
-
}), BY = { class: "w-full" }, gee = /* @__PURE__ */
|
|
51689
|
+
}), BY = { class: "w-full" }, gee = /* @__PURE__ */ Te({
|
|
51689
51690
|
__name: "InputSearch",
|
|
51690
51691
|
emits: ["search"],
|
|
51691
51692
|
setup(t, { emit: e }) {
|
|
@@ -51734,7 +51735,7 @@ const $G = /* @__PURE__ */ Oe({
|
|
|
51734
51735
|
}), NY = {
|
|
51735
51736
|
class: "flex gap-1 items-center text-placeholder",
|
|
51736
51737
|
"data-section-name": "transaction-role-lists"
|
|
51737
|
-
}, vee = /* @__PURE__ */
|
|
51738
|
+
}, vee = /* @__PURE__ */ Te({
|
|
51738
51739
|
__name: "TransactionRoles",
|
|
51739
51740
|
props: {
|
|
51740
51741
|
asset: {},
|
|
@@ -53521,7 +53522,7 @@ const by = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABXCAYAAACAw4LhAA
|
|
|
53521
53522
|
background-size: 120%;
|
|
53522
53523
|
}
|
|
53523
53524
|
}
|
|
53524
|
-
`, __ = "Q*2D1AB4", yee = /* @__PURE__ */
|
|
53525
|
+
`, __ = "Q*2D1AB4", yee = /* @__PURE__ */ Te({
|
|
53525
53526
|
__name: "DialogPrintQR",
|
|
53526
53527
|
props: {
|
|
53527
53528
|
visible: { type: Boolean }
|
|
@@ -53867,7 +53868,7 @@ const by = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFgAAABXCAYAAACAw4LhAA
|
|
|
53867
53868
|
], iQ = { class: "flex flex-col gap-2" }, rQ = {
|
|
53868
53869
|
class: "flex items-center gap-1",
|
|
53869
53870
|
"data-ts-section": "dialog-asset-name-detail-action-group"
|
|
53870
|
-
}, 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({
|
|
53871
53872
|
__name: "DialogAssetNameDetail",
|
|
53872
53873
|
props: {
|
|
53873
53874
|
header: { default: "Asset Name Detail" },
|