@choosemycompany/ui 0.33.2 → 0.35.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/index.d.ts CHANGED
@@ -18,6 +18,8 @@ import { GlobalComponents } from 'vue';
18
18
  import { GlobalDirectives } from 'vue';
19
19
  import { HoverMenuConfig } from './CmcTable.d.ts';
20
20
  import { MethodOptions } from 'vue';
21
+ import { Month } from './types';
22
+ import { Month as Month_2 } from '../../../../../../../src/types';
21
23
  import { MultiselectMixinProps } from 'vue-multiselect';
22
24
  import { PointerMixinProps } from 'vue-multiselect';
23
25
  import { PublicProps } from 'vue';
@@ -45,6 +47,20 @@ declare const __VLS_component_10: DefineComponent<Props_7, {}, {}, {}, {}, Compo
45
47
  onClose?: (() => any) | undefined;
46
48
  }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
47
49
 
50
+ declare const __VLS_component_11: DefineComponent<__VLS_Props_22, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_22> & Readonly<{}>, {
51
+ pagination: boolean;
52
+ navigation: boolean;
53
+ slidesPerView: number | "auto";
54
+ loop: boolean;
55
+ speed: number;
56
+ peek: boolean;
57
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {
58
+ prevRef: HTMLButtonElement;
59
+ nextRef: HTMLButtonElement;
60
+ swiperRef: unknown;
61
+ paginationRef: HTMLDivElement;
62
+ }, HTMLDivElement>;
63
+
48
64
  declare const __VLS_component_2: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {
49
65
  gap: ButtonGroupGap;
50
66
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
@@ -204,6 +220,15 @@ declare type __VLS_Props_21 = {
204
220
  addFilterLabel?: string;
205
221
  };
206
222
 
223
+ declare type __VLS_Props_22 = {
224
+ navigation?: boolean;
225
+ pagination?: boolean;
226
+ slidesPerView?: number | "auto";
227
+ loop?: boolean;
228
+ speed?: number;
229
+ peek?: boolean;
230
+ };
231
+
207
232
  declare type __VLS_Props_3 = {
208
233
  gap: ButtonGroupGap;
209
234
  };
@@ -302,6 +327,20 @@ declare function __VLS_template_10(): {
302
327
  rootEl: HTMLDivElement;
303
328
  };
304
329
 
330
+ declare function __VLS_template_11(): {
331
+ attrs: Partial<{}>;
332
+ slots: {
333
+ default?(_: {}): any;
334
+ };
335
+ refs: {
336
+ prevRef: HTMLButtonElement;
337
+ nextRef: HTMLButtonElement;
338
+ swiperRef: unknown;
339
+ paginationRef: HTMLDivElement;
340
+ };
341
+ rootEl: HTMLDivElement;
342
+ };
343
+
305
344
  declare function __VLS_template_2(): {
306
345
  attrs: Partial<{}>;
307
346
  slots: {
@@ -391,6 +430,8 @@ declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
391
430
 
392
431
  declare type __VLS_TemplateResult_10 = ReturnType<typeof __VLS_template_10>;
393
432
 
433
+ declare type __VLS_TemplateResult_11 = ReturnType<typeof __VLS_template_11>;
434
+
394
435
  declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
395
436
 
396
437
  declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
@@ -419,6 +460,12 @@ declare type __VLS_WithTemplateSlots_10<T, S> = T & {
419
460
  };
420
461
  };
421
462
 
463
+ declare type __VLS_WithTemplateSlots_11<T, S> = T & {
464
+ new (): {
465
+ $slots: S;
466
+ };
467
+ };
468
+
422
469
  declare type __VLS_WithTemplateSlots_2<T, S> = T & {
423
470
  new (): {
424
471
  $slots: S;
@@ -525,12 +572,20 @@ declare interface CertificateProps {
525
572
  primaryType: PrimaryType;
526
573
  rank?: Rank;
527
574
  period: number;
528
- month?: Month;
575
+ month?: Month_2;
529
576
  country: string;
530
577
  width?: number;
531
578
  height?: number;
579
+ version?: CertificateVersion;
532
580
  }
533
581
 
582
+ export declare type CertificateVersion = (typeof certificateVersionOptions)[keyof typeof certificateVersionOptions];
583
+
584
+ export declare const certificateVersionOptions: {
585
+ readonly cmc2026: "cmc-2026";
586
+ readonly cmc2026haw: "cmc-2026-haw";
587
+ };
588
+
534
589
  export declare const CmcAlert: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
535
590
  click: () => any;
536
591
  }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
@@ -566,6 +621,7 @@ export declare const CmcButtonGroup: __VLS_WithTemplateSlots_2<typeof __VLS_comp
566
621
 
567
622
  export declare const CmcCertificate: DefineComponent<CertificateProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<CertificateProps> & Readonly<{}>, {
568
623
  rank: Rank;
624
+ version: CertificateVersion;
569
625
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
570
626
 
571
627
  export declare const CmcCheckbox: DefineComponent<__VLS_PublicProps_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
@@ -710,6 +766,8 @@ export declare const CmcStatus: DefineComponent<__VLS_Props_13, {}, {}, {}, {},
710
766
  status: Status;
711
767
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
712
768
 
769
+ export declare const CmcSwiper: __VLS_WithTemplateSlots_11<typeof __VLS_component_11, __VLS_TemplateResult_11["slots"]>;
770
+
713
771
  export declare const CmcTable: __VLS_WithTemplateSlots_5<typeof __VLS_component_5, __VLS_TemplateResult_5["slots"]>;
714
772
 
715
773
  export declare const CmcTablePagination: DefineComponent<__VLS_Props_15, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
@@ -825,9 +883,9 @@ export declare const inputVariantOptions: {
825
883
  readonly borderless: "borderless";
826
884
  };
827
885
 
828
- declare type Month = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
886
+ export { Month }
829
887
 
830
- declare type PrimaryType = keyof typeof primaryTypeOptions;
888
+ export declare type PrimaryType = keyof typeof primaryTypeOptions;
831
889
 
832
890
  export declare const primaryTypeOptions: {
833
891
  readonly employees: "employees";
@@ -894,7 +952,7 @@ declare interface Props_7 {
894
952
  title: string;
895
953
  }
896
954
 
897
- declare type Rank = keyof typeof rankOptions;
955
+ export declare type Rank = keyof typeof rankOptions;
898
956
 
899
957
  export declare const rankOptions: {
900
958
  readonly attestation: "attestation";