@yeepay/fmc-material 0.0.5 → 0.0.7-beta.1

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,8 +13,28 @@ type Flatten<T> =
13
13
  }[keyof T]
14
14
  : never;
15
15
 
16
- import InputPhone from '../src/components-meta/input-phone'
16
+ import Beneficiary from '../src/components-meta/beneficiary'
17
17
 
18
+ export type BeneficiaryProperties = Record<Flatten<typeof Beneficiary.properties>, any>
19
+ export type BeneficiaryStyles = Record<Flatten<typeof Beneficiary.styles>, any>
20
+ export type BeneficiaryValidation = Record<Flatten<typeof Beneficiary.validation>, any>
21
+ export type BeneficiaryExposedVariables = Record<Flatten<typeof Beneficiary.definition.exposedVariables>, any>
22
+ export type BindMerchantProperties = Record<Flatten<typeof BindMerchant.properties>, any>
23
+ export type BindMerchantStyles = Record<Flatten<typeof BindMerchant.styles>, any>
24
+ export type BindMerchantValidation = Record<Flatten<typeof BindMerchant.validation>, any>
25
+ export type BindMerchantExposedVariables = Record<Flatten<typeof BindMerchant.definition.exposedVariables>, any>
26
+ export type CascaderProperties = Record<Flatten<typeof Cascader.properties>, any>
27
+ export type CascaderStyles = Record<Flatten<typeof Cascader.styles>, any>
28
+ export type CascaderValidation = Record<Flatten<typeof Cascader.validation>, any>
29
+ export type CascaderExposedVariables = Record<Flatten<typeof Cascader.definition.exposedVariables>, any>
30
+ export type DatePickerProperties = Record<Flatten<typeof DatePicker.properties>, any>
31
+ export type DatePickerStyles = Record<Flatten<typeof DatePicker.styles>, any>
32
+ export type DatePickerValidation = Record<Flatten<typeof DatePicker.validation>, any>
33
+ export type DatePickerExposedVariables = Record<Flatten<typeof DatePicker.definition.exposedVariables>, any>
34
+ export type DockingChargeProperties = Record<Flatten<typeof DockingCharge.properties>, any>
35
+ export type DockingChargeStyles = Record<Flatten<typeof DockingCharge.styles>, any>
36
+ export type DockingChargeValidation = Record<Flatten<typeof DockingCharge.validation>, any>
37
+ export type DockingChargeExposedVariables = Record<Flatten<typeof DockingCharge.definition.exposedVariables>, any>
18
38
  export type InputPhoneProperties = Record<Flatten<typeof InputPhone.properties>, any>
19
39
  export type InputPhoneStyles = Record<Flatten<typeof InputPhone.styles>, any>
20
40
  export type InputPhoneValidation = Record<Flatten<typeof InputPhone.validation>, any>
@@ -23,6 +43,10 @@ export type LocationProperties = Record<Flatten<typeof Location.properties>, any
23
43
  export type LocationStyles = Record<Flatten<typeof Location.styles>, any>
24
44
  export type LocationValidation = Record<Flatten<typeof Location.validation>, any>
25
45
  export type LocationExposedVariables = Record<Flatten<typeof Location.definition.exposedVariables>, any>
46
+ export type PackageChargeProperties = Record<Flatten<typeof PackageCharge.properties>, any>
47
+ export type PackageChargeStyles = Record<Flatten<typeof PackageCharge.styles>, any>
48
+ export type PackageChargeValidation = Record<Flatten<typeof PackageCharge.validation>, any>
49
+ export type PackageChargeExposedVariables = Record<Flatten<typeof PackageCharge.definition.exposedVariables>, any>
26
50
  export type PolicyConfigProperties = Record<Flatten<typeof PolicyConfig.properties>, any>
27
51
  export type PolicyConfigStyles = Record<Flatten<typeof PolicyConfig.styles>, any>
28
52
  export type PolicyConfigValidation = Record<Flatten<typeof PolicyConfig.validation>, any>
@@ -35,6 +59,22 @@ export type RenewFormProperties = Record<Flatten<typeof RenewForm.properties>, a
35
59
  export type RenewFormStyles = Record<Flatten<typeof RenewForm.styles>, any>
