@club-employes/utopia 4.333.0 → 4.334.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.
@@ -6,6 +6,7 @@ declare const _default: DefineComponent<OptionSelectProps, {}, {}, {}, {}, Compo
6
6
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
7
7
  }>, {
8
8
  required: boolean;
9
+ placeholder: string;
9
10
  outOfStockLabel: string;
10
11
  displayMode: "dropdown" | "button";
11
12
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -14,5 +14,6 @@ export interface OptionSelectProps {
14
14
  displayMode?: 'dropdown' | 'button';
15
15
  modelValue: string | number | null;
16
16
  options: SingleOptionProps[];
17
+ placeholder?: string;
17
18
  outOfStockLabel?: string;
18
19
  }
package/dist/index.js CHANGED
@@ -15318,6 +15318,7 @@ const HI = /* @__PURE__ */ pe(f2, [["__scopeId", "data-v-97295e9f"]]), u9 = { cl
15318
15318
  displayMode: { default: "dropdown" },
15319
15319
  modelValue: {},
15320
15320
  options: {},
15321
+ placeholder: { default: "Sélectionner une option" },
15321
15322
  outOfStockLabel: { default: "En rupture" }
15322
15323
  },
15323
15324
  emits: ["update:modelValue"],
@@ -15372,16 +15373,17 @@ const HI = /* @__PURE__ */ pe(f2, [["__scopeId", "data-v-97295e9f"]]), u9 = { cl
15372
15373
  ], 2)) : (c(), f("div", h9, [
15373
15374
  z(en, {
15374
15375
  modelValue: e.modelValue,
15376
+ placeholder: e.placeholder,
15375
15377
  options: e.options.map((A) => ({ ...A, disabled: A.disabled || A.outOfStock, secondaryLabel: A.outOfStock ? e.outOfStockLabel : void 0 })),
15376
15378
  disabled: e.options.every((A) => A.disabled || A.outOfStock),
15377
15379
  "onUpdate:modelValue": i[1] || (i[1] = (A) => s(A))
15378
- }, null, 8, ["modelValue", "options", "disabled"])
15380
+ }, null, 8, ["modelValue", "placeholder", "options", "disabled"])
15379
15381
  ]))
15380
15382
  ]));
15381
15383
  }
15382
15384
  }), mA = {};
15383
15385
  typeof mA == "function" && mA(p2);
15384
- const y9 = /* @__PURE__ */ pe(p2, [["__scopeId", "data-v-129f175c"]]), w9 = { class: "utopia-newsitem__content" }, z9 = { class: "utopia-newsitem__chips-skeleton" }, x9 = { class: "utopia-newsitem__content" }, m2 = /* @__PURE__ */ re({
15386
+ const y9 = /* @__PURE__ */ pe(p2, [["__scopeId", "data-v-cb710d24"]]), w9 = { class: "utopia-newsitem__content" }, z9 = { class: "utopia-newsitem__chips-skeleton" }, x9 = { class: "utopia-newsitem__content" }, m2 = /* @__PURE__ */ re({
15385
15387
  __name: "NewsItem",
15386
15388
  props: {
15387
15389
  image: {},
@@ -43889,9 +43891,10 @@ const eY = /* @__PURE__ */ pe(Jf, [["__scopeId", "data-v-386568fa"]]), aS = { cl
43889
43891
  displayMode: F.displayMode,
43890
43892
  options: F.options.map((V) => ({ ...V, disabled: V.disabled || e.outOfStock || W > 0 && !e.options[W - 1]?.modelValue })),
43891
43893
  label: F.label,
43894
+ placeholder: F.placeholder,
43892
43895
  tooltip: F.tooltip,
43893
43896
  outOfStockLabel: e.outOfStockOptionLabel
43894
- }, null, 8, ["modelValue", "onUpdate:modelValue", "displayMode", "options", "label", "tooltip", "outOfStockLabel"]))), 128))
43897
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "displayMode", "options", "label", "placeholder", "tooltip", "outOfStockLabel"]))), 128))
43895
43898
  ])) : M("", !0),
43896
43899
  e.subvention ? (c(), f("div", tH, [
43897
43900
  e.subvention.subventions?.length ? (c(), f("div", {
@@ -44263,7 +44266,7 @@ const eY = /* @__PURE__ */ pe(Jf, [["__scopeId", "data-v-386568fa"]]), aS = { cl
44263
44266
  }
44264
44267
  }), Ju = {};
44265
44268
  typeof Ju == "function" && Ju(Vf);
44266
- const nY = /* @__PURE__ */ pe(Vf, [["__scopeId", "data-v-a15ae788"]]), zH = { class: "utopia-caroussel__track" }, xH = {
44269
+ const nY = /* @__PURE__ */ pe(Vf, [["__scopeId", "data-v-bb1eb3f2"]]), zH = { class: "utopia-caroussel__track" }, xH = {
44267
44270
  key: 0,
44268
44271
  class: "utopia-caroussel__navigation"
44269
44272
  }, PH = {