@choosemycompany/ui 0.41.4 → 0.43.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 +92 -19
- package/dist/index.js +5217 -4605
- 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;
|
|
@@ -47,7 +49,7 @@ declare const __VLS_component_10: DefineComponent<Props_8, {}, {}, {}, {}, Compo
|
|
|
47
49
|
onClose?: (() => any) | undefined;
|
|
48
50
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
49
51
|
|
|
50
|
-
declare const __VLS_component_11: DefineComponent<
|
|
52
|
+
declare const __VLS_component_11: DefineComponent<__VLS_Props_27, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_27> & Readonly<{}>, {
|
|
51
53
|
pagination: boolean;
|
|
52
54
|
navigation: boolean;
|
|
53
55
|
slidesPerView: number | "auto";
|
|
@@ -97,7 +99,7 @@ declare const __VLS_component_5: DefineComponent<__VLS_Props_18, {
|
|
|
97
99
|
|
|
98
100
|
declare const __VLS_component_6: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
99
101
|
|
|
100
|
-
declare const __VLS_component_7: DefineComponent<
|
|
102
|
+
declare const __VLS_component_7: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {
|
|
101
103
|
openOn: TooltipOpenOn;
|
|
102
104
|
placement: TooltipPlacement;
|
|
103
105
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
@@ -105,13 +107,13 @@ declare const __VLS_component_7: DefineComponent<__VLS_Props_21, {}, {}, {}, {},
|
|
|
105
107
|
tooltipRef: HTMLDivElement;
|
|
106
108
|
}, any>;
|
|
107
109
|
|
|
108
|
-
declare const __VLS_component_8: DefineComponent<
|
|
110
|
+
declare const __VLS_component_8: DefineComponent<__VLS_Props_24, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
109
111
|
submit: () => any;
|
|
110
|
-
}, string, PublicProps, Readonly<
|
|
112
|
+
}, string, PublicProps, Readonly<__VLS_Props_24> & Readonly<{
|
|
111
113
|
onSubmit?: (() => any) | undefined;
|
|
112
114
|
}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
113
115
|
|
|
114
|
-
declare const __VLS_component_9: DefineComponent<
|
|
116
|
+
declare const __VLS_component_9: DefineComponent<__VLS_Props_25, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_25> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
115
117
|
|
|
116
118
|
declare type __VLS_Props = {
|
|
117
119
|
title: string;
|
|
@@ -221,33 +223,40 @@ declare type __VLS_Props_2 = {
|
|
|
221
223
|
};
|
|
222
224
|
|
|
223
225
|
declare type __VLS_Props_20 = {
|
|
226
|
+
message: string;
|
|
227
|
+
status: ToastStatus_2;
|
|
228
|
+
closable?: boolean;
|
|
229
|
+
duration?: number;
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
declare type __VLS_Props_21 = {
|
|
224
233
|
id?: string;
|
|
225
234
|
disabled?: boolean;
|
|
226
235
|
required?: boolean;
|
|
227
236
|
size?: ToggleSize;
|
|
228
237
|
};
|
|
229
238
|
|
|
230
|
-
declare type
|
|
239
|
+
declare type __VLS_Props_22 = {
|
|
231
240
|
openOn?: TooltipOpenOn;
|
|
232
241
|
placement?: TooltipPlacement;
|
|
233
242
|
};
|
|
234
243
|
|
|
235
|
-
declare type
|
|
244
|
+
declare type __VLS_Props_23 = {
|
|
236
245
|
steps: Step[];
|
|
237
246
|
current: number;
|
|
238
247
|
checkable?: boolean;
|
|
239
248
|
clickable?: boolean;
|
|
240
249
|
};
|
|
241
250
|
|
|
242
|
-
declare type
|
|
251
|
+
declare type __VLS_Props_24 = {
|
|
243
252
|
errors: ErrorItem[];
|
|
244
253
|
};
|
|
245
254
|
|
|
246
|
-
declare type
|
|
255
|
+
declare type __VLS_Props_25 = {
|
|
247
256
|
errorMessage?: string;
|
|
248
257
|
};
|
|
249
258
|
|
|
250
|
-
declare type
|
|
259
|
+
declare type __VLS_Props_26 = {
|
|
251
260
|
filterTypes: FilterTypeConfig[];
|
|
252
261
|
filters: Filter[];
|
|
253
262
|
title?: string;
|
|
@@ -257,7 +266,7 @@ declare type __VLS_Props_25 = {
|
|
|
257
266
|
addFilterLabel?: string;
|
|
258
267
|
};
|
|
259
268
|
|
|
260
|
-
declare type
|
|
269
|
+
declare type __VLS_Props_27 = {
|
|
261
270
|
navigation?: boolean;
|
|
262
271
|
pagination?: boolean;
|
|
263
272
|
slidesPerView?: number | "auto";
|
|
@@ -324,7 +333,7 @@ declare type __VLS_PublicProps_10 = {
|
|
|
324
333
|
|
|
325
334
|
declare type __VLS_PublicProps_11 = {
|
|
326
335
|
modelValue?: boolean;
|
|
327
|
-
} &
|
|
336
|
+
} & __VLS_Props_21;
|
|
328
337
|
|
|
329
338
|
declare type __VLS_PublicProps_2 = {
|
|
330
339
|
modelValue?: boolean;
|
|
@@ -619,8 +628,8 @@ export declare const buttonVariantOptions: {
|
|
|
619
628
|
};
|
|
620
629
|
|
|
621
630
|
declare interface CertificateProps {
|
|
622
|
-
primaryType:
|
|
623
|
-
rank?:
|
|
631
|
+
primaryType: PrimaryType_2;
|
|
632
|
+
rank?: Rank_2;
|
|
624
633
|
period: number;
|
|
625
634
|
month?: Month_2;
|
|
626
635
|
country: string;
|
|
@@ -671,7 +680,7 @@ export declare const CmcButton: __VLS_WithTemplateSlots<typeof __VLS_component,
|
|
|
671
680
|
export declare const CmcButtonGroup: __VLS_WithTemplateSlots_2<typeof __VLS_component_2, __VLS_TemplateResult_2["slots"]>;
|
|
672
681
|
|
|
673
682
|
export declare const CmcCertificate: DefineComponent<CertificateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CertificateProps> & Readonly<{}>, {
|
|
674
|
-
rank:
|
|
683
|
+
rank: Rank_2;
|
|
675
684
|
version: CertificateVersion;
|
|
676
685
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
677
686
|
|
|
@@ -702,11 +711,11 @@ export declare const CmcDatePicker: DefineComponent<__VLS_PublicProps_3, {}, {},
|
|
|
702
711
|
yearPicker: boolean;
|
|
703
712
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
704
713
|
|
|
705
|
-
export declare const CmcFilterModal: DefineComponent<
|
|
714
|
+
export declare const CmcFilterModal: DefineComponent<__VLS_Props_26, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
706
715
|
close: () => any;
|
|
707
716
|
apply: (filters: Filter[]) => any;
|
|
708
717
|
erase: () => any;
|
|
709
|
-
}, string, PublicProps, Readonly<
|
|
718
|
+
}, string, PublicProps, Readonly<__VLS_Props_26> & Readonly<{
|
|
710
719
|
onClose?: (() => any) | undefined;
|
|
711
720
|
onApply?: ((filters: Filter[]) => any) | undefined;
|
|
712
721
|
onErase?: (() => any) | undefined;
|
|
@@ -738,6 +747,11 @@ export declare const CmcLoading: DefineComponent<{}, {}, {}, {}, {}, ComponentOp
|
|
|
738
747
|
|
|
739
748
|
export declare const CmcLogo: DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, PublicProps>;
|
|
740
749
|
|
|
750
|
+
export declare const CmcMedal: DefineComponent<MedalProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<MedalProps> & Readonly<{}>, {
|
|
751
|
+
rank: Rank;
|
|
752
|
+
version: MedalVersion;
|
|
753
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
754
|
+
|
|
741
755
|
export declare const CmcModal: __VLS_WithTemplateSlots_10<typeof __VLS_component_10, __VLS_TemplateResult_10["slots"]>;
|
|
742
756
|
|
|
743
757
|
export declare const CmcPagination: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
@@ -875,6 +889,15 @@ export declare const CmcTextarea: DefineComponent<__VLS_PublicProps_5, {}, {}, {
|
|
|
875
889
|
|
|
876
890
|
export declare const CmcTitle: __VLS_WithTemplateSlots_6<typeof __VLS_component_6, __VLS_TemplateResult_6["slots"]>;
|
|
877
891
|
|
|
892
|
+
export declare const CmcToast: DefineComponent<__VLS_Props_20, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
893
|
+
close: () => any;
|
|
894
|
+
}, string, PublicProps, Readonly<__VLS_Props_20> & Readonly<{
|
|
895
|
+
onClose?: (() => any) | undefined;
|
|
896
|
+
}>, {
|
|
897
|
+
closable: boolean;
|
|
898
|
+
duration: number;
|
|
899
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
900
|
+
|
|
878
901
|
export declare const CmcToggle: DefineComponent<__VLS_PublicProps_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
879
902
|
"update:modelValue": (value: boolean) => any;
|
|
880
903
|
}, string, PublicProps, Readonly<__VLS_PublicProps_11> & Readonly<{
|
|
@@ -887,9 +910,9 @@ export declare const CmcToggle: DefineComponent<__VLS_PublicProps_11, {}, {}, {}
|
|
|
887
910
|
|
|
888
911
|
export declare const CmcTooltip: __VLS_WithTemplateSlots_7<typeof __VLS_component_7, __VLS_TemplateResult_7["slots"]>;
|
|
889
912
|
|
|
890
|
-
export declare const CmcWizard: DefineComponent<
|
|
913
|
+
export declare const CmcWizard: DefineComponent<__VLS_Props_23, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
|
|
891
914
|
"update:current": (value: number) => any;
|
|
892
|
-
}, string, PublicProps, Readonly<
|
|
915
|
+
}, string, PublicProps, Readonly<__VLS_Props_23> & Readonly<{
|
|
893
916
|
"onUpdate:current"?: ((value: number) => any) | undefined;
|
|
894
917
|
}>, {
|
|
895
918
|
checkable: boolean;
|
|
@@ -987,10 +1010,30 @@ export declare const inputVariantOptions: {
|
|
|
987
1010
|
readonly borderless: "borderless";
|
|
988
1011
|
};
|
|
989
1012
|
|
|
1013
|
+
declare interface MedalProps {
|
|
1014
|
+
primaryType: PrimaryType;
|
|
1015
|
+
rank?: Rank;
|
|
1016
|
+
period: number;
|
|
1017
|
+
month?: Month_2;
|
|
1018
|
+
country: string;
|
|
1019
|
+
width?: number;
|
|
1020
|
+
height?: number;
|
|
1021
|
+
version?: MedalVersion;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
export declare type MedalVersion = (typeof medalVersionOptions)[keyof typeof medalVersionOptions];
|
|
1025
|
+
|
|
1026
|
+
export declare const medalVersionOptions: {
|
|
1027
|
+
readonly cmc2026: "cmc-2026";
|
|
1028
|
+
readonly cmc2026haw: "cmc-2026-haw";
|
|
1029
|
+
};
|
|
1030
|
+
|
|
990
1031
|
export { Month }
|
|
991
1032
|
|
|
992
1033
|
export declare type PrimaryType = keyof typeof primaryTypeOptions;
|
|
993
1034
|
|
|
1035
|
+
declare type PrimaryType_2 = keyof typeof primaryTypeOptions_2;
|
|
1036
|
+
|
|
994
1037
|
export declare const primaryTypeOptions: {
|
|
995
1038
|
readonly employees: "employees";
|
|
996
1039
|
readonly trainees: "trainees";
|
|
@@ -1001,6 +1044,16 @@ export declare const primaryTypeOptions: {
|
|
|
1001
1044
|
readonly students: "students";
|
|
1002
1045
|
};
|
|
1003
1046
|
|
|
1047
|
+
declare const primaryTypeOptions_2: {
|
|
1048
|
+
readonly employees: "employees";
|
|
1049
|
+
readonly trainees: "trainees";
|
|
1050
|
+
readonly candidates: "candidates";
|
|
1051
|
+
readonly clients: "clients";
|
|
1052
|
+
readonly shareholders: "shareholders";
|
|
1053
|
+
readonly suppliers: "suppliers";
|
|
1054
|
+
readonly students: "students";
|
|
1055
|
+
};
|
|
1056
|
+
|
|
1004
1057
|
declare interface Props {
|
|
1005
1058
|
items: BreadcrumbItem[];
|
|
1006
1059
|
}
|
|
@@ -1077,6 +1130,8 @@ export declare interface RadioCardOption {
|
|
|
1077
1130
|
|
|
1078
1131
|
export declare type Rank = keyof typeof rankOptions;
|
|
1079
1132
|
|
|
1133
|
+
declare type Rank_2 = keyof typeof rankOptions_2;
|
|
1134
|
+
|
|
1080
1135
|
export declare const rankOptions: {
|
|
1081
1136
|
readonly attestation: "attestation";
|
|
1082
1137
|
readonly bronze: "bronze";
|
|
@@ -1086,6 +1141,15 @@ export declare const rankOptions: {
|
|
|
1086
1141
|
readonly unranked: "unranked";
|
|
1087
1142
|
};
|
|
1088
1143
|
|
|
1144
|
+
declare const rankOptions_2: {
|
|
1145
|
+
readonly attestation: "attestation";
|
|
1146
|
+
readonly bronze: "bronze";
|
|
1147
|
+
readonly silver: "silver";
|
|
1148
|
+
readonly gold: "gold";
|
|
1149
|
+
readonly platinum: "platinum";
|
|
1150
|
+
readonly unranked: "unranked";
|
|
1151
|
+
};
|
|
1152
|
+
|
|
1089
1153
|
export declare interface SelectOption {
|
|
1090
1154
|
value: string | number;
|
|
1091
1155
|
label: string;
|
|
@@ -1112,6 +1176,15 @@ declare type Step = {
|
|
|
1112
1176
|
icon?: string;
|
|
1113
1177
|
};
|
|
1114
1178
|
|
|
1179
|
+
export { ToastStatus }
|
|
1180
|
+
|
|
1181
|
+
export declare const toastStatusOptions: {
|
|
1182
|
+
readonly error: "error";
|
|
1183
|
+
readonly info: "info";
|
|
1184
|
+
readonly success: "success";
|
|
1185
|
+
readonly warning: "warning";
|
|
1186
|
+
};
|
|
1187
|
+
|
|
1115
1188
|
declare type ToggleSize = keyof typeof toggleSizeOptions;
|
|
1116
1189
|
|
|
1117
1190
|
declare const toggleSizeOptions: {
|