toku-form-extensions 0.0.7 → 0.0.9

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.
@@ -1,5 +1,6 @@
1
1
  import { ComponentOptionsMixin } from 'vue/types/v3-component-options';
2
- import { DefineComponent, PropType, ExtractPropTypes } from 'vue';
2
+ import { DefineComponent, ExtractPropTypes, PropType } from 'vue';
3
+ import { SignupField } from '../../types/signUpField';
3
4
  import { Account } from '../../types/entities';
4
5
  interface SignupRequestData {
5
6
  additional_data: Record<string, string | number | Date>;
@@ -10,174 +11,56 @@ interface SignupRequestData {
10
11
  [key: string]: string | number | boolean | Record<string, string | number | Date>;
11
12
  }
12
13
  type SubmitFormStatus = 'success' | 'error';
13
- declare const _default: DefineComponent<{
14
- accounts: {
15
- type: PropType<Account[]>;
16
- required: true;
17
- };
18
- errorMessage: {
19
- type: PropType<string>;
20
- default: string;
21
- };
22
- errorButtonLabel: {
23
- type: PropType<string>;
24
- default: string;
25
- };
26
- successMessage: {
27
- type: PropType<string>;
28
- default: string;
29
- };
30
- successButtonLabel: {
31
- type: PropType<string>;
32
- default: string;
33
- };
34
- customerFields: {
35
- type: PropType<SignupField[]>;
36
- required: true;
37
- };
38
- invoiceFields: {
39
- type: PropType<SignupField[]>;
40
- required: true;
41
- };
42
- showSendByEmail: {
43
- type: PropType<boolean>;
44
- required: true;
45
- };
46
- countryIso: {
47
- type: PropType<string | null>;
48
- required: true;
49
- };
50
- disableSubmit: {
51
- type: PropType<boolean>;
52
- required: true;
53
- };
54
- isLoading: {
55
- type: PropType<boolean>;
56
- required: true;
57
- };
58
- submitFormStatus: {
59
- type: PropType<SubmitFormStatus>;
60
- required: true;
61
- };
62
- signupCompleted: {
63
- type: PropType<boolean>;
64
- required: true;
65
- };
66
- isAutocompleteEnabled: {
67
- type: PropType<boolean>;
68
- required: true;
69
- };
70
- invoiceFieldsTitle: {
71
- type: PropType<string>;
72
- default: string;
73
- };
74
- customerFieldsTitle: {
75
- type: PropType<string>;
76
- default: string;
77
- };
78
- buttonLabel: {
79
- type: PropType<string>;
80
- default: string;
81
- };
82
- sendByEmailText: {
83
- type: PropType<string>;
84
- default: string;
85
- };
86
- useRows: {
87
- type: PropType<boolean>;
88
- default: boolean;
89
- };
90
- buttonColor: {
91
- type: PropType<string>;
92
- default: string;
93
- };
94
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
14
+ interface CustomFormProps {
15
+ customerFields: SignupField[];
16
+ invoiceFields: SignupField[];
17
+ showSendByEmail: boolean;
18
+ countryIso: string | null;
19
+ disableSubmit: boolean;
20
+ isLoading: boolean;
21
+ submitFormStatus: SubmitFormStatus;
22
+ signupCompleted: boolean;
23
+ isAutocompleteEnabled: boolean;
24
+ accounts: Account[];
25
+ invoiceFieldsTitle?: string;
26
+ customerFieldsTitle?: string;
27
+ buttonLabel?: string;
28
+ sendByEmailText?: string;
29
+ errorMessage?: string;
30
+ errorButtonLabel?: string;
31
+ successMessage?: string;
32
+ successButtonLabel?: string;
33
+ useRows?: boolean;
34
+ buttonColor?: string;
35
+ }
36
+ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CustomFormProps>, {
37
+ invoiceFieldsTitle: string;
38
+ customerFieldsTitle: string;
39
+ buttonLabel: string;
40
+ sendByEmailText: string;
41
+ errorMessage: string;
42
+ errorButtonLabel: string;
43
+ successMessage: string;
44
+ successButtonLabel: string;
45
+ useRows: boolean;
46
+ buttonColor: string;
47
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
95
48
  "submit-form-data": (values: SignupRequestData) => void;
96
49
  reset: () => void;
97
50
  "autocomplete-subscription": (productId: string) => void;
98
51
  "autocomplete-external-id": (externalId: string) => void;
99
- }, string, Readonly<ExtractPropTypes<{
100
- accounts: {
101
- type: PropType<Account[]>;
102
- required: true;
103
- };
104
- errorMessage: {
105
- type: PropType<string>;
106
- default: string;
107
- };
108
- errorButtonLabel: {
109
- type: PropType<string>;
110
- default: string;
111
- };
112
- successMessage: {
113
- type: PropType<string>;
114
- default: string;
115
- };
116
- successButtonLabel: {
117
- type: PropType<string>;
118
- default: string;
119
- };
120
- customerFields: {
121
- type: PropType<SignupField[]>;
122
- required: true;
123
- };
124
- invoiceFields: {
125
- type: PropType<SignupField[]>;
126
- required: true;
127
- };
128
- showSendByEmail: {
129
- type: PropType<boolean>;
130
- required: true;
131
- };
132
- countryIso: {
133
- type: PropType<string | null>;
134
- required: true;
135
- };
136
- disableSubmit: {
137
- type: PropType<boolean>;
138
- required: true;
139
- };
140
- isLoading: {
141
- type: PropType<boolean>;
142
- required: true;
143
- };
144
- submitFormStatus: {
145
- type: PropType<SubmitFormStatus>;
146
- required: true;
147
- };
148
- signupCompleted: {
149
- type: PropType<boolean>;
150
- required: true;
151
- };
152
- isAutocompleteEnabled: {
153
- type: PropType<boolean>;
154
- required: true;
155
- };
156
- invoiceFieldsTitle: {
157
- type: PropType<string>;
158
- default: string;
159
- };
160
- customerFieldsTitle: {
161
- type: PropType<string>;
162
- default: string;
163
- };
164
- buttonLabel: {
165
- type: PropType<string>;
166
- default: string;
167
- };
168
- sendByEmailText: {
169
- type: PropType<string>;
170
- default: string;
171
- };
172
- useRows: {
173
- type: PropType<boolean>;
174
- default: boolean;
175
- };
176
- buttonColor: {
177
- type: PropType<string>;
178
- default: string;
179
- };
180
- }>>, {
52
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<CustomFormProps>, {
53
+ invoiceFieldsTitle: string;
54
+ customerFieldsTitle: string;
55
+ buttonLabel: string;
56
+ sendByEmailText: string;
57
+ errorMessage: string;
58
+ errorButtonLabel: string;
59
+ successMessage: string;
60
+ successButtonLabel: string;
61
+ useRows: boolean;
62
+ buttonColor: string;
63
+ }>>>, {
181
64
  errorMessage: string;
182
65
  errorButtonLabel: string;
183
66
  successMessage: string;
@@ -190,4 +73,18 @@ declare const _default: DefineComponent<{
190
73
  buttonColor: string;
191
74
  }>;
192
75
  export default _default;
76
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
77
+ type __VLS_TypePropsToRuntimeProps<T> = {
78
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
79
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
80
+ } : {
81
+ type: PropType<T[K]>;
82
+ required: true;
83
+ };
84
+ };
85
+ type __VLS_WithDefaults<P, D> = {
86
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
87
+ default: D[K];
88
+ }> : P[K];
89
+ };
193
90
  //# sourceMappingURL=CustomForm.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"CustomForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CustomForm/CustomForm"],"names":[],"mappings":"AA2DA;AAOA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAO3C,OAAO,yBAAyB,CAAC;AACjC,OAAO,sBAAsB,CAAC;AAI9B,UAAU,iBAAiB;IACzB,eAAe,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC,CAAC;IACxD,iBAAiB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC,CAAC;IAC1D,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC,CAAC;IAC9D,gBAAgB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC,CAAC;IACzD,SAAS,EAAE,OAAO,CAAC;IACnB,CAAC,GAAG,EAAE,MAAM,GACR,MAAM,GACN,MAAM,GACN,OAAO,GACP,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC,CAAC;CAC5C;AAED,KAAK,gBAAgB,GAAG,SAAS,GAAG,OAAO,CAAC;;;;;;;;;;;;;;;;;;;;;;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,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC"}
@@ -1,51 +1,39 @@
1
1
  import { ComponentOptionsMixin } from 'vue/types/v3-component-options';
2
- import { DefineComponent, PropType, ExtractPropTypes } from 'vue';
3
- declare const _default: DefineComponent<{
4
- type: {
5
- type: PropType<"error" | "success">;
6
- required: true;
7
- default: string;
8
- };
9
- errorMessage: {
10
- type: PropType<string>;
11
- required: true;
12
- };
13
- errorButtonLabel: {
14
- type: PropType<string>;
15
- required: true;
16
- };
17
- successMessage: {
18
- type: PropType<string>;
19
- required: true;
20
- };
21
- successButtonLabel: {
22
- type: PropType<string>;
23
- required: true;
24
- };
25
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "reset"[], string, Readonly<ExtractPropTypes<{
26
- type: {
27
- type: PropType<"error" | "success">;
28
- required: true;
29
- default: string;
30
- };
31
- errorMessage: {
32
- type: PropType<string>;
33
- required: true;
34
- };
35
- errorButtonLabel: {
36
- type: PropType<string>;
37
- required: true;
38
- };
39
- successMessage: {
40
- type: PropType<string>;
41
- required: true;
42
- };
43
- successButtonLabel: {
44
- type: PropType<string>;
45
- required: true;
46
- };
47
- }>>, {
48
- type: "error" | "success";
2
+ import { DefineComponent, ExtractPropTypes, PropType } from 'vue';
3
+ declare const _default: DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
4
+ type: 'success' | 'error';
5
+ errorMessage: string;
6
+ errorButtonLabel: string;
7
+ successMessage: string;
8
+ successButtonLabel: string;
9
+ }>, {
10
+ type: string;
11
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
12
+ reset: (...args: any[]) => void;
13
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
14
+ type: 'success' | 'error';
15
+ errorMessage: string;
16
+ errorButtonLabel: string;
17
+ successMessage: string;
18
+ successButtonLabel: string;
19
+ }>, {
20
+ type: string;
21
+ }>>>, {
22
+ type: 'success' | 'error';
49
23
  }>;
50
24
  export default _default;
25
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
+ type __VLS_TypePropsToRuntimeProps<T> = {
27
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
28
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
29
+ } : {
30
+ type: PropType<T[K]>;
31
+ required: true;
32
+ };
33
+ };
34
+ type __VLS_WithDefaults<P, D> = {
35
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
36
+ default: D[K];
37
+ }> : P[K];
38
+ };
51
39
  //# sourceMappingURL=SignupCompleted.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SignupCompleted.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CustomForm/SignupCompleted"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6HA,wBAAkD"}
1
+ {"version":3,"file":"SignupCompleted.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CustomForm/SignupCompleted"],"names":[],"mappings":"AAUA;;UAiIU,SAAS,GAAG,OAAO;kBACX,MAAM;sBACF,MAAM;oBACR,MAAM;wBACF,MAAM;;;;;;UAJpB,SAAS,GAAG,OAAO;kBACX,MAAM;sBACF,MAAM;oBACR,MAAM;wBACF,MAAM;;;;UAJpB,SAAS,GAAG,OAAO;;AAF7B,wBAaG;AAGH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC"}
@@ -1,97 +1,34 @@
1
1
  import { ComponentOptionsMixin } from 'vue/types/v3-component-options';
