@quidgest/ui 0.16.32 → 0.16.33

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.
@@ -16,6 +16,8 @@ declare const QSelect: {
16
16
  groups?: import('../QList/types').Group[];
17
17
  clearable?: boolean;
18
18
  inline?: boolean;
19
+ multiple?: boolean;
20
+ badges?: boolean;
19
21
  loading?: boolean;
20
22
  emptyValue?: any;
21
23
  itemValue?: string;
@@ -42,7 +44,7 @@ declare const QSelect: {
42
44
  itemValue: string;
43
45
  itemLabel: string;
44
46
  }, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
45
- triggerEl: ({
47
+ trigger: ({
46
48
  $: import('vue').ComponentInternalInstance;
47
49
  $data: {};
48
50
  $props: {
@@ -111,8 +113,81 @@ declare const QSelect: {
111
113
  extras?(_: {}): any;
112
114
  };
113
115
  }) | null;
114
- contentRef: HTMLDivElement;
115
- listRef: ({
116
+ badgesContainer: HTMLSpanElement;
117
+ allBadges: (({
118
+ $: import('vue').ComponentInternalInstance;
119
+ $data: {};
120
+ $props: {
121
+ readonly id?: string | undefined;
122
+ readonly class?: string | unknown[] | undefined;
123
+ readonly variant?: import('../QBadge/types').QBadgeVariant | undefined;
124
+ readonly color?: string | undefined;
125
+ readonly pill?: boolean | undefined;
126
+ readonly size?: import('../QBadge/types').QBadgeSize | undefined;
127
+ readonly removable?: boolean | undefined;
128
+ readonly icons?: typeof import('../QBadge/types').DEFAULT_ICONS | undefined;
129
+ readonly texts?: typeof import('../QBadge/types').DEFAULT_TEXTS | undefined;
130
+ readonly "onClick:remove"?: (() => any) | undefined;
131
+ } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps;
132
+ $attrs: {
133
+ [x: string]: unknown;
134
+ };
135
+ $refs: {
136
+ [x: string]: unknown;
137
+ };
138
+ $slots: Readonly<{
139
+ [name: string]: import('vue').Slot<any> | undefined;
140
+ }>;
141
+ $root: import('vue').ComponentPublicInstance | null;
142
+ $parent: import('vue').ComponentPublicInstance | null;
143
+ $host: Element | null;
144
+ $emit: (event: "click:remove") => void;
145
+ $el: HTMLSpanElement;
146
+ $options: import('vue').ComponentOptionsBase<Readonly<import('../QBadge/types').QBadgeProps> & Readonly<{
147
+ "onClick:remove"?: (() => any) | undefined;
148
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
149
+ "click:remove": () => any;
150
+ }, string, {
151
+ size: import('../QBadge/types').QBadgeSize;
152
+ color: string;
153
+ variant: import('../QBadge/types').QBadgeVariant;
154
+ icons: typeof import('../QBadge/types').DEFAULT_ICONS;
155
+ texts: typeof import('../QBadge/types').DEFAULT_TEXTS;
156
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
157
+ beforeCreate?: (() => void) | (() => void)[];
158
+ created?: (() => void) | (() => void)[];
159
+ beforeMount?: (() => void) | (() => void)[];
160
+ mounted?: (() => void) | (() => void)[];
161
+ beforeUpdate?: (() => void) | (() => void)[];
162
+ updated?: (() => void) | (() => void)[];
163
+ activated?: (() => void) | (() => void)[];
164
+ deactivated?: (() => void) | (() => void)[];
165
+ beforeDestroy?: (() => void) | (() => void)[];
166
+ beforeUnmount?: (() => void) | (() => void)[];
167
+ destroyed?: (() => void) | (() => void)[];
168
+ unmounted?: (() => void) | (() => void)[];
169
+ renderTracked?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
170
+ renderTriggered?: ((e: import('vue').DebuggerEvent) => void) | ((e: import('vue').DebuggerEvent) => void)[];
171
+ errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
172
+ };
173
+ $forceUpdate: () => void;
174
+ $nextTick: typeof import('vue').nextTick;
175
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
176
+ } & Readonly<{
177
+ size: import('../QBadge/types').QBadgeSize;
178
+ color: string;
179
+ variant: import('../QBadge/types').QBadgeVariant;
180
+ icons: typeof import('../QBadge/types').DEFAULT_ICONS;
181
+ texts: typeof import('../QBadge/types').DEFAULT_TEXTS;
182
+ }> & Omit<Readonly<import('../QBadge/types').QBadgeProps> & Readonly<{
183
+ "onClick:remove"?: (() => any) | undefined;
184
+ }>, "size" | "color" | "variant" | "icons" | "texts"> & import('vue').ShallowUnwrapRef<{}> & {} & import('vue').ComponentCustomProperties & {} & {
185
+ $slots: {
186
+ default?(_: {}): any;
187
+ };
188
+ }) | null)[];
189
+ content: HTMLDivElement;
190
+ list: ({
116
191
  $: import('vue').ComponentInternalInstance;
117
192
  $data: {};
118
193
  $props: {
@@ -312,6 +387,8 @@ declare const QSelect: {
312
387
  groups?: import('../QList/types').Group[];
313
388
  clearable?: boolean;
314
389
  inline?: boolean;
390
+ multiple?: boolean;
391
+ badges?: boolean;
315
392
  loading?: boolean;
316
393
  emptyValue?: any;
317
394
  itemValue?: string;
@@ -351,6 +428,8 @@ declare const QSelect: {
351
428
  groups?: import('../QList/types').Group[];
352
429
  clearable?: boolean;
353
430
  inline?: boolean;
431
+ multiple?: boolean;
432
+ badges?: boolean;
354
433
  loading?: boolean;
355
434
  emptyValue?: any;
356
435
  itemValue?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAIuwzB,GAAG,8CAA8C,GAAG,yBAAyB,GAA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C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAJj2zB,CAAA;AAGzC,OAAO,EAAE,OAAO,EAAE,CAAA"}
@@ -25,6 +25,18 @@ export type QSelectProps = QFieldProps & {
25
25
  * @category Behavior
26
26
  */
27
27
  inline?: boolean;
28
+ /**
29
+ * Whether multiple options can be selected.
30
+ *
31
+ * @category Behavior
32
+ */
33
+ multiple?: boolean;
34
+ /**
35
+ * Whether to display the selected option(s) as badge(s).
36
+ *
37
+ * @category Presentation
38
+ */
39
+ badges?: boolean;
28
40
  /**
29
41
  * Whether the items of the list are being loaded.
30
42
  *
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/types.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C,OAAO,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAEjD,MAAM,MAAM,YAAY,GAAG,WAAW,GAAG;IACxC;;;;OAIG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;IAEd;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,EAAE,CAAA;IAEhB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;;OAKG;IAEH,UAAU,CAAC,EAAE,GAAG,CAAA;IAEhB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAGD,eAAO,MAAM,aAAa;;;;CAIQ,CAAA;AAGlC,eAAO,MAAM,aAAa;;;;;;;CAGM,CAAA"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QSelect/types.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAE5C,OAAO,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAA;AAEjD,MAAM,MAAM,YAAY,GAAG,WAAW,GAAG;IACxC;;;;OAIG;IACH,KAAK,CAAC,EAAE,IAAI,EAAE,CAAA;IAEd;;;;OAIG;IACH,MAAM,CAAC,EAAE,KAAK,EAAE,CAAA;IAEhB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAA;IAEjB;;;;;OAKG;IAEH,UAAU,CAAC,EAAE,GAAG,CAAA;IAEhB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAGD,eAAO,MAAM,aAAa;;;;CAIQ,CAAA;AAGlC,eAAO,MAAM,aAAa;;;;;;;CAGM,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@quidgest/ui",
3
3
  "description": "Quidgest's UI framework",
4
- "version": "0.16.32",
4
+ "version": "0.16.33",
5
5
  "private": false,
6
6
  "type": "module",
7
7
  "author": "Quidgest",