@choosemycompany/ui 0.16.0 → 0.17.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/assets/index.css +1 -1
- package/dist/index.d.ts +42 -24
- package/dist/index.js +1027 -968
- package/dist/index.umd.js +6 -6
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import { AlertStatus } from './CmcAlert';
|
|
2
|
+
import { ButtonProp } from '../../cmcTypes';
|
|
3
|
+
import { ButtonProp as ButtonProp_2 } from '../../../../../../../src/components/cmcTypes';
|
|
1
4
|
import { ColumnDefinition } from './components/Molecules/CmcTable/CmcTable';
|
|
2
5
|
import { ColumnDefinition as ColumnDefinition_2 } from './CmcTable.d.ts';
|
|
3
6
|
import { ColumnDefinition as ColumnDefinition_3 } from '../../Molecules/CmcTable/CmcTable';
|
|
@@ -8,25 +11,26 @@ import { PublicProps } from 'vue';
|
|
|
8
11
|
import { Row } from './CmcTable.d.ts';
|
|
9
12
|
import { Row as Row_2 } from '../../Molecules/CmcTable/CmcTable';
|
|
10
13
|
|
|
11
|
-
declare const __VLS_component: DefineComponent<
|
|
14
|
+
declare const __VLS_component: DefineComponent<Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
12
15
|
click: () => any;
|
|
13
|
-
}, string, PublicProps, Readonly<
|
|
16
|
+
}, string, PublicProps, Readonly<Props_2> & Readonly<{
|
|
14
17
|
onClick?: (() => any) | undefined;
|
|
15
18
|
}>, {
|
|
19
|
+
loading: boolean;
|
|
16
20
|
disabled: boolean;
|
|
21
|
+
kind: ButtonKind;
|
|
17
22
|
variant: ButtonVariant;
|
|
18
23
|
size: ButtonSize;
|
|
19
|
-
loading: boolean;
|
|
20
|
-
kind: ButtonKind;
|
|
21
24
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
22
25
|
|
|
23
26
|
declare const __VLS_component_2: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {
|
|
24
27
|
gap: ButtonGroupGap;
|
|
25
28
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
26
29
|
|
|
27
|
-
declare const __VLS_component_3: DefineComponent<
|
|
28
|
-
|
|
30
|
+
declare const __VLS_component_3: DefineComponent<Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<Props_3> & Readonly<{}>, {
|
|
31
|
+
color: string;
|
|
29
32
|
level: HeadingLevels;
|
|
33
|
+
margin: boolean;
|
|
30
34
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
31
35
|
|
|
32
36
|
declare const __VLS_component_4: DefineComponent<__VLS_PublicProps_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -34,9 +38,9 @@ declare const __VLS_component_4: DefineComponent<__VLS_PublicProps_3, {}, {}, {}
|
|
|
34
38
|
}, string, PublicProps, Readonly<__VLS_PublicProps_3> & Readonly<{
|
|
35
39
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
36
40
|
}>, {
|
|
41
|
+
type: inputType;
|
|
37
42
|
required: boolean;
|
|
38
43
|
disabled: boolean;
|
|
39
|
-
type: inputType;
|
|
40
44
|
variant: inputVariant;
|
|
41
45
|
size: inputSize;
|
|
42
46
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -44,11 +48,10 @@ declare const __VLS_component_4: DefineComponent<__VLS_PublicProps_3, {}, {}, {}
|
|
|
44
48
|
declare const __VLS_component_5: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
45
49
|
|
|
46
50
|
declare type __VLS_Props = {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
emptyValue?: string;
|
|
51
|
+
title: string;
|
|
52
|
+
message: string;
|
|
53
|
+
status: AlertStatus;
|
|
54
|
+
button?: ButtonProp;
|
|
52
55
|
};
|
|
53
56
|
|
|
54
57
|
declare type __VLS_Props_10 = {
|
|
@@ -68,7 +71,7 @@ declare type __VLS_Props_11 = {
|
|
|
68
71
|
status?: Status;
|
|
69
72
|
};
|
|
70
73
|
|
|
71
|
-
declare type __VLS_Props_12 =
|
|
74
|
+
declare type __VLS_Props_12 = Props_4;
|
|
72
75
|
|
|
73
76
|
declare type __VLS_Props_13 = {
|
|
74
77
|
itemsPerPage: number;
|
|
@@ -93,12 +96,11 @@ declare type __VLS_Props_15 = {
|
|
|
93
96
|
};
|
|
94
97
|
|
|
95
98
|
declare type __VLS_Props_2 = {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
size?: ButtonSize;
|
|
99
|
-
icon?: IconName;
|
|
100
|
-
disabled?: boolean;
|
|
99
|
+
items: string[];
|
|
100
|
+
label?: string;
|
|
101
101
|
loading?: boolean;
|
|
102
|
+
placeholder?: string;
|
|
103
|
+
emptyValue?: string;
|
|
102
104
|
};
|
|
103
105
|
|
|
104
106
|
declare type __VLS_Props_3 = {
|
|
@@ -153,7 +155,7 @@ declare type __VLS_Props_9 = {
|
|
|
153
155
|
|
|
154
156
|
declare type __VLS_PublicProps = {
|
|
155
157
|
modelValue?: string;
|
|
156
|
-
} &
|
|
158
|
+
} & __VLS_Props_2;
|
|
157
159
|
|
|
158
160
|
declare type __VLS_PublicProps_2 = {
|
|
159
161
|
modelValue?: boolean;
|
|
@@ -200,6 +202,7 @@ declare function __VLS_template_3(): {
|
|
|
200
202
|
default?(_: {}): any;
|
|
201
203
|
default?(_: {}): any;
|
|
202
204
|
default?(_: {}): any;
|
|
205
|
+
default?(_: {}): any;
|
|
203
206
|
};
|
|
204
207
|
refs: {};
|
|
205
208
|
rootEl: any;
|
|
@@ -308,14 +311,20 @@ declare interface CertificateProps {
|
|
|
308
311
|
height: number;
|
|
309
312
|
}
|
|
310
313
|
|
|
314
|
+
export declare const CmcAlert: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
315
|
+
click: () => any;
|
|
316
|
+
}, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
317
|
+
onClick?: (() => any) | undefined;
|
|
318
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
319
|
+
|
|
311
320
|
export declare const CmcAutocomplete: DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
312
321
|
"update:modelValue": (...args: any[]) => void;
|
|
313
322
|
}, string, PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
314
323
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
315
324
|
}>, {
|
|
316
|
-
label: string;
|
|
317
|
-
placeholder: string;
|
|
318
325
|
loading: boolean;
|
|
326
|
+
placeholder: string;
|
|
327
|
+
label: string;
|
|
319
328
|
emptyValue: string;
|
|
320
329
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
321
330
|
autocompleteRef: HTMLDivElement;
|
|
@@ -436,6 +445,7 @@ export declare const headingLevelOptions: {
|
|
|
436
445
|
readonly h2: "h2";
|
|
437
446
|
readonly h3: "h3";
|
|
438
447
|
readonly h4: "h4";
|
|
448
|
+
readonly h5: "h5";
|
|
439
449
|
};
|
|
440
450
|
|
|
441
451
|
declare type HeadingLevels = keyof typeof headingLevelOptions;
|
|
@@ -510,12 +520,19 @@ declare interface Props {
|
|
|
510
520
|
status: BadgePillStatus;
|
|
511
521
|
}
|
|
512
522
|
|
|
513
|
-
declare interface Props_2 {
|
|
514
|
-
|
|
523
|
+
declare interface Props_2 extends Omit<ButtonProp_2, "text"> {
|
|
524
|
+
kind?: ButtonKind;
|
|
525
|
+
variant?: ButtonVariant;
|
|
526
|
+
size?: ButtonSize;
|
|
527
|
+
}
|
|
528
|
+
|
|
529
|
+
declare interface Props_3 {
|
|
515
530
|
level: HeadingLevels;
|
|
531
|
+
color?: string;
|
|
532
|
+
margin?: boolean;
|
|
516
533
|
}
|
|
517
534
|
|
|
518
|
-
declare type
|
|
535
|
+
declare type Props_4<TRow extends Row = Row> = {
|
|
519
536
|
rows?: TRow[];
|
|
520
537
|
columns?: ColumnDefinition_2[];
|
|
521
538
|
emptyText?: string;
|
|
@@ -528,6 +545,7 @@ export declare const rankOptions: {
|
|
|
528
545
|
readonly silver: "silver";
|
|
529
546
|
readonly gold: "gold";
|
|
530
547
|
readonly platinum: "platinum";
|
|
548
|
+
readonly unranked: "unranked";
|
|
531
549
|
};
|
|
532
550
|
|
|
533
551
|
export declare interface SelectOption {
|