pangea-lib 4.0.393 → 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.cjs.js +2 -2
- package/dist/main.css +2 -2
- package/dist/main.es.js +36 -37
- package/package.json +1 -1
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((
|
|
39768
|
-
|
|
39769
|
-
"
|
|
39770
|
-
"
|
|
39771
|
-
|
|
39772
|
-
|
|
39773
|
-
|
|
39774
|
-
"
|
|
39775
|
-
|
|
39776
|
-
|
|
39777
|
-
"
|
|
39778
|
-
|
|
39779
|
-
|
|
39780
|
-
"
|
|
39781
|
-
|
|
39782
|
-
|
|
39783
|
-
|
|
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")
|
|
39815
|
-
return (
|
|
39816
|
-
class: K1(["button", { "button--disabled":
|
|
39817
|
-
type:
|
|
39818
|
-
disabled:
|
|
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
|
-
|
|
39820
|
+
b.icon ? (X(), T1(L4, {
|
|
39822
39821
|
key: 0,
|
|
39823
|
-
icon:
|
|
39822
|
+
icon: b.icon
|
|
39824
39823
|
}, null, 8, ["icon"])) : d1("", !0),
|
|
39825
|
-
|
|
39824
|
+
b.text ? (X(), T1(f4, {
|
|
39826
39825
|
key: 1,
|
|
39827
|
-
text:
|
|
39826
|
+
text: b.text
|
|
39828
39827
|
}, null, 8, ["text"])) : d1("", !0),
|
|
39829
|
-
!
|
|
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:
|
|
39833
|
+
color: b.color,
|
|
39835
39834
|
colorContrast: n.value === "filled"
|
|
39836
39835
|
}, null, 8, ["color", "colorContrast"]),
|
|
39837
|
-
|
|
39836
|
+
b.numberToDisplay ? (X(), c1("div", {
|
|
39838
39837
|
key: 0,
|
|
39839
39838
|
class: "button__number-to-display",
|
|
39840
|
-
onClick:
|
|
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(
|
|
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-
|
|
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
|
-
"
|
|
112514
|
-
"
|
|
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: "0.
|
|
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-
|
|
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);
|