@yeepay/fmc-material 0.0.7-beta.3 → 0.0.8-beta.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.
@@ -13,7 +13,7 @@ type Flatten<T> =
13
13
  }[keyof T]
14
14
  : never;
15
15
 
16
- import Beneficiary from '../src/components-meta/beneficiary'
16
+ import Beneficiary from '../src/components-meta/beneficiary'
17
17
 
18
18
  export type BeneficiaryProperties = Record<Flatten<typeof Beneficiary.properties>, any>
19
19
  export type BeneficiaryStyles = Record<Flatten<typeof Beneficiary.styles>, any>
@@ -23,6 +23,10 @@ export type BindMerchantProperties = Record<Flatten<typeof BindMerchant.properti
23
23
  export type BindMerchantStyles = Record<Flatten<typeof BindMerchant.styles>, any>
24
24
  export type BindMerchantValidation = Record<Flatten<typeof BindMerchant.validation>, any>
25
25
  export type BindMerchantExposedVariables = Record<Flatten<typeof BindMerchant.definition.exposedVariables>, any>
26
+ export type CardProperties = Record<Flatten<typeof Card.properties>, any>
27
+ export type CardStyles = Record<Flatten<typeof Card.styles>, any>
28
+ export type CardValidation = Record<Flatten<typeof Card.validation>, any>
29
+ export type CardExposedVariables = Record<Flatten<typeof Card.definition.exposedVariables>, any>
26
30
  export type CascaderProperties = Record<Flatten<typeof Cascader.properties>, any>
27
31
  export type CascaderStyles = Record<Flatten<typeof Cascader.styles>, any>
28
32
  export type CascaderValidation = Record<Flatten<typeof Cascader.validation>, any>
@@ -35,6 +39,10 @@ export type DockingChargeProperties = Record<Flatten<typeof DockingCharge.proper
35
39
  export type DockingChargeStyles = Record<Flatten<typeof DockingCharge.styles>, any>
36
40
  export type DockingChargeValidation = Record<Flatten<typeof DockingCharge.validation>, any>
37
41
  export type DockingChargeExposedVariables = Record<Flatten<typeof DockingCharge.definition.exposedVariables>, any>
42
+ export type FormTextProperties = Record<Flatten<typeof FormText.properties>, any>
43
+ export type FormTextStyles = Record<Flatten<typeof FormText.styles>, any>
44
+ export type FormTextValidation = Record<Flatten<typeof FormText.validation>, any>
45
+ export type FormTextExposedVariables = Record<Flatten<typeof FormText.definition.exposedVariables>, any>
38
46
  export type InputPhoneProperties = Record<Flatten<typeof InputPhone.properties>, any>
39
47
  export type InputPhoneStyles = Record<Flatten<typeof InputPhone.styles>, any>
40
48
  export type InputPhoneValidation = Record<Flatten<typeof InputPhone.validation>, any>
