@pisell/materials 3.3.43 → 3.3.45

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 (192) 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 +2 -2
  6. package/build/lowcode/preview.js +146 -146
  7. package/build/lowcode/render/default/view.js +24 -24
  8. package/build/lowcode/view.js +30 -30
  9. package/es/components/DragSortList/index.js +6 -6
  10. package/es/components/classicLayout/index.js +4 -5
  11. package/es/components/dataSourceComponents/dataSourceMenu/Basic.d.ts +8 -0
  12. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
  13. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  14. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
  15. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  16. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
  17. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +32 -0
  18. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  19. package/es/components/dataSourceComponents/fields/DatePicker/ReadPretty.d.ts +5 -0
  20. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -0
  21. package/es/components/dataSourceComponents/fields/index.d.ts +7 -6
  22. package/es/components/date-picker/index.d.ts +1 -0
  23. package/es/components/div/index.d.ts +19 -0
  24. package/es/components/drag-sort-tree/TreeItem/index.js +2 -1
  25. package/es/components/filter/index.d.ts +1 -0
  26. package/es/components/icon/index.js +5 -5
  27. package/es/components/list/index.js +6 -6
  28. package/es/components/login-and-register/index.d.ts +82 -0
  29. package/es/components/page/index.d.ts +1 -0
  30. package/es/components/pisellDraggable/components/TreeItem/SortableTreeItem.d.ts +9 -0
  31. package/es/components/pisellDraggable/components/TreeItem/TreeItem.d.ts +24 -0
  32. package/es/components/pisellDraggable/components/TreeItem/index.d.ts +2 -0
  33. package/es/components/pisellDraggable/index.d.ts +35 -0
  34. package/es/components/pisellDropSort/PisellDropSort.d.ts +5 -0
  35. package/es/components/pisellDropSort/components/SortableItem/index.d.ts +26 -0
  36. package/es/components/pisellDropSort/types.d.ts +58 -0
  37. package/es/components/pisellInput/index.d.ts +1 -0
  38. package/es/components/pisellMenu/PisellMenu.d.ts +11 -0
  39. package/es/components/pisellMenu/types.d.ts +27 -0
  40. package/es/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  41. package/es/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  42. package/es/components/pisellModal/components/index.d.ts +1 -0
  43. package/es/components/pisellNavigationMenu/types.d.ts +85 -0
  44. package/es/components/pisellWalletPassCard/index.d.ts +0 -1
  45. package/es/components/productCard/components/MultiDay/index.d.ts +1 -0
  46. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  47. package/es/components/productCard/components/Packages/components/options/index.d.ts +1 -0
  48. package/es/components/productCard/components/Time/index.d.ts +3 -0
  49. package/es/components/qrcode/index.js +1 -1
  50. package/es/components/select-time/index.d.ts +1 -0
  51. package/es/components/sort/components/InlineMenu/index.js +1 -1
  52. package/es/components/table/Actions/component/ButtonIcon/index.js +5 -5
  53. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  54. package/es/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  55. package/es/components/table/Actions/component/Group/index.d.ts +1 -0
  56. package/es/components/table/Actions/component/ViewMode/index.js +1 -1
  57. package/es/components/table/Actions/index.d.ts +1 -0
  58. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  59. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.js +4 -5
  60. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  61. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  62. package/es/components/table/Header/Buttons/index.js +5 -5
  63. package/es/components/table/Table/AddFieldModal/index.js +6 -6
  64. package/es/components/table/Table/SelectField/index.js +4 -4
  65. package/es/components/table/Table/fields/date/Edit/index.js +1 -1
  66. package/es/components/table/Table/fields/date/index.d.ts +1 -0
  67. package/es/components/table/Table/fields/image/Show/index.d.ts +1 -0
  68. package/es/components/table/Table/fields/image/index.d.ts +1 -0
  69. package/es/components/table/Table/fields/index.d.ts +2 -2
  70. package/es/components/table/Table/fields/link/Edit/index.js +5 -5
  71. package/es/components/table/Table/fields/link/index.d.ts +1 -0
  72. package/es/components/table/Table/fields/number/Show/index.d.ts +1 -0
  73. package/es/components/table/Table/fields/number/index.d.ts +1 -0
  74. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  75. package/es/components/table/Table/fields/numberRange/index.d.ts +1 -0
  76. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  77. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  78. package/es/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  79. package/es/components/table/Table/fields/rangePicker/filterUtil/index.js +1 -1
  80. package/es/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  81. package/es/components/table/Table/fields/search/Show/index.d.ts +1 -0
  82. package/es/components/table/Table/fields/search/filterUtil/index.js +0 -1
  83. package/es/components/table/Table/fields/search/index.d.ts +1 -0
  84. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  85. package/es/components/table/Table/fields/text/Show/index.d.ts +1 -0
  86. package/es/components/table/Table/fields/text/Show/index.js +4 -4
  87. package/es/components/table/Table/fields/text/filterUtil/index.js +0 -1
  88. package/es/components/table/Table/fields/text/index.d.ts +1 -0
  89. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  90. package/es/components/table/Table/tableConfig/SortRow/index.js +2 -2
  91. package/es/components/table/Table/tableConfig/body/CellContent/index.js +3 -3
  92. package/es/components/table/Table/tableConfig/body/CellProvider/index.js +8 -8
  93. package/es/components/table/Table/utils.d.ts +1 -1
  94. package/es/components/table/hooks/useMergeColumnSetting.js +1 -2
  95. package/es/components/table/hooks/useTransDataSourceGroupSetting.js +5 -5
  96. package/es/components/table/hooks/useTransFilterSetting.js +5 -5
  97. package/es/components/translation/utils.js +5 -5
  98. package/es/components/versionSelect/index.d.ts +1 -0
  99. package/es/components/walletCard/Guide/index.d.ts +3 -0
  100. package/es/components/walletCard/index.d.ts +67 -0
  101. package/es/hooks/useResponsive.js +2 -2
  102. package/es/locales/en-US.d.ts +278 -0
  103. package/es/locales/zh-CN.d.ts +273 -0
  104. package/es/locales/zh-TW.d.ts +273 -0
  105. package/es/utils/hoc.js +1 -1
  106. package/es/utils/index.d.ts +1 -1
  107. package/es/utils/miniRedux.js +8 -9
  108. package/lib/components/dataSourceComponents/dataSourceMenu/Basic.d.ts +8 -0
  109. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
  110. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  111. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
  112. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  113. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
  114. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +32 -0
  115. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  116. package/lib/components/dataSourceComponents/fields/DatePicker/ReadPretty.d.ts +5 -0
  117. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -0
  118. package/lib/components/dataSourceComponents/fields/index.d.ts +7 -6
  119. package/lib/components/date-picker/index.d.ts +1 -0
  120. package/lib/components/div/index.d.ts +19 -0
  121. package/lib/components/drag-sort-tree/TreeItem/index.js +2 -1
  122. package/lib/components/filter/index.d.ts +1 -0
  123. package/lib/components/login-and-register/index.d.ts +82 -0
  124. package/lib/components/lowCodePage/index.js +1 -2
  125. package/lib/components/page/index.d.ts +1 -0
  126. package/lib/components/pisellDraggable/components/TreeItem/SortableTreeItem.d.ts +9 -0
  127. package/lib/components/pisellDraggable/components/TreeItem/TreeItem.d.ts +24 -0
  128. package/lib/components/pisellDraggable/components/TreeItem/index.d.ts +2 -0
  129. package/lib/components/pisellDraggable/index.d.ts +35 -0
  130. package/lib/components/pisellDropSort/PisellDropSort.d.ts +5 -0
  131. package/lib/components/pisellDropSort/components/SortableItem/index.d.ts +26 -0
  132. package/lib/components/pisellDropSort/types.d.ts +58 -0
  133. package/lib/components/pisellInput/index.d.ts +1 -0
  134. package/lib/components/pisellMenu/PisellMenu.d.ts +11 -0
  135. package/lib/components/pisellMenu/types.d.ts +27 -0
  136. package/lib/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  137. package/lib/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  138. package/lib/components/pisellModal/components/index.d.ts +1 -0
  139. package/lib/components/pisellNavigationMenu/types.d.ts +85 -0
  140. package/lib/components/pisellWalletPassCard/index.d.ts +0 -1
  141. package/lib/components/productCard/components/MultiDay/index.d.ts +1 -0
  142. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  143. package/lib/components/productCard/components/Packages/components/options/index.d.ts +1 -0
  144. package/lib/components/productCard/components/Time/index.d.ts +3 -0
  145. package/lib/components/select-time/index.d.ts +1 -0
  146. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  147. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  148. package/lib/components/table/Actions/component/Group/index.d.ts +1 -0
  149. package/lib/components/table/Actions/index.d.ts +1 -0
  150. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  151. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  152. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  153. package/lib/components/table/Table/fields/date/filterUtil/index.js +3 -6
  154. package/lib/components/table/Table/fields/date/index.d.ts +1 -0
  155. package/lib/components/table/Table/fields/image/Show/index.d.ts +1 -0
  156. package/lib/components/table/Table/fields/image/index.d.ts +1 -0
  157. package/lib/components/table/Table/fields/index.d.ts +2 -2
  158. package/lib/components/table/Table/fields/link/index.d.ts +1 -0
  159. package/lib/components/table/Table/fields/number/Show/index.d.ts +1 -0
  160. package/lib/components/table/Table/fields/number/index.d.ts +1 -0
  161. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  162. package/lib/components/table/Table/fields/numberRange/index.d.ts +1 -0
  163. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  164. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  165. package/lib/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  166. package/lib/components/table/Table/fields/rangePicker/filterUtil/index.js +4 -8
  167. package/lib/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  168. package/lib/components/table/Table/fields/search/Show/index.d.ts +1 -0
  169. package/lib/components/table/Table/fields/search/index.d.ts +1 -0
  170. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  171. package/lib/components/table/Table/fields/text/Show/index.d.ts +1 -0
  172. package/lib/components/table/Table/fields/text/index.d.ts +1 -0
  173. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  174. package/lib/components/table/Table/fields/utils/index.js +1 -2
  175. package/lib/components/table/Table/utils.d.ts +1 -1
  176. package/lib/components/versionSelect/index.d.ts +1 -0
  177. package/lib/components/walletCard/Guide/index.d.ts +3 -0
  178. package/lib/components/walletCard/index.d.ts +67 -0
  179. package/lib/hooks/useResponsive.js +3 -6
  180. package/lib/locales/en-US.d.ts +278 -0
  181. package/lib/locales/zh-CN.d.ts +273 -0
  182. package/lib/locales/zh-TW.d.ts +273 -0
  183. package/lib/utils/index.d.ts +1 -1
  184. package/package.json +3 -3
  185. package/dist/umd/materials.min.css +0 -1
  186. package/dist/umd/materials.min.js +0 -1
  187. package/dist/umd/static/DotsSix.57d66266.svg +0 -1
  188. package/dist/umd/static/arrow-left.e542294f.svg +0 -1
  189. package/dist/umd/static/arrow-right.763f03e0.svg +0 -1
  190. package/dist/umd/static/filter-lines.04a54ae9.svg +0 -1
  191. package/dist/umd/static/help-circle.31c9be40.svg +0 -1
  192. package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +0 -1
