@pisell/materials 3.2.31 → 3.3.0

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 (225) hide show
  1. package/build/lowcode/assets-daily.json +13 -13
  2. package/build/lowcode/assets-dev.json +4 -4
  3. package/build/lowcode/assets-prod.json +13 -13
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +7 -7
  6. package/build/lowcode/preview.js +147 -167
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +25 -39
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +25 -39
  11. package/dist/umd/materials.min.css +1 -0
  12. package/dist/umd/materials.min.js +1 -0
  13. package/dist/umd/static/DotsSix.57d66266.svg +1 -0
  14. package/dist/umd/static/arrow-left.e542294f.svg +1 -0
  15. package/dist/umd/static/arrow-right.763f03e0.svg +1 -0
  16. package/dist/umd/static/filter-lines.04a54ae9.svg +1 -0
  17. package/dist/umd/static/help-circle.31c9be40.svg +1 -0
  18. package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +1 -0
  19. package/es/components/DragSortList/index.js +6 -6
  20. package/es/components/appVersionControl/index.d.ts +4 -0
  21. package/es/components/classicLayout/index.js +5 -4
  22. package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -1
  23. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  24. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +38 -0
  25. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +97 -0
  26. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  27. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +78 -0
  28. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
  29. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
  30. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  31. package/es/components/dataSourceComponents/fields/index.d.ts +6 -6
  32. package/es/components/date-picker/datePickerCpt.d.ts +0 -1
  33. package/es/components/date-picker/index.d.ts +0 -1
  34. package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -1
  35. package/es/components/drag-sort-tree/index.d.ts +4 -0
  36. package/es/components/icon/index.js +5 -5
  37. package/es/components/list/index.d.ts +0 -1
  38. package/es/components/list/index.js +6 -6
  39. package/es/components/login-and-register/index.d.ts +82 -0
  40. package/es/components/page/index.d.ts +0 -1
  41. package/es/components/pisell-config-provider/index.js +3 -1
  42. package/es/components/pisellAdjustPrice/index.d.ts +0 -1
  43. package/es/components/pisellCardList/index.d.ts +43 -0
  44. package/es/components/pisellCheckboxGroup/index.d.ts +34 -0
  45. package/es/components/pisellEmpty/index.d.ts +19 -0
  46. package/es/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  47. package/es/components/pisellInformationEntry/index.d.ts +31 -0
  48. package/es/components/pisellInput/components/Copy/index.d.ts +0 -1
  49. package/es/components/pisellInput/index.d.ts +0 -1
  50. package/es/components/pisellText/components/Amount/index.js +1 -1
  51. package/es/components/pisellWalletPassCard/index.d.ts +55 -0
  52. package/es/components/productCard/components/Time/components/Like/index.js +16 -12
  53. package/es/components/productCard/components/Time/components/Like/index.less +25 -4
  54. package/es/components/productCard/components/Time/components/SelectHolder/index.js +54 -12
  55. package/es/components/productCard/components/Time/components/SelectHolder/index.less +28 -3
  56. package/es/components/productCard/components/Time/components/SelectResource/index.js +60 -12
  57. package/es/components/productCard/components/Time/components/SelectResource/index.less +20 -0
  58. package/es/components/productCard/components/Time/index.js +45 -22
  59. package/es/components/productCard/components/Time/index.less +1 -21
  60. package/es/components/productCard/index.js +4 -2
  61. package/es/components/productCard/locales.d.ts +9 -0
  62. package/es/components/productCard/locales.js +30 -3
  63. package/es/components/productCard/utils.js +43 -0
  64. package/es/components/qrcode/index.js +1 -1
  65. package/es/components/select-time/index.d.ts +0 -1
  66. package/es/components/sort/components/InlineMenu/index.js +1 -1
  67. package/es/components/table/Actions/component/ButtonIcon/index.js +5 -5
  68. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  69. package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
  70. package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
  71. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
  72. package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
  73. package/es/components/table/Actions/component/ExportImport/index.d.ts +7 -0
  74. package/es/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  75. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  76. package/es/components/table/Actions/component/Group/index.d.ts +0 -1
  77. package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  78. package/es/components/table/Actions/component/ViewMode/index.js +1 -1
  79. package/es/components/table/Actions/index.d.ts +0 -1
  80. package/es/components/table/BasicTable/index.d.ts +0 -1
  81. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
  82. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.js +5 -4
  83. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
  84. package/es/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
  85. package/es/components/table/Gallery/index.d.ts +5 -0
  86. package/es/components/table/Header/Buttons/index.js +5 -5
  87. package/es/components/table/Table/AddFieldModal/index.js +6 -6
  88. package/es/components/table/Table/SelectField/index.d.ts +0 -1
  89. package/es/components/table/Table/SelectField/index.js +4 -4
  90. package/es/components/table/Table/fields/date/Edit/index.js +1 -1
  91. package/es/components/table/Table/fields/date/index.d.ts +0 -1
  92. package/es/components/table/Table/fields/index.d.ts +0 -1
  93. package/es/components/table/Table/fields/link/Edit/index.js +5 -5
  94. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  95. package/es/components/table/Table/fields/rangePicker/filterUtil/index.js +1 -1
  96. package/es/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  97. package/es/components/table/Table/fields/search/filterUtil/index.js +1 -0
  98. package/es/components/table/Table/fields/select/index.d.ts +0 -1
  99. package/es/components/table/Table/fields/text/Show/index.js +4 -4
  100. package/es/components/table/Table/fields/text/filterUtil/index.js +1 -0
  101. package/es/components/table/Table/index.d.ts +4 -0
  102. package/es/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
  103. package/es/components/table/Table/tableConfig/SortRow/index.js +2 -2
  104. package/es/components/table/Table/tableConfig/body/CellContent/index.js +3 -3
  105. package/es/components/table/Table/tableConfig/body/CellProvider/index.js +8 -8
  106. package/es/components/table/Table/utils.d.ts +161 -0
  107. package/es/components/table/View/index.d.ts +0 -1
  108. package/es/components/table/hooks/useMergeColumnSetting.js +2 -1
  109. package/es/components/table/hooks/useTableSetting.d.ts +22 -0
  110. package/es/components/table/hooks/useTransDataSource.d.ts +11 -0
  111. package/es/components/table/hooks/useTransDataSourceGroupSetting.js +5 -5
  112. package/es/components/table/hooks/useTransFilterSetting.js +5 -5
  113. package/es/components/table/types.d.ts +251 -0
  114. package/es/components/translation/index.js +10 -10
  115. package/es/components/translation/utils.js +5 -5
  116. package/es/components/versionModal/index.d.ts +23 -0
  117. package/es/components/versionSelect/index.d.ts +0 -1
  118. package/es/hooks/useResponsive.js +2 -2
  119. package/es/locales/en-US.d.ts +266 -0
  120. package/es/locales/zh-CN.d.ts +261 -0
  121. package/es/locales/zh-TW.d.ts +261 -0
  122. package/es/utils/hoc.js +1 -1
  123. package/es/utils/miniRedux.js +9 -8
  124. package/lib/components/appVersionControl/index.d.ts +4 -0
  125. package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +0 -1
  126. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  127. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +38 -0
  128. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +97 -0
  129. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  130. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +78 -0
  131. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
  132. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -2
  133. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  134. package/lib/components/dataSourceComponents/fields/index.d.ts +6 -6
  135. package/lib/components/date-picker/datePickerCpt.d.ts +0 -1
  136. package/lib/components/date-picker/index.d.ts +0 -1
  137. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -1
  138. package/lib/components/drag-sort-tree/index.d.ts +4 -0
  139. package/lib/components/list/index.d.ts +0 -1
  140. package/lib/components/login-and-register/index.d.ts +82 -0
  141. package/lib/components/lowCodePage/index.js +2 -1
  142. package/lib/components/page/index.d.ts +0 -1
  143. package/lib/components/pisell-config-provider/index.js +3 -1
  144. package/lib/components/pisellAdjustPrice/index.d.ts +0 -1
  145. package/lib/components/pisellCardList/index.d.ts +43 -0
  146. package/lib/components/pisellCheckboxGroup/index.d.ts +34 -0
  147. package/lib/components/pisellEmpty/index.d.ts +19 -0
  148. package/lib/components/pisellInformationEntry/Scan/index.d.ts +0 -1
  149. package/lib/components/pisellInformationEntry/index.d.ts +31 -0
  150. package/lib/components/pisellInput/components/Copy/index.d.ts +0 -1
  151. package/lib/components/pisellInput/index.d.ts +0 -1
  152. package/lib/components/pisellText/components/Amount/index.js +2 -1
  153. package/lib/components/pisellWalletPassCard/index.d.ts +55 -0
  154. package/lib/components/productCard/components/Time/components/Like/index.js +21 -13
  155. package/lib/components/productCard/components/Time/components/Like/index.less +25 -4
  156. package/lib/components/productCard/components/Time/components/SelectHolder/index.js +90 -29
  157. package/lib/components/productCard/components/Time/components/SelectHolder/index.less +28 -3
  158. package/lib/components/productCard/components/Time/components/SelectResource/index.js +71 -12
  159. package/lib/components/productCard/components/Time/components/SelectResource/index.less +20 -0
  160. package/lib/components/productCard/components/Time/index.js +61 -27
  161. package/lib/components/productCard/components/Time/index.less +1 -21
  162. package/lib/components/productCard/index.js +4 -2
  163. package/lib/components/productCard/locales.d.ts +9 -0
  164. package/lib/components/productCard/locales.js +12 -3
  165. package/lib/components/productCard/utils.js +35 -0
  166. package/lib/components/select-time/index.d.ts +0 -1
  167. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  168. package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
  169. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
  170. package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
  171. package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
  172. package/lib/components/table/Actions/component/ExportImport/index.d.ts +7 -0
  173. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  174. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +0 -1
  175. package/lib/components/table/Actions/component/Group/index.d.ts +0 -1
  176. package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  177. package/lib/components/table/Actions/index.d.ts +0 -1
  178. package/lib/components/table/BasicTable/index.d.ts +0 -1
  179. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
  180. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
  181. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +14 -0
  182. package/lib/components/table/Gallery/index.d.ts +5 -0
  183. package/lib/components/table/Table/SelectField/index.d.ts +0 -1
  184. package/lib/components/table/Table/fields/date/filterUtil/index.js +6 -3
  185. package/lib/components/table/Table/fields/date/index.d.ts +0 -1
  186. package/lib/components/table/Table/fields/index.d.ts +0 -1
  187. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  188. package/lib/components/table/Table/fields/rangePicker/filterUtil/index.js +8 -4
  189. package/lib/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  190. package/lib/components/table/Table/fields/select/index.d.ts +0 -1
  191. package/lib/components/table/Table/fields/utils/index.js +2 -1
  192. package/lib/components/table/Table/index.d.ts +4 -0
  193. package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
  194. package/lib/components/table/Table/utils.d.ts +161 -0
  195. package/lib/components/table/View/index.d.ts +0 -1
  196. package/lib/components/table/hooks/useTableSetting.d.ts +22 -0
  197. package/lib/components/table/hooks/useTransDataSource.d.ts +11 -0
  198. package/lib/components/table/types.d.ts +251 -0
  199. package/lib/components/versionModal/index.d.ts +23 -0
  200. package/lib/components/versionSelect/index.d.ts +0 -1
  201. package/lib/hooks/useResponsive.js +6 -3
  202. package/lib/locales/en-US.d.ts +266 -0
  203. package/lib/locales/zh-CN.d.ts +261 -0
  204. package/lib/locales/zh-TW.d.ts +261 -0
  205. package/package.json +1 -1
  206. package/es/components/pisellCustomCheckboxGroup/index.d.ts +0 -16
  207. package/es/components/pisellText/components/Amount/index.d.ts +0 -20
  208. package/es/components/productCard/components/MultiDay/index.d.ts +0 -3
  209. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -2
  210. package/es/components/productCard/components/Time/components/Like/index.d.ts +0 -9
  211. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  212. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -2
  213. package/es/components/productCard/components/Time/index.d.ts +0 -3
  214. package/es/components/productCard/types.d.ts +0 -83
  215. package/es/components/tabs/index.d.ts +0 -16
  216. package/lib/components/pisellCustomCheckboxGroup/index.d.ts +0 -16
  217. package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
  218. package/lib/components/productCard/components/MultiDay/index.d.ts +0 -3
  219. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -2
  220. package/lib/components/productCard/components/Time/components/Like/index.d.ts +0 -9
  221. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  222. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -2
  223. package/lib/components/productCard/components/Time/index.d.ts +0 -3
  224. package/lib/components/productCard/types.d.ts +0 -83
  225. package/lib/components/tabs/index.d.ts +0 -16