2
- import { DefineComponent, PropType, ExtractPropTypes } from 'vue';
2
+ import { DefineComponent, ExtractPropTypes, PropType } from 'vue';
3
3
  import { InputFieldRegex } from '../../types/inputField';
4
- declare const _default: DefineComponent<{
5
- id: {
6
- type: PropType<string>;
7
- required: true;
8
- };
9
- value: {
10
- type: PropType<string | number | Date>;
11
- };
12
- label: {
13
- type: PropType<string>;
14
- };
15
- disabled: {
16
- type: PropType<boolean>;
17
- };
18
- displayInfo: {
19
- type: PropType<boolean>;
20
- };
21
- type: {
22
- type: PropType<string>;
23
- };
24
- decimals: {
25
- type: PropType<number>;
26
- };
27
- leftIcon: {
28
- type: PropType<string>;
29
- };
30
- rightIcon: {
31
- type: PropType<string>;
32
- };
33
- placeholder: {
34
- type: PropType<string>;
35
- };
36
- helperText: {
37
- type: PropType<string>;
38
- };
39
- errorText: {
40
- type: PropType<string>;
41
- };
42
- required: {
43
- type: PropType<boolean>;
44
- };
45
- regex: {
46
- type: PropType<InputFieldRegex>;
47
- };
48
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
4
+ type SignUpFieldProps = {
5
+ id: string;
6
+ value?: string | number | Date;
7
+ label?: string;
8
+ disabled?: boolean;
9
+ displayInfo?: boolean;
10
+ type?: string;
11
+ decimals?: number;
12
+ leftIcon?: string;
13
+ rightIcon?: string;
14
+ placeholder?: string;
15
+ helperText?: string;
16
+ errorText?: string;
17
+ required?: boolean;
18
+ regex?: InputFieldRegex;
19
+ };
20
+ declare const _default: DefineComponent<__VLS_TypePropsToRuntimeProps<SignUpFieldProps>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
49
21
  input: (value: string | number | Date) => void;
50
22
  "right-icon-click": () => void;
51
- }, string, Readonly<ExtractPropTypes<{
52
- id: {
53
- type: PropType<string>;
23
+ }, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<SignUpFieldProps>>>, {}>;
24
+ export default _default;
25
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
+ type __VLS_TypePropsToRuntimeProps<T> = {
27
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
28
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
29
+ } : {
30
+ type: PropType<T[K]>;
54
31
  required: true;
55
32
  };
56
- value: {
57
- type: PropType<string | number | Date>;
58
- };
59
- label: {
60
- type: PropType<string>;
61
- };
62
- disabled: {
63
- type: PropType<boolean>;
64
- };
65
- displayInfo: {
66
- type: PropType<boolean>;
67
- };
68
- type: {
69
- type: PropType<string>;
70
- };
71
- decimals: {
72
- type: PropType<number>;
73
- };
74
- leftIcon: {
75
- type: PropType<string>;
76
- };
77
- rightIcon: {
78
- type: PropType<string>;
79
- };
80
- placeholder: {
81
- type: PropType<string>;
82
- };
83
- helperText: {
84
- type: PropType<string>;
85
- };
86
- errorText: {
87
- type: PropType<string>;
88
- };
89
- required: {
90
- type: PropType<boolean>;
91
- };
92
- regex: {
93
- type: PropType<InputFieldRegex>;
94
- };
95
- }>>, {}>;
96
- export default _default;
33
+ };
97
34
  //# sourceMappingURL=SignupField.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SignupField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CustomForm/SignupField"],"names":[],"mappings":"AAmDA;AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,sBAAsB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsT9B,wBAAkD"}
