@up-packages/ui 0.9.9-qa → 0.9.10-qa
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/up-ui.css +1 -1
- package/dist/uplexis-ui.js +146 -146
- package/dist/uplexis-ui.js.map +1 -1
- package/dist/uplexis-ui.umd.cjs +1 -1
- package/dist/uplexis-ui.umd.cjs.map +1 -1
- package/package.json +1 -1
package/dist/uplexis-ui.js
CHANGED
|
@@ -16476,7 +16476,7 @@ function Sb() {
|
|
|
16476
16476
|
const Xn = wb(), Xt = {
|
|
16477
16477
|
...Rr[Xn],
|
|
16478
16478
|
version: Sb()
|
|
16479
|
-
},
|
|
16479
|
+
}, m_ = Xn === "development", g_ = Xn === "qa", h_ = Xn === "staging", y_ = Xn === "production", p_ = {
|
|
16480
16480
|
debug: (...e) => {
|
|
16481
16481
|
Xt.debug && console.log("[Uplexis UI - Debug]", ...e);
|
|
16482
16482
|
},
|
|
@@ -17230,7 +17230,7 @@ const Xn = wb(), Xt = {
|
|
|
17230
17230
|
])
|
|
17231
17231
|
], 2));
|
|
17232
17232
|
}
|
|
17233
|
-
}), Vx = /* @__PURE__ */ H($x, [["__scopeId", "data-v-ba7decf9"]]),
|
|
17233
|
+
}), Vx = /* @__PURE__ */ H($x, [["__scopeId", "data-v-ba7decf9"]]), Px = /* @__PURE__ */ ee({
|
|
17234
17234
|
__name: "UpxTextField",
|
|
17235
17235
|
props: {
|
|
17236
17236
|
modelValue: {},
|
|
@@ -17344,34 +17344,34 @@ const Xn = wb(), Xt = {
|
|
|
17344
17344
|
x.$slots.prepend ? {
|
|
17345
17345
|
name: "prepend",
|
|
17346
17346
|
fn: L(() => [
|
|
17347
|
-
R(x.$slots, "prepend")
|
|
17347
|
+
R(x.$slots, "prepend", {}, void 0, !0)
|
|
17348
17348
|
]),
|
|
17349
17349
|
key: "0"
|
|
17350
17350
|
} : void 0,
|
|
17351
17351
|
x.$slots["prepend-inner"] ? {
|
|
17352
17352
|
name: "prepend-inner",
|
|
17353
17353
|
fn: L(() => [
|
|
17354
|
-
R(x.$slots, "prepend-inner")
|
|
17354
|
+
R(x.$slots, "prepend-inner", {}, void 0, !0)
|
|
17355
17355
|
]),
|
|
17356
17356
|
key: "1"
|
|
17357
17357
|
} : void 0,
|
|
17358
17358
|
x.$slots.append ? {
|
|
17359
17359
|
name: "append",
|
|
17360
17360
|
fn: L(() => [
|
|
17361
|
-
R(x.$slots, "append")
|
|
17361
|
+
R(x.$slots, "append", {}, void 0, !0)
|
|
17362
17362
|
]),
|
|
17363
17363
|
key: "2"
|
|
17364
17364
|
} : void 0,
|
|
17365
17365
|
x.$slots["append-inner"] ? {
|
|
17366
17366
|
name: "append-inner",
|
|
17367
17367
|
fn: L(() => [
|
|
17368
|
-
R(x.$slots, "append-inner")
|
|
17368
|
+
R(x.$slots, "append-inner", {}, void 0, !0)
|
|
17369
17369
|
]),
|
|
17370
17370
|
key: "3"
|
|
17371
17371
|
} : void 0
|
|
17372
17372
|
]), 1040, ["modelValue", "id", "label", "placeholder", "hint", "persistent-hint", "type", "variant", "density", "color", "disabled", "readonly", "loading", "clearable", "prepend-icon", "prepend-inner-icon", "append-icon", "append-inner-icon", "rules", "error-messages", "counter", "maxlength", "rounded", "required"]));
|
|
17373
17373
|
}
|
|
17374
|
-
}), Px = { class: "upx-risk-criteria__left" },
|
|
17374
|
+
}), Ur = /* @__PURE__ */ H(Px, [["__scopeId", "data-v-3a2e6be5"]]), Ax = { class: "upx-risk-criteria__left" }, Bx = { class: "upx-risk-criteria__info" }, Tx = { class: "upx-risk-criteria__title" }, Dx = { class: "upx-risk-criteria__subtitle" }, Ex = { class: "upx-risk-criteria__right" }, Fx = /* @__PURE__ */ ee({
|
|
17375
17375
|
__name: "UpxRiskCriteria",
|
|
17376
17376
|
props: {
|
|
17377
17377
|
title: { default: "Critério" },
|
|
@@ -17392,7 +17392,7 @@ const Xn = wb(), Xt = {
|
|
|
17392
17392
|
return (s, r) => (C(), E("div", {
|
|
17393
17393
|
class: O(["upx-risk-criteria", { "upx-risk-criteria--inactive": !l.value }])
|
|
17394
17394
|
}, [
|
|
17395
|
-
b("div",
|
|
17395
|
+
b("div", Ax, [
|
|
17396
17396
|
h(Wh, {
|
|
17397
17397
|
modelValue: l.value,
|
|
17398
17398
|
"onUpdate:modelValue": r[0] || (r[0] = (u) => l.value = u),
|
|
@@ -17401,12 +17401,12 @@ const Xn = wb(), Xt = {
|
|
|
17401
17401
|
density: "compact",
|
|
17402
17402
|
color: "primary"
|
|
17403
17403
|
}, null, 8, ["modelValue"]),
|
|
17404
|
-
b("div",
|
|
17405
|
-
b("span",
|
|
17406
|
-
b("span",
|
|
17404
|
+
b("div", Bx, [
|
|
17405
|
+
b("span", Tx, J(e.title), 1),
|
|
17406
|
+
b("span", Dx, J(i.value), 1)
|
|
17407
17407
|
])
|
|
17408
17408
|
]),
|
|
17409
|
-
b("div",
|
|
17409
|
+
b("div", Ex, [
|
|
17410
17410
|
h(Ur, {
|
|
17411
17411
|
modelValue: o.value,
|
|
17412
17412
|
"onUpdate:modelValue": r[1] || (r[1] = (u) => o.value = u),
|
|
@@ -17421,7 +17421,7 @@ const Xn = wb(), Xt = {
|
|
|
17421
17421
|
])
|
|
17422
17422
|
], 2));
|
|
17423
17423
|
}
|
|
17424
|
-
}),
|
|
17424
|
+
}), Ox = /* @__PURE__ */ H(Fx, [["__scopeId", "data-v-e73eeed1"]]), Lx = { class: "upx-risk-score__header" }, Mx = { class: "upx-risk-score__icon-wrapper" }, Rx = { class: "upx-risk-score__meta" }, Ux = { class: "upx-risk-score__label" }, zx = { class: "upx-risk-score__badge" }, Nx = { class: "upx-risk-score__score-display" }, Hx = { class: "upx-risk-score__score-value" }, Wx = { class: "upx-risk-score__score-subtitle" }, jx = { class: "upx-risk-score__progress-wrapper" }, Gx = { class: "upx-risk-score__progress-track" }, Kx = { class: "upx-risk-score__progress-labels" }, qx = { class: "upx-risk-score__footer" }, Yx = { class: "upx-risk-score__footer-text" }, Xx = /* @__PURE__ */ ee({
|
|
17425
17425
|
__name: "UpxRiskScore",
|
|
17426
17426
|
props: {
|
|
17427
17427
|
variant: { default: "high" },
|
|
@@ -17441,25 +17441,25 @@ const Xn = wb(), Xt = {
|
|
|
17441
17441
|
return (l, o) => (C(), E("div", {
|
|
17442
17442
|
class: O(["upx-risk-score", [`upx-risk-score--${e.variant}`]])
|
|
17443
17443
|
}, [
|
|
17444
|
-
b("div",
|
|
17445
|
-
b("div",
|
|
17444
|
+
b("div", Lx, [
|
|
17445
|
+
b("div", Mx, [
|
|
17446
17446
|
h(ce, {
|
|
17447
17447
|
class: "upx-risk-score__icon",
|
|
17448
17448
|
icon: e.icon,
|
|
17449
17449
|
size: "24"
|
|
17450
17450
|
}, null, 8, ["icon"])
|
|
17451
17451
|
]),
|
|
17452
|
-
b("div",
|
|
17453
|
-
b("span",
|
|
17454
|
-
b("span",
|
|
17452
|
+
b("div", Rx, [
|
|
17453
|
+
b("span", Ux, J(e.label), 1),
|
|
17454
|
+
b("span", zx, J(e.riskLabel), 1)
|
|
17455
17455
|
]),
|
|
17456
|
-
b("div",
|
|
17457
|
-
b("span",
|
|
17458
|
-
b("span",
|
|
17456
|
+
b("div", Nx, [
|
|
17457
|
+
b("span", Hx, J(e.score), 1),
|
|
17458
|
+
b("span", Wx, J(e.scoreSubtitle), 1)
|
|
17459
17459
|
])
|
|
17460
17460
|
]),
|
|
17461
|
-
b("div",
|
|
17462
|
-
b("div",
|
|
17461
|
+
b("div", jx, [
|
|
17462
|
+
b("div", Gx, [
|
|
17463
17463
|
b("div", {
|
|
17464
17464
|
class: "upx-risk-score__progress-fill",
|
|
17465
17465
|
style: ve({ width: `${a.value}%` })
|
|
@@ -17469,24 +17469,24 @@ const Xn = wb(), Xt = {
|
|
|
17469
17469
|
style: ve({ left: `${a.value}%` })
|
|
17470
17470
|
}, null, 4)
|
|
17471
17471
|
]),
|
|
17472
|
-
b("div",
|
|
17472
|
+
b("div", Kx, [
|
|
17473
17473
|
(C(), E(re, null, We(t, (i) => b("span", { key: i }, J(i), 1)), 64))
|
|
17474
17474
|
])
|
|
17475
17475
|
]),
|
|
17476
|
-
b("div",
|
|
17476
|
+
b("div", qx, [
|
|
17477
17477
|
h(ce, {
|
|
17478
17478
|
class: "upx-risk-score__footer-icon",
|
|
17479
17479
|
icon: "mdi-information-outline",
|
|
17480
17480
|
size: "16"
|
|
17481
17481
|
}),
|
|
17482
|
-
b("span",
|
|
17482
|
+
b("span", Yx, J(e.footerText), 1)
|
|
17483
17483
|
])
|
|
17484
17484
|
], 2));
|
|
17485
17485
|
}
|
|
17486
|
-
}),
|
|
17486
|
+
}), Qx = /* @__PURE__ */ H(Xx, [["__scopeId", "data-v-93dc9fe0"]]), Jx = { class: "upx-risk-finding__header" }, Zx = { class: "upx-risk-finding__content" }, ek = { class: "upx-risk-finding__title" }, tk = { class: "upx-risk-finding__subtitle" }, nk = {
|
|
17487
17487
|
key: 0,
|
|
17488
17488
|
class: "upx-risk-finding__tags"
|
|
17489
|
-
},
|
|
17489
|
+
}, ak = /* @__PURE__ */ ee({
|
|
17490
17490
|
__name: "UpxRiskFinding",
|
|
17491
17491
|
props: {
|
|
17492
17492
|
variant: { default: "success" },
|
|
@@ -17500,16 +17500,16 @@ const Xn = wb(), Xt = {
|
|
|
17500
17500
|
return (a, l) => (C(), E("div", {
|
|
17501
17501
|
class: O(["upx-risk-finding", [`upx-risk-finding--${e.variant}`]])
|
|
17502
17502
|
}, [
|
|
17503
|
-
b("div",
|
|
17503
|
+
b("div", Jx, [
|
|
17504
17504
|
h(ce, {
|
|
17505
17505
|
class: "upx-risk-finding__icon",
|
|
17506
17506
|
icon: t.value,
|
|
17507
17507
|
size: "22"
|
|
17508
17508
|
}, null, 8, ["icon"]),
|
|
17509
|
-
b("div",
|
|
17510
|
-
b("span",
|
|
17511
|
-
b("span",
|
|
17512
|
-
e.tags && e.tags.length ? (C(), E("div",
|
|
17509
|
+
b("div", Zx, [
|
|
17510
|
+
b("span", ek, J(e.title), 1),
|
|
17511
|
+
b("span", tk, J(e.subtitle), 1),
|
|
17512
|
+
e.tags && e.tags.length ? (C(), E("div", nk, [
|
|
17513
17513
|
(C(!0), E(re, null, We(e.tags, (o) => (C(), E("span", {
|
|
17514
17514
|
key: o,
|
|
17515
17515
|
class: "upx-risk-finding__tag"
|
|
@@ -17519,7 +17519,7 @@ const Xn = wb(), Xt = {
|
|
|
17519
17519
|
])
|
|
17520
17520
|
], 2));
|
|
17521
17521
|
}
|
|
17522
|
-
}),
|
|
17522
|
+
}), lk = /* @__PURE__ */ H(ak, [["__scopeId", "data-v-6d543edf"]]), ok = U({
|
|
17523
17523
|
autoSelectFirst: {
|
|
17524
17524
|
type: [Boolean, String]
|
|
17525
17525
|
},
|
|
@@ -17533,9 +17533,9 @@ const Xn = wb(), Xt = {
|
|
|
17533
17533
|
modelValue: null,
|
|
17534
17534
|
role: "combobox"
|
|
17535
17535
|
}), ["validationValue", "dirty", "appendInnerIcon"])
|
|
17536
|
-
}, "VAutocomplete"),
|
|
17536
|
+
}, "VAutocomplete"), ik = ne()({
|
|
17537
17537
|
name: "VAutocomplete",
|
|
17538
|
-
props:
|
|
17538
|
+
props: ok(),
|
|
17539
17539
|
emits: {
|
|
17540
17540
|
"update:focused": (e) => !0,
|
|
17541
17541
|
"update:search": (e) => !0,
|
|
@@ -17884,10 +17884,10 @@ const Xn = wb(), Xt = {
|
|
|
17884
17884
|
select: De
|
|
17885
17885
|
}, l);
|
|
17886
17886
|
}
|
|
17887
|
-
}),
|
|
17887
|
+
}), sk = {
|
|
17888
17888
|
key: 1,
|
|
17889
17889
|
class: "upx-select__selection-text"
|
|
17890
|
-
},
|
|
17890
|
+
}, rk = { key: 2 }, uk = /* @__PURE__ */ ee({
|
|
17891
17891
|
__name: "UpxSelect",
|
|
17892
17892
|
props: {
|
|
17893
17893
|
modelValue: {},
|
|
@@ -17945,7 +17945,7 @@ const Xn = wb(), Xt = {
|
|
|
17945
17945
|
}, c = (d) => {
|
|
17946
17946
|
a("focus", d);
|
|
17947
17947
|
};
|
|
17948
|
-
return (d, f) => (C(), oe(
|
|
17948
|
+
return (d, f) => (C(), oe(ik, G({
|
|
17949
17949
|
modelValue: l.value,
|
|
17950
17950
|
"onUpdate:modelValue": f[0] || (f[0] = (v) => l.value = v),
|
|
17951
17951
|
search: o.value,
|
|
@@ -17990,7 +17990,7 @@ const Xn = wb(), Xt = {
|
|
|
17990
17990
|
key: 0,
|
|
17991
17991
|
item: v,
|
|
17992
17992
|
index: m
|
|
17993
|
-
}, void 0, !0) : e.multiple && m === 0 ? (C(), E("span",
|
|
17993
|
+
}, void 0, !0) : e.multiple && m === 0 ? (C(), E("span", sk, J(i.value), 1)) : e.multiple ? ge("", !0) : (C(), E("span", rk, J(v.title), 1))
|
|
17994
17994
|
]),
|
|
17995
17995
|
_: 2
|
|
17996
17996
|
}, [
|
|
@@ -18051,16 +18051,16 @@ const Xn = wb(), Xt = {
|
|
|
18051
18051
|
} : void 0
|
|
18052
18052
|
]), 1040, ["modelValue", "search", "id", "items", "label", "placeholder", "hint", "persistent-hint", "variant", "density", "color", "disabled", "readonly", "loading", "clearable", "multiple", "chips", "prepend-icon", "prepend-inner-icon", "append-icon", "append-inner-icon", "rules", "error-messages", "item-title", "item-value", "return-object", "rounded", "menu-icon", "no-filter", "custom-filter", "auto-select-first"]));
|
|
18053
18053
|
}
|
|
18054
|
-
}),
|
|
18054
|
+
}), ck = /* @__PURE__ */ H(uk, [["__scopeId", "data-v-1a7bf2f2"]]), dk = { class: "up-sidebar__header" }, fk = { class: "up-sidebar__items" }, vk = {
|
|
18055
18055
|
key: 0,
|
|
18056
18056
|
class: "up-sidebar__spacer"
|
|
18057
|
-
},
|
|
18057
|
+
}, mk = ["onClick"], gk = {
|
|
18058
18058
|
key: 1,
|
|
18059
18059
|
class: "up-sidebar__label"
|
|
18060
|
-
},
|
|
18060
|
+
}, hk = ["onClick"], yk = {
|
|
18061
18061
|
key: 1,
|
|
18062
18062
|
class: "up-sidebar__label"
|
|
18063
|
-
},
|
|
18063
|
+
}, pk = /* @__PURE__ */ ee({
|
|
18064
18064
|
__name: "UpxSideBar",
|
|
18065
18065
|
props: {
|
|
18066
18066
|
items: {},
|
|
@@ -18088,12 +18088,12 @@ const Xn = wb(), Xt = {
|
|
|
18088
18088
|
onMouseenter: c[0] || (c[0] = (d) => l.value = !0),
|
|
18089
18089
|
onMouseleave: c[1] || (c[1] = (d) => l.value = !1)
|
|
18090
18090
|
}, [
|
|
18091
|
-
b("div",
|
|
18091
|
+
b("div", dk, [
|
|
18092
18092
|
R(u.$slots, "header", {}, void 0, !0)
|
|
18093
18093
|
]),
|
|
18094
|
-
b("div",
|
|
18094
|
+
b("div", fk, [
|
|
18095
18095
|
(C(!0), E(re, null, We(e.items, (d, f) => (C(), E(re, { key: f }, [
|
|
18096
|
-
d.space ? (C(), E("div",
|
|
18096
|
+
d.space ? (C(), E("div", vk)) : d.clickable ? (C(), E("button", {
|
|
18097
18097
|
key: 1,
|
|
18098
18098
|
class: O(["up-sidebar__item", { "up-sidebar__item--closed": !l.value }]),
|
|
18099
18099
|
onClick: (v) => o(d)
|
|
@@ -18108,8 +18108,8 @@ const Xn = wb(), Xt = {
|
|
|
18108
18108
|
]),
|
|
18109
18109
|
_: 2
|
|
18110
18110
|
}, 1024)) : ge("", !0),
|
|
18111
|
-
l.value ? (C(), E("span",
|
|
18112
|
-
], 10,
|
|
18111
|
+
l.value ? (C(), E("span", gk, J(d.label), 1)) : ge("", !0)
|
|
18112
|
+
], 10, mk)) : (C(), oe(ht, {
|
|
18113
18113
|
key: 2,
|
|
18114
18114
|
location: "end",
|
|
18115
18115
|
offset: l.value ? 28 : 16,
|
|
@@ -18133,8 +18133,8 @@ const Xn = wb(), Xt = {
|
|
|
18133
18133
|
]),
|
|
18134
18134
|
_: 2
|
|
18135
18135
|
}, 1024)) : ge("", !0),
|
|
18136
|
-
l.value ? (C(), E("span",
|
|
18137
|
-
], 16,
|
|
18136
|
+
l.value ? (C(), E("span", yk, J(d.label), 1)) : ge("", !0)
|
|
18137
|
+
], 16, hk)
|
|
18138
18138
|
]),
|
|
18139
18139
|
default: L(() => [
|
|
18140
18140
|
a.value === d.label ? (C(), E("div", {
|
|
@@ -18151,7 +18151,7 @@ const Xn = wb(), Xt = {
|
|
|
18151
18151
|
])
|
|
18152
18152
|
], 34));
|
|
18153
18153
|
}
|
|
18154
|
-
}),
|
|
18154
|
+
}), bk = /* @__PURE__ */ H(pk, [["__scopeId", "data-v-c39db8a1"]]), xk = {
|
|
18155
18155
|
actions: "button@2",
|
|
18156
18156
|
article: "heading, paragraph",
|
|
18157
18157
|
avatar: "avatar",
|
|
@@ -18184,7 +18184,7 @@ const Xn = wb(), Xt = {
|
|
|
18184
18184
|
"table-tfoot": "text@2, avatar@2",
|
|
18185
18185
|
text: "text"
|
|
18186
18186
|
};
|
|
18187
|
-
function
|
|
18187
|
+
function kk(e) {
|
|
18188
18188
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
18189
18189
|
return b("div", {
|
|
18190
18190
|
class: O(["v-skeleton-loader__bone", `v-skeleton-loader__${e}`])
|
|
@@ -18199,18 +18199,18 @@ function Ci(e) {
|
|
|
18199
18199
|
function Ma(e) {
|
|
18200
18200
|
let n = [];
|
|
18201
18201
|
if (!e) return n;
|
|
18202
|
-
const t =
|
|
18202
|
+
const t = xk[e];
|
|
18203
18203
|
if (e !== t) {
|
|
18204
18204
|
if (e.includes(",")) return Ii(e);
|
|
18205
18205
|
if (e.includes("@")) return Ci(e);
|
|
18206
18206
|
t.includes(",") ? n = Ii(t) : t.includes("@") ? n = Ci(t) : t && n.push(Ma(t));
|
|
18207
18207
|
}
|
|
18208
|
-
return [
|
|
18208
|
+
return [kk(e, n)];
|
|
18209
18209
|
}
|
|
18210
18210
|
function Ii(e) {
|
|
18211
18211
|
return e.replace(/\s/g, "").split(",").map(Ma);
|
|
18212
18212
|
}
|
|
18213
|
-
const
|
|
18213
|
+
const _k = U({
|
|
18214
18214
|
boilerplate: Boolean,
|
|
18215
18215
|
color: String,
|
|
18216
18216
|
loading: Boolean,
|
|
@@ -18225,10 +18225,10 @@ const kk = U({
|
|
|
18225
18225
|
...St(),
|
|
18226
18226
|
...wt(),
|
|
18227
18227
|
...Le()
|
|
18228
|
-
}, "VSkeletonLoader"),
|
|
18228
|
+
}, "VSkeletonLoader"), wk = ne()({
|
|
18229
18229
|
name: "VSkeletonLoader",
|
|
18230
18230
|
inheritAttrs: !1,
|
|
18231
|
-
props:
|
|
18231
|
+
props: _k(),
|
|
18232
18232
|
setup(e, n) {
|
|
18233
18233
|
let {
|
|
18234
18234
|
attrs: t,
|
|
@@ -18261,7 +18261,7 @@ const kk = U({
|
|
|
18261
18261
|
}, f, t), [c.value]) : b(re, null, [(v = a.default) == null ? void 0 : v.call(a)]);
|
|
18262
18262
|
}), {};
|
|
18263
18263
|
}
|
|
18264
|
-
}),
|
|
18264
|
+
}), Sk = /* @__PURE__ */ ee({
|
|
18265
18265
|
__name: "UpxSkeleton",
|
|
18266
18266
|
props: {
|
|
18267
18267
|
type: { default: void 0 },
|
|
@@ -18277,7 +18277,7 @@ const kk = U({
|
|
|
18277
18277
|
height: typeof n.height == "number" ? `${n.height}px` : n.height,
|
|
18278
18278
|
width: typeof n.width == "number" ? `${n.width}px` : n.width
|
|
18279
18279
|
}));
|
|
18280
|
-
return (l, o) => t.value ? (C(), oe(
|
|
18280
|
+
return (l, o) => t.value ? (C(), oe(wk, {
|
|
18281
18281
|
key: 0,
|
|
18282
18282
|
class: "upx-skeleton",
|
|
18283
18283
|
type: e.type,
|
|
@@ -18297,10 +18297,10 @@ const kk = U({
|
|
|
18297
18297
|
style: ve(a.value)
|
|
18298
18298
|
}, null, 6));
|
|
18299
18299
|
}
|
|
18300
|
-
}),
|
|
18300
|
+
}), Ck = /* @__PURE__ */ H(Sk, [["__scopeId", "data-v-4b5e717a"]]), Ik = { class: "up-stepper" }, $k = { class: "up-stepper__list" }, Vk = ["disabled", "onClick"], Pk = {
|
|
18301
18301
|
key: 0,
|
|
18302
18302
|
class: "up-stepper__separator"
|
|
18303
|
-
},
|
|
18303
|
+
}, Ak = /* @__PURE__ */ ee({
|
|
18304
18304
|
__name: "UpxStepper",
|
|
18305
18305
|
props: /* @__PURE__ */ xa({
|
|
18306
18306
|
items: {}
|
|
@@ -18313,8 +18313,8 @@ const kk = U({
|
|
|
18313
18313
|
const n = ka(e, "modelValue"), t = (a) => {
|
|
18314
18314
|
a.disabled || (n.value = a);
|
|
18315
18315
|
};
|
|
18316
|
-
return (a, l) => (C(), E("nav",
|
|
18317
|
-
b("ol",
|
|
18316
|
+
return (a, l) => (C(), E("nav", Ik, [
|
|
18317
|
+
b("ol", $k, [
|
|
18318
18318
|
(C(!0), E(re, null, We(e.items, (o, i) => {
|
|
18319
18319
|
var s;
|
|
18320
18320
|
return C(), E(re, {
|
|
@@ -18330,15 +18330,15 @@ const kk = U({
|
|
|
18330
18330
|
class: "up-stepper__button",
|
|
18331
18331
|
disabled: o.disabled,
|
|
18332
18332
|
onClick: (r) => t(o)
|
|
18333
|
-
}, J(o.label), 9,
|
|
18333
|
+
}, J(o.label), 9, Vk)
|
|
18334
18334
|
], 2),
|
|
18335
|
-
i < e.items.length - 1 ? (C(), E("span",
|
|
18335
|
+
i < e.items.length - 1 ? (C(), E("span", Pk, "/")) : ge("", !0)
|
|
18336
18336
|
], 64);
|
|
18337
18337
|
}), 128))
|
|
18338
18338
|
])
|
|
18339
18339
|
]));
|
|
18340
18340
|
}
|
|
18341
|
-
}),
|
|
18341
|
+
}), Bk = /* @__PURE__ */ H(Ak, [["__scopeId", "data-v-d7260bd4"]]), Tk = { class: "up-switch__labels" }, Dk = ["id"], Ek = /* @__PURE__ */ ee({
|
|
18342
18342
|
__name: "UpxSwitch",
|
|
18343
18343
|
props: /* @__PURE__ */ xa({
|
|
18344
18344
|
id: {},
|
|
@@ -18373,7 +18373,7 @@ const kk = U({
|
|
|
18373
18373
|
b("div", {
|
|
18374
18374
|
class: O(["up-switch__thumb", o.value.thumb])
|
|
18375
18375
|
}, null, 2),
|
|
18376
|
-
b("label",
|
|
18376
|
+
b("label", Tk, [
|
|
18377
18377
|
e.offLabel ? (C(), E("span", {
|
|
18378
18378
|
key: 0,
|
|
18379
18379
|
class: O(["up-switch__label up-switch__label--off", o.value.offLabel])
|
|
@@ -18383,7 +18383,7 @@ const kk = U({
|
|
|
18383
18383
|
id: e.id,
|
|
18384
18384
|
"onUpdate:modelValue": s[0] || (s[0] = (r) => t.value = r),
|
|
18385
18385
|
class: "up-switch__input"
|
|
18386
|
-
}, null, 8,
|
|
18386
|
+
}, null, 8, Dk), [
|
|
18387
18387
|
[tu, t.value]
|
|
18388
18388
|
]),
|
|
18389
18389
|
e.onLabel ? (C(), E("span", {
|
|
@@ -18393,7 +18393,7 @@ const kk = U({
|
|
|
18393
18393
|
])
|
|
18394
18394
|
], 2));
|
|
18395
18395
|
}
|
|
18396
|
-
}),
|
|
18396
|
+
}), Fk = /* @__PURE__ */ H(Ek, [["__scopeId", "data-v-e4795478"]]), Ok = ["disabled"], Lk = ["id", "onClick"], Mk = ["disabled"], Rk = /* @__PURE__ */ ee({
|
|
18397
18397
|
__name: "UpxTab",
|
|
18398
18398
|
props: /* @__PURE__ */ xa({
|
|
18399
18399
|
items: {},
|
|
@@ -18444,7 +18444,7 @@ const kk = U({
|
|
|
18444
18444
|
])]),
|
|
18445
18445
|
_: 1
|
|
18446
18446
|
})
|
|
18447
|
-
], 8,
|
|
18447
|
+
], 8, Ok)) : ge("", !0),
|
|
18448
18448
|
b("div", {
|
|
18449
18449
|
class: O(["up-tab__items", { "up-tab__items--scrollable": e.showArrows }])
|
|
18450
18450
|
}, [
|
|
@@ -18467,7 +18467,7 @@ const kk = U({
|
|
|
18467
18467
|
_: 2
|
|
18468
18468
|
}, 1024)) : ge("", !0),
|
|
18469
18469
|
ke(" " + J(f.label), 1)
|
|
18470
|
-
], 10,
|
|
18470
|
+
], 10, Lk))), 128))
|
|
18471
18471
|
], 2),
|
|
18472
18472
|
e.showArrows ? (C(), E("button", {
|
|
18473
18473
|
key: 1,
|
|
@@ -18484,10 +18484,10 @@ const kk = U({
|
|
|
18484
18484
|
])]),
|
|
18485
18485
|
_: 1
|
|
18486
18486
|
})
|
|
18487
|
-
], 8,
|
|
18487
|
+
], 8, Mk)) : ge("", !0)
|
|
18488
18488
|
], 2));
|
|
18489
18489
|
}
|
|
18490
|
-
}),
|
|
18490
|
+
}), Uk = /* @__PURE__ */ H(Rk, [["__scopeId", "data-v-58ff3370"]]), zk = { class: "up-title-bar__left" }, Nk = ["disabled"], Hk = /* @__PURE__ */ ee({
|
|
18491
18491
|
__name: "UpxTitleBar",
|
|
18492
18492
|
props: {
|
|
18493
18493
|
prependIcon: {},
|
|
@@ -18508,7 +18508,7 @@ const kk = U({
|
|
|
18508
18508
|
"up-title-bar--disabled": e.disabled
|
|
18509
18509
|
}])
|
|
18510
18510
|
}, [
|
|
18511
|
-
b("div",
|
|
18511
|
+
b("div", zk, [
|
|
18512
18512
|
e.prependIcon ? (C(), oe(ce, {
|
|
18513
18513
|
key: 0,
|
|
18514
18514
|
size: "12",
|
|
@@ -18538,16 +18538,16 @@ const kk = U({
|
|
|
18538
18538
|
])]),
|
|
18539
18539
|
_: 1
|
|
18540
18540
|
})
|
|
18541
|
-
], 8,
|
|
18541
|
+
], 8, Nk)) : ge("", !0)
|
|
18542
18542
|
], 2));
|
|
18543
18543
|
}
|
|
18544
|
-
}), zr = /* @__PURE__ */ H(
|
|
18544
|
+
}), zr = /* @__PURE__ */ H(Hk, [["__scopeId", "data-v-03b186f2"]]), Wk = { class: "d-flex align-center" }, jk = { class: "flex-grow-1" }, Gk = {
|
|
18545
18545
|
key: 0,
|
|
18546
18546
|
class: "up-toast__title"
|
|
18547
|
-
},
|
|
18547
|
+
}, Kk = { class: "up-toast__message" }, qk = {
|
|
18548
18548
|
key: 0,
|
|
18549
18549
|
class: "up-toast__actions mt-3"
|
|
18550
|
-
},
|
|
18550
|
+
}, Yk = /* @__PURE__ */ ee({
|
|
18551
18551
|
__name: "UpxToast",
|
|
18552
18552
|
props: {
|
|
18553
18553
|
modelValue: { type: Boolean, default: !1 },
|
|
@@ -18606,16 +18606,16 @@ const kk = U({
|
|
|
18606
18606
|
b("div", {
|
|
18607
18607
|
class: O(["up-toast__content", `up-toast__content--${e.type}`])
|
|
18608
18608
|
}, [
|
|
18609
|
-
b("div",
|
|
18609
|
+
b("div", Wk, [
|
|
18610
18610
|
e.icon ? (C(), oe(ce, {
|
|
18611
18611
|
key: 0,
|
|
18612
18612
|
icon: e.icon,
|
|
18613
18613
|
class: "mr-3",
|
|
18614
18614
|
size: "24"
|
|
18615
18615
|
}, null, 8, ["icon"])) : ge("", !0),
|
|
18616
|
-
b("div",
|
|
18617
|
-
e.title ? (C(), E("div",
|
|
18618
|
-
b("div",
|
|
18616
|
+
b("div", jk, [
|
|
18617
|
+
e.title ? (C(), E("div", Gk, J(e.title), 1)) : ge("", !0),
|
|
18618
|
+
b("div", Kk, J(e.message), 1)
|
|
18619
18619
|
]),
|
|
18620
18620
|
e.requireClose || e.closable ? (C(), oe(Oe, {
|
|
18621
18621
|
key: 1,
|
|
@@ -18626,7 +18626,7 @@ const kk = U({
|
|
|
18626
18626
|
onClick: m
|
|
18627
18627
|
}, null, 8, ["icon"])) : ge("", !0)
|
|
18628
18628
|
]),
|
|
18629
|
-
y.$slots.actions ? (C(), E("div",
|
|
18629
|
+
y.$slots.actions ? (C(), E("div", qk, [
|
|
18630
18630
|
R(y.$slots, "actions", { close: m }, void 0, !0)
|
|
18631
18631
|
])) : ge("", !0),
|
|
18632
18632
|
!e.requireClose && e.showProgress ? (C(), E("div", {
|
|
@@ -18641,7 +18641,7 @@ const kk = U({
|
|
|
18641
18641
|
}, 8, ["name"])
|
|
18642
18642
|
]));
|
|
18643
18643
|
}
|
|
18644
|
-
}),
|
|
18644
|
+
}), Xk = /* @__PURE__ */ H(Yk, [["__scopeId", "data-v-285e7cc6"]]), Qk = U({
|
|
18645
18645
|
id: String,
|
|
18646
18646
|
interactive: Boolean,
|
|
18647
18647
|
text: String,
|
|
@@ -18659,9 +18659,9 @@ const kk = U({
|
|
|
18659
18659
|
scrollStrategy: "reposition",
|
|
18660
18660
|
transition: null
|
|
18661
18661
|
}), ["absolute", "persistent"])
|
|
18662
|
-
}, "VTooltip"),
|
|
18662
|
+
}, "VTooltip"), Jk = ne()({
|
|
18663
18663
|
name: "VTooltip",
|
|
18664
|
-
props:
|
|
18664
|
+
props: Qk(),
|
|
18665
18665
|
emits: {
|
|
18666
18666
|
"update:modelValue": (e) => !0
|
|
18667
18667
|
},
|
|
@@ -18705,7 +18705,7 @@ const kk = U({
|
|
|
18705
18705
|
});
|
|
18706
18706
|
}), qt({}, s);
|
|
18707
18707
|
}
|
|
18708
|
-
}),
|
|
18708
|
+
}), Zk = { class: "up-tooltip__content" }, e_ = /* @__PURE__ */ ee({
|
|
18709
18709
|
__name: "UpxTooltip",
|
|
18710
18710
|
props: {
|
|
18711
18711
|
side: { default: "top" },
|
|
@@ -18719,7 +18719,7 @@ const kk = U({
|
|
|
18719
18719
|
bottom: "bottom",
|
|
18720
18720
|
left: "start"
|
|
18721
18721
|
};
|
|
18722
|
-
return (t, a) => (C(), oe(
|
|
18722
|
+
return (t, a) => (C(), oe(Jk, {
|
|
18723
18723
|
location: n[e.side],
|
|
18724
18724
|
"open-delay": e.delay,
|
|
18725
18725
|
offset: 5
|
|
@@ -18730,7 +18730,7 @@ const kk = U({
|
|
|
18730
18730
|
], 16)
|
|
18731
18731
|
]),
|
|
18732
18732
|
default: L(() => [
|
|
18733
|
-
b("div",
|
|
18733
|
+
b("div", Zk, [
|
|
18734
18734
|
R(t.$slots, "content", {}, () => [
|
|
18735
18735
|
ke(J(e.tooltipText), 1)
|
|
18736
18736
|
], !0)
|
|
@@ -18739,10 +18739,10 @@ const kk = U({
|
|
|
18739
18739
|
_: 3
|
|
18740
18740
|
}, 8, ["location", "open-delay"]));
|
|
18741
18741
|
}
|
|
18742
|
-
}),
|
|
18742
|
+
}), t_ = /* @__PURE__ */ H(e_, [["__scopeId", "data-v-7d18b7f0"]]), n_ = {
|
|
18743
18743
|
key: 1,
|
|
18744
18744
|
class: "up-window__scroll-area"
|
|
18745
|
-
},
|
|
18745
|
+
}, a_ = /* @__PURE__ */ ee({
|
|
18746
18746
|
__name: "UpxWindow",
|
|
18747
18747
|
props: {
|
|
18748
18748
|
props: {}
|
|
@@ -18772,7 +18772,7 @@ const kk = U({
|
|
|
18772
18772
|
class: "up-window__title-bar",
|
|
18773
18773
|
onClose: i[0] || (i[0] = (s) => l("close"))
|
|
18774
18774
|
}, null, 8, ["title", "disabled", "prepend-icon"])) : ge("", !0),
|
|
18775
|
-
be(a).type === "window" && be(a).scrollable ? (C(), E("div",
|
|
18775
|
+
be(a).type === "window" && be(a).scrollable ? (C(), E("div", n_, [
|
|
18776
18776
|
R(o.$slots, "default", {}, void 0, !0)
|
|
18777
18777
|
])) : (C(), E("div", {
|
|
18778
18778
|
key: 2,
|
|
@@ -18784,7 +18784,7 @@ const kk = U({
|
|
|
18784
18784
|
], 2))
|
|
18785
18785
|
], 2));
|
|
18786
18786
|
}
|
|
18787
|
-
}),
|
|
18787
|
+
}), l_ = /* @__PURE__ */ H(a_, [["__scopeId", "data-v-dc534a5e"]]), o_ = {
|
|
18788
18788
|
UpxAccordion: lc,
|
|
18789
18789
|
UpxAlert: Tc,
|
|
18790
18790
|
UpxAlertTitle: Oc,
|
|
@@ -18870,38 +18870,38 @@ const kk = U({
|
|
|
18870
18870
|
UpxResizableHandle: dx,
|
|
18871
18871
|
UpxRiskLevel: yx,
|
|
18872
18872
|
UpxRiskCard: Vx,
|
|
18873
|
-
UpxRiskCriteria:
|
|
18874
|
-
UpxRiskScore:
|
|
18875
|
-
UpxRiskFinding:
|
|
18876
|
-
UpxSelect:
|
|
18877
|
-
UpxSideBar:
|
|
18878
|
-
UpxSkeleton:
|
|
18879
|
-
UpxStepper:
|
|
18880
|
-
UpxSwitch:
|
|
18881
|
-
UpxTab:
|
|
18873
|
+
UpxRiskCriteria: Ox,
|
|
18874
|
+
UpxRiskScore: Qx,
|
|
18875
|
+
UpxRiskFinding: lk,
|
|
18876
|
+
UpxSelect: ck,
|
|
18877
|
+
UpxSideBar: bk,
|
|
18878
|
+
UpxSkeleton: Ck,
|
|
18879
|
+
UpxStepper: Bk,
|
|
18880
|
+
UpxSwitch: Fk,
|
|
18881
|
+
UpxTab: Uk,
|
|
18882
18882
|
UpxTextField: Ur,
|
|
18883
18883
|
UpxTitleBar: zr,
|
|
18884
|
-
UpxToast:
|
|
18885
|
-
UpxTooltip:
|
|
18886
|
-
UpxWindow:
|
|
18887
|
-
},
|
|
18884
|
+
UpxToast: Xk,
|
|
18885
|
+
UpxTooltip: t_,
|
|
18886
|
+
UpxWindow: l_
|
|
18887
|
+
}, b_ = {
|
|
18888
18888
|
install(e, n) {
|
|
18889
|
-
n != null && n.vuetify ? e.use(n.vuetify) : e.use(Ku), Object.entries(
|
|
18889
|
+
n != null && n.vuetify ? e.use(n.vuetify) : e.use(Ku), Object.entries(o_).forEach(([t, a]) => {
|
|
18890
18890
|
e.component(t, a);
|
|
18891
18891
|
});
|
|
18892
18892
|
}
|
|
18893
18893
|
};
|
|
18894
|
-
function
|
|
18894
|
+
function i_(e) {
|
|
18895
18895
|
if (!e) return "";
|
|
18896
18896
|
const t = e.replace(/\D/g, "").slice(0, 11);
|
|
18897
18897
|
return t.length <= 3 ? t : t.length <= 6 ? `${t.slice(0, 3)}.${t.slice(3)}` : t.length <= 9 ? `${t.slice(0, 3)}.${t.slice(3, 6)}.${t.slice(6)}` : `${t.slice(0, 3)}.${t.slice(3, 6)}.${t.slice(6, 9)}-${t.slice(9)}`;
|
|
18898
18898
|
}
|
|
18899
|
-
function
|
|
18899
|
+
function s_(e) {
|
|
18900
18900
|
if (!e) return "";
|
|
18901
18901
|
const t = e.replace(/\D/g, "").slice(0, 14);
|
|
18902
18902
|
return t.length <= 2 ? t : t.length <= 5 ? `${t.slice(0, 2)}.${t.slice(2)}` : t.length <= 8 ? `${t.slice(0, 2)}.${t.slice(2, 5)}.${t.slice(5)}` : t.length <= 12 ? `${t.slice(0, 2)}.${t.slice(2, 5)}.${t.slice(5, 8)}/${t.slice(8)}` : `${t.slice(0, 2)}.${t.slice(2, 5)}.${t.slice(5, 8)}/${t.slice(8, 12)}-${t.slice(12)}`;
|
|
18903
18903
|
}
|
|
18904
|
-
function
|
|
18904
|
+
function r_(e, n) {
|
|
18905
18905
|
if (e == null || e === "") return "";
|
|
18906
18906
|
const t = typeof e == "string" ? parseFloat(e) : e;
|
|
18907
18907
|
if (isNaN(t)) return "";
|
|
@@ -18911,26 +18911,26 @@ function s_(e, n) {
|
|
|
18911
18911
|
}).format(t);
|
|
18912
18912
|
return t < 0 && n && (n.style.color = "#C33"), a;
|
|
18913
18913
|
}
|
|
18914
|
-
function
|
|
18914
|
+
function u_(e) {
|
|
18915
18915
|
if (!e) return "";
|
|
18916
18916
|
const t = e.replace(/\D/g, "").slice(0, 8);
|
|
18917
18917
|
return t.length <= 2 ? t : t.length <= 4 ? `${t.slice(0, 2)}/${t.slice(2)}` : t.length <= 6 ? `${t.slice(0, 2)}/${t.slice(2, 4)}/${t.slice(4)}` : `${t.slice(0, 2)}/${t.slice(2, 4)}/${t.slice(4, 8)}`;
|
|
18918
18918
|
}
|
|
18919
18919
|
const Nt = {
|
|
18920
|
-
cpf:
|
|
18921
|
-
cnpj:
|
|
18922
|
-
currency:
|
|
18923
|
-
date:
|
|
18920
|
+
cpf: i_,
|
|
18921
|
+
cnpj: s_,
|
|
18922
|
+
currency: r_,
|
|
18923
|
+
date: u_
|
|
18924
18924
|
};
|
|
18925
|
-
function
|
|
18925
|
+
function x_(e, n, t) {
|
|
18926
18926
|
return e ? e.length <= t ? e : e.slice(n, t) + "..." : "";
|
|
18927
18927
|
}
|
|
18928
18928
|
const Sn = W([]);
|
|
18929
|
-
let
|
|
18930
|
-
function
|
|
18929
|
+
let c_ = 0;
|
|
18930
|
+
function k_(e) {
|
|
18931
18931
|
function n(o) {
|
|
18932
18932
|
const i = {
|
|
18933
|
-
id: o.id ?? ++
|
|
18933
|
+
id: o.id ?? ++c_,
|
|
18934
18934
|
title: o.title ?? "",
|
|
18935
18935
|
content: o.content,
|
|
18936
18936
|
type: o.type ?? "neutral",
|
|
@@ -18967,7 +18967,7 @@ function x_(e) {
|
|
|
18967
18967
|
clearToasts: a
|
|
18968
18968
|
};
|
|
18969
18969
|
}
|
|
18970
|
-
const
|
|
18970
|
+
const d_ = {
|
|
18971
18971
|
mounted(e, n) {
|
|
18972
18972
|
const t = n.value, a = e.textContent || "";
|
|
18973
18973
|
if (!t || !a) return;
|
|
@@ -19009,11 +19009,11 @@ const c_ = {
|
|
|
19009
19009
|
e.textContent = l;
|
|
19010
19010
|
}
|
|
19011
19011
|
};
|
|
19012
|
-
function
|
|
19013
|
-
e.directive("text-format",
|
|
19012
|
+
function __(e) {
|
|
19013
|
+
e.directive("text-format", d_);
|
|
19014
19014
|
}
|
|
19015
19015
|
export {
|
|
19016
|
-
|
|
19016
|
+
b_ as UplexisUI,
|
|
19017
19017
|
lc as UpxAccordion,
|
|
19018
19018
|
bs as UpxBadge,
|
|
19019
19019
|
fl as UpxButton,
|
|
@@ -19037,36 +19037,36 @@ export {
|
|
|
19037
19037
|
Nb as UpxPagination,
|
|
19038
19038
|
qb as UpxProduct,
|
|
19039
19039
|
lx as UpxRadio,
|
|
19040
|
-
|
|
19041
|
-
|
|
19042
|
-
|
|
19043
|
-
|
|
19044
|
-
|
|
19040
|
+
ck as UpxSelect,
|
|
19041
|
+
bk as UpxSideBar,
|
|
19042
|
+
Bk as UpxStepper,
|
|
19043
|
+
Fk as UpxSwitch,
|
|
19044
|
+
Uk as UpxTab,
|
|
19045
19045
|
Ur as UpxTextField,
|
|
19046
19046
|
zr as UpxTitleBar,
|
|
19047
|
-
|
|
19048
|
-
|
|
19049
|
-
|
|
19047
|
+
Xk as UpxToast,
|
|
19048
|
+
t_ as UpxTooltip,
|
|
19049
|
+
l_ as UpxWindow,
|
|
19050
19050
|
Xt as config,
|
|
19051
19051
|
Xn as currentEnvironment,
|
|
19052
|
-
|
|
19053
|
-
|
|
19054
|
-
|
|
19055
|
-
|
|
19056
|
-
|
|
19052
|
+
b_ as default,
|
|
19053
|
+
s_ as formatCNPJ,
|
|
19054
|
+
i_ as formatCPF,
|
|
19055
|
+
r_ as formatCurrency,
|
|
19056
|
+
u_ as formatDate,
|
|
19057
19057
|
Nt as formatters,
|
|
19058
|
-
|
|
19059
|
-
|
|
19060
|
-
|
|
19061
|
-
|
|
19062
|
-
|
|
19063
|
-
|
|
19064
|
-
|
|
19058
|
+
__ as installDirectives,
|
|
19059
|
+
m_ as isDevelopment,
|
|
19060
|
+
y_ as isProduction,
|
|
19061
|
+
g_ as isQA,
|
|
19062
|
+
h_ as isStaging,
|
|
19063
|
+
p_ as logger,
|
|
19064
|
+
x_ as truncateText,
|
|
19065
19065
|
ye as uplexisColors,
|
|
19066
19066
|
Gu as uplexisDark,
|
|
19067
19067
|
ju as uplexisLight,
|
|
19068
|
-
|
|
19069
|
-
|
|
19068
|
+
k_ as useToast,
|
|
19069
|
+
d_ as vTextFormat,
|
|
19070
19070
|
Ku as vuetify
|
|
19071
19071
|
};
|
|
19072
19072
|
//# sourceMappingURL=uplexis-ui.js.map
|