@choosemycompany/ui 0.21.1 → 0.21.3

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
@@ -8,11 +8,9 @@ import { ColumnDefinition as ColumnDefinition_3 } from '../../Molecules/CmcTable
8
8
  import { ComponentOptionsMixin } from 'vue';
9
9
  import { ComponentProvideOptions } from 'vue';
10
10
  import { DefineComponent } from 'vue';
11
- import { FieldMeta } from 'vee-validate';
12
11
  import { PublicProps } from 'vue';
13
12
  import { Row } from './CmcTable.d.ts';
14
13
  import { Row as Row_2 } from '../../Molecules/CmcTable/CmcTable';
15
- import { RuleExpression } from 'vee-validate';
16
14
 
17
15
  declare const __VLS_component: DefineComponent<Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
18
16
  click: () => any;
@@ -52,7 +50,11 @@ declare const __VLS_component_4: DefineComponent<__VLS_PublicProps_3, {}, {}, {}
52
50
 
53
51
  declare const __VLS_component_5: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
54
52
 
55
- declare const __VLS_component_6: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
53
+ declare const __VLS_component_6: DefineComponent<__VLS_Props_16, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
54
+ submit: () => any;
55
+ }, string, PublicProps, Readonly<__VLS_Props_16> & Readonly<{
56
+ onSubmit?: (() => any) | undefined;
57
+ }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
56
58
 
57
59
  declare const __VLS_component_7: DefineComponent<__VLS_Props_17, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_17> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLDivElement>;
58
60
 
@@ -106,13 +108,11 @@ declare type __VLS_Props_15 = {
106
108
  };
107
109
 
108
110
  declare type __VLS_Props_16 = {
109
- handleCallback: (values: FormValues) => void | Promise<void>;
110
111
  errors: ErrorItem[];
111
112
  };
112
113
 
113
114
  declare type __VLS_Props_17 = {
114
- name: string;
115
- rules?: Rules;
115
+ errorMessage?: string;
116
116
  };
117
117
 
118
118
  declare type __VLS_Props_2 = {
@@ -267,13 +267,7 @@ declare function __VLS_template_6(): {
267
267
  declare function __VLS_template_7(): {
268
268
  attrs: Partial<{}>;
269
269
  slots: {
270
- default?(_: {
271
- value: FieldValue;
272
- meta: FieldMeta<FieldValue>;
273
- errorMessage: string | undefined;
274
- onInput: (e: Event | unknown, shouldValidate?: boolean) => void;
275
- onBlur: (e?: Event, shouldValidate?: boolean) => void;
276
- }): any;
270
+ default?(_: {}): any;
277
271
  };
278
272
  refs: {};
279
273
  rootEl: HTMLDivElement;
@@ -540,15 +534,11 @@ export declare const CmcWizard: DefineComponent<__VLS_Props_15, {}, {}, {}, {},
540
534
 
541
535
  export { ColumnDefinition }
542
536
 
543
- declare type ErrorItem = {
537
+ export declare type ErrorItem = {
544
538
  field: string;
545
539
  message: string;
546
540
  };
547
541
 
548
- declare type FieldValue = string | number | undefined;
549
-
550
- declare type FormValues = Record<string, unknown>;
551
-
552
542
  export declare const headingLevelOptions: {
553
543
  readonly h1: "h1";
554
544
  readonly h2: "h2";
@@ -663,8 +653,6 @@ export declare const rankOptions: {
663
653
  readonly unranked: "unranked";
664
654
  };
665
655
 
666
- declare type Rules = RuleExpression<FieldValue> | undefined;
667
-
668
656
  export declare interface SelectOption {
669
657
  value: string | number;
670
658
  label: string;