@pisell/materials 1.0.934 → 1.0.935

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 (177) 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 +164 -148
  7. package/build/lowcode/render/default/view.js +30 -15
  8. package/build/lowcode/view.js +41 -26
  9. package/es/components/appVersionControl/index.d.ts +4 -0
  10. package/es/components/batch-editor/index.d.ts +0 -1
  11. package/es/components/cardPro/index.d.ts +3 -0
  12. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +56 -0
  13. package/es/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +8 -0
  14. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +27 -0
  15. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +39 -0
  16. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +98 -0
  17. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.js +1 -1
  18. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +33 -0
  19. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +85 -0
  20. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
  21. package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +16 -0
  22. package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +16 -0
  23. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +25 -0
  24. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  25. package/es/components/dataSourceComponents/fields/Upload/BaseUpload.d.ts +5 -0
  26. package/es/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +5 -0
  27. package/es/components/dataSourceComponents/fields/Upload/index.d.ts +3 -0
  28. package/es/components/dataSourceComponents/fields/Upload/type.d.ts +38 -0
  29. package/es/components/dataSourceComponents/fields/index.d.ts +11 -12
  30. package/es/components/drag-sort-tree/index.d.ts +3 -0
  31. package/es/components/filter/types.d.ts +45 -0
  32. package/es/components/hardwareErrorTip/demo.d.ts +3 -0
  33. package/es/components/hardwareErrorTip/errorCard/index.d.ts +28 -0
  34. package/es/components/hardwareErrorTip/errorTipStatistics/index.d.ts +12 -0
  35. package/es/components/hardwareErrorTip/index.d.ts +19 -0
  36. package/es/components/hardwareErrorTip/logCard/index.d.ts +27 -0
  37. package/es/components/hardwareErrorTip/types.d.ts +28 -0
  38. package/es/components/iconfont/index.d.ts +8 -0
  39. package/es/components/keyboard/index.d.ts +22 -0
  40. package/es/components/list/index.d.ts +0 -1
  41. package/es/components/login-and-register/index.d.ts +82 -0
  42. package/es/components/pisell-config-provider/index.d.ts +13 -0
  43. package/es/components/pisell-config-provider/index.js +0 -1
  44. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
  45. package/es/components/pisellCamera/index.d.ts +4 -0
  46. package/es/components/pisellCardList/index.d.ts +4 -0
  47. package/es/components/pisellCardList/index.js +5 -1
  48. package/es/components/pisellEmpty/index.d.ts +19 -0
  49. package/es/components/pisellText/components/Editable/index.d.ts +29 -0
  50. package/es/components/pisellText/index.d.ts +9 -0
  51. package/es/components/pisellWalletPassCard/index.d.ts +140 -0
  52. package/es/components/pisellWalletPassCard/index.js +17 -4
  53. package/es/components/pisellWalletPassCard/utils.d.ts +44 -0
  54. package/es/components/pisellWalletPassCard/utils.js +499 -0
  55. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  56. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
  57. package/es/components/productCard/cartSkuCard/index.d.ts +10 -0
  58. package/es/components/productCard/components/Header/Actions/index.d.ts +3 -0
  59. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
  60. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  61. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +3 -0
  62. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +18 -0
  63. package/es/components/productCard/components/Time/index.d.ts +3 -0
  64. package/es/components/select/index.d.ts +9 -0
  65. package/es/components/sortableList/index.d.ts +11 -0
  66. package/es/components/table/Actions/component/ExportImport/index.d.ts +7 -0
  67. package/es/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
  68. package/es/components/table/Gallery/index.d.ts +5 -0
  69. package/es/components/table/Table/SelectField/index.d.ts +0 -1
  70. package/es/components/table/Table/fields/index.d.ts +2 -3
  71. package/es/components/table/Table/fields/text/Show/index.d.ts +0 -1
  72. package/es/components/table/Table/fields/text/index.d.ts +0 -1
  73. package/es/components/table/Table/index.d.ts +4 -0
  74. package/es/components/table/Table/utils.d.ts +167 -0
  75. package/es/components/table/hooks/useTableSetting.d.ts +21 -0
  76. package/es/components/table/hooks/useTableSetting.js +1 -1
  77. package/es/components/table/hooks/useTransDataSource.d.ts +12 -0
  78. package/es/components/table/index.d.ts +4 -0
  79. package/es/components/table/types.d.ts +270 -0
  80. package/es/components/translation/index.d.ts +15 -0
  81. package/es/components/versionModal/index.d.ts +24 -0
  82. package/es/components/virtual-keyboard/Number/index.d.ts +0 -1
  83. package/es/components/virtualInput/BaseVirtualInput/index.d.ts +40 -0
  84. package/es/components/walletCard/index.d.ts +71 -0
  85. package/es/index.d.ts +145 -0
  86. package/es/locales/en-US.d.ts +342 -0
  87. package/es/locales/en-US.js +1 -0
  88. package/es/locales/zh-CN.d.ts +337 -0
  89. package/es/locales/zh-CN.js +1 -0
  90. package/es/locales/zh-TW.d.ts +337 -0
  91. package/es/locales/zh-TW.js +16 -8
  92. package/es/utils/platform.d.ts +1 -1
  93. package/lib/components/appVersionControl/index.d.ts +4 -0
  94. package/lib/components/batch-editor/index.d.ts +0 -1
  95. package/lib/components/cardPro/index.d.ts +3 -0
  96. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +56 -0
  97. package/lib/components/dataSourceComponents/dataSourceTable/BaseTable.d.ts +8 -0
  98. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +27 -0
  99. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +39 -0
  100. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +98 -0
  101. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.js +1 -1
  102. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +33 -0
  103. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +85 -0
  104. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
  105. package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +16 -0
  106. package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +16 -0
  107. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +25 -0
  108. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  109. package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.d.ts +5 -0
  110. package/lib/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +5 -0
  111. package/lib/components/dataSourceComponents/fields/Upload/index.d.ts +3 -0
  112. package/lib/components/dataSourceComponents/fields/Upload/type.d.ts +38 -0
  113. package/lib/components/dataSourceComponents/fields/index.d.ts +11 -12
  114. package/lib/components/drag-sort-tree/index.d.ts +3 -0
  115. package/lib/components/filter/types.d.ts +45 -0
  116. package/lib/components/hardwareErrorTip/demo.d.ts +3 -0
  117. package/lib/components/hardwareErrorTip/errorCard/index.d.ts +28 -0
  118. package/lib/components/hardwareErrorTip/errorTipStatistics/index.d.ts +12 -0
  119. package/lib/components/hardwareErrorTip/index.d.ts +19 -0
  120. package/lib/components/hardwareErrorTip/logCard/index.d.ts +27 -0
  121. package/lib/components/hardwareErrorTip/types.d.ts +28 -0
  122. package/lib/components/iconfont/index.d.ts +8 -0
  123. package/lib/components/keyboard/index.d.ts +22 -0
  124. package/lib/components/list/index.d.ts +0 -1
  125. package/lib/components/login-and-register/index.d.ts +82 -0
  126. package/lib/components/pisell-config-provider/index.d.ts +13 -0
  127. package/lib/components/pisell-config-provider/index.js +0 -1
  128. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
  129. package/lib/components/pisellCamera/index.d.ts +4 -0
  130. package/lib/components/pisellCardList/index.d.ts +4 -0
  131. package/lib/components/pisellCardList/index.js +5 -1
  132. package/lib/components/pisellEmpty/index.d.ts +19 -0
  133. package/lib/components/pisellText/components/Editable/index.d.ts +29 -0
  134. package/lib/components/pisellText/index.d.ts +9 -0
  135. package/lib/components/pisellWalletPassCard/index.d.ts +140 -0
  136. package/lib/components/pisellWalletPassCard/index.js +12 -2
  137. package/lib/components/pisellWalletPassCard/utils.d.ts +44 -0
  138. package/lib/components/pisellWalletPassCard/utils.js +349 -0
  139. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  140. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
  141. package/lib/components/productCard/cartSkuCard/index.d.ts +10 -0
  142. package/lib/components/productCard/components/Header/Actions/index.d.ts +3 -0
  143. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
  144. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  145. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +3 -0
  146. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +18 -0
  147. package/lib/components/productCard/components/Time/index.d.ts +3 -0
  148. package/lib/components/select/index.d.ts +9 -0
  149. package/lib/components/sortableList/index.d.ts +11 -0
  150. package/lib/components/table/Actions/component/ExportImport/index.d.ts +7 -0
  151. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
  152. package/lib/components/table/Gallery/index.d.ts +5 -0
  153. package/lib/components/table/Table/SelectField/index.d.ts +0 -1
  154. package/lib/components/table/Table/fields/index.d.ts +2 -3
  155. package/lib/components/table/Table/fields/text/Show/index.d.ts +0 -1
  156. package/lib/components/table/Table/fields/text/index.d.ts +0 -1
  157. package/lib/components/table/Table/index.d.ts +4 -0
  158. package/lib/components/table/Table/utils.d.ts +167 -0
  159. package/lib/components/table/hooks/useTableSetting.d.ts +21 -0
  160. package/lib/components/table/hooks/useTableSetting.js +1 -1
  161. package/lib/components/table/hooks/useTransDataSource.d.ts +12 -0
  162. package/lib/components/table/index.d.ts +4 -0
  163. package/lib/components/table/types.d.ts +270 -0
  164. package/lib/components/translation/index.d.ts +15 -0
  165. package/lib/components/versionModal/index.d.ts +24 -0
  166. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -1
  167. package/lib/components/virtualInput/BaseVirtualInput/index.d.ts +40 -0
  168. package/lib/components/walletCard/index.d.ts +71 -0
  169. package/lib/index.d.ts +145 -0
  170. package/lib/locales/en-US.d.ts +342 -0
  171. package/lib/locales/en-US.js +1 -0
  172. package/lib/locales/zh-CN.d.ts +337 -0
  173. package/lib/locales/zh-CN.js +1 -0
  174. package/lib/locales/zh-TW.d.ts +337 -0
  175. package/lib/locales/zh-TW.js +1 -4
  176. package/lib/utils/platform.d.ts +1 -1
  177. package/package.json +3 -3
