@cobre-npm/ds-v3 0.154.0 → 0.155.0
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.
|
@@ -26930,53 +26930,53 @@ const tA = { class: "co-filter dropdown cobre-dropdown" }, aA = { class: "dropdo
|
|
|
26930
26930
|
options: {},
|
|
26931
26931
|
sections: {},
|
|
26932
26932
|
idPrefix: {},
|
|
26933
|
-
disabled: { type: Boolean }
|
|
26933
|
+
disabled: { type: Boolean },
|
|
26934
|
+
columns: {}
|
|
26934
26935
|
},
|
|
26935
26936
|
setup(t) {
|
|
26936
26937
|
const e = t, a = I(() => {
|
|
26937
|
-
var
|
|
26938
|
-
return !!((
|
|
26939
|
-
}), n = I(() => gA(e.options, e.sections ?? [])), o = I(() => a.value && n.value.length === 1)
|
|
26940
|
-
|
|
26941
|
-
|
|
26942
|
-
|
|
26943
|
-
|
|
26944
|
-
}])
|
|
26938
|
+
var i;
|
|
26939
|
+
return !!((i = e.sections) != null && i.length);
|
|
26940
|
+
}), n = I(() => gA(e.options, e.sections ?? [])), o = I(() => a.value && n.value.length === 1), r = I(() => e.columns ?? (a.value ? 2 : 1)), s = I(
|
|
26941
|
+
() => `co-filter-option-groups--${o.value ? "grid" : "columns"}-${r.value}`
|
|
26942
|
+
);
|
|
26943
|
+
return (i, l) => (f(), v("ul", {
|
|
26944
|
+
class: V(["co-filter-option-groups list-unstyled mb-0 p-0 column-gap-4", [{ "co-filter-option-groups--sectioned": a.value }, s.value]])
|
|
26945
26945
|
}, [
|
|
26946
|
-
(f(!0), v(be, null, $e(n.value, (
|
|
26947
|
-
var
|
|
26946
|
+
(f(!0), v(be, null, $e(n.value, (c) => {
|
|
26947
|
+
var u;
|
|
26948
26948
|
return f(), v("li", {
|
|
26949
|
-
key: ((
|
|
26949
|
+
key: ((u = c.section) == null ? void 0 : u.value) ?? "untitled",
|
|
26950
26950
|
class: V(["co-filter-option-groups__group row-gap-1", { "mb-4": a.value, "column-gap-4": o.value }])
|
|
26951
26951
|
}, [
|
|
26952
|
-
|
|
26953
|
-
(f(!0), v(be, null, $e(
|
|
26954
|
-
key:
|
|
26955
|
-
class: "d-flex align-items-center co-py-4"
|
|
26952
|
+
c.section ? (f(), v("p", bA, X(c.section.label), 1)) : P("", !0),
|
|
26953
|
+
(f(!0), v(be, null, $e(c.options, (d) => (f(), v("div", {
|
|
26954
|
+
key: d.value,
|
|
26955
|
+
class: "co-filter-option-groups__option d-flex align-items-center co-py-4"
|
|
26956
26956
|
}, [
|
|
26957
|
-
te(
|
|
26958
|
-
id: `${
|
|
26959
|
-
option:
|
|
26960
|
-
label:
|
|
26961
|
-
description:
|
|
26957
|
+
te(i.$slots, "option", {
|
|
26958
|
+
id: `${i.idPrefix}-${d.value}`,
|
|
26959
|
+
option: d,
|
|
26960
|
+
label: d.logoURL ? "" : d.label,
|
|
26961
|
+
description: d.logoURL ? void 0 : d.subtitle,
|
|
26962
26962
|
sectioned: a.value,
|
|
26963
|
-
disabled:
|
|
26963
|
+
disabled: i.disabled || d.disabled
|
|
26964
26964
|
}, void 0, !0),
|
|
26965
|
-
|
|
26965
|
+
d.logoURL ? (f(), v("label", {
|
|
26966
26966
|
key: 0,
|
|
26967
|
-
for: `${
|
|
26968
|
-
class: V(["co-filter-option-groups__label d-flex align-items-center", { "co-filter-option-groups__label--disabled":
|
|
26967
|
+
for: `${i.idPrefix}-${d.value}`,
|
|
26968
|
+
class: V(["co-filter-option-groups__label d-flex align-items-center", { "co-filter-option-groups__label--disabled": i.disabled || d.disabled }])
|
|
26969
26969
|
}, [
|
|
26970
26970
|
C("img", {
|
|
26971
|
-
src:
|
|
26971
|
+
src: d.logoURL,
|
|
26972
26972
|
width: "16",
|
|
26973
26973
|
height: "16",
|
|
26974
26974
|
alt: "",
|
|
26975
26975
|
class: "co-ms-8"
|
|
26976
26976
|
}, null, 8, _A),
|
|
26977
26977
|
C("span", wA, [
|
|
26978
|
-
C("span", kA, X(
|
|
26979
|
-
|
|
26978
|
+
C("span", kA, X(d.label), 1),
|
|
26979
|
+
d.subtitle ? (f(), v("span", CA, X(d.subtitle), 1)) : P("", !0)
|
|
26980
26980
|
])
|
|
26981
26981
|
], 10, yA)) : P("", !0)
|
|
26982
26982
|
]))), 128))
|
|
@@ -26984,7 +26984,7 @@ const tA = { class: "co-filter dropdown cobre-dropdown" }, aA = { class: "dropdo
|
|
|
26984
26984
|
}), 128))
|
|
26985
26985
|
], 2));
|
|
26986
26986
|
}
|
|
26987
|
-
}), bp = /* @__PURE__ */ xe(TA, [["__scopeId", "data-v-
|
|
26987
|
+
}), bp = /* @__PURE__ */ xe(TA, [["__scopeId", "data-v-6ebafb08"]]), DA = /* @__PURE__ */ ue({
|
|
26988
26988
|
__name: "FilterCheckboxList",
|
|
26989
26989
|
props: {
|
|
26990
26990
|
filter: {}
|
|
@@ -27005,6 +27005,7 @@ const tA = { class: "co-filter dropdown cobre-dropdown" }, aA = { class: "dropdo
|
|
|
27005
27005
|
class: "co-filter-checkbox-list",
|
|
27006
27006
|
options: s.filter.options,
|
|
27007
27007
|
sections: s.filter.sections,
|
|
27008
|
+
columns: s.filter.columns,
|
|
27008
27009
|
disabled: (l = s.filter.props) == null ? void 0 : l.disabled,
|
|
27009
27010
|
idPrefix: `co-filter-checkbox-${s.filter.key}`
|
|
27010
27011
|
}, {
|
|
@@ -27021,10 +27022,10 @@ const tA = { class: "co-filter dropdown cobre-dropdown" }, aA = { class: "dropdo
|
|
|
27021
27022
|
}, null, 8, ["id", "modelValue", "disabled", "label", "description", "size", "indeterminate", "onUpdate:modelValue"])
|
|
27022
27023
|
]),
|
|
27023
27024
|
_: 1
|
|
27024
|
-
}, 8, ["options", "sections", "disabled", "idPrefix"]);
|
|
27025
|
+
}, 8, ["options", "sections", "columns", "disabled", "idPrefix"]);
|
|
27025
27026
|
};
|
|
27026
27027
|
}
|
|
27027
|
-
}), $A = /* @__PURE__ */ xe(DA, [["__scopeId", "data-v-
|
|
27028
|
+
}), $A = /* @__PURE__ */ xe(DA, [["__scopeId", "data-v-6b14d77f"]]), EA = /* @__PURE__ */ ue({
|
|
27028
27029
|
__name: "FilterRadioList",
|
|
27029
27030
|
props: {
|
|
27030
27031
|
filter: {}
|
|
@@ -27040,6 +27041,7 @@ const tA = { class: "co-filter dropdown cobre-dropdown" }, aA = { class: "dropdo
|
|
|
27040
27041
|
class: "co-filter-radio-list",
|
|
27041
27042
|
options: o.filter.options,
|
|
27042
27043
|
sections: o.filter.sections,
|
|
27044
|
+
columns: o.filter.columns,
|
|
27043
27045
|
disabled: (s = o.filter.props) == null ? void 0 : s.disabled,
|
|
27044
27046
|
idPrefix: `co-filter-radio-${o.filter.key}`
|
|
27045
27047
|
}, {
|
|
@@ -27057,10 +27059,10 @@ const tA = { class: "co-filter dropdown cobre-dropdown" }, aA = { class: "dropdo
|
|
|
27057
27059
|
}, null, 8, ["id", "name", "value", "checked", "disabled", "label", "description", "class", "onUpdate:modelValue"])
|
|
27058
27060
|
]),
|
|
27059
27061
|
_: 1
|
|
27060
|
-
}, 8, ["options", "sections", "disabled", "idPrefix"]);
|
|
27062
|
+
}, 8, ["options", "sections", "columns", "disabled", "idPrefix"]);
|
|
27061
27063
|
};
|
|
27062
27064
|
}
|
|
27063
|
-
}), xA = /* @__PURE__ */ xe(EA, [["__scopeId", "data-v-
|
|
27065
|
+
}), xA = /* @__PURE__ */ xe(EA, [["__scopeId", "data-v-7d5d6aae"]]), PA = { class: "co-filter-input" }, OA = /* @__PURE__ */ ue({
|
|
27064
27066
|
__name: "FilterInput",
|
|
27065
27067
|
props: {
|
|
27066
27068
|
filter: {}
|
|
@@ -27405,7 +27407,7 @@ const tA = { class: "co-filter dropdown cobre-dropdown" }, aA = { class: "dropdo
|
|
|
27405
27407
|
])) : P("", !0);
|
|
27406
27408
|
};
|
|
27407
27409
|
}
|
|
27408
|
-
}), o4 = /* @__PURE__ */ xe(e8, [["__scopeId", "data-v-
|
|
27410
|
+
}), o4 = /* @__PURE__ */ xe(e8, [["__scopeId", "data-v-86825e4f"]]), t8 = { class: "co-account-picker position-relative" }, a8 = { class: "co-label co-label--sm co-mb-4 d-block" }, n8 = ["id"], o8 = ["id", "disabled"], r8 = {
|
|
27409
27411
|
key: 1,
|
|
27410
27412
|
class: "d-flex align-items-center gap-2"
|
|
27411
27413
|
}, s8 = { class: "co-text-muted co-text-primary-50 small" }, i8 = {
|