@pisell/materials 3.3.42 → 3.3.44

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 (262) 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 +7 -7
  6. package/build/lowcode/preview.js +146 -146
  7. package/build/lowcode/render/default/view.js +19 -19
  8. package/build/lowcode/view.js +25 -25
  9. package/dist/umd/materials.min.css +1 -0
  10. package/dist/umd/materials.min.js +1 -0
  11. package/dist/umd/static/DotsSix.57d66266.svg +1 -0
  12. package/dist/umd/static/arrow-left.e542294f.svg +1 -0
  13. package/dist/umd/static/arrow-right.763f03e0.svg +1 -0
  14. package/dist/umd/static/filter-lines.04a54ae9.svg +1 -0
  15. package/dist/umd/static/help-circle.31c9be40.svg +1 -0
  16. package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +1 -0
  17. package/es/components/DragSortList/index.js +6 -6
  18. package/es/components/appVersionControl/index.d.ts +1 -0
  19. package/es/components/auto-complete-number/index.d.ts +1 -0
  20. package/es/components/badge/index.d.ts +1 -0
  21. package/es/components/batch-editor/fields/index.d.ts +1 -0
  22. package/es/components/batch-editor/index.d.ts +1 -0
  23. package/es/components/calendar/index.d.ts +1 -0
  24. package/es/components/cardPro/index.d.ts +1 -0
  25. package/es/components/checkbox/index.d.ts +1 -0
  26. package/es/components/classicLayout/index.d.ts +1 -0
  27. package/es/components/classicLayout/index.js +5 -4
  28. package/es/components/colorPicker/index.d.ts +1 -0
  29. package/es/components/config-provider/index.d.ts +1 -0
  30. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
  31. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  32. package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
  33. package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
  34. package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
  35. package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
  36. package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
  37. package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
  38. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  39. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
  40. package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
  41. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
  42. package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
  43. package/es/components/dataSourceComponents/fields/index.d.ts +2 -2
  44. package/es/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
  45. package/es/components/drag-sort-tree/index.d.ts +1 -0
  46. package/es/components/dropdown/index.d.ts +1 -0
  47. package/es/components/filter/components/items/index.d.ts +1 -0
  48. package/es/components/filter/components/items/text/Editor/index.d.ts +1 -0
  49. package/es/components/filter/components/items/text/Preview/index.d.ts +1 -0
  50. package/es/components/filter/components/items/text/index.d.ts +1 -0
  51. package/es/components/filter/index.d.ts +0 -1
  52. package/es/components/icon/index.js +5 -5
  53. package/es/components/list/index.js +6 -6
  54. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
  55. package/es/components/pisellAdjustPrice/index.d.ts +1 -0
  56. package/es/components/pisellCard/index.d.ts +1 -0
  57. package/es/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
  58. package/es/components/pisellDatePicker/index.d.ts +1 -0
  59. package/es/components/pisellInformationEntry/Scan/index.d.ts +1 -0
  60. package/es/components/pisellInput/components/BankCard/index.d.ts +1 -0
  61. package/es/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
  62. package/es/components/pisellTooltip/index.d.ts +1 -0
  63. package/es/components/pisellUpload/index.d.ts +1 -0
  64. package/es/components/pisellWalletPassCard/index.d.ts +1 -0
  65. package/es/components/productCard/components/Action/index.d.ts +1 -0
  66. package/es/components/productCard/components/Divider/index.d.ts +1 -0
  67. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +1 -0
  68. package/es/components/productCard/components/MultiDay/index.d.ts +0 -1
  69. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  70. package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  71. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  72. package/es/components/productCard/components/Time/components/Like/index.d.ts +1 -0
  73. package/es/components/productCard/components/Time/index.d.ts +1 -0
  74. package/es/components/qrcode/index.js +1 -1
  75. package/es/components/radio/index.d.ts +1 -0
  76. package/es/components/segmented/index.d.ts +1 -0
  77. package/es/components/select-time/RightPanel/index.d.ts +1 -0
  78. package/es/components/skeleton/index.d.ts +1 -0
  79. package/es/components/slider/index.d.ts +1 -0
  80. package/es/components/sort/components/InlineMenu/index.d.ts +1 -0
  81. package/es/components/sort/components/InlineMenu/index.js +1 -1
  82. package/es/components/table/Actions/component/ButtonIcon/index.js +5 -5
  83. package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
  84. package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
  85. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
  86. package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
  87. package/es/components/table/Actions/component/ExportImport/index.d.ts +1 -0
  88. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
  89. package/es/components/table/Actions/component/ViewMode/index.d.ts +1 -0
  90. package/es/components/table/Actions/component/ViewMode/index.js +1 -1
  91. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.js +5 -4
  92. package/es/components/table/Header/Buttons/index.js +5 -5
  93. package/es/components/table/Summary/index.d.ts +1 -0
  94. package/es/components/table/Table/AddFieldModal/index.js +6 -6
  95. package/es/components/table/Table/SelectField/index.js +4 -4
  96. package/es/components/table/Table/fields/date/Config/index.d.ts +1 -0
  97. package/es/components/table/Table/fields/date/Edit/index.js +1 -1
  98. package/es/components/table/Table/fields/date/Sort/index.d.ts +1 -0
  99. package/es/components/table/Table/fields/image/Config/index.d.ts +1 -0
  100. package/es/components/table/Table/fields/image/Sort/index.d.ts +1 -0
  101. package/es/components/table/Table/fields/link/Config/index.d.ts +1 -0
  102. package/es/components/table/Table/fields/link/Edit/index.js +5 -5
  103. package/es/components/table/Table/fields/link/Sort/index.d.ts +1 -0
  104. package/es/components/table/Table/fields/number/Config/index.d.ts +1 -0
  105. package/es/components/table/Table/fields/number/Sort/index.d.ts +1 -0
  106. package/es/components/table/Table/fields/numberRange/Config/index.d.ts +1 -0
  107. package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -0
  108. package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -0
  109. package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -0
  110. package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -0
  111. package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -0
  112. package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -0
  113. package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -0
  114. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -0
  115. package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -0
  116. package/es/components/table/Table/fields/rangePicker/filterUtil/index.js +1 -1
  117. package/es/components/table/Table/fields/search/Config/index.d.ts +1 -0
  118. package/es/components/table/Table/fields/search/Sort/index.d.ts +1 -0
  119. package/es/components/table/Table/fields/search/filterUtil/index.js +1 -0
  120. package/es/components/table/Table/fields/select/Config/index.d.ts +1 -0
  121. package/es/components/table/Table/fields/select/Show/index.d.ts +1 -0
  122. package/es/components/table/Table/fields/select/Sort/index.d.ts +1 -0
  123. package/es/components/table/Table/fields/text/Config/index.d.ts +1 -0
  124. package/es/components/table/Table/fields/text/Show/index.js +4 -4
  125. package/es/components/table/Table/fields/text/Sort/index.d.ts +1 -0
  126. package/es/components/table/Table/fields/text/filterUtil/index.js +1 -0
  127. package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -0
  128. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -0
  129. package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -0
  130. package/es/components/table/Table/tableConfig/SortRow/index.js +2 -2
  131. package/es/components/table/Table/tableConfig/body/CellContent/index.js +3 -3
  132. package/es/components/table/Table/tableConfig/body/CellProvider/index.js +8 -8
  133. package/es/components/table/Table/tableConfig/summary/index.d.ts +1 -0
  134. package/es/components/table/TableFilter/SortIcon.d.ts +1 -0
  135. package/es/components/table/hooks/useMergeColumnSetting.js +2 -1
  136. package/es/components/table/hooks/useTransDataSourceGroupSetting.js +5 -5
  137. package/es/components/table/hooks/useTransFilterSetting.js +5 -5
  138. package/es/components/time-picker/index.d.ts +1 -0
  139. package/es/components/translation/utils.js +5 -5
  140. package/es/components/upload/index.d.ts +1 -0
  141. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +1 -0
  142. package/es/components/virtual-keyboard/Number/index.d.ts +1 -0
  143. package/es/components/virtual-keyboard/Time/utils.d.ts +1 -0
  144. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +1 -0
  145. package/es/components/walletCard/Guest/index.d.ts +1 -0
  146. package/es/components/walletCard/Guide/index.d.ts +1 -0
  147. package/es/hooks/useResponsive.js +2 -2
  148. package/es/utils/hoc.js +1 -1
  149. package/es/utils/miniRedux.js +9 -8
  150. package/es/utils/platform.d.ts +1 -1
  151. package/lib/components/appVersionControl/index.d.ts +1 -0
  152. package/lib/components/auto-complete-number/index.d.ts +1 -0
  153. package/lib/components/badge/index.d.ts +1 -0
  154. package/lib/components/batch-editor/fields/index.d.ts +1 -0
  155. package/lib/components/batch-editor/index.d.ts +1 -0
  156. package/lib/components/calendar/index.d.ts +1 -0
  157. package/lib/components/cardPro/index.d.ts +1 -0
  158. package/lib/components/checkbox/index.d.ts +1 -0
  159. package/lib/components/classicLayout/index.d.ts +1 -0
  160. package/lib/components/colorPicker/index.d.ts +1 -0
  161. package/lib/components/config-provider/index.d.ts +1 -0
  162. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -0
  163. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +1 -0
  164. package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
  165. package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
  166. package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
  167. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
  168. package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
  169. package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
  170. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  171. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
  172. package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
  173. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
  174. package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
  175. package/lib/components/dataSourceComponents/fields/index.d.ts +2 -2
  176. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
  177. package/lib/components/drag-sort-tree/index.d.ts +1 -0
  178. package/lib/components/dropdown/index.d.ts +1 -0
  179. package/lib/components/filter/components/items/index.d.ts +1 -0
  180. package/lib/components/filter/components/items/text/Editor/index.d.ts +1 -0
  181. package/lib/components/filter/components/items/text/Preview/index.d.ts +1 -0
  182. package/lib/components/filter/components/items/text/index.d.ts +1 -0
  183. package/lib/components/filter/index.d.ts +0 -1
  184. package/lib/components/lowCodePage/index.js +2 -1
  185. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
  186. package/lib/components/pisellAdjustPrice/index.d.ts +1 -0
  187. package/lib/components/pisellCard/index.d.ts +1 -0
  188. package/lib/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
  189. package/lib/components/pisellDatePicker/index.d.ts +1 -0
  190. package/lib/components/pisellInformationEntry/Scan/index.d.ts +1 -0
  191. package/lib/components/pisellInput/components/BankCard/index.d.ts +1 -0
  192. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
  193. package/lib/components/pisellTooltip/index.d.ts +1 -0
  194. package/lib/components/pisellUpload/index.d.ts +1 -0
  195. package/lib/components/pisellWalletPassCard/index.d.ts +1 -0
  196. package/lib/components/productCard/components/Action/index.d.ts +1 -0
  197. package/lib/components/productCard/components/Divider/index.d.ts +1 -0
  198. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +1 -0
  199. package/lib/components/productCard/components/MultiDay/index.d.ts +0 -1
  200. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  201. package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  202. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  203. package/lib/components/productCard/components/Time/components/Like/index.d.ts +1 -0
  204. package/lib/components/productCard/components/Time/index.d.ts +1 -0
  205. package/lib/components/radio/index.d.ts +1 -0
  206. package/lib/components/segmented/index.d.ts +1 -0
  207. package/lib/components/select-time/RightPanel/index.d.ts +1 -0
  208. package/lib/components/skeleton/index.d.ts +1 -0
  209. package/lib/components/slider/index.d.ts +1 -0
  210. package/lib/components/sort/components/InlineMenu/index.d.ts +1 -0
  211. package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
  212. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
  213. package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
  214. package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
  215. package/lib/components/table/Actions/component/ExportImport/index.d.ts +1 -0
  216. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
  217. package/lib/components/table/Actions/component/ViewMode/index.d.ts +1 -0
  218. package/lib/components/table/Summary/index.d.ts +1 -0
  219. package/lib/components/table/Table/fields/date/Config/index.d.ts +1 -0
  220. package/lib/components/table/Table/fields/date/Sort/index.d.ts +1 -0
  221. package/lib/components/table/Table/fields/date/filterUtil/index.js +6 -3
  222. package/lib/components/table/Table/fields/image/Config/index.d.ts +1 -0
  223. package/lib/components/table/Table/fields/image/Sort/index.d.ts +1 -0
  224. package/lib/components/table/Table/fields/link/Config/index.d.ts +1 -0
  225. package/lib/components/table/Table/fields/link/Sort/index.d.ts +1 -0
  226. package/lib/components/table/Table/fields/number/Config/index.d.ts +1 -0
  227. package/lib/components/table/Table/fields/number/Sort/index.d.ts +1 -0
  228. package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +1 -0
  229. package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -0
  230. package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -0
  231. package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -0
  232. package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -0
  233. package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -0
  234. package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -0
  235. package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -0
  236. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -0
  237. package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -0
  238. package/lib/components/table/Table/fields/rangePicker/filterUtil/index.js +8 -4
  239. package/lib/components/table/Table/fields/search/Config/index.d.ts +1 -0
  240. package/lib/components/table/Table/fields/search/Sort/index.d.ts +1 -0
  241. package/lib/components/table/Table/fields/select/Config/index.d.ts +1 -0
  242. package/lib/components/table/Table/fields/select/Show/index.d.ts +1 -0
  243. package/lib/components/table/Table/fields/select/Sort/index.d.ts +1 -0
  244. package/lib/components/table/Table/fields/text/Config/index.d.ts +1 -0
  245. package/lib/components/table/Table/fields/text/Sort/index.d.ts +1 -0
  246. package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -0
  247. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -0
  248. package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -0
  249. package/lib/components/table/Table/fields/utils/index.js +2 -1
  250. package/lib/components/table/Table/tableConfig/summary/index.d.ts +1 -0
  251. package/lib/components/table/TableFilter/SortIcon.d.ts +1 -0
  252. package/lib/components/time-picker/index.d.ts +1 -0
  253. package/lib/components/upload/index.d.ts +1 -0
  254. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +1 -0
  255. package/lib/components/virtual-keyboard/Number/index.d.ts +1 -0
  256. package/lib/components/virtual-keyboard/Time/utils.d.ts +1 -0
  257. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +1 -0
  258. package/lib/components/walletCard/Guest/index.d.ts +1 -0
  259. package/lib/components/walletCard/Guide/index.d.ts +1 -0
  260. package/lib/hooks/useResponsive.js +6 -3
  261. package/lib/utils/platform.d.ts +1 -1
  262. package/package.json +4 -4
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  export interface PisellAdjustPriceProps {
3
4
  value?: number;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { CardProps } from 'antd';
2
3
  import './index.less';
3
4
  export interface PisellCardProps extends CardProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PickerDateProps } from 'antd/es/date-picker/generatePicker';
