@pisell/materials 2.2.103 → 2.2.104
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/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +164 -148
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +31 -17
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +40 -26
- package/es/components/appVersionControl/index.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
- package/es/components/dataSourceComponents/fields/index.d.ts +7 -7
- package/es/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
- package/es/components/drag-sort-tree/index.d.ts +1 -0
- package/es/components/iconfont/index.d.ts +8 -0
- package/es/components/page/index.d.ts +0 -1
- package/es/components/pisell-config-provider/context.d.ts +22 -0
- package/es/components/pisellAdjustPrice/index.d.ts +0 -1
- package/es/components/pisellAdjustPrice/status.d.ts +32 -0
- package/es/components/pisellAdjustPrice/type.d.ts +22 -0
- package/es/components/pisellInformationEntry/Scan/index.d.ts +1 -0
- package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
- package/es/components/pisellInput/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
- package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
- package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +45 -0
- package/es/components/productCard/cartSkuCard/index.d.ts +0 -1
- package/es/components/productCard/cartSkuCard/locales.d.ts +96 -0
- package/es/components/productCard/components/Action/index.d.ts +4 -0
- package/es/components/productCard/components/Header/DeleteButton/index.d.ts +1 -0
- package/es/components/productCard/components/Packages/utils.d.ts +1 -1
- package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
- package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
- package/es/components/productCard/components/Time/index.d.ts +1 -0
- package/es/components/productCard/locales.d.ts +84 -0
- package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
- package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
- package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
- package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
- package/es/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
- package/es/components/table/Actions/component/ViewMode/index.d.ts +1 -0
- package/es/components/table/Table/fields/index.d.ts +2 -2
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
- package/es/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
- package/es/components/virtual-keyboard/Number/index.d.ts +0 -1
- package/es/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
- package/es/components/virtual-keyboard/Number/types.d.ts +26 -0
- package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
- package/es/components/walletCard/index.d.ts +4 -0
- package/es/components/walletCard/index.js +29 -3
- package/es/components/walletCard/index.less +27 -0
- package/es/locales/en-US.d.ts +51 -50
- package/es/locales/en-US.js +66 -65
- package/es/locales/zh-CN.d.ts +51 -50
- package/es/locales/zh-CN.js +67 -66
- package/es/locales/zh-TW.d.ts +51 -50
- package/es/locales/zh-TW.js +67 -66
- package/es/utils/platform.d.ts +1 -1
- package/lib/components/appVersionControl/index.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
- package/lib/components/dataSourceComponents/fields/index.d.ts +7 -7
- package/lib/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
- package/lib/components/drag-sort-tree/index.d.ts +1 -0
- package/lib/components/iconfont/index.d.ts +8 -0
- package/lib/components/page/index.d.ts +0 -1
- package/lib/components/pisell-config-provider/context.d.ts +22 -0
- package/lib/components/pisellAdjustPrice/index.d.ts +0 -1
- package/lib/components/pisellAdjustPrice/status.d.ts +32 -0
- package/lib/components/pisellAdjustPrice/type.d.ts +22 -0
- package/lib/components/pisellInformationEntry/Scan/index.d.ts +1 -0
- package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
- package/lib/components/pisellInput/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
- package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
- package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +45 -0
- package/lib/components/productCard/cartSkuCard/index.d.ts +0 -1
- package/lib/components/productCard/cartSkuCard/locales.d.ts +96 -0
- package/lib/components/productCard/components/Action/index.d.ts +4 -0
- package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +1 -0
- package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
- package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
- package/lib/components/productCard/components/Time/index.d.ts +1 -0
- package/lib/components/productCard/locales.d.ts +84 -0
- package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
- package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
- package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
- package/lib/components/table/Actions/component/ViewMode/index.d.ts +1 -0
- package/lib/components/table/Table/fields/index.d.ts +2 -2
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
- package/lib/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
- package/lib/components/virtual-keyboard/Number/index.d.ts +0 -1
- package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
- package/lib/components/virtual-keyboard/Number/types.d.ts +26 -0
- package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
- package/lib/components/walletCard/index.d.ts +4 -0
- package/lib/components/walletCard/index.js +27 -3
- package/lib/components/walletCard/index.less +27 -0
- package/lib/locales/en-US.d.ts +51 -50
- package/lib/locales/en-US.js +1 -0
- package/lib/locales/zh-CN.d.ts +51 -50
- package/lib/locales/zh-CN.js +1 -0
- package/lib/locales/zh-TW.d.ts +51 -50
- package/lib/locales/zh-TW.js +1 -0
- package/lib/utils/platform.d.ts +1 -1
- package/lowcode/wallet-card/meta.ts +81 -63
- package/package.json +1 -1
package/lib/locales/zh-CN.d.ts
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
2
|
+
'table-filter-search': string;
|
|
3
|
+
'table-filter-clear': string;
|
|
4
|
+
'table-filter-filter': string;
|
|
5
|
+
'table-filter-min': string;
|
|
6
|
+
'table-filter-max': string;
|
|
7
|
+
'table-pagination-previous': string;
|
|
8
|
+
'table-pagination-next': string;
|
|
9
|
+
'table-pagination-total': (current: string, total: string) => string;
|
|
10
|
+
'select-dropdown-render-select-all': string;
|
|
11
|
+
'select-dropdown-render-search': string;
|
|
12
|
+
'sort-button-text': string;
|
|
13
|
+
'sort-oldest-to-newest': string;
|
|
14
|
+
'sort-newest-to-oldest': string;
|
|
15
|
+
'sort-a-z': string;
|
|
16
|
+
'sort-z-a': string;
|
|
17
|
+
'sort-from-morning-to-night': string;
|
|
18
|
+
'sort-from-evening-to-morning': string;
|
|
19
|
+
'sort-0-9': string;
|
|
20
|
+
'sort-9-0': string;
|
|
21
|
+
'table-action-filter-button': string;
|
|
22
|
+
'table-action-filter-quick-filter': string;
|
|
23
|
+
'table-action-filter-quick-filter-tip': (count: number) => string;
|
|
24
|
+
'table-action-filter-other-filter': string;
|
|
25
|
+
'table-action-filter-other-filter-tip': () => string;
|
|
26
|
+
'table-action-group-by-title': string;
|
|
27
|
+
'table-action-group-by-title-tip': string;
|
|
28
|
+
'table-action-column-title': string;
|
|
29
|
+
'table-column-group-records': string;
|
|
30
|
+
'table-column-group-lock-tip': string;
|
|
31
|
+
'table-column-drag-sort-disabled-tip': string;
|
|
32
|
+
'table-action-filter-no-filter': string;
|
|
33
|
+
'table-action-range-picker-presets-today': string;
|
|
34
|
+
'table-action-range-picker-presets-yesterday': string;
|
|
35
|
+
'table-action-range-picker-presets-last-3-day': string;
|
|
36
|
+
'table-action-range-picker-presets-last-7-day': string;
|
|
37
|
+
'table-action-range-picker-presets-last-14-day': string;
|
|
38
|
+
'table-action-range-picker-presets-last-30-day': string;
|
|
39
|
+
'table-action-range-picker-presets-last-90-day': string;
|
|
40
|
+
'virtual-keyboard-time-now': string;
|
|
41
|
+
'virtual-keyboard-time-ok': string;
|
|
42
42
|
'batch-editor-batch-edit': string;
|
|
43
43
|
'batch-editor-actions': string;
|
|
44
44
|
'batch-editor-remove': string;
|
|
@@ -108,7 +108,7 @@ declare const _default: {
|
|
|
108
108
|
'date-picker-first_day_of_next_month': string;
|
|
109
109
|
'date-picker-last_day_of_last_month': string;
|
|
110
110
|
'date-picker-invalid-date': string;
|
|
111
|
-
|
|
111
|
+
'date-picker-apply': string;
|
|
112
112
|
'date-picker-shortcut-custom': string;
|
|
113
113
|
'pisell-input-copy-success': string;
|
|
114
114
|
'pisell-input-copy': string;
|
|
@@ -160,6 +160,7 @@ declare const _default: {
|
|
|
160
160
|
'walletCard-done': string;
|
|
161
161
|
'walletCard-qrcode': string;
|
|
162
162
|
'walletCard-barcode': string;
|
|
163
|
+
'walletCard-viewPin': string;
|
|
163
164
|
'pisell-upload-button': string;
|
|
164
165
|
'pisell-upload-setting-size-error': (maxSize: number) => string;
|
|
165
166
|
'pisell-upload-setting-type-error': (type: string) => string;
|
|
@@ -236,15 +237,15 @@ declare const _default: {
|
|
|
236
237
|
'pisell-data-source-form-app-identifier-start-with-letter': string;
|
|
237
238
|
'pisell-data-source-form-app-identifier-special-ends': string;
|
|
238
239
|
'pisell-data-source-form-app-identifier-consecutive-special': string;
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
240
|
+
'qrscanner-loading': string;
|
|
241
|
+
'qrscanner-success': string;
|
|
242
|
+
'qrscanner-success-qrcode': string;
|
|
243
|
+
'qrscanner-success-barcode': string;
|
|
244
|
+
'qrscanner-error-upload-image': string;
|
|
245
|
+
'qrscanner-error-load-failed': string;
|
|
246
|
+
'qrscanner-error-no-code': string;
|
|
247
|
+
'qrscanner-error-camera-init': string;
|
|
248
|
+
'qrscanner-error-process-image': string;
|
|
248
249
|
'pisell-login-and-register-title': string;
|
|
249
250
|
'pisell-login-and-register-subtitle': string;
|
|
250
251
|
'pisell-login-and-register-email-label': string;
|
package/lib/locales/zh-CN.js
CHANGED
|
@@ -196,6 +196,7 @@ var zh_CN_default = {
|
|
|
196
196
|
"walletCard-done": "完成",
|
|
197
197
|
"walletCard-qrcode": "二维码",
|
|
198
198
|
"walletCard-barcode": "条形码",
|
|
199
|
+
"walletCard-viewPin": "查看PIN",
|
|
199
200
|
// 上传组件
|
|
200
201
|
"pisell-upload-button": "上传",
|
|
201
202
|
"pisell-upload-setting-size-error": (maxSize) => `每个文件的大小不超过${maxSize}MB`,
|
package/lib/locales/zh-TW.d.ts
CHANGED
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
declare const _default: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
2
|
+
'table-filter-search': string;
|
|
3
|
+
'table-filter-clear': string;
|
|
4
|
+
'table-filter-filter': string;
|
|
5
|
+
'table-filter-min': string;
|
|
6
|
+
'table-filter-max': string;
|
|
7
|
+
'table-pagination-previous': string;
|
|
8
|
+
'table-pagination-next': string;
|
|
9
|
+
'table-pagination-total': (current: string, total: string) => string;
|
|
10
|
+
'select-dropdown-render-select-all': string;
|
|
11
|
+
'select-dropdown-render-search': string;
|
|
12
|
+
'sort-button-text': string;
|
|
13
|
+
'sort-oldest-to-newest': string;
|
|
14
|
+
'sort-newest-to-oldest': string;
|
|
15
|
+
'sort-a-z': string;
|
|
16
|
+
'sort-z-a': string;
|
|
17
|
+
'sort-from-morning-to-night': string;
|
|
18
|
+
'sort-from-evening-to-morning': string;
|
|
19
|
+
'sort-0-9': string;
|
|
20
|
+
'sort-9-0': string;
|
|
21
|
+
'table-action-filter-button': string;
|
|
22
|
+
'table-action-filter-quick-filter': string;
|
|
23
|
+
'table-action-filter-quick-filter-tip': (count: number) => string;
|
|
24
|
+
'table-action-filter-other-filter': string;
|
|
25
|
+
'table-action-filter-other-filter-tip': () => string;
|
|
26
|
+
'table-action-group-by-title': string;
|
|
27
|
+
'table-action-group-by-title-tip': string;
|
|
28
|
+
'table-action-column-title': string;
|
|
29
|
+
'table-column-group-records': string;
|
|
30
|
+
'table-column-group-lock-tip': string;
|
|
31
|
+
'table-column-drag-sort-disabled-tip': string;
|
|
32
|
+
'table-action-filter-no-filter': string;
|
|
33
|
+
'table-action-range-picker-presets-today': string;
|
|
34
|
+
'table-action-range-picker-presets-yesterday': string;
|
|
35
|
+
'table-action-range-picker-presets-last-3-day': string;
|
|
36
|
+
'table-action-range-picker-presets-last-7-day': string;
|
|
37
|
+
'table-action-range-picker-presets-last-14-day': string;
|
|
38
|
+
'table-action-range-picker-presets-last-30-day': string;
|
|
39
|
+
'table-action-range-picker-presets-last-90-day': string;
|
|
40
|
+
'virtual-keyboard-time-now': string;
|
|
41
|
+
'virtual-keyboard-time-ok': string;
|
|
42
42
|
'batch-editor-batch-edit': string;
|
|
43
43
|
'batch-editor-actions': string;
|
|
44
44
|
'batch-editor-remove': string;
|
|
@@ -108,7 +108,7 @@ declare const _default: {
|
|
|
108
108
|
'date-picker-first_day_of_next_month': string;
|
|
109
109
|
'date-picker-last_day_of_last_month': string;
|
|
110
110
|
'date-picker-invalid-date': string;
|
|
111
|
-
|
|
111
|
+
'date-picker-apply': string;
|
|
112
112
|
'date-picker-shortcut-custom': string;
|
|
113
113
|
'pisell-input-copy-success': string;
|
|
114
114
|
'pisell-input-copy': string;
|
|
@@ -159,6 +159,7 @@ declare const _default: {
|
|
|
159
159
|
'walletCard-done': string;
|
|
160
160
|
'walletCard-qrcode': string;
|
|
161
161
|
'walletCard-barcode': string;
|
|
162
|
+
'walletCard-viewPin': string;
|
|
162
163
|
'pisell-upload-button': string;
|
|
163
164
|
'pisell-upload-setting-size-error': (maxSize: number) => string;
|
|
164
165
|
'pisell-upload-setting-type-error': (type: string) => string;
|
|
@@ -236,15 +237,15 @@ declare const _default: {
|
|
|
236
237
|
'pisell-data-source-form-app-identifier-start-with-letter': string;
|
|
237
238
|
'pisell-data-source-form-app-identifier-special-ends': string;
|
|
238
239
|
'pisell-data-source-form-app-identifier-consecutive-special': string;
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
240
|
+
'qrscanner-loading': string;
|
|
241
|
+
'qrscanner-success': string;
|
|
242
|
+
'qrscanner-success-qrcode': string;
|
|
243
|
+
'qrscanner-success-barcode': string;
|
|
244
|
+
'qrscanner-error-upload-image': string;
|
|
245
|
+
'qrscanner-error-load-failed': string;
|
|
246
|
+
'qrscanner-error-no-code': string;
|
|
247
|
+
'qrscanner-error-camera-init': string;
|
|
248
|
+
'qrscanner-error-process-image': string;
|
|
248
249
|
'pisell-login-and-register-title': string;
|
|
249
250
|
'pisell-login-and-register-subtitle': string;
|
|
250
251
|
'pisell-login-and-register-email-label': string;
|
package/lib/locales/zh-TW.js
CHANGED
|
@@ -196,6 +196,7 @@ var zh_TW_default = {
|
|
|
196
196
|
"walletCard-done": "完成",
|
|
197
197
|
"walletCard-qrcode": "二維碼",
|
|
198
198
|
"walletCard-barcode": "條形碼",
|
|
199
|
+
"walletCard-viewPin": "查看PIN",
|
|
199
200
|
// 上传组件
|
|
200
201
|
"pisell-upload-button": "上傳",
|
|
201
202
|
"pisell-upload-setting-size-error": (maxSize) => `每個文件的大小不超過${maxSize}MB`,
|
package/lib/utils/platform.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const isMobile: () =>
|
|
1
|
+
export declare const isMobile: () => any;
|
|
@@ -6,23 +6,23 @@ export default {
|
|
|
6
6
|
title: {
|
|
7
7
|
type: 'i18n',
|
|
8
8
|
'en-US': 'Wallet Card',
|
|
9
|
-
'zh-CN': '钱包卡片'
|
|
9
|
+
'zh-CN': '钱包卡片',
|
|
10
10
|
},
|
|
11
11
|
category: {
|
|
12
12
|
type: 'i18n',
|
|
13
13
|
'en-US': 'General',
|
|
14
|
-
'zh-CN': '通用'
|
|
14
|
+
'zh-CN': '通用',
|
|
15
15
|
},
|
|
16
|
-
docUrl:
|
|
17
|
-
screenshot:
|
|
18
|
-
devMode:
|
|
16
|
+
docUrl: '',
|
|
17
|
+
screenshot: '',
|
|
18
|
+
devMode: 'proCode',
|
|
19
19
|
npm: {
|
|
20
|
-
package:
|
|
21
|
-
version:
|
|
22
|
-
exportName:
|
|
23
|
-
main:
|
|
20
|
+
package: '@pisell/materials',
|
|
21
|
+
version: '1.0.1',
|
|
22
|
+
exportName: 'WalletCard',
|
|
23
|
+
main: 'src/index.tsx',
|
|
24
24
|
destructuring: true,
|
|
25
|
-
subName:
|
|
25
|
+
subName: '',
|
|
26
26
|
},
|
|
27
27
|
props: [
|
|
28
28
|
{
|
|
@@ -31,13 +31,13 @@ export default {
|
|
|
31
31
|
label: {
|
|
32
32
|
type: 'i18n',
|
|
33
33
|
'en-US': 'Display Status',
|
|
34
|
-
'zh-CN': '展示状态'
|
|
34
|
+
'zh-CN': '展示状态',
|
|
35
35
|
},
|
|
36
36
|
tip: {
|
|
37
37
|
type: 'i18n',
|
|
38
38
|
'en-US': 'Login status of the card. Values: true | false',
|
|
39
|
-
'zh-CN': '卡片的登录状态。取值: true | false'
|
|
40
|
-
}
|
|
39
|
+
'zh-CN': '卡片的登录状态。取值: true | false',
|
|
40
|
+
},
|
|
41
41
|
},
|
|
42
42
|
setter: {
|
|
43
43
|
componentName: 'RadioGroupSetter',
|
|
@@ -46,7 +46,7 @@ export default {
|
|
|
46
46
|
{ title: '已登录', value: true },
|
|
47
47
|
{ title: '未登录', value: false },
|
|
48
48
|
],
|
|
49
|
-
optionType: 'button'
|
|
49
|
+
optionType: 'button',
|
|
50
50
|
},
|
|
51
51
|
},
|
|
52
52
|
defaultValue: true,
|
|
@@ -57,13 +57,13 @@ export default {
|
|
|
57
57
|
label: {
|
|
58
58
|
type: 'i18n',
|
|
59
59
|
'en-US': 'Display Mode',
|
|
60
|
-
'zh-CN': '展示模式'
|
|
60
|
+
'zh-CN': '展示模式',
|
|
61
61
|
},
|
|
62
62
|
tip: {
|
|
63
63
|
type: 'i18n',
|
|
64
64
|
'en-US': 'Display mode. Values: light | dark',
|
|
65
|
-
'zh-CN': '展示模式。取值: light | dark'
|
|
66
|
-
}
|
|
65
|
+
'zh-CN': '展示模式。取值: light | dark',
|
|
66
|
+
},
|
|
67
67
|
},
|
|
68
68
|
setter: {
|
|
69
69
|
componentName: 'RadioGroupSetter',
|
|
@@ -82,13 +82,13 @@ export default {
|
|
|
82
82
|
label: {
|
|
83
83
|
type: 'i18n',
|
|
84
84
|
'en-US': 'Card Style',
|
|
85
|
-
'zh-CN': '卡片样式'
|
|
85
|
+
'zh-CN': '卡片样式',
|
|
86
86
|
},
|
|
87
87
|
tip: {
|
|
88
88
|
type: 'i18n',
|
|
89
89
|
'en-US': 'Card style. Values: normal | full',
|
|
90
|
-
'zh-CN': '卡片样式。取值: normal | full'
|
|
91
|
-
}
|
|
90
|
+
'zh-CN': '卡片样式。取值: normal | full',
|
|
91
|
+
},
|
|
92
92
|
},
|
|
93
93
|
setter: {
|
|
94
94
|
componentName: 'RadioGroupSetter',
|
|
@@ -107,13 +107,13 @@ export default {
|
|
|
107
107
|
label: {
|
|
108
108
|
type: 'i18n',
|
|
109
109
|
'en-US': 'Code Position',
|
|
110
|
-
'zh-CN': '码位置'
|
|
110
|
+
'zh-CN': '码位置',
|
|
111
111
|
},
|
|
112
112
|
tip: {
|
|
113
113
|
type: 'i18n',
|
|
114
114
|
'en-US': 'Code position. Values: bottom | top',
|
|
115
|
-
'zh-CN': '码位置。取值: bottom | top'
|
|
116
|
-
}
|
|
115
|
+
'zh-CN': '码位置。取值: bottom | top',
|
|
116
|
+
},
|
|
117
117
|
},
|
|
118
118
|
setter: {
|
|
119
119
|
componentName: 'RadioGroupSetter',
|
|
@@ -134,102 +134,120 @@ export default {
|
|
|
134
134
|
label: {
|
|
135
135
|
type: 'i18n',
|
|
136
136
|
'en-US': 'Card Information Display',
|
|
137
|
-
'zh-CN': '卡片信息显示'
|
|
138
|
-
}
|
|
137
|
+
'zh-CN': '卡片信息显示',
|
|
138
|
+
},
|
|
139
139
|
},
|
|
140
140
|
items: [
|
|
141
141
|
{
|
|
142
|
-
name:
|
|
142
|
+
name: 'showIcon',
|
|
143
143
|
title: {
|
|
144
144
|
label: {
|
|
145
145
|
type: 'i18n',
|
|
146
146
|
'en-US': 'Icon',
|
|
147
|
-
'zh-CN': '图标'
|
|
147
|
+
'zh-CN': '图标',
|
|
148
148
|
},
|
|
149
149
|
tip: {
|
|
150
150
|
type: 'i18n',
|
|
151
151
|
'en-US': 'Whether to display icon. Type: boolean',
|
|
152
|
-
'zh-CN': '是否显示图标。类型: boolean'
|
|
153
|
-
}
|
|
152
|
+
'zh-CN': '是否显示图标。类型: boolean',
|
|
153
|
+
},
|
|
154
154
|
},
|
|
155
|
-
setter:
|
|
156
|
-
defaultValue: true
|
|
155
|
+
setter: 'BoolSetter',
|
|
156
|
+
defaultValue: true,
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
|
-
name:
|
|
159
|
+
name: 'showWalletName',
|
|
160
160
|
title: {
|
|
161
161
|
label: {
|
|
162
162
|
type: 'i18n',
|
|
163
163
|
'en-US': 'Wallet name',
|
|
164
|
-
'zh-CN': '钱包名称'
|
|
164
|
+
'zh-CN': '钱包名称',
|
|
165
165
|
},
|
|
166
166
|
tip: {
|
|
167
167
|
type: 'i18n',
|
|
168
168
|
'en-US': 'Whether to display wallet name. Type: boolean',
|
|
169
|
-
'zh-CN': '是否显示钱包名称。类型: boolean'
|
|
170
|
-
}
|
|
169
|
+
'zh-CN': '是否显示钱包名称。类型: boolean',
|
|
170
|
+
},
|
|
171
171
|
},
|
|
172
|
-
setter:
|
|
173
|
-
defaultValue: true
|
|
172
|
+
setter: 'BoolSetter',
|
|
173
|
+
defaultValue: true,
|
|
174
174
|
},
|
|
175
175
|
{
|
|
176
|
-
name:
|
|
176
|
+
name: 'showShopName',
|
|
177
177
|
title: {
|
|
178
178
|
label: {
|
|
179
179
|
type: 'i18n',
|
|
180
180
|
'en-US': 'Store name',
|
|
181
|
-
'zh-CN': '店铺名称'
|
|
181
|
+
'zh-CN': '店铺名称',
|
|
182
182
|
},
|
|
183
183
|
tip: {
|
|
184
184
|
type: 'i18n',
|
|
185
185
|
'en-US': 'Whether to display store name. Type: boolean',
|
|
186
|
-
'zh-CN': '是否显示店铺名称。类型: boolean'
|
|
187
|
-
}
|
|
186
|
+
'zh-CN': '是否显示店铺名称。类型: boolean',
|
|
187
|
+
},
|
|
188
188
|
},
|
|
189
|
-
setter:
|
|
190
|
-
defaultValue: true
|
|
189
|
+
setter: 'BoolSetter',
|
|
190
|
+
defaultValue: true,
|
|
191
191
|
},
|
|
192
192
|
{
|
|
193
|
-
name:
|
|
193
|
+
name: 'showCardNo',
|
|
194
194
|
title: {
|
|
195
195
|
label: {
|
|
196
196
|
type: 'i18n',
|
|
197
197
|
'en-US': 'Card number',
|
|
198
|
-
'zh-CN': '卡号'
|
|
198
|
+
'zh-CN': '卡号',
|
|
199
199
|
},
|
|
200
200
|
tip: {
|
|
201
201
|
type: 'i18n',
|
|
202
202
|
'en-US': 'Whether to display card number. Type: boolean',
|
|
203
|
-
'zh-CN': '是否显示卡号。类型: boolean'
|
|
204
|
-
}
|
|
203
|
+
'zh-CN': '是否显示卡号。类型: boolean',
|
|
204
|
+
},
|
|
205
205
|
},
|
|
206
|
-
setter:
|
|
207
|
-
defaultValue: true
|
|
206
|
+
setter: 'BoolSetter',
|
|
207
|
+
defaultValue: true,
|
|
208
208
|
},
|
|
209
209
|
{
|
|
210
|
-
name:
|
|
210
|
+
name: 'showCode',
|
|
211
211
|
title: {
|
|
212
212
|
label: {
|
|
213
213
|
type: 'i18n',
|
|
214
214
|
'en-US': 'QR code/Barcode',
|
|
215
|
-
'zh-CN': '二维码/条码图标'
|
|
215
|
+
'zh-CN': '二维码/条码图标',
|
|
216
216
|
},
|
|
217
217
|
tip: {
|
|
218
218
|
type: 'i18n',
|
|
219
219
|
'en-US': 'Whether to display QR code/barcode. Type: boolean',
|
|
220
|
-
'zh-CN': '是否显示二维码/条形码图标。类型: boolean'
|
|
221
|
-
}
|
|
220
|
+
'zh-CN': '是否显示二维码/条形码图标。类型: boolean',
|
|
221
|
+
},
|
|
222
222
|
},
|
|
223
|
-
setter:
|
|
224
|
-
defaultValue: true
|
|
225
|
-
}
|
|
226
|
-
|
|
223
|
+
setter: 'BoolSetter',
|
|
224
|
+
defaultValue: true,
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
name: 'showViewPin',
|
|
228
|
+
title: {
|
|
229
|
+
label: {
|
|
230
|
+
type: 'i18n',
|
|
231
|
+
'en-US': 'View PIN',
|
|
232
|
+
'zh-CN': '查看PIN',
|
|
233
|
+
},
|
|
234
|
+
tip: {
|
|
235
|
+
type: 'i18n',
|
|
236
|
+
'en-US':
|
|
237
|
+
'If open, you need to configure the "onViewPinClick" event. Type: boolean',
|
|
238
|
+
'zh-CN': '如果打开需要配置"onViewPinClick"事件。类型: boolean',
|
|
239
|
+
},
|
|
240
|
+
},
|
|
241
|
+
setter: 'BoolSetter',
|
|
242
|
+
defaultValue: false,
|
|
243
|
+
},
|
|
244
|
+
],
|
|
227
245
|
},
|
|
228
246
|
{
|
|
229
247
|
name: 'guest',
|
|
230
248
|
type: 'group',
|
|
231
249
|
display: 'accordion',
|
|
232
|
-
title:
|
|
250
|
+
title: '未登录信息展示',
|
|
233
251
|
items: [
|
|
234
252
|
{
|
|
235
253
|
name: 'title',
|
|
@@ -249,7 +267,7 @@ export default {
|
|
|
249
267
|
name: 'align',
|
|
250
268
|
title: {
|
|
251
269
|
label: '对齐方式',
|
|
252
|
-
tip: '内容区域文字对齐方式 left | center'
|
|
270
|
+
tip: '内容区域文字对齐方式 left | center',
|
|
253
271
|
},
|
|
254
272
|
setter: {
|
|
255
273
|
componentName: 'RadioGroupSetter',
|
|
@@ -268,16 +286,16 @@ export default {
|
|
|
268
286
|
propType: 'string',
|
|
269
287
|
defaultValue: 'Sign Up Now',
|
|
270
288
|
setter: 'PisellI18nSetter',
|
|
271
|
-
}
|
|
272
|
-
]
|
|
273
|
-
}
|
|
289
|
+
},
|
|
290
|
+
],
|
|
291
|
+
},
|
|
274
292
|
],
|
|
275
293
|
configure: {
|
|
276
294
|
component: { isContainer: false },
|
|
277
295
|
supports: {
|
|
278
296
|
style: true,
|
|
279
297
|
className: true,
|
|
280
|
-
events: ['onClick', 'onCodeClick'],
|
|
298
|
+
events: ['onClick', 'onCodeClick', 'onViewPinClick'],
|
|
281
299
|
},
|
|
282
300
|
},
|
|
283
301
|
};
|