@pisell/materials 6.3.11 → 6.3.12

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 (160) 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/render/default/view.js +3 -3
  7. package/build/lowcode/view.js +3 -3
  8. package/es/components/appVersionControl/index.d.ts +4 -0
  9. package/es/components/cardPro/index.d.ts +3 -0
  10. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +56 -0
  11. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  12. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +38 -0
  13. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
  14. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
  15. package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +17 -0
  16. package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +24 -0
  17. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +25 -0
  18. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  19. package/es/components/dataSourceComponents/fields/Upload/index.d.ts +3 -0
  20. package/es/components/dataSourceComponents/fields/index.d.ts +11 -11
  21. package/es/components/dataSourceComponents/hooks/usePlatform.d.ts +5 -0
  22. package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +12 -0
  23. package/es/components/date-picker/index.d.ts +0 -1
  24. package/es/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
  25. package/es/components/drag-sort-tree/index.d.ts +4 -0
  26. package/es/components/login-and-register/index.d.ts +82 -0
  27. package/es/components/page/index.d.ts +0 -1
  28. package/es/components/pisell-config-provider/context.d.ts +20 -0
  29. package/es/components/pisell-config-provider/index.d.ts +12 -0
  30. package/es/components/pisellAdjustPrice/index.d.ts +4 -0
  31. package/es/components/pisellAdjustPrice/status.d.ts +32 -0
  32. package/es/components/pisellAdjustPrice/type.d.ts +20 -0
  33. package/es/components/pisellEmpty/index.d.ts +19 -0
  34. package/es/components/pisellQRScanner/index.d.ts +24 -0
  35. package/es/components/pisellQrcode/index.d.ts +10 -0
  36. package/es/components/pisellText/components/Editable/index.d.ts +29 -0
  37. package/es/components/pisellText/index.d.ts +9 -0
  38. package/es/components/productCard/components/Action/index.d.ts +3 -0
  39. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
  40. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  41. package/es/components/productCard/components/Time/index.d.ts +3 -0
  42. package/es/components/productCard/locales.d.ts +84 -0
  43. package/es/components/productCard/status.d.ts +32 -0
  44. package/es/components/productCard/types.d.ts +84 -0
  45. package/es/components/select/index.d.ts +9 -0
  46. package/es/components/select-time/index.d.ts +0 -1
  47. package/es/components/sortableList/index.d.ts +11 -0
  48. package/es/components/table/Actions/component/ExportImport/index.d.ts +7 -0
  49. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  50. package/es/components/table/Table/SelectField/index.d.ts +0 -1
  51. package/es/components/table/Table/fields/index.d.ts +2 -3
  52. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  53. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  54. package/es/components/table/Table/index.d.ts +4 -0
  55. package/es/components/table/Table/index.js +7 -3
  56. package/es/components/table/Table/utils.d.ts +1 -1
  57. package/es/components/table/hooks/useTransColumns.d.ts +1 -1
  58. package/es/components/table/hooks/useTransColumns.js +1 -1
  59. package/es/components/table/index.js +3 -1
  60. package/es/components/table/serve.d.ts +13 -0
  61. package/es/components/table/types.d.ts +268 -0
  62. package/es/components/tabs/index.d.ts +17 -0
  63. package/es/components/versionModal/index.d.ts +23 -0
  64. package/es/components/virtual-keyboard/Amount/index.d.ts +5 -0
  65. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
  66. package/es/components/virtual-keyboard/Amount/types.d.ts +44 -0
  67. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +11 -0
  68. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +21 -0
  69. package/es/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  70. package/es/components/virtual-keyboard/Number/index.d.ts +5 -0
  71. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
  72. package/es/components/virtual-keyboard/Number/types.d.ts +25 -0
  73. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
  74. package/es/components/walletCard/index.d.ts +71 -0
  75. package/es/locales/en-US.d.ts +290 -0
  76. package/es/locales/zh-CN.d.ts +285 -0
  77. package/es/locales/zh-TW.d.ts +285 -0
  78. package/es/utils/index.d.ts +1 -1
  79. package/es/utils/platform.d.ts +1 -1
  80. package/lib/components/appVersionControl/index.d.ts +4 -0
  81. package/lib/components/cardPro/index.d.ts +3 -0
  82. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +56 -0
  83. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  84. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +38 -0
  85. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
  86. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +84 -0
  87. package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +17 -0
  88. package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +24 -0
  89. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +25 -0
  90. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  91. package/lib/components/dataSourceComponents/fields/Upload/index.d.ts +3 -0
  92. package/lib/components/dataSourceComponents/fields/index.d.ts +11 -11
  93. package/lib/components/dataSourceComponents/hooks/usePlatform.d.ts +5 -0
  94. package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +12 -0
  95. package/lib/components/date-picker/index.d.ts +0 -1
  96. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +18 -0
  97. package/lib/components/drag-sort-tree/index.d.ts +4 -0
  98. package/lib/components/login-and-register/index.d.ts +82 -0
  99. package/lib/components/page/index.d.ts +0 -1
  100. package/lib/components/pisell-config-provider/context.d.ts +20 -0
  101. package/lib/components/pisell-config-provider/index.d.ts +12 -0
  102. package/lib/components/pisellAdjustPrice/index.d.ts +4 -0
  103. package/lib/components/pisellAdjustPrice/status.d.ts +32 -0
  104. package/lib/components/pisellAdjustPrice/type.d.ts +20 -0
  105. package/lib/components/pisellEmpty/index.d.ts +19 -0
  106. package/lib/components/pisellQRScanner/index.d.ts +24 -0
  107. package/lib/components/pisellQrcode/index.d.ts +10 -0
  108. package/lib/components/pisellText/components/Editable/index.d.ts +29 -0
  109. package/lib/components/pisellText/index.d.ts +9 -0
  110. package/lib/components/productCard/components/Action/index.d.ts +3 -0
  111. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
  112. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  113. package/lib/components/productCard/components/Time/index.d.ts +3 -0
  114. package/lib/components/productCard/locales.d.ts +84 -0
  115. package/lib/components/productCard/status.d.ts +32 -0
  116. package/lib/components/productCard/types.d.ts +84 -0
  117. package/lib/components/select/index.d.ts +9 -0
  118. package/lib/components/select-time/index.d.ts +0 -1
  119. package/lib/components/sortableList/index.d.ts +11 -0
  120. package/lib/components/table/Actions/component/ExportImport/index.d.ts +7 -0
  121. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  122. package/lib/components/table/Table/SelectField/index.d.ts +0 -1
  123. package/lib/components/table/Table/fields/index.d.ts +2 -3
  124. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  125. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  126. package/lib/components/table/Table/index.d.ts +4 -0
  127. package/lib/components/table/Table/index.js +8 -4
  128. package/lib/components/table/Table/utils.d.ts +1 -1
  129. package/lib/components/table/hooks/useTransColumns.d.ts +1 -1
  130. package/lib/components/table/hooks/useTransColumns.js +1 -1
  131. package/lib/components/table/index.js +3 -1
  132. package/lib/components/table/serve.d.ts +13 -0
  133. package/lib/components/table/types.d.ts +268 -0
  134. package/lib/components/tabs/index.d.ts +17 -0
  135. package/lib/components/versionModal/index.d.ts +23 -0
  136. package/lib/components/virtual-keyboard/Amount/index.d.ts +5 -0
  137. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
  138. package/lib/components/virtual-keyboard/Amount/types.d.ts +44 -0
  139. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +11 -0
  140. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +21 -0
  141. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  142. package/lib/components/virtual-keyboard/Number/index.d.ts +5 -0
  143. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
  144. package/lib/components/virtual-keyboard/Number/types.d.ts +25 -0
  145. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
  146. package/lib/components/walletCard/index.d.ts +71 -0
  147. package/lib/locales/en-US.d.ts +290 -0
  148. package/lib/locales/zh-CN.d.ts +285 -0
  149. package/lib/locales/zh-TW.d.ts +285 -0
  150. package/lib/utils/index.d.ts +1 -1
  151. package/lib/utils/platform.d.ts +1 -1
  152. package/package.json +1 -1
  153. package/dist/umd/materials.min.css +0 -1
  154. package/dist/umd/materials.min.js +0 -1
  155. package/dist/umd/static/DotsSix.57d66266.svg +0 -1
  156. package/dist/umd/static/arrow-left.e542294f.svg +0 -1
  157. package/dist/umd/static/arrow-right.763f03e0.svg +0 -1
  158. package/dist/umd/static/filter-lines.04a54ae9.svg +0 -1
  159. package/dist/umd/static/help-circle.31c9be40.svg +0 -1
  160. package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +0 -1