@@ -0,0 +1,273 @@
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;
package/es/utils/hoc.js CHANGED
@@ -1,5 +1,5 @@
1
1
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
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
3
  import React from 'react';
4
4
  import { get, set, has } from 'lodash';
5
5
  import dayjs from "dayjs";
@@ -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,15 +1,15 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
+ 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); }
2
2
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
5
  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; }
6
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
6
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
+ 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); }
8
8
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
9
9
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
10
10
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
11
11
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
12
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
12
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
13
13
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
14
14
  import React, { createContext, useCallback, useReducer } from 'react';
15
15
  export default (function (_ref2) {
@@ -23,7 +23,6 @@ export default (function (_ref2) {
23
23
  var Context = /*#__PURE__*/createContext({});
24
24
  var Provider = function Provider(ComponentUi) {
25
25
  var Components = function Components(props, ref) {
26
- var _objectSpread2, _ref5;
27
26
  var _useReducer = useReducer(function (state, _ref3) {
28
27
  var type = _ref3.type,
29
28
  payload = _ref3.payload;
@@ -48,14 +47,14 @@ export default (function (_ref2) {
48
47
  });
49
48
  }
50
49
  }, []);
51
- var _props = _objectSpread(_objectSpread({}, props), {}, (_objectSpread2 = {}, _defineProperty(_objectSpread2, namespace, providerState), _defineProperty(_objectSpread2, "dispatch", _dispatch), _objectSpread2));
50
+ var _props = _objectSpread(_objectSpread({}, props), {}, _defineProperty(_defineProperty({}, namespace, providerState), "dispatch", _dispatch));
52
51
  var _ref = ref;
53
52
  // if (_props.forwardedRef) {
54
53
  // _ref = _props.forwardedRef;
55
54
  // delete _props.forwardedRef;
56
55
  // }
57
56
  return /*#__PURE__*/React.createElement(Context.Provider, {
58
- value: (_ref5 = {}, _defineProperty(_ref5, namespace, providerState), _defineProperty(_ref5, "dispatch", _dispatch), _ref5)
57
+ value: _defineProperty(_defineProperty({}, namespace, providerState), "dispatch", _dispatch)
59
58
  }, /*#__PURE__*/React.createElement(ComponentUi, _extends({}, _props, {
60
59
  ref: _ref
61
60
  })));
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { PisellMenuProps } from '../../pisellMenu/types';
3
+ /**
4
+ * @title: 数据源表单组件
5
+ * @description: 基于数据源动态生成表单,支持编辑、查看、禁用三种模式
6
+ */
7
+ declare const DataSourceMenu: React.ForwardRefExoticComponent<PisellMenuProps & React.RefAttributes<any>>;
8
+ export default DataSourceMenu;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DataSourceImage: (props: import("../utils").ParsedProps) => JSX.Element;
2
3
  export default DataSourceImage;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DataSourceQRCode: (props: any) => JSX.Element;
2
3
  export default DataSourceQRCode;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface BaseFilterItem {
3
4
  name?: string;
@@ -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;
@@ -17,7 +17,7 @@ interface UseTablePropsProps {
17
17
  * @returns
18
18
  */
19
19
  declare const useTableProps: (props: UseTablePropsProps) => {
20
- title: string | number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
20
+ title: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
21
21
  pagination: {
22
22
  total: number;
23
23
  current: number;
@@ -26,7 +26,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
26
26
  showSizeChanger: boolean;
27
27
  };
28
28
  columns: import("./useColumns").Column[];
29
- subTitle: string | number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
29
+ subTitle: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
30
30
  buttons: any[] | null;
31
31
  filter: JSX.Element | null;
32
32
  onRow: (record: any) => any;
@@ -52,7 +52,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
52
52
  width: number;
53
53
  align: "center" | "left" | "right";
54
54
  fixed: false | "left" | "right";
55
- type: "button" | "link";
55
+ type: "link" | "button";
56
56
  items: OperationItem[];
57
57
  } | undefined;
58
58
  operationContent?: {
@@ -70,7 +70,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
70
70
  useCustomAction: boolean;
71
71
  actionType: string;
72
72
  openMode: "modal" | "drawer";
73
- openContentSize: "large" | "middle" | "small";
73
+ openContentSize: "small" | "large" | "middle";
74
74
  openTitle: string;
75
75
  key: string;
76
76
  } | undefined;
@@ -0,0 +1,32 @@
1
+ import { DataSourceTableProps } from '../type';
2
+ declare type Params = {
3
+ pagination?: {
4
+ page: number;
5
+ size: number;
6
+ };
7
+ order_by?: string;
8
+ tabs?: {
9
+ name: string;
10
+ filterBy: Record<string, any>;
11
+ sortBy: string;
12
+ };
13
+ };
14
+ declare const useTableQuery: (props: DataSourceTableProps) => {
15
+ queryPageConfig: {
16
+ page: number;
17
+ pageSize: number;
18
+ filter: Record<string, any>;
19
+ sort: string;
20
+ };
21
+ setQueryPageConfig: import("react").Dispatch<import("react").SetStateAction<{
22
+ page: number;
23
+ pageSize: number;
24
+ filter: Record<string, any>;
25
+ sort: string;
26
+ }>>;
27
+ handleValuesChange: (params: Params, allParams: Params) => void;
28
+ refreshData: () => void;
29
+ handleFilterChange: (changedFields: any, allFields: any) => void;
30
+ refreshCurrentPage: () => void;
31
+ };
32
+ export default useTableQuery;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataSourceContextProps } from '../provider/dataSource/DataSourceContext';
2
3
  declare const DataSourceWrapper: (props: DataSourceContextProps) => JSX.Element;
3
4
  export default DataSourceWrapper;
@@ -0,0 +1,5 @@
1
+ import type { FC } from 'react';
2
+ import { DatePickerProps } from './type';
3
+ import './ReadPretty.less';
4
+ declare const DatePickerReadPretty: FC<DatePickerProps>;
5
+ export default DatePickerReadPretty;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
2
3
  options?: any;
3
4
  optionSourceType?: "default" | "custom" | "api" | undefined;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const formFieldMap: {
2
3
  FormItemCheckbox: import("react").FC<{}> & {
3
4
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -59,13 +60,11 @@ declare const formFieldMap: {
59
60
  FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
60
61
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
61
62
  };
62
- declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
63
+ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<{}> & {
63
64
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
64
65
  } & {
65
66
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
66
- }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
67
- onChange: (value: string) => void;
68
- } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
67
+ }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
69
68
  JSON: import("react").FC<any>;
70
69
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
71
70
  TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
@@ -85,7 +84,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
85
84
  name?: string | undefined;
86
85
  fieldKey?: string | undefined;
87
86
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
88
- }) | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
87
+ }) | (import("react").FC<{}> & {
89
88
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
90
89
  } & {
91
90
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -97,5 +96,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
97
96
  extraParams?: Record<string, any> | undefined;
98
97
  } & {
99
98
  dataSource?: any;
100
- }) => JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
99
+ }) => JSX.Element) | import("react").FC<any> | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
100
+ onChange: (value: string) => void;
101
+ } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
101
102
  export { getFieldComponent, formFieldMap };
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DatePicker: (props: any) => JSX.Element;
2
3
  export default DatePicker;
