@pisell/materials 2.2.102 → 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.
Files changed (129) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +146 -146
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +23 -23
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +29 -29
  11. package/es/components/appVersionControl/index.d.ts +1 -0
  12. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
  13. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  14. package/es/components/dataSourceComponents/fields/index.d.ts +7 -7
  15. package/es/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
  16. package/es/components/drag-sort-tree/index.d.ts +1 -0
  17. package/es/components/iconfont/index.d.ts +8 -0
  18. package/es/components/page/index.d.ts +0 -1
  19. package/es/components/pisell-config-provider/context.d.ts +22 -0
  20. package/es/components/pisellAdjustPrice/index.d.ts +0 -1
  21. package/es/components/pisellAdjustPrice/status.d.ts +32 -0
  22. package/es/components/pisellAdjustPrice/type.d.ts +22 -0
  23. package/es/components/pisellInformationEntry/Scan/index.d.ts +1 -0
  24. package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
  25. package/es/components/pisellInput/index.d.ts +0 -1
  26. package/es/components/pisellWalletPassCard/index.js +6 -1
  27. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -1
  28. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  29. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
  30. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +45 -0
  31. package/es/components/productCard/cartSkuCard/index.d.ts +0 -1
  32. package/es/components/productCard/cartSkuCard/locales.d.ts +96 -0
  33. package/es/components/productCard/components/Action/index.d.ts +4 -0
  34. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +1 -0
  35. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
  36. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
  37. package/es/components/productCard/components/Time/index.d.ts +1 -0
  38. package/es/components/productCard/locales.d.ts +84 -0
  39. package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
  40. package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
  41. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
  42. package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
  43. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
  44. package/es/components/table/Actions/component/ViewMode/index.d.ts +1 -0
  45. package/es/components/table/Table/fields/index.d.ts +2 -2
  46. package/es/components/table/Table/utils.d.ts +1 -1
  47. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
  48. package/es/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  49. package/es/components/virtual-keyboard/Number/index.d.ts +0 -1
  50. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
  51. package/es/components/virtual-keyboard/Number/types.d.ts +26 -0
  52. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
  53. package/es/components/walletCard/Guide/index.d.ts +4 -0
  54. package/es/components/walletCard/index.d.ts +4 -0
  55. package/es/components/walletCard/index.js +29 -3
  56. package/es/components/walletCard/index.less +27 -0
  57. package/es/locales/en-US.d.ts +52 -50
  58. package/es/locales/en-US.js +67 -65
  59. package/es/locales/zh-CN.d.ts +52 -50
  60. package/es/locales/zh-CN.js +68 -66
  61. package/es/locales/zh-TW.d.ts +52 -50
  62. package/es/locales/zh-TW.js +68 -66
  63. package/lib/components/appVersionControl/index.d.ts +1 -0
  64. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
  65. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  66. package/lib/components/dataSourceComponents/fields/index.d.ts +7 -7
  67. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
  68. package/lib/components/drag-sort-tree/index.d.ts +1 -0
  69. package/lib/components/iconfont/index.d.ts +8 -0
  70. package/lib/components/page/index.d.ts +0 -1
  71. package/lib/components/pisell-config-provider/context.d.ts +22 -0
  72. package/lib/components/pisellAdjustPrice/index.d.ts +0 -1
  73. package/lib/components/pisellAdjustPrice/status.d.ts +32 -0
  74. package/lib/components/pisellAdjustPrice/type.d.ts +22 -0
  75. package/lib/components/pisellInformationEntry/Scan/index.d.ts +1 -0
  76. package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
  77. package/lib/components/pisellInput/index.d.ts +0 -1
  78. package/lib/components/pisellWalletPassCard/index.js +9 -1
  79. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -1
  80. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  81. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -1
  82. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +45 -0
  83. package/lib/components/productCard/cartSkuCard/index.d.ts +0 -1
  84. package/lib/components/productCard/cartSkuCard/locales.d.ts +96 -0
  85. package/lib/components/productCard/components/Action/index.d.ts +4 -0
  86. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +1 -0
  87. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
  88. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
  89. package/lib/components/productCard/components/Time/index.d.ts +1 -0
  90. package/lib/components/productCard/locales.d.ts +84 -0
  91. package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
  92. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
  93. package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
  94. package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
  95. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
  96. package/lib/components/table/Actions/component/ViewMode/index.d.ts +1 -0
  97. package/lib/components/table/Table/fields/index.d.ts +2 -2
  98. package/lib/components/table/Table/utils.d.ts +1 -1
  99. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
  100. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  101. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -1
  102. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
  103. package/lib/components/virtual-keyboard/Number/types.d.ts +26 -0
  104. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
  105. package/lib/components/walletCard/Guide/index.d.ts +4 -0
  106. package/lib/components/walletCard/index.d.ts +4 -0
  107. package/lib/components/walletCard/index.js +27 -3
  108. package/lib/components/walletCard/index.less +27 -0
  109. package/lib/locales/en-US.d.ts +52 -50
  110. package/lib/locales/en-US.js +2 -0
  111. package/lib/locales/zh-CN.d.ts +52 -50
  112. package/lib/locales/zh-CN.js +2 -0
  113. package/lib/locales/zh-TW.d.ts +52 -50
  114. package/lib/locales/zh-TW.js +2 -0
  115. package/lowcode/pisell-wallet-pass-card/meta.ts +19 -0
  116. package/lowcode/wallet-card/meta.ts +81 -63
  117. package/package.json +1 -1
  118. package/es/components/media/index.d.ts +0 -18
  119. package/es/components/media/index.js +0 -340
  120. package/es/components/media/index.less +0 -100
  121. package/es/components/pisellVHFix/index.d.ts +0 -13
  122. package/es/components/pisellVHFix/index.js +0 -36
  123. package/es/components/pisellVHFix/index.less +0 -10
  124. package/lib/components/media/index.d.ts +0 -18
  125. package/lib/components/media/index.js +0 -265
  126. package/lib/components/media/index.less +0 -100
  127. package/lib/components/pisellVHFix/index.d.ts +0 -13
  128. package/lib/components/pisellVHFix/index.js +0 -56
  129. package/lib/components/pisellVHFix/index.less +0 -10
