@choosemycompany/ui 0.24.0 → 0.25.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/assets/index.css +1 -1
- package/dist/index.d.ts +114 -23
- package/dist/index.js +3100 -1662
- package/dist/index.umd.js +6 -6
- package/package.json +3 -2
package/dist/index.d.ts
CHANGED
|
@@ -6,8 +6,16 @@ import { ColumnDefinition } from './components/Molecules/CmcTable/CmcTable';
|
|
|
6
6
|
import { ColumnDefinition as ColumnDefinition_2 } from './CmcTable.d.ts';
|
|
7
7
|
import { ColumnDefinition as ColumnDefinition_3 } from '../../Molecules/CmcTable/CmcTable';
|
|
8
8
|
import { ComponentOptionsMixin } from 'vue';
|
|
9
|
+
import { ComponentProps } from 'vue-multiselect';
|
|
9
10
|
import { ComponentProvideOptions } from 'vue';
|
|
11
|
+
import { ComputedOptions } from 'vue';
|
|
12
|
+
import { CreateComponentPublicInstanceWithMixins } from 'vue';
|
|
10
13
|
import { DefineComponent } from 'vue';
|
|
14
|
+
import { GlobalComponents } from 'vue';
|
|
15
|
+
import { GlobalDirectives } from 'vue';
|
|
16
|
+
import { MethodOptions } from 'vue';
|
|
17
|
+
import { MultiselectMixinProps } from 'vue-multiselect';
|
|
18
|
+
import { PointerMixinProps } from 'vue-multiselect';
|
|
11
19
|
import { PublicProps } from 'vue';
|
|
12
20
|
import { Row } from './CmcTable.d.ts';
|
|
13
21
|
import { Row as Row_2 } from '../../Molecules/CmcTable/CmcTable';
|
|
@@ -48,15 +56,21 @@ declare const __VLS_component_4: DefineComponent<__VLS_PublicProps_3, {}, {}, {}
|
|
|
48
56
|
invalid: boolean;
|
|
49
57
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
50
58
|
|
|
51
|
-
declare const __VLS_component_5: DefineComponent<
|
|
59
|
+
declare const __VLS_component_5: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {
|
|
60
|
+
rows: Row[];
|
|
61
|
+
emptyText: string;
|
|
62
|
+
columns: ColumnDefinition_2[];
|
|
63
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLTableElement>;
|
|
64
|
+
|
|
65
|
+
declare const __VLS_component_6: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
52
66
|
|
|
53
|
-
declare const
|
|
67
|
+
declare const __VLS_component_7: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
54
68
|
submit: () => any;
|
|
55
69
|
}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{
|
|
56
70
|
onSubmit?: (() => any) | undefined;
|
|
57
71
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
58
72
|
|
|
59
|
-
declare const
|
|
73
|
+
declare const __VLS_component_8: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
60
74
|
|
|
61
75
|
declare type __VLS_Props = {
|
|
62
76
|
title: string;
|
|
@@ -80,15 +94,26 @@ declare type __VLS_Props_11 = {
|
|
|
80
94
|
|
|
81
95
|
declare type __VLS_Props_12 = {
|
|
82
96
|
id: string;
|
|
83
|
-
options:
|
|
97
|
+
options: SelectOptions;
|
|
84
98
|
label?: string;
|
|
85
99
|
placeholder?: string;
|
|
100
|
+
description?: string;
|
|
101
|
+
width?: number;
|
|
86
102
|
required?: boolean;
|
|
87
103
|
disabled?: boolean;
|
|
88
104
|
invalid?: boolean;
|
|
89
105
|
variant?: SelectVariant;
|
|
90
|
-
|
|
91
|
-
|
|
106
|
+
multiple?: boolean;
|
|
107
|
+
searchable?: boolean;
|
|
108
|
+
clearOnSelect?: boolean;
|
|
109
|
+
hideSelected?: boolean;
|
|
110
|
+
preserveSearch?: boolean;
|
|
111
|
+
closeOnSelect?: boolean;
|
|
112
|
+
internalSearch?: boolean;
|
|
113
|
+
openDirection?: "above" | "below" | "top" | "bottom" | "";
|
|
114
|
+
groupValues?: string;
|
|
115
|
+
groupLabel?: string;
|
|
116
|
+
groupSelect?: boolean;
|
|
92
117
|
};
|
|
93
118
|
|
|
94
119
|
declare type __VLS_Props_13 = {
|
|
@@ -209,7 +234,7 @@ declare type __VLS_PublicProps_4 = {
|
|
|
209
234
|
} & __VLS_Props_11;
|
|
210
235
|
|
|
211
236
|
declare type __VLS_PublicProps_5 = {
|
|
212
|
-
modelValue?: string | number;
|
|
237
|
+
modelValue?: string | number | string[] | number[];
|
|
213
238
|
} & __VLS_Props_12;
|
|
214
239
|
|
|
215
240
|
declare type __VLS_PublicProps_6 = {
|
|
@@ -258,6 +283,18 @@ declare function __VLS_template_4(): {
|
|
|
258
283
|
};
|
|
259
284
|
|
|
260
285
|
declare function __VLS_template_5(): {
|
|
286
|
+
attrs: Partial<{}>;
|
|
287
|
+
slots: {
|
|
288
|
+
'expanded-row'?(_: {
|
|
289
|
+
row: unknown;
|
|
290
|
+
isLoading: boolean;
|
|
291
|
+
}): any;
|
|
292
|
+
};
|
|
293
|
+
refs: {};
|
|
294
|
+
rootEl: HTMLTableElement;
|
|
295
|
+
};
|
|
296
|
+
|
|
297
|
+
declare function __VLS_template_6(): {
|
|
261
298
|
attrs: Partial<{}>;
|
|
262
299
|
slots: {
|
|
263
300
|
default?(_: {}): any;
|
|
@@ -266,7 +303,7 @@ declare function __VLS_template_5(): {
|
|
|
266
303
|
rootEl: any;
|
|
267
304
|
};
|
|
268
305
|
|
|
269
|
-
declare function
|
|
306
|
+
declare function __VLS_template_7(): {
|
|
270
307
|
attrs: Partial<{}>;
|
|
271
308
|
slots: {
|
|
272
309
|
header?(_: {}): any;
|
|
@@ -277,7 +314,7 @@ declare function __VLS_template_6(): {
|
|
|
277
314
|
rootEl: HTMLDivElement;
|
|
278
315
|
};
|
|
279
316
|
|
|
280
|
-
declare function
|
|
317
|
+
declare function __VLS_template_8(): {
|
|
281
318
|
attrs: Partial<{}>;
|
|
282
319
|
slots: {
|
|
283
320
|
default?(_: {}): any;
|
|
@@ -300,6 +337,8 @@ declare type __VLS_TemplateResult_6 = ReturnType<typeof __VLS_template_6>;
|
|
|
300
337
|
|
|
301
338
|
declare type __VLS_TemplateResult_7 = ReturnType<typeof __VLS_template_7>;
|
|
302
339
|
|
|
340
|
+
declare type __VLS_TemplateResult_8 = ReturnType<typeof __VLS_template_8>;
|
|
341
|
+
|
|
303
342
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
304
343
|
new (): {
|
|
305
344
|
$slots: S;
|
|
@@ -342,6 +381,12 @@ declare type __VLS_WithTemplateSlots_7<T, S> = T & {
|
|
|
342
381
|
};
|
|
343
382
|
};
|
|
344
383
|
|
|
384
|
+
declare type __VLS_WithTemplateSlots_8<T, S> = T & {
|
|
385
|
+
new (): {
|
|
386
|
+
$slots: S;
|
|
387
|
+
};
|
|
388
|
+
};
|
|
389
|
+
|
|
345
390
|
declare type AutocompleteItem = {
|
|
346
391
|
label: string;
|
|
347
392
|
value: string;
|
|
@@ -350,9 +395,11 @@ declare type AutocompleteItem = {
|
|
|
350
395
|
declare type BadgePillStatus = keyof typeof badgePillStatusOptions;
|
|
351
396
|
|
|
352
397
|
declare const badgePillStatusOptions: {
|
|
353
|
-
readonly
|
|
354
|
-
readonly
|
|
355
|
-
readonly
|
|
398
|
+
readonly warning: "warning";
|
|
399
|
+
readonly brand: "brand";
|
|
400
|
+
readonly neutral: "neutral";
|
|
401
|
+
readonly success: "success";
|
|
402
|
+
readonly information: "information";
|
|
356
403
|
};
|
|
357
404
|
|
|
358
405
|
declare type BadgePillVariant = keyof typeof badgePillVariantOptions;
|
|
@@ -366,6 +413,7 @@ declare type ButtonGroupGap = keyof typeof buttonGroupGapOptions;
|
|
|
366
413
|
|
|
367
414
|
declare const buttonGroupGapOptions: {
|
|
368
415
|
readonly medium: "medium";
|
|
416
|
+
readonly large: "large";
|
|
369
417
|
};
|
|
370
418
|
|
|
371
419
|
declare type ButtonKind = keyof typeof buttonKindOptions;
|
|
@@ -455,9 +503,9 @@ export declare const CmcCheckbox: DefineComponent<__VLS_PublicProps_2, {}, {}, {
|
|
|
455
503
|
disabled: boolean;
|
|
456
504
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
457
505
|
|
|
458
|
-
export declare const CmcForm:
|
|
506
|
+
export declare const CmcForm: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
459
507
|
|
|
460
|
-
export declare const CmcFormField:
|
|
508
|
+
export declare const CmcFormField: __VLS_WithTemplateSlots_8<typeof __VLS_component_8, __VLS_TemplateResult_8["slots"]>;
|
|
461
509
|
|
|
462
510
|
export declare const CmcGauge: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
463
511
|
|
|
@@ -500,25 +548,66 @@ export declare const CmcSearch: DefineComponent<__VLS_PublicProps_4, {}, {}, {},
|
|
|
500
548
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
501
549
|
|
|
502
550
|
export declare const CmcSelect: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
503
|
-
|
|
551
|
+
select: (option: SelectOption, id: string) => any;
|
|
552
|
+
"update:modelValue": (...args: unknown[]) => any;
|
|
553
|
+
remove: (option: SelectOption, id: string) => any;
|
|
554
|
+
"search-change": (searchQuery: string) => any;
|
|
504
555
|
}, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
|
|
505
|
-
|
|
556
|
+
onSelect?: ((option: SelectOption, id: string) => any) | undefined;
|
|
557
|
+
"onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
|
|
558
|
+
onRemove?: ((option: SelectOption, id: string) => any) | undefined;
|
|
559
|
+
"onSearch-change"?: ((searchQuery: string) => any) | undefined;
|
|
506
560
|
}>, {
|
|
507
561
|
required: boolean;
|
|
508
562
|
disabled: boolean;
|
|
509
563
|
variant: SelectVariant;
|
|
510
564
|
invalid: boolean;
|
|
511
|
-
|
|
565
|
+
multiple: boolean;
|
|
566
|
+
searchable: boolean;
|
|
567
|
+
clearOnSelect: boolean;
|
|
568
|
+
hideSelected: boolean;
|
|
569
|
+
preserveSearch: boolean;
|
|
570
|
+
closeOnSelect: boolean;
|
|
571
|
+
internalSearch: boolean;
|
|
572
|
+
openDirection: "above" | "below" | "top" | "bottom" | "";
|
|
573
|
+
groupSelect: boolean;
|
|
574
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
575
|
+
rootEl: HTMLDivElement;
|
|
576
|
+
multiselect: CreateComponentPublicInstanceWithMixins<Readonly< ComponentProps>, {}, {}, {}, {
|
|
577
|
+
activate(): void;
|
|
578
|
+
deactivate(): void;
|
|
579
|
+
}, DefineComponent<MultiselectMixinProps> | DefineComponent<PointerMixinProps>, ComponentOptionsMixin, {}, PublicProps, {}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
580
|
+
P: Readonly< MultiselectMixinProps>;
|
|
581
|
+
B: {};
|
|
582
|
+
D: {};
|
|
583
|
+
C: ComputedOptions;
|
|
584
|
+
M: MethodOptions;
|
|
585
|
+
Defaults: {};
|
|
586
|
+
} & {
|
|
587
|
+
P: {};
|
|
588
|
+
B: {};
|
|
589
|
+
D: {};
|
|
590
|
+
C: {};
|
|
591
|
+
M: {};
|
|
592
|
+
Defaults: {};
|
|
593
|
+
} & {
|
|
594
|
+
P: Readonly< PointerMixinProps>;
|
|
595
|
+
B: {};
|
|
596
|
+
D: {};
|
|
597
|
+
C: ComputedOptions;
|
|
598
|
+
M: MethodOptions;
|
|
599
|
+
Defaults: {};
|
|
600
|
+
}, Readonly< MultiselectMixinProps> & Readonly< PointerMixinProps> & Readonly< ComponentProps>, {}, {}, ComputedOptions, MethodOptions & {
|
|
601
|
+
activate(): void;
|
|
602
|
+
deactivate(): void;
|
|
603
|
+
}, {} & {} & {}> | null;
|
|
604
|
+
}, HTMLDivElement>;
|
|
512
605
|
|
|
513
606
|
export declare const CmcStatus: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {
|
|
514
607
|
status: Status;
|
|
515
608
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
516
609
|
|
|
517
|
-
export declare const CmcTable:
|
|
518
|
-
rows: Row[];
|
|
519
|
-
emptyText: string;
|
|
520
|
-
columns: ColumnDefinition_2[];
|
|
521
|
-
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLTableElement>;
|
|
610
|
+
export declare const CmcTable: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
522
611
|
|
|
523
612
|
export declare const CmcTablePagination: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
524
613
|
"update:currentPage": (page: number) => any;
|
|
@@ -531,7 +620,7 @@ export declare const CmcTablePagination: DefineComponent<__VLS_Props_15, {}, {},
|
|
|
531
620
|
columns: ColumnDefinition_3[];
|
|
532
621
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
533
622
|
|
|
534
|
-
export declare const CmcTitle:
|
|
623
|
+
export declare const CmcTitle: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
535
624
|
|
|
536
625
|
export declare const CmcToggle: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
537
626
|
"update:modelValue": (value: boolean) => any;
|
|
@@ -676,6 +765,8 @@ export declare interface SelectOption {
|
|
|
676
765
|
disabled?: boolean;
|
|
677
766
|
}
|
|
678
767
|
|
|
768
|
+
declare type SelectOptions = Array<SelectOption | Record<string, unknown>>;
|
|
769
|
+
|
|
679
770
|
declare type SelectVariant = InputVariant;
|
|
680
771
|
|
|
681
772
|
export declare const selectVariantOptions: {
|