@@ -0,0 +1,261 @@
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-redeem': string;
121
+ 'pisell-wallet-pass-card-balance': string;
122
+ 'pisell-wallet-pass-card-valid-to': string;
123
+ 'pisell-wallet-pass-card-expireDate': string;
124
+ 'pisell-adjust-price-price-override': string;
125
+ 'pisell-adjust-price-discount': string;
126
+ 'pisell-adjust-price-discount-amount': string;
127
+ 'pisell-adjust-price-discount-percentage': string;
128
+ 'pisell-adjust-price-total-after-discount': string;
129
+ 'pisell-adjust-price-discount-can-be-maximum': string;
130
+ 'pisell-discount-card-title': string;
131
+ 'pisell-discount-card-unit': string;
132
+ 'pisell-data-source-table-add': string;
133
+ 'pisell-data-source-table-edit': string;
134
+ 'pisell-data-source-table-detail': string;
135
+ 'pisell-data-source-table-delete': string;
136
+ 'pisell-record-view-available': string;
137
+ 'pisell-record-view-unavailable': string;
138
+ 'pisell-data-source-form-required-message': string;
139
+ 'pisell-data-source-form-email-message': string;
140
+ 'pisell-data-source-form-domain-message': string;
141
+ 'pisell-data-source-form-url-message': string;
142
+ 'pisell-data-source-form-phone-message': string;
143
+ 'pisell-data-source-form-min-length-message': (minLength: number) => string;
144
+ 'pisell-data-source-form-max-length-message': (maxLength: number) => string;
145
+ 'pisell-data-source-form-min-value-message': (minValue: number) => string;
146
+ 'pisell-data-source-form-max-value-message': (maxValue: number) => string;
147
+ 'pisell-data-source-form-mobile-message': string;
148
+ 'pisell-number-format-thousand': string;
149
+ 'pisell-number-format-million': string;
150
+ 'pisell-number-format-billion': string;
151
+ 'walletCard-done': string;
152
+ 'walletCard-qrcode': string;
153
+ 'walletCard-barcode': string;
154
+ 'pisell-upload-button': string;
155
+ 'pisell-upload-setting-size-error': (maxSize: number) => string;
156
+ 'pisell-upload-setting-type-error': (type: string) => string;
157
+ 'pisell-upload-count-error': (count: number) => string;
158
+ 'pisell-upload-error': (name: string) => string;
159
+ 'pisell-upload-multilingual-title': string;
160
+ 'pisell-upload-multilingual-item-title-original': string;
161
+ 'pisell-upload-multilingual-item-title-en': string;
162
+ 'pisell-upload-multilingual-item-title-zh-CN': string;
163
+ 'pisell-upload-multilingual-item-title-zh-HK': string;
164
+ 'pisell-color-picker-default': string;
165
+ 'pisell-action-get-data': string;
166
+ 'pisell-action-delete-success': string;
167
+ 'pisell-action-delete-failed': string;
168
+ 'walletCard-piont': string;
169
+ 'walletCard-rechargeable': string;
170
+ 'walletCard-voucher': string;
171
+ 'walletCard-discount': string;
172
+ 'pisellQrcode-done': string;
173
+ 'pisellQrcode-qrcode': string;
174
+ 'pisell-delete-confirm-title': string;
175
+ 'pisell-delete-confirm-content': string;
176
+ 'pisell-delete-confirm-ok': string;
177
+ 'pisell-delete-confirm-cancel': string;
178
+ 'pisell-design-mode-action-disabled': string;
179
+ 'pisell-translation-original': string;
180
+ 'pisell-version-modal-title': string;
181
+ 'pisell-version-modal-current-version': string;
182
+ 'pisell-version-modal-version': string;
183
+ 'pisell-version-modal-update-notes': string;
184
+ 'pisell-version-modal-patch': string;
185
+ 'pisell-version-modal-minor': string;
186
+ 'pisell-version-modal-major': string;
187
+ 'pisell-version-modal-custom': string;
188
+ 'pisell-version-modal-cancel': string;
189
+ 'pisell-version-modal-confirm': string;
190
+ 'pisell-version-modal-describe-update-notes': string;
191
+ 'pisell-version-modal-version-error': string;
192
+ 'pisell-version-modal-version-required': string;
193
+ 'pisell-version-modal-based-on-version': string;
194
+ 'subdomain-error-too-short': string;
195
+ 'subdomain-error-too-long': string;
196
+ 'subdomain-error-pattern': string;
197
+ 'subdomain-error-numbers-only': string;
198
+ 'subdomain-error-hyphen-ends': string;
199
+ 'subdomain-error-consecutive-hyphens': string;
200
+ 'pisell-icon-select-placeholder': string;
201
+ 'pisell-icon-select-outlined': string;
202
+ 'pisell-icon-select-filled': string;
203
+ 'pisell-icon-select-two-tone': string;
204
+ 'pisell-icon-select-iconfont': string;
205
+ 'pisell-icon-select-search': string;
206
+ 'pisell-icon-select-select': string;
207
+ 'pisell-lowcode-app-version-control-live': string;
208
+ 'pisell-lowcode-app-version-control-draft': string;
209
+ 'pisell-lowcode-app-version-control-deprecated': string;
210
+ 'pisell-lowcode-app-version-control-new-version': string;
211
+ 'pisell-lowcode-app-version-control-promote-to-live': string;
212
+ 'pisell-lowcode-app-version-control-promote-version': (version: string) => string;
213
+ 'pisell-lowcode-app-version-control-promote-version-describe': string;
214
+ 'pisell-lowcode-app-version-control-promote-version-ok': string;
215
+ 'pisell-lowcode-app-version-control-promote-version-cancel': string;
216
+ 'pisell-lowcode-app-version-control-version-exists': string;
217
+ 'pisell-lowcode-drop-sort-add': string;
218
+ 'pisell-lowcode-navigation-menu-add-sub-menu': string;
219
+ 'pisell-lowcode-navigation-menu-add-page': string;
220
+ 'pisell-lowcode-navigation-menu-add-page-tip': string;
221
+ 'pisell-lowcode-navigation-menu-tag-base': string;
222
+ 'pisell-lowcode-navigation-menu-tag-pisell1': string;
223
+ 'pisell-data-source-form-app-identifier-pattern': string;
224
+ 'pisell-data-source-form-app-identifier-start-with-letter': string;
225
+ 'pisell-data-source-form-app-identifier-special-ends': string;
226
+ 'pisell-data-source-form-app-identifier-consecutive-special': string;
227
+ "qrscanner-loading": string;
228
+ "qrscanner-success": string;
229
+ "qrscanner-success-qrcode": string;
230
+ "qrscanner-success-barcode": string;
231
+ "qrscanner-error-upload-image": string;
232
+ "qrscanner-error-load-failed": string;
233
+ "qrscanner-error-no-code": string;
234
+ "qrscanner-error-camera-init": string;
235
+ "qrscanner-error-process-image": string;
236
+ 'pisell-login-and-register-title': string;
237
+ 'pisell-login-and-register-subtitle': string;
238
+ 'pisell-login-and-register-email-label': string;
239
+ 'pisell-login-and-register-email-placeholder': string;
240
+ 'pisell-login-and-register-password-label': string;
241
+ 'pisell-login-and-register-password-placeholder': string;
242
+ 'pisell-login-and-register-email-error': string;
243
+ 'pisell-login-and-register-email-error-valid': string;
244
+ 'pisell-login-and-register-password-error': string;
245
+ 'pisell-login-and-register-login': string;
246
+ 'pisell-login-and-register-google': string;
247
+ 'pisell-login-and-register-facebook': string;
248
+ 'pisell-login-and-register-apple': string;
249
+ 'pisell-login-and-register-sign-up': string;
250
+ 'pisell-login-and-register-login-tab': string;
251
+ 'pisell-login-and-register-register-tab': string;
252
+ 'pisell-login-and-register-register-email-placeholder': string;
253
+ 'pisell-login-and-register-register-password-placeholder': string;
254
+ 'pisell-login-and-register-register-button-text': string;
255
+ 'pisell-login-and-register-remember-me': string;
256
+ 'pisell-login-and-register-forgot-password': string;
257
+ 'pisell2.text.goodpass.product-vouchers': string;
258
+ 'pisell2.text.goodpass.view-more': string;
259
+ 'pisell2.text.goodpass.save': string;
260
+ };
261
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "3.2.31",
3
+ "version": "3.3.0",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface PisellCustomCheckboxGroupProps {
4
- dataSource?: any[];
5
- disabled?: boolean;
6
- allowAdd?: boolean;
7
- isMultiple?: boolean;
8
- id?: string | string[];
9
- onClick?: (value: any) => void;
10
- onAdd?: () => void;
11
- renderAddItem?: (item: any) => React.ReactNode;
12
- [key: string]: any;
13
- className?: string;
14
- }
15
- declare const PisellCustomCheckboxGroup: React.FC<PisellCustomCheckboxGroupProps>;
16
- export default PisellCustomCheckboxGroup;
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- import { PisellContextType } from '../../../pisell-config-provider/context';
3
- export interface AmountProps extends React.HTMLAttributes<HTMLSpanElement> {
4
- /** 平台 */
5
- platform?: PisellContextType['platform'];
6
- /** 当前数值 */
7
- value?: number | string;
8
- /** 小数点后位数 默认是小数点后2位 */
9
- precision?: number;
10
- /** 显示货币符号 指的是 ¥$ 等货币符号等显隐,默认是展示 */
11
- showCurrencySymbol?: boolean;
12
- /** 千分位 指的是长金额的千分位逗号隔开,比如“123, 245, 315” 这种展现形式,默认是关闭 */
13
- useThousandsSeparator?: boolean;
14
- /** 整数位隐藏小数 指的是如果价格为整数,后面的".00" 将被省略以节省页面空间 */
15
- hideDecimalForWholeNumbers?: boolean;
16
- /** 货币符号 */
17
- symbol?: string;
18
- }
19
- declare const Amount: (props: AmountProps) => JSX.Element;
20
- export default Amount;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const MultiDay: ({ dataSource, hideDivider }: any) => JSX.Element;
3
- export default MultiDay;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const renderBundles: (item: any, hidePrice?: boolean, isShowPackageNote?: boolean) => JSX.Element;
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import './index.less';
3
- declare const Like: ({ status, onLike, className, style, }: {
4
- style?: any;
5
- status: string;
6
- onLike?: any;
7
- className?: string | undefined;
8
- }) => JSX.Element;
9
- export default Like;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const SelectHolder: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, }: any) => JSX.Element;
3
- export default SelectHolder;
@@ -1,2 +0,0 @@
1
- declare const SelectResource: ({ lists, value, onChange, ...props }: any) => JSX.Element;
2
- export default SelectResource;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Time: ({ item, isShowHolder, onLike, isShowChangeResource, changeResource, changeHolder, isShowChangeHolder, holderMode, onAddHolder, isShowAddHolderButton, }: any) => JSX.Element | null;
3
- export default Time;
@@ -1,83 +0,0 @@
1
- export declare type bundleType = {
2
- id: number;
3
- name: string;
4
- num: number;
5
- price: number;
6
- total: number;
7
- origin_total?: number;
8
- price_type?: string;
9
- options?: optionType[];
10
- };
11
- /**
12
- * @description:
13
- * @return {*}
14
- * @Author: WangHan
15
- * @Date: 2025-01-02 23:00
16
- */
17
- export declare type optionType = {
18
- id: number;
19
- name: string;
20
- num: number;
21
- price: number;
22
- total: number;
23
- origin_total?: number;
24
- };
25
- /**
26
- * @title: 商品商品类型
27
- * @description:
28
- * @return {*}
29
- * @Author: WangHan
30
- * @Date: 2025-01-02 22:48
31
- */
32
- export declare type productType = {
33
- _id: string | number;
34
- id: number;
35
- name: string;
36
- price: number;
37
- total: number;
38
- num: number;
39
- origin_total?: number;
40
- image?: string;
41
- isShowNote?: boolean;
42
- note?: string;
43
- like_status?: string;
44
- bundle?: bundleType[];
45
- options?: optionType[];
46
- isShowAction?: boolean;
47
- actionText?: string;
48
- errorMessage?: string;
49
- product_option_string?: string;
50
- discount_reason?: string;
51
- relation_products?: any[];
52
- resource_id?: string | number;
53
- relation_form_name?: string;
54
- holder_title?: string;
55
- start_date?: string;
56
- end_date?: string;
57
- is_show_duration?: boolean;
58
- is_show_week?: boolean;
59
- };
60
- /**
61
- * 排序总配置
62
- */
63
- export declare type ProductCardTypes = {
64
- dataSource: productType;
65
- isShowImage?: boolean;
66
- isShowHolder?: boolean;
67
- isShowNote?: boolean;
68
- isShowPackageNote?: boolean;
69
- isShowDelete?: boolean;
70
- disabledEdit?: boolean;
71
- locale?: string;
72
- symbol?: string;
73
- isShowChangeHolder?: boolean;
74
- isShowChangeResource?: boolean;
75
- isShowChangeDate?: boolean;
76
- onAction?: (val: any) => void;
77
- onDelete?: (val: any) => void;
78
- onNote?: (val: any) => void;
79
- onLike?: (val: any) => void;
80
- onCard?: (val: any) => void;
81
- onChangeResource?: (val: any) => void;
82
- [key: string]: any;
83
- };
@@ -1,16 +0,0 @@
1
- import { Component } from 'react';
2
- import { TabsProps } from 'antd';
3
- import './index.less';
4
- declare class Tabs extends Component<any> {
5
- state: {
6
- activeKey: any;
7
- };
8
- componentDidMount(): void;
9
- private _handleChange;
10
- setActiveKey: (key: string) => void;
11
- getActiveKey: () => any;
12
- renderIconLabelTabBar: TabsProps['renderTabBar'];
13
- filterHiddenTabs: (tabs: any[]) => any[];
14
- render(): JSX.Element;
15
- }
16
- export default Tabs;
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface PisellCustomCheckboxGroupProps {
4
- dataSource?: any[];
5
- disabled?: boolean;
6
- allowAdd?: boolean;
7
- isMultiple?: boolean;
8
- id?: string | string[];
9
- onClick?: (value: any) => void;
10
- onAdd?: () => void;
11
- renderAddItem?: (item: any) => React.ReactNode;
12
- [key: string]: any;
13
- className?: string;
14
- }
15
- declare const PisellCustomCheckboxGroup: React.FC<PisellCustomCheckboxGroupProps>;
16
- export default PisellCustomCheckboxGroup;
@@ -1,20 +0,0 @@
1
- import React from 'react';
2
- import { PisellContextType } from '../../../pisell-config-provider/context';
3
- export interface AmountProps extends React.HTMLAttributes<HTMLSpanElement> {
4
- /** 平台 */
5
- platform?: PisellContextType['platform'];
6
- /** 当前数值 */
7
- value?: number | string;
8
- /** 小数点后位数 默认是小数点后2位 */
9
- precision?: number;
10
- /** 显示货币符号 指的是 ¥$ 等货币符号等显隐,默认是展示 */
11
- showCurrencySymbol?: boolean;
12
- /** 千分位 指的是长金额的千分位逗号隔开,比如“123, 245, 315” 这种展现形式,默认是关闭 */
13
- useThousandsSeparator?: boolean;
14
- /** 整数位隐藏小数 指的是如果价格为整数,后面的".00" 将被省略以节省页面空间 */
15
- hideDecimalForWholeNumbers?: boolean;
16
- /** 货币符号 */
17
- symbol?: string;
18
- }
19
- declare const Amount: (props: AmountProps) => JSX.Element;
20
- export default Amount;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const MultiDay: ({ dataSource, hideDivider }: any) => JSX.Element;
3
- export default MultiDay;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const renderBundles: (item: any, hidePrice?: boolean, isShowPackageNote?: boolean) => JSX.Element;
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import './index.less';
3
- declare const Like: ({ status, onLike, className, style, }: {
4
- style?: any;
5
- status: string;
6
- onLike?: any;
7
- className?: string | undefined;
8
- }) => JSX.Element;
9
- export default Like;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const SelectHolder: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, }: any) => JSX.Element;
3
- export default SelectHolder;
@@ -1,2 +0,0 @@
1
- declare const SelectResource: ({ lists, value, onChange, ...props }: any) => JSX.Element;
2
- export default SelectResource;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Time: ({ item, isShowHolder, onLike, isShowChangeResource, changeResource, changeHolder, isShowChangeHolder, holderMode, onAddHolder, isShowAddHolderButton, }: any) => JSX.Element | null;
3
- export default Time;
@@ -1,83 +0,0 @@
1
- export declare type bundleType = {
2
- id: number;
3
- name: string;
4
- num: number;
5
- price: number;
6
- total: number;
7
- origin_total?: number;
8
- price_type?: string;
9
- options?: optionType[];
10
- };
11
- /**
12
- * @description:
13
- * @return {*}
14
- * @Author: WangHan
15
- * @Date: 2025-01-02 23:00
16
- */
17
- export declare type optionType = {
18
- id: number;
19
- name: string;
20
- num: number;
21
- price: number;
22
- total: number;
23
- origin_total?: number;
24
- };
25
- /**
26
- * @title: 商品商品类型
27
- * @description:
28
- * @return {*}
29
- * @Author: WangHan
30
- * @Date: 2025-01-02 22:48
31
- */
32
- export declare type productType = {
33
- _id: string | number;
34
- id: number;
35
- name: string;
36
- price: number;
37
- total: number;
38
- num: number;
39
- origin_total?: number;
40
- image?: string;
41
- isShowNote?: boolean;
42
- note?: string;
43
- like_status?: string;
44
- bundle?: bundleType[];
45
- options?: optionType[];
46
- isShowAction?: boolean;
47
- actionText?: string;
48
- errorMessage?: string;
49
- product_option_string?: string;
50
- discount_reason?: string;
51
- relation_products?: any[];
52
- resource_id?: string | number;
53
- relation_form_name?: string;
54
- holder_title?: string;
55
- start_date?: string;
56
- end_date?: string;
57
- is_show_duration?: boolean;
58
- is_show_week?: boolean;
59
- };
60
- /**
61
- * 排序总配置
62
- */
63
- export declare type ProductCardTypes = {
64
- dataSource: productType;
65
- isShowImage?: boolean;
66
- isShowHolder?: boolean;
67
- isShowNote?: boolean;
68
- isShowPackageNote?: boolean;
69
- isShowDelete?: boolean;
70
- disabledEdit?: boolean;
71
- locale?: string;
72
- symbol?: string;
73
- isShowChangeHolder?: boolean;
74
- isShowChangeResource?: boolean;
75
- isShowChangeDate?: boolean;
76
- onAction?: (val: any) => void;
77
- onDelete?: (val: any) => void;
78
- onNote?: (val: any) => void;
79
- onLike?: (val: any) => void;
80
- onCard?: (val: any) => void;
81
- onChangeResource?: (val: any) => void;
82
- [key: string]: any;
83
- };
@@ -1,16 +0,0 @@
1
- import { Component } from 'react';
2
- import { TabsProps } from 'antd';
3
- import './index.less';
4
- declare class Tabs extends Component<any> {
5
- state: {
6
- activeKey: any;
7
- };
8
- componentDidMount(): void;
9
- private _handleChange;
10
- setActiveKey: (key: string) => void;
11
- getActiveKey: () => any;
12
- renderIconLabelTabBar: TabsProps['renderTabBar'];
13
- filterHiddenTabs: (tabs: any[]) => any[];
14
- render(): JSX.Element;
15
- }
16
- export default Tabs;