@vc-shell/framework 1.0.229 → 1.0.231
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/CHANGELOG.md +18 -0
- package/dist/framework.js +112 -108
- package/dist/shared/modules/dynamic/components/fields/InputCurrency.d.ts.map +1 -1
- package/dist/shared/modules/dynamic/types/index.d.ts +10 -1
- package/dist/shared/modules/dynamic/types/index.d.ts.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.stories.d.ts +19 -0
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.stories.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts +4 -0
- package/dist/ui/components/molecules/vc-input-currency/vc-input-currency.vue.d.ts.map +1 -1
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.stories.d.ts +21 -21
- package/dist/ui/components/molecules/vc-multivalue/vc-multivalue.vue.d.ts +3 -3
- package/dist/ui/components/molecules/vc-select/vc-select.stories.d.ts +30 -30
- package/dist/ui/components/molecules/vc-select/vc-select.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts +3 -3
- package/dist/ui/components/organisms/vc-dynamic-property/vc-dynamic-property.vue.d.ts.map +1 -1
- package/dist/ui/components/organisms/vc-gallery/_internal/vc-gallery-preview/vc-gallery-preview.vue.d.ts +1 -1
- package/package.json +4 -4
- package/shared/modules/dynamic/components/fields/InputCurrency.ts +7 -2
- package/shared/modules/dynamic/types/index.ts +10 -1
- package/ui/components/molecules/vc-input-currency/vc-input-currency.vue +3 -0
package/dist/framework.js
CHANGED
|
@@ -16450,7 +16450,7 @@ const FF = /* @__PURE__ */ Fe({
|
|
|
16450
16450
|
/* eslint-enable */
|
|
16451
16451
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
16452
16452
|
setup(t, e) {
|
|
16453
|
-
const { slots: n, attrs: r } = e, i = t.i18n ||
|
|
16453
|
+
const { slots: n, attrs: r } = e, i = t.i18n || Zt({
|
|
16454
16454
|
useScope: t.scope,
|
|
16455
16455
|
__useComponent: !0
|
|
16456
16456
|
});
|
|
@@ -16496,7 +16496,7 @@ const UF = /* @__PURE__ */ Fe({
|
|
|
16496
16496
|
/* eslint-enable */
|
|
16497
16497
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
16498
16498
|
setup(t, e) {
|
|
16499
|
-
const n = t.i18n ||
|
|
16499
|
+
const n = t.i18n || Zt({
|
|
16500
16500
|
useScope: t.scope,
|
|
16501
16501
|
__useComponent: !0
|
|
16502
16502
|
});
|
|
@@ -16520,7 +16520,7 @@ const UF = /* @__PURE__ */ Fe({
|
|
|
16520
16520
|
/* eslint-enable */
|
|
16521
16521
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
16522
16522
|
setup(t, e) {
|
|
16523
|
-
const n = t.i18n ||
|
|
16523
|
+
const n = t.i18n || Zt({
|
|
16524
16524
|
useScope: t.scope,
|
|
16525
16525
|
__useComponent: !0
|
|
16526
16526
|
});
|
|
@@ -16996,7 +16996,7 @@ function s8(t = {}, e) {
|
|
|
16996
16996
|
return d;
|
|
16997
16997
|
}
|
|
16998
16998
|
}
|
|
16999
|
-
function
|
|
16999
|
+
function Zt(t = {}) {
|
|
17000
17000
|
const e = hr();
|
|
17001
17001
|
if (e == null)
|
|
17002
17002
|
throw dr(Vt.MUST_BE_CALL_SETUP_TOP);
|
|
@@ -17329,7 +17329,7 @@ const g8 = { class: "tw-flex tw-flex-col tw-flex-1" }, b8 = { class: "tw-text-[#
|
|
|
17329
17329
|
},
|
|
17330
17330
|
emits: ["upload"],
|
|
17331
17331
|
setup(t, { emit: e }) {
|
|
17332
|
-
const n = t, r = e, { t: i } =
|
|
17332
|
+
const n = t, r = e, { t: i } = Zt({ useScope: "global" }), a = hr(), s = k(n.rules) || "", o = K(!1), { errorMessage: l, handleChange: c, validate: u } = ux(
|
|
17333
17333
|
`${n.name === "Gallery" ? a?.uid : n.name}`,
|
|
17334
17334
|
s
|
|
17335
17335
|
), f = K(), d = async (b) => {
|
|
@@ -25817,7 +25817,8 @@ const tH = ["onClick"], nH = ["disabled", "placeholder"], $b = /* @__PURE__ */ F
|
|
|
25817
25817
|
options: {},
|
|
25818
25818
|
optionValue: {},
|
|
25819
25819
|
optionLabel: {},
|
|
25820
|
-
currencyDisplay: { default: Ns.hidden }
|
|
25820
|
+
currencyDisplay: { default: Ns.hidden },
|
|
25821
|
+
precision: { default: 2 }
|
|
25821
25822
|
},
|
|
25822
25823
|
emits: ["update:model-value", "update:option", "change", "blur"],
|
|
25823
25824
|
setup(t, { emit: e }) {
|
|
@@ -25826,7 +25827,8 @@ const tH = ["onClick"], nH = ["disabled", "placeholder"], $b = /* @__PURE__ */ F
|
|
|
25826
25827
|
locale: navigator.language,
|
|
25827
25828
|
currency: n.option || "USD",
|
|
25828
25829
|
currencyDisplay: n.currencyDisplay,
|
|
25829
|
-
hideGroupingSeparatorOnFocus: !1
|
|
25830
|
+
hideGroupingSeparatorOnFocus: !1,
|
|
25831
|
+
precision: n.precision
|
|
25830
25832
|
},
|
|
25831
25833
|
!1
|
|
25832
25834
|
);
|
|
@@ -26368,7 +26370,7 @@ const vH = ["innerHTML"], gH = { class: "tw-flex tw-flex-nowrap tw-items-start t
|
|
|
26368
26370
|
},
|
|
26369
26371
|
emits: ["update:modelValue", "search", "close"],
|
|
26370
26372
|
setup(t, { emit: e }) {
|
|
26371
|
-
const n = t, r = e, { t: i } =
|
|
26373
|
+
const n = t, r = e, { t: i } = Zt({ useScope: "global" }), { modelValue: a, options: s } = na(n), o = K(!1), l = K(), c = K(), u = K(), f = K(), d = K(), h = K(!1), m = K(), p = K([]), v = K([]), b = K([]), y = K();
|
|
26372
26374
|
let _, g, w;
|
|
26373
26375
|
lD(
|
|
26374
26376
|
d,
|
|
@@ -30714,7 +30716,7 @@ function oa(t) {
|
|
|
30714
30716
|
function Po(t) {
|
|
30715
30717
|
return t != null && Object.prototype.toString.call(t) === "[object Object]";
|
|
30716
30718
|
}
|
|
30717
|
-
function
|
|
30719
|
+
function Qt(t, e) {
|
|
30718
30720
|
return Object.prototype.hasOwnProperty.call(t, e);
|
|
30719
30721
|
}
|
|
30720
30722
|
function Bb(t) {
|
|
@@ -30722,7 +30724,7 @@ function Bb(t) {
|
|
|
30722
30724
|
return Object.getOwnPropertyNames(t).length === 0;
|
|
30723
30725
|
var e;
|
|
30724
30726
|
for (e in t)
|
|
30725
|
-
if (
|
|
30727
|
+
if (Qt(t, e))
|
|
30726
30728
|
return !1;
|
|
30727
30729
|
return !0;
|
|
30728
30730
|
}
|
|
@@ -30743,8 +30745,8 @@ function fN(t, e) {
|
|
|
30743
30745
|
}
|
|
30744
30746
|
function ks(t, e) {
|
|
30745
30747
|
for (var n in e)
|
|
30746
|
-
|
|
30747
|
-
return
|
|
30748
|
+
Qt(e, n) && (t[n] = e[n]);
|
|
30749
|
+
return Qt(e, "toString") && (t.toString = e.toString), Qt(e, "valueOf") && (t.valueOf = e.valueOf), t;
|
|
30748
30750
|
}
|
|
30749
30751
|
function Ma(t, e, n, r) {
|
|
30750
30752
|
return LN(t, e, n, r, !0).utc();
|
|
@@ -30821,7 +30823,7 @@ function Fi(t, e) {
|
|
|
30821
30823
|
i += `
|
|
30822
30824
|
[` + a + "] ";
|
|
30823
30825
|
for (s in arguments[0])
|
|
30824
|
-
|
|
30826
|
+
Qt(arguments[0], s) && (i += s + ": " + arguments[0][s] + ", ");
|
|
30825
30827
|
i = i.slice(0, -2);
|
|
30826
30828
|
} else
|
|
30827
30829
|
i = arguments[a];
|
|
@@ -30848,7 +30850,7 @@ function $a(t) {
|
|
|
30848
30850
|
function UV(t) {
|
|
30849
30851
|
var e, n;
|
|
30850
30852
|
for (n in t)
|
|
30851
|
-
|
|
30853
|
+
Qt(t, n) && (e = t[n], $a(e) ? this[n] = e : this["_" + n] = e);
|
|
30852
30854
|
this._config = t, this._dayOfMonthOrdinalParseLenient = new RegExp(
|
|
30853
30855
|
(this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
|
|
30854
30856
|
);
|
|
@@ -30856,9 +30858,9 @@ function UV(t) {
|
|
|
30856
30858
|
function k0(t, e) {
|
|
30857
30859
|
var n = ks({}, t), r;
|
|
30858
30860
|
for (r in e)
|
|
30859
|
-
|
|
30861
|
+
Qt(e, r) && (Po(t[r]) && Po(e[r]) ? (n[r] = {}, ks(n[r], t[r]), ks(n[r], e[r])) : e[r] != null ? n[r] = e[r] : delete n[r]);
|
|
30860
30862
|
for (r in t)
|
|
30861
|
-
|
|
30863
|
+
Qt(t, r) && !Qt(e, r) && Po(t[r]) && (n[r] = ks({}, n[r]));
|
|
30862
30864
|
return n;
|
|
30863
30865
|
}
|
|
30864
30866
|
function jb(t) {
|
|
@@ -30868,7 +30870,7 @@ var x0;
|
|
|
30868
30870
|
Object.keys ? x0 = Object.keys : x0 = function(t) {
|
|
30869
30871
|
var e, n = [];
|
|
30870
30872
|
for (e in t)
|
|
30871
|
-
|
|
30873
|
+
Qt(t, e) && n.push(e);
|
|
30872
30874
|
return n;
|
|
30873
30875
|
};
|
|
30874
30876
|
var HV = {
|
|
@@ -31034,7 +31036,7 @@ function Bi(t) {
|
|
|
31034
31036
|
function Yb(t) {
|
|
31035
31037
|
var e = {}, n, r;
|
|
31036
31038
|
for (r in t)
|
|
31037
|
-
|
|
31039
|
+
Qt(t, r) && (n = Bi(r), n && (e[n] = t[r]));
|
|
31038
31040
|
return e;
|
|
31039
31041
|
}
|
|
31040
31042
|
var tY = {
|
|
@@ -31058,7 +31060,7 @@ var tY = {
|
|
|
31058
31060
|
function nY(t) {
|
|
31059
31061
|
var e = [], n;
|
|
31060
31062
|
for (n in t)
|
|
31061
|
-
|
|
31063
|
+
Qt(t, n) && e.push({ unit: n, priority: tY[n] });
|
|
31062
31064
|
return e.sort(function(r, i) {
|
|
31063
31065
|
return r.priority - i.priority;
|
|
31064
31066
|
}), e;
|
|
@@ -31071,7 +31073,7 @@ function lt(t, e, n) {
|
|
|
31071
31073
|
};
|
|
31072
31074
|
}
|
|
31073
31075
|
function aY(t, e) {
|
|
31074
|
-
return
|
|
31076
|
+
return Qt(fh, t) ? fh[t](e._strict, e._locale) : new RegExp(sY(t));
|
|
31075
31077
|
}
|
|
31076
31078
|
function sY(t) {
|
|
31077
31079
|
return ss(
|
|
@@ -31107,7 +31109,7 @@ function Tf(t, e) {
|
|
|
31107
31109
|
});
|
|
31108
31110
|
}
|
|
31109
31111
|
function oY(t, e, n) {
|
|
31110
|
-
e != null &&
|
|
31112
|
+
e != null && Qt(P0, t) && P0[t](e, n._a, n, t);
|
|
31111
31113
|
}
|
|
31112
31114
|
function Dp(t) {
|
|
31113
31115
|
return t % 4 === 0 && t % 100 !== 0 || t % 400 === 0;
|
|
@@ -31311,10 +31313,10 @@ function wY() {
|
|
|
31311
31313
|
return zb(this.year(), this.month());
|
|
31312
31314
|
}
|
|
31313
31315
|
function EY(t) {
|
|
31314
|
-
return this._monthsParseExact ? (
|
|
31316
|
+
return this._monthsParseExact ? (Qt(this, "_monthsRegex") || SN.call(this), t ? this._monthsShortStrictRegex : this._monthsShortRegex) : (Qt(this, "_monthsShortRegex") || (this._monthsShortRegex = mY), this._monthsShortStrictRegex && t ? this._monthsShortStrictRegex : this._monthsShortRegex);
|
|
31315
31317
|
}
|
|
31316
31318
|
function TY(t) {
|
|
31317
|
-
return this._monthsParseExact ? (
|
|
31319
|
+
return this._monthsParseExact ? (Qt(this, "_monthsRegex") || SN.call(this), t ? this._monthsStrictRegex : this._monthsRegex) : (Qt(this, "_monthsRegex") || (this._monthsRegex = vY), this._monthsStrictRegex && t ? this._monthsStrictRegex : this._monthsRegex);
|
|
31318
31320
|
}
|
|
31319
31321
|
function SN() {
|
|
31320
31322
|
function t(l, c) {
|
|
@@ -31506,13 +31508,13 @@ function qY(t) {
|
|
|
31506
31508
|
return this.day() || 7;
|
|
31507
31509
|
}
|
|
31508
31510
|
function WY(t) {
|
|
31509
|
-
return this._weekdaysParseExact ? (
|
|
31511
|
+
return this._weekdaysParseExact ? (Qt(this, "_weekdaysRegex") || Jb.call(this), t ? this._weekdaysStrictRegex : this._weekdaysRegex) : (Qt(this, "_weekdaysRegex") || (this._weekdaysRegex = RY), this._weekdaysStrictRegex && t ? this._weekdaysStrictRegex : this._weekdaysRegex);
|
|
31510
31512
|
}
|
|
31511
31513
|
function GY(t) {
|
|
31512
|
-
return this._weekdaysParseExact ? (
|
|
31514
|
+
return this._weekdaysParseExact ? (Qt(this, "_weekdaysRegex") || Jb.call(this), t ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (Qt(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = MY), this._weekdaysShortStrictRegex && t ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
|
|
31513
31515
|
}
|
|
31514
31516
|
function zY(t) {
|
|
31515
|
-
return this._weekdaysParseExact ? (
|
|
31517
|
+
return this._weekdaysParseExact ? (Qt(this, "_weekdaysRegex") || Jb.call(this), t ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (Qt(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = $Y), this._weekdaysMinStrictRegex && t ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
|
|
31516
31518
|
}
|
|
31517
31519
|
function Jb() {
|
|
31518
31520
|
function t(u, f) {
|
|
@@ -32017,7 +32019,7 @@ var Cq = function() {
|
|
|
32017
32019
|
function Iq(t) {
|
|
32018
32020
|
var e, n = !1, r, i = Ju.length;
|
|
32019
32021
|
for (e in t)
|
|
32020
|
-
if (
|
|
32022
|
+
if (Qt(t, e) && !(Yn.call(Ju, e) !== -1 && (t[e] == null || !isNaN(t[e]))))
|
|
32021
32023
|
return !1;
|
|
32022
32024
|
for (r = 0; r < i; ++r)
|
|
32023
32025
|
if (t[Ju[r]]) {
|
|
@@ -32162,7 +32164,7 @@ function ca(t, e) {
|
|
|
32162
32164
|
}) : n == null ? n = {} : typeof n == "object" && ("from" in n || "to" in n) && (s = Wq(
|
|
32163
32165
|
En(n.from),
|
|
32164
32166
|
En(n.to)
|
|
32165
|
-
), n = {}, n.ms = s.milliseconds, n.M = s.months), a = new Rp(n), $d(t) &&
|
|
32167
|
+
), n = {}, n.ms = s.milliseconds, n.M = s.months), a = new Rp(n), $d(t) && Qt(t, "_locale") && (a._locale = t._locale), $d(t) && Qt(t, "_isValid") && (a._isValid = t._isValid), a;
|
|
32166
32168
|
}
|
|
32167
32169
|
ca.fn = Rp.prototype;
|
|
32168
32170
|
ca.invalid = xq;
|
|
@@ -32226,7 +32228,7 @@ function Jq(t) {
|
|
|
32226
32228
|
"ms"
|
|
32227
32229
|
], i, a, s = r.length;
|
|
32228
32230
|
for (i = 0; i < s; i += 1)
|
|
32229
|
-
a = r[i], n = n ||
|
|
32231
|
+
a = r[i], n = n || Qt(t, a);
|
|
32230
32232
|
return e && n;
|
|
32231
32233
|
}
|
|
32232
32234
|
function Xq(t) {
|
|
@@ -32245,7 +32247,7 @@ function Qq(t) {
|
|
|
32245
32247
|
"sameElse"
|
|
32246
32248
|
], i, a;
|
|
32247
32249
|
for (i = 0; i < r.length; i += 1)
|
|
32248
|
-
a = r[i], n = n ||
|
|
32250
|
+
a = r[i], n = n || Qt(t, a);
|
|
32249
32251
|
return e && n;
|
|
32250
32252
|
}
|
|
32251
32253
|
function Zq(t, e) {
|
|
@@ -32651,13 +32653,13 @@ function RW() {
|
|
|
32651
32653
|
return this.year();
|
|
32652
32654
|
}
|
|
32653
32655
|
function MW(t) {
|
|
32654
|
-
return
|
|
32656
|
+
return Qt(this, "_erasNameRegex") || ay.call(this), t ? this._erasNameRegex : this._erasRegex;
|
|
32655
32657
|
}
|
|
32656
32658
|
function $W(t) {
|
|
32657
|
-
return
|
|
32659
|
+
return Qt(this, "_erasAbbrRegex") || ay.call(this), t ? this._erasAbbrRegex : this._erasRegex;
|
|
32658
32660
|
}
|
|
32659
32661
|
function FW(t) {
|
|
32660
|
-
return
|
|
32662
|
+
return Qt(this, "_erasNarrowRegex") || ay.call(this), t ? this._erasNarrowRegex : this._erasRegex;
|
|
32661
32663
|
}
|
|
32662
32664
|
function iy(t, e) {
|
|
32663
32665
|
return e.erasAbbrRegex(t);
|
|
@@ -32947,39 +32949,39 @@ function rG() {
|
|
|
32947
32949
|
function JN(t) {
|
|
32948
32950
|
return t;
|
|
32949
32951
|
}
|
|
32950
|
-
var
|
|
32951
|
-
|
|
32952
|
-
|
|
32953
|
-
|
|
32954
|
-
|
|
32955
|
-
|
|
32956
|
-
|
|
32957
|
-
|
|
32958
|
-
|
|
32959
|
-
|
|
32960
|
-
|
|
32961
|
-
|
|
32962
|
-
|
|
32963
|
-
|
|
32964
|
-
|
|
32965
|
-
|
|
32966
|
-
|
|
32967
|
-
|
|
32968
|
-
|
|
32969
|
-
|
|
32970
|
-
|
|
32971
|
-
|
|
32972
|
-
|
|
32973
|
-
|
|
32974
|
-
|
|
32975
|
-
|
|
32976
|
-
|
|
32977
|
-
|
|
32978
|
-
|
|
32979
|
-
|
|
32980
|
-
|
|
32981
|
-
|
|
32982
|
-
|
|
32952
|
+
var en = jb.prototype;
|
|
32953
|
+
en.calendar = jV;
|
|
32954
|
+
en.longDateFormat = WV;
|
|
32955
|
+
en.invalidDate = zV;
|
|
32956
|
+
en.ordinal = XV;
|
|
32957
|
+
en.preparse = JN;
|
|
32958
|
+
en.postformat = JN;
|
|
32959
|
+
en.relativeTime = ZV;
|
|
32960
|
+
en.pastFuture = eY;
|
|
32961
|
+
en.set = UV;
|
|
32962
|
+
en.eras = IW;
|
|
32963
|
+
en.erasParse = kW;
|
|
32964
|
+
en.erasConvertYear = xW;
|
|
32965
|
+
en.erasAbbrRegex = $W;
|
|
32966
|
+
en.erasNameRegex = MW;
|
|
32967
|
+
en.erasNarrowRegex = FW;
|
|
32968
|
+
en.months = gY;
|
|
32969
|
+
en.monthsShort = bY;
|
|
32970
|
+
en.monthsParse = _Y;
|
|
32971
|
+
en.monthsRegex = TY;
|
|
32972
|
+
en.monthsShortRegex = EY;
|
|
32973
|
+
en.week = SY;
|
|
32974
|
+
en.firstDayOfYear = CY;
|
|
32975
|
+
en.firstDayOfWeek = NY;
|
|
32976
|
+
en.weekdays = FY;
|
|
32977
|
+
en.weekdaysMin = UY;
|
|
32978
|
+
en.weekdaysShort = BY;
|
|
32979
|
+
en.weekdaysParse = jY;
|
|
32980
|
+
en.weekdaysRegex = WY;
|
|
32981
|
+
en.weekdaysShortRegex = GY;
|
|
32982
|
+
en.weekdaysMinRegex = zY;
|
|
32983
|
+
en.isPM = JY;
|
|
32984
|
+
en.meridiem = ZY;
|
|
32983
32985
|
function mh(t, e, n, r) {
|
|
32984
32986
|
var i = ms(), a = Ma().set(r, e);
|
|
32985
32987
|
return i[n](a, t);
|
|
@@ -39828,7 +39830,7 @@ const Qz = { class: "tw-flex tw-grow-1 tw-border-t tw-border-solid tw-border-t-[
|
|
|
39828
39830
|
setup(t, { emit: e }) {
|
|
39829
39831
|
const n = t, r = e;
|
|
39830
39832
|
fu({ validateOnMount: !1 });
|
|
39831
|
-
const i = ef(), a = Gh(), { t: s } =
|
|
39833
|
+
const i = ef(), a = Gh(), { t: s } = Zt({ useScope: "global" }), o = K({ ...n.options?.asset }), l = J(() => n.options?.disabled), c = J({
|
|
39832
39834
|
get() {
|
|
39833
39835
|
return o.value.name?.split(".").shift();
|
|
39834
39836
|
},
|
|
@@ -44804,7 +44806,7 @@ function $E() {
|
|
|
44804
44806
|
return hr() && vn("popupPlugin") || x2;
|
|
44805
44807
|
}
|
|
44806
44808
|
function ku(t) {
|
|
44807
|
-
const { t: e } =
|
|
44809
|
+
const { t: e } = Zt({ useScope: "global" }), n = $E();
|
|
44808
44810
|
let r;
|
|
44809
44811
|
t && (r = c(k(t))), it(
|
|
44810
44812
|
() => t,
|
|
@@ -44897,7 +44899,7 @@ const One = { class: "tw-flex tw-flex-col tw-flex-auto" }, Nne = { class: "tw-fl
|
|
|
44897
44899
|
__name: "change-password",
|
|
44898
44900
|
emits: ["close"],
|
|
44899
44901
|
setup(t, { emit: e }) {
|
|
44900
|
-
const n = e, { t: r } =
|
|
44902
|
+
const n = e, { t: r } = Zt({ useScope: "global" }), { changeUserPassword: i, loading: a, validatePassword: s } = Fa();
|
|
44901
44903
|
fu({ validateOnMount: !1 });
|
|
44902
44904
|
const o = ef(), l = Gh(), c = mn({
|
|
44903
44905
|
isValid: !1,
|
|
@@ -45045,7 +45047,7 @@ const One = { class: "tw-flex tw-flex-col tw-flex-auto" }, Nne = { class: "tw-fl
|
|
|
45045
45047
|
}, Pne = ["onClick"], Dne = /* @__PURE__ */ Fe({
|
|
45046
45048
|
__name: "language-selector",
|
|
45047
45049
|
setup(t) {
|
|
45048
|
-
const { availableLocales: e, getLocaleMessage: n } =
|
|
45050
|
+
const { availableLocales: e, getLocaleMessage: n } = Zt({ useScope: "global" }), { setLocale: r } = zz(), i = K(!1), a = e.map((s) => ({
|
|
45049
45051
|
lang: s,
|
|
45050
45052
|
title: n(s).language_name,
|
|
45051
45053
|
clickHandler(o) {
|
|
@@ -45099,7 +45101,7 @@ const One = { class: "tw-flex tw-flex-col tw-flex-auto" }, Nne = { class: "tw-fl
|
|
|
45099
45101
|
disabled: { type: Boolean }
|
|
45100
45102
|
},
|
|
45101
45103
|
setup(t) {
|
|
45102
|
-
const e = t, { user: n, signOut: r } = Fa(), i = hu(), { t: a } =
|
|
45104
|
+
const e = t, { user: n, signOut: r } = Fa(), i = hu(), { t: a } = Zt({ useScope: "global" }), { open: s } = ku({
|
|
45103
45105
|
component: Ine
|
|
45104
45106
|
}), { closeBlade: o } = no(), l = K(!1), c = J(() => [
|
|
45105
45107
|
...e.menuItems,
|
|
@@ -45256,7 +45258,7 @@ const One = { class: "tw-flex tw-flex-col tw-flex-auto" }, Nne = { class: "tw-fl
|
|
|
45256
45258
|
}, Qne = /* @__PURE__ */ Fe({
|
|
45257
45259
|
__name: "notification-dropdown",
|
|
45258
45260
|
setup(t) {
|
|
45259
|
-
const e = vn("notificationTemplates"), { t: n } =
|
|
45261
|
+
const e = vn("notificationTemplates"), { t: n } = Zt({ useScope: "global" }), { notifications: r, markAllAsRead: i } = Af(), a = K(!1), s = J(() => r.value.some((c) => c.isNew));
|
|
45260
45262
|
function o() {
|
|
45261
45263
|
a.value = !a.value, l();
|
|
45262
45264
|
}
|
|
@@ -45355,7 +45357,7 @@ const One = { class: "tw-flex tw-flex-col tw-flex-auto" }, Nne = { class: "tw-fl
|
|
|
45355
45357
|
},
|
|
45356
45358
|
emits: ["parent:call", "close:blade", "expand:blade", "collapse:blade"],
|
|
45357
45359
|
setup(t, { expose: e }) {
|
|
45358
|
-
const n = t, { t: r } =
|
|
45360
|
+
const n = t, { t: r } = Zt({ useScope: "global" }), i = K([]), a = K(!1), s = K(), o = K([]), l = J(() => n.options.disabled);
|
|
45359
45361
|
let c;
|
|
45360
45362
|
const u = K(!1), { openBlade: f, resolveBladeByName: d } = no(), h = K([
|
|
45361
45363
|
{
|
|
@@ -45800,7 +45802,7 @@ const One = { class: "tw-flex tw-flex-col tw-flex-auto" }, Nne = { class: "tw-fl
|
|
|
45800
45802
|
...t
|
|
45801
45803
|
}
|
|
45802
45804
|
}), Pre = (t) => {
|
|
45803
|
-
const e = t.load, n = t.data, r = K(!0), i = K({}), { t: a } =
|
|
45805
|
+
const e = t.load, n = t.data, r = K(!0), i = K({}), { t: a } = Zt({ useScope: "global" }), s = K([]), o = K({}), l = J(() => Object.values(o.value).filter((E) => !!E).length), c = $g((E) => {
|
|
45804
45806
|
const A = Object.keys(E);
|
|
45805
45807
|
return A.length === 0 || A.every((O) => !E[O]);
|
|
45806
45808
|
});
|
|
@@ -46091,7 +46093,7 @@ const One = { class: "tw-flex tw-flex-col tw-flex-auto" }, Nne = { class: "tw-fl
|
|
|
46091
46093
|
}, sI = (t) => {
|
|
46092
46094
|
if (!t)
|
|
46093
46095
|
return;
|
|
46094
|
-
const { t: e } =
|
|
46096
|
+
const { t: e } = Zt({ useScope: "global" }), n = ZA(
|
|
46095
46097
|
K({}),
|
|
46096
46098
|
K(t.defaultToolbarBindings),
|
|
46097
46099
|
K(nn(t.customToolbarConfig))
|
|
@@ -46142,7 +46144,7 @@ const One = { class: "tw-flex tw-flex-col tw-flex-auto" }, Nne = { class: "tw-fl
|
|
|
46142
46144
|
getBladeExposedData: e
|
|
46143
46145
|
};
|
|
46144
46146
|
};
|
|
46145
|
-
function
|
|
46147
|
+
function Xt(t, e) {
|
|
46146
46148
|
return t in e;
|
|
46147
46149
|
}
|
|
46148
46150
|
const Dre = {
|
|
@@ -46164,7 +46166,7 @@ const Dre = {
|
|
|
46164
46166
|
},
|
|
46165
46167
|
emits: ["parent:call", "close:blade", "collapse:blade", "expand:blade", "close:children", "item-click", "add"],
|
|
46166
46168
|
setup(t, { expose: e, emit: n }) {
|
|
46167
|
-
const r = t, { t: i } =
|
|
46169
|
+
const r = t, { t: i } = Zt({ useScope: "global" }), { showConfirmation: a } = ku(), { debounce: s } = lz(), o = n, l = J(() => r.model?.settings), c = J(() => l.value?.localizationPrefix.trim().toUpperCase()), u = J(() => i(l.value?.titleTemplate)), f = K(!1), d = K(), h = Tr(), m = Tr(), p = Tr([]), v = K(), { moduleNotifications: b, markAsRead: y } = Af(l.value?.pushNotificationType), { setNavigationQuery: _, getNavigationQuery: g } = no();
|
|
46168
46170
|
it(
|
|
46169
46171
|
b,
|
|
46170
46172
|
(q) => {
|
|
@@ -46284,7 +46286,7 @@ const Dre = {
|
|
|
46284
46286
|
const U = async () => {
|
|
46285
46287
|
r.isWidgetView ? o("add") : $ && "openDetailsBlade" in Ge(P) && Ge(P).openDetailsBlade && typeof Ge(P).openDetailsBlade == "function" && await Ge(P).openDetailsBlade?.();
|
|
46286
46288
|
}, le = (q) => {
|
|
46287
|
-
r.isWidgetView ? o("item-click", { param: q.id }) : $ &&
|
|
46289
|
+
r.isWidgetView ? o("item-click", { param: q.id }) : $ && Xt("onListItemClick", Ge(P)) && typeof Ge(P).onListItemClick == "function" ? Ge(P).onListItemClick?.({
|
|
46288
46290
|
item: q,
|
|
46289
46291
|
onOpen() {
|
|
46290
46292
|
h.value = q.id;
|
|
@@ -46292,7 +46294,7 @@ const Dre = {
|
|
|
46292
46294
|
onClose() {
|
|
46293
46295
|
h.value = void 0;
|
|
46294
46296
|
}
|
|
46295
|
-
}) : $ &&
|
|
46297
|
+
}) : $ && Xt("openDetailsBlade", Ge(P)) && typeof Ge(P).openDetailsBlade == "function" && Ge(P).openDetailsBlade?.({
|
|
46296
46298
|
param: q.id,
|
|
46297
46299
|
onOpen() {
|
|
46298
46300
|
h.value = q.id;
|
|
@@ -46330,7 +46332,7 @@ const Dre = {
|
|
|
46330
46332
|
});
|
|
46331
46333
|
}, H = async (q) => {
|
|
46332
46334
|
if (x.value.take) {
|
|
46333
|
-
if ($ &&
|
|
46335
|
+
if ($ && Xt("onPaginationClick", Ge(P)) && typeof Ge(P).onPaginationClick == "function") {
|
|
46334
46336
|
Ge(P).onPaginationClick?.({
|
|
46335
46337
|
...x.value,
|
|
46336
46338
|
skip: (q - 1) * x.value.take
|
|
@@ -46862,11 +46864,13 @@ const Yre = {
|
|
|
46862
46864
|
props: Jn,
|
|
46863
46865
|
setup(t) {
|
|
46864
46866
|
return () => {
|
|
46865
|
-
const e = nn(Zi(t.element.options, t.fieldContext ?? {})) || nn(k(t.bladeContext.scope)?.[t.element.options]), n =
|
|
46867
|
+
const e = (Xt("options", t.element) && t.element.options && (nn(Zi(t.element.options, t.fieldContext ?? {})) || nn(k(t.bladeContext.scope)?.[t.element.options]))) ?? void 0, n = Xt("optionProperty", t.element) && t.element.optionProperty && Zi(t.element.optionProperty, t.fieldContext ?? {}), r = Xt("optionProperty", t.element) && t.element.optionProperty && t.bladeContext.scope && Zi(t.element.optionProperty, t.bladeContext.scope), i = Are({
|
|
46866
46868
|
props: Object.assign(
|
|
46867
46869
|
{},
|
|
46868
46870
|
{
|
|
46871
|
+
precision: t.element.precision,
|
|
46869
46872
|
option: nn(r ?? n),
|
|
46873
|
+
currencyDisplay: t.element.currencyDisplay,
|
|
46870
46874
|
optionLabel: t.element.optionLabel,
|
|
46871
46875
|
optionValue: t.element.optionValue,
|
|
46872
46876
|
options: e,
|
|
@@ -46907,7 +46911,7 @@ const qre = {
|
|
|
46907
46911
|
name: "Checkbox",
|
|
46908
46912
|
props: Jn,
|
|
46909
46913
|
setup(t) {
|
|
46910
|
-
const { t: e } =
|
|
46914
|
+
const { t: e } = Zt({ useScope: "global" });
|
|
46911
46915
|
return () => {
|
|
46912
46916
|
const n = nI({
|
|
46913
46917
|
props: Object.assign(
|
|
@@ -47044,7 +47048,7 @@ const qre = {
|
|
|
47044
47048
|
name: "GalleryField",
|
|
47045
47049
|
props: Jn,
|
|
47046
47050
|
setup(t) {
|
|
47047
|
-
if (!(
|
|
47051
|
+
if (!(Xt("bladeContext", t) && t.bladeContext && Xt("scope", t.bladeContext) && t.bladeContext.scope && t.bladeContext.scope.assetsHandler?.images))
|
|
47048
47052
|
throw new Error(
|
|
47049
47053
|
`There is no assetsHandler.images config provided in blade scope: ${JSON.stringify(
|
|
47050
47054
|
t.bladeContext.scope,
|
|
@@ -47052,7 +47056,7 @@ const qre = {
|
|
|
47052
47056
|
2
|
|
47053
47057
|
)}`
|
|
47054
47058
|
);
|
|
47055
|
-
const { showConfirmation: e } = ku(), { t: n } =
|
|
47059
|
+
const { showConfirmation: e } = ku(), { t: n } = Zt({ useScope: "global" }), { openBlade: r } = no(), i = na(t.bladeContext.scope?.assetsHandler?.images), a = K();
|
|
47056
47060
|
return it(
|
|
47057
47061
|
() => t.fieldContext,
|
|
47058
47062
|
(s) => {
|
|
@@ -47138,7 +47142,7 @@ const qre = {
|
|
|
47138
47142
|
name: "ButtonEl",
|
|
47139
47143
|
props: Jn,
|
|
47140
47144
|
setup(t) {
|
|
47141
|
-
const { t: e } =
|
|
47145
|
+
const { t: e } = Zt({ useScope: "global" });
|
|
47142
47146
|
return () => {
|
|
47143
47147
|
const n = Ire({
|
|
47144
47148
|
props: Object.assign(
|
|
@@ -47171,7 +47175,7 @@ const qre = {
|
|
|
47171
47175
|
name: "StatusField",
|
|
47172
47176
|
props: Jn,
|
|
47173
47177
|
setup(t) {
|
|
47174
|
-
const { t: e } =
|
|
47178
|
+
const { t: e } = Zt({ useScope: "global" });
|
|
47175
47179
|
return () => {
|
|
47176
47180
|
const n = J(() => {
|
|
47177
47181
|
if (t.element.content && typeof t.element.content == "string")
|
|
@@ -47380,7 +47384,7 @@ const qre = {
|
|
|
47380
47384
|
name: "TableEl",
|
|
47381
47385
|
props: Jn,
|
|
47382
47386
|
setup(t) {
|
|
47383
|
-
const { tableTemplates: e } = aI(t.element), { t: n } =
|
|
47387
|
+
const { tableTemplates: e } = aI(t.element), { t: n } = Zt({ useScope: "global" }), r = vn("isBladeEditable", !1), i = J(() => k(r));
|
|
47384
47388
|
wt(t.baseProps).modelValue;
|
|
47385
47389
|
function a(o, l) {
|
|
47386
47390
|
return o ? typeof o == "boolean" ? o : o.method && typeof Ge(t.bladeContext.scope)?.[o.method] == "function" ? Ge(t.bladeContext.scope)?.[o.method]({ item: l }) : o.method && Ge(t.bladeContext.scope)?.[o.method] ? Ge(t.bladeContext.scope)?.[o.method] : !1 : !1;
|
|
@@ -47600,8 +47604,8 @@ function Wc({
|
|
|
47600
47604
|
}) {
|
|
47601
47605
|
if (!t)
|
|
47602
47606
|
throw new Error("There is no controlSchema provided");
|
|
47603
|
-
const { t: o } = xn.global, l = t.id, c =
|
|
47604
|
-
if (
|
|
47607
|
+
const { t: o } = xn.global, l = t.id, c = Xt("rules", t) && t.rules || void 0, u = Xt("placeholder", t) && t.placeholder || void 0, f = Xt("rules", t) && t.rules?.required, d = Xt("property", t) && t.property && Zi(t.property, n), m = (Xt("property", t) && t.property && r.scope && Zi(t.property, r.scope)) ?? d ?? void 0, p = Xt("tooltip", t) && t.tooltip || void 0, v = Xt("multilanguage", t) && t.multilanguage, b = Xt("label", t) && t.label ? k(Vd(t.label, n)) : void 0, y = Xt("hint", t) && t.hint ? (r.scope && k(Vd(t.hint, r.scope))) ?? k(Vd(t.hint, n)) ?? void 0 : void 0, _ = r.scope && Xt("disabled", r.scope) && r.scope.disabled || Xt("disabled", t) && t.disabled && lie(t.disabled, r), g = (T) => {
|
|
47608
|
+
if (Xt("onBlur", t) && t.onBlur) {
|
|
47605
47609
|
const N = t.onBlur.method;
|
|
47606
47610
|
N && r.scope?.[N] && typeof r.scope[N] == "function" && r.scope[N]({
|
|
47607
47611
|
event: T,
|
|
@@ -47610,14 +47614,14 @@ function Wc({
|
|
|
47610
47614
|
});
|
|
47611
47615
|
}
|
|
47612
47616
|
}, w = async (T) => {
|
|
47613
|
-
if (
|
|
47617
|
+
if (Xt("property", t) && t.property && (ou({
|
|
47614
47618
|
property: t.property,
|
|
47615
47619
|
value: T,
|
|
47616
47620
|
context: n,
|
|
47617
47621
|
scope: r.scope
|
|
47618
|
-
}), s?.(a),
|
|
47622
|
+
}), s?.(a), Xt("update", t) && t.update && Xt("method", t.update) && r.scope)) {
|
|
47619
47623
|
const N = t.update.method;
|
|
47620
|
-
|
|
47624
|
+
Xt(N, r.scope) && typeof r.scope[N] == "function" && await r.scope[N](T, t.property, wt(n));
|
|
47621
47625
|
}
|
|
47622
47626
|
}, E = mn({
|
|
47623
47627
|
key: `${e}`,
|
|
@@ -47637,8 +47641,8 @@ function Wc({
|
|
|
47637
47641
|
}), A = oie[t.component], O = J(() => {
|
|
47638
47642
|
if (!("fields" in t))
|
|
47639
47643
|
return null;
|
|
47640
|
-
const T =
|
|
47641
|
-
return Ge(C) && Array.isArray(Ge(C)) ? Ge(C).map((x) => t.fields.reduce(($, P) =>
|
|
47644
|
+
const T = Xt("property", t) && t.property && Zi(t.property, n), C = Xt("property", t) && t.property && Zi(t.property, Ge(r.scope ?? {})) || T;
|
|
47645
|
+
return Ge(C) && Array.isArray(Ge(C)) ? Ge(C).map((x) => t.fields.reduce(($, P) => Xt("permissions", P) && !UE(P.permissions) || Xt("visibility", P) && P.visibility?.method && !ag(r.scope?.[P.visibility?.method], x, P) ? $ : [
|
|
47642
47646
|
...$,
|
|
47643
47647
|
Wc({
|
|
47644
47648
|
controlSchema: P,
|
|
@@ -47650,7 +47654,7 @@ function Wc({
|
|
|
47650
47654
|
updateFormData: s
|
|
47651
47655
|
})
|
|
47652
47656
|
], [])) : [
|
|
47653
|
-
t.fields.reduce((x, $) =>
|
|
47657
|
+
t.fields.reduce((x, $) => Xt("permissions", $) && !UE($.permissions) || Xt("visibility", $) && $.visibility?.method && !ag(r.scope?.[$.visibility?.method], n, $) ? x : [
|
|
47654
47658
|
...x,
|
|
47655
47659
|
Wc({
|
|
47656
47660
|
controlSchema: $,
|
|
@@ -47712,7 +47716,7 @@ const uie = {
|
|
|
47712
47716
|
return () => He(
|
|
47713
47717
|
"div",
|
|
47714
47718
|
{ class: "tw-flex tw-flex-col tw-gap-4" },
|
|
47715
|
-
t.uiSchema.reduce((s, o) => (console.log(o.id, o.permissions, i(o.permissions)),
|
|
47719
|
+
t.uiSchema.reduce((s, o) => (console.log(o.id, o.permissions, i(o.permissions)), Xt("permissions", o) && !i(o.permissions) || Xt("visibility", o) && o.visibility?.method && !ag(nn(t.context?.scope)?.[o.visibility.method], t.context, o) ? s : [
|
|
47716
47720
|
...s,
|
|
47717
47721
|
Wc({
|
|
47718
47722
|
controlSchema: o,
|
|
@@ -47744,7 +47748,7 @@ const uie = {
|
|
|
47744
47748
|
},
|
|
47745
47749
|
emits: ["parent:call", "close:blade", "collapse:blade", "expand:blade"],
|
|
47746
47750
|
setup(t, { expose: e, emit: n }) {
|
|
47747
|
-
const r = t, i = n, { t: a } =
|
|
47751
|
+
const r = t, i = n, { t: a } = Zt({ useScope: "global" }), { showConfirmation: s } = ku(), o = fD();
|
|
47748
47752
|
if (typeof r.composables?.[r.model?.settings?.composable ?? ""] > "u")
|
|
47749
47753
|
throw new Error(`Composable ( ${r.model?.settings?.composable} ) is not defined`);
|
|
47750
47754
|
const { loading: l, item: c, validationState: u, scope: f, load: d, remove: h, saveChanges: m, bladeTitle: p } = r.composables ? r.composables?.[r.model?.settings?.composable ?? ""]({ emit: i, props: r, mounted: Fg() }) : {
|
|
@@ -48205,7 +48209,7 @@ const qme = (t) => function() {
|
|
|
48205
48209
|
},
|
|
48206
48210
|
setup(t) {
|
|
48207
48211
|
fu({ validateOnMount: !1 });
|
|
48208
|
-
const e = t, { validateToken: n, validatePassword: r, resetPasswordByToken: i, signIn: a, loading: s } = Fa(), o = hu(), { t: l } =
|
|
48212
|
+
const e = t, { validateToken: n, validatePassword: r, resetPasswordByToken: i, signIn: a, loading: s } = Fa(), o = hu(), { t: l } = Zt({ useScope: "global" }), c = ef(), u = Gh(), f = mn({
|
|
48209
48213
|
isValid: !1,
|
|
48210
48214
|
tokenIsValid: !1,
|
|
48211
48215
|
errors: [],
|
|
@@ -48355,7 +48359,7 @@ const qme = (t) => function() {
|
|
|
48355
48359
|
composable: { type: Function }
|
|
48356
48360
|
},
|
|
48357
48361
|
setup(t) {
|
|
48358
|
-
const e = t, n = hu(), { validateField: r } = fu({ validateOnMount: !1 }), { uiSettings: i, loading: a } = Rz(), { t: s } =
|
|
48362
|
+
const e = t, n = hu(), { validateField: r } = fu({ validateOnMount: !1 }), { uiSettings: i, loading: a } = Rz(), { t: s } = Zt({ useScope: "global" });
|
|
48359
48363
|
let o;
|
|
48360
48364
|
const l = K({ succeeded: !0 }), c = K({ succeeded: !0 }), u = K(!1), { signIn: f, loading: d, externalSignIn: h, getExternalLoginProviders: m } = Fa(), p = K(!0), v = ef(), b = Gh(), y = K(!1), _ = K();
|
|
48361
48365
|
let g;
|
|
@@ -48612,7 +48616,7 @@ const qme = (t) => function() {
|
|
|
48612
48616
|
token: {}
|
|
48613
48617
|
},
|
|
48614
48618
|
setup(t) {
|
|
48615
|
-
const e = t, { validateToken: n, validatePassword: r, resetPasswordByToken: i, signIn: a, loading: s } = Fa(), o = hu(), { t: l } =
|
|
48619
|
+
const e = t, { validateToken: n, validatePassword: r, resetPasswordByToken: i, signIn: a, loading: s } = Fa(), o = hu(), { t: l } = Zt({ useScope: "global" }), { validate: c } = fu({ validateOnMount: !1 }), u = mn({
|
|
48616
48620
|
isValid: !1,
|
|
48617
48621
|
tokenIsValid: !1,
|
|
48618
48622
|
errors: [],
|
|
@@ -48762,7 +48766,7 @@ const qme = (t) => function() {
|
|
|
48762
48766
|
},
|
|
48763
48767
|
emits: ["logo:click", "backlink:click", "menubutton:click", "button:click"],
|
|
48764
48768
|
setup(t) {
|
|
48765
|
-
const { t: e } =
|
|
48769
|
+
const { t: e } = Zt({ useScope: "global" }), { blades: n } = no(), r = K(""), i = K();
|
|
48766
48770
|
return rp(
|
|
48767
48771
|
n,
|
|
48768
48772
|
(a) => {
|
|
@@ -49401,7 +49405,7 @@ const qme = (t) => function() {
|
|
|
49401
49405
|
},
|
|
49402
49406
|
emits: ["close", "expand", "collapse"],
|
|
49403
49407
|
setup(t) {
|
|
49404
|
-
const e = ox(), { maximized: n, error: r } = na(mn(e)), { t: i } =
|
|
49408
|
+
const e = ox(), { maximized: n, error: r } = na(mn(e)), { t: i } = Zt({ useScope: "global" }), { open: a } = ku({
|
|
49405
49409
|
component: Z2,
|
|
49406
49410
|
props: {
|
|
49407
49411
|
title: i("COMPONENTS.ORGANISMS.VC_BLADE.ERROR_POPUP.TITLE")
|
|
@@ -49496,7 +49500,7 @@ const qme = (t) => function() {
|
|
|
49496
49500
|
},
|
|
49497
49501
|
emits: ["update:model-value"],
|
|
49498
49502
|
setup(t, { emit: e }) {
|
|
49499
|
-
const n = t, r = e, { locale: i, te: a, t: s } =
|
|
49503
|
+
const n = t, r = e, { locale: i, te: a, t: s } = Zt({ useScope: "global" }), o = K([]), l = K(!1), c = K([]), u = K(n.property), f = K(n.modelValue);
|
|
49500
49504
|
it(
|
|
49501
49505
|
() => n.property,
|
|
49502
49506
|
(b) => {
|
|
@@ -49735,7 +49739,7 @@ const qme = (t) => function() {
|
|
|
49735
49739
|
},
|
|
49736
49740
|
emits: ["preview", "edit", "remove"],
|
|
49737
49741
|
setup(t) {
|
|
49738
|
-
const { t: e } =
|
|
49742
|
+
const { t: e } = Zt({ useScope: "global" }), n = K(!1);
|
|
49739
49743
|
function r() {
|
|
49740
49744
|
n.value = !1;
|
|
49741
49745
|
}
|
|
@@ -49812,7 +49816,7 @@ const qme = (t) => function() {
|
|
|
49812
49816
|
},
|
|
49813
49817
|
emits: ["close"],
|
|
49814
49818
|
setup(t) {
|
|
49815
|
-
const e = t, { t: n } =
|
|
49819
|
+
const e = t, { t: n } = Zt({ useScope: "global" }), r = K(e.index), i = J(() => {
|
|
49816
49820
|
if (a.value.url)
|
|
49817
49821
|
return `background: url(${CSS.escape(a.value.url)}) center / contain no-repeat`;
|
|
49818
49822
|
}), a = J(() => e.images[r.value]), s = (l) => {
|
|
@@ -49923,7 +49927,7 @@ const qme = (t) => function() {
|
|
|
49923
49927
|
},
|
|
49924
49928
|
emits: ["upload", "sort", "edit", "remove"],
|
|
49925
49929
|
setup(t, { emit: e }) {
|
|
49926
|
-
const n = t, r = e, { t: i } =
|
|
49930
|
+
const n = t, r = e, { t: i } = Zt({ useScope: "global" }), a = K(), s = K([]), o = K(), l = K(), c = K(), u = K(), f = K(), d = J(() => a.value), h = J(() => s.value.length <= 1), m = K(!1), { open: p } = ku(
|
|
49927
49931
|
J(() => ({
|
|
49928
49932
|
component: ase,
|
|
49929
49933
|
props: {
|
|
@@ -60938,7 +60942,7 @@ const Bde = { class: "tw-text-[color:var(--error-color)]" }, Ude = {
|
|
|
60938
60942
|
},
|
|
60939
60943
|
emits: ["swipeStart", "click", "select"],
|
|
60940
60944
|
setup(t, { emit: e }) {
|
|
60941
|
-
const n = t, r = e, { t: i } =
|
|
60945
|
+
const n = t, r = e, { t: i } = Zt({ useScope: "global" }), a = K(!1), s = K([]), o = K(null), l = K(null), c = J(() => l.value?.offsetWidth), u = K("0"), f = K("0"), { isSwiping: d, lengthX: h } = uD(o, {
|
|
60942
60946
|
threshold: 0,
|
|
60943
60947
|
onSwipeStart() {
|
|
60944
60948
|
_();
|
|
@@ -61359,7 +61363,7 @@ const Ape = { key: 0 }, Spe = { class: "tw-p-3" }, Ope = { class: "tw-flex tw-fl
|
|
|
61359
61363
|
},
|
|
61360
61364
|
emits: ["paginationClick", "selectionChanged", "search:change", "headerClick", "itemClick", "scroll:ptr", "row:reorder", "select:all", "onEditComplete", "onAddNewRow", "onCellBlur"],
|
|
61361
61365
|
setup(t, { emit: e }) {
|
|
61362
|
-
const n = t, r = e, { t: i } =
|
|
61366
|
+
const n = t, r = e, { t: i } = Zt({ useScope: "global" }), a = hr(), s = cs(), o = K(), l = K();
|
|
61363
61367
|
let c = null, u = null;
|
|
61364
61368
|
const f = K([]), d = K(!1), h = Tr(), m = K(), p = K([]), v = K(), b = K(!1), y = K(), _ = K(), g = K(), w = aD(), E = K(), A = K(!1), O = K(!1), I = Bg(
|
|
61365
61369
|
"VC_TABLE_STATE_" + n.stateKey.toUpperCase(),
|