@choosemycompany/ui 0.42.0 → 0.44.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 +121 -21
- package/dist/index.js +5609 -4932
- package/dist/index.umd.js +420 -12
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -27,6 +27,8 @@ import { Row } from './CmcTable.d.ts';
|
|
|
27
27
|
import { Row as Row_2 } from '@tanstack/vue-table';
|
|
28
28
|
import { Row as Row_3 } from '../../Molecules/CmcTable/CmcTable';
|
|
29
29
|
import { RowData } from './CmcTable.d.ts';
|
|
30
|
+
import { ToastStatus } from './components/Atoms/CmcToast/CmcToast';
|
|
31
|
+
import { ToastStatus as ToastStatus_2 } from './CmcToast';
|
|
30
32
|
|
|
31
33
|
declare const __VLS_component: DefineComponent<Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
32
34
|
click: () => any;
|
|
@@ -35,6 +37,7 @@ declare const __VLS_component: DefineComponent<Props_3, {}, {}, {}, {}, Componen
|
|
|
35
37
|
}>, {
|
|
36
38
|
loading: boolean;
|
|
37
39
|
type: ButtonType;
|
|
40
|
+
iconPosition: "left" | "right";
|
|
38
41
|
disabled: boolean;
|
|
39
42
|
kind: ButtonKind;
|
|
40
43
|
variant: ButtonVariant;
|
|
@@ -45,9 +48,11 @@ declare const __VLS_component_10: DefineComponent<Props_8, {}, {}, {}, {}, Compo
|
|
|
45
48
|
close: () => any;
|
|
46
49
|
}, string, PublicProps, Readonly<Props_8> & Readonly<{
|
|
47
50
|
onClose?: (() => any) | undefined;
|
|
48
|
-
}>, {
|
|
51
|
+
}>, {
|
|
52
|
+
teleport: boolean;
|
|
53
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
49
54
|
|
|
50
|
-
declare const __VLS_component_11: DefineComponent<
|
|
55
|
+
declare const __VLS_component_11: DefineComponent<__VLS_Props_28, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_28> & Readonly<{}>, {
|
|
51
56
|
pagination: boolean;
|
|
52
57
|
navigation: boolean;
|
|
53
58
|
slidesPerView: number | "auto";
|
|
@@ -97,7 +102,7 @@ declare const __VLS_component_5: DefineComponent<__VLS_Props_18, {
|
|
|
97
102
|
|
|
98
103
|
declare const __VLS_component_6: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
99
104
|
|
|
100
|
-
declare const __VLS_component_7: DefineComponent<
|
|
105
|
+
declare const __VLS_component_7: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {
|
|
101
106
|
openOn: TooltipOpenOn;
|
|
102
107
|
placement: TooltipPlacement;
|
|
103
108
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
@@ -105,13 +110,13 @@ declare const __VLS_component_7: DefineComponent<__VLS_Props_21, {}, {}, {}, {},
|
|
|
105
110
|
tooltipRef: HTMLDivElement;
|
|
106
111
|
}, any>;
|
|
107
112
|
|
|
108
|
-
declare const __VLS_component_8: DefineComponent<
|
|
113
|
+
declare const __VLS_component_8: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
109
114
|
submit: () => any;
|
|
110
|
-
}, string, PublicProps, Readonly<
|
|
115
|
+
}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{
|
|
111
116
|
onSubmit?: (() => any) | undefined;
|
|
112
117
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
113
118
|
|
|
114
|
-
declare const __VLS_component_9: DefineComponent<
|
|
119
|
+
declare const __VLS_component_9: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
115
120
|
|
|
116
121
|
declare type __VLS_Props = {
|
|
117
122
|
title: string;
|
|
@@ -221,33 +226,45 @@ declare type __VLS_Props_2 = {
|
|
|
221
226
|
};
|
|
222
227
|
|
|
223
228
|
declare type __VLS_Props_20 = {
|
|
229
|
+
message: string;
|
|
230
|
+
status: ToastStatus_2;
|
|
231
|
+
closable?: boolean;
|
|
232
|
+
duration?: number;
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
declare type __VLS_Props_21 = {
|
|
224
236
|
id?: string;
|
|
225
237
|
disabled?: boolean;
|
|
226
238
|
required?: boolean;
|
|
227
239
|
size?: ToggleSize;
|
|
228
240
|
};
|
|
229
241
|
|
|
230
|
-
declare type
|
|
242
|
+
declare type __VLS_Props_22 = {
|
|
231
243
|
openOn?: TooltipOpenOn;
|
|
232
244
|
placement?: TooltipPlacement;
|
|
233
245
|
};
|
|
234
246
|
|
|
235
|
-
declare type
|
|
247
|
+
declare type __VLS_Props_23 = {
|
|
236
248
|
steps: Step[];
|
|
237
249
|
current: number;
|
|
238
250
|
checkable?: boolean;
|
|
239
251
|
clickable?: boolean;
|
|
240
252
|
};
|
|
241
253
|
|
|
242
|
-
declare type
|
|
254
|
+
declare type __VLS_Props_24 = {
|
|
243
255
|
errors: ErrorItem[];
|
|
244
256
|
};
|
|
245
257
|
|
|
246
|
-
declare type
|
|
258
|
+
declare type __VLS_Props_25 = {
|
|
247
259
|
errorMessage?: string;
|
|
248
260
|
};
|
|
249
261
|
|
|
250
|
-
declare type
|
|
262
|
+
declare type __VLS_Props_26 = {
|
|
263
|
+
options: FilterChipsOption[];
|
|
264
|
+
ariaLabel?: string;
|
|
265
|
+
};
|
|
266
|
+
|
|
267
|
+
declare type __VLS_Props_27 = {
|
|
251
268
|
filterTypes: FilterTypeConfig[];
|
|
252
269
|
filters: Filter[];
|
|
253
270
|
title?: string;
|
|
@@ -257,7 +274,7 @@ declare type __VLS_Props_25 = {
|
|
|
257
274
|
addFilterLabel?: string;
|
|
258
275
|
};
|
|
259
276
|
|
|
260
|
-
declare type
|
|
277
|
+
declare type __VLS_Props_28 = {
|
|
261
278
|
navigation?: boolean;
|
|
262
279
|
pagination?: boolean;
|
|
263
280
|
slidesPerView?: number | "auto";
|
|
@@ -324,7 +341,11 @@ declare type __VLS_PublicProps_10 = {
|
|
|
324
341
|
|
|
325
342
|
declare type __VLS_PublicProps_11 = {
|
|
326
343
|
modelValue?: boolean;
|
|
327
|
-
} &
|
|
344
|
+
} & __VLS_Props_21;
|
|
345
|
+
|
|
346
|
+
declare type __VLS_PublicProps_12 = {
|
|
347
|
+
modelValue?: string | number;
|
|
348
|
+
} & __VLS_Props_26;
|
|
328
349
|
|
|
329
350
|
declare type __VLS_PublicProps_2 = {
|
|
330
351
|
modelValue?: boolean;
|
|
@@ -373,7 +394,7 @@ declare function __VLS_template_10(): {
|
|
|
373
394
|
default?(_: {}): any;
|
|
374
395
|
};
|
|
375
396
|
refs: {};
|
|
376
|
-
rootEl:
|
|
397
|
+
rootEl: any;
|
|
377
398
|
};
|
|
378
399
|
|
|
379
400
|
declare function __VLS_template_11(): {
|
|
@@ -619,8 +640,8 @@ export declare const buttonVariantOptions: {
|
|
|
619
640
|
};
|
|
620
641
|
|
|
621
642
|
declare interface CertificateProps {
|
|
622
|
-
primaryType:
|
|
623
|
-
rank?:
|
|
643
|
+
primaryType: PrimaryType_2;
|
|
644
|
+
rank?: Rank_2;
|
|
624
645
|
period: number;
|
|
625
646
|
month?: Month_2;
|
|
626
647
|
country: string;
|
|
@@ -671,7 +692,7 @@ export declare const CmcButton: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
|
671
692
|
export declare const CmcButtonGroup: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
672
693
|
|
|
673
694
|
export declare const CmcCertificate: DefineComponent<CertificateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CertificateProps> & Readonly<{}>, {
|
|
674
|
-
rank:
|
|
695
|
+
rank: Rank_2;
|
|
675
696
|
version: CertificateVersion;
|
|
676
697
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
677
698
|
|
|
@@ -702,11 +723,20 @@ export declare const CmcDatePicker: DefineComponent<__VLS_PublicProps_3, {}, {},
|
|
|
702
723
|
yearPicker: boolean;
|
|
703
724
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
704
725
|
|
|
705
|
-
export declare const
|
|
726
|
+
export declare const CmcFilterChips: DefineComponent<__VLS_PublicProps_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
727
|
+
"update:modelValue": (value: string | number) => any;
|
|
728
|
+
} & {
|
|
729
|
+
change: (value: string | number) => any;
|
|
730
|
+
}, string, PublicProps, Readonly<__VLS_PublicProps_12> & Readonly<{
|
|
731
|
+
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
732
|
+
onChange?: ((value: string | number) => any) | undefined;
|
|
733
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
734
|
+
|
|
735
|
+
export declare const CmcFilterModal: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
706
736
|
close: () => any;
|
|
707
737
|
apply: (filters: Filter[]) => any;
|
|
708
738
|
erase: () => any;
|
|
709
|
-
}, string, PublicProps, Readonly<
|
|
739
|
+
}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{
|
|
710
740
|
onClose?: (() => any) | undefined;
|
|
711
741
|
onApply?: ((filters: Filter[]) => any) | undefined;
|
|
712
742
|
onErase?: (() => any) | undefined;
|
|
@@ -738,6 +768,11 @@ export declare const CmcLoading: DefineComponent<{}, {}, {}, {}, {}, ComponentOp
|
|
|
738
768
|
|
|
739
769
|
export declare const CmcLogo: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
740
770
|
|
|
771
|
+
export declare const CmcMedal: DefineComponent<MedalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<MedalProps> & Readonly<{}>, {
|
|
772
|
+
rank: Rank;
|
|
773
|
+
version: MedalVersion;
|
|
774
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
775
|
+
|
|
741
776
|
export declare const CmcModal: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
742
777
|
|
|
743
778
|
export declare const CmcPagination: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
@@ -875,6 +910,15 @@ export declare const CmcTextarea: DefineComponent<__VLS_PublicProps_5, {}, {}, {
|
|
|
875
910
|
|
|
876
911
|
export declare const CmcTitle: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
877
912
|
|
|
913
|
+
export declare const CmcToast: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
914
|
+
close: () => any;
|
|
915
|
+
}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{
|
|
916
|
+
onClose?: (() => any) | undefined;
|
|
917
|
+
}>, {
|
|
918
|
+
closable: boolean;
|
|
919
|
+
duration: number;
|
|
920
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
921
|
+
|
|
878
922
|
export declare const CmcToggle: DefineComponent<__VLS_PublicProps_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
879
923
|
"update:modelValue": (value: boolean) => any;
|
|
880
924
|
}, string, PublicProps, Readonly<__VLS_PublicProps_11> & Readonly<{
|
|
@@ -887,9 +931,9 @@ export declare const CmcToggle: DefineComponent<__VLS_PublicProps_11, {}, {}, {}
|
|
|
887
931
|
|
|
888
932
|
export declare const CmcTooltip: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
889
933
|
|
|
890
|
-
export declare const CmcWizard: DefineComponent<
|
|
934
|
+
export declare const CmcWizard: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
891
935
|
"update:current": (value: number) => any;
|
|
892
|
-
}, string, PublicProps, Readonly<
|
|
936
|
+
}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{
|
|
893
937
|
"onUpdate:current"?: ((value: number) => any) | undefined;
|
|
894
938
|
}>, {
|
|
895
939
|
checkable: boolean;
|
|
@@ -933,6 +977,11 @@ export declare interface Filter {
|
|
|
933
977
|
dateValue?: Date | Date[] | null;
|
|
934
978
|
}
|
|
935
979
|
|
|
980
|
+
export declare interface FilterChipsOption {
|
|
981
|
+
value: string | number;
|
|
982
|
+
label: string;
|
|
983
|
+
}
|
|
984
|
+
|
|
936
985
|
export declare interface FilterTypeConfig {
|
|
937
986
|
value: string;
|
|
938
987
|
label: string;
|
|
@@ -987,10 +1036,30 @@ export declare const inputVariantOptions: {
|
|
|
987
1036
|
readonly borderless: "borderless";
|
|
988
1037
|
};
|
|
989
1038
|
|
|
1039
|
+
declare interface MedalProps {
|
|
1040
|
+
primaryType: PrimaryType;
|
|
1041
|
+
rank?: Rank;
|
|
1042
|
+
period: number;
|
|
1043
|
+
month?: Month_2;
|
|
1044
|
+
country: string;
|
|
1045
|
+
width?: number;
|
|
1046
|
+
height?: number;
|
|
1047
|
+
version?: MedalVersion;
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
export declare type MedalVersion = (typeof medalVersionOptions)[keyof typeof medalVersionOptions];
|
|
1051
|
+
|
|
1052
|
+
export declare const medalVersionOptions: {
|
|
1053
|
+
readonly cmc2026: "cmc-2026";
|
|
1054
|
+
readonly cmc2026haw: "cmc-2026-haw";
|
|
1055
|
+
};
|
|
1056
|
+
|
|
990
1057
|
export { Month }
|
|
991
1058
|
|
|
992
1059
|
export declare type PrimaryType = keyof typeof primaryTypeOptions;
|
|
993
1060
|
|
|
1061
|
+
declare type PrimaryType_2 = keyof typeof primaryTypeOptions_2;
|
|
1062
|
+
|
|
994
1063
|
export declare const primaryTypeOptions: {
|
|
995
1064
|
readonly employees: "employees";
|
|
996
1065
|
readonly trainees: "trainees";
|
|
@@ -1001,6 +1070,16 @@ export declare const primaryTypeOptions: {
|
|
|
1001
1070
|
readonly students: "students";
|
|
1002
1071
|
};
|
|
1003
1072
|
|
|
1073
|
+
declare const primaryTypeOptions_2: {
|
|
1074
|
+
readonly employees: "employees";
|
|
1075
|
+
readonly trainees: "trainees";
|
|
1076
|
+
readonly candidates: "candidates";
|
|
1077
|
+
readonly clients: "clients";
|
|
1078
|
+
readonly shareholders: "shareholders";
|
|
1079
|
+
readonly suppliers: "suppliers";
|
|
1080
|
+
readonly students: "students";
|
|
1081
|
+
};
|
|
1082
|
+
|
|
1004
1083
|
declare interface Props {
|
|
1005
1084
|
items: BreadcrumbItem[];
|
|
1006
1085
|
}
|
|
@@ -1066,6 +1145,7 @@ declare type Props_7<TRow extends Row = Row> = {
|
|
|
1066
1145
|
|
|
1067
1146
|
declare interface Props_8 {
|
|
1068
1147
|
title: string;
|
|
1148
|
+
teleport?: boolean;
|
|
1069
1149
|
}
|
|
1070
1150
|
|
|
1071
1151
|
export declare interface RadioCardOption {
|
|
@@ -1077,6 +1157,8 @@ export declare interface RadioCardOption {
|
|
|
1077
1157
|
|
|
1078
1158
|
export declare type Rank = keyof typeof rankOptions;
|
|
1079
1159
|
|
|
1160
|
+
declare type Rank_2 = keyof typeof rankOptions_2;
|
|
1161
|
+
|
|
1080
1162
|
export declare const rankOptions: {
|
|
1081
1163
|
readonly attestation: "attestation";
|
|
1082
1164
|
readonly bronze: "bronze";
|
|
@@ -1086,6 +1168,15 @@ export declare const rankOptions: {
|
|
|
1086
1168
|
readonly unranked: "unranked";
|
|
1087
1169
|
};
|
|
1088
1170
|
|
|
1171
|
+
declare const rankOptions_2: {
|
|
1172
|
+
readonly attestation: "attestation";
|
|
1173
|
+
readonly bronze: "bronze";
|
|
1174
|
+
readonly silver: "silver";
|
|
1175
|
+
readonly gold: "gold";
|
|
1176
|
+
readonly platinum: "platinum";
|
|
1177
|
+
readonly unranked: "unranked";
|
|
1178
|
+
};
|
|
1179
|
+
|
|
1089
1180
|
export declare interface SelectOption {
|
|
1090
1181
|
value: string | number;
|
|
1091
1182
|
label: string;
|
|
@@ -1112,6 +1203,15 @@ declare type Step = {
|
|
|
1112
1203
|
icon?: string;
|
|
1113
1204
|
};
|
|
1114
1205
|
|
|
1206
|
+
export { ToastStatus }
|
|
1207
|
+
|
|
1208
|
+
export declare const toastStatusOptions: {
|
|
1209
|
+
readonly error: "error";
|
|
1210
|
+
readonly info: "info";
|
|
1211
|
+
readonly success: "success";
|
|
1212
|
+
readonly warning: "warning";
|
|
1213
|
+
};
|
|
1214
|
+
|
|
1115
1215
|
declare type ToggleSize = keyof typeof toggleSizeOptions;
|
|
1116
1216
|
|
|
1117
1217
|
declare const toggleSizeOptions: {
|