@selfeesas/shared-components 0.3.1 → 0.3.2
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
.row[data-v-c5e3fee0]{width:100%;gap:8px}.smooth-rotate[data-v-
|
|
1
|
+
.row[data-v-c5e3fee0]{width:100%;gap:8px}.smooth-rotate[data-v-0094cb2e]{transition:transform .3s ease}.logo[data-v-67697ca7]{width:260px;height:auto}label[data-v-40c069f1]{width:50%}
|
|
@@ -16,6 +16,10 @@ declare const __VLS_component: DefineComponent<SelfeeHeaderProps, {}, {}, {}, {}
|
|
|
16
16
|
|
|
17
17
|
declare const __VLS_component_2: DefineComponent<LayoutProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<LayoutProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
|
|
19
|
+
declare type __VLS_Props = CheckboxFilterProps & {
|
|
20
|
+
dataCy?: string;
|
|
21
|
+
};
|
|
22
|
+
|
|
19
23
|
declare function __VLS_template(): {
|
|
20
24
|
attrs: Partial<{}>;
|
|
21
25
|
slots: {
|
|
@@ -111,12 +115,13 @@ export declare interface BreadcrumbOptions {
|
|
|
111
115
|
|
|
112
116
|
export declare const Breadcrumbs: DefineComponent<CustomBreadcrumbsProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CustomBreadcrumbsProps> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
113
117
|
|
|
114
|
-
export declare const CheckboxFilter: DefineComponent<
|
|
118
|
+
export declare const CheckboxFilter: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
115
119
|
"update:modelValue": (value: CheckboxOption[]) => any;
|
|
116
|
-
}, string, PublicProps, Readonly<
|
|
120
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
117
121
|
"onUpdate:modelValue"?: ((value: CheckboxOption[]) => any) | undefined;
|
|
118
122
|
}>, {
|
|
119
123
|
label: string;
|
|
124
|
+
dataCy: string;
|
|
120
125
|
modelValue: CheckboxOption[];
|
|
121
126
|
scrollAreaHeight: string;
|
|
122
127
|
scrollAreaWidth: string;
|
|
@@ -5101,32 +5101,33 @@ const jo = se({
|
|
|
5101
5101
|
label: { default: "Sélectionner les options" },
|
|
5102
5102
|
modelValue: { default: () => [] },
|
|
5103
5103
|
scrollAreaHeight: { default: "200px" },
|
|
5104
|
-
scrollAreaWidth: { default: "250px" }
|
|
5104
|
+
scrollAreaWidth: { default: "250px" },
|
|
5105
|
+
dataCy: { default: "checkbox-filter" }
|
|
5105
5106
|
},
|
|
5106
5107
|
emits: ["update:modelValue"],
|
|
5107
5108
|
setup(e, { emit: t }) {
|
|
5108
5109
|
const n = e, a = t, l = O(!1), o = O(n.modelValue || []), i = d(() => ({
|
|
5109
5110
|
height: n.scrollAreaHeight,
|
|
5110
5111
|
width: n.scrollAreaWidth
|
|
5111
|
-
}));
|
|
5112
|
-
return ee(o, (
|
|
5113
|
-
a("update:modelValue",
|
|
5112
|
+
})), r = d(() => n.dataCy || "checkbox-filter");
|
|
5113
|
+
return ee(o, (s) => {
|
|
5114
|
+
a("update:modelValue", s);
|
|
5114
5115
|
}), ee(
|
|
5115
5116
|
() => n.modelValue,
|
|
5116
|
-
(
|
|
5117
|
-
|
|
5117
|
+
(s) => {
|
|
5118
|
+
s && (o.value = s);
|
|
5118
5119
|
}
|
|
5119
|
-
), (
|
|
5120
|
+
), (s, f) => (Oe(), Yt("div", au, [
|
|
5120
5121
|
he(jo, on({
|
|
5121
5122
|
outlined: "",
|
|
5122
5123
|
dense: "",
|
|
5123
5124
|
label: n.label,
|
|
5124
|
-
class: "full-width cursor-pointer",
|
|
5125
|
-
"data-cy":
|
|
5125
|
+
class: ["full-width", "cursor-pointer"],
|
|
5126
|
+
"data-cy": r.value,
|
|
5126
5127
|
"model-value": null,
|
|
5127
5128
|
options: [],
|
|
5128
5129
|
"hide-dropdown-icon": ""
|
|
5129
|
-
},
|
|
5130
|
+
}, s.$attrs), {
|
|
5130
5131
|
append: be(() => [
|
|
5131
5132
|
he(Be, {
|
|
5132
5133
|
name: "arrow_drop_down",
|
|
@@ -5136,7 +5137,7 @@ const jo = se({
|
|
|
5136
5137
|
default: be(() => [
|
|
5137
5138
|
he(Pn, {
|
|
5138
5139
|
modelValue: l.value,
|
|
5139
|
-
"onUpdate:modelValue":
|
|
5140
|
+
"onUpdate:modelValue": f[1] || (f[1] = (u) => l.value = u),
|
|
5140
5141
|
anchor: "bottom left",
|
|
5141
5142
|
self: "top left",
|
|
5142
5143
|
offset: [0, 8],
|
|
@@ -5150,16 +5151,16 @@ const jo = se({
|
|
|
5150
5151
|
style: lr(i.value)
|
|
5151
5152
|
}, {
|
|
5152
5153
|
default: be(() => [
|
|
5153
|
-
(Oe(!0), Yt(Na, null, Qa(n.options, (
|
|
5154
|
-
key:
|
|
5154
|
+
(Oe(!0), Yt(Na, null, Qa(n.options, (u) => (Oe(), mt(Nr, {
|
|
5155
|
+
key: u.value,
|
|
5155
5156
|
modelValue: o.value,
|
|
5156
|
-
"onUpdate:modelValue":
|
|
5157
|
-
val:
|
|
5158
|
-
label:
|
|
5159
|
-
disable:
|
|
5157
|
+
"onUpdate:modelValue": f[0] || (f[0] = (g) => o.value = g),
|
|
5158
|
+
val: u,
|
|
5159
|
+
label: u.label,
|
|
5160
|
+
disable: u.disabled,
|
|
5160
5161
|
color: "primary",
|
|
5161
5162
|
class: "q-mb-sm q-ml-sm q-mr-sm",
|
|
5162
|
-
"data-cy":
|
|
5163
|
+
"data-cy": `${r.value}-option-${u.label}`
|
|
5163
5164
|
}, null, 8, ["modelValue", "val", "label", "disable", "data-cy"]))), 128))
|
|
5164
5165
|
]),
|
|
5165
5166
|
_: 1
|
|
@@ -5172,10 +5173,10 @@ const jo = se({
|
|
|
5172
5173
|
}, 8, ["modelValue"])
|
|
5173
5174
|
]),
|
|
5174
5175
|
_: 1
|
|
5175
|
-
}, 16, ["label"])
|
|
5176
|
+
}, 16, ["label", "data-cy"])
|
|
5176
5177
|
]));
|
|
5177
5178
|
}
|
|
5178
|
-
}), es = /* @__PURE__ */ Rn(ou, [["__scopeId", "data-v-
|
|
5179
|
+
}), es = /* @__PURE__ */ Rn(ou, [["__scopeId", "data-v-0094cb2e"]]), ts = /* @__PURE__ */ Je({
|
|
5179
5180
|
__name: "SelectSearch",
|
|
5180
5181
|
props: {
|
|
5181
5182
|
options: { default: () => [] },
|
|
@@ -8065,7 +8066,7 @@ const Ku = { class: "columns justify-end" }, Uu = { class: "row items-center jus
|
|
|
8065
8066
|
requiredErrorMessage: { default: "Field is required" },
|
|
8066
8067
|
disabled: { type: Boolean, default: !1 },
|
|
8067
8068
|
outlined: { type: Boolean, default: !1 },
|
|
8068
|
-
placeholder: { default:
|
|
8069
|
+
placeholder: { default: "jj/mm/aaaa" },
|
|
8069
8070
|
closeLabel: { default: "Close" }
|
|
8070
8071
|
},
|
|
8071
8072
|
emits: ["update:date"],
|
|
@@ -8139,7 +8140,7 @@ const Ku = { class: "columns justify-end" }, Uu = { class: "row items-center jus
|
|
|
8139
8140
|
}, 16, ["model-value", "label", "rules", "disable", "outlined", "placeholder"])
|
|
8140
8141
|
]));
|
|
8141
8142
|
}
|
|
8142
|
-
}), is = /* @__PURE__ */ Rn(Xu, [["__scopeId", "data-v-
|
|
8143
|
+
}), is = /* @__PURE__ */ Rn(Xu, [["__scopeId", "data-v-40c069f1"]]);
|
|
8143
8144
|
export {
|
|
8144
8145
|
Ju as Breadcrumbs,
|
|
8145
8146
|
es as CheckboxFilter,
|
package/package.json
CHANGED