@@ -1,44 +1,44 @@
1
1
  declare const _default: {
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;
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
- "date-picker-apply": string;
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;
@@ -136,6 +136,7 @@ declare const _default: {
136
136
  'pisell-adjust-price-discount-can-be-maximum': string;
137
137
  'pisell-discount-card-title': string;
138
138
  'pisell-discount-card-unit': string;
139
+ 'pisell-discount-card-fixed-amount-prefix': string;
139
140
  'pisell-data-source-table-add': string;
140
141
  'pisell-data-source-table-edit': string;
141
142
  'pisell-data-source-table-detail': string;
@@ -159,6 +160,7 @@ declare const _default: {
159
160
  'walletCard-done': string;
160
161
  'walletCard-qrcode': string;
161
162
  'walletCard-barcode': string;
163
+ 'walletCard-viewPin': string;
162
164
  'pisell-upload-button': string;
163
165
  'pisell-upload-setting-size-error': (maxSize: number) => string;
164
166
  'pisell-upload-setting-type-error': (type: string) => string;
@@ -235,15 +237,15 @@ declare const _default: {
235
237
  'pisell-data-source-form-app-identifier-start-with-letter': string;
236
238
  'pisell-data-source-form-app-identifier-special-ends': string;
237
239
  'pisell-data-source-form-app-identifier-consecutive-special': string;
238
- "qrscanner-loading": string;
239
- "qrscanner-success": string;
240
- "qrscanner-success-qrcode": string;
241
- "qrscanner-success-barcode": string;
242
- "qrscanner-error-upload-image": string;
243
- "qrscanner-error-load-failed": string;
244
- "qrscanner-error-no-code": string;
245
- "qrscanner-error-camera-init": string;
246
- "qrscanner-error-process-image": string;
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;
247
249
  'pisell-login-and-register-title': string;
248
250
  'pisell-login-and-register-subtitle': string;
249
251
  'pisell-login-and-register-email-label': string;
@@ -169,6 +169,7 @@ var zh_CN_default = {
169
169
  "pisell-adjust-price-discount-can-be-maximum": "折扣最高可达",
170
170
  "pisell-discount-card-title": "折扣",
171
171
  "pisell-discount-card-unit": "折扣",
172
+ "pisell-discount-card-fixed-amount-prefix": "立减",
172
173
  "pisell-data-source-table-add": "添加",
173
174
  "pisell-data-source-table-edit": "编辑",
174
175
  "pisell-data-source-table-detail": "详情",
@@ -195,6 +196,7 @@ var zh_CN_default = {
195
196
  "walletCard-done": "完成",
196
197
  "walletCard-qrcode": "二维码",
197
198
  "walletCard-barcode": "条形码",
199
+ "walletCard-viewPin": "查看PIN",
198
200
  // 上传组件
199
201
  "pisell-upload-button": "上传",
200
202
  "pisell-upload-setting-size-error": (maxSize) => `每个文件的大小不超过${maxSize}MB`,
@@ -1,44 +1,44 @@
1
1
  declare const _default: {
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;
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
- "date-picker-apply": string;
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;
@@ -136,6 +136,7 @@ declare const _default: {
136
136
  'pisell-adjust-price-discount-can-be-maximum': string;
137
137
  'pisell-discount-card-title': string;
138
138
  'pisell-discount-card-unit': string;
139
+ 'pisell-discount-card-fixed-amount-prefix': string;
139
140
  'pisell-data-source-table-add': string;
140
141
  'pisell-data-source-table-edit': string;
141
142
  'pisell-data-source-table-detail': string;
@@ -158,6 +159,7 @@ declare const _default: {
158
159
  'walletCard-done': string;
159
160
  'walletCard-qrcode': string;
160
161
  'walletCard-barcode': string;
162
+ 'walletCard-viewPin': string;
161
163
  'pisell-upload-button': string;
162
164
  'pisell-upload-setting-size-error': (maxSize: number) => string;
163
165
  'pisell-upload-setting-type-error': (type: string) => string;
@@ -235,15 +237,15 @@ declare const _default: {
235
237
  'pisell-data-source-form-app-identifier-start-with-letter': string;
236
238
  'pisell-data-source-form-app-identifier-special-ends': string;
237
239
  'pisell-data-source-form-app-identifier-consecutive-special': string;
238
- "qrscanner-loading": string;
239
- "qrscanner-success": string;
240
- "qrscanner-success-qrcode": string;
241
- "qrscanner-success-barcode": string;
242
- "qrscanner-error-upload-image": string;
243
- "qrscanner-error-load-failed": string;
244
- "qrscanner-error-no-code": string;
245
- "qrscanner-error-camera-init": string;
246
- "qrscanner-error-process-image": string;
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;
247
249
  'pisell-login-and-register-title': string;
248
250
  'pisell-login-and-register-subtitle': string;
249
251
  'pisell-login-and-register-email-label': string;
@@ -169,6 +169,7 @@ var zh_TW_default = {
169
169
  "pisell-adjust-price-discount-can-be-maximum": "折扣最高可達",
170
170
  "pisell-discount-card-title": "折扣",
171
171
  "pisell-discount-card-unit": "折扣",
172
+ "pisell-discount-card-fixed-amount-prefix": "立減",
172
173
  // 数据源表格
173
174
  "pisell-data-source-table-add": "添加",
174
175
  "pisell-data-source-table-edit": "編輯",
@@ -195,6 +196,7 @@ var zh_TW_default = {
195
196
  "walletCard-done": "完成",
196
197
  "walletCard-qrcode": "二維碼",
197
198
  "walletCard-barcode": "條形碼",
199
+ "walletCard-viewPin": "查看PIN",
198
200
  // 上传组件
199
201
  "pisell-upload-button": "上傳",
200
202
  "pisell-upload-setting-size-error": (maxSize) => `每個文件的大小不超過${maxSize}MB`,
@@ -153,6 +153,19 @@ export default {
153
153
  propType: 'bool',
154
154
  setter: 'BoolSetter',
155
155
  defaultValue: true,
156
+ },
157
+ {
158
+ name: 'discount',
159
+ title: { label: '折扣' },
160
+ propType: 'string',
161
+ setter: ['StringSetter', 'NumberSetter', 'VariableSetter'],
162
+ },
163
+ {
164
+ name: 'showDiscount',
165
+ title: { label: '显示折扣' },
166
+ propType: 'bool',
167
+ setter: 'BoolSetter',
168
+ defaultValue: true,
156
169
  },
157
170
  {
158
171
  name: 'code',
@@ -213,6 +226,12 @@ export default {
213
226
  setter: 'BoolSetter',
214
227
  defaultValue: true,
215
228
  },
229
+ {
230
+ name: 'metadata',
231
+ title: { label: '元信息' },
232
+ propType: 'object',
233
+ setter: 'JsonSetter',
234
+ }
216
235
  ],
217
236
  },
218
237
  {
@@ -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: "proCode",
16
+ docUrl: '',
17
+ screenshot: '',
18
+ devMode: 'proCode',
19
19
  npm: {
20
- package: "@pisell/materials",
21
- version: "1.0.1",
22
- exportName: "WalletCard",
23
- main: "src/index.tsx",
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: "showIcon",
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: "BoolSetter",
156
- defaultValue: true
155
+ setter: 'BoolSetter',
156
+ defaultValue: true,
157
157
  },
158
158
  {
159
- name: "showWalletName",
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: "BoolSetter",
173
- defaultValue: true
172
+ setter: 'BoolSetter',
173
+ defaultValue: true,
174
174
  },
175
175
  {
176
- name: "showShopName",
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: "BoolSetter",
190
- defaultValue: true
189
+ setter: 'BoolSetter',
190
+ defaultValue: true,
191
191
  },
192
192
  {
193
- name: "showCardNo",
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: "BoolSetter",
207
- defaultValue: true
206
+ setter: 'BoolSetter',
207
+ defaultValue: true,
208
208
  },
209
209
  {
210
- name: "showCode",
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: "BoolSetter",
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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "2.2.102",
3
+ "version": "2.2.104",
4
4
  "scripts": {
5
5
  "dev": "father dev",
6
6
  "build": "father build",