@choosemycompany/ui 0.35.0 → 0.35.1

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
@@ -41,13 +41,13 @@ declare const __VLS_component: DefineComponent<Props_3, {}, {}, {}, {}, Componen
41
41
  multiline: boolean;
42
42
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
43
43
 
44
- declare const __VLS_component_10: DefineComponent<Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
44
+ declare const __VLS_component_10: DefineComponent<Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
45
45
  close: () => any;
46
- }, string, PublicProps, Readonly<Props_7> & Readonly<{
46
+ }, string, PublicProps, Readonly<Props_8> & Readonly<{
47
47
  onClose?: (() => any) | undefined;
48
48
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
49
49
 
50
- declare const __VLS_component_11: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {
50
+ declare const __VLS_component_11: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_23> & 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_14, {
86
+ declare const __VLS_component_5: DefineComponent<__VLS_Props_15, {
87
87
  selectedRows: ComputedRef<{
88
88
  expendedData?: ExpandedDataFn;
89
89
  }[]>;
90
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {
90
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & 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_14, {
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_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {
100
+ declare const __VLS_component_7: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_18> & 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_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
106
+ declare const __VLS_component_8: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
107
107
  submit: () => any;
108
- }, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{
108
+ }, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{
109
109
  onSubmit?: (() => any) | undefined;
110
110
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
111
111
 
112
- declare const __VLS_component_9: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
112
+ declare const __VLS_component_9: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
113
113
 
114
114
  declare type __VLS_Props = {
115
115
  title: string;
@@ -119,19 +119,26 @@ declare type __VLS_Props = {
119
119
  };
120
120
 
121
121
  declare type __VLS_Props_10 = {
122
+ value: number;
123
+ label?: string;
124
+ description?: string;
125
+ loading?: boolean;
126
+ };
127
+
128
+ declare type __VLS_Props_11 = {
122
129
  value: number | null;
123
130
  threshold?: number;
124
131
  loading?: boolean;
125
132
  };
126
133
 
127
- declare type __VLS_Props_11 = {
134
+ declare type __VLS_Props_12 = {
128
135
  compact?: boolean;
129
136
  variant?: InputVariant;
130
137
  label?: string;
131
138
  placeholder?: string;
132
139
  };
133
140
 
134
- declare type __VLS_Props_12 = {
141
+ declare type __VLS_Props_13 = {
135
142
  id: string;
136
143
  options: SelectOptions;
137
144
  label?: string;
@@ -157,14 +164,14 @@ declare type __VLS_Props_12 = {
157
164
  groupSelect?: boolean;
158
165
  };
159
166
 
160
- declare type __VLS_Props_13 = {
167
+ declare type __VLS_Props_14 = {
161
168
  text: string;
162
169
  status?: Status;
163
170
  };
164
171
 
165
- declare type __VLS_Props_14 = Props_6;
172
+ declare type __VLS_Props_15 = Props_7;
166
173
 
167
- declare type __VLS_Props_15 = {
174
+ declare type __VLS_Props_16 = {
168
175
  itemsPerPage: number;
169
176
  currentPage: number;
170
177
  rows?: Row_3[];
@@ -173,27 +180,23 @@ declare type __VLS_Props_15 = {
173
180
  emptyText?: string;
174
181
  };
175
182
 
176
- declare type __VLS_Props_16 = {
183
+ declare type __VLS_Props_17 = {
177
184
  id?: string;
178
185
  disabled?: boolean;
179
186
  required?: boolean;
180
187
  size?: ToggleSize;
181
188
  };
182
189
 
183
- declare type __VLS_Props_17 = {
190
+ declare type __VLS_Props_18 = {
184
191
  openOn?: TooltipOpenOn;
185
192
  };
186
193
 
187
- declare type __VLS_Props_18 = {
194
+ declare type __VLS_Props_19 = {
188
195
  steps: Step[];
189
196
  current: number;
190
197
  clickable?: boolean;
191
198
  };
192
199
 
193
- declare type __VLS_Props_19 = {
194
- errors: ErrorItem[];
195
- };
196
-
197
200
  declare type __VLS_Props_2 = {
198
201
  items: AutocompleteItem[];
199
202
  label?: string;
@@ -207,10 +210,14 @@ declare type __VLS_Props_2 = {
207
210
  };
208
211
 
209
212
  declare type __VLS_Props_20 = {
210
- errorMessage?: string;
213
+ errors: ErrorItem[];
211
214
  };
212
215
 
213
216
  declare type __VLS_Props_21 = {
217
+ errorMessage?: string;
218
+ };
219
+
220
+ declare type __VLS_Props_22 = {
214
221
  filterTypes: FilterTypeConfig[];
215
222
  filters: Filter[];
216
223
  title?: string;
@@ -220,7 +227,7 @@ declare type __VLS_Props_21 = {
220
227
  addFilterLabel?: string;
221
228
  };
222
229
 
223
- declare type __VLS_Props_22 = {
230
+ declare type __VLS_Props_23 = {
224
231
  navigation?: boolean;
225
232
  pagination?: boolean;
226
233
  slidesPerView?: number | "auto";
@@ -266,20 +273,15 @@ declare type __VLS_Props_6 = {
266
273
 
267
274
  declare type __VLS_Props_7 = Props_5;
268
275
 
269
- declare type __VLS_Props_8 = {
276
+ declare type __VLS_Props_8 = Props_6;
277
+
278
+ declare type __VLS_Props_9 = {
270
279
  currentPage: number;
271
280
  totalItems: number;
272
281
  itemsPerPage: number;
273
282
  visibleRange?: number;
274
283
  };
275
284
 
276
- declare type __VLS_Props_9 = {
277
- value: number;
278
- label?: string;
279
- description?: string;
280
- loading?: boolean;
281
- };
282
-
283
285
  declare type __VLS_PublicProps = {
284
286
  modelValue?: string | null;
285
287
  "search"?: string;
@@ -299,15 +301,19 @@ declare type __VLS_PublicProps_4 = {
299
301
 
300
302
  declare type __VLS_PublicProps_5 = {
301
303
  modelValue?: string;
302
- } & __VLS_Props_11;
304
+ } & __VLS_Props_8;
303
305
 
304
306
  declare type __VLS_PublicProps_6 = {
305
- modelValue?: string | number | string[] | number[];
307
+ modelValue?: string;
306
308
  } & __VLS_Props_12;
307
309
 
308
310
  declare type __VLS_PublicProps_7 = {
311
+ modelValue?: string | number | string[] | number[];
312
+ } & __VLS_Props_13;
313
+
314
+ declare type __VLS_PublicProps_8 = {
309
315
  modelValue?: boolean;
310
- } & __VLS_Props_16;
316
+ } & __VLS_Props_17;
311
317
 
312
318
  declare function __VLS_template(): {
313
319
  attrs: Partial<{}>;
@@ -650,11 +656,11 @@ export declare const CmcDatePicker: DefineComponent<__VLS_PublicProps_3, {}, {},
650
656
  monthPicker: boolean;
651
657
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
652
658
 
653
- export declare const CmcFilterModal: DefineComponent<__VLS_Props_21, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
659
+ export declare const CmcFilterModal: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
654
660
  close: () => any;
655
661
  apply: (filters: Filter[]) => any;
656
662
  erase: () => any;
657
- }, string, PublicProps, Readonly<__VLS_Props_21> & Readonly<{
663
+ }, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{
658
664
  onClose?: (() => any) | undefined;
659
665
  onApply?: ((filters: Filter[]) => any) | undefined;
660
666
  onErase?: (() => any) | undefined;
@@ -672,7 +678,7 @@ export declare const CmcForm: __VLS_WithTemplateSlots_8<typeof __VLS_component_8
672
678
 
673
679
  export declare const CmcFormField: __VLS_WithTemplateSlots_9<typeof __VLS_component_9, __VLS_TemplateResult_9["slots"]>;
674
680
 
675
- export declare const CmcGauge: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
681
+ export declare const CmcGauge: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
676
682
 
677
683
  export declare const CmcHeading: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
678
684
 
@@ -688,17 +694,17 @@ export declare const CmcLogo: DefineSetupFnComponent<Record<string, any>, {}, {}
688
694
 
689
695
  export declare const CmcModal: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
690
696
 
691
- export declare const CmcPagination: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
697
+ export declare const CmcPagination: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
692
698
  "update:currentPage": (page: number) => any;
693
- }, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
699
+ }, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
694
700
  "onUpdate:currentPage"?: ((page: number) => any) | undefined;
695
701
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
696
702
 
697
- export declare const CmcProgressBar: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
703
+ export declare const CmcProgressBar: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
698
704
 
699
- export declare const CmcSearch: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
705
+ export declare const CmcSearch: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
700
706
  "update:modelValue": (value: string) => any;
701
- }, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
707
+ }, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
702
708
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
703
709
  }>, {
704
710
  placeholder: string;
@@ -706,12 +712,12 @@ export declare const CmcSearch: DefineComponent<__VLS_PublicProps_5, {}, {}, {},
706
712
  compact: boolean;
707
713
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
708
714
 
709
- export declare const CmcSelect: DefineComponent<__VLS_PublicProps_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
715
+ export declare const CmcSelect: DefineComponent<__VLS_PublicProps_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
710
716
  select: (option: SelectOption, id: string) => any;
711
717
  "update:modelValue": (...args: unknown[]) => any;
712
718
  remove: (option: SelectOption, id: string) => any;
713
719
  "search-change": (searchQuery: string) => any;
714
- }, string, PublicProps, Readonly<__VLS_PublicProps_6> & Readonly<{
720
+ }, string, PublicProps, Readonly<__VLS_PublicProps_7> & Readonly<{
715
721
  onSelect?: ((option: SelectOption, id: string) => any) | undefined;
716
722
  "onUpdate:modelValue"?: ((...args: unknown[]) => any) | undefined;
717
723
  onRemove?: ((option: SelectOption, id: string) => any) | undefined;
@@ -762,7 +768,7 @@ export declare const CmcSelect: DefineComponent<__VLS_PublicProps_6, {}, {}, {},
762
768
  }, {} & {} & {}> | null;
763
769
  }, HTMLDivElement>;
764
770
 
765
- export declare const CmcStatus: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{}>, {
771
+ export declare const CmcStatus: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{}>, {
766
772
  status: Status;
767
773
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
768
774
 
@@ -770,22 +776,34 @@ export declare const CmcSwiper: __VLS_WithTemplateSlots_11<typeof __VLS_componen
770
776
 
771
777
  export declare const CmcTable: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
772
778
 
773
- export declare const CmcTablePagination: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
779
+ export declare const CmcTablePagination: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
774
780
  "update:currentPage": (page: number) => any;
775
- }, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{
781
+ }, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
776
782
  "onUpdate:currentPage"?: ((page: number) => any) | undefined;
777
783
  }>, {
784
+ rows: Row_3[];
778
785
  currentPage: number;
779
786
  itemsPerPage: number;
780
- rows: Row_3[];
781
787
  columns: ColumnDefinition_3[];
782
788
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
783
789
 
790
+ export declare const CmcTextarea: DefineComponent<__VLS_PublicProps_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
791
+ "update:modelValue": (...args: any[]) => void;
792
+ }, string, PublicProps, Readonly<__VLS_PublicProps_5> & Readonly<{
793
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
794
+ }>, {
795
+ required: boolean;
796
+ disabled: boolean;
797
+ variant: InputVariant;
798
+ invalid: boolean;
799
+ rows: number;
800
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
801
+
784
802
  export declare const CmcTitle: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
785
803
 
786
- export declare const CmcToggle: DefineComponent<__VLS_PublicProps_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
804
+ export declare const CmcToggle: DefineComponent<__VLS_PublicProps_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
787
805
  "update:modelValue": (value: boolean) => any;
788
- }, string, PublicProps, Readonly<__VLS_PublicProps_7> & Readonly<{
806
+ }, string, PublicProps, Readonly<__VLS_PublicProps_8> & Readonly<{
789
807
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
790
808
  }>, {
791
809
  required: boolean;
@@ -795,9 +813,9 @@ export declare const CmcToggle: DefineComponent<__VLS_PublicProps_7, {}, {}, {},
795
813
 
796
814
  export declare const CmcTooltip: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
797
815
 
798
- export declare const CmcWizard: DefineComponent<__VLS_Props_18, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
816
+ export declare const CmcWizard: DefineComponent<__VLS_Props_19, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
799
817
  "update:current": (value: number) => any;
800
- }, string, PublicProps, Readonly<__VLS_Props_18> & Readonly<{
818
+ }, string, PublicProps, Readonly<__VLS_Props_19> & Readonly<{
801
819
  "onUpdate:current"?: ((value: number) => any) | undefined;
802
820
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
803
821
 
@@ -939,7 +957,19 @@ declare interface Props_5 {
939
957
  step?: number;
940
958
  }
941
959
 
942
- declare type Props_6<TRow extends Row = Row> = {
960
+ declare interface Props_6 {
961
+ id: string;
962
+ label?: string;
963
+ placeholder?: string;
964
+ required?: boolean;
965
+ disabled?: boolean;
966
+ invalid?: boolean;
967
+ variant?: InputVariant;
968
+ description?: string;
969
+ rows?: number;
970
+ }
971
+
972
+ declare type Props_7<TRow extends Row = Row> = {
943
973
  rows?: TRow[];
944
974
  columns?: ColumnDefinition_2[];
945
975
  emptyText?: string;
@@ -948,7 +978,7 @@ declare type Props_6<TRow extends Row = Row> = {
948
978
  defaultExpandedIndexes?: number[];
949
979
  };
950
980
 
951
- declare interface Props_7 {
981
+ declare interface Props_8 {
952
982
  title: string;
953
983
  }
954
984