@up-packages/ui 0.12.5-qa → 0.13.0-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/uplexis-ui.js
CHANGED
|
@@ -17270,7 +17270,7 @@ const Zn = _b(), Qt = {
|
|
|
17270
17270
|
if (!b || !x) return x;
|
|
17271
17271
|
let w = "", S = 0;
|
|
17272
17272
|
for (let _ = 0; _ < b.length && S < x.length; _++)
|
|
17273
|
-
b[_] === "#" ? /\d/.test(x[S]) ? (w += x[S], S++) : (S++, _--) : (w += b[_], x[S] === b[_] && S++);
|
|
17273
|
+
b[_] === "#" ? /\d/.test(x[S]) ? (w += x[S], S++) : (S++, _--) : b[_] === "@" ? /[0-9A-Z]/.test(x[S]) ? (w += x[S].toUpperCase(), S++) : (S++, _--) : (w += b[_], x[S] === b[_] && S++);
|
|
17274
17274
|
return w;
|
|
17275
17275
|
};
|
|
17276
17276
|
Z(
|
|
@@ -17280,7 +17280,7 @@ const Zn = _b(), Qt = {
|
|
|
17280
17280
|
}
|
|
17281
17281
|
), Z(o, (x) => {
|
|
17282
17282
|
if (t.pattern && typeof x == "string") {
|
|
17283
|
-
const b = x.replace(
|
|
17283
|
+
const b = x.replace(/[^0-9A-Z]/gi, "").toUpperCase(), w = c(b, t.pattern);
|
|
17284
17284
|
w !== x && Ce(() => {
|
|
17285
17285
|
o.value = w;
|
|
17286
17286
|
});
|
|
@@ -17375,7 +17375,7 @@ const Zn = _b(), Qt = {
|
|
|
17375
17375
|
} : void 0
|
|
17376
17376
|
]), 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", "hide-details"]));
|
|
17377
17377
|
}
|
|
17378
|
-
}), Wr = /* @__PURE__ */ j(Bx, [["__scopeId", "data-v-
|
|
17378
|
+
}), Wr = /* @__PURE__ */ j(Bx, [["__scopeId", "data-v-421de430"]]), Ax = { class: "upx-risk-criteria__left" }, Dx = { class: "upx-risk-criteria__info" }, Tx = { class: "upx-risk-criteria__title" }, Ex = { class: "upx-risk-criteria__subtitle" }, Fx = { class: "upx-risk-criteria__right" }, Ox = /* @__PURE__ */ te({
|
|
17379
17379
|
__name: "UpxRiskCriteria",
|
|
17380
17380
|
props: {
|
|
17381
17381
|
title: { default: "Critério" },
|
|
@@ -19245,7 +19245,7 @@ function fw(e) {
|
|
|
19245
19245
|
}
|
|
19246
19246
|
function vw(e) {
|
|
19247
19247
|
if (!e) return "";
|
|
19248
|
-
const t = e.replace(
|
|
19248
|
+
const t = e.replace(/[^0-9A-Z]/gi, "").toUpperCase().slice(0, 14);
|
|
19249
19249
|
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)}`;
|
|
19250
19250
|
}
|
|
19251
19251
|
function mw(e, n) {
|