@@ -0,0 +1,285 @@
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-discount-card-fixed-amount-prefix': string;
140
+ 'pisell-data-source-table-add': string;
141
+ 'pisell-data-source-table-edit': string;
142
+ 'pisell-data-source-table-detail': string;
143
+ 'pisell-data-source-table-delete': string;
144
+ 'pisell-record-view-available': string;
145
+ 'pisell-record-view-unavailable': string;
146
+ 'pisell-data-source-form-required-message': string;
147
+ 'pisell-data-source-form-email-message': string;
148
+ 'pisell-data-source-form-domain-message': string;
149
+ 'pisell-data-source-form-url-message': string;
150
+ 'pisell-data-source-form-phone-message': string;
151
+ 'pisell-data-source-form-min-length-message': (minLength: number) => string;
152
+ 'pisell-data-source-form-max-length-message': (maxLength: number) => string;
153
+ 'pisell-data-source-form-min-value-message': (minValue: number) => string;
154
+ 'pisell-data-source-form-max-value-message': (maxValue: number) => string;
155
+ 'pisell-data-source-form-mobile-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
+ 'walletCard-viewPin': string;
163
+ 'pisell-upload-button': string;
164
+ 'pisell-upload-setting-size-error': (maxSize: number) => string;
165
+ 'pisell-upload-setting-type-error': (type: string) => string;
166
+ 'pisell-upload-count-error': (count: number) => string;
167
+ 'pisell-upload-error': (name: string) => string;
168
+ 'pisell-upload-multilingual-title': string;
169
+ 'pisell-upload-multilingual-item-title-original': string;
170
+ 'pisell-upload-multilingual-item-title-en': string;
171
+ 'pisell-upload-multilingual-item-title-zh-CN': string;
172
+ 'pisell-upload-multilingual-item-title-zh-HK': string;
173
+ 'pisell-color-picker-default': string;
174
+ 'pisell-action-get-data': string;
175
+ 'pisell-action-delete-success': string;
176
+ 'pisell-action-delete-failed': string;
177
+ 'walletCard-point': string;
178
+ 'walletCard-rechargeable': string;
179
+ 'walletCard-voucher': string;
180
+ 'walletCard-discount': string;
181
+ 'pisellQrcode-done': string;
182
+ 'pisellQrcode-qrcode': string;
183
+ 'pisell-delete-confirm-title': string;
184
+ 'pisell-delete-confirm-content': string;
185
+ 'pisell-delete-confirm-ok': string;
186
+ 'pisell-delete-confirm-cancel': string;
187
+ 'pisell-design-mode-action-disabled': string;
188
+ 'pisell-translation-original': string;
189
+ 'pisell-version-modal-title': string;
190
+ 'pisell-version-modal-current-version': string;
191
+ 'pisell-version-modal-version': string;
192
+ 'pisell-version-modal-update-notes': string;
193
+ 'pisell-version-modal-patch': string;
194
+ 'pisell-version-modal-minor': string;
195
+ 'pisell-version-modal-major': string;
196
+ 'pisell-version-modal-custom': string;
197
+ 'pisell-version-modal-cancel': string;
198
+ 'pisell-version-modal-confirm': string;
199
+ 'pisell-version-modal-describe-update-notes': string;
200
+ 'pisell-version-modal-version-error': string;
201
+ 'pisell-version-modal-version-required': string;
202
+ 'pisell-version-modal-based-on-version': string;
203
+ 'subdomain-error-too-short': string;
204
+ 'subdomain-error-too-long': string;
205
+ 'subdomain-error-pattern': string;
206
+ 'subdomain-error-numbers-only': string;
207
+ 'subdomain-error-hyphen-ends': string;
208
+ 'subdomain-error-consecutive-hyphens': string;
209
+ 'pisell-icon-select-placeholder': string;
210
+ 'pisell-icon-select-outlined': string;
211
+ 'pisell-icon-select-filled': string;
212
+ 'pisell-icon-select-two-tone': string;
213
+ 'pisell-icon-select-iconfont': string;
214
+ 'pisell-icon-select-search': string;
215
+ 'pisell-icon-select-select': string;
216
+ 'pisell-lowcode-app-version-control-live': string;
217
+ 'pisell-lowcode-app-version-control-draft': string;
218
+ 'pisell-lowcode-app-version-control-deprecated': string;
219
+ 'pisell-lowcode-app-version-control-new-version': string;
220
+ 'pisell-lowcode-app-version-control-promote-to-live': string;
221
+ 'pisell-lowcode-app-version-control-promote-version': (version: string) => string;
222
+ 'pisell-lowcode-app-version-control-promote-version-describe': string;
223
+ 'pisell-lowcode-app-version-control-promote-version-ok': string;
224
+ 'pisell-lowcode-app-version-control-promote-version-cancel': string;
225
+ 'pisell-lowcode-app-version-control-version-exists': string;
226
+ 'pisell-lowcode-drop-sort-add': string;
227
+ 'pisell-lowcode-navigation-menu-add-sub-menu': string;
228
+ 'pisell-lowcode-navigation-menu-add-page': string;
229
+ 'pisell-lowcode-navigation-menu-add-page-tip': string;
230
+ 'pisell-lowcode-navigation-menu-tag-base': string;
231
+ 'pisell-lowcode-navigation-menu-tag-proCode': string;
232
+ 'pisell-lowcode-navigation-menu-tag-pisell1': string;
233
+ 'pisell-lowcode-navigation-menu-tag-group': string;
234
+ 'pisell-lowcode-navigation-menu-tag-sub-menu': string;
235
+ 'pisell-lowcode-navigation-menu-tag-custom': string;
236
+ 'pisell-data-source-form-app-identifier-pattern': string;
237
+ 'pisell-data-source-form-app-identifier-start-with-letter': string;
238
+ 'pisell-data-source-form-app-identifier-special-ends': string;
239
+ 'pisell-data-source-form-app-identifier-consecutive-special': 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;
249
+ 'pisell-login-and-register-title': string;
250
+ 'pisell-login-and-register-subtitle': string;
251
+ 'pisell-login-and-register-email-label': string;
252
+ 'pisell-login-and-register-email-placeholder': string;
253
+ 'pisell-login-and-register-password-label': string;
254
+ 'pisell-login-and-register-password-placeholder': string;
255
+ 'pisell-login-and-register-email-error': string;
256
+ 'pisell-login-and-register-email-error-valid': string;
257
+ 'pisell-login-and-register-password-error': string;
258
+ 'pisell-login-and-register-login': string;
259
+ 'pisell-login-and-register-google': string;
260
+ 'pisell-login-and-register-facebook': string;
261
+ 'pisell-login-and-register-apple': string;
262
+ 'pisell-login-and-register-sign-up': string;
263
+ 'pisell-login-and-register-login-tab': string;
264
+ 'pisell-login-and-register-register-tab': string;
265
+ 'pisell-login-and-register-register-email-placeholder': string;
266
+ 'pisell-login-and-register-register-password-placeholder': string;
267
+ 'pisell-login-and-register-register-button-text': string;
268
+ 'pisell-login-and-register-remember-me': string;
269
+ 'pisell-login-and-register-forgot-password': string;
270
+ 'pisell2.text.goodpass.product-vouchers': string;
271
+ 'pisell2.text.goodpass.last-settlement': string;
272
+ 'pisell2.text.goodpass.view-more': string;
273
+ 'pisell2.text.goodpass.save': string;
274
+ 'pisell-camera-no-camera-accessible': string;
275
+ 'pisell-camera-permission-denied': string;
276
+ 'pisell-camera-switch-camera': string;
277
+ 'pisell-camera-canvas': string;
278
+ 'pisell-camera-checking': string;
279
+ 'pisell-camera-no-camera-desc': string;
280
+ 'pisell-upload-camera-local-files': string;
281
+ 'pisell-upload-camera-capture': string;
282
+ 'pisell-upload-camera-retake': string;
283
+ 'pisell-upload-camera-use': string;
284
+ };
285
+ export default _default;
@@ -1,4 +1,4 @@
1
1
  export declare const isBrowser: boolean;
