@pisell/materials 2.2.50 → 2.2.52

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 (281) 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 +6 -6
  6. package/build/lowcode/preview.js +18 -22
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +25 -26
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +25 -26
  11. package/es/components/DragSortList/index.js +6 -6
  12. package/es/components/MultipleContainersSortList/index.js +11 -13
  13. package/es/components/Pagination/index.js +1 -1
  14. package/es/components/appVersionControl/index.d.ts +0 -1
  15. package/es/components/batch-editor/index.js +12 -12
  16. package/es/components/classicLayout/index.js +4 -5
  17. package/es/components/colorPicker/index.d.ts +0 -1
  18. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
  19. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  20. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  21. package/es/components/dataSourceComponents/fields/index.d.ts +6 -6
  22. package/es/components/drag-sort-tree/TreeItem/index.js +10 -10
  23. package/es/components/drawer/index.js +6 -6
  24. package/es/components/filter/components/items/index.d.ts +0 -1
  25. package/es/components/filter/components/items/text/Editor/index.d.ts +0 -1
  26. package/es/components/filter/components/items/text/Preview/index.d.ts +0 -1
  27. package/es/components/filter/components/items/text/index.d.ts +0 -1
  28. package/es/components/filter/index.js +1 -1
  29. package/es/components/icon/index.js +5 -5
  30. package/es/components/input-number-range/index.js +6 -6
  31. package/es/components/list/index.js +6 -6
  32. package/es/components/pisell-config-provider/context.js +3 -3
  33. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.js +2 -2
  34. package/es/components/pisellAdjustPrice/index.js +6 -6
  35. package/es/components/pisellCheckboxGroup/index.js +9 -7
  36. package/es/components/pisellCountdown/index.js +8 -8
  37. package/es/components/pisellCountdown/utils.js +1 -1
  38. package/es/components/pisellDatePicker/datePickerCpt.js +4 -4
  39. package/es/components/pisellFloatingPanel/index.js +6 -6
  40. package/es/components/pisellInformationEntry/Input/index.js +1 -1
  41. package/es/components/pisellInformationEntry/Scan/index.js +2 -2
  42. package/es/components/pisellInformationEntry/hooks/useTerminalPeripherals.js +5 -5
  43. package/es/components/pisellInformationEntry/utils.js +2 -2
  44. package/es/components/pisellInput/components/BankCard/index.js +5 -5
  45. package/es/components/pisellInput/components/Copy/index.js +5 -5
  46. package/es/components/pisellInput/components/SecurityCode/index.js +2 -2
  47. package/es/components/pisellModal/components/PcModal/index.js +7 -7
  48. package/es/components/pisellModal/components/functions/index.js +5 -5
  49. package/es/components/pisellRow/index.js +5 -5
  50. package/es/components/pisellScan/index.js +6 -6
  51. package/es/components/pisellWalletPassCard/index.js +1 -1
  52. package/es/components/qrcode/index.js +1 -1
  53. package/es/components/select-time/index.js +2 -2
  54. package/es/components/sort/components/InlineMenu/index.js +1 -1
  55. package/es/components/table/Actions/component/ButtonIcon/index.js +5 -5
  56. package/es/components/table/Actions/component/ColumnsSetting/PopoverContent.js +7 -7
  57. package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
  58. package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.js +8 -8
  59. package/es/components/table/Actions/component/ExportImport/components/ExportTable/function.js +9 -9
  60. package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
  61. package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.js +1 -1
  62. package/es/components/table/Actions/component/ExportImport/components/ImportLog/Detail.js +5 -5
  63. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
  64. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.js +7 -7
  65. package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
  66. package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.js +7 -7
  67. package/es/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  68. package/es/components/table/Actions/component/Group/PopoverContent.js +2 -2
  69. package/es/components/table/Actions/component/Group/index.d.ts +0 -1
  70. package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  71. package/es/components/table/Actions/component/ViewMode/index.js +1 -1
  72. package/es/components/table/Actions/index.d.ts +0 -1
  73. package/es/components/table/BasicTable/index.d.ts +0 -1
  74. package/es/components/table/BasicTable/index.js +9 -9
  75. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
  76. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.js +4 -5
  77. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
  78. package/es/components/table/Gallery/components/VirtualGrid/index.js +5 -5
  79. package/es/components/table/Header/Buttons/index.js +5 -5
  80. package/es/components/table/Table/AddFieldModal/index.js +6 -6
  81. package/es/components/table/Table/SelectField/index.d.ts +0 -1
  82. package/es/components/table/Table/SelectField/index.js +4 -4
  83. package/es/components/table/Table/fields/date/Edit/index.js +1 -1
  84. package/es/components/table/Table/fields/link/Edit/index.js +5 -5
  85. package/es/components/table/Table/fields/oldRangePicker/Edit/index.js +7 -7
  86. package/es/components/table/Table/fields/oldRangePicker/filterUtil/index.js +1 -1
  87. package/es/components/table/Table/fields/rangePicker/Edit/index.js +7 -7
  88. package/es/components/table/Table/fields/rangePicker/filterUtil/index.js +1 -1
  89. package/es/components/table/Table/fields/search/Edit/index.js +2 -2
  90. package/es/components/table/Table/fields/search/filterUtil/index.js +0 -1
  91. package/es/components/table/Table/fields/text/Show/index.js +4 -4
  92. package/es/components/table/Table/fields/text/filterUtil/index.js +0 -1
  93. package/es/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
  94. package/es/components/table/Table/tableConfig/SortRow/index.js +2 -2
  95. package/es/components/table/Table/tableConfig/body/CellContent/index.js +3 -3
  96. package/es/components/table/Table/tableConfig/body/CellProvider/index.js +8 -8
  97. package/es/components/table/Table/tableConfig/body/index.js +6 -6
  98. package/es/components/table/Table/tableConfig/header/index.js +5 -5
  99. package/es/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  100. package/es/components/table/Table/utils.d.ts +1 -1
  101. package/es/components/table/View/index.d.ts +0 -1
  102. package/es/components/table/hooks/useMergeColumnSetting.js +1 -2
  103. package/es/components/table/hooks/useTransColumns.js +9 -9
  104. package/es/components/table/hooks/useTransDataSourceGroupSetting.js +5 -5
  105. package/es/components/table/hooks/useTransFilterSetting.js +5 -5
  106. package/es/components/table/hooks/useTransSortSetting.js +5 -5
  107. package/es/components/table/serve.js +9 -9
  108. package/es/components/translation/index.js +10 -10
  109. package/es/components/translation/utils.js +5 -5
  110. package/es/components/virtual-keyboard/Amount/index.js +1 -1
  111. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.js +3 -3
  112. package/es/components/virtual-keyboard/Keyboard/index.js +8 -8
  113. package/es/components/virtual-keyboard/Number/index.js +1 -1
  114. package/es/components/virtual-keyboard/VirtualInput/index.js +1 -1
  115. package/es/components/virtual-keyboard/VirtualKeyInput/index.js +4 -4
  116. package/es/components/walletCard/Guest/index.js +2 -3
  117. package/es/components/walletCard/index.js +25 -4
  118. package/es/components/walletCard/index.less +1 -2
  119. package/es/hooks/useCssVariables.js +1 -1
  120. package/es/hooks/useResponsive.js +2 -2
  121. package/es/locales/en-US.d.ts +1 -0
  122. package/es/locales/en-US.js +2 -1
  123. package/es/locales/zh-CN.d.ts +1 -0
  124. package/es/locales/zh-CN.js +3 -2
  125. package/es/locales/zh-TW.d.ts +1 -0
  126. package/es/locales/zh-TW.js +3 -2
  127. package/es/utils/hoc.js +1 -1
  128. package/es/utils/miniRedux.js +8 -9
  129. package/lib/components/appVersionControl/index.d.ts +0 -1
  130. package/lib/components/appVersionControl/utils.js +4 -8
  131. package/lib/components/buttonGroupEdit/index.js +7 -14
  132. package/lib/components/colorPicker/index.d.ts +0 -1
  133. package/lib/components/dataSourceComponents/dataSourceForm/utils.js +3 -6
  134. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useColumns.js +2 -4
  135. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDesignMode.js +1 -2
  136. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -1
  137. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useFormat.js +1 -2
  138. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  139. package/lib/components/dataSourceComponents/fields/DatePicker/ReadPretty.js +1 -2
  140. package/lib/components/dataSourceComponents/fields/Input.Mobile/ReadPretty.js +2 -4
  141. package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.js +1 -2
  142. package/lib/components/dataSourceComponents/fields/Input.Phone/ReadPretty.js +2 -4
  143. package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.js +1 -2
  144. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  145. package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.js +1 -2
  146. package/lib/components/dataSourceComponents/fields/InputNumber/WithMode.js +2 -4
  147. package/lib/components/dataSourceComponents/fields/InputNumber/utils.js +2 -4
  148. package/lib/components/dataSourceComponents/fields/TimePicker/WithMode.js +4 -8
  149. package/lib/components/dataSourceComponents/fields/Upload/BaseUpload.js +4 -8
  150. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.js +1 -2
  151. package/lib/components/dataSourceComponents/fields/Upload/shopUploadServe.js +1 -2
  152. package/lib/components/dataSourceComponents/fields/Upload/utils.js +11 -22
  153. package/lib/components/dataSourceComponents/fields/index.d.ts +6 -6
  154. package/lib/components/dataSourceComponents/hooks/useActions.js +3 -6
  155. package/lib/components/dataSourceComponents/hooks/useParseActionsVariable.js +1 -2
  156. package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.js +1 -2
  157. package/lib/components/dataSourceComponents/provider/variables/utils.js +2 -4
  158. package/lib/components/date-picker/datePickerCpt.js +1 -2
  159. package/lib/components/drag-sort-tree/TreeItem/index.js +1 -2
  160. package/lib/components/drag-sort-tree/index.js +1 -2
  161. package/lib/components/filter/components/items/index.d.ts +0 -1
  162. package/lib/components/filter/components/items/text/Editor/index.d.ts +0 -1
  163. package/lib/components/filter/components/items/text/Preview/index.d.ts +0 -1
  164. package/lib/components/filter/components/items/text/index.d.ts +0 -1
  165. package/lib/components/filter/index.js +1 -2
  166. package/lib/components/iconSelect/index.js +1 -2
  167. package/lib/components/iconSelect/utils.js +1 -2
  168. package/lib/components/lowCodePage/index.js +1 -2
  169. package/lib/components/pisell-config-provider/context.js +1 -1
  170. package/lib/components/pisellAnchor/index.js +5 -10
  171. package/lib/components/pisellCheckboxGroup/index.js +1 -2
  172. package/lib/components/pisellDatePicker/datePickerCpt.js +1 -2
  173. package/lib/components/pisellDraggable/index.js +3 -6
  174. package/lib/components/pisellQRScanner/index.js +9 -18
  175. package/lib/components/pisellWalletPassCard/index.js +1 -1
  176. package/lib/components/productCard/components/AmountFooter/index.js +1 -2
  177. package/lib/components/productCard/components/MultiDay/index.js +1 -2
  178. package/lib/components/productCard/utils.js +1 -2
  179. package/lib/components/profileMenu/index.js +1 -2
  180. package/lib/components/select/index.js +2 -4
  181. package/lib/components/table/Actions/component/ColumnsSetting/PopoverContent.js +1 -2
  182. package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +0 -1
  183. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +0 -1
  184. package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +0 -1
  185. package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +0 -1
  186. package/lib/components/table/Actions/component/ExportImport/index.js +1 -2
  187. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  188. package/lib/components/table/Actions/component/Group/index.d.ts +0 -1
  189. package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -1
  190. package/lib/components/table/Actions/index.d.ts +0 -1
  191. package/lib/components/table/BasicTable/index.d.ts +0 -1
  192. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
  193. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
  194. package/lib/components/table/Table/SelectField/index.d.ts +0 -1
  195. package/lib/components/table/Table/fields/date/filterUtil/index.js +3 -6
  196. package/lib/components/table/Table/fields/oldRangePicker/filterUtil/index.js +4 -8
  197. package/lib/components/table/Table/fields/rangePicker/filterUtil/index.js +4 -8
  198. package/lib/components/table/Table/fields/utils/index.js +1 -2
  199. package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +0 -1
  200. package/lib/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  201. package/lib/components/table/Table/utils.d.ts +1 -1
  202. package/lib/components/table/Table/utils.js +10 -17
  203. package/lib/components/table/View/index.d.ts +0 -1
  204. package/lib/components/table/hooks/useTransColumns.js +1 -2
  205. package/lib/components/versionModal/index.js +2 -4
  206. package/lib/components/versionSelect/index.js +6 -12
  207. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.js +2 -4
  208. package/lib/components/walletCard/Guest/index.js +6 -3
  209. package/lib/components/walletCard/index.js +25 -11
  210. package/lib/components/walletCard/index.less +1 -2
  211. package/lib/hooks/useCssVariables.js +1 -2
  212. package/lib/hooks/useResponsive.js +3 -6
  213. package/lib/locales/en-US.d.ts +1 -0
  214. package/lib/locales/en-US.js +2 -1
  215. package/lib/locales/zh-CN.d.ts +1 -0
  216. package/lib/locales/zh-CN.js +3 -2
  217. package/lib/locales/zh-TW.d.ts +1 -0
  218. package/lib/locales/zh-TW.js +3 -2
  219. package/package.json +3 -3
  220. package/es/components/TimeResourceSelector/index.d.ts +0 -21
  221. package/es/components/collapse/index.d.ts +0 -15
  222. package/es/components/pisellCard/index.d.ts +0 -20
  223. package/es/components/pisellCustomCheckboxGroup/index.d.ts +0 -16
  224. package/es/components/pisellDropdown/index.d.ts +0 -20
  225. package/es/components/pisellHeaderProgressBar/index.d.ts +0 -29
  226. package/es/components/pisellImageCarousels/index.d.ts +0 -18
  227. package/es/components/pisellSectionHeaders/index.d.ts +0 -21
  228. package/es/components/pisellText/components/Amount/index.d.ts +0 -20
  229. package/es/components/productCard/components/Action/index.d.ts +0 -4
  230. package/es/components/productCard/components/AmountFooter/index.d.ts +0 -4
  231. package/es/components/productCard/components/Divider/index.d.ts +0 -4
  232. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -4
  233. package/es/components/productCard/components/Header/index.d.ts +0 -4
  234. package/es/components/productCard/components/MultiDay/index.d.ts +0 -4
  235. package/es/components/productCard/components/MultiDay/utils.d.ts +0 -14
  236. package/es/components/productCard/components/Note/index.d.ts +0 -4
  237. package/es/components/productCard/components/Packages/components/collapsibleList/index.d.ts +0 -10
  238. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -2
  239. package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -4
  240. package/es/components/productCard/components/Packages/index.d.ts +0 -4
  241. package/es/components/productCard/components/Packages/utils.d.ts +0 -20
  242. package/es/components/productCard/components/Sales/index.d.ts +0 -4
  243. package/es/components/productCard/components/Time/components/Like/index.d.ts +0 -9
  244. package/es/components/productCard/components/Time/index.d.ts +0 -4
  245. package/es/components/productCard/status.d.ts +0 -32
  246. package/es/components/productCard/types.d.ts +0 -78
  247. package/es/components/section-footers/index.d.ts +0 -9
  248. package/es/components/table/Actions/component/ExportImport/utils/index.d.ts +0 -9
  249. package/es/components/walletCard/Guest/index.d.ts +0 -4
  250. package/es/components/walletCard/index.d.ts +0 -65
  251. package/lib/components/TimeResourceSelector/index.d.ts +0 -21
  252. package/lib/components/collapse/index.d.ts +0 -15
  253. package/lib/components/pisellCard/index.d.ts +0 -20
  254. package/lib/components/pisellCustomCheckboxGroup/index.d.ts +0 -16
  255. package/lib/components/pisellDropdown/index.d.ts +0 -20
  256. package/lib/components/pisellHeaderProgressBar/index.d.ts +0 -29
  257. package/lib/components/pisellImageCarousels/index.d.ts +0 -18
  258. package/lib/components/pisellSectionHeaders/index.d.ts +0 -21
  259. package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
  260. package/lib/components/productCard/components/Action/index.d.ts +0 -4
  261. package/lib/components/productCard/components/AmountFooter/index.d.ts +0 -4
  262. package/lib/components/productCard/components/Divider/index.d.ts +0 -4
  263. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -4
  264. package/lib/components/productCard/components/Header/index.d.ts +0 -4
  265. package/lib/components/productCard/components/MultiDay/index.d.ts +0 -4
  266. package/lib/components/productCard/components/MultiDay/utils.d.ts +0 -14
  267. package/lib/components/productCard/components/Note/index.d.ts +0 -4
  268. package/lib/components/productCard/components/Packages/components/collapsibleList/index.d.ts +0 -10
  269. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -2
  270. package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -4
  271. package/lib/components/productCard/components/Packages/index.d.ts +0 -4
  272. package/lib/components/productCard/components/Packages/utils.d.ts +0 -20
  273. package/lib/components/productCard/components/Sales/index.d.ts +0 -4
  274. package/lib/components/productCard/components/Time/components/Like/index.d.ts +0 -9
  275. package/lib/components/productCard/components/Time/index.d.ts +0 -4
  276. package/lib/components/productCard/status.d.ts +0 -32
  277. package/lib/components/productCard/types.d.ts +0 -78
  278. package/lib/components/section-footers/index.d.ts +0 -9
  279. package/lib/components/table/Actions/component/ExportImport/utils/index.d.ts +0 -9
  280. package/lib/components/walletCard/Guest/index.d.ts +0 -4
  281. package/lib/components/walletCard/index.d.ts +0 -65
