@cobre-npm/ds-v3 0.146.1 → 0.147.1
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.
|
@@ -307,7 +307,7 @@ const Op = ["title", "data-bs-original-title"], Mp = /* @__PURE__ */ de({
|
|
|
307
307
|
function jp(t, e, a, n, o, r) {
|
|
308
308
|
return t.isLoading && t.theme.includes("icon") ? (f(), b("span", Fp)) : (f(), b("button", {
|
|
309
309
|
key: 1,
|
|
310
|
-
class: N(["co-btn-v3", [`co-btn-v3--${t.theme}`, t.color !== "default" && `co-btn-v3--color-${t.color}`, t.theme.includes("icon") ? `co-btn-v3--icon-${t.size}` : `co-btn-v3--${t.size}`, t.isInline
|
|
310
|
+
class: N(["co-btn-v3", [`co-btn-v3--${t.theme}`, t.color !== "default" && `co-btn-v3--color-${t.color}`, t.theme.includes("icon") ? `co-btn-v3--icon-${t.size}` : `co-btn-v3--${t.size}`, t.isInline && "co-btn-v3--inline"]]),
|
|
311
311
|
type: "button",
|
|
312
312
|
disabled: t.disabled || t.isLoading
|
|
313
313
|
}, [
|
|
@@ -2740,14 +2740,15 @@ const O8 = /* @__PURE__ */ Oe(Eh, [["render", Mh], ["__scopeId", "data-v-81d6268
|
|
|
2740
2740
|
hasCloseButton: { type: Boolean, default: !1 },
|
|
2741
2741
|
filterLabelColor: {},
|
|
2742
2742
|
ellipsisSize: {},
|
|
2743
|
-
squareBottomCorners: { type: Boolean, default: !1 }
|
|
2743
|
+
squareBottomCorners: { type: Boolean, default: !1 },
|
|
2744
|
+
truncate: { type: Boolean, default: !1 }
|
|
2744
2745
|
},
|
|
2745
2746
|
emits: ["close"],
|
|
2746
2747
|
setup(t) {
|
|
2747
2748
|
const e = ft();
|
|
2748
2749
|
return (a, n) => (f(), b("div", {
|
|
2749
2750
|
class: N(["co-badge d-flex align-items-center", [
|
|
2750
|
-
{ "ps-0": a.hasCloseButton, "co-badge--square-bottom": a.squareBottomCorners },
|
|
2751
|
+
{ "ps-0": a.hasCloseButton, "co-badge--square-bottom": a.squareBottomCorners, "co-badge--truncate": a.truncate },
|
|
2751
2752
|
a.isSelected ? `co-badge--${a.type}--selected` : `co-badge--${a.type}`
|
|
2752
2753
|
]])
|
|
2753
2754
|
}, [
|
|
@@ -2776,7 +2777,7 @@ const O8 = /* @__PURE__ */ Oe(Eh, [["render", Mh], ["__scopeId", "data-v-81d6268
|
|
|
2776
2777
|
ee(a.$slots, "content", {}, void 0, !0)
|
|
2777
2778
|
])) : (f(), b("p", {
|
|
2778
2779
|
key: 4,
|
|
2779
|
-
class: "mb-0 text-truncate",
|
|
2780
|
+
class: "mb-0 text-truncate co-badge__text",
|
|
2780
2781
|
style: Ne({ maxWidth: `${a.ellipsisSize}px` })
|
|
2781
2782
|
}, q(a.text), 5)),
|
|
2782
2783
|
P(e).end ? (f(), b("div", $g, [
|
|
@@ -2784,7 +2785,7 @@ const O8 = /* @__PURE__ */ Oe(Eh, [["render", Mh], ["__scopeId", "data-v-81d6268
|
|
|
2784
2785
|
])) : E("", !0)
|
|
2785
2786
|
], 2));
|
|
2786
2787
|
}
|
|
2787
|
-
}), Fi = /* @__PURE__ */ Oe(Eg, [["__scopeId", "data-v-
|
|
2788
|
+
}), Fi = /* @__PURE__ */ Oe(Eg, [["__scopeId", "data-v-238effcf"]]), xg = { class: "d-flex align-items-center" }, Pg = {
|
|
2788
2789
|
key: 0,
|
|
2789
2790
|
class: "co-me-5"
|
|
2790
2791
|
}, Og = {
|
|
@@ -15844,7 +15845,8 @@ const Lk = {
|
|
|
15844
15845
|
}, cC = /* @__PURE__ */ de({
|
|
15845
15846
|
__name: "CobreAccountOptionSelect",
|
|
15846
15847
|
props: {
|
|
15847
|
-
account: {}
|
|
15848
|
+
account: {},
|
|
15849
|
+
truncateBadge: { type: Boolean, default: !1 }
|
|
15848
15850
|
},
|
|
15849
15851
|
setup(t) {
|
|
15850
15852
|
return (e, a) => {
|
|
@@ -15869,14 +15871,15 @@ const Lk = {
|
|
|
15869
15871
|
]),
|
|
15870
15872
|
ce(Fi, {
|
|
15871
15873
|
text: e.account.badgeText,
|
|
15872
|
-
type: "outline"
|
|
15873
|
-
|
|
15874
|
+
type: "outline",
|
|
15875
|
+
truncate: e.truncateBadge
|
|
15876
|
+
}, null, 8, ["text", "truncate"])
|
|
15874
15877
|
], 8, oC)), [
|
|
15875
15878
|
[n]
|
|
15876
15879
|
]);
|
|
15877
15880
|
};
|
|
15878
15881
|
}
|
|
15879
|
-
}), Id = /* @__PURE__ */ Oe(cC, [["__scopeId", "data-v-
|
|
15882
|
+
}), Id = /* @__PURE__ */ Oe(cC, [["__scopeId", "data-v-aece3c1b"]]), dC = { class: "co-filter dropdown" }, fC = {
|
|
15880
15883
|
class: "co-filter",
|
|
15881
15884
|
"data-bs-toggle": "dropdown",
|
|
15882
15885
|
style: { width: "fit-content" },
|
|
@@ -24016,7 +24019,8 @@ const Kx = { class: "co-filter dropdown cobre-dropdown" }, Gx = {
|
|
|
24016
24019
|
}, [
|
|
24017
24020
|
o.selectedAccount ? (f(), ge(Id, {
|
|
24018
24021
|
key: 0,
|
|
24019
|
-
account: o.selectedAccount
|
|
24022
|
+
account: o.selectedAccount,
|
|
24023
|
+
truncateBadge: ""
|
|
24020
24024
|
}, null, 8, ["account"])) : (f(), b("div", GP, [
|
|
24021
24025
|
o.placeholderIcon ? (f(), b("i", {
|
|
24022
24026
|
key: 0,
|
|
@@ -24031,7 +24035,7 @@ const Kx = { class: "co-filter dropdown cobre-dropdown" }, Gx = {
|
|
|
24031
24035
|
], 10, KP)
|
|
24032
24036
|
]));
|
|
24033
24037
|
}
|
|
24034
|
-
}), KL = /* @__PURE__ */ Oe(JP, [["__scopeId", "data-v-
|
|
24038
|
+
}), KL = /* @__PURE__ */ Oe(JP, [["__scopeId", "data-v-f9741dcd"]]), eO = { style: { "min-height": "500px" } }, tO = { class: "co-bdline--bottom co-pb-16" }, aO = { class: "co-body co-body--lg co-fw-600 mb-0" }, nO = {
|
|
24035
24039
|
key: 1,
|
|
24036
24040
|
class: "d-flex align-items-center co-mt-12 gap-2"
|
|
24037
24041
|
}, oO = ["id", "title"], rO = {
|