36
60
  export type RenewFormValidation = Record<Flatten<typeof RenewForm.validation>, any>
37
61
  export type RenewFormExposedVariables = Record<Flatten<typeof RenewForm.definition.exposedVariables>, any>
62
+ export type SelectProperties = Record<Flatten<typeof Select.properties>, any>
63
+ export type SelectStyles = Record<Flatten<typeof Select.styles>, any>
64
+ export type SelectValidation = Record<Flatten<typeof Select.validation>, any>
65
+ export type SelectExposedVariables = Record<Flatten<typeof Select.definition.exposedVariables>, any>
66
+ export type ServiceLevelProperties = Record<Flatten<typeof ServiceLevel.properties>, any>
67
+ export type ServiceLevelStyles = Record<Flatten<typeof ServiceLevel.styles>, any>
68
+ export type ServiceLevelValidation = Record<Flatten<typeof ServiceLevel.validation>, any>
69
+ export type ServiceLevelExposedVariables = Record<Flatten<typeof ServiceLevel.definition.exposedVariables>, any>
70
+ export type SfPrinterProperties = Record<Flatten<typeof SfPrinter.properties>, any>
71
+ export type SfPrinterStyles = Record<Flatten<typeof SfPrinter.styles>, any>
72
+ export type SfPrinterValidation = Record<Flatten<typeof SfPrinter.validation>, any>
73
+ export type SfPrinterExposedVariables = Record<Flatten<typeof SfPrinter.definition.exposedVariables>, any>
74
+ export type SubCardProperties = Record<Flatten<typeof SubCard.properties>, any>
75
+ export type SubCardStyles = Record<Flatten<typeof SubCard.styles>, any>
76
+ export type SubCardValidation = Record<Flatten<typeof SubCard.validation>, any>
77
+ export type SubCardExposedVariables = Record<Flatten<typeof SubCard.definition.exposedVariables>, any>
38
78
  export type UploadProperties = Record<Flatten<typeof Upload.properties>, any>
39
79
  export type UploadStyles = Record<Flatten<typeof Upload.styles>, any>
40
80
  export type UploadValidation = Record<Flatten<typeof Upload.validation>, any>
