pangea-lib 4.0.392 → 4.0.394

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/main.es.js CHANGED
@@ -39764,24 +39764,23 @@ const u5 = /* @__PURE__ */ d2(ho2, [["__scopeId", "data-v-70bcac6e"]]), do2 = ["
39764
39764
  numberToDisplay: {}
39765
39765
  },
39766
39766
  setup(e) {
39767
- q3((C) => ({
39768
- e65b83ce: r.value,
39769
- "4ea76490": i.value,
39770
- "250657bd": o.value,
39771
- e236182a: s.value,
39772
- b5c238de: f.value,
39773
- b5c238e0: u.value,
39774
- "6bc12664": p.value,
39775
- dac446f2: l.value,
39776
- "12cbcada": d.value,
39777
- "29342ce8": m.value,
39778
- d393b27c: M.value,
39779
- "1557165d": h.value,
39780
- "0a3ca460": k.value,
39781
- "31f81378": y.value,
39782
- "76965d52": g.value,
39783
- "8a29da04": v.value,
39784
- "02e89b9a": b.value
39767
+ q3((b) => ({
39768
+ "2325d4f0": r.value,
39769
+ "09d0c527": i.value,
39770
+ "894c22d8": o.value,
39771
+ "25388ac2": s.value,
39772
+ "3b727a68": f.value,
39773
+ "3b727a67": u.value,
39774
+ "737dd297": p.value,
39775
+ "150c2fde": l.value,
39776
+ b58f093a: d.value,
39777
+ "501a42d5": m.value,
39778
+ "6b552a6a": M.value,
39779
+ d0752c98: h.value,
39780
+ "51d3dce7": k.value,
39781
+ a29dfaca: y.value,
39782
+ c7c5ae2e: g.value,
39783
+ facfc156: v.value
39785
39784
  }));
39786
39785
  const t = e, { form: a, button: c } = _0(), n = s1(() => t.variant || c.variant), r = s1(() => {
39787
39786
  if (t.size === "s")
@@ -39811,44 +39810,44 @@ const u5 = /* @__PURE__ */ d2(ho2, [["__scopeId", "data-v-70bcac6e"]]), do2 = ["
39811
39810
  return "flex-start";
39812
39811
  if (t.align === "right")
39813
39812
  return "flex-end";
39814
- }), d = s1(() => t.color === "first" ? "var(--pga-color-first)" : n.value === "filled" ? `var(--pga-color-${t.color}-contrast)` : `var(--pga-color-${t.color})`), m = s1(() => t.color === "first" ? "none" : n.value === "filled" ? `var(--pga-color-${t.color})` : `var(--pga-color-${t.color}-015)`), p = s1(() => t.color === "first" || n.value === "filled" || n.value === "flat" ? "transparent" : `var(--pga-color-${t.color})`), v = s1(() => t.color === "first" ? "var(--pga-color-first-01)" : n.value === "filled" ? `var(--pga-color-${t.color}-09)` : `var(--pga-color-${t.color}-025)`), y = s1(() => t.color === "first" ? "var(--pga-color-first)" : n.value === "filled" ? `var(--pga-color-${t.color})` : `var(--pga-color-${t.color}-contrast)`), g = s1(() => t.color === "first" ? "none" : n.value === "filled" ? `var(--pga-color-${t.color}-contrast)` : `var(--pga-color-${t.color})`), k = s1(() => t.color === "first" ? "var(--pga-color-first)" : n.value === "flat" ? "transparent" : n.value === "filled" ? `var(--pga-color-${t.color})` : "transparent"), M = s1(() => n.value === "filled" && t.color !== "first" ? `0 1px 4px var(--pga-color-${t.color}-03)` : "none"), b = s1(() => n.value === "filled" && t.color !== "first" ? `0 3px 10px var(--pga-color-${t.color}-04)` : "none");
39815
- return (C, z) => (X(), c1("button", {
39816
- class: K1(["button", { "button--disabled": C.disabled, "button--is-loading": C.isLoading }]),
39817
- type: C.type,
39818
- disabled: C.disabled || C.isLoading
39813
+ }), d = s1(() => t.color === "first" ? "var(--pga-color-first)" : n.value === "filled" ? `var(--pga-color-${t.color}-contrast)` : `var(--pga-color-${t.color})`), m = s1(() => t.color === "first" ? "none" : n.value === "filled" ? `var(--pga-color-${t.color})` : `var(--pga-color-${t.color}-015)`), p = s1(() => t.color === "first" || n.value === "filled" || n.value === "flat" ? "transparent" : `var(--pga-color-${t.color})`), v = s1(() => t.color === "first" ? "var(--pga-color-first-01)" : n.value === "filled" ? `var(--pga-color-${t.color}-09)` : `var(--pga-color-${t.color}-025)`), y = s1(() => t.color === "first" ? "var(--pga-color-first)" : n.value === "filled" ? `var(--pga-color-${t.color})` : `var(--pga-color-${t.color}-contrast)`), g = s1(() => t.color === "first" ? "none" : n.value === "filled" ? `var(--pga-color-${t.color}-contrast)` : `var(--pga-color-${t.color})`), k = s1(() => t.color === "first" ? "var(--pga-color-first)" : n.value === "flat" ? "transparent" : n.value === "filled" ? `var(--pga-color-${t.color})` : "transparent"), M = s1(() => n.value === "filled" && t.color !== "first" ? `0 1px 4px var(--pga-color-${t.color}-03)` : "none");
39814
+ return (b, C) => (X(), c1("button", {
39815
+ class: K1(["button", { "button--disabled": b.disabled, "button--is-loading": b.isLoading }]),
39816
+ type: b.type,
39817
+ disabled: b.disabled || b.isLoading
39819
39818
  }, [
39820
39819
  L1("div", po2, [
39821
- C.icon ? (X(), T1(L4, {
39820
+ b.icon ? (X(), T1(L4, {
39822
39821
  key: 0,
39823
- icon: C.icon
39822
+ icon: b.icon
39824
39823
  }, null, 8, ["icon"])) : d1("", !0),
39825
- C.text ? (X(), T1(f4, {
39824
+ b.text ? (X(), T1(f4, {
39826
39825
  key: 1,
39827
- text: C.text
39826
+ text: b.text
39828
39827
  }, null, 8, ["text"])) : d1("", !0),
39829
- !C.icon && !C.text ? N1(C.$slots, "default", { key: 2 }, void 0, !0) : d1("", !0)
39828
+ !b.icon && !b.text ? N1(b.$slots, "default", { key: 2 }, void 0, !0) : d1("", !0)
39830
39829
  ]),
39831
39830
  q1(u5, {
39832
39831
  class: "button__spinner",
39833
39832
  size: "s",
39834
- color: C.color,
39833
+ color: b.color,
39835
39834
  colorContrast: n.value === "filled"
39836
39835
  }, null, 8, ["color", "colorContrast"]),
39837
- C.numberToDisplay ? (X(), c1("div", {
39836
+ b.numberToDisplay ? (X(), c1("div", {
39838
39837
  key: 0,
39839
39838
  class: "button__number-to-display",
39840
- onClick: z[0] || (z[0] = fe(() => {
39839
+ onClick: C[0] || (C[0] = fe(() => {
39841
39840
  }, ["stop"]))
39842
39841
  }, [
39843
39842
  L1("span", {
39844
39843
  class: "number-to-display__number",
39845
- textContent: c2(C.numberToDisplay)
39844
+ textContent: c2(b.numberToDisplay)
39846
39845
  }, null, 8, mo2)
39847
39846
  ])) : d1("", !0)
39848
39847
  ], 10, do2));
39849
39848
  }
39850
39849
  });
39851
- const Z2 = /* @__PURE__ */ d2(vo2, [["__scopeId", "data-v-351c3b67"]]), cK = /* @__PURE__ */ B1({
39850
+ const Z2 = /* @__PURE__ */ d2(vo2, [["__scopeId", "data-v-5745755a"]]), cK = /* @__PURE__ */ B1({
39852
39851
  __name: "PgaDisplayButtons",
39853
39852
  props: {
39854
39853
  modelValue: { type: Boolean, required: !0 },
@@ -112510,8 +112509,8 @@ const Gk3 = /* @__PURE__ */ d2(Yk3, [["__scopeId", "data-v-1b277279"]]), Zk3 = {
112510
112509
  emits: ["update:modelValue"],
112511
112510
  setup(e) {
112512
112511
  q3((n) => ({
112513
- "57cc717c": K(a).input.borderColor,
112514
- "70225eda": K(a).input.borderRadius
112512
+ "36c18822": K(a).input.borderColor,
112513
+ "8b81a89a": K(a).input.borderRadius
112515
112514
  }));
112516
112515
  const t = K2(e, "modelValue"), { form: a } = _0();
112517
112516
  function c(n) {
@@ -112543,7 +112542,7 @@ const Gk3 = /* @__PURE__ */ d2(Yk3, [["__scopeId", "data-v-1b277279"]]), Zk3 = {
112543
112542
  key: 0,
112544
112543
  icon: "check",
112545
112544
  color: "#ffffff",
112546
- size: "1rem"
112545
+ size: "0.85rem"
112547
112546
  })) : d1("", !0)
112548
112547
  ], 14, Xk3))), 128))
112549
112548
  ])
@@ -112552,7 +112551,7 @@ const Gk3 = /* @__PURE__ */ d2(Yk3, [["__scopeId", "data-v-1b277279"]]), Zk3 = {
112552
112551
  }, 8, ["label", "withRequiredLabel", "withOptionalLabel", "withLabelSpace", "info", "description", "errors", "grow"]));
112553
112552
  }
112554
112553
  });
112555
- const Qk3 = /* @__PURE__ */ d2(Kk3, [["__scopeId", "data-v-506330f4"]]);
112554
+ const Qk3 = /* @__PURE__ */ d2(Kk3, [["__scopeId", "data-v-41b027d7"]]);
112556
112555
  function H2(e) {
112557
112556
  const t = Object.prototype.toString.call(e);
112558
112557
  return e instanceof Date || typeof e == "object" && t === "[object Date]" ? new e.constructor(+e) : typeof e == "number" || t === "[object Number]" || typeof e == "string" || t === "[object String]" ? new Date(e) : /* @__PURE__ */ new Date(NaN);
@@ -142786,7 +142785,7 @@ const CE3 = /* @__PURE__ */ d2(zE3, [["__scopeId", "data-v-5a0752bd"]]), _E3 = {
142786
142785
  }, 8, ["label", "withRequiredLabel", "withOptionalLabel", "withLabelSpace", "info", "description", "fitContent", "grow"]));
142787
142786
  }
142788
142787
  });
142789
- const AE3 = /* @__PURE__ */ d2(SE3, [["__scopeId", "data-v-ac0bbc84"]]), NE3 = { class: "switch-options" }, TE3 = ["onClick"], EE3 = /* @__PURE__ */ B1({
142788
+ const AE3 = /* @__PURE__ */ d2(SE3, [["__scopeId", "data-v-320622fc"]]), NE3 = { class: "switch-options" }, TE3 = ["onClick"], EE3 = /* @__PURE__ */ B1({
142790
142789
  __name: "PgaSwitchOptions",
142791
142790
  props: /* @__PURE__ */ P2({
142792
142791
  items: {},
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "pangea-lib",
3
3
  "description": "",
4
- "version": "4.0.392",
4
+ "version": "4.0.394",
5
5
  "author": "Gianfranco Raselli",
6
6
  "license": "ISC",
7
7
  "homepage": "https://github.com/GianfrancoRaselli/pangea-lib#readme",