2
- export declare const getCssNumber: (val: string | number) => string | number;
2
+ export declare const getCssNumber: (val: string | number) => string;
3
3
  export declare function uuid(): string;
4
4
  export * from './mergeWith';
@@ -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;
@@ -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;
@@ -1,5 +1,5 @@
1
1
  declare const useDataSourceKey: () => {
2
- dataSourceKey: string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined;
3
- dataSourceKeyRef: import("react").MutableRefObject<string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined>;
2
+ dataSourceKey: string | undefined;
3
+ dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
4
4
  };
5
5
  export default useDataSourceKey;
@@ -0,0 +1,38 @@
1
+ import { Drawer } from 'antd';
2
+ import { OperationItem } from '../type';
3
+ declare const useDrawerState: (operationContent?: {
4
+ [key: string]: import("react").ReactNode;
5
+ } | undefined) => {
6
+ drawerVisible: boolean;
7
+ setDrawerVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
8
+ openDrawer: (item: OperationItem) => void;
9
+ closeDrawer: () => void;
10
+ drawerContent: import("react").ReactNode;
11
+ Container: {
12
+ (props: import("../../../pisellModal").PisellModalProps): JSX.Element;
13
+ confirm: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
14
+ destroy: () => void;
15
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
16
+ };
17
+ info: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
18
+ destroy: () => void;
19
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
20
+ };
21
+ error: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
22
+ destroy: () => void;
23
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
24
+ };
25
+ warn: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => any;
26
+ warning: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
27
+ destroy: () => void;
28
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
29
+ };
30
+ success: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
31
+ destroy: () => void;
32
+ update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
33
+ };
34
+ Information: (props: import("../../../pisellModal/components/Information").InformationProps) => JSX.Element;
35
+ } | typeof Drawer;
36
+ containerProps: {};
37
+ };
38
+ export default useDrawerState;
@@ -19,7 +19,7 @@ interface UseTablePropsProps {
19
19
  */
20
20
  declare const useTableProps: (props: UseTablePropsProps) => {
21
21
  currentComponentId: any;
22
- title: string | number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
22
+ title: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
23
23
  pagination: {
24
24
  total: number;
25
25
  current: number;
@@ -28,7 +28,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
28
28
  showSizeChanger: boolean;
29
29
  };
30
30
  columns: import("./useColumns").Column[];
31
- subTitle: string | number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
31
+ subTitle: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
32
32
  buttons: any[] | null;
33
33
  filter: {
34
34
  dom: any;
@@ -54,7 +54,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
54
54
  width: number;
55
55
  align: "center" | "left" | "right";
56
56
  fixed: false | "left" | "right";
57
- type: "button" | "link";
57
+ type: "link" | "button";
58
58
  items: OperationItem[];
59
59
  } | undefined;
60
60
  operationContent?: {
@@ -72,7 +72,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
72
72
  useCustomAction: boolean;
73
73
  actionType: string;
74
74
  openMode: "modal" | "drawer";
75
- openContentSize: "large" | "middle" | "small";
75
+ openContentSize: "small" | "middle" | "large";
76
76
  openTitle: string;
77
77
  key: string;
78
78
  } | undefined;
@@ -0,0 +1,84 @@
1
+ /// <reference types="react" />
2
+ import { ColumnType } from 'antd/es/table';
3
+ import { LocalSettingsType } from '../../table/types';
4
+ import { DataSourceType } from '../provider/dataSource/DataSourceContext';
5
+ export declare type OperationItem = {
6
+ label?: string;
7
+ openMode: 'modal' | 'drawer' | 'custom';
8
+ openContentSize: 'small' | 'middle' | 'large';
9
+ openTitle: string;
10
+ actionType: 'detail' | 'edit' | 'delete' | 'custom';
11
+ key: string;
12
+ buttonProps?: any;
13
+ onClick?: (record: any) => void;
14
+ afterClose?: () => void;
15
+ };
16
+ export interface DataSourceTableProps {
17
+ __id?: string;
18
+ currentComponentId?: string;
19
+ currentSettingKey?: string;
20
+ title?: string | React.ReactNode | (() => React.ReactNode);
21
+ subTitle?: string | React.ReactNode | (() => React.ReactNode);
22
+ titleButtons?: {
23
+ show: boolean;
24
+ maxCount: number;
25
+ items: OperationItem[];
26
+ };
27
+ tableButtons?: {
28
+ show: boolean;
29
+ maxCount: number;
30
+ items: OperationItem[];
31
+ };
32
+ buttons?: any[];
33
+ operation?: {
34
+ show: boolean;
35
+ title: string;
36
+ width: number;
37
+ align: 'left' | 'center' | 'right';
38
+ fixed: 'left' | 'right' | false;
39
+ type: 'link' | 'button';
40
+ items: OperationItem[];
41
+ };
42
+ operationContent?: {
43
+ [key: string]: React.ReactNode;
44
+ };
45
+ dataSource: DataSourceType;
46
+ columns: ColumnType<any>[];
47
+ filter: any;
48
+ search?: {
49
+ show: boolean;
50
+ placeholder: string;
51
+ };
52
+ __designMode: string;
53
+ componentId: string;
54
+ clickToDetail?: {
55
+ show: boolean;
56
+ useCustomAction: boolean;
57
+ actionType: string;
58
+ openMode: 'modal' | 'drawer';
59
+ openContentSize: 'small' | 'middle' | 'large';
60
+ openTitle: string;
61
+ key: string;
62
+ };
63
+ onRow?: any;
64
+ filterBy?: Record<string, any>;
65
+ sortBy: string;
66
+ tabs?: {
67
+ show: boolean;
68
+ type: string;
69
+ items: {
70
+ name: string;
71
+ filterBy: Record<string, any>;
72
+ sortBy: string;
73
+ }[];
74
+ };
75
+ onValuesChange?: (changedValues: any, values: any) => void;
76
+ extraParams?: {
77
+ list?: Record<string, any>;
78
+ get?: Record<string, any>;
79
+ update?: Record<string, any>;
80
+ create?: Record<string, any>;
81
+ destroy?: Record<string, any>;
82
+ };
83
+ localSettings?: LocalSettingsType;
84
+ }
@@ -0,0 +1,17 @@
1
+ import React from 'react';
2
+ import { InputProps } from 'antd';
3
+ import { ModeType } from '../../dataSourceForm/type';
4
+ declare type PhoneValue = string | {
5
+ phone: string;
6
+ countryCallingCode: string;
7
+ countryCode?: string;
8
+ };
9
+ export interface PhoneInputProps extends Omit<InputProps, 'value' | 'onChange'> {
10
+ renderMode: ModeType;
11
+ value?: PhoneValue;
12
+ onChange?: (value: PhoneValue) => void;
13
+ returnFormat?: 'string' | 'object';
14
+ inputRef?: any;
15
+ }
16
+ declare const MobileNumberInputWithMode: React.FC<PhoneInputProps & import("../../dataSourceForm/utils").WithModeProps>;
17
+ export default MobileNumberInputWithMode;
@@ -0,0 +1,24 @@
1
+ /**
2
+ * 获取nocobase数据列表
3
+ */
4
+ export declare const getCountryDataList: () => Promise<any>;
5
+ export interface Country {
6
+ id: number;
7
+ name: {
8
+ en: string;
9
+ 'zh-CN': string;
10
+ 'zh-HK': string;
11
+ original: string;
12
+ };
13
+ code: string;
14
+ calling_code: string;
15
+ currency_code: string;
16
+ sort: number;
17
+ status: string;
18
+ created_at: string;
19
+ updated_at: string;
20
+ prefix: string;
21
+ }
22
+ export declare const useCountries: () => {
23
+ data: Country[];
24
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * 获取nocobase数据列表
3
+ */
4
+ export declare const getCountryDataList: () => Promise<any>;
5
+ export declare const getShopCountryDataList: (locale?: any) => Promise<any>;
6
+ export interface Country {
7
+ id: number;
8
+ name: {
9
+ en: string;
10
+ 'zh-CN': string;
11
+ 'zh-HK': string;
12
+ original: string;
13
+ };
14
+ code: string;
15
+ calling_code: string;
16
+ currency_code: string;
17
+ sort: number;
18
+ status: string;
19
+ created_at: string;
20
+ updated_at: string;
21
+ prefix: string;
22
+ }
23
+ export declare const useCountries: () => {
24
+ data: Country[];
25
+ };
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  declare const Subdomain: React.FC<import("antd").InputProps & {
3
3
  onChange: (value: string) => void;
4
4
  onBlur?: ((e: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
5
- rootDomain: "custom" | "saas" | "xzero";
5
+ rootDomain: "custom" | "xzero" | "saas";
6
6
  customDomain?: string | undefined;
7
7
  value?: string | undefined;
8
8
  tenantId: string;
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const Upload: React.FC<import("./type").UploadProps & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps>;
3
+ export default Upload;