@choosemycompany/ui 0.38.2 → 0.39.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/index.d.ts CHANGED
@@ -47,7 +47,7 @@ declare const __VLS_component_10: DefineComponent<Props_8, {}, {}, {}, {}, Compo
47
47
  onClose?: (() => any) | undefined;
48
48
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
49
49
 
50
- declare const __VLS_component_11: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{}>, {
50
+ declare const __VLS_component_11: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{}>, {
51
51
  pagination: boolean;
52
52
  navigation: boolean;
53
53
  slidesPerView: number | "auto";
@@ -83,11 +83,11 @@ declare const __VLS_component_4: DefineComponent<__VLS_PublicProps_4, {}, {}, {}
83
83
  invalid: boolean;
84
84
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
85
85
 
86
- declare const __VLS_component_5: DefineComponent<__VLS_Props_15, {
86
+ declare const __VLS_component_5: DefineComponent<__VLS_Props_18, {
87
87
  selectedRows: ComputedRef<{
88
88
  expendedData?: ExpandedDataFn;
89
89
  }[]>;
90
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {
90
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {
91
91
  rows: Row[];
92
92
  emptyText: string;
93
93
  defaultExpandedIndexes: number[];
@@ -97,19 +97,19 @@ declare const __VLS_component_5: DefineComponent<__VLS_Props_15, {
97
97
 
98
98
  declare const __VLS_component_6: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
99
99
 
100
- declare const __VLS_component_7: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{}>, {
100
+ declare const __VLS_component_7: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {
101
101
  openOn: TooltipOpenOn;
102
102
  }, {}, {}, {}, string, ComponentProvideOptions, false, {
103
103
  triggerRef: HTMLDivElement;
104
104
  }, any>;
105
105
 
106
- declare const __VLS_component_8: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
106
+ declare const __VLS_component_8: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
107
107
  submit: () => any;
108
- }, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{
108
+ }, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{
109
109
  onSubmit?: (() => any) | undefined;
110
110
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
111
111
 
112
- declare const __VLS_component_9: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
112
+ declare const __VLS_component_9: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
113
113
 
114
114
  declare type __VLS_Props = {
115
115
  title: string;
@@ -132,13 +132,37 @@ declare type __VLS_Props_11 = {
132
132
  };
133
133
 
134
134
  declare type __VLS_Props_12 = {
135
+ id?: string;
136
+ name?: string;
137
+ disabled?: boolean;
138
+ required?: boolean;
139
+ };
140
+
141
+ declare type __VLS_Props_13 = {
142
+ id?: string;
143
+ name?: string;
144
+ label: string;
145
+ description?: string;
146
+ disabled?: boolean;
147
+ required?: boolean;
148
+ };
149
+
150
+ declare type __VLS_Props_14 = {
151
+ label: string;
152
+ options: RadioCardOption[];
153
+ name?: string;
154
+ disabled?: boolean;
155
+ required?: boolean;
156
+ };
157
+
158
+ declare type __VLS_Props_15 = {
135
159
  compact?: boolean;
136
160
  variant?: InputVariant;
137
161
  label?: string;
138
162
  placeholder?: string;
139
163
  };
140
164
 
141
- declare type __VLS_Props_13 = {
165
+ declare type __VLS_Props_16 = {
142
166
  id: string;
143
167
  options: SelectOptions;
144
168
  label?: string;
@@ -164,14 +188,14 @@ declare type __VLS_Props_13 = {
164
188
  groupSelect?: boolean;
165
189
  };
166
190
 
167
- declare type __VLS_Props_14 = {
191
+ declare type __VLS_Props_17 = {
168
192
  text: string;
169
193
  status?: Status;
170
194
  };
171
195
 
172
- declare type __VLS_Props_15 = Props_7;
196
+ declare type __VLS_Props_18 = Props_7;
173
197
 
174
- declare type __VLS_Props_16 = {
198
+ declare type __VLS_Props_19 = {
175
199
  itemsPerPage: number;
176
200
  currentPage: number;
177
201
  rows?: Row_3[];
@@ -180,45 +204,46 @@ declare type __VLS_Props_16 = {
180
204
  emptyText?: string;
181
205
  };
182
206
 
183
- declare type __VLS_Props_17 = {
207
+ declare type __VLS_Props_2 = {
208
+ items: AutocompleteItem[];
209
+ label?: string;
210
+ loading?: boolean;
211
+ placeholder: string;
212
+ description?: string;
213
+ emptyValue: string;
214
+ minChars?: number;
215
+ debounce?: number;
216
+ compact?: boolean;
217
+ required?: boolean;
218
+ };
219
+
220
+ declare type __VLS_Props_20 = {
184
221
  id?: string;
185
222
  disabled?: boolean;
186
223
  required?: boolean;
187
224
  size?: ToggleSize;
188
225
  };
189
226
 
190
- declare type __VLS_Props_18 = {
227
+ declare type __VLS_Props_21 = {
191
228
  openOn?: TooltipOpenOn;
192
229
  };
193
230
 
194
- declare type __VLS_Props_19 = {
231
+ declare type __VLS_Props_22 = {
195
232
  steps: Step[];
196
233
  current: number;
197
234
  checkable?: boolean;
198
235
  clickable?: boolean;
199
236
  };
200
237
 
201
- declare type __VLS_Props_2 = {
202
- items: AutocompleteItem[];
203
- label?: string;
204
- loading?: boolean;
205
- placeholder: string;
206
- description?: string;
207
- emptyValue: string;
208
- minChars?: number;
209
- debounce?: number;
210
- compact?: boolean;
211
- };
212
-
213
- declare type __VLS_Props_20 = {
238
+ declare type __VLS_Props_23 = {
214
239
  errors: ErrorItem[];
215
240
  };
216
241
 
217
- declare type __VLS_Props_21 = {
242
+ declare type __VLS_Props_24 = {
218
243
  errorMessage?: string;
219
244
  };
220
245
 
221
- declare type __VLS_Props_22 = {
246
+ declare type __VLS_Props_25 = {
222
247
  filterTypes: FilterTypeConfig[];
223
248
  filters: Filter[];
224
249
  title?: string;
@@ -228,7 +253,7 @@ declare type __VLS_Props_22 = {
228
253
  addFilterLabel?: string;
229
254
  };
230
255
 
231
- declare type __VLS_Props_23 = {
256
+ declare type __VLS_Props_26 = {
232
257
  navigation?: boolean;
233
258
  pagination?: boolean;
234
259
  slidesPerView?: number | "auto";
@@ -289,6 +314,14 @@ declare type __VLS_PublicProps = {
289
314
  "search"?: string;
290
315
  } & __VLS_Props_2;
291
316
 
317
+ declare type __VLS_PublicProps_10 = {
318
+ modelValue?: string | number | string[] | number[];
319
+ } & __VLS_Props_16;
320
+
321
+ declare type __VLS_PublicProps_11 = {
322
+ modelValue?: boolean;
323
+ } & __VLS_Props_20;
324
+
292
325
  declare type __VLS_PublicProps_2 = {
293
326
  modelValue?: boolean;
294
327
  } & __VLS_Props_4;
@@ -306,16 +339,20 @@ declare type __VLS_PublicProps_5 = {
306
339
  } & __VLS_Props_8;
307
340
 
308
341
  declare type __VLS_PublicProps_6 = {
309
- modelValue?: string;
342
+ modelValue?: boolean;
310
343
  } & __VLS_Props_12;
311
344
 
312
345
  declare type __VLS_PublicProps_7 = {
313
- modelValue?: string | number | string[] | number[];
346
+ modelValue?: boolean;
314
347
  } & __VLS_Props_13;
315
348
 
316
349
  declare type __VLS_PublicProps_8 = {
317
- modelValue?: boolean;
318
- } & __VLS_Props_17;
350
+ modelValue?: string | number | null;
351
+ } & __VLS_Props_14;
352
+
353
+ declare type __VLS_PublicProps_9 = {
354
+ modelValue?: string;
355
+ } & __VLS_Props_15;
319
356
 
320
357
  declare function __VLS_template(): {
321
358
  attrs: Partial<{}>;
@@ -610,6 +647,7 @@ export declare const CmcAutocomplete: DefineComponent<__VLS_PublicProps, {}, {},
610
647
  "onUpdate:search"?: ((...args: unknown[]) => any) | undefined;
611
648
  }>, {
612
649
  loading: boolean;
650
+ required: boolean;
613
651
  label: string;
614
652
  minChars: number;
615
653
  debounce: number;
@@ -659,11 +697,11 @@ export declare const CmcDatePicker: DefineComponent<__VLS_PublicProps_3, {}, {},
659
697
  yearPicker: boolean;
660
698
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
661
699
 
662
- export declare const CmcFilterModal: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
700
+ export declare const CmcFilterModal: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
663
701
  close: () => any;
664
702
  apply: (filters: Filter[]) => any;
665
703
  erase: () => any;
666
- }, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{
704
+ }, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{
667
705
  onClose?: (() => any) | undefined;
668
706
  onApply?: ((filters: Filter[]) => any) | undefined;
669
707
  onErase?: (() => any) | undefined;
@@ -705,9 +743,36 @@ export declare const CmcPagination: DefineComponent<__VLS_Props_9, {}, {}, {}, {
705
743
 
706
744
  export declare const CmcProgressBar: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
707
745
 
708
- export declare const CmcSearch: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
709
- "update:modelValue": (value: string) => any;
746
+ export declare const CmcRadioButton: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
747
+ "update:modelValue": (value: boolean) => any;
710
748
  }, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
749
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
750
+ }>, {
751
+ required: boolean;
752
+ disabled: boolean;
753
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
754
+
755
+ export declare const CmcRadioCard: DefineComponent<__VLS_PublicProps_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
756
+ "update:modelValue": (value: boolean) => any;
757
+ }, string, PublicProps, Readonly<__VLS_PublicProps_7> & Readonly<{
758
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
759
+ }>, {
760
+ required: boolean;
761
+ disabled: boolean;
762
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLLabelElement>;
763
+
764
+ export declare const CmcRadioCardGroup: DefineComponent<__VLS_PublicProps_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
765
+ "update:modelValue": (value: string | number | null) => any;
766
+ }, string, PublicProps, Readonly<__VLS_PublicProps_8> & Readonly<{
767
+ "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
768
+ }>, {
769
+ required: boolean;
770
+ disabled: boolean;
771
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
772
+
773
+ export declare const CmcSearch: DefineComponent<__VLS_PublicProps_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
774
+ "update:modelValue": (value: string) => any;
775
+ }, string, PublicProps, Readonly<__VLS_PublicProps_9> & Readonly<{
711
776
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
712
777
  }>, {
713
778
  placeholder: string;
@@ -715,12 +780,12 @@ export declare const CmcSearch: DefineComponent<__VLS_PublicProps_6, {}, {}, {},
715
780
  compact: boolean;
716
781
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
717
782
 
718
- export declare const CmcSelect: DefineComponent<__VLS_PublicProps_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
783
+ export declare const CmcSelect: DefineComponent<__VLS_PublicProps_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
719
784
  select: (option: SelectOption, id: string) => any;
720
785
  "update:modelValue": (...args: unknown[]) => any;
721
786
  remove: (option: SelectOption, id: string) => any;
722
787
  "search-change": (searchQuery: string) => any;
723
- }, string, PublicProps, Readonly<__VLS_PublicProps_7> & Readonly<{
788
+ }, string, PublicProps, Readonly<__VLS_PublicProps_10> & Readonly<{
724
789
  onSelect?: ((option: SelectOption, id: string) => any) | undefined;
725
790
  "onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
726
791
  onRemove?: ((option: SelectOption, id: string) => any) | undefined;
@@ -771,7 +836,7 @@ export declare const CmcSelect: DefineComponent<__VLS_PublicProps_7, {}, {}, {},
771
836
  }, {} & {} & {}> | null;
772
837
  }, HTMLDivElement>;
773
838
 
774
- export declare const CmcStatus: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {
839
+ export declare const CmcStatus: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {
775
840
  status: Status;
776
841
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
777
842
 
@@ -779,9 +844,9 @@ export declare const CmcSwiper: __VLS_WithTemplateSlots_11<typeof __VLS_componen
779
844
 
780
845
  export declare const CmcTable: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
781
846
 
782
- export declare const CmcTablePagination: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
847
+ export declare const CmcTablePagination: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
783
848
  "update:currentPage": (page: number) => any;
784
- }, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
849
+ }, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{
785
850
  "onUpdate:currentPage"?: ((page: number) => any) | undefined;
786
851
  }>, {
787
852
  rows: Row_3[];
@@ -804,9 +869,9 @@ export declare const CmcTextarea: DefineComponent<__VLS_PublicProps_5, {}, {}, {
804
869
 
805
870
  export declare const CmcTitle: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
806
871
 
807
- export declare const CmcToggle: DefineComponent<__VLS_PublicProps_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
872
+ export declare const CmcToggle: DefineComponent<__VLS_PublicProps_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
808
873
  "update:modelValue": (value: boolean) => any;
809
- }, string, PublicProps, Readonly<__VLS_PublicProps_8> & Readonly<{
874
+ }, string, PublicProps, Readonly<__VLS_PublicProps_11> & Readonly<{
810
875
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
811
876
  }>, {
812
877
  required: boolean;
@@ -816,9 +881,9 @@ export declare const CmcToggle: DefineComponent<__VLS_PublicProps_8, {}, {}, {},
816
881
 
817
882
  export declare const CmcTooltip: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
818
883
 
819
- export declare const CmcWizard: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
884
+ export declare const CmcWizard: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
820
885
  "update:current": (value: number) => any;
821
- }, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{
886
+ }, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{
822
887
  "onUpdate:current"?: ((value: number) => any) | undefined;
823
888
  }>, {
824
889
  checkable: boolean;
@@ -987,6 +1052,13 @@ declare interface Props_8 {
987
1052
  title: string;
988
1053
  }
989
1054
 
1055
+ export declare interface RadioCardOption {
1056
+ value: string | number;
1057
+ label: string;
1058
+ description?: string;
1059
+ disabled?: boolean;
1060
+ }
1061
+
990
1062
  export declare type Rank = keyof typeof rankOptions;
991
1063
 
992
1064
  export declare const rankOptions: {