@pisell/materials 6.2.38 → 6.2.40

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 (137) 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 +7 -7
  6. package/build/lowcode/preview.js +7 -7
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +36 -21
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +35 -20
  11. package/es/components/dataSourceComponents/dataSourceTable/BaseTable.js +11 -4
  12. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
  13. package/es/components/dataSourceComponents/dataSourceTable/filter/index.js +7 -2
  14. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  15. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.js +33 -15
  16. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +2 -1
  17. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.js +92 -6
  18. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +5 -0
  19. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  20. package/es/components/dataSourceComponents/fields/Upload/BaseUpload.js +199 -19
  21. package/es/components/dataSourceComponents/fields/Upload/CameraPopover.js +66 -0
  22. package/es/components/dataSourceComponents/fields/Upload/index.less +35 -3
  23. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  24. package/es/components/dataSourceComponents/fields/index.d.ts +8 -8
  25. package/es/components/filter/types.d.ts +2 -0
  26. package/es/components/pisellCamera/index.js +228 -0
  27. package/es/components/pisellCamera/index.less +131 -0
  28. package/es/components/pisellCardList/index.js +3 -1
  29. package/es/components/pisellCheckboxGroup/index.js +15 -1
  30. package/es/components/pisellWalletPassCard/index.d.ts +1 -0
  31. package/es/components/pisellWalletPassCard/index.js +6 -1
  32. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +2 -1
  33. package/es/components/productCard/cartSkuCard/components/swipeAction/index.js +74 -6
  34. package/es/components/productCard/cartSkuCard/components/swipeAction/index.less +39 -0
  35. package/es/components/productCard/cartSkuCard/index.js +2 -11
  36. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  37. package/es/components/table/Table/fields/index.d.ts +2 -2
  38. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  39. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  40. package/es/components/table/Table/utils.d.ts +1 -1
  41. package/es/components/table/Table/utils.js +22 -1
  42. package/es/components/table/hooks/useTableSetting.d.ts +3 -4
  43. package/es/components/table/hooks/useTableSetting.js +113 -5
  44. package/es/components/table/index.js +14 -3
  45. package/es/components/table/types.d.ts +17 -0
  46. package/es/components/walletCard/Guide/index.js +12 -1
  47. package/es/components/walletCard/index.js +29 -3
  48. package/es/components/walletCard/index.less +27 -0
  49. package/es/locales/en-US.js +83 -69
  50. package/es/locales/zh-CN.js +84 -70
  51. package/es/locales/zh-TW.js +84 -70
  52. package/es/utils/index.d.ts +1 -1
  53. package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.js +8 -2
  54. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
  55. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.js +7 -2
  56. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  57. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.js +20 -7
  58. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +2 -1
  59. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.js +78 -7
  60. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +5 -0
  61. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  62. package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.js +168 -5
  63. package/lib/components/dataSourceComponents/fields/Upload/CameraPopover.js +95 -0
  64. package/lib/components/dataSourceComponents/fields/Upload/index.less +35 -3
  65. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  66. package/lib/components/dataSourceComponents/fields/index.d.ts +8 -8
  67. package/lib/components/filter/types.d.ts +2 -0
  68. package/lib/components/pisellCamera/index.js +222 -0
  69. package/lib/components/pisellCamera/index.less +131 -0
  70. package/lib/components/pisellCardList/index.js +3 -1
  71. package/lib/components/pisellCheckboxGroup/index.js +16 -0
  72. package/lib/components/pisellWalletPassCard/index.d.ts +1 -0
  73. package/lib/components/pisellWalletPassCard/index.js +9 -1
  74. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +2 -1
  75. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.js +45 -11
  76. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.less +39 -0
  77. package/lib/components/productCard/cartSkuCard/index.js +2 -13
  78. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  79. package/lib/components/table/Table/fields/index.d.ts +2 -2
  80. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  81. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  82. package/lib/components/table/Table/utils.d.ts +1 -1
  83. package/lib/components/table/Table/utils.js +18 -1
  84. package/lib/components/table/hooks/useTableSetting.d.ts +3 -4
  85. package/lib/components/table/hooks/useTableSetting.js +114 -4
  86. package/lib/components/table/index.js +12 -1
  87. package/lib/components/table/types.d.ts +17 -0
  88. package/lib/components/walletCard/Guide/index.js +11 -1
  89. package/lib/components/walletCard/index.js +27 -3
  90. package/lib/components/walletCard/index.less +27 -0
  91. package/lib/locales/en-US.js +15 -1
  92. package/lib/locales/zh-CN.js +15 -1
  93. package/lib/locales/zh-TW.js +15 -1
  94. package/lib/utils/index.d.ts +1 -1
  95. package/lowcode/data-source-table/meta.ts +358 -66
  96. package/lowcode/form-item-upload/meta.ts +20 -5
  97. package/lowcode/pisell-upload/meta.ts +8 -0
  98. package/lowcode/pisell-wallet-pass-card/meta.ts +19 -0
  99. package/lowcode/table/meta.ts +104 -0
  100. package/lowcode/wallet-card/meta.ts +81 -63
  101. package/package.json +2 -1
  102. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -98
  103. package/es/components/dataSourceComponents/fields/Upload/type.d.ts +0 -37
  104. package/es/components/pisell-config-provider/context.d.ts +0 -20
  105. package/es/components/pisell-config-provider/index.d.ts +0 -12
  106. package/es/components/pisellAdjustPrice/index.d.ts +0 -4
  107. package/es/components/pisellAdjustPrice/type.d.ts +0 -20
  108. package/es/components/pisellCheckboxGroup/index.d.ts +0 -36
  109. package/es/components/pisellQRScanner/index.d.ts +0 -37
  110. package/es/components/pisellText/components/Amount/index.d.ts +0 -20
  111. package/es/components/table/Table/AddFieldModal/index.d.ts +0 -3
  112. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -11
  113. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -21
  114. package/es/components/virtual-keyboard/Number/index.d.ts +0 -5
  115. package/es/components/virtual-keyboard/Number/types.d.ts +0 -25
  116. package/es/components/walletCard/index.d.ts +0 -67
  117. package/es/locales/en-US.d.ts +0 -278
  118. package/es/locales/zh-CN.d.ts +0 -273
  119. package/es/locales/zh-TW.d.ts +0 -273
  120. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -98
  121. package/lib/components/dataSourceComponents/fields/Upload/type.d.ts +0 -37
  122. package/lib/components/pisell-config-provider/context.d.ts +0 -20
  123. package/lib/components/pisell-config-provider/index.d.ts +0 -12
  124. package/lib/components/pisellAdjustPrice/index.d.ts +0 -4
  125. package/lib/components/pisellAdjustPrice/type.d.ts +0 -20
  126. package/lib/components/pisellCheckboxGroup/index.d.ts +0 -36
  127. package/lib/components/pisellQRScanner/index.d.ts +0 -37
  128. package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
  129. package/lib/components/table/Table/AddFieldModal/index.d.ts +0 -3
  130. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -11
  131. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -21
  132. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -5
  133. package/lib/components/virtual-keyboard/Number/types.d.ts +0 -25
  134. package/lib/components/walletCard/index.d.ts +0 -67
  135. package/lib/locales/en-US.d.ts +0 -278
  136. package/lib/locales/zh-CN.d.ts +0 -273
  137. package/lib/locales/zh-TW.d.ts +0 -273
