@choosemycompany/ui 0.9.3 → 0.11.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 +57 -37
- package/dist/index.js +667 -615
- package/dist/index.umd.js +5 -5
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -29,14 +29,14 @@ declare const __VLS_component_4: DefineComponent<__VLS_PublicProps_2, {}, {}, {}
|
|
|
29
29
|
}, string, PublicProps, Readonly<__VLS_PublicProps_2> & Readonly<{
|
|
30
30
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
|
-
type:
|
|
32
|
+
type: inputType;
|
|
33
33
|
required: boolean;
|
|
34
|
-
variant:
|
|
35
|
-
size:
|
|
34
|
+
variant: inputVariant;
|
|
35
|
+
size: inputSize;
|
|
36
36
|
disabled: boolean;
|
|
37
37
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
38
38
|
|
|
39
|
-
declare const __VLS_component_5: DefineComponent<
|
|
39
|
+
declare const __VLS_component_5: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{}>, {
|
|
40
40
|
gap: ButtonGroupGap;
|
|
41
41
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
42
42
|
|
|
@@ -49,9 +49,16 @@ declare type __VLS_Props = {
|
|
|
49
49
|
loading?: boolean;
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
-
declare type __VLS_Props_10 =
|
|
52
|
+
declare type __VLS_Props_10 = {
|
|
53
|
+
currentPage: number;
|
|
54
|
+
totalItems: number;
|
|
55
|
+
itemsPerPage: number;
|
|
56
|
+
visibleRange?: number;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
declare type __VLS_Props_11 = Props;
|
|
53
60
|
|
|
54
|
-
declare type
|
|
61
|
+
declare type __VLS_Props_12 = {
|
|
55
62
|
itemsPerPage: number;
|
|
56
63
|
currentPage: number;
|
|
57
64
|
rows?: Row_2[];
|
|
@@ -60,20 +67,20 @@ declare type __VLS_Props_11 = {
|
|
|
60
67
|
emptyText?: string;
|
|
61
68
|
};
|
|
62
69
|
|
|
63
|
-
declare type
|
|
70
|
+
declare type __VLS_Props_13 = {
|
|
64
71
|
href?: string;
|
|
65
72
|
variant?: LogoVariant;
|
|
66
73
|
language?: LogoLanguage;
|
|
67
74
|
size?: LogoSize;
|
|
68
75
|
};
|
|
69
76
|
|
|
70
|
-
declare type
|
|
77
|
+
declare type __VLS_Props_14 = {
|
|
71
78
|
steps: Step[];
|
|
72
79
|
current: number;
|
|
73
80
|
clickable?: boolean;
|
|
74
81
|
};
|
|
75
82
|
|
|
76
|
-
declare type
|
|
83
|
+
declare type __VLS_Props_15 = {
|
|
77
84
|
items: string[];
|
|
78
85
|
label?: string;
|
|
79
86
|
loading?: boolean;
|
|
@@ -96,8 +103,8 @@ declare type __VLS_Props_4 = {
|
|
|
96
103
|
};
|
|
97
104
|
|
|
98
105
|
declare type __VLS_Props_5 = {
|
|
99
|
-
size?:
|
|
100
|
-
variant?:
|
|
106
|
+
size?: inputSize;
|
|
107
|
+
variant?: inputVariant;
|
|
101
108
|
placeholder?: string;
|
|
102
109
|
};
|
|
103
110
|
|
|
@@ -108,9 +115,9 @@ declare type __VLS_Props_6 = {
|
|
|
108
115
|
required?: boolean;
|
|
109
116
|
disabled?: boolean;
|
|
110
117
|
errorMessage?: string;
|
|
111
|
-
type?:
|
|
112
|
-
variant?:
|
|
113
|
-
size?:
|
|
118
|
+
type?: inputType;
|
|
119
|
+
variant?: inputVariant;
|
|
120
|
+
size?: inputSize;
|
|
114
121
|
description?: string;
|
|
115
122
|
};
|
|
116
123
|
|
|
@@ -127,14 +134,13 @@ declare type __VLS_Props_7 = {
|
|
|
127
134
|
};
|
|
128
135
|
|
|
129
136
|
declare type __VLS_Props_8 = {
|
|
130
|
-
|
|
137
|
+
id?: string;
|
|
138
|
+
disabled?: boolean;
|
|
139
|
+
required?: boolean;
|
|
131
140
|
};
|
|
132
141
|
|
|
133
142
|
declare type __VLS_Props_9 = {
|
|
134
|
-
|
|
135
|
-
totalItems: number;
|
|
136
|
-
itemsPerPage: number;
|
|
137
|
-
visibleRange?: number;
|
|
143
|
+
gap: ButtonGroupGap;
|
|
138
144
|
};
|
|
139
145
|
|
|
140
146
|
declare type __VLS_PublicProps = {
|
|
@@ -149,6 +155,10 @@ declare type __VLS_PublicProps_3 = {
|
|
|
149
155
|
modelValue?: string | number;
|
|
150
156
|
} & __VLS_Props_7;
|
|
151
157
|
|
|
158
|
+
declare type __VLS_PublicProps_4 = {
|
|
159
|
+
modelValue?: boolean;
|
|
160
|
+
} & __VLS_Props_8;
|
|
161
|
+
|
|
152
162
|
declare function __VLS_template(): {
|
|
153
163
|
attrs: Partial<{}>;
|
|
154
164
|
slots: {
|
|
@@ -267,7 +277,7 @@ export declare const buttonVariantOptions: {
|
|
|
267
277
|
readonly danger: "danger";
|
|
268
278
|
};
|
|
269
279
|
|
|
270
|
-
export declare const CmcAutocomplete: DefineComponent<
|
|
280
|
+
export declare const CmcAutocomplete: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_15> & Readonly<{}>, {
|
|
271
281
|
loading: boolean;
|
|
272
282
|
placeholder: string;
|
|
273
283
|
label: string;
|
|
@@ -280,19 +290,28 @@ export declare const CmcButton: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
|
280
290
|
|
|
281
291
|
export declare const CmcButtonGroup: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
|
|
282
292
|
|
|
293
|
+
export declare const CmcCheckbox: DefineComponent<__VLS_PublicProps_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
294
|
+
"update:modelValue": (value: boolean) => any;
|
|
295
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_4> & Readonly<{
|
|
296
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
297
|
+
}>, {
|
|
298
|
+
required: boolean;
|
|
299
|
+
disabled: boolean;
|
|
300
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
301
|
+
|
|
283
302
|
export declare const CmcHeading: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
284
303
|
|
|
285
304
|
export declare const CmcIcon: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {
|
|
286
305
|
name: IconName;
|
|
287
306
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
288
307
|
|
|
289
|
-
export declare const
|
|
308
|
+
export declare const CmcInput: __VLS_WithTemplateSlots_4<typeof __VLS_component_4, __VLS_TemplateResult_4["slots"]>;
|
|
290
309
|
|
|
291
310
|
export declare const CmcLoading: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLImageElement>;
|
|
292
311
|
|
|
293
|
-
export declare const CmcLogo: DefineComponent<
|
|
312
|
+
export declare const CmcLogo: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
294
313
|
click: () => any;
|
|
295
|
-
}, string, PublicProps, Readonly<
|
|
314
|
+
}, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
|
|
296
315
|
onClick?: (() => any) | undefined;
|
|
297
316
|
}>, {
|
|
298
317
|
variant: LogoVariant;
|
|
@@ -300,9 +319,9 @@ export declare const CmcLogo: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, Co
|
|
|
300
319
|
language: LogoLanguage;
|
|
301
320
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLAnchorElement>;
|
|
302
321
|
|
|
303
|
-
export declare const CmcPagination: DefineComponent<
|
|
322
|
+
export declare const CmcPagination: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
304
323
|
"update:currentPage": (page: number) => any;
|
|
305
|
-
}, string, PublicProps, Readonly<
|
|
324
|
+
}, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{
|
|
306
325
|
"onUpdate:currentPage"?: ((page: number) => any) | undefined;
|
|
307
326
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLElement>;
|
|
308
327
|
|
|
@@ -312,7 +331,7 @@ export declare const CmcSearch: DefineComponent<__VLS_PublicProps, {}, {}, {}, {
|
|
|
312
331
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
313
332
|
}>, {
|
|
314
333
|
placeholder: string;
|
|
315
|
-
size:
|
|
334
|
+
size: inputSize;
|
|
316
335
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
317
336
|
|
|
318
337
|
export declare const CmcSelect: DefineComponent<__VLS_PublicProps_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -329,15 +348,15 @@ export declare const CmcStatus: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, C
|
|
|
329
348
|
status: Status;
|
|
330
349
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
331
350
|
|
|
332
|
-
export declare const CmcTable: DefineComponent<
|
|
351
|
+
export declare const CmcTable: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{}>, {
|
|
333
352
|
rows: Row[];
|
|
334
353
|
emptyText: string;
|
|
335
354
|
columns: ColumnDefinition_2[];
|
|
336
355
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLTableElement>;
|
|
337
356
|
|
|
338
|
-
export declare const CmcTablePagination: DefineComponent<
|
|
357
|
+
export declare const CmcTablePagination: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
339
358
|
"update:currentPage": (page: number) => any;
|
|
340
|
-
}, string, PublicProps, Readonly<
|
|
359
|
+
}, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
|
|
341
360
|
"onUpdate:currentPage"?: ((page: number) => any) | undefined;
|
|
342
361
|
}>, {
|
|
343
362
|
currentPage: number;
|
|
@@ -348,9 +367,9 @@ export declare const CmcTablePagination: DefineComponent<__VLS_Props_11, {}, {},
|
|
|
348
367
|
|
|
349
368
|
export declare const CmcTitle: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
350
369
|
|
|
351
|
-
export declare const CmcWizard: DefineComponent<
|
|
370
|
+
export declare const CmcWizard: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
352
371
|
"update:current": (value: number) => any;
|
|
353
|
-
}, string, PublicProps, Readonly<
|
|
372
|
+
}, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{
|
|
354
373
|
"onUpdate:current"?: ((value: number) => any) | undefined;
|
|
355
374
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
356
375
|
|
|
@@ -375,23 +394,24 @@ declare type IconName = keyof typeof iconNameOptions;
|
|
|
375
394
|
|
|
376
395
|
export declare const iconNameOptions: Record<string, string>;
|
|
377
396
|
|
|
378
|
-
declare type
|
|
397
|
+
declare type inputSize = keyof typeof inputSizeOptions;
|
|
379
398
|
|
|
380
|
-
export declare const
|
|
399
|
+
export declare const inputSizeOptions: {
|
|
381
400
|
readonly small: "small";
|
|
382
401
|
readonly medium: "medium";
|
|
383
402
|
};
|
|
384
403
|
|
|
385
|
-
declare type
|
|
404
|
+
declare type inputType = keyof typeof inputTypeOptions;
|
|
386
405
|
|
|
387
|
-
export declare const
|
|
406
|
+
export declare const inputTypeOptions: {
|
|
388
407
|
readonly text: "text";
|
|
408
|
+
readonly number: "number";
|
|
389
409
|
readonly search: "search";
|
|
390
410
|
};
|
|
391
411
|
|
|
392
|
-
declare type
|
|
412
|
+
declare type inputVariant = keyof typeof inputVariantOptions;
|
|
393
413
|
|
|
394
|
-
export declare const
|
|
414
|
+
export declare const inputVariantOptions: {
|
|
395
415
|
readonly outlined: "outlined";
|
|
396
416
|
readonly filled: "filled";
|
|
397
417
|
readonly underline: "underline";
|