@@ -85,15 +93,15 @@ declare global {
85
93
  export type Properties<T> =
86
94
  LayoutVisible &
87
95
  (
88
- T extends 'beneficiary' ? BeneficiaryProperties :
89
96
  T extends 'bind-merchant' ? BindMerchantProperties :
90
97
  T extends 'cascader' ? CascaderProperties :
91
98
  T extends 'date-picker' ? DatePickerProperties :
92
99
  T extends 'docking-charge' ? DockingChargeProperties :
93
100
  T extends 'input-phone' ? InputPhoneProperties :
94
101
  T extends 'location' ? LocationProperties :
95
102
  T extends 'package-charge' ? PackageChargeProperties :
96
103
  T extends 'policy-config' ? PolicyConfigProperties :
97
104
  T extends 'product' ? ProductProperties :
98
105
  T extends 'renew-form' ? RenewFormProperties :
99
106
  T extends 'select' ? SelectProperties :
100
107
  T extends 'service-level' ? ServiceLevelProperties :
101
108
  T extends 'sf-printer' ? SfPrinterProperties :
102
109
  T extends 'sub-card' ? SubCardProperties :
103
110
  T extends 'upload' ? UploadProperties : never
111
+ T extends 'beneficiary' ? BeneficiaryProperties :
104
112
  T extends 'bind-merchant' ? BindMerchantProperties :
105
113
  T extends 'card' ? CardProperties :
106
114
  T extends 'cascader' ? CascaderProperties :
107
115
  T extends 'date-picker' ? DatePickerProperties :
108
116
  T extends 'docking-charge' ? DockingChargeProperties :
109
117
  T extends 'form-text' ? FormTextProperties :
110
118
  T extends 'input-phone' ? InputPhoneProperties :
111
119
  T extends 'location' ? LocationProperties :
112
120
  T extends 'package-charge' ? PackageChargeProperties :
113
121
  T extends 'policy-config' ? PolicyConfigProperties :
114
122
  T extends 'product' ? ProductProperties :
115
123
  T extends 'renew-form' ? RenewFormProperties :
116
124
  T extends 'select' ? SelectProperties :
117
125
  T extends 'service-level' ? ServiceLevelProperties :
118
126
  T extends 'sf-printer' ? SfPrinterProperties :
119
127
  T extends 'sub-card' ? SubCardProperties :
120
128
  T extends 'upload' ? UploadProperties : never
121
129
  )
122
130
 
123
131
  export type Styles<T> =
124
- T extends 'beneficiary' ? BeneficiaryStyles :
125
132
  T extends 'bind-merchant' ? BindMerchantStyles :
126
133
  T extends 'cascader' ? CascaderStyles :
127
134
  T extends 'date-picker' ? DatePickerStyles :
128
135
  T extends 'docking-charge' ? DockingChargeStyles :
129
136
  T extends 'input-phone' ? InputPhoneStyles :
130
137
  T extends 'location' ? LocationStyles :
131
138
  T extends 'package-charge' ? PackageChargeStyles :
132
139
  T extends 'policy-config' ? PolicyConfigStyles :
133
140
  T extends 'product' ? ProductStyles :
134
141
  T extends 'renew-form' ? RenewFormStyles :
135
142
  T extends 'select' ? SelectStyles :
136
143
  T extends 'service-level' ? ServiceLevelStyles :
137
144
  T extends 'sf-printer' ? SfPrinterStyles :
138
145
  T extends 'sub-card' ? SubCardStyles :
139
146
  T extends 'upload' ? UploadStyles : never
147
+ T extends 'beneficiary' ? BeneficiaryStyles :
140
148
  T extends 'bind-merchant' ? BindMerchantStyles :
141
149
  T extends 'card' ? CardStyles :
142
150
  T extends 'cascader' ? CascaderStyles :
143
151
  T extends 'date-picker' ? DatePickerStyles :
144
152
  T extends 'docking-charge' ? DockingChargeStyles :
145
153
  T extends 'form-text' ? FormTextStyles :
146
154
  T extends 'input-phone' ? InputPhoneStyles :
147
155
  T extends 'location' ? LocationStyles :
148
156
  T extends 'package-charge' ? PackageChargeStyles :
149
157
  T extends 'policy-config' ? PolicyConfigStyles :
150
158
  T extends 'product' ? ProductStyles :
151
159
  T extends 'renew-form' ? RenewFormStyles :
152
160
  T extends 'select' ? SelectStyles :
153
161
  T extends 'service-level' ? ServiceLevelStyles :
154
162
  T extends 'sf-printer' ? SfPrinterStyles :
155
163
  T extends 'sub-card' ? SubCardStyles :
156
164
  T extends 'upload' ? UploadStyles : never
157
165
 
158
166
  export type Validation<T> =
159
- T extends 'beneficiary' ? BeneficiaryValidation :
160
167
  T extends 'bind-merchant' ? BindMerchantValidation :
161
168
  T extends 'cascader' ? CascaderValidation :
162
169
  T extends 'date-picker' ? DatePickerValidation :
163
170
  T extends 'docking-charge' ? DockingChargeValidation :
164
171
  T extends 'input-phone' ? InputPhoneValidation :
165
172
  T extends 'location' ? LocationValidation :
166
173
  T extends 'package-charge' ? PackageChargeValidation :
167
174
  T extends 'policy-config' ? PolicyConfigValidation :
168
175
  T extends 'product' ? ProductValidation :
169
176
  T extends 'renew-form' ? RenewFormValidation :
170
177
  T extends 'select' ? SelectValidation :
171
178
  T extends 'service-level' ? ServiceLevelValidation :
172
179
  T extends 'sf-printer' ? SfPrinterValidation :
173
180
  T extends 'sub-card' ? SubCardValidation :
174
181
  T extends 'upload' ? UploadValidation : never
182
+ T extends 'beneficiary' ? BeneficiaryValidation :
175
183
  T extends 'bind-merchant' ? BindMerchantValidation :
176
184
  T extends 'card' ? CardValidation :
177
185
  T extends 'cascader' ? CascaderValidation :
178
186
  T extends 'date-picker' ? DatePickerValidation :
179
187
  T extends 'docking-charge' ? DockingChargeValidation :
180
188
  T extends 'form-text' ? FormTextValidation :
181
189
  T extends 'input-phone' ? InputPhoneValidation :
182
190
  T extends 'location' ? LocationValidation :
183
191
  T extends 'package-charge' ? PackageChargeValidation :
184
192
  T extends 'policy-config' ? PolicyConfigValidation :
185
193
  T extends 'product' ? ProductValidation :
186
194
  T extends 'renew-form' ? RenewFormValidation :
187
195
  T extends 'select' ? SelectValidation :
188
196
  T extends 'service-level' ? ServiceLevelValidation :
189
197
  T extends 'sf-printer' ? SfPrinterValidation :
190
198
  T extends 'sub-card' ? SubCardValidation :
191
199
  T extends 'upload' ? UploadValidation : never
192
200
 
193
201
  export type ExposedVariables<T> =
194
- T extends 'beneficiary' ? BeneficiaryExposedVariables :
195
202
  T extends 'bind-merchant' ? BindMerchantExposedVariables :
196
203
  T extends 'cascader' ? CascaderExposedVariables :
197
204
  T extends 'date-picker' ? DatePickerExposedVariables :
198
205
  T extends 'docking-charge' ? DockingChargeExposedVariables :
199
206
  T extends 'input-phone' ? InputPhoneExposedVariables :
200
207
  T extends 'location' ? LocationExposedVariables :
201
208
  T extends 'package-charge' ? PackageChargeExposedVariables :
202
209
  T extends 'policy-config' ? PolicyConfigExposedVariables :
203
210
  T extends 'product' ? ProductExposedVariables :
204
211
  T extends 'renew-form' ? RenewFormExposedVariables :
205
212
  T extends 'select' ? SelectExposedVariables :
206
213
  T extends 'service-level' ? ServiceLevelExposedVariables :
207
214
  T extends 'sf-printer' ? SfPrinterExposedVariables :
208
215
  T extends 'sub-card' ? SubCardExposedVariables :
209
216
  T extends 'upload' ? UploadExposedVariables : never
217
+ T extends 'beneficiary' ? BeneficiaryExposedVariables :
210
218
  T extends 'bind-merchant' ? BindMerchantExposedVariables :
211
219
  T extends 'card' ? CardExposedVariables :
212
220
  T extends 'cascader' ? CascaderExposedVariables :
213
221
  T extends 'date-picker' ? DatePickerExposedVariables :
214
222
  T extends 'docking-charge' ? DockingChargeExposedVariables :
215
223
  T extends 'form-text' ? FormTextExposedVariables :
216
224
  T extends 'input-phone' ? InputPhoneExposedVariables :
217
225
  T extends 'location' ? LocationExposedVariables :
218
226
  T extends 'package-charge' ? PackageChargeExposedVariables :
219
227
  T extends 'policy-config' ? PolicyConfigExposedVariables :
220
228
  T extends 'product' ? ProductExposedVariables :
221
229
  T extends 'renew-form' ? RenewFormExposedVariables :
222
230
  T extends 'select' ? SelectExposedVariables :
223
231
  T extends 'service-level' ? ServiceLevelExposedVariables :
224
232
  T extends 'sf-printer' ? SfPrinterExposedVariables :
225
233
  T extends 'sub-card' ? SubCardExposedVariables :
226
234
  T extends 'upload' ? UploadExposedVariables : never
227
235
  }