@up-packages/ui 0.12.5-qa → 0.14.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.
@@ -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(/\D/g, ""), w = c(b, t.pattern);
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-7975e9e4"]]), 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({
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" },
@@ -18841,7 +18841,8 @@ const $k = z({
18841
18841
  disabled: { type: Boolean, default: !1 },
18842
18842
  bordered: { type: Boolean, default: !0 },
18843
18843
  title: { default: "Title bar" },
18844
- headingType: { default: "h1" }
18844
+ headingType: { default: "h2" },
18845
+ color: { default: "#333333" }
18845
18846
  },
18846
18847
  emits: ["close"],
18847
18848
  setup(e, { emit: n }) {
@@ -18865,12 +18866,15 @@ const $k = z({
18865
18866
  ]),
18866
18867
  _: 1
18867
18868
  })) : ge("", !0),
18868
- (C(), ie(Pl(e.headingType), { class: "up-title-bar__title" }, {
18869
+ (C(), ie(Pl(e.headingType), {
18870
+ class: "up-title-bar__title",
18871
+ style: me(e.color ? { color: e.color } : {})
18872
+ }, {
18869
18873
  default: O(() => [
18870
18874
  ke(ee(e.title), 1)
18871
18875
  ]),
18872
18876
  _: 1
18873
- }))
18877
+ }, 8, ["style"]))
18874
18878
  ]),
18875
18879
  e.closeable ? (C(), F("button", {
18876
18880
  key: 0,
@@ -18887,7 +18891,7 @@ const $k = z({
18887
18891
  ], 8, qk)) : ge("", !0)
18888
18892
  ], 2));
18889
18893
  }
18890
- }), jr = /* @__PURE__ */ j(Yk, [["__scopeId", "data-v-03b186f2"]]), Xk = { class: "d-flex align-center" }, Qk = { class: "flex-grow-1" }, Jk = {
18894
+ }), jr = /* @__PURE__ */ j(Yk, [["__scopeId", "data-v-ab64079d"]]), Xk = { class: "d-flex align-center" }, Qk = { class: "flex-grow-1" }, Jk = {
18891
18895
  key: 0,
18892
18896
  class: "up-toast__title"
18893
18897
  }, Zk = { class: "up-toast__message" }, ew = {
@@ -19245,7 +19249,7 @@ function fw(e) {
19245
19249
  }
19246
19250
  function vw(e) {
19247
19251
  if (!e) return "";
19248
- const t = e.replace(/\D/g, "").slice(0, 14);
19252
+ const t = e.replace(/[^0-9A-Z]/gi, "").toUpperCase().slice(0, 14);
19249
19253
  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
19254
  }
19251
19255
  function mw(e, n) {