@@ -1,273 +0,0 @@
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;
42
- 'batch-editor-batch-edit': string;
43
- 'batch-editor-actions': string;
44
- 'batch-editor-remove': string;
45
- 'batch-editor-price': string;
46
- 'batch-editor-cancel': string;
47
- 'batch-editor-search': string;
48
- 'batch-editor-confirm': string;
49
- 'batch-editor-batch-remove': string;
50
- 'batch-editor-quick-edit': string;
51
- 'batch-editor-what-price': string;
52
- 'batch-editor-quick-edit-title': (product: string, num: string) => string;
53
- 'batch-editor-quick-edit-title-2': (product: string) => string;
54
- 'table-action-export-import-export-success': string;
55
- 'table-action-export-import-button': string;
56
- 'table-action-export-import-export-range': string;
57
- 'table-action-export-import-current-page': string;
58
- 'table-action-export-import-all-records': string;
59
- 'table-action-export-import-selected-records': string;
60
- 'table-action-export-import-selected': string;
61
- 'table-action-export-import-item': (length: number) => string;
62
- 'table-action-export-import-product': string;
63
- 'table-action-export-import-table-text-input-title': string;
64
- 'table-action-export-import-table-text-input-describe': string;
65
- 'table-action-export-import-table-error-file': string;
66
- 'table-action-export-import-import-success': string;
67
- 'table-action-export-import-import-phone': string;
68
- 'table-action-export-import-table-success-download': string;
69
- 'table-action-export-import-table-textimport-product': string;
70
- 'table-action-export-import-table-text-product-template': string;
71
- 'table-action-export-import-table-text-click-download': string;
72
- 'table-action-export-import-table-text-edit-file': string;
73
- 'table-action-export-import-button-import': string;
74
- 'table-action-export-import-cancel': string;
75
- 'table-action-export-import-file-completed': string;
76
- 'table-action-export-import-file-processing': string;
77
- 'table-action-export-import-file-pending': string;
78
- 'table-action-export-import-file-refresh': string;
79
- 'table-action-export-import-export-title': string;
80
- 'table-action-export-import-file-hint': string;
81
- 'table-action-export-import-file-name': string;
82
- 'table-action-export-import-file-content': string;
83
- 'table-action-export-import-file-content-all': string;
84
- 'table-action-export-import-file-content-part': string;
85
- 'table-action-export-import-file-status': string;
86
- 'table-action-export-import-file-account': string;
87
- 'table-action-export-import-file-created': string;
88
- 'table-action-export-import-file-record': (length: number) => string;
89
- 'table-action-export-import-import-title': string;
90
- 'table-action-export-import-log-hint': string;
91
- 'table-action-export-import-log-name': string;
92
- 'table-action-export-import-log-result': string;
93
- 'table-action-export-import-log-ok': (num: number) => string;
94
- 'table-action-export-import-log-err': (num: number) => string;
95
- 'table-action-export-import-log-check': string;
96
- 'table-action-export-import-log-detail-title': string;
97
- 'table-action-export-import-log-err-log': string;
98
- 'table-action-export-import-log-copy': string;
99
- 'table-action-export-import-table-success-copy': string;
100
- 'drag-sort-tree-unavailable-today-tip': string;
101
- 'date-picker-today': string;
102
- 'date-picker-yesterday': string;
103
- 'date-picker-tomorrow': string;
104
- 'date-picker-next_monday': string;
105
- 'date-picker-last_friday': string;
106
- 'date-picker-first_day_of_this_month': string;
107
- 'date-picker-last_day_of_this_month': string;
108
- 'date-picker-first_day_of_next_month': string;
109
- 'date-picker-last_day_of_last_month': string;
110
- 'date-picker-invalid-date': string;
111
- "date-picker-apply": string;
112
- 'date-picker-shortcut-custom': string;
113
- 'pisell-input-copy-success': string;
114
- 'pisell-input-copy': string;
115
- 'pisell-empty-description-no-data': string;
116
- 'pisell-information-entry-input-search': string;
117
- 'pisell-information-entry-input-confirm': string;
118
- 'pisell-information-entry-scan-exit': string;
119
- 'pisell-wallet-pass-card-detail': string;
120
- 'pisell-wallet-pass-card-edit': string;
121
- 'pisell-wallet-pass-card-name': string;
122
- 'pisell-wallet-pass-card-store-name': string;
123
- 'pisell-wallet-pass-card-balance': string;
124
- 'pisell-wallet-pass-card-redeem': string;
125
- 'pisell-wallet-pass-card-code': string;
126
- 'pisell-wallet-pass-card-valid-to': string;
127
- 'pisell-wallet-pass-card-confirm': string;
128
- 'pisell-wallet-pass-card-cancel': string;
129
- 'pisell-wallet-pass-card-required': string;
130
- 'pisell-wallet-pass-card-expireDate': string;
131
- 'pisell-adjust-price-price-override': string;
132
- 'pisell-adjust-price-discount': string;
133
- 'pisell-adjust-price-discount-amount': string;
134
- 'pisell-adjust-price-discount-percentage': string;
135
- 'pisell-adjust-price-total-after-discount': string;
136
- 'pisell-adjust-price-discount-can-be-maximum': string;
137
- 'pisell-discount-card-title': string;
138
- 'pisell-discount-card-unit': string;
139
- 'pisell-data-source-table-add': string;
140
- 'pisell-data-source-table-edit': string;
141
- 'pisell-data-source-table-detail': string;
142
- 'pisell-data-source-table-delete': string;
143
- 'pisell-record-view-available': string;
144
- 'pisell-record-view-unavailable': string;
145
- 'pisell-data-source-form-required-message': string;
146
- 'pisell-data-source-form-email-message': string;
147
- 'pisell-data-source-form-domain-message': string;
148
- 'pisell-data-source-form-url-message': string;
149
- 'pisell-data-source-form-phone-message': string;
150
- 'pisell-data-source-form-min-length-message': (minLength: number) => string;
151
- 'pisell-data-source-form-max-length-message': (maxLength: number) => string;
152
- 'pisell-data-source-form-min-value-message': (minValue: number) => string;
153
- 'pisell-data-source-form-max-value-message': (maxValue: number) => string;
154
- 'pisell-data-source-form-mobile-message': string;
155
- 'pisell-data-source-form-pattern-message': string;
156
- 'pisell-number-format-thousand': string;
157
- 'pisell-number-format-million': string;
158
- 'pisell-number-format-billion': string;
159
- 'walletCard-done': string;
160
- 'walletCard-qrcode': string;
161
- 'walletCard-barcode': string;
162
- 'pisell-upload-button': string;
163
- 'pisell-upload-setting-size-error': (maxSize: number) => string;
164
- 'pisell-upload-setting-type-error': (type: string) => string;
165
- 'pisell-upload-count-error': (count: number) => string;
166
- 'pisell-upload-error': (name: string) => string;
167
- 'pisell-upload-multilingual-title': string;
168
- 'pisell-upload-multilingual-item-title-original': string;
169
- 'pisell-upload-multilingual-item-title-en': string;
170
- 'pisell-upload-multilingual-item-title-zh-CN': string;
171
- 'pisell-upload-multilingual-item-title-zh-HK': string;
172
- 'pisell-color-picker-default': string;
173
- 'pisell-action-get-data': string;
174
- 'pisell-action-delete-success': string;
175
- 'pisell-action-delete-failed': string;
176
- 'walletCard-piont': string;
177
- 'walletCard-rechargeable': string;
178
- 'walletCard-voucher': string;
179
- 'walletCard-discount': string;
180
- 'pisellQrcode-done': string;
181
- 'pisellQrcode-qrcode': string;
182
- 'pisell-delete-confirm-title': string;
183
- 'pisell-delete-confirm-content': string;
184
- 'pisell-delete-confirm-ok': string;
185
- 'pisell-delete-confirm-cancel': string;
186
- 'pisell-design-mode-action-disabled': string;
187
- 'pisell-translation-original': string;
188
- 'pisell-version-modal-title': string;
189
- 'pisell-version-modal-current-version': string;
190
- 'pisell-version-modal-version': string;
191
- 'pisell-version-modal-update-notes': string;
192
- 'pisell-version-modal-patch': string;
193
- 'pisell-version-modal-minor': string;
194
- 'pisell-version-modal-major': string;
195
- 'pisell-version-modal-custom': string;
196
- 'pisell-version-modal-cancel': string;
197
- 'pisell-version-modal-confirm': string;
198
- 'pisell-version-modal-describe-update-notes': string;
199
- 'pisell-version-modal-version-error': string;
200
- 'pisell-version-modal-version-required': string;
201
- 'pisell-version-modal-based-on-version': string;
202
- 'subdomain-error-too-short': string;
203
- 'subdomain-error-too-long': string;
204
- 'subdomain-error-pattern': string;
205
- 'subdomain-error-numbers-only': string;
206
- 'subdomain-error-hyphen-ends': string;
207
- 'subdomain-error-consecutive-hyphens': string;
208
- 'pisell-icon-select-outlined': string;
209
- 'pisell-icon-select-filled': string;
210
- 'pisell-icon-select-two-tone': string;
211
- 'pisell-icon-select-iconfont': string;
212
- 'pisell-icon-select-search': string;
213
- 'pisell-icon-select-select': string;
214
- 'pisell-lowcode-app-version-control-live': string;
215
- 'pisell-lowcode-app-version-control-draft': string;
216
- 'pisell-lowcode-app-version-control-deprecated': string;
217
- 'pisell-lowcode-app-version-control-new-version': string;
218
- 'pisell-lowcode-app-version-control-promote-to-live': string;
219
- 'pisell-lowcode-app-version-control-promote-version': (version: string) => string;
220
- 'pisell-lowcode-app-version-control-promote-version-describe': string;
221
- 'pisell-lowcode-app-version-control-promote-version-ok': string;
222
- 'pisell-lowcode-app-version-control-promote-version-cancel': string;
223
- 'pisell-lowcode-app-version-control-version-exists': string;
224
- 'pisell-lowcode-drop-sort-add': string;
225
- 'pisell-lowcode-navigation-menu-add-sub-menu': string;
226
- 'pisell-lowcode-navigation-menu-add-page': string;
227
- 'pisell-lowcode-navigation-menu-add-page-tip': string;
228
- 'pisell-lowcode-navigation-menu-tag-base': string;
229
- 'pisell-lowcode-navigation-menu-tag-proCode': string;
230
- 'pisell-lowcode-navigation-menu-tag-pisell1': string;
231
- 'pisell-lowcode-navigation-menu-tag-group': string;
232
- 'pisell-lowcode-navigation-menu-tag-sub-menu': string;
233
- 'pisell-lowcode-navigation-menu-tag-custom': string;
234
- 'pisell-data-source-form-app-identifier-pattern': string;
235
- 'pisell-data-source-form-app-identifier-start-with-letter': string;
236
- 'pisell-data-source-form-app-identifier-special-ends': string;
237
- '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;
247
- 'pisell-login-and-register-title': string;
248
- 'pisell-login-and-register-subtitle': string;
249
- 'pisell-login-and-register-email-label': string;
250
- 'pisell-login-and-register-email-placeholder': string;
251
- 'pisell-login-and-register-password-label': string;
252
- 'pisell-login-and-register-password-placeholder': string;
253
- 'pisell-login-and-register-email-error': string;
254
- 'pisell-login-and-register-email-error-valid': string;
255
- 'pisell-login-and-register-password-error': string;
256
- 'pisell-login-and-register-login': string;
257
- 'pisell-login-and-register-google': string;
258
- 'pisell-login-and-register-facebook': string;
259
- 'pisell-login-and-register-apple': string;
260
- 'pisell-login-and-register-sign-up': string;
261
- 'pisell-login-and-register-login-tab': string;
262
- 'pisell-login-and-register-register-tab': string;
263
- 'pisell-login-and-register-register-email-placeholder': string;
264
- 'pisell-login-and-register-register-password-placeholder': string;
265
- 'pisell-login-and-register-register-button-text': string;
266
- 'pisell-login-and-register-remember-me': string;
267
- 'pisell-login-and-register-forgot-password': string;
268
- 'pisell2.text.goodpass.product-vouchers': string;
269
- 'pisell2.text.goodpass.last-settlement': string;
270
- 'pisell2.text.goodpass.view-more': string;
271
- 'pisell2.text.goodpass.save': string;
272
- };
273
- export default _default;
@@ -1,273 +0,0 @@
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;
42
- 'batch-editor-batch-edit': string;
43
- 'batch-editor-actions': string;
44
- 'batch-editor-remove': string;
45
- 'batch-editor-price': string;
46
- 'batch-editor-cancel': string;
47
- 'batch-editor-search': string;
48
- 'batch-editor-confirm': string;
49
- 'batch-editor-batch-remove': string;
50
- 'batch-editor-what-price': string;
51
- 'batch-editor-quick-edit': string;
52
- 'batch-editor-quick-edit-title': (product: string, num: string) => string;
53
- 'batch-editor-quick-edit-title-2': (product: string) => string;
54
- 'table-action-export-import-export-success': string;
55
- 'table-action-export-import-button': string;
56
- 'table-action-export-import-export-range': string;
57
- 'table-action-export-import-current-page': string;
58
- 'table-action-export-import-all-records': string;
59
- 'table-action-export-import-selected-records': string;
60
- 'table-action-export-import-selected': string;
61
- 'table-action-export-import-item': (length: number) => string;
62
- 'table-action-export-import-product': string;
63
- 'table-action-export-import-table-text-input-title': string;
64
- 'table-action-export-import-table-text-input-describe': string;
65
- 'table-action-export-import-table-error-file': string;
66
- 'table-action-export-import-import-success': string;
67
- 'table-action-export-import-import-phone': string;
68
- 'table-action-export-import-table-success-download': string;
69
- 'table-action-export-import-table-textimport-product': string;
70
- 'table-action-export-import-table-text-product-template': string;
71
- 'table-action-export-import-table-text-click-download': string;
72
- 'table-action-export-import-table-text-edit-file': string;
73
- 'table-action-export-import-button-import': string;
74
- 'table-action-export-import-cancel': string;
75
- 'table-action-export-import-file-completed': string;
76
- 'table-action-export-import-file-processing': string;
77
- 'table-action-export-import-file-pending': string;
78
- 'table-action-export-import-file-refresh': string;
79
- 'table-action-export-import-export-title': string;
80
- 'table-action-export-import-file-hint': string;
81
- 'table-action-export-import-file-name': string;
82
- 'table-action-export-import-file-content': string;
83
- 'table-action-export-import-file-content-all': string;
84
- 'table-action-export-import-file-content-part': string;
85
- 'table-action-export-import-file-status': string;
86
- 'table-action-export-import-file-account': string;
87
- 'table-action-export-import-file-created': string;
88
- 'table-action-export-import-file-record': (length: number) => string;
89
- 'table-action-export-import-import-title': string;
90
- 'table-action-export-import-log-hint': string;
91
- 'table-action-export-import-log-name': string;
92
- 'table-action-export-import-log-result': string;
93
- 'table-action-export-import-log-ok': (num: number) => string;
94
- 'table-action-export-import-log-err': (num: number) => string;
95
- 'table-action-export-import-log-check': string;
96
- 'table-action-export-import-log-detail-title': string;
97
- 'table-action-export-import-log-err-log': string;
98
- 'table-action-export-import-log-copy': string;
99
- 'table-action-export-import-table-success-copy': string;
100
- 'drag-sort-tree-unavailable-today-tip': string;
101
- 'date-picker-today': string;
102
- 'date-picker-yesterday': string;
103
- 'date-picker-tomorrow': string;
104
- 'date-picker-next_monday': string;
105
- 'date-picker-last_friday': string;
106
- 'date-picker-first_day_of_this_month': string;
107
- 'date-picker-last_day_of_this_month': string;
108
- 'date-picker-first_day_of_next_month': string;
109
- 'date-picker-last_day_of_last_month': string;
110
- 'date-picker-invalid-date': string;
111
- "date-picker-apply": string;
112
- 'date-picker-shortcut-custom': string;
113
- 'pisell-input-copy-success': string;
114
- 'pisell-input-copy': string;
115
- 'pisell-empty-description-no-data': string;
116
- 'pisell-information-entry-input-search': string;
117
- 'pisell-information-entry-input-confirm': string;
118
- 'pisell-information-entry-scan-exit': string;
119
- 'pisell-wallet-pass-card-detail': string;
120
- 'pisell-wallet-pass-card-edit': string;
121
- 'pisell-wallet-pass-card-name': string;
122
- 'pisell-wallet-pass-card-store-name': string;
123
- 'pisell-wallet-pass-card-balance': string;
124
- 'pisell-wallet-pass-card-redeem': string;
125
- 'pisell-wallet-pass-card-code': string;
126
- 'pisell-wallet-pass-card-valid-to': string;
127
- 'pisell-wallet-pass-card-confirm': string;
128
- 'pisell-wallet-pass-card-cancel': string;
129
- 'pisell-wallet-pass-card-required': string;
130
- 'pisell-wallet-pass-card-expireDate': string;
131
- 'pisell-adjust-price-price-override': string;
132
- 'pisell-adjust-price-discount': string;
133
- 'pisell-adjust-price-discount-amount': string;
134
- 'pisell-adjust-price-discount-percentage': string;
135
- 'pisell-adjust-price-total-after-discount': string;
136
- 'pisell-adjust-price-discount-can-be-maximum': string;
137
- 'pisell-discount-card-title': string;
138
- 'pisell-discount-card-unit': string;
139
- 'pisell-data-source-table-add': string;
140
- 'pisell-data-source-table-edit': string;
141
- 'pisell-data-source-table-detail': string;
142
- 'pisell-data-source-table-delete': string;
143
- 'pisell-record-view-available': string;
144
- 'pisell-record-view-unavailable': string;
145
- 'pisell-data-source-form-required-message': string;
146
- 'pisell-data-source-form-email-message': string;
147
- 'pisell-data-source-form-domain-message': string;
148
- 'pisell-data-source-form-url-message': string;
149
- 'pisell-data-source-form-phone-message': string;
150
- 'pisell-data-source-form-min-length-message': (minLength: number) => string;
151
- 'pisell-data-source-form-max-length-message': (maxLength: number) => string;
152
- 'pisell-data-source-form-min-value-message': (minValue: number) => string;
153
- 'pisell-data-source-form-max-value-message': (maxValue: number) => string;
154
- 'pisell-data-source-form-mobile-message': string;
155
- 'pisell-number-format-thousand': string;
156
- 'pisell-number-format-million': string;
157
- 'pisell-number-format-billion': string;
158
- 'walletCard-done': string;
159
- 'walletCard-qrcode': string;
160
- 'walletCard-barcode': string;
161
- 'pisell-upload-button': string;
162
- 'pisell-upload-setting-size-error': (maxSize: number) => string;
163
- 'pisell-upload-setting-type-error': (type: string) => string;
164
- 'pisell-upload-count-error': (count: number) => string;
165
- 'pisell-upload-error': (name: string) => string;
166
- 'pisell-upload-multilingual-title': string;
167
- 'pisell-upload-multilingual-item-title-original': string;
168
- 'pisell-upload-multilingual-item-title-en': string;
169
- 'pisell-upload-multilingual-item-title-zh-CN': string;
170
- 'pisell-upload-multilingual-item-title-zh-HK': string;
171
- 'pisell-color-picker-default': string;
172
- 'pisell-action-get-data': string;
173
- 'pisell-action-delete-success': string;
174
- 'pisell-action-delete-failed': string;
175
- 'walletCard-piont': string;
176
- 'walletCard-rechargeable': string;
177
- 'walletCard-voucher': string;
178
- 'walletCard-discount': string;
179
- 'pisellQrcode-done': string;
180
- 'pisellQrcode-qrcode': string;
181
- 'pisell-delete-confirm-title': string;
182
- 'pisell-delete-confirm-content': string;
183
- 'pisell-delete-confirm-ok': string;
184
- 'pisell-delete-confirm-cancel': string;
185
- 'pisell-design-mode-action-disabled': string;
186
- 'pisell-translation-original': string;
187
- 'pisell-version-modal-title': string;
188
- 'pisell-version-modal-current-version': string;
189
- 'pisell-version-modal-version': string;
190
- 'pisell-version-modal-update-notes': string;
191
- 'pisell-version-modal-patch': string;
192
- 'pisell-version-modal-minor': string;
193
- 'pisell-version-modal-major': string;
194
- 'pisell-version-modal-custom': string;
195
- 'pisell-version-modal-cancel': string;
196
- 'pisell-version-modal-confirm': string;
197
- 'pisell-version-modal-describe-update-notes': string;
198
- 'pisell-version-modal-version-error': string;
199
- 'pisell-version-modal-version-required': string;
200
- 'pisell-version-modal-based-on-version': string;
201
- 'subdomain-error-too-short': string;
202
- 'subdomain-error-too-long': string;
203
- 'subdomain-error-pattern': string;
204
- 'subdomain-error-numbers-only': string;
205
- 'subdomain-error-hyphen-ends': string;
206
- 'subdomain-error-consecutive-hyphens': string;
207
- 'pisell-icon-select-placeholder': string;
208
- 'pisell-icon-select-outlined': string;
209
- 'pisell-icon-select-filled': string;
210
- 'pisell-icon-select-two-tone': string;
211
- 'pisell-icon-select-iconfont': string;
212
- 'pisell-icon-select-search': string;
213
- 'pisell-icon-select-select': string;
214
- 'pisell-lowcode-app-version-control-live': string;
215
- 'pisell-lowcode-app-version-control-draft': string;
216
- 'pisell-lowcode-app-version-control-deprecated': string;
217
- 'pisell-lowcode-app-version-control-new-version': string;
218
- 'pisell-lowcode-app-version-control-promote-to-live': string;
219
- 'pisell-lowcode-app-version-control-promote-version': (version: string) => string;
220
- 'pisell-lowcode-app-version-control-promote-version-describe': string;
221
- 'pisell-lowcode-app-version-control-promote-version-ok': string;
222
- 'pisell-lowcode-app-version-control-promote-version-cancel': string;
223
- 'pisell-lowcode-app-version-control-version-exists': string;
224
- 'pisell-lowcode-drop-sort-add': string;
225
- 'pisell-lowcode-navigation-menu-add-sub-menu': string;
226
- 'pisell-lowcode-navigation-menu-add-page': string;
227
- 'pisell-lowcode-navigation-menu-add-page-tip': string;
228
- 'pisell-lowcode-navigation-menu-tag-base': string;
229
- 'pisell-lowcode-navigation-menu-tag-proCode': string;
230
- 'pisell-lowcode-navigation-menu-tag-pisell1': string;
231
- 'pisell-lowcode-navigation-menu-tag-group': string;
232
- 'pisell-lowcode-navigation-menu-tag-sub-menu': string;
233
- 'pisell-lowcode-navigation-menu-tag-custom': string;
234
- 'pisell-data-source-form-app-identifier-pattern': string;
235
- 'pisell-data-source-form-app-identifier-start-with-letter': string;
236
- 'pisell-data-source-form-app-identifier-special-ends': string;
237
- '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;
247
- 'pisell-login-and-register-title': string;
248
- 'pisell-login-and-register-subtitle': string;
249
- 'pisell-login-and-register-email-label': string;
250
- 'pisell-login-and-register-email-placeholder': string;
251
- 'pisell-login-and-register-password-label': string;
252
- 'pisell-login-and-register-password-placeholder': string;
253
- 'pisell-login-and-register-email-error': string;
254
- 'pisell-login-and-register-email-error-valid': string;
255
- 'pisell-login-and-register-password-error': string;
256
- 'pisell-login-and-register-login': string;
257
- 'pisell-login-and-register-google': string;
258
- 'pisell-login-and-register-facebook': string;
259
- 'pisell-login-and-register-apple': string;
260
- 'pisell-login-and-register-sign-up': string;
261
- 'pisell-login-and-register-login-tab': string;
262
- 'pisell-login-and-register-register-tab': string;
263
- 'pisell-login-and-register-register-email-placeholder': string;
264
- 'pisell-login-and-register-register-password-placeholder': string;
265
- 'pisell-login-and-register-register-button-text': string;
266
- 'pisell-login-and-register-remember-me': string;
267
- 'pisell-login-and-register-forgot-password': string;
268
- 'pisell2.text.goodpass.product-vouchers': string;
269
- 'pisell2.text.goodpass.last-settlement': string;
270
- 'pisell2.text.goodpass.view-more': string;
271
- 'pisell2.text.goodpass.save': string;
272
- };
273
- export default _default;
@@ -1,98 +0,0 @@
1
- import React from 'react';
2
- import { DataSourceTableProps } from '../type';
3
- import { OperationItem } from '../type';
4
- interface UseTablePropsProps {
5
- data: any;
6
- originProps: DataSourceTableProps;
7
- openDrawer: (type: OperationItem) => void;
8
- closeDrawer: () => void;
9
- refreshData: () => void;
10
- handleFilterChange: (changedFields: any, allFields: any) => void;
11
- tableRef: any;
12
- }
13
- /**
14
- * 处理table的props
15
- * 转换title
16
- * @param props
17
- * @returns
18
- */
19
- declare const useTableProps: (props: UseTablePropsProps) => {
20
- title: string | number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
21
- pagination: {
22
- total: number;
23
- current: number;
24
- pageSize: number;
25
- size: string;
26
- showSizeChanger: boolean;
27
- };
28
- columns: import("./useColumns").Column[];
29
- subTitle: string | number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
30
- buttons: any[] | null;
31
- filter: JSX.Element | null;
32
- onRow: (record: any) => any;
33
- actionButtons: any[] | null;
34
- titleButtons?: {
35
- show: boolean;
36
- maxCount: number;
37
- items: OperationItem[];
38
- } | undefined;
39
- tableButtons?: {
40
- show: boolean;
41
- maxCount: number;
42
- items: OperationItem[];
43
- } | undefined;
44
- operation?: {
45
- /**
46
- * 处理table的props
47
- * 转换title
48
- * @param props
49
- * @returns
50
- */
51
- show: boolean;
52
- title: string;
53
- width: number;
54
- align: "center" | "left" | "right";
55
- fixed: false | "left" | "right";
56
- type: "link" | "button";
57
- items: OperationItem[];
58
- } | undefined;
59
- operationContent?: {
60
- [key: string]: React.ReactNode;
61
- } | undefined;
62
- dataSource: import("../../provider/dataSource/DataSourceContext").DataSourceType;
63
- search?: {
64
- show: boolean;
65
- placeholder: string;
66
- } | undefined;
67
- __designMode: string;
68
- componentId: string;
69
- clickToDetail?: {
70
- show: boolean;
71
- useCustomAction: boolean;
72
- actionType: string;
73
- openMode: "modal" | "drawer";
74
- openContentSize: "small" | "large" | "middle";
75
- openTitle: string;
76
- key: string;
77
- } | undefined;
78
- filterBy?: Record<string, any> | undefined;
79
- sortBy: string;
80
- tabs?: {
81
- show: boolean;
82
- type: string;
83
- items: {
84
- name: string;
85
- filterBy: Record<string, any>;
86
- sortBy: string;
87
- }[];
88
- } | undefined;
89
- onValuesChange?: ((changedValues: any, values: any) => void) | undefined;
90
- extraParams?: {
91
- list?: Record<string, any> | undefined;
92
- get?: Record<string, any> | undefined;
93
- update?: Record<string, any> | undefined;
94
- create?: Record<string, any> | undefined;
95
- destroy?: Record<string, any> | undefined;
96
- } | undefined;
97
- };
98
- export default useTableProps;