sprintify-ui 0.0.171 → 0.0.172
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sprintify-ui.es.js +94 -93
- package/dist/types/src/components/BaseAddressForm.vue.d.ts +2 -2
- package/dist/types/src/components/BaseDisplayRelativeTime.vue.d.ts +1 -1
- package/dist/types/src/components/BaseFieldI18n.vue.d.ts +4 -4
- package/dist/types/src/components/BaseRadioGroup.vue.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/BaseInputLabel.vue +2 -2
package/dist/sprintify-ui.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import su from "axios";
|
|
2
|
-
import { defineComponent as be, inject as it, resolveComponent as st, openBlock as R, createBlock as Te, withCtx as ge, createElementVNode as q, normalizeClass as de, withModifiers as an, renderSlot as Ae, createElementBlock as X, createCommentVNode as ke, toDisplayString as Se, createVNode as he, Transition as Pt, ref as le, computed as Y, provide as Ge, readonly as _o, unref as I, Fragment as Ve, createTextVNode as en, withDirectives as pt, isRef as Sn, vModelText as Nr, mergeProps as Yt, onMounted as
|
|
2
|
+
import { defineComponent as be, inject as it, resolveComponent as st, openBlock as R, createBlock as Te, withCtx as ge, createElementVNode as q, normalizeClass as de, withModifiers as an, renderSlot as Ae, createElementBlock as X, createCommentVNode as ke, toDisplayString as Se, createVNode as he, Transition as Pt, ref as le, computed as Y, provide as Ge, readonly as _o, unref as I, Fragment as Ve, createTextVNode as en, withDirectives as pt, isRef as Sn, vModelText as Nr, mergeProps as Yt, onMounted as tt, watchEffect as zt, renderList as Qe, nextTick as ct, h as ht, watch as Ze, onBeforeUnmount as Dn, Teleport as ar, TransitionGroup as kl, normalizeStyle as ft, vModelSelect as Ar, normalizeProps as Tt, guardReactiveProps as Mt, vShow as cn, resolveDynamicComponent as Hn, cloneVNode as uu, onUnmounted as bn, reactive as cu, withKeys as Da, useSlots as fu, createStaticVNode as _l, getCurrentInstance as du, pushScopeId as hu, popScopeId as pu, createSlots as mu } from "vue";
|
|
3
3
|
import { isNumber as Bo, round as Xn, get as Nn, isEqual as Mi, isArray as mt, cloneDeep as St, isObject as Dr, isString as No, throttle as Do, debounce as En, truncate as vu, trim as ta, padStart as po, range as Tn, merge as La, set as hi, isPlainObject as gu, capitalize as yu, uniqueId as bu } from "lodash";
|
|
4
4
|
import Pa from "qs";
|
|
5
5
|
import { useI18n as fn, createI18n as wu } from "vue-i18n";
|
|
@@ -159,6 +159,7 @@ function Lu(t, i) {
|
|
|
159
159
|
]);
|
|
160
160
|
}
|
|
161
161
|
const Pu = /* @__PURE__ */ $t(Nu, [["render", Lu]]), $u = be({
|
|
162
|
+
components: { BaseIcon: et },
|
|
162
163
|
props: {
|
|
163
164
|
required: {
|
|
164
165
|
default: !1,
|
|
@@ -812,7 +813,7 @@ const Ra = /* @__PURE__ */ new WeakMap(), Fa = (t) => {
|
|
|
812
813
|
key: 0,
|
|
813
814
|
class: de(["flex shrink-0 items-center justify-center rounded-l border-r px-3 transition-colors", [I(d), I(w), I(b)]])
|
|
814
815
|
}, [
|
|
815
|
-
he(I(
|
|
816
|
+
he(I(et), { icon: t.iconLeft }, null, 8, ["icon"])
|
|
816
817
|
], 2)) : ke("", !0),
|
|
817
818
|
t.prefix ? (R(), X("div", {
|
|
818
819
|
key: 1,
|
|
@@ -873,7 +874,7 @@ const Ra = /* @__PURE__ */ new WeakMap(), Fa = (t) => {
|
|
|
873
874
|
key: 6,
|
|
874
875
|
class: de(["flex shrink-0 items-center justify-center rounded-r border-l px-3 transition-colors", [I(d), I(w), I(b)]])
|
|
875
876
|
}, [
|
|
876
|
-
he(I(
|
|
877
|
+
he(I(et), { icon: t.iconRight }, null, 8, ["icon"])
|
|
877
878
|
], 2)) : ke("", !0)
|
|
878
879
|
], 2));
|
|
879
880
|
}
|
|
@@ -935,7 +936,7 @@ const Ra = /* @__PURE__ */ new WeakMap(), Fa = (t) => {
|
|
|
935
936
|
f.value = d();
|
|
936
937
|
},
|
|
937
938
|
{ attributes: !1, childList: !0 }
|
|
938
|
-
),
|
|
939
|
+
), tt(() => {
|
|
939
940
|
f.value = d();
|
|
940
941
|
});
|
|
941
942
|
function d() {
|
|
@@ -1020,7 +1021,7 @@ const Ra = /* @__PURE__ */ new WeakMap(), Fa = (t) => {
|
|
|
1020
1021
|
const d = St(e.modelValue ?? {});
|
|
1021
1022
|
return d.address_1 = d.address_1 ?? "", d.address_2 = d.address_2 ?? "", d.city = d.city ?? "", d.postal_code = d.postal_code ?? "", d.country = d.country ?? "", d.region = d.region ?? "", d;
|
|
1022
1023
|
}
|
|
1023
|
-
), o = Y(() => e.countries && mt(e.countries) && e.countries.length ? e.countries :
|
|
1024
|
+
), o = Y(() => e.countries && mt(e.countries) && e.countries.length ? e.countries : nt.countries), a = Y(() => e.regions && mt(e.regions) && e.regions.length ? e.regions : nt.regions), l = Y(() => a.value.filter(
|
|
1024
1025
|
(d) => d.country_id == r.value.country
|
|
1025
1026
|
)), c = Y(() => e.prefix ? e.prefix + "." : "");
|
|
1026
1027
|
function u(d, w) {
|
|
@@ -1034,7 +1035,7 @@ const Ra = /* @__PURE__ */ new WeakMap(), Fa = (t) => {
|
|
|
1034
1035
|
}
|
|
1035
1036
|
);
|
|
1036
1037
|
let h = null;
|
|
1037
|
-
|
|
1038
|
+
tt(() => {
|
|
1038
1039
|
window.google && f.value && (h = new window.google.maps.places.Autocomplete(
|
|
1039
1040
|
f.value,
|
|
1040
1041
|
{
|
|
@@ -2306,7 +2307,7 @@ if (typeof document < "u" && typeof window < "u") {
|
|
|
2306
2307
|
const uf = {
|
|
2307
2308
|
...Po,
|
|
2308
2309
|
body: ""
|
|
2309
|
-
},
|
|
2310
|
+
}, et = be({
|
|
2310
2311
|
inheritAttrs: !1,
|
|
2311
2312
|
data() {
|
|
2312
2313
|
return {
|
|
@@ -2393,7 +2394,7 @@ const uf = {
|
|
|
2393
2394
|
emits: ["cancel", "confirm"],
|
|
2394
2395
|
setup(t) {
|
|
2395
2396
|
const i = le(null);
|
|
2396
|
-
return
|
|
2397
|
+
return tt(() => {
|
|
2397
2398
|
i.value && i.value.focus();
|
|
2398
2399
|
}), (e, r) => (R(), X("div", cf, [
|
|
2399
2400
|
q("div", ff, [
|
|
@@ -2405,19 +2406,19 @@ const uf = {
|
|
|
2405
2406
|
"bg-green-100": t.color == "success"
|
|
2406
2407
|
}])
|
|
2407
2408
|
}, [
|
|
2408
|
-
t.color == "danger" ? (R(), Te(I(
|
|
2409
|
+
t.color == "danger" ? (R(), Te(I(et), {
|
|
2409
2410
|
key: 0,
|
|
2410
2411
|
class: "h-6 w-6 text-red-600",
|
|
2411
2412
|
icon: "heroicons:exclamation-triangle-20-solid"
|
|
2412
|
-
})) : t.color == "warning" ? (R(), Te(I(
|
|
2413
|
+
})) : t.color == "warning" ? (R(), Te(I(et), {
|
|
2413
2414
|
key: 1,
|
|
2414
2415
|
class: "h-6 w-6 text-yellow-600",
|
|
2415
2416
|
icon: "heroicons:exclamation-triangle-20-solid"
|
|
2416
|
-
})) : t.color == "success" ? (R(), Te(I(
|
|
2417
|
+
})) : t.color == "success" ? (R(), Te(I(et), {
|
|
2417
2418
|
key: 2,
|
|
2418
2419
|
class: "h-6 w-6 text-green-600",
|
|
2419
2420
|
icon: "heroicons:check-circle-20-solid"
|
|
2420
|
-
})) : (R(), Te(I(
|
|
2421
|
+
})) : (R(), Te(I(et), {
|
|
2421
2422
|
key: 3,
|
|
2422
2423
|
class: "h-6 w-6 text-primary-600",
|
|
2423
2424
|
icon: "heroicons:information-circle-20-solid"
|
|
@@ -2465,8 +2466,8 @@ const uf = {
|
|
|
2465
2466
|
color: t.color ?? "info",
|
|
2466
2467
|
title: t.title,
|
|
2467
2468
|
message: t.message,
|
|
2468
|
-
confirmText: t.confirmText ??
|
|
2469
|
-
cancelText: t.cancelText ??
|
|
2469
|
+
confirmText: t.confirmText ?? nt.i18n.global.t("sui.confirm"),
|
|
2470
|
+
cancelText: t.cancelText ?? nt.i18n.global.t("sui.cancel"),
|
|
2470
2471
|
closeOnOutsideClick: t.closeOnOutsideClick ?? !0,
|
|
2471
2472
|
onConfirm: t.onConfirm ?? function() {
|
|
2472
2473
|
},
|
|
@@ -3314,7 +3315,7 @@ const Vl = /* @__PURE__ */ $t(Bf, [["render", Pf]]), $f = { class: "relative w-f
|
|
|
3314
3315
|
}
|
|
3315
3316
|
}
|
|
3316
3317
|
}
|
|
3317
|
-
|
|
3318
|
+
tt(() => {
|
|
3318
3319
|
_u(
|
|
3319
3320
|
o.value,
|
|
3320
3321
|
() => {
|
|
@@ -3406,7 +3407,7 @@ const Vl = /* @__PURE__ */ $t(Bf, [["render", Pf]]), $f = { class: "relative w-f
|
|
|
3406
3407
|
}, [
|
|
3407
3408
|
q("div", Ff, Se(m.label), 1),
|
|
3408
3409
|
q("div", zf, [
|
|
3409
|
-
p(m) ? (R(), Te(I(
|
|
3410
|
+
p(m) ? (R(), Te(I(et), {
|
|
3410
3411
|
key: 0,
|
|
3411
3412
|
icon: "heroicons:check-20-solid",
|
|
3412
3413
|
class: de(I(g))
|
|
@@ -3707,7 +3708,7 @@ const Vl = /* @__PURE__ */ $t(Bf, [["render", Pf]]), $f = { class: "relative w-f
|
|
|
3707
3708
|
q("div", {
|
|
3708
3709
|
class: de(["pointer-events-none absolute top-0 left-0 flex h-full items-center justify-center", [I(ce)]])
|
|
3709
3710
|
}, [
|
|
3710
|
-
he(I(
|
|
3711
|
+
he(I(et), {
|
|
3711
3712
|
class: de(["text-slate-400", [I(Z)]]),
|
|
3712
3713
|
icon: "heroicons:magnifying-glass-solid"
|
|
3713
3714
|
}, null, 8, ["class"])
|
|
@@ -3720,7 +3721,7 @@ const Vl = /* @__PURE__ */ $t(Bf, [["render", Pf]]), $f = { class: "relative w-f
|
|
|
3720
3721
|
class: "group flex h-full items-center rounded p-1.5 enabled:hover:bg-slate-100",
|
|
3721
3722
|
onClick: P[1] || (P[1] = (D) => S())
|
|
3722
3723
|
}, [
|
|
3723
|
-
he(I(
|
|
3724
|
+
he(I(et), {
|
|
3724
3725
|
icon: "heroicons:x-mark",
|
|
3725
3726
|
class: de(["text-slate-500 group-hover:text-slate-700", [I(Z)]])
|
|
3726
3727
|
}, null, 8, ["class"])
|
|
@@ -3890,7 +3891,7 @@ const nd = {
|
|
|
3890
3891
|
}
|
|
3891
3892
|
);
|
|
3892
3893
|
function n() {
|
|
3893
|
-
a.value || (a.value = !0, o.value = !0,
|
|
3894
|
+
a.value || (a.value = !0, o.value = !0, nt.http.get(r.url, {
|
|
3894
3895
|
params: {
|
|
3895
3896
|
[r.queryKey]: c.value,
|
|
3896
3897
|
page: u.value
|
|
@@ -4811,7 +4812,7 @@ const Ad = /* @__PURE__ */ be({
|
|
|
4811
4812
|
class: de(["inline-flex items-center rounded-full font-medium", [I(r)]]),
|
|
4812
4813
|
style: ft(I(e))
|
|
4813
4814
|
}, [
|
|
4814
|
-
t.icon ? (R(), Te(I(
|
|
4815
|
+
t.icon ? (R(), Te(I(et), {
|
|
4815
4816
|
key: 0,
|
|
4816
4817
|
icon: t.icon,
|
|
4817
4818
|
class: de(I(o))
|
|
@@ -4901,7 +4902,7 @@ const Ad = /* @__PURE__ */ be({
|
|
|
4901
4902
|
},
|
|
4902
4903
|
emits: ["update:modelValue"],
|
|
4903
4904
|
setup(t, { expose: i, emit: e }) {
|
|
4904
|
-
const r = t, o =
|
|
4905
|
+
const r = t, o = nt.http, a = le(null), l = le(r.currentModel);
|
|
4905
4906
|
Ze(
|
|
4906
4907
|
() => r.currentModel,
|
|
4907
4908
|
(u, p) => {
|
|
@@ -5246,7 +5247,7 @@ const Hd = /* @__PURE__ */ $t(Rd, [["render", Vd]]), Kd = ["type", "disabled", "
|
|
|
5246
5247
|
},
|
|
5247
5248
|
setup(t) {
|
|
5248
5249
|
const i = le(1), e = le(0), r = le(null);
|
|
5249
|
-
|
|
5250
|
+
tt(() => {
|
|
5250
5251
|
window.addEventListener("resize", o), a();
|
|
5251
5252
|
}), Dn(() => {
|
|
5252
5253
|
window.removeEventListener("resize", o);
|
|
@@ -6629,7 +6630,7 @@ function al(t, i) {
|
|
|
6629
6630
|
}
|
|
6630
6631
|
function os(t, i) {
|
|
6631
6632
|
let e = le(al(t.value.type, t.value.as));
|
|
6632
|
-
return
|
|
6633
|
+
return tt(() => {
|
|
6633
6634
|
e.value = al(t.value.type, t.value.as);
|
|
6634
6635
|
}), zt(() => {
|
|
6635
6636
|
var r;
|
|
@@ -6877,7 +6878,7 @@ function Ah({ ownerDocument: t }, i) {
|
|
|
6877
6878
|
function o() {
|
|
6878
6879
|
!e.value || (Un(e.value), e.value = null);
|
|
6879
6880
|
}
|
|
6880
|
-
|
|
6881
|
+
tt(() => {
|
|
6881
6882
|
Ze(i, (a, l) => {
|
|
6882
6883
|
a !== l && (a ? r() : o());
|
|
6883
6884
|
}, { immediate: !0 });
|
|
@@ -6885,7 +6886,7 @@ function Ah({ ownerDocument: t }, i) {
|
|
|
6885
6886
|
}
|
|
6886
6887
|
function Ch({ ownerDocument: t, container: i, initialFocus: e }, r) {
|
|
6887
6888
|
let o = le(null), a = le(!1);
|
|
6888
|
-
return
|
|
6889
|
+
return tt(() => a.value = !0), bn(() => a.value = !1), tt(() => {
|
|
6889
6890
|
Ze([i, e, r], (l, c) => {
|
|
6890
6891
|
if (l.every((p, f) => (c == null ? void 0 : c[f]) === p) || !r.value)
|
|
6891
6892
|
return;
|
|
@@ -7027,7 +7028,7 @@ function Lh({ type: t, enabled: i, element: e, onUpdate: r }) {
|
|
|
7027
7028
|
function a(...l) {
|
|
7028
7029
|
r == null || r(...l), o(...l);
|
|
7029
7030
|
}
|
|
7030
|
-
|
|
7031
|
+
tt(() => {
|
|
7031
7032
|
Ze(i, (l, c) => {
|
|
7032
7033
|
l ? a(0, t, e) : c === !0 && a(1, t, e);
|
|
7033
7034
|
}, { immediate: !0, flush: "sync" });
|
|
@@ -7054,7 +7055,7 @@ function ys({ slot: t = le({}), name: i = "Description", props: e = {} } = {}) {
|
|
|
7054
7055
|
}
|
|
7055
7056
|
let F1 = be({ name: "Description", props: { as: { type: [Object, String], default: "p" }, id: { type: String, default: () => `headlessui-description-${ln()}` } }, setup(t, { attrs: i, slots: e }) {
|
|
7056
7057
|
let r = Ph();
|
|
7057
|
-
return
|
|
7058
|
+
return tt(() => bn(r.register(t.id))), () => {
|
|
7058
7059
|
let { name: o = "Description", slot: a = le({}), props: l = {} } = r, { id: c, ...u } = t, p = { ...Object.entries(l).reduce((f, [h, s]) => Object.assign(f, { [h]: I(s) }), {}), id: c };
|
|
7059
7060
|
return kt({ ourProps: p, theirProps: u, slot: a.value, attrs: i, slots: e, name: o });
|
|
7060
7061
|
};
|
|
@@ -7101,7 +7102,7 @@ function Hr(t) {
|
|
|
7101
7102
|
let ao = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", qh = be({ name: "Dialog", inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 }, open: { type: [Boolean, String], default: ao }, initialFocus: { type: Object, default: null }, id: { type: String, default: () => `headlessui-dialog-${ln()}` } }, emits: { close: (t) => !0 }, setup(t, { emit: i, attrs: e, slots: r, expose: o }) {
|
|
7102
7103
|
var a;
|
|
7103
7104
|
let l = le(!1);
|
|
7104
|
-
|
|
7105
|
+
tt(() => {
|
|
7105
7106
|
l.value = !0;
|
|
7106
7107
|
});
|
|
7107
7108
|
let c = le(0), u = qo(), p = Y(() => t.open === ao && u !== null ? Xt(u.value, { [yn.Open]: !0, [yn.Closed]: !1 }) : t.open), f = le(/* @__PURE__ */ new Set()), h = le(null), s = le(null), d = Y(() => Ln(h));
|
|
@@ -7199,7 +7200,7 @@ be({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div
|
|
|
7199
7200
|
} });
|
|
7200
7201
|
be({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "div" }, id: { type: String, default: () => `headlessui-dialog-backdrop-${ln()}` } }, inheritAttrs: !1, setup(t, { attrs: i, slots: e, expose: r }) {
|
|
7201
7202
|
let o = Hr("DialogBackdrop"), a = le(null);
|
|
7202
|
-
return r({ el: a, $el: a }),
|
|
7203
|
+
return r({ el: a, $el: a }), tt(() => {
|
|
7203
7204
|
if (o.panelRef.value === null)
|
|
7204
7205
|
throw new Error("A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.");
|
|
7205
7206
|
}), () => {
|
|
@@ -7220,7 +7221,7 @@ let Rh = be({ name: "DialogPanel", props: { as: { type: [Object, String], defaul
|
|
|
7220
7221
|
} });
|
|
7221
7222
|
be({ name: "DialogTitle", props: { as: { type: [Object, String], default: "h2" }, id: { type: String, default: () => `headlessui-dialog-title-${ln()}` } }, setup(t, { attrs: i, slots: e }) {
|
|
7222
7223
|
let r = Hr("DialogTitle");
|
|
7223
|
-
return
|
|
7224
|
+
return tt(() => {
|
|
7224
7225
|
r.setTitleId(t.id), bn(() => r.setTitleId(null));
|
|
7225
7226
|
}), () => {
|
|
7226
7227
|
let { id: o, ...a } = t;
|
|
@@ -7379,11 +7380,11 @@ let Vh = be({ name: "Menu", props: { as: { type: [Object, String], default: "tem
|
|
|
7379
7380
|
let o = Fo("MenuItem"), a = le(null);
|
|
7380
7381
|
r({ el: a, $el: a });
|
|
7381
7382
|
let l = Y(() => o.activeItemIndex.value !== null ? o.items.value[o.activeItemIndex.value].id === t.id : !1), c = Y(() => ({ disabled: t.disabled, textValue: "", domRef: a }));
|
|
7382
|
-
|
|
7383
|
+
tt(() => {
|
|
7383
7384
|
var w, b;
|
|
7384
7385
|
let v = (b = (w = at(a)) == null ? void 0 : w.textContent) == null ? void 0 : b.toLowerCase().trim();
|
|
7385
7386
|
v !== void 0 && (c.value.textValue = v);
|
|
7386
|
-
}),
|
|
7387
|
+
}), tt(() => o.registerItem(t.id, c)), bn(() => o.unregisterItem(t.id)), zt(() => {
|
|
7387
7388
|
o.menuState.value === 0 && (!l.value || o.activationTrigger.value !== 0 && ct(() => {
|
|
7388
7389
|
var w, b;
|
|
7389
7390
|
return (b = (w = at(a)) == null ? void 0 : w.scrollIntoView) == null ? void 0 : b.call(w, { block: "nearest" });
|
|
@@ -7434,7 +7435,7 @@ function Wh({ slot: t = {}, name: i = "Label", props: e = {} } = {}) {
|
|
|
7434
7435
|
}
|
|
7435
7436
|
let Yh = be({ name: "Label", props: { as: { type: [Object, String], default: "label" }, passive: { type: [Boolean], default: !1 }, id: { type: String, default: () => `headlessui-label-${ln()}` } }, setup(t, { slots: i, attrs: e }) {
|
|
7436
7437
|
let r = ks();
|
|
7437
|
-
return
|
|
7438
|
+
return tt(() => bn(r.register(t.id))), () => {
|
|
7438
7439
|
let { name: o = "Label", slot: a = {}, props: l = {} } = r, { id: c, passive: u, ...p } = t, f = { ...Object.entries(l).reduce((h, [s, d]) => Object.assign(h, { [s]: I(d) }), {}), id: c };
|
|
7439
7440
|
return u && (delete f.onClick, delete p.onClick), kt({ ourProps: f, theirProps: p, slot: a, attrs: e, slots: i, name: o });
|
|
7440
7441
|
};
|
|
@@ -7463,7 +7464,7 @@ let Yh = be({ name: "Label", props: { as: { type: [Object, String], default: "la
|
|
|
7463
7464
|
var v, g;
|
|
7464
7465
|
return (g = (v = at(f)) == null ? void 0 : v.closest) == null ? void 0 : g.call(v, "form");
|
|
7465
7466
|
});
|
|
7466
|
-
return
|
|
7467
|
+
return tt(() => {
|
|
7467
7468
|
Ze([b], () => {
|
|
7468
7469
|
if (!b.value || t.defaultChecked === void 0)
|
|
7469
7470
|
return;
|
|
@@ -7537,7 +7538,7 @@ function zo(t) {
|
|
|
7537
7538
|
}
|
|
7538
7539
|
function xs(t) {
|
|
7539
7540
|
let i = le([]), e = le(!1);
|
|
7540
|
-
|
|
7541
|
+
tt(() => e.value = !0), bn(() => e.value = !1);
|
|
7541
7542
|
function r(a, l = Bn.Hidden) {
|
|
7542
7543
|
let c = i.value.findIndex(({ id: u }) => u === a);
|
|
7543
7544
|
c !== -1 && (Xt(l, { [Bn.Unmount]() {
|
|
@@ -7560,7 +7561,7 @@ let Ss = ir.RenderStrategy, bo = be({ props: { as: { type: [Object, String], def
|
|
|
7560
7561
|
let { show: u, appear: p } = np(), { register: f, unregister: h } = rp(), s = { value: !0 }, d = ln(), w = { value: !1 }, b = xs(() => {
|
|
7561
7562
|
w.value || (l.value = "hidden", h(d), i("afterLeave"));
|
|
7562
7563
|
});
|
|
7563
|
-
|
|
7564
|
+
tt(() => {
|
|
7564
7565
|
let _ = f(d);
|
|
7565
7566
|
bn(_);
|
|
7566
7567
|
}), zt(() => {
|
|
@@ -7573,7 +7574,7 @@ let Ss = ir.RenderStrategy, bo = be({ props: { as: { type: [Object, String], def
|
|
|
7573
7574
|
}
|
|
7574
7575
|
});
|
|
7575
7576
|
let v = Fn(t.enter), g = Fn(t.enterFrom), n = Fn(t.enterTo), k = Fn(t.entered), m = Fn(t.leave), S = Fn(t.leaveFrom), A = Fn(t.leaveTo);
|
|
7576
|
-
|
|
7577
|
+
tt(() => {
|
|
7577
7578
|
zt(() => {
|
|
7578
7579
|
if (l.value === "visible") {
|
|
7579
7580
|
let _ = at(a);
|
|
@@ -7590,7 +7591,7 @@ let Ss = ir.RenderStrategy, bo = be({ props: { as: { type: [Object, String], def
|
|
|
7590
7591
|
w.value = !1, O === Hi.Finished && (zo(b) || (l.value = "hidden", h(d), i("afterLeave")));
|
|
7591
7592
|
})));
|
|
7592
7593
|
}
|
|
7593
|
-
return
|
|
7594
|
+
return tt(() => {
|
|
7594
7595
|
Ze([u], (_, x, y) => {
|
|
7595
7596
|
E(y), s.value = !1;
|
|
7596
7597
|
}, { immediate: !0 });
|
|
@@ -7607,7 +7608,7 @@ let Ss = ir.RenderStrategy, bo = be({ props: { as: { type: [Object, String], def
|
|
|
7607
7608
|
let l = le(a.value ? "visible" : "hidden"), c = xs(() => {
|
|
7608
7609
|
l.value = "hidden";
|
|
7609
7610
|
}), u = le(!0), p = { show: a, appear: Y(() => t.appear || !u.value) };
|
|
7610
|
-
return
|
|
7611
|
+
return tt(() => {
|
|
7611
7612
|
zt(() => {
|
|
7612
7613
|
u.value = !1, a.value ? l.value = "visible" : zo(c) || (l.value = "hidden");
|
|
7613
7614
|
});
|
|
@@ -8003,7 +8004,7 @@ const ip = { class: "flex items-center" }, ap = {
|
|
|
8003
8004
|
});
|
|
8004
8005
|
function kp(t, i) {
|
|
8005
8006
|
let e = "";
|
|
8006
|
-
i = i ||
|
|
8007
|
+
i = i || nt.i18n.global.t("sui.and");
|
|
8007
8008
|
for (let r = 0; r < t.length; r++) {
|
|
8008
8009
|
const o = t[r];
|
|
8009
8010
|
e += o, r < t.length - 2 ? e += ", " : r == t.length - 2 && (e += " " + i + " ");
|
|
@@ -8012,11 +8013,11 @@ function kp(t, i) {
|
|
|
8012
8013
|
}
|
|
8013
8014
|
function Ea(t) {
|
|
8014
8015
|
const i = Math.floor(Math.log(t) / Math.log(1024)), e = [
|
|
8015
|
-
|
|
8016
|
-
|
|
8017
|
-
|
|
8018
|
-
|
|
8019
|
-
|
|
8016
|
+
nt.i18n.global.t("sui.units.b"),
|
|
8017
|
+
nt.i18n.global.t("sui.units.kb"),
|
|
8018
|
+
nt.i18n.global.t("sui.units.mb"),
|
|
8019
|
+
nt.i18n.global.t("sui.units.gb"),
|
|
8020
|
+
nt.i18n.global.t("sui.units.tb")
|
|
8020
8021
|
];
|
|
8021
8022
|
return +(t / Math.pow(1024, i)).toFixed(2) * 1 + " " + e[i];
|
|
8022
8023
|
}
|
|
@@ -8028,7 +8029,7 @@ function As(t, i) {
|
|
|
8028
8029
|
r();
|
|
8029
8030
|
},
|
|
8030
8031
|
{ immediate: !0 }
|
|
8031
|
-
),
|
|
8032
|
+
), tt(() => {
|
|
8032
8033
|
e.value = !0, r();
|
|
8033
8034
|
}), Dn(() => {
|
|
8034
8035
|
a();
|
|
@@ -8245,7 +8246,7 @@ const Ap = {
|
|
|
8245
8246
|
"update:query"
|
|
8246
8247
|
],
|
|
8247
8248
|
setup(t, { expose: i }) {
|
|
8248
|
-
const e = t, r =
|
|
8249
|
+
const e = t, r = nt.http, o = le(null), a = le(null), l = Su(), c = Eu(), u = l.name;
|
|
8249
8250
|
let p = !1;
|
|
8250
8251
|
Dn(() => {
|
|
8251
8252
|
p = !0;
|
|
@@ -8266,7 +8267,7 @@ const Ap = {
|
|
|
8266
8267
|
ra(E, x, {
|
|
8267
8268
|
attributes: !1,
|
|
8268
8269
|
childList: !0
|
|
8269
|
-
}),
|
|
8270
|
+
}), tt(() => {
|
|
8270
8271
|
_();
|
|
8271
8272
|
}), Ze(
|
|
8272
8273
|
() => m.value,
|
|
@@ -8292,8 +8293,8 @@ const Ap = {
|
|
|
8292
8293
|
const Me = c.resolve({
|
|
8293
8294
|
path: l.path,
|
|
8294
8295
|
params: l.params
|
|
8295
|
-
}), se =
|
|
8296
|
-
if (
|
|
8296
|
+
}), se = nt.formatQueryString(Oe), ue = Me.fullPath + "?" + se, we = K();
|
|
8297
|
+
if (nt.formatQueryString(we) != se) {
|
|
8297
8298
|
if (!h.value) {
|
|
8298
8299
|
c.replace(ue);
|
|
8299
8300
|
return;
|
|
@@ -8335,7 +8336,7 @@ const Ap = {
|
|
|
8335
8336
|
}
|
|
8336
8337
|
);
|
|
8337
8338
|
function K() {
|
|
8338
|
-
return
|
|
8339
|
+
return nt.parseQueryString(window.location.search.replace(/^(\?)/, ""));
|
|
8339
8340
|
}
|
|
8340
8341
|
function P() {
|
|
8341
8342
|
if (!e.historyMode || p || l.name != u)
|
|
@@ -8352,11 +8353,11 @@ const Ap = {
|
|
|
8352
8353
|
function G(Oe = !1, Me = !0) {
|
|
8353
8354
|
if (p)
|
|
8354
8355
|
return;
|
|
8355
|
-
const se = $.value.split(/[?#]/), ue = se[0], we = se[1] ?? null, _e =
|
|
8356
|
+
const se = $.value.split(/[?#]/), ue = se[0], we = se[1] ?? null, _e = nt.parseQueryString(we), me = La(
|
|
8356
8357
|
St(n.value),
|
|
8357
8358
|
St(e.urlQuery),
|
|
8358
8359
|
St(_e)
|
|
8359
|
-
), je =
|
|
8360
|
+
), je = nt.formatQueryString(me), Pe = ue + "?" + je;
|
|
8360
8361
|
v == Pe && !Oe || (Me && (s.value = !0), v = Pe, r.get(Pe).then((Re) => {
|
|
8361
8362
|
ie.value = Re.data, s.value = !1, d.value = !1, h.value = !0;
|
|
8362
8363
|
}).catch(() => {
|
|
@@ -8378,7 +8379,7 @@ const Ap = {
|
|
|
8378
8379
|
}
|
|
8379
8380
|
let fe = St(n.value);
|
|
8380
8381
|
const Ee = K();
|
|
8381
|
-
return fe = La(fe, Ee), B(fe),
|
|
8382
|
+
return fe = La(fe, Ee), B(fe), tt(() => {
|
|
8382
8383
|
re();
|
|
8383
8384
|
}), i({
|
|
8384
8385
|
fetch: () => G(!0),
|
|
@@ -8752,7 +8753,7 @@ const Bs = /* @__PURE__ */ $t(Yp, [["render", Jp], ["__scopeId", "data-v-945515f
|
|
|
8752
8753
|
() => {
|
|
8753
8754
|
D();
|
|
8754
8755
|
}
|
|
8755
|
-
),
|
|
8756
|
+
), tt(() => {
|
|
8756
8757
|
ct(() => {
|
|
8757
8758
|
D();
|
|
8758
8759
|
});
|
|
@@ -9356,7 +9357,7 @@ const Ls = /* @__PURE__ */ $t(Nm, [["render", $m]]), jm = { class: "flex justify
|
|
|
9356
9357
|
"check"
|
|
9357
9358
|
],
|
|
9358
9359
|
setup(t, { expose: i, emit: e }) {
|
|
9359
|
-
const r = t, o = fn(), a =
|
|
9360
|
+
const r = t, o = fn(), a = nt.http, l = fa(), c = sr(), u = le(null), p = le(null);
|
|
9360
9361
|
function f(y) {
|
|
9361
9362
|
e("cell-click", y);
|
|
9362
9363
|
}
|
|
@@ -11210,7 +11211,7 @@ const iv = { class: "base-date-picker relative" }, av = { class: "pointer-events
|
|
|
11210
11211
|
animate: !1,
|
|
11211
11212
|
time_24hr: !0
|
|
11212
11213
|
}));
|
|
11213
|
-
|
|
11214
|
+
tt(() => {
|
|
11214
11215
|
e.modelValue !== l.value && a(l.value);
|
|
11215
11216
|
}), Ze(
|
|
11216
11217
|
() => l.value,
|
|
@@ -11235,7 +11236,7 @@ const iv = { class: "base-date-picker relative" }, av = { class: "pointer-events
|
|
|
11235
11236
|
deep: !0,
|
|
11236
11237
|
immediate: !0
|
|
11237
11238
|
}
|
|
11238
|
-
),
|
|
11239
|
+
), tt(() => {
|
|
11239
11240
|
v();
|
|
11240
11241
|
}), Dn(() => {
|
|
11241
11242
|
d && d.destroy();
|
|
@@ -11272,7 +11273,7 @@ const iv = { class: "base-date-picker relative" }, av = { class: "pointer-events
|
|
|
11272
11273
|
}
|
|
11273
11274
|
return (n, k) => (R(), X("div", iv, [
|
|
11274
11275
|
q("div", av, [
|
|
11275
|
-
he(I(
|
|
11276
|
+
he(I(et), {
|
|
11276
11277
|
class: "relative -top-px h-5 w-5 text-slate-400",
|
|
11277
11278
|
icon: "heroicons:calendar"
|
|
11278
11279
|
})
|
|
@@ -11292,7 +11293,7 @@ const iv = { class: "base-date-picker relative" }, av = { class: "pointer-events
|
|
|
11292
11293
|
class: "flex items-center rounded p-1.5 hover:bg-slate-100",
|
|
11293
11294
|
onClick: k[0] || (k[0] = (m) => g())
|
|
11294
11295
|
}, [
|
|
11295
|
-
he(I(
|
|
11296
|
+
he(I(et), {
|
|
11296
11297
|
class: "h-5 w-5 text-slate-600",
|
|
11297
11298
|
icon: "heroicons:x-mark"
|
|
11298
11299
|
})
|
|
@@ -11498,7 +11499,7 @@ const cv = { class: "-m-0.5 flex" }, fv = { class: "w-auto p-0.5" }, dv = ["disa
|
|
|
11498
11499
|
var l;
|
|
11499
11500
|
r.value = ((l = e.value) == null ? void 0 : l.clientWidth) ?? 800;
|
|
11500
11501
|
}
|
|
11501
|
-
return
|
|
11502
|
+
return tt(() => {
|
|
11502
11503
|
a();
|
|
11503
11504
|
}), rr(e, En(a, 50)), (l, c) => (R(), X("div", {
|
|
11504
11505
|
ref_key: "item",
|
|
@@ -13427,7 +13428,7 @@ const Iv = Wi, Bv = { class: "text-xs text-slate-600" }, js = /* @__PURE__ */ be
|
|
|
13427
13428
|
setup(t, { expose: i }) {
|
|
13428
13429
|
const e = t, r = le(
|
|
13429
13430
|
null
|
|
13430
|
-
), o =
|
|
13431
|
+
), o = nt.http, a = le(!1), l = le(!1), c = le(!1), u = le(""), p = le(1), f = le([]), h = le(
|
|
13431
13432
|
null
|
|
13432
13433
|
), { items: s, lastPage: d } = va(h), w = (k) => {
|
|
13433
13434
|
p.value = 1, u.value != k && (u.value = k, a.value = !0, n());
|
|
@@ -13800,7 +13801,7 @@ const Iv = Wi, Bv = { class: "text-xs text-slate-600" }, js = /* @__PURE__ */ be
|
|
|
13800
13801
|
(h) => null
|
|
13801
13802
|
);
|
|
13802
13803
|
le(["#10b981", "#06b6d4", "#a855f7"]);
|
|
13803
|
-
const l = Y(() => e.locales ? e.locales :
|
|
13804
|
+
const l = Y(() => e.locales ? e.locales : nt.locales), c = Y(() => {
|
|
13804
13805
|
let h = {};
|
|
13805
13806
|
return e.modelValue && gu(e.modelValue) && (h = e.modelValue), Object.keys(l.value).forEach((s) => {
|
|
13806
13807
|
Nn(e.modelValue, s) || (h[s] = e.defaultValue);
|
|
@@ -14060,7 +14061,7 @@ const Rs = /* @__PURE__ */ $t(Yv, [["render", Zv]]), Jv = {
|
|
|
14060
14061
|
"upload:end"
|
|
14061
14062
|
],
|
|
14062
14063
|
setup(t, { emit: i }) {
|
|
14063
|
-
const e = t, r =
|
|
14064
|
+
const e = t, r = nt.http, o = fn(), a = sr(), l = le(!1);
|
|
14064
14065
|
async function c(p) {
|
|
14065
14066
|
if (!l.value) {
|
|
14066
14067
|
if (l.value = !0, !await e.beforeUpload()) {
|
|
@@ -14089,7 +14090,7 @@ const Rs = /* @__PURE__ */ $t(Yv, [["render", Zv]]), Jv = {
|
|
|
14089
14090
|
}
|
|
14090
14091
|
const h = new FormData();
|
|
14091
14092
|
h.append("file", p), i("upload:start");
|
|
14092
|
-
const d = (await r.post(e.url ??
|
|
14093
|
+
const d = (await r.post(e.url ?? nt.upload_url, h)).data;
|
|
14093
14094
|
d.original_file = p;
|
|
14094
14095
|
const w = new FileReader();
|
|
14095
14096
|
w.onload = (b) => {
|
|
@@ -14251,7 +14252,7 @@ const ig = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
14251
14252
|
},
|
|
14252
14253
|
emits: ["error", "success"],
|
|
14253
14254
|
setup(t, { expose: i, emit: e }) {
|
|
14254
|
-
const r = t, o = sr(), a = fn(), l = le(null), c = le(!1), u = le(!1), p = le({}), f = Y(() => r.axiosInstance ? r.axiosInstance :
|
|
14255
|
+
const r = t, o = sr(), a = fn(), l = le(null), c = le(!1), u = le(!1), p = le({}), f = Y(() => r.axiosInstance ? r.axiosInstance : nt.http), h = Y(() => l.value), s = Y(() => Object.keys(p.value).length > 0), d = Y(() => {
|
|
14255
14256
|
if (!s.value)
|
|
14256
14257
|
return null;
|
|
14257
14258
|
const E = Object.keys(p.value);
|
|
@@ -14533,7 +14534,7 @@ const ig = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
14533
14534
|
k != "" && (k = "-" + k), i("update:modelValue", n + k);
|
|
14534
14535
|
});
|
|
14535
14536
|
}
|
|
14536
|
-
return
|
|
14537
|
+
return tt(() => {
|
|
14537
14538
|
w();
|
|
14538
14539
|
}), (n, k) => (R(), X("div", {
|
|
14539
14540
|
class: "w-full overflow-hidden rounded border bg-white",
|
|
@@ -14578,7 +14579,7 @@ const ig = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
14578
14579
|
], "flex items-center justify-center rounded p-1"]),
|
|
14579
14580
|
onClick: (S) => r(m)
|
|
14580
14581
|
}, [
|
|
14581
|
-
he(I(
|
|
14582
|
+
he(I(et), { icon: m }, null, 8, ["icon"])
|
|
14582
14583
|
], 10, hg)
|
|
14583
14584
|
]))), 128))
|
|
14584
14585
|
])
|
|
@@ -14710,15 +14711,15 @@ const ig = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
14710
14711
|
class: "h-full w-full bg-black object-contain object-center",
|
|
14711
14712
|
alt: I(e)
|
|
14712
14713
|
}, null, 8, gg)) : (R(), X("div", yg, [
|
|
14713
|
-
I(o) == "pdf" ? (R(), Te(I(
|
|
14714
|
+
I(o) == "pdf" ? (R(), Te(I(et), {
|
|
14714
14715
|
key: 0,
|
|
14715
14716
|
class: "max-w-8 h-1/2 max-h-8 w-1/2 text-slate-600",
|
|
14716
14717
|
icon: "mdi:file-pdf-box"
|
|
14717
|
-
})) : I(r) == "image" ? (R(), Te(I(
|
|
14718
|
+
})) : I(r) == "image" ? (R(), Te(I(et), {
|
|
14718
14719
|
key: 1,
|
|
14719
14720
|
class: "max-w-8 h-1/2 max-h-8 w-1/2 text-slate-600",
|
|
14720
14721
|
icon: "mdi:camera"
|
|
14721
|
-
})) : I(r) == "audio" ? (R(), Te(I(
|
|
14722
|
+
})) : I(r) == "audio" ? (R(), Te(I(et), {
|
|
14722
14723
|
key: 2,
|
|
14723
14724
|
class: "max-w-8 h-1/2 max-h-8 w-1/2 text-slate-600",
|
|
14724
14725
|
icon: "mdi:music"
|
|
@@ -14773,7 +14774,7 @@ const ig = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
14773
14774
|
class: "rounded-full bg-white p-1 text-slate-400 hover:bg-slate-100",
|
|
14774
14775
|
onClick: l[0] || (l[0] = (c) => a.$emit("remove"))
|
|
14775
14776
|
}, [
|
|
14776
|
-
he(I(
|
|
14777
|
+
he(I(et), {
|
|
14777
14778
|
icon: "heroicons:x-mark-20-solid",
|
|
14778
14779
|
class: "h-4 w-4"
|
|
14779
14780
|
})
|
|
@@ -15173,12 +15174,12 @@ const ig = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
15173
15174
|
onClick: l[0] || (l[0] = (c) => e())
|
|
15174
15175
|
}, [
|
|
15175
15176
|
Rg,
|
|
15176
|
-
I(i) ? (R(), Te(I(
|
|
15177
|
+
I(i) ? (R(), Te(I(et), {
|
|
15177
15178
|
key: 1,
|
|
15178
15179
|
icon: "heroicons:x-mark",
|
|
15179
15180
|
class: "block h-6 w-6",
|
|
15180
15181
|
"aria-hidden": "true"
|
|
15181
|
-
})) : (R(), Te(I(
|
|
15182
|
+
})) : (R(), Te(I(et), {
|
|
15182
15183
|
key: 0,
|
|
15183
15184
|
icon: "heroicons:bars-3",
|
|
15184
15185
|
class: "block h-6 w-6",
|
|
@@ -15245,7 +15246,7 @@ const ig = { class: "absolute inset-0 flex h-full w-full items-center justify-ce
|
|
|
15245
15246
|
class: de(I(e))
|
|
15246
15247
|
}, [
|
|
15247
15248
|
q("div", Fg, [
|
|
15248
|
-
t.icon ? (R(), Te(I(
|
|
15249
|
+
t.icon ? (R(), Te(I(et), {
|
|
15249
15250
|
key: 0,
|
|
15250
15251
|
icon: t.icon,
|
|
15251
15252
|
class: de(I(r))
|
|
@@ -15396,11 +15397,11 @@ const Qg = /* @__PURE__ */ $t(Vg, [["render", Gg]]), Zg = ["value", "type", "nam
|
|
|
15396
15397
|
disabled: t.disabled,
|
|
15397
15398
|
onClick: f[0] || (f[0] = (h) => c.value = !I(c))
|
|
15398
15399
|
}, [
|
|
15399
|
-
I(c) ? (R(), Te(I(
|
|
15400
|
+
I(c) ? (R(), Te(I(et), {
|
|
15400
15401
|
key: 1,
|
|
15401
15402
|
icon: "heroicons:eye-20-solid",
|
|
15402
15403
|
class: "h-5 w-5"
|
|
15403
|
-
})) : (R(), Te(I(
|
|
15404
|
+
})) : (R(), Te(I(et), {
|
|
15404
15405
|
key: 0,
|
|
15405
15406
|
icon: "heroicons:eye-slash-20-solid",
|
|
15406
15407
|
class: "h-5 w-5"
|
|
@@ -15577,7 +15578,7 @@ const ly = /* @__PURE__ */ $t(ty, [["render", ay], ["__scopeId", "data-v-e5ae83e
|
|
|
15577
15578
|
"-webkit-line-clamp": i.maxLines,
|
|
15578
15579
|
"-webkit-box-orient": "vertical"
|
|
15579
15580
|
}));
|
|
15580
|
-
|
|
15581
|
+
tt(() => {
|
|
15581
15582
|
l(), ra(
|
|
15582
15583
|
e.value,
|
|
15583
15584
|
() => {
|
|
@@ -24311,7 +24312,7 @@ const yl = {
|
|
|
24311
24312
|
"ready"
|
|
24312
24313
|
],
|
|
24313
24314
|
setup: (t, i) => {
|
|
24314
|
-
|
|
24315
|
+
tt(() => {
|
|
24315
24316
|
a();
|
|
24316
24317
|
}), Dn(() => {
|
|
24317
24318
|
e = null;
|
|
@@ -24573,7 +24574,7 @@ const Ny = { class: "whitespace-pre-line p-4" }, Dy = { class: "text-md font-sem
|
|
|
24573
24574
|
class: "mb-2.5 inline-flex items-center rounded p-2",
|
|
24574
24575
|
style: ft(I(e))
|
|
24575
24576
|
}, [
|
|
24576
|
-
t.icon ? (R(), Te(I(
|
|
24577
|
+
t.icon ? (R(), Te(I(et), {
|
|
24577
24578
|
key: 0,
|
|
24578
24579
|
icon: t.icon,
|
|
24579
24580
|
class: de(I(r))
|
|
@@ -24584,7 +24585,7 @@ const Ny = { class: "whitespace-pre-line p-4" }, Dy = { class: "text-md font-sem
|
|
|
24584
24585
|
t.linkText ? (R(), X("div", Py, [
|
|
24585
24586
|
q("div", $y, Se(t.linkText), 1),
|
|
24586
24587
|
q("div", null, [
|
|
24587
|
-
he(I(
|
|
24588
|
+
he(I(et), {
|
|
24588
24589
|
icon: "heroicons:arrow-right-20-solid",
|
|
24589
24590
|
class: "mt-px h-4 w-4"
|
|
24590
24591
|
})
|
|
@@ -24665,7 +24666,7 @@ const Hy = /* @__PURE__ */ $t(qy, [["render", Vy]]), Ky = ["href", "disabled", "
|
|
|
24665
24666
|
};
|
|
24666
24667
|
}
|
|
24667
24668
|
}), Yy = be({
|
|
24668
|
-
components: { BaseIcon:
|
|
24669
|
+
components: { BaseIcon: et },
|
|
24669
24670
|
props: {
|
|
24670
24671
|
label: {
|
|
24671
24672
|
default: null,
|
|
@@ -25063,7 +25064,7 @@ const w0 = { class: "relative flex space-x-3" }, k0 = { class: "text-sm leading-
|
|
|
25063
25064
|
"flex h-8 w-8 items-center justify-center rounded-full ring-8 ring-white"
|
|
25064
25065
|
])
|
|
25065
25066
|
}, [
|
|
25066
|
-
he(I(
|
|
25067
|
+
he(I(et), {
|
|
25067
25068
|
class: "h-5 w-5 text-white",
|
|
25068
25069
|
"aria-hidden": "true",
|
|
25069
25070
|
icon: t.item.icon
|
|
@@ -25219,7 +25220,7 @@ const w0 = { class: "relative flex space-x-3" }, k0 = { class: "text-sm leading-
|
|
|
25219
25220
|
class: de(I(e))
|
|
25220
25221
|
}, [
|
|
25221
25222
|
q("div", I0, [
|
|
25222
|
-
t.icon ? (R(), Te(I(
|
|
25223
|
+
t.icon ? (R(), Te(I(et), {
|
|
25223
25224
|
key: 0,
|
|
25224
25225
|
icon: t.icon,
|
|
25225
25226
|
class: de(I(r))
|
|
@@ -25419,7 +25420,7 @@ const w0 = { class: "relative flex space-x-3" }, k0 = { class: "text-sm leading-
|
|
|
25419
25420
|
class: de(["relative flex items-center rounded-full p-1.5", [""]]),
|
|
25420
25421
|
onClick: a
|
|
25421
25422
|
}, [
|
|
25422
|
-
he(I(
|
|
25423
|
+
he(I(et), {
|
|
25423
25424
|
icon: "heroicons:bell",
|
|
25424
25425
|
class: de(["h-6 w-6", [t.dark ? "text-slate-300" : "text-slate-600"]])
|
|
25425
25426
|
}, null, 8, ["class"]),
|
|
@@ -25438,7 +25439,7 @@ const w0 = { class: "relative flex space-x-3" }, k0 = { class: "text-sm leading-
|
|
|
25438
25439
|
}, null, 8, ["notification"]))), 128)),
|
|
25439
25440
|
t.notificationsConfig.items.length == 0 ? (R(), X("div", q0, [
|
|
25440
25441
|
q("div", R0, [
|
|
25441
|
-
he(I(
|
|
25442
|
+
he(I(et), {
|
|
25442
25443
|
icon: "heroicons:inbox-stack",
|
|
25443
25444
|
class: "mx-auto mb-2 h-8 w-8 text-slate-400"
|
|
25444
25445
|
}),
|
|
@@ -25691,7 +25692,7 @@ const w0 = { class: "relative flex space-x-3" }, k0 = { class: "text-sm leading-
|
|
|
25691
25692
|
onClick: u[0] || (u[0] = (p) => r.value = !1)
|
|
25692
25693
|
}, [
|
|
25693
25694
|
r1,
|
|
25694
|
-
he(I(
|
|
25695
|
+
he(I(et), {
|
|
25695
25696
|
icon: "heroicons:x-mark",
|
|
25696
25697
|
class: "h-6 w-6 text-white",
|
|
25697
25698
|
"aria-hidden": "true"
|
|
@@ -25749,7 +25750,7 @@ const w0 = { class: "relative flex space-x-3" }, k0 = { class: "text-sm leading-
|
|
|
25749
25750
|
onClick: u[2] || (u[2] = (p) => r.value = !0)
|
|
25750
25751
|
}, [
|
|
25751
25752
|
f1,
|
|
25752
|
-
he(I(
|
|
25753
|
+
he(I(et), {
|
|
25753
25754
|
icon: "heroicons:bars-3-bottom-left",
|
|
25754
25755
|
class: "h-6 w-6",
|
|
25755
25756
|
"aria-hidden": "true"
|
|
@@ -25939,7 +25940,7 @@ const w0 = { class: "relative flex space-x-3" }, k0 = { class: "text-sm leading-
|
|
|
25939
25940
|
BaseFileUploader: zs,
|
|
25940
25941
|
BaseForm: lg,
|
|
25941
25942
|
BaseHasMany: sg,
|
|
25942
|
-
BaseIcon:
|
|
25943
|
+
BaseIcon: et,
|
|
25943
25944
|
BaseIconPicker: pg,
|
|
25944
25945
|
BaseInput: In,
|
|
25945
25946
|
BaseInputLabel: xl,
|
|
@@ -26140,7 +26141,7 @@ Cette action est irréversible.`,
|
|
|
26140
26141
|
const C1 = 100, z1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
26141
26142
|
__proto__: null,
|
|
26142
26143
|
MAGIC_NUM: C1
|
|
26143
|
-
}, Symbol.toStringTag, { value: "Module" })), U1 = { en: au, fr: lu },
|
|
26144
|
+
}, Symbol.toStringTag, { value: "Module" })), U1 = { en: au, fr: lu }, nt = {
|
|
26144
26145
|
i18n: wu({
|
|
26145
26146
|
locale: "en",
|
|
26146
26147
|
fallbackLocale: "en",
|
|
@@ -26167,7 +26168,7 @@ const C1 = 100, z1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.define
|
|
|
26167
26168
|
function T1(t, i) {
|
|
26168
26169
|
for (const e in wl)
|
|
26169
26170
|
t.component(e, wl[e]);
|
|
26170
|
-
i != null && i.i18n && (
|
|
26171
|
+
i != null && i.i18n && (nt.i18n = i.i18n), i != null && i.http && (nt.http = i.http), i != null && i.locales && (nt.locales = i.locales), i != null && i.upload_url && (nt.upload_url = i.upload_url), i != null && i.formatQueryString && (nt.formatQueryString = i.formatQueryString), i != null && i.parseQueryString && (nt.parseQueryString = i.parseQueryString), i != null && i.countries && (nt.countries = i.countries), i != null && i.regions && (nt.regions = i.regions);
|
|
26171
26172
|
}
|
|
26172
26173
|
const V1 = { install: T1 };
|
|
26173
26174
|
export {
|
|
@@ -26212,7 +26213,7 @@ export {
|
|
|
26212
26213
|
zs as BaseFileUploader,
|
|
26213
26214
|
lg as BaseForm,
|
|
26214
26215
|
sg as BaseHasMany,
|
|
26215
|
-
|
|
26216
|
+
et as BaseIcon,
|
|
26216
26217
|
pg as BaseIconPicker,
|
|
26217
26218
|
In as BaseInput,
|
|
26218
26219
|
xl as BaseInputLabel,
|
|
@@ -26259,7 +26260,7 @@ export {
|
|
|
26259
26260
|
T0 as BaseTimeline,
|
|
26260
26261
|
tu as BaseTimelineItem,
|
|
26261
26262
|
z1 as MyConstants,
|
|
26262
|
-
|
|
26263
|
+
nt as config,
|
|
26263
26264
|
V1 as default,
|
|
26264
26265
|
da as disableScroll,
|
|
26265
26266
|
ha as enableScroll,
|
|
@@ -23,10 +23,10 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
23
23
|
}>>> & {
|
|
24
24
|
"onUpdate:model-value"?: ((...args: any[]) => any) | undefined;
|
|
25
25
|
}, {
|
|
26
|
-
modelValue: Record<string, string | number | null | undefined>;
|
|
27
|
-
prefix: string | null;
|
|
28
26
|
countries: Country[];
|
|
29
27
|
regions: Region[];
|
|
28
|
+
modelValue: Record<string, string | number | null | undefined>;
|
|
29
|
+
prefix: string | null;
|
|
30
30
|
}>;
|
|
31
31
|
export default _default;
|
|
32
32
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -50,8 +50,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
50
50
|
type: StringConstructor;
|
|
51
51
|
};
|
|
52
52
|
}>>, {
|
|
53
|
-
showTooltip: boolean;
|
|
54
53
|
as: string;
|
|
54
|
+
showTooltip: boolean;
|
|
55
55
|
tooltipPosition: "left" | "right" | "top" | "bottom";
|
|
56
56
|
tooltipSize: "small" | "large" | "medium";
|
|
57
57
|
timeZone: string;
|
|
@@ -13,7 +13,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13
13
|
};
|
|
14
14
|
component: {
|
|
15
15
|
default: string;
|
|
16
|
-
type: PropType<"
|
|
16
|
+
type: PropType<"BaseInput" | "BaseTextarea">;
|
|
17
17
|
};
|
|
18
18
|
componentProps: {
|
|
19
19
|
default: undefined;
|
|
@@ -52,7 +52,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
52
52
|
};
|
|
53
53
|
component: {
|
|
54
54
|
default: string;
|
|
55
|
-
type: PropType<"
|
|
55
|
+
type: PropType<"BaseInput" | "BaseTextarea">;
|
|
56
56
|
};
|
|
57
57
|
componentProps: {
|
|
58
58
|
default: undefined;
|
|
@@ -84,13 +84,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
84
84
|
label: string;
|
|
85
85
|
required: boolean;
|
|
86
86
|
name: string;
|
|
87
|
+
locales: Locales;
|
|
87
88
|
defaultValue: string | number | boolean;
|
|
88
89
|
modelValue: {
|
|
89
90
|
[locale: string]: string | number | boolean;
|
|
90
91
|
} | null;
|
|
91
92
|
hasError: boolean;
|
|
92
|
-
component: "
|
|
93
|
-
locales: Locales;
|
|
93
|
+
component: "BaseInput" | "BaseTextarea";
|
|
94
94
|
componentProps: Record<string, any>;
|
|
95
95
|
}>;
|
|
96
96
|
export default _default;
|
|
@@ -87,11 +87,11 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
87
87
|
}, {
|
|
88
88
|
required: boolean;
|
|
89
89
|
name: string;
|
|
90
|
-
labelClass: string;
|
|
91
90
|
disabled: boolean;
|
|
92
91
|
modelValue: OptionValue | undefined;
|
|
93
92
|
hasError: boolean;
|
|
94
93
|
inputClass: string;
|
|
94
|
+
labelClass: string;
|
|
95
95
|
}>, {
|
|
96
96
|
option: (_: {
|
|
97
97
|
option: NormalizedOption;
|
package/package.json
CHANGED
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
|
|
43
43
|
<script lang="ts">
|
|
44
44
|
import { defineComponent, PropType } from 'vue';
|
|
45
|
-
|
|
45
|
+
import { BaseIcon } from '.';
|
|
46
46
|
|
|
47
47
|
export default defineComponent({
|
|
48
|
-
|
|
48
|
+
components: { BaseIcon },
|
|
49
49
|
props: {
|
|
50
50
|
required: {
|
|
51
51
|
default: false,
|