@@ -0,0 +1,19 @@
1
+ import React from "react";
2
+ export interface DivProps {
3
+ /** 基础类名,默认为 'div' */
4
+ baseClassName?: string;
5
+ /** 自定义类名,会与 baseClassName 合并 */
6
+ className?: string;
7
+ /** 渲染函数,优先级高于 children */
8
+ render?: () => React.ReactNode;
9
+ /** 子元素 */
10
+ children?: React.ReactNode;
11
+ /** 内联样式 */
12
+ style?: React.CSSProperties;
13
+ /** 收集其他需要传递给 div 的 props */
14
+ others?: any;
15
+ /** 其他自定义属性 */
16
+ [key: string]: any;
17
+ }
18
+ declare const _default: React.NamedExoticComponent<DivProps>;
19
+ export default _default;
@@ -67,7 +67,8 @@ var TreeItem = (props) => {
67
67
  const [isMobile, setIsMobile] = (0, import_react.useState)(window.innerWidth < 600);
68
68
  const style = {
69
69
  transform: import_utilities.CSS.Transform.toString(transform && { ...transform, scaleY: 1 }),
70
- transition
70
+ transition,
71
+ display: item.domHidden ? "none" : "block"
71
72
  };
72
73
  const rowKey = (0, import_react.useMemo)(() => {
73
74
  return (childrenProps == null ? void 0 : childrenProps.rowKey) || "id";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterProps } from "./types";
2
3
  declare const Filter: (props: FilterProps) => JSX.Element | null;
3
4
  export default Filter;