1
+ {"version":3,"file":"SignupField.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CustomForm/SignupField"],"names":[],"mappings":"AAmDA;AAMA,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,sBAAsB,CAAC;AAK9B,KAAK,gBAAgB,GAAG;IACtB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAAC;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,eAAe,CAAC;CACzB,CAAC;;;;;AAmSF,wBAOG;AAGH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -1,52 +1,34 @@
1
1
  import { ComponentOptionsMixin } from 'vue/types/v3-component-options';
2
- import { DefineComponent, PropType, ExtractPropTypes } from 'vue';
2
+ import { DefineComponent, ExtractPropTypes, PropType } from 'vue';
3
3
  import { Account } from '../../types/entities';
4
- declare const _default: DefineComponent<{
5
- fieldsType: {
6
- type: PropType<"invoice" | "customer">;
7
- required: true;
8
- };
9
- title: {
10
- type: PropType<string>;
11
- required: true;
12
- };
13
- fields: {
14
- type: PropType<SignupField[]>;
15
- required: true;
16
- };
17
- autocomplete: {
18
- type: PropType<boolean>;
19
- };
20
- accounts: {
21
- type: PropType<Account[]>;
22
- required: true;
23
- };
24
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
4
+ import { SignupField } from '../../types/signUpField';
5
+ declare const _default: DefineComponent<__VLS_TypePropsToRuntimeProps<{
6
+ fieldsType: 'invoice' | 'customer';
7
+ title: string;
8
+ fields: SignupField[];
9
+ autocomplete?: boolean | undefined;
10
+ accounts: Account[];
11
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
25
12
  input: (value: {
26
13
  id: string;
27
14
  value: string | number | Date;
28
15
  }) => void;
29
16
  search: () => void;
30
- }, string, Readonly<ExtractPropTypes<{
31
- fieldsType: {
32
- type: PropType<"invoice" | "customer">;
33
- required: true;
34
- };
35
- title: {
36
- type: PropType<string>;
37
- required: true;
38
- };
39
- fields: {
40
- type: PropType<SignupField[]>;
41
- required: true;
42
- };
43
- autocomplete: {
44
- type: PropType<boolean>;
45
- };
46
- accounts: {
47
- type: PropType<Account[]>;
17
+ }, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
18
+ fieldsType: 'invoice' | 'customer';
19
+ title: string;
20
+ fields: SignupField[];
21
+ autocomplete?: boolean | undefined;
22
+ accounts: Account[];
23
+ }>>>, {}>;
24
+ export default _default;
25
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
+ type __VLS_TypePropsToRuntimeProps<T> = {
27
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
28
+ type: PropType<__VLS_NonUndefinedable<T[K]>>;
29
+ } : {
30
+ type: PropType<T[K]>;
48
31
  required: true;
49
32
  };
50
- }>>, {}>;
51
- export default _default;
33
+ };
52
34
  //# sourceMappingURL=SignupFields.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SignupFields.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CustomForm/SignupFields"],"names":[],"mappings":"AAmEA;AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqP3C,wBAAkD"}