@@ -91,8 +91,7 @@ var calcFilterSort = ({ dataSource, filter, sort, columns }) => {
91
91
  const newDataSource = dataSource.filter((item) => {
92
92
  return Object.keys(filter || {}).every((f) => {
93
93
  var _a, _b;
94
- if (!((_a = filter[f]) == null ? void 0 : _a.length))
95
- return true;
94
+ if (!((_a = filter[f]) == null ? void 0 : _a.length)) return true;
96
95
  const columnDetail = columnMap[f];
97
96
  if (((_b = columnDetail.filters) == null ? void 0 : _b.length) > 0) {
98
97
  return filterFnMap["filters"](
@@ -131,8 +130,7 @@ var calcFilterSort = ({ dataSource, filter, sort, columns }) => {
131
130
  return newDataSource;
132
131
  };
133
132
  var getColumnsFromLocalStorage = (tableId, currentViewMode) => {
134
- if (!tableId)
135
- return {};
133
+ if (!tableId) return {};
136
134
  const { column_setting } = getTableSettingByCurrentViewMode(tableId, currentViewMode) || {};
137
135
  const col = column_setting;
138
136
  if (col) {
@@ -152,11 +150,10 @@ var mergeColumnSetting = ({
152
150
  tableId,
153
151
  currentViewMode
154
152
  }) => {
155
- if (!tableId)
156
- return columns.map((item) => ({
157
- ...item,
158
- isShow: true
159
- }));
153
+ if (!tableId) return columns.map((item) => ({
154
+ ...item,
155
+ isShow: true
156
+ }));
160
157
  const colKeyMap = getColumnsFromLocalStorage(tableId, currentViewMode);
161
158
  const newColumns = columns.map((item, index) => {
162
159
  const col = colKeyMap[item.key];
@@ -250,8 +247,7 @@ var setTableSettingToLocalStorage = ({
250
247
  currentViewMode,
251
248
  currentSettingHash
252
249
  }) => {
253
- if (!tableId)
254
- return;
250
+ if (!tableId) return;
255
251
  const originData = localStorage.getItem(getTableKey(tableId));
256
252
  let newData = {};
257
253
  if (originData && (0, import_utils.isJson)(originData)) {
@@ -273,13 +269,11 @@ var setTableSettingToLocalStorage = ({
273
269
  localStorage.setItem(getTableKey(tableId), JSON.stringify(newData));
274
270
  };
275
271
  var clearTableSettingToLocalStorage = (tableId) => {
276
- if (!tableId)
277
- return;
272
+ if (!tableId) return;
278
273
  localStorage.removeItem(getTableKey(tableId));
279
274
  };
280
275
  var getTableSettingFromLocalStorage = (tableId) => {
281
- if (!tableId)
282
- return {};
276
+ if (!tableId) return {};
283
277
  const originData = localStorage.getItem(getTableKey(tableId));
284
278
  if (originData && (0, import_utils.isJson)(originData)) {
285
279
  return JSON.parse(originData);
@@ -301,8 +295,7 @@ var setFormValuesToLocalStorage = ({
301
295
  currentViewMode,
302
296
  currentSettingHash
303
297
  }) => {
304
- if (!tableId)
305
- return;
298
+ if (!tableId) return;
306
299
  let obj = {};
307
300
  keys == null ? void 0 : keys.forEach((key) => {
308
301
  obj[key] = allValues == null ? void 0 : allValues[key];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GridViewProps } from '../types';
3
2
  declare const View: (props: GridViewProps & {
4
3
  setTableSetting: (values: Record<string, any>) => void;
@@ -79,8 +79,7 @@ var useTransColumns = (params) => {
79
79
  const groupField = (_a = group == null ? void 0 : group[0]) == null ? void 0 : _a.field;
80
80
  const groupFieldRender = (0, import_react.useCallback)(
81
81
  (text, record) => {
82
- if (!groupField)
83
- return void 0;
82
+ if (!groupField) return void 0;
84
83
  const { children } = record;
85
84
  const fieldCol = columns.find(
86
85
  (item) => `${item.dataIndex}` === groupField
@@ -50,10 +50,8 @@ var parseVersion = (version) => {
50
50
  var isVersionValid = (customVersion, currentVersion) => {
51
51
  const [cMajor, cMinor, cPatch] = parseVersion(customVersion);
52
52
  const [liveMajor, liveMinor, livePatch] = parseVersion(currentVersion);
53
- if (cMajor > liveMajor)
54
- return true;
55
- if (cMajor === liveMajor && cMinor > liveMinor)
56
- return true;
53
+ if (cMajor > liveMajor) return true;
54
+ if (cMajor === liveMajor && cMinor > liveMinor) return true;
57
55
  if (cMajor === liveMajor && cMinor === liveMinor && cPatch > livePatch)
58
56
  return true;
59
57
  return false;
@@ -39,21 +39,15 @@ var import_pisellTags = __toESM(require("../pisellTags"));
39
39
  var import_locales = require("../../locales");
40
40
  var import_index = require("./index.less");
41
41
  var getStatusColor = (status) => {
42
- if (status === "live")
43
- return "success";
44
- if (status === "draft")
45
- return "gray";
46
- if (status === "deprecated")
47
- return "error";
42
+ if (status === "live") return "success";
43
+ if (status === "draft") return "gray";
44
+ if (status === "deprecated") return "error";
48
45
  return "gray";
49
46
  };
50
47
  var getStatusText = (status) => {
51
- if (status === "live")
52
- return (0, import_locales.getText)("pisell-lowcode-app-version-control-live");
53
- if (status === "draft")
54
- return (0, import_locales.getText)("pisell-lowcode-app-version-control-draft");
55
- if (status === "deprecated")
56
- return (0, import_locales.getText)("pisell-lowcode-app-version-control-deprecated");
48
+ if (status === "live") return (0, import_locales.getText)("pisell-lowcode-app-version-control-live");
49
+ if (status === "draft") return (0, import_locales.getText)("pisell-lowcode-app-version-control-draft");
50
+ if (status === "deprecated") return (0, import_locales.getText)("pisell-lowcode-app-version-control-deprecated");
57
51
  };
58
52
  var VersionSelect = (props) => {
59
53
  const { versions, value, onChange, ...rest } = props;
@@ -182,14 +182,12 @@ var BaseNumberKeyboard = (props) => {
182
182
  };
183
183
  const handleChangeValue = (val) => {
184
184
  const detail = checkValue(val);
185
- if (detail)
186
- return;
185
+ if (detail) return;
187
186
  setValue(val);
188
187
  };
189
188
  const actions = {
190
189
  ".": (val) => {
191
- if (value.includes("."))
192
- return;
190
+ if (value.includes(".")) return;
193
191
  actions.default(val);
194
192
  },
195
193
  delete: () => {
@@ -41,7 +41,6 @@ var Guest = (props) => {
41
41
  const { setting } = props;
42
42
  const context = (0, import_useEngineContext.default)();
43
43
  const { utils } = context.appHelper || {};
44
- console.log("%c [ utils ]-10", "font-size:13px; background:pink; color:#bf2c9f;", utils);
45
44
  const goLogin = () => {
46
45
  console.log(utils, "wh978796");
47
46
  utils == null ? void 0 : utils.action({
@@ -91,7 +90,10 @@ var Guest = (props) => {
91
90
  weight: 600
92
91
  })
93
92
  },
94
- ((_f = utils == null ? void 0 : utils.translation) == null ? void 0 : _f.call(utils, (setting == null ? void 0 : setting.title) || ((_e = setting == null ? void 0 : setting.titleConfig) == null ? void 0 : _e.text))) || ""
93
+ ((_f = utils == null ? void 0 : utils.translation) == null ? void 0 : _f.call(
94
+ utils,
95
+ (setting == null ? void 0 : setting.title) || ((_e = setting == null ? void 0 : setting.titleConfig) == null ? void 0 : _e.text)
96
+ )) || ""
95
97
  ), /* @__PURE__ */ import_react.default.createElement(
96
98
  "div",
97
99
  {
@@ -112,7 +114,8 @@ var Guest = (props) => {
112
114
  import_button.default,
113
115
  {
114
116
  style: {
115
- backgroundColor: (setting == null ? void 0 : setting.buttonColor) || "#7F56D9"
117
+ backgroundColor: (setting == null ? void 0 : setting.buttonColor) || "#7F56D9",
118
+ borderColor: (setting == null ? void 0 : setting.buttonBorderColor) || "#7F56D9"
116
119
  },
117
120
  onClick: goLogin
118
121
  },
@@ -84,12 +84,9 @@ var DEFAULT_PROPS = {
84
84
  ]
85
85
  };
86
86
  var toBooleanValue = (value) => {
87
- if (value === void 0)
88
- return false;
89
- if (value === 0 || value === "0")
90
- return false;
91
- if (value === 1 || value === "1")
92
- return true;
87
+ if (value === void 0) return false;
88
+ if (value === 0 || value === "0") return false;
89
+ if (value === 1 || value === "1") return true;
93
90
  return !!value;
94
91
  };
95
92
  var useCodeModal = (cardNo, onCodeClick) => {
@@ -160,7 +157,7 @@ var CardHeader = ({
160
157
  };
161
158
  var CardItem = ({ item, symbol }) => {
162
159
  const { key, label, value } = item;
163
- return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-item" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-item-label" }, (0, import_locales.getText)(`walletCard-${label}`) || ""), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-item-value" }, key === "rechargeable" || key === "piont" ? /* @__PURE__ */ import_react.default.createElement(
160
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-item" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-item-label" }, (0, import_locales.getText)(`walletCard-${label}`) || ""), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-item-value" }, key === "rechargeable" ? /* @__PURE__ */ import_react.default.createElement(
164
161
  import_Amount.default,
165
162
  {
166
163
  className: "pisell-card-amount-item-value",
@@ -173,11 +170,28 @@ var CardItem = ({ item, symbol }) => {
173
170
  ) : value));
174
171
  };
175
172
  var CardContent = ({ items, symbol }) => {
176
- return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-list" }, (items || []).map((item, index) => /* @__PURE__ */ import_react.default.createElement(CardItem, { key: index, item, symbol })));
173
+ const expectedOrder = ["piont", "balance", "discount", "voucher"];
174
+ const sortedItems = (0, import_react.useMemo)(() => {
175
+ if (!(items == null ? void 0 : items.length)) return [];
176
+ return [...items].sort((a, b) => {
177
+ const indexA = expectedOrder.indexOf(a.key);
178
+ const indexB = expectedOrder.indexOf(b.key);
179
+ return indexA - indexB;
180
+ });
181
+ }, [items]);
182
+ return /* @__PURE__ */ import_react.default.createElement(
183
+ "div",
184
+ {
185
+ className: "pisell-wallet-card-list",
186
+ style: {
187
+ justifyContent: (sortedItems || []).length > 1 ? "space-between" : "flex-start"
188
+ }
189
+ },
190
+ (sortedItems || []).map((item, index) => /* @__PURE__ */ import_react.default.createElement(CardItem, { key: index, item, symbol }))
191
+ );
177
192
  };
178
193
  var CodeDisplay = ({ codeType, cardNo }) => {
179
- if (!cardNo)
180
- return null;
194
+ if (!cardNo) return null;
181
195
  return /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-code" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-code-qrcode" }, codeType === "barCode" ? /* @__PURE__ */ import_react.default.createElement(import_react_barcode.default, { value: cardNo, displayValue: false, height: 114, width: 3 }) : /* @__PURE__ */ import_react.default.createElement(import_antd.QRCode, { size: 250, value: cardNo, bordered: false }), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-wallet-card-code-qrcode-value" }, cardNo)));
182
196
  };
183
197
  var blockEvent = (e) => {
@@ -281,7 +295,7 @@ var WalletCard = (props) => {
281
295
  style,
282
296
  onClick
283
297
  },
284
- /* @__PURE__ */ import_react.default.createElement(import_antd.Card, { bodyStyle: { padding: 0 } }, /* @__PURE__ */ import_react.default.createElement(
298
+ /* @__PURE__ */ import_react.default.createElement(import_antd.Card, { style: { border: "none" }, bodyStyle: { padding: 0 } }, /* @__PURE__ */ import_react.default.createElement(
285
299
  "div",
286
300
  {
287
301
  className: "pisell-wallet-card-container",
@@ -134,7 +134,6 @@
134
134
  height: 50px;
135
135
  box-sizing: border-box;
136
136
  display: flex;
137
- justify-content: space-around;
138
137
  align-items: center;
139
138
  flex-wrap: nowrap;
140
139
  overflow: hidden;
@@ -143,7 +142,7 @@
143
142
  // 列表项
144
143
  .pisell-wallet-card-item {
145
144
  text-align: center;
146
- flex: 1;
145
+ // flex: 1;
147
146
  min-width: 0;
148
147
 
149
148
  // 标签
@@ -26,8 +26,7 @@ var import_react = require("react");
26
26
  var useCssVariables = (props) => {
27
27
  const { variables, ref } = props;
28
28
  (0, import_react.useEffect)(() => {
29
- if (!ref)
30
- return;
29
+ if (!ref) return;
31
30
  Object.entries(variables).forEach(([key, value]) => {
32
31
  ref.current.style.setProperty(key, value);
33
32
  });
@@ -35,8 +35,7 @@ var responsiveConfig = {
35
35
  function handleResize() {
36
36
  const oldInfo = info;
37
37
  calculate();
38
- if (oldInfo === info)
39
- return;
38
+ if (oldInfo === info) return;
40
39
  for (const subscriber of subscribers) {
41
40
  subscriber();
42
41
  }
@@ -58,8 +57,7 @@ function calculate() {
58
57
  }
59
58
  function configResponsive(config) {
60
59
  responsiveConfig = config;
61
- if (info)
62
- calculate();
60
+ if (info) calculate();
63
61
  }
64
62
  function useResponsive() {
65
63
  if (import_utils.isBrowser && !listening) {
@@ -70,8 +68,7 @@ function useResponsive() {
70
68
  }
71
69
  const [state, setState] = (0, import_react.useState)(info);
72
70
  (0, import_react.useEffect)(() => {
73
- if (!import_utils.isBrowser)
74
- return;
71
+ if (!import_utils.isBrowser) return;
75
72
  if (!listening) {
76
73
  window.addEventListener("resize", handleResize);
77
74
  }
@@ -120,6 +120,7 @@ declare const _default: {
120
120
  'pisell-wallet-pass-card-redeem': string;
121
121
  'pisell-wallet-pass-card-balance': string;
122
122
  'pisell-wallet-pass-card-valid-to': string;
123
+ 'pisell-wallet-pass-card-expireDate': string;
123
124
  'pisell-adjust-price-price-override': string;
124
125
  'pisell-adjust-price-discount': string;
125
126
  'pisell-adjust-price-discount-amount': string;
@@ -152,6 +152,7 @@ var en_US_default = {
152
152
  "pisell-wallet-pass-card-redeem": "Redeem",
153
153
  "pisell-wallet-pass-card-balance": "Balance",
154
154
  "pisell-wallet-pass-card-valid-to": "Valid to",
155
+ "pisell-wallet-pass-card-expireDate": "Long term",
155
156
  // 金额修改组件
156
157
  "pisell-adjust-price-price-override": "Price override",
157
158
  "pisell-adjust-price-discount": "Discount",
@@ -206,7 +207,7 @@ var en_US_default = {
206
207
  "pisell-action-delete-success": "Deleted successfully",
207
208
  "pisell-action-delete-failed": "Delete failed, please try again",
208
209
  "walletCard-piont": "Points",
209
- "walletCard-rechargeable": "Recharge",
210
+ "walletCard-rechargeable": "Balance",
210
211
  "walletCard-voucher": "Voucher",
211
212
  "walletCard-discount": "Discount",
212
213
  //PisellQrcode组件
@@ -120,6 +120,7 @@ declare const _default: {
120
120
  'pisell-wallet-pass-card-redeem': string;
121
121
  'pisell-wallet-pass-card-balance': string;
122
122
  'pisell-wallet-pass-card-valid-to': string;
123
+ 'pisell-wallet-pass-card-expireDate': string;
123
124
  'pisell-adjust-price-price-override': string;
124
125
  'pisell-adjust-price-discount': string;
125
126
  'pisell-adjust-price-discount-amount': string;
@@ -152,6 +152,7 @@ var zh_CN_default = {
152
152
  "pisell-wallet-pass-card-redeem": "兑换",
153
153
  "pisell-wallet-pass-card-balance": "余额",
154
154
  "pisell-wallet-pass-card-valid-to": "有效期至",
155
+ "pisell-wallet-pass-card-expireDate": "长期",
155
156
  // 金额修改组件
156
157
  "pisell-adjust-price-price-override": "一口价",
157
158
  "pisell-adjust-price-discount": "折扣",
@@ -204,8 +205,8 @@ var zh_CN_default = {
204
205
  "pisell-action-get-data": "请先获取数据",
205
206
  "pisell-action-delete-success": "删除成功",
206
207
  "pisell-action-delete-failed": "删除失败,请重试",
207
- "walletCard-piont": "积分卡",
208
- "walletCard-rechargeable": "充值卡",
208
+ "walletCard-piont": "积分",
209
+ "walletCard-rechargeable": "余额",
209
210
  "walletCard-voucher": "代金券",
210
211
  "walletCard-discount": "折扣卡",
211
212
  //PisellQrcode组件
@@ -120,6 +120,7 @@ declare const _default: {
120
120
  'pisell-wallet-pass-card-redeem': string;
121
121
  'pisell-wallet-pass-card-balance': string;
122
122
  'pisell-wallet-pass-card-valid-to': string;
123
+ 'pisell-wallet-pass-card-expireDate': string;
123
124
  'pisell-adjust-price-price-override': string;
124
125
  'pisell-adjust-price-discount': string;
125
126
  'pisell-adjust-price-discount-amount': string;
@@ -152,6 +152,7 @@ var zh_TW_default = {
152
152
  "pisell-wallet-pass-card-redeem": "兌換",
153
153
  "pisell-wallet-pass-card-balance": "餘額",
154
154
  "pisell-wallet-pass-card-valid-to": "有效期至",
155
+ "pisell-wallet-pass-card-expireDate": "長期",
155
156
  // 金额修改组件
156
157
  "pisell-adjust-price-price-override": "一口價",
157
158
  "pisell-adjust-price-discount": "折扣",
@@ -204,8 +205,8 @@ var zh_TW_default = {
204
205
  "pisell-action-get-data": "請先獲取數據",
205
206
  "pisell-action-delete-success": "刪除成功",
206
207
  "pisell-action-delete-failed": "刪除失敗,請重試",
207
- "walletCard-piont": "積分卡",
208
- "walletCard-rechargeable": "充值卡",
208
+ "walletCard-piont": "積分",
209
+ "walletCard-rechargeable": "餘額",
209
210
  "walletCard-voucher": "代金券",
210
211
  "walletCard-discount": "折扣卡",
211
212
  //PisellQrcode组件
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "2.2.50",
3
+ "version": "2.2.52",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -72,8 +72,8 @@
72
72
  "react-barcode": "^1.5.3",
73
73
  "vod-js-sdk-v6": "^1.4.11",
74
74
  "@pisell/date-picker": "1.0.101",
75
- "@pisell/icon": "0.0.11",
76
- "@pisell/utils": "2.0.1"
75
+ "@pisell/utils": "2.0.1",
76
+ "@pisell/icon": "0.0.11"
77
77
  },
78
78
  "peerDependencies": {
79
79
  "react": "^18.0.0",
@@ -1,21 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface TimeSlot {
4
- value: string;
5
- label: string;
6
- time: string;
7
- remainingCount: number;
8
- disabled?: boolean;
9
- }
10
- export interface TimeResourceSelectorProps {
11
- timeSlots?: TimeSlot[];
12
- multiple?: boolean;
13
- showUnavailable?: boolean;
14
- defaultExpanded?: boolean;
15
- defaultSelectFirst?: boolean;
16
- onChange?: (values: string | string[]) => void;
17
- className?: string;
18
- style?: React.CSSProperties;
19
- }
20
- declare const TimeResourceSelector: React.FC<TimeResourceSelectorProps>;
21
- export default TimeResourceSelector;
@@ -1,15 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- interface CollapseProps {
4
- panelBackground?: string;
5
- panelMarginBottom?: string | 0;
6
- panelBorderRadius?: string | 0;
7
- items: any[];
8
- showHeader?: boolean;
9
- headerColor?: string | '#101828';
10
- headerFontSize?: string | 14;
11
- expandIcon?: any;
12
- [key: string]: any;
13
- }
14
- declare const Collapse: React.FC<CollapseProps>;
15
- export default Collapse;
@@ -1,20 +0,0 @@
1
- /// <reference types="react" />
2
- import { CardProps } from 'antd';
3
- import './index.less';
4
- export interface PisellCardProps extends CardProps {
5
- bordered?: boolean;
6
- selected?: boolean;
7
- loading?: boolean;
8
- padding?: number;
9
- borderRadius?: number;
10
- disabled?: boolean;
11
- onClick?: () => void;
12
- isClickable?: boolean;
13
- }
14
- /**
15
- * Pisell 卡片容器组件
16
- * @param props
17
- * @constructor
18
- */
19
- declare const PisellCard: (props: PisellCardProps) => JSX.Element;
20
- export default PisellCard;
@@ -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 './index.less';
3
- export interface MenuItemType {
4
- key: string;
5
- label: string;
6
- icon?: React.ReactNode;
7
- shortcut?: string;
8
- divider?: boolean;
9
- }
10
- export interface PisellDropdownProps {
11
- trigger?: React.ReactNode;
12
- items?: MenuItemType[];
13
- showShortcut?: boolean;
14
- triggerType?: ('click' | 'hover')[];
15
- className?: string;
16
- style?: React.CSSProperties;
17
- onSelect?: (key: string) => void;
18
- }
19
- declare const PisellDropdown: React.FC<PisellDropdownProps>;
20
- export default PisellDropdown;
@@ -1,29 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface PisellHeaderProgressBarProps {
4
- title?: React.ReactNode;
5
- stepText?: React.ReactNode;
6
- showClose?: boolean;
7
- /** 是否启用投影 */
8
- enableShadow?: boolean;
9
- /** 是否启用描边 */
10
- enableBorder?: boolean;
11
- /** 描边粗细 */
12
- borderWidth?: number;
13
- /** 描边颜色 */
14
- borderColor?: string;
15
- /** 头部背景颜色 */
16
- backgroundColor?: string;
17
- /** 自定义类名 */
18
- className?: string;
19
- /** 自定义样式 */
20
- style?: React.CSSProperties;
21
- /** 是否显示返回键 */
22
- showBack?: boolean;
23
- /** 返回按钮点击事件 */
24
- onBack?: () => void;
25
- /** 关闭按钮点击事件 */
26
- onClose?: () => void;
27
- }
28
- declare const PisellHeaderProgressBar: React.FC<PisellHeaderProgressBarProps>;
29
- export default PisellHeaderProgressBar;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import 'swiper/swiper-bundle.css';
3
- import './index.less';
4
- export interface PisellImageCarouselsProps {
5
- dataSource?: string[];
6
- width?: number | string;
7
- height?: number;
8
- showArrows?: boolean;
9
- showDots?: boolean;
10
- autoplay?: boolean;
11
- interval?: number;
12
- borderRadius?: number;
13
- loop?: boolean;
14
- className?: string;
15
- style?: React.CSSProperties;
16
- }
17
- declare const PisellImageCarousels: React.FC<PisellImageCarouselsProps>;
18
- export default PisellImageCarousels;
@@ -1,21 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface PisellSectionHeadersProps {
4
- /** 是否占据空间(true: 占据空间, false: 不占据空间) */
5
- /** 左侧返回区域 */
6
- backNode?: React.ReactNode;
7
- /** 中间内容区域 */
8
- centerNode?: React.ReactNode;
9
- /** 右侧操作区域 */
10
- actionNode?: React.ReactNode;
11
- /** 自定义类名 */
12
- className?: string;
13
- /** 自定义样式 */
14
- style?: React.CSSProperties;
15
- /** 返回按钮点击事件 */
16
- onBack?: () => void;
17
- /** 操作区域点击事件 */
18
- onAction?: () => void;
19
- }
20
- declare const PisellSectionHeaders: React.FC<PisellSectionHeadersProps>;
21
- export default PisellSectionHeaders;
@@ -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,4 +0,0 @@
1
- /// <reference types="react" />
2
- import './index.less';
3
- declare const Action: ({ item, onAction }: any) => JSX.Element;
4
- export default Action;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import './index.less';
3
- declare const Footer: ({ item, hideDivider, type, isOnlyTotal }: any) => JSX.Element;
4
- export default Footer;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import './index.less';
3
- declare const Divider: ({ type }: any) => JSX.Element;
4
- export default Divider;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import './index.less';
3
- declare const DeleteButton: ({ onDelete }: any) => JSX.Element;
4
- export default DeleteButton;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import './index.less';
3
- declare const Header: (props: any) => JSX.Element;
4
- export default Header;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import './index.less';
3
- declare const MultiDay: ({ dataSource, hideDivider }: any) => JSX.Element;
4
- export default MultiDay;