2
3
  import { Dayjs } from 'dayjs';
3
4
  import './detePickerCpt.less';
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const PisellDatePicker: (props: any) => JSX.Element;
2
3
  export default PisellDatePicker;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  export interface ScanProps {
3
4
  onChange: (val: string) => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from 'antd';
2
3
  import { PisellContextType } from "../../../pisell-config-provider/context";
3
4
  import './index.less';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from 'antd';
2
3
  import './index.less';
3
4
  import { PisellContextType } from "../../../pisell-config-provider/context";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TooltipPropsWithTitle } from 'antd/es/tooltip';
2
3
  import { PisellContextType } from "../pisell-config-provider/context";
3
4
  import './index.less';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { UploadProps } from 'antd';
2
3
  import './index.less';
3
4
  export interface PisellUploadProps extends UploadProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  export interface PisellWalletPassCardProps {
3
4
  id: number;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Action: ({ item, onAction }: any) => JSX.Element;
3
4
  export default Action;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Divider: ({ type }: any) => JSX.Element;
3
4
  export default Divider;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const DeleteButton: ({ onDelete }: any) => JSX.Element;
3
4
  export default DeleteButton;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const MultiDay: ({ dataSource, hideDivider }: any) => JSX.Element;
4
3
  export default MultiDay;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const renderBundles: (item: any, hidePrice?: boolean, isShowPackageNote?: boolean) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Options: ({ options, amountSymbol }: any) => JSX.Element | null;
4
3
  export default Options;
@@ -17,4 +17,4 @@ export declare const minusSign: (item: any, type?: string) => "" | "-";
17
17
  * @Author: WangHan
18
18
  * @Date: 2024-11-22 10:58
19
19
  */
20
- export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => string | number;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Like: ({ status, onLike, className, style, isShowChangeResource, }: {
3
4
  style?: any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Time: ({ item, isShowHolder, onLike, isShowChangeResource, changeResource, changeHolder, isShowChangeHolder, holderMode, onAddHolder, isShowAddHolderButton, onClearHolder, onClearResource, }: any) => JSX.Element | null;
3
4
  export default Time;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Radio: (props: any) => JSX.Element;
2
3
  export default Radio;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SegmentedProps } from "antd";
2
3
  import "./index.less";
3
4
  declare const Segmented: (props: SegmentedProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface RightPanelProps {
3
4
  value: string;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Skeleton: (props: any) => JSX.Element;
2
3
  export default Skeleton;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SliderOuter: (props: any) => JSX.Element;
2
3
  export default SliderOuter;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { MenuProps } from "antd";
2
3
  import "./index.less";
3
4
  interface InlineMenuProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ExportImportType } from '../../../../../types';
2
3
  import './index.less';
3
4
  declare const ExportFile: (props: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ExportImportType } from "../../../../../types";
2
3
  import "./index.less";
3
4
  declare const ExportTable: (props: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ExportImportType } from '../../../../../types';
2
3
  import './index.less';
3
4
  declare const ImportLog: (props: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ExportImportType } from '../../../../../types';
2
3
  import './index.less';
3
4
  declare type ImportTableProps = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ExportImportType } from '../../../types';
2
3
  import './index.less';
3
4
  declare type ExportImportProps = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './PopoverContent.less';
2
3
  declare type FieldType = string | number;
3
4
  export declare type GroupValue = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { GridViewType, ModeType } from "../../../types";
2
3
  declare type ViewModeProps = {
3
4
  view: GridViewType;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const Summary: ({ summary }: any) => JSX.Element | null;
3
4
  export default Summary;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -40,14 +40,17 @@ function filterUtil_default({
40
40
  key,
41
41
  item
42
42
  }) {
43
- if (!value) return true;
43
+ if (!value)
44
+ return true;
44
45
  const valueDayjsObj = (0, import_dayjs.default)(value);
45
46
  if (!valueDayjsObj.isValid()) {
46
47
  return true;
47
48
  }
48
49
  const dataValue = (0, import_utils2.getValueByKeys)(item, key);
49
- if ((0, import_utils.isUndefined)(dataValue)) return false;
50
+ if ((0, import_utils.isUndefined)(dataValue))
51
+ return false;
50
52
  const dataDayjsObj = (0, import_dayjs.default)(dataValue);
51
- if (!dataDayjsObj.isValid()) return false;
53
+ if (!dataDayjsObj.isValid())
54
+ return false;
52
55
  return dataDayjsObj.isSame(valueDayjsObj, "day");
53
56
  }
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -43,15 +43,19 @@ function filterUtil_default({
43
43
  key,
44
44
  item
45
45
  }) {
46
- if (!value) return true;
47
- if ((value == null ? void 0 : value.length) !== 2) return true;
46
+ if (!value)
47
+ return true;
48
+ if ((value == null ? void 0 : value.length) !== 2)
49
+ return true;
48
50
  const valueDayjsObj = value.map((item2) => (0, import_dayjs.default)(item2 || ""));
49
51
  if (valueDayjsObj.some((item2) => !item2.isValid())) {
50
52
  return true;
51
53
  }
52
54
  const dataValue = (0, import_utils2.getValueByKeys)(item, key);
53
- if ((0, import_utils.isUndefined)(dataValue)) return false;
55
+ if ((0, import_utils.isUndefined)(dataValue))
56
+ return false;
54
57
  const dataDayjsObj = (0, import_dayjs.default)(dataValue);
55
- if (!dataDayjsObj.isValid()) return false;
58
+ if (!dataDayjsObj.isValid())
59
+ return false;
56
60
  return isDateInRange(dataDayjsObj, valueDayjsObj);
57
61
  }
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -25,7 +25,8 @@ module.exports = __toCommonJS(utils_exports);
25
25
  var import_utils = require("@pisell/utils");
26
26
  var getValueByKeys = (obj, keys) => {
27
27
  var _a;
28
- if (!keys) return keys;
28
+ if (!keys)
29
+ return keys;
29
30
  if ((0, import_utils.isString)(keys)) {
30
31
  keys = [keys];
31
32
  }
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const summary: (props: any) => JSX.Element;
2
3
  export default summary;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  interface SortIconProps {
2
3
  sortOrder: null | "ascend" | "descend";
3
4
  }
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const TimePicker: (props: any) => JSX.Element;
2
3
  export default TimePicker;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Upload: (props: any) => JSX.Element;
2
3
  export default Upload;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./Presets.less";
2
3
  export declare type PresetsItem = {
3
4
  label: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface NumberProps {
2
3
  max?: number;
3
4
  min?: number;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const formatStringToTime: (value: string) => {
2
3
  valueArray: string[];
3
4
  valueString: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from 'antd';
2
3
  import './index.less';
3
4
  export interface VirtualKeyInputProps extends InputProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Guest: (props: any) => JSX.Element;
3
4
  export default Guest;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Guide: (props: any) => JSX.Element;
3
4
  export default Guide;
@@ -35,7 +35,8 @@ var responsiveConfig = {
35
35
  function handleResize() {
36
36
  const oldInfo = info;
37
37
  calculate();
38
- if (oldInfo === info) return;
38
+ if (oldInfo === info)
39
+ return;
39
40
  for (const subscriber of subscribers) {
40
41
  subscriber();
41
42
  }
@@ -57,7 +58,8 @@ function calculate() {
57
58
  }
58
59
  function configResponsive(config) {
59
60
  responsiveConfig = config;
60
- if (info) calculate();
61
+ if (info)
62
+ calculate();
61
63
  }
62
64
  function useResponsive() {
63
65
  if (import_utils.isBrowser && !listening) {
@@ -68,7 +70,8 @@ function useResponsive() {
68
70
  }
69
71
  const [state, setState] = (0, import_react.useState)(info);
70
72
  (0, import_react.useEffect)(() => {
71
- if (!import_utils.isBrowser) return;
73
+ if (!import_utils.isBrowser)
74
+ return;
72
75
  if (!listening) {
73
76
  window.addEventListener("resize", handleResize);
74
77
  }
@@ -1 +1 @@
1
- export declare const isMobile: () => any;
1
+ export declare const isMobile: () => boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "3.3.42",
3
+ "version": "3.3.44",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -71,9 +71,9 @@
71
71
  "swiper": "^8.4.7",
72
72
  "react-barcode": "^1.5.3",
73
73
  "vod-js-sdk-v6": "^1.4.11",
74
- "@pisell/date-picker": "3.0.4",
75
- "@pisell/utils": "3.0.0",
76
- "@pisell/icon": "0.0.11"
74
+ "@pisell/date-picker": "3.0.2",
75
+ "@pisell/icon": "0.0.11",
76
+ "@pisell/utils": "3.0.0"
77
77
  },
78
78
  "peerDependencies": {
79
79
  "react": "^18.0.0",