@bluepic/embed 0.4.0-next.106 → 0.4.0-next.108

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.
@@ -12,10 +12,20 @@ export type BxSelectOption<T> = {
12
12
  };
13
13
  declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
14
14
  props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{
15
- readonly "onUpdate:modelValue"?: ((value: T) => any) | undefined;
15
+ readonly "onUpdate:modelValue"?: ((value: T | T[]) => any) | undefined;
16
16
  readonly "onUpdate:show"?: ((value: boolean) => any) | undefined;
17
17
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onUpdate:modelValue" | "onUpdate:show"> & ({
18
- modelValue?: T;
18
+ /**
19
+ * Selected value. When `multiple` is set this is an ARRAY of values and the
20
+ * select becomes the whole selection state rather than a one-shot picker.
21
+ */
22
+ modelValue?: T | T[];
23
+ /**
24
+ * Multi-select: options toggle, the menu stays open, and `update:modelValue`
25
+ * emits the full array. Off by default — every existing single-value caller
26
+ * is unaffected.
27
+ */
28
+ multiple?: boolean;
19
29
  size?: "tiny" | "small" | "medium" | "large";
20
30
  trigger?: "click" | "hover" | "manual";
21
31
  options: BxSelectOption<T>[];
@@ -67,10 +77,10 @@ declare const _default: <T>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>
67
77
  }) => VNode[];
68
78
  label?: (scope: {
69
79
  label?: string | (() => VNode[] | VNode);
70
- value?: T;
80
+ value?: T | T[];
71
81
  }) => VNode[];
72
82
  };
73
- emit: ((evt: "update:modelValue", value: T) => void) & ((evt: "update:show", value: boolean) => void);
83
+ emit: ((evt: "update:modelValue", value: T | T[]) => void) & ((evt: "update:show", value: boolean) => void);
74
84
  }>) => import("vue").VNode & {
75
85
  __ctx?: Awaited<typeof __VLS_setup>;
76
86
  };