@@ -0,0 +1,337 @@
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-valid': string;
128
+ 'pisell-wallet-pass-card-confirm': string;
129
+ 'pisell-wallet-pass-card-cancel': string;
130
+ 'pisell-wallet-pass-card-required': string;
131
+ 'pisell-wallet-pass-card-expireDate': string;
132
+ 'pisell-adjust-price-price-override': string;
133
+ 'pisell-adjust-price-discount': string;
134
+ 'pisell-adjust-price-discount-amount': string;
135
+ 'pisell-adjust-price-discount-percentage': string;
136
+ 'pisell-adjust-price-total-after-discount': string;
137
+ 'pisell-adjust-price-discount-can-be-maximum': string;
138
+ 'pisell-discount-card-title': string;
139
+ 'pisell-discount-card-unit': string;
140
+ 'pisell-discount-card-fixed-amount-prefix': string;
141
+ 'pisell-data-source-table-add': string;
142
+ 'pisell-data-source-table-edit': string;
143
+ 'pisell-data-source-table-detail': string;
144
+ 'pisell-data-source-table-delete': string;
145
+ 'pisell-record-view-available': string;
146
+ 'pisell-record-view-unavailable': string;
147
+ 'pisell-data-source-form-required-message': string;
148
+ 'pisell-data-source-form-email-message': string;
149
+ 'pisell-data-source-form-domain-message': string;
150
+ 'pisell-data-source-form-url-message': string;
151
+ 'pisell-data-source-form-phone-message': string;
152
+ 'pisell-data-source-form-min-length-message': (minLength: number) => string;
153
+ 'pisell-data-source-form-max-length-message': (maxLength: number) => string;
154
+ 'pisell-data-source-form-min-value-message': (minValue: number) => string;
155
+ 'pisell-data-source-form-max-value-message': (maxValue: number) => string;
156
+ 'pisell-data-source-form-mobile-message': string;
157
+ 'pisell-number-format-thousand': string;
158
+ 'pisell-number-format-million': string;
159
+ 'pisell-number-format-billion': string;
160
+ 'walletCard-done': string;
161
+ 'walletCard-qrcode': string;
162
+ 'walletCard-barcode': string;
163
+ 'walletCard-viewPin': string;
164
+ 'pisell-upload-button': string;
165
+ 'pisell-upload-setting-size-error': (maxSize: number) => string;
166
+ 'pisell-upload-setting-type-error': (type: string) => string;
167
+ 'pisell-upload-count-error': (count: number) => string;
168
+ 'pisell-upload-error': (name: string) => string;
169
+ 'pisell-upload-multilingual-title': string;
170
+ 'pisell-upload-multilingual-item-title-original': string;
171
+ 'pisell-upload-multilingual-item-title-en': string;
172
+ 'pisell-upload-multilingual-item-title-zh-CN': string;
173
+ 'pisell-upload-multilingual-item-title-zh-HK': string;
174
+ 'pisell-color-picker-default': string;
175
+ 'pisell-action-get-data': string;
176
+ 'pisell-action-delete-success': string;
177
+ 'pisell-action-delete-failed': string;
178
+ 'walletCard-piont': string;
179
+ 'walletCard-rechargeable': string;
180
+ 'walletCard-voucher': string;
181
+ 'walletCard-discount': string;
182
+ 'pisellQrcode-done': string;
183
+ 'pisellQrcode-qrcode': string;
184
+ 'pisell-delete-confirm-title': string;
185
+ 'pisell-delete-confirm-content': string;
186
+ 'pisell-delete-confirm-ok': string;
187
+ 'pisell-delete-confirm-cancel': string;
188
+ 'pisell-design-mode-action-disabled': string;
189
+ 'pisell-translation-original': string;
190
+ 'pisell-version-modal-title': string;
191
+ 'pisell-version-modal-current-version': string;
192
+ 'pisell-version-modal-version': string;
193
+ 'pisell-version-modal-update-notes': string;
194
+ 'pisell-version-modal-patch': string;
195
+ 'pisell-version-modal-minor': string;
196
+ 'pisell-version-modal-major': string;
197
+ 'pisell-version-modal-custom': string;
198
+ 'pisell-version-modal-cancel': string;
199
+ 'pisell-version-modal-confirm': string;
200
+ 'pisell-version-modal-describe-update-notes': string;
201
+ 'pisell-version-modal-version-error': string;
202
+ 'pisell-version-modal-version-required': string;
203
+ 'pisell-version-modal-based-on-version': string;
204
+ 'subdomain-error-too-short': string;
205
+ 'subdomain-error-too-long': string;
206
+ 'subdomain-error-pattern': string;
207
+ 'subdomain-error-numbers-only': string;
208
+ 'subdomain-error-hyphen-ends': string;
209
+ 'subdomain-error-consecutive-hyphens': string;
210
+ 'pisell-icon-select-placeholder': string;
211
+ 'pisell-icon-select-outlined': string;
212
+ 'pisell-icon-select-filled': string;
213
+ 'pisell-icon-select-two-tone': string;
214
+ 'pisell-icon-select-iconfont': string;
215
+ 'pisell-icon-select-search': string;
216
+ 'pisell-icon-select-select': string;
217
+ 'pisell-lowcode-app-version-control-live': string;
218
+ 'pisell-lowcode-app-version-control-draft': string;
219
+ 'pisell-lowcode-app-version-control-deprecated': string;
220
+ 'pisell-lowcode-app-version-control-new-version': string;
221
+ 'pisell-lowcode-app-version-control-promote-to-live': string;
222
+ 'pisell-lowcode-app-version-control-promote-version': (version: string) => string;
223
+ 'pisell-lowcode-app-version-control-promote-version-describe': string;
224
+ 'pisell-lowcode-app-version-control-promote-version-ok': string;
225
+ 'pisell-lowcode-app-version-control-promote-version-cancel': string;
226
+ 'pisell-lowcode-app-version-control-version-exists': string;
227
+ 'pisell-lowcode-app-version-control-version-create-title': string;
228
+ 'pisell-lowcode-drop-sort-add': string;
229
+ 'pisell-lowcode-navigation-menu-add-sub-menu': string;
230
+ 'pisell-lowcode-navigation-menu-add-page': string;
231
+ 'pisell-lowcode-navigation-menu-add-page-tip': string;
232
+ 'pisell-lowcode-navigation-menu-tag-base': string;
233
+ 'pisell-lowcode-navigation-menu-tag-proCode': string;
234
+ 'pisell-lowcode-navigation-menu-tag-pisell1': string;
235
+ 'pisell-lowcode-navigation-menu-tag-group': string;
236
+ 'pisell-lowcode-navigation-menu-tag-sub-menu': string;
237
+ 'pisell-lowcode-navigation-menu-tag-custom': string;
238
+ 'pisell-data-source-form-app-identifier-pattern': string;
239
+ 'pisell-data-source-form-app-identifier-start-with-letter': string;
240
+ 'pisell-data-source-form-app-identifier-special-ends': string;
241
+ 'pisell-data-source-form-app-identifier-consecutive-special': string;
242
+ 'qrscanner-loading': string;
243
+ 'qrscanner-success': string;
244
+ 'qrscanner-success-qrcode': string;
245
+ 'qrscanner-success-barcode': string;
246
+ 'qrscanner-error-upload-image': string;
247
+ 'qrscanner-error-load-failed': string;
248
+ 'qrscanner-error-no-code': string;
249
+ 'qrscanner-error-camera-init': string;
250
+ 'qrscanner-error-process-image': string;
251
+ 'pisell-login-and-register-title': string;
252
+ 'pisell-login-and-register-subtitle': string;
253
+ 'pisell-login-and-register-email-label': string;
254
+ 'pisell-login-and-register-email-placeholder': string;
255
+ 'pisell-login-and-register-password-label': string;
256
+ 'pisell-login-and-register-password-placeholder': string;
257
+ 'pisell-login-and-register-email-error': string;
258
+ 'pisell-login-and-register-email-error-valid': string;
259
+ 'pisell-login-and-register-password-error': string;
260
+ 'pisell-login-and-register-login': string;
261
+ 'pisell-login-and-register-google': string;
262
+ 'pisell-login-and-register-facebook': string;
263
+ 'pisell-login-and-register-apple': string;
264
+ 'pisell-login-and-register-sign-up': string;
265
+ 'pisell-login-and-register-login-tab': string;
266
+ 'pisell-login-and-register-register-tab': string;
267
+ 'pisell-login-and-register-register-email-placeholder': string;
268
+ 'pisell-login-and-register-register-password-placeholder': string;
269
+ 'pisell-login-and-register-register-button-text': string;
270
+ 'pisell-login-and-register-remember-me': string;
271
+ 'pisell-login-and-register-forgot-password': string;
272
+ 'pisell-login-and-register-register-password-error': string;
273
+ 'pisell-login-and-register-register-password-error-valid': string;
274
+ 'pisell2.text.goodpass.product-vouchers': string;
275
+ 'pisell2.text.goodpass.last-settlement': string;
276
+ 'pisell2.text.goodpass.view-more': string;
277
+ 'pisell2.text.goodpass.save': string;
278
+ 'pisell2.text.hardware-error.fatal': string;
279
+ 'pisell2.text.hardware-error.critical': string;
280
+ 'pisell2.text.hardware-error.normal': string;
281
+ 'pisell2.text.hardware-error.info': string;
282
+ 'pisell2.text.hardware-error.error-center': string;
283
+ 'pisell2.text.hardware-error.error-list': string;
284
+ 'pisell2.text.hardware-error.error-code': string;
285
+ 'pisell2.text.hardware-error.time': string;
286
+ 'pisell2.text.hardware-error.error-description': string;
287
+ 'pisell2.text.hardware-error.solution': string;
288
+ 'pisell2.text.hardware-error.info-number': string;
289
+ 'pisell2.text.hardware-error.tip-content': string;
290
+ 'pisell2.text.hardware-error.device.all': string;
291
+ 'pisell2.text.hardware-error.device.printer': string;
292
+ 'pisell2.text.hardware-error.device.barcode-scanner': string;
293
+ 'pisell2.text.hardware-error.device.cds': string;
294
+ 'pisell2.text.hardware-error.device.kds': string;
295
+ 'pisell2.text.hardware-error.device.display': string;
296
+ 'pisell2.text.hardware-error.device.card-reader': string;
297
+ 'pisell2.text.hardware-error.device.till': string;
298
+ 'pisell2.text.hardware-error.device.scale': string;
299
+ 'pisell2.text.hardware-error.error-logs': string;
300
+ 'pisell2.text.hardware-error.all-devices': string;
301
+ 'pisell2.text.hardware-error.all-levels': string;
302
+ 'pisell2.text.hardware-error.debug-info': string;
303
+ 'pisell2.text.hardware-error.important-info': string;
304
+ 'pisell2.text.hardware-error.error-info': string;
305
+ 'pisell2.text.hardware-error.search-logs': string;
306
+ 'pisell2.text.hardware-error.export-logs': string;
307
+ 'pisell2.text.hardware-error.no-errors': string;
308
+ 'pisell2.text.hardware-error.no-logs': string;
309
+ 'pisell-wallet-pass-card-status-used': string;
310
+ 'pisell-wallet-pass-card-status-expired': string;
311
+ 'pisell-wallet-pass-card-status-disabled': string;
312
+ 'pisell-wallet-pass-card-status-conflict': string;
313
+ 'pisell-wallet-pass-card-status-lastPayment': string;
314
+ 'pisell-wallet-pass-card-reset': string;
315
+ 'pisell-wallet-pass-card-done': string;
316
+ 'pisell-list-tab-group-default': string;
317
+ 'pisell-list-empty-text-default': string;
318
+ 'pisell-list-load-more': string;
319
+ 'pisell-list-view-less': string;
320
+ 'pisell-list-pagination-total': (start: number, end: number, total: number) => string;
321
+ 'pisell-list-scroll-down': string;
322
+ 'pisell-list-scroll-right': string;
323
+ 'pisell-list-pagination-page-of': (current: number, total: number) => string;
324
+ 'pisell-list-pagination-previous': string;
325
+ 'pisell-list-pagination-next': string;
326
+ 'pisell-camera-no-camera-accessible': string;
327
+ 'pisell-camera-permission-denied': string;
328
+ 'pisell-camera-switch-camera': string;
329
+ 'pisell-camera-canvas': string;
330
+ 'pisell-camera-checking': string;
331
+ 'pisell-camera-no-camera-desc': string;
332
+ 'pisell-upload-camera-local-files': string;
333
+ 'pisell-upload-camera-capture': string;
334
+ 'pisell-upload-camera-retake': string;
335
+ 'pisell-upload-camera-use': string;
336
+ };
337
+ export default _default;
@@ -1,9 +1,4 @@
1
- var _tableFilterSearch$;
2
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
3
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
4
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
5
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
6
- export default (_tableFilterSearch$ = {
1
+ export default {
7
2
  'table-filter-search': '搜索',
8
3
  'table-filter-clear': '清除',
9
4
  'table-filter-filter': '篩選',
@@ -155,6 +150,7 @@ export default (_tableFilterSearch$ = {
155
150
  'pisell-wallet-pass-card-redeem': '使用',
156
151
  'pisell-wallet-pass-card-code': '識別碼編號',
157
152
  'pisell-wallet-pass-card-valid-to': '有效期至',
153
+ 'pisell-wallet-pass-card-valid': '有效期',
158
154
  'pisell-wallet-pass-card-confirm': '確認',
159
155
  'pisell-wallet-pass-card-cancel': '取消',
160
156
  'pisell-wallet-pass-card-required': '此欄位為必填',
@@ -398,5 +394,17 @@ export default (_tableFilterSearch$ = {
398
394
  return "\u7B2C ".concat(current, " \u9801 \u5171 ").concat(total, " \u9801");
399
395
  },
400
396
  'pisell-list-pagination-previous': '上一頁',
401
- 'pisell-list-pagination-next': '下一頁'
402
- }, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, "pisell2.text.goodpass.product-vouchers", '優惠促銷'), "pisell2.text.goodpass.last-settlement", '(上次結算)'), "pisell2.text.goodpass.view-more", '查看更多'), "pisell2.text.goodpass.save", '節省'), 'pisell-camera-no-camera-accessible', '沒有找到攝像頭'), 'pisell-camera-permission-denied', '沒有權限使用攝像頭'), 'pisell-camera-switch-camera', '切換攝像頭'), 'pisell-camera-canvas', 'canvas不支持'), 'pisell-camera-checking', '正在檢測攝像頭...'), 'pisell-camera-no-camera-desc', '請檢查設備是否連接攝像頭或授權瀏覽器訪問攝像頭'), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_tableFilterSearch$, 'pisell-upload-camera-local-files', '本地文件'), 'pisell-upload-camera-capture', '拍攝/拍照'), 'pisell-upload-camera-retake', '重拍'), 'pisell-upload-camera-use', '使用照片'));
397
+ 'pisell-list-pagination-next': '下一頁',
398
+ // 相机组件
399
+ 'pisell-camera-no-camera-accessible': '沒有找到攝像頭',
400
+ 'pisell-camera-permission-denied': '沒有權限使用攝像頭',
401
+ 'pisell-camera-switch-camera': '切換攝像頭',
402
+ 'pisell-camera-canvas': 'canvas不支持',
403
+ 'pisell-camera-checking': '正在檢測攝像頭...',
404
+ 'pisell-camera-no-camera-desc': '請檢查設備是否連接攝像頭或授權瀏覽器訪問攝像頭',
405
+ // 拍照组件
406
+ 'pisell-upload-camera-local-files': '本地文件',
407
+ 'pisell-upload-camera-capture': '拍攝/拍照',
408
+ 'pisell-upload-camera-retake': '重拍',
409
+ 'pisell-upload-camera-use': '使用照片'
410
+ };
@@ -1 +1 @@
1
- export declare const isMobile: () => any;
1
+ export declare const isMobile: () => boolean;
@@ -0,0 +1,4 @@
1
+ import { AppVersionControlProps } from './types';
2
+ import './index.less';
3
+ declare const AppVersionControl: (props: AppVersionControlProps) => JSX.Element;
4
+ export default AppVersionControl;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface BatchEditorProps {
4
3
  columns: any[];
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const _default: (props: any) => JSX.Element;
3
+ export default _default;
@@ -0,0 +1,56 @@
1
+ import React from 'react';
2
+ import { FormInstance } from 'antd';
3
+ import { ModeType } from './type';
4
+ import './style.less';
5
+ export interface WithModeProps {
6
+ renderMode?: ModeType;
7
+ value?: any;
8
+ onChange?: (value: any) => void;
9
+ [key: string]: any;
10
+ }
11
+ /**
12
+ * @title: 增加renderMode属性
13
+ * @description: 基于renderMode属性控制渲染模式
14
+ * @return: *
15
+ * @Author: shengjie.zuo
16
+ * @Date: 2024-11-23 17:13:18
17
+ */
18
+ export declare const withMode: <P extends object>(FieldComponent: React.ComponentType<P>, ReadPrettyComponent?: React.ComponentType<P & {
19
+ renderMode: ModeType;
20
+ }> | undefined, transformProps?: ((props: P, renderMode: ModeType) => P) | undefined) => React.FC<P & WithModeProps>;
21
+ export interface WithFormItemProps {
22
+ name: string;
23
+ label?: string;
24
+ mode?: ModeType;
25
+ [key: string]: any;
26
+ }
27
+ export declare const formItemNameReplace: (name: string) => string;
28
+ export declare const formItemNameReverse: (name: string) => string;
29
+ export declare const isValidDomain: (value: string) => boolean;
30
+ /**
31
+ * @title: 追加formItem层
32
+ * @description:
33
+ * @return: *
34
+ * @Author: shengjie.zuo
35
+ * @Date: 2024-11-23 17:14:25
36
+ */
37
+ export declare const withFormItem: <P extends object>(WrappedComponent: React.ComponentType<P>, overlayProps?: {
38
+ otherFormItemProps?: Record<string, any> | ((props: Record<string, any>, others?: Record<string, any>) => Record<string, any>) | undefined;
39
+ innerProps?: Record<string, any> | undefined;
40
+ } | undefined) => React.FC<P & WithFormItemProps>;
41
+ export declare const withDataSource: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
42
+ dataSource?: any;
43
+ }) => JSX.Element;
44
+ export declare const withOptions: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
45
+ options?: any;
46
+ optionSourceType?: "default" | "custom" | "api" | undefined;
47
+ labelField: string;
48
+ valueField: string;
49
+ extraParams?: Record<string, any> | undefined;
50
+ }) => JSX.Element;
51
+ export declare const getNestedValue: (obj: Record<string, any>, path: string) => Record<string, any>;
52
+ export declare const renderValueWithMap: (value: any, valueMap?: Record<string, string>, renderMode?: ModeType) => JSX.Element | null;
53
+ export declare function toArr(str: string | number | (string | number)[]): (string | number)[];
54
+ export declare const filterSystemFields: (params: Record<string, any>) => Record<string, any>;
55
+ export declare const transformFormObjToArrayWithUntouched: (obj: Record<string, any>) => any[];
56
+ export declare const setFormFieldsUntouched: (form: FormInstance) => void;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { DataSourceTableProps } from './type';
3
+ export interface TableRef {
4
+ refreshCurrentPage: () => void;
5
+ refreshData: () => void;
6
+ }
7
+ declare const _default: React.ForwardRefExoticComponent<DataSourceTableProps & React.RefAttributes<TableRef>>;
8
+ export default _default;
@@ -0,0 +1,27 @@
1
+ import './index.less';
2
+ interface BaseFilterItem {
3
+ name?: string;
4
+ value: string;
5
+ label?: string;
6
+ type?: string;
7
+ isHidden: boolean;
8
+ isCustom?: boolean;
9
+ }
10
+ interface FilterProps {
11
+ componentId: string;
12
+ filterBy: Record<string, any>;
13
+ quickFilterMaxLength?: number;
14
+ sortButtonShow?: boolean;
15
+ mode?: 'simple' | 'complex';
16
+ items: BaseFilterItem[];
17
+ handleValuesChange: (changedFields: any, allFields: any) => void;
18
+ show: boolean;
19
+ search: {
20
+ show: boolean;
21
+ placeholder: string;
22
+ key: string;
23
+ };
24
+ getInitialValues?: () => Record<string, any>;
25
+ }
26
+ declare const Filter: (props: FilterProps) => JSX.Element;
27
+ export default Filter;
@@ -0,0 +1,39 @@
1
+ import { Drawer } from 'antd';
2
+ import React from 'react';
3
+ import { OperationItem } from '../type';
4
+ declare const useDrawerState: (operationContent?: {
5
+ [key: string]: React.ReactNode;
6
+ } | undefined) => {
7
+ drawerVisible: boolean;
8
+ setDrawerVisible: React.Dispatch<React.SetStateAction<boolean>>;
9
+ openDrawer: (item: OperationItem) => void;
10
+ closeDrawer: () => void;
11
+ drawerContent: React.ReactNode;
12
+ Container: {
13
+ (props: import("../../../pisellModal").PisellModalProps): JSX.Element;
14
+ confirm: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
15
+ destroy: () => void;
16
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
17
+ };
18
+ info: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
19
+ destroy: () => void;
20
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
21
+ };
22
+ error: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
23
+ destroy: () => void;
24
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
25
+ };
26
+ warn: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => any;
27
+ warning: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
28
+ destroy: () => void;
29
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
30
+ };
31
+ success: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
32
+ destroy: () => void;
33
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
34
+ };
35
+ Information: (props: import("../../../pisellModal/components/Information").InformationProps) => JSX.Element;
36
+ } | typeof Drawer;
37
+ containerProps: {};
38
+ };
39
+ export default useDrawerState;
@@ -0,0 +1,98 @@
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
+ getInitialValues: () => Record<string, any>;
13
+ }
14
+ /**
15
+ * 处理table的props
16
+ * 转换title
17
+ * @param props
18
+ * @returns
19
+ */
20
+ declare const useTableProps: (props: UseTablePropsProps) => {
21
+ currentComponentId: any;
22
+ title: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
23
+ pagination: {
24
+ total: number;
25
+ current: number;
26
+ pageSize: number;
27
+ size: string;
28
+ showSizeChanger: boolean;
29
+ };
30
+ columns: import("./useColumns").Column[];
31
+ subTitle: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
32
+ buttons: any[] | null;
33
+ filter: any;
34
+ onRow: (record: any) => any;
35
+ actionButtons: any[] | null;
36
+ __id?: string | undefined;
37
+ currentSettingKey?: string | undefined;
38
+ titleButtons?: {
39
+ show: boolean;
40
+ maxCount: number;
41
+ items: OperationItem[];
42
+ } | undefined;
43
+ tableButtons?: {
44
+ show: boolean;
45
+ maxCount: number;
46
+ items: OperationItem[];
47
+ } | undefined;
48
+ operation?: {
49
+ show: boolean;
50
+ title: string;
51
+ width: number;
52
+ align: "center" | "left" | "right";
53
+ fixed: false | "left" | "right";
54
+ type: "button" | "link";
55
+ items: OperationItem[];
56
+ } | undefined;
57
+ operationContent?: {
58
+ [key: string]: React.ReactNode;
59
+ } | undefined;
60
+ dataSource: import("../../provider/dataSource/DataSourceContext").DataSourceType;
61
+ search?: {
62
+ show: boolean;
63
+ placeholder: string;
64
+ } | undefined;
65
+ __designMode: string;
66
+ componentId: string;
67
+ clickToDetail?: {
68
+ show: boolean;
69
+ useCustomAction: boolean;
70
+ actionType: string;
71
+ openMode: "modal" | "drawer";
72
+ openContentSize: "small" | "middle" | "large";
73
+ openTitle: string;
74
+ key: string;
75
+ } | undefined;
76
+ filterBy?: Record<string, any> | undefined;
77
+ sortBy: string;
78
+ tabs?: {
79
+ show: boolean;
80
+ type: string;
81
+ items: {
82
+ name: string;
83
+ filterBy: Record<string, any>;
84
+ sortBy: string;
85
+ }[];
86
+ } | undefined;
87
+ onValuesChange?: ((changedValues: any, values: any) => void) | undefined;
88
+ onDeleteFinish?: ((record: Record<string, any>) => void) | undefined;
89
+ extraParams?: {
90
+ list?: Record<string, any> | undefined;
91
+ get?: Record<string, any> | undefined;
92
+ update?: Record<string, any> | undefined;
93
+ create?: Record<string, any> | undefined;
94
+ destroy?: Record<string, any> | undefined;
95
+ } | undefined;
96
+ localSettings?: import("../../../table/types").LocalSettingsType | undefined;
97
+ };
98
+ export default useTableProps;
@@ -282,7 +282,7 @@ var useTableProps = (props) => {
282
282
  getInitialValues
283
283
  }
284
284
  );
285
- dom.__proto__.items = propsFilter == null ? void 0 : propsFilter.items;
285
+ dom.__proto__.__items = propsFilter == null ? void 0 : propsFilter.items;
286
286
  return dom;
287
287
  }, [propsFilter, search]);
288
288
  const onRow = (0, import_ahooks.useMemoizedFn)((record) => {