1
+ {"version":3,"file":"SignupFields.vue.d.ts","sourceRoot":"","sources":["../../../src/components/CustomForm/SignupFields"],"names":[],"mappings":"AAmEA;AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,kBAAkB,CAAC;AAG3C,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;;gBAwPpC,SAAS,GAAG,UAAU;WAC3B,MAAM;YACL,WAAW,EAAE;;cAEX,OAAO,EAAE;;;;;;;;gBAJP,SAAS,GAAG,UAAU;WAC3B,MAAM;YACL,WAAW,EAAE;;cAEX,OAAO,EAAE;;AANrB,wBAaG;AAGH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { ComputedRef, Ref } from 'vue';
2
- import { SignupField } from '../types/signupField';
2
+ import { SignupField } from '../types/signUpField';
3
3
  export default function useRelatedFields(fields?: Ref<SignupField[]> | ComputedRef<SignupField[]>): {
4
4
  shouldShowField: (field: SignupField) => boolean;
5
5
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useRelatedFields.d.ts","sourceRoot":"","sources":["../../src/composables/useRelatedFields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,GAAG,EAAmB,MAAM,KAAK,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD,MAAM,CAAC,OAAO,UAAU,gBAAgB,CACtC,MAAM,CAAC,EAAE,GAAG,CAAC,WAAW,EAAE,CAAC,GAAG,WAAW,CAAC,WAAW,EAAE,CAAC;6CAUV,OAAO;EAetD"}
1
+ {"version":3,"file":"useRelatedFields.d.ts","sourceRoot":"","sources":["../../src/composables/useRelatedFields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,GAAG,EAAmB,MAAM,KAAK,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAC;AAElD,MAAM,CAAC,OAAO,UAAU,gBAAgB,CACtC,MAAM,CAAC,EAAE,GAAG,CAAC,WAAW,EAAE,CAAC,GAAG,WAAW,CAAC,WAAW,EAAE,CAAC;6BAUxB,WAAW,KAAG,OAAO;EAetD"}