@club-employes/utopia 4.377.0 → 4.379.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.
- package/dist/components/molecules/RadioCard/RadioCard.d.ts +1 -0
- package/dist/components/molecules/RadioCard/index.d.ts +1 -1
- package/dist/components/molecules/RadioCard/types.d.ts +6 -1
- package/dist/components/molecules/index.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +21 -15
- package/dist/utopia.css +1 -1
- package/package.json +1 -1
|
@@ -30,6 +30,7 @@ declare const __VLS_component: DefineComponent<RadioCardProps, {}, {}, {}, {}, C
|
|
|
30
30
|
bigPicto: boolean;
|
|
31
31
|
hideRadio: boolean;
|
|
32
32
|
collapsible: boolean;
|
|
33
|
+
inGroup: boolean;
|
|
33
34
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
|
|
34
35
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
35
36
|
export default _default;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as RadioCard } from './RadioCard';
|
|
2
|
-
export type { RadioCardProps } from './types';
|
|
2
|
+
export type { RadioCardProps, RadioCardGroupProps } from './types';
|
|
@@ -11,7 +11,7 @@ export interface RadioCardProps {
|
|
|
11
11
|
color?: 'primary' | 'subvention' | 'echeque';
|
|
12
12
|
/** Texte affiché dans le composant Icon à côté du pictogramme (même couleur) */
|
|
13
13
|
iconLabel?: string;
|
|
14
|
-
/** Couleur du token pour l
|
|
14
|
+
/** Couleur du token pour l'icône (et le libellé si défini) */
|
|
15
15
|
iconColor?: string;
|
|
16
16
|
iconBgColor?: string;
|
|
17
17
|
iconSize?: IconSize;
|
|
@@ -26,4 +26,9 @@ export interface RadioCardProps {
|
|
|
26
26
|
hideRadio?: boolean;
|
|
27
27
|
collapsible?: boolean;
|
|
28
28
|
size?: 'sm' | 'md' | 'lg';
|
|
29
|
+
/** Mode groupe : retire la bordure/radius individuelle, centre le contenu. À utiliser dans un RadioCardGroup. */
|
|
30
|
+
inGroup?: boolean;
|
|
31
|
+
}
|
|
32
|
+
export interface RadioCardGroupProps {
|
|
33
|
+
color?: 'primary' | 'subvention' | 'echeque';
|
|
29
34
|
}
|
|
@@ -26,7 +26,7 @@ export { Tabs, type TabProps, type TabsProps } from './Tabs';
|
|
|
26
26
|
export { Tooltip } from './Tooltip';
|
|
27
27
|
export { FilterLocation, type FilterLocationProps } from './FilterLocation';
|
|
28
28
|
export { PageHeader, type PageHeaderProps } from './PageHeader';
|
|
29
|
-
export { RadioCard, type RadioCardProps } from './RadioCard';
|
|
29
|
+
export { RadioCard, type RadioCardProps, type RadioCardGroupProps } from './RadioCard';
|
|
30
30
|
export { PriceSummary, type PriceSummaryProps, type PriceSummarySavingInfoTooltip } from './PriceSummary';
|
|
31
31
|
export { GrantUsersSelection, type GrantUsersSelectionProps } from './GrantUsersSelection';
|
|
32
32
|
export { FooterAction, type FooterActionProps } from './FooterAction';
|
package/dist/index.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export { PageHeader } from './components/molecules/PageHeader';
|
|
|
52
52
|
export type { PageHeaderProps } from './components/molecules/PageHeader/types';
|
|
53
53
|
export type { PriceSummaryProps, PriceSummarySavingInfoTooltip } from './components/molecules/PriceSummary/types';
|
|
54
54
|
export type { PriceTagProps } from './components/molecules/PriceTag/types';
|
|
55
|
-
export type { RadioCardProps } from './components/molecules/RadioCard/types';
|
|
55
|
+
export type { RadioCardProps, RadioCardGroupProps } from './components/molecules/RadioCard/types';
|
|
56
56
|
export type { TooltipProps } from './components/molecules/Tooltip/types';
|
|
57
57
|
export type { ProductImageType, ProductImageProps } from './components/molecules/ProductImage/types';
|
|
58
58
|
export type { NewsItemProps } from './components/molecules/NewsItem/types';
|
package/dist/index.js
CHANGED
|
@@ -4977,6 +4977,10 @@ function jm(e, t, n) {
|
|
|
4977
4977
|
}
|
|
4978
4978
|
if (s?.filterType === At.DATE_RANGE) {
|
|
4979
4979
|
const r = Array.isArray(c.value) ? c.value : [null, null], u = s.filterContent, A = s.content, p = u?.fromKey ?? A?.fromKey, m = u?.toKey ?? A?.toKey;
|
|
4980
|
+
if (p == null && m == null) {
|
|
4981
|
+
o[l] = { value: r, matchMode: "between" };
|
|
4982
|
+
continue;
|
|
4983
|
+
}
|
|
4980
4984
|
p != null && r[0] != null && r[0] !== "" && (o[p] = { value: r[0], matchMode: "greaterThanOrEqual" }), m != null && r[1] != null && r[1] !== "" && (o[m] = { value: r[1], matchMode: "lessThanOrEqual" });
|
|
4981
4985
|
continue;
|
|
4982
4986
|
}
|
|
@@ -13209,7 +13213,7 @@ const B6 = /* @__PURE__ */ re(y2, [["__scopeId", "data-v-983ed935"]]), T6 = ["ar
|
|
|
13209
13213
|
},
|
|
13210
13214
|
emits: ["update:open", "openChange"],
|
|
13211
13215
|
setup(e, { emit: t }) {
|
|
13212
|
-
const n = e, o = t, { isMobile: l } = kn(), a = M(() => l.value && n.mobileBehavior === "bottom-sheet"), s = M(() => {
|
|
13216
|
+
const n = e, o = t, { isMobile: l } = kn(), a = M(() => n.variant === "form" ? !1 : l.value && n.mobileBehavior === "bottom-sheet"), s = M(() => {
|
|
13213
13217
|
if (a.value)
|
|
13214
13218
|
return "utopia-bottom-sheet";
|
|
13215
13219
|
if (n.variant === "form")
|
|
@@ -13404,7 +13408,7 @@ const B6 = /* @__PURE__ */ re(y2, [["__scopeId", "data-v-983ed935"]]), T6 = ["ar
|
|
|
13404
13408
|
}
|
|
13405
13409
|
}), Au = {};
|
|
13406
13410
|
typeof Au == "function" && Au(w2);
|
|
13407
|
-
const Wo = /* @__PURE__ */ re(w2, [["__scopeId", "data-v-
|
|
13411
|
+
const Wo = /* @__PURE__ */ re(w2, [["__scopeId", "data-v-18f14e5a"]]), G6 = { class: "utopia-pricetag" }, F6 = { key: 0 }, I6 = { class: "utopia-pricetag--price-container" }, Y6 = { key: 2 }, Z6 = { key: 3 }, z2 = /* @__PURE__ */ se({
|
|
13408
13412
|
__name: "PriceTag",
|
|
13409
13413
|
props: {
|
|
13410
13414
|
label: {},
|
|
@@ -14043,7 +14047,8 @@ const s5 = /* @__PURE__ */ re(O2, [["__scopeId", "data-v-44d04c84"]]), i5 = { cl
|
|
|
14043
14047
|
bigPicto: { type: Boolean, default: !1 },
|
|
14044
14048
|
hideRadio: { type: Boolean, default: !1 },
|
|
14045
14049
|
collapsible: { type: Boolean, default: !1 },
|
|
14046
|
-
size: { default: "md" }
|
|
14050
|
+
size: { default: "md" },
|
|
14051
|
+
inGroup: { type: Boolean, default: !1 }
|
|
14047
14052
|
},
|
|
14048
14053
|
emits: ["update:modelValue"],
|
|
14049
14054
|
setup(e, { emit: t }) {
|
|
@@ -14051,6 +14056,7 @@ const s5 = /* @__PURE__ */ re(O2, [["__scopeId", "data-v-44d04c84"]]), i5 = { cl
|
|
|
14051
14056
|
"utopia-radiocard--checked": l.value,
|
|
14052
14057
|
"utopia-radiocard--disabled": n.disabled,
|
|
14053
14058
|
"utopia-radiocard--readonly": n.readonly,
|
|
14059
|
+
"utopia-radiocard--in-group": n.inGroup,
|
|
14054
14060
|
[`utopia-radiocard--${n.color}`]: !0,
|
|
14055
14061
|
[`utopia-radiocard--${n.size}`]: !0
|
|
14056
14062
|
})), s = (c) => {
|
|
@@ -14061,7 +14067,16 @@ const s5 = /* @__PURE__ */ re(O2, [["__scopeId", "data-v-44d04c84"]]), i5 = { cl
|
|
|
14061
14067
|
class: Y(["utopia-radiocard", a.value])
|
|
14062
14068
|
}, [
|
|
14063
14069
|
v("div", i5, [
|
|
14064
|
-
e.hideRadio ? (i(),
|
|
14070
|
+
!e.hideRadio && !e.inGroup ? (i(), B(h(Oa), {
|
|
14071
|
+
key: 0,
|
|
14072
|
+
modelValue: e.modelValue,
|
|
14073
|
+
value: e.value,
|
|
14074
|
+
name: e.name,
|
|
14075
|
+
color: e.color,
|
|
14076
|
+
disabled: e.disabled,
|
|
14077
|
+
readonly: e.readonly,
|
|
14078
|
+
"onUpdate:modelValue": s
|
|
14079
|
+
}, null, 8, ["modelValue", "value", "name", "color", "disabled", "readonly"])) : (i(), d("input", {
|
|
14065
14080
|
key: 1,
|
|
14066
14081
|
type: "radio",
|
|
14067
14082
|
name: e.name,
|
|
@@ -14071,16 +14086,7 @@ const s5 = /* @__PURE__ */ re(O2, [["__scopeId", "data-v-44d04c84"]]), i5 = { cl
|
|
|
14071
14086
|
readonly: e.readonly,
|
|
14072
14087
|
onChange: s,
|
|
14073
14088
|
style: { position: "absolute", opacity: "0", width: "0", height: "0" }
|
|
14074
|
-
}, null, 40, r5))
|
|
14075
|
-
key: 0,
|
|
14076
|
-
modelValue: e.modelValue,
|
|
14077
|
-
value: e.value,
|
|
14078
|
-
name: e.name,
|
|
14079
|
-
color: e.color,
|
|
14080
|
-
disabled: e.disabled,
|
|
14081
|
-
readonly: e.readonly,
|
|
14082
|
-
"onUpdate:modelValue": s
|
|
14083
|
-
}, null, 8, ["modelValue", "value", "name", "color", "disabled", "readonly"])),
|
|
14089
|
+
}, null, 40, r5)),
|
|
14084
14090
|
v("div", c5, [
|
|
14085
14091
|
e.bigPicto && (e.icon || e.icon3d || c.$slots.icon) ? (i(), d("div", {
|
|
14086
14092
|
key: 0,
|
|
@@ -14159,7 +14165,7 @@ const s5 = /* @__PURE__ */ re(O2, [["__scopeId", "data-v-44d04c84"]]), i5 = { cl
|
|
|
14159
14165
|
}
|
|
14160
14166
|
}), hu = {};
|
|
14161
14167
|
typeof hu == "function" && hu(B2);
|
|
14162
|
-
const ri = /* @__PURE__ */ re(B2, [["__scopeId", "data-v-
|
|
14168
|
+
const ri = /* @__PURE__ */ re(B2, [["__scopeId", "data-v-a78c4d52"]]), b5 = { class: "utopia-pricesummary" }, h5 = { class: "utopia-pricesummary--section" }, y5 = { class: "utopia-pricesummary--section" }, w5 = { key: 1 }, z5 = { class: "utopia-pricesummary--saving-info" }, x5 = {
|
|
14163
14169
|
key: 0,
|
|
14164
14170
|
class: "utopia-pricesummary--saving-info-tooltip"
|
|
14165
14171
|
}, k5 = { class: "utopia-pricesummary__saving-info-tooltip-container" }, M5 = {
|