@@ -45,15 +85,15 @@ declare global {
45
85
  export type Properties<T> =
46
86
  LayoutVisible &
47
87
  (
48
- T extends 'input-phone' ? InputPhoneProperties :
49
88
  T extends 'location' ? LocationProperties :
50
89
  T extends 'policy-config' ? PolicyConfigProperties :
51
90
  T extends 'product' ? ProductProperties :
52
91
  T extends 'renew-form' ? RenewFormProperties :
53
92
  T extends 'upload' ? UploadProperties : never
93
+ T extends 'beneficiary' ? BeneficiaryProperties :
54
94
  T extends 'bind-merchant' ? BindMerchantProperties :
55
95
  T extends 'cascader' ? CascaderProperties :
56
96
  T extends 'date-picker' ? DatePickerProperties :
57
97
  T extends 'docking-charge' ? DockingChargeProperties :
58
98
  T extends 'input-phone' ? InputPhoneProperties :
59
99
  T extends 'location' ? LocationProperties :
60
100
  T extends 'package-charge' ? PackageChargeProperties :
61
101
  T extends 'policy-config' ? PolicyConfigProperties :
62
102
  T extends 'product' ? ProductProperties :
63
103
  T extends 'renew-form' ? RenewFormProperties :
64
104
  T extends 'select' ? SelectProperties :
65
105
  T extends 'service-level' ? ServiceLevelProperties :
66
106
  T extends 'sf-printer' ? SfPrinterProperties :
67
107
  T extends 'sub-card' ? SubCardProperties :
68
108
  T extends 'upload' ? UploadProperties : never
69
109
  )
70
110
 
71
111
  export type Styles<T> =
72
- T extends 'input-phone' ? InputPhoneStyles :
73
112
  T extends 'location' ? LocationStyles :
74
113
  T extends 'policy-config' ? PolicyConfigStyles :
75
114
  T extends 'product' ? ProductStyles :
76
115
  T extends 'renew-form' ? RenewFormStyles :
77
116
  T extends 'upload' ? UploadStyles : never
117
+ T extends 'beneficiary' ? BeneficiaryStyles :
78
118
  T extends 'bind-merchant' ? BindMerchantStyles :
79
119
  T extends 'cascader' ? CascaderStyles :
80
120
  T extends 'date-picker' ? DatePickerStyles :
81
121
  T extends 'docking-charge' ? DockingChargeStyles :
82
122
  T extends 'input-phone' ? InputPhoneStyles :
83
123
  T extends 'location' ? LocationStyles :
84
124
  T extends 'package-charge' ? PackageChargeStyles :
85
125
  T extends 'policy-config' ? PolicyConfigStyles :
86
126
  T extends 'product' ? ProductStyles :
87
127
  T extends 'renew-form' ? RenewFormStyles :
88
128
  T extends 'select' ? SelectStyles :
89
129
  T extends 'service-level' ? ServiceLevelStyles :
90
130
  T extends 'sf-printer' ? SfPrinterStyles :
91
131
  T extends 'sub-card' ? SubCardStyles :
92
132
  T extends 'upload' ? UploadStyles : never
93
133
 
94
134
  export type Validation<T> =
95
- T extends 'input-phone' ? InputPhoneValidation :
96
135
  T extends 'location' ? LocationValidation :
97
136
  T extends 'policy-config' ? PolicyConfigValidation :
98
137
  T extends 'product' ? ProductValidation :
99
138
  T extends 'renew-form' ? RenewFormValidation :
100
139
  T extends 'upload' ? UploadValidation : never
140
+ T extends 'beneficiary' ? BeneficiaryValidation :
101
141
  T extends 'bind-merchant' ? BindMerchantValidation :
102
142
  T extends 'cascader' ? CascaderValidation :
103
143
  T extends 'date-picker' ? DatePickerValidation :
104
144
  T extends 'docking-charge' ? DockingChargeValidation :
105
145
  T extends 'input-phone' ? InputPhoneValidation :
106
146
  T extends 'location' ? LocationValidation :
107
147
  T extends 'package-charge' ? PackageChargeValidation :
108
148
  T extends 'policy-config' ? PolicyConfigValidation :
109
149
  T extends 'product' ? ProductValidation :
110
150
  T extends 'renew-form' ? RenewFormValidation :
111
151
  T extends 'select' ? SelectValidation :
112
152
  T extends 'service-level' ? ServiceLevelValidation :
113
153
  T extends 'sf-printer' ? SfPrinterValidation :
114
154
  T extends 'sub-card' ? SubCardValidation :
115
155
  T extends 'upload' ? UploadValidation : never
116
156
 
117
157
  export type ExposedVariables<T> =
118
- T extends 'input-phone' ? InputPhoneExposedVariables :
119
158
  T extends 'location' ? LocationExposedVariables :
120
159
  T extends 'policy-config' ? PolicyConfigExposedVariables :
121
160
  T extends 'product' ? ProductExposedVariables :
122
161
  T extends 'renew-form' ? RenewFormExposedVariables :
123
162
  T extends 'upload' ? UploadExposedVariables : never
163
+ T extends 'beneficiary' ? BeneficiaryExposedVariables :
124
164
  T extends 'bind-merchant' ? BindMerchantExposedVariables :
125
165
  T extends 'cascader' ? CascaderExposedVariables :
126
166
  T extends 'date-picker' ? DatePickerExposedVariables :
127
167
  T extends 'docking-charge' ? DockingChargeExposedVariables :
128
168
  T extends 'input-phone' ? InputPhoneExposedVariables :
129
169
  T extends 'location' ? LocationExposedVariables :
130
170
  T extends 'package-charge' ? PackageChargeExposedVariables :
131
171
  T extends 'policy-config' ? PolicyConfigExposedVariables :
132
172
  T extends 'product' ? ProductExposedVariables :
133
173
  T extends 'renew-form' ? RenewFormExposedVariables :
134
174
  T extends 'select' ? SelectExposedVariables :
135
175
  T extends 'service-level' ? ServiceLevelExposedVariables :
136
176
  T extends 'sf-printer' ? SfPrinterExposedVariables :
137
177
  T extends 'sub-card' ? SubCardExposedVariables :
138
178
  T extends 'upload' ? UploadExposedVariables : never
139
179
  }