@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
@@ -26,8 +26,7 @@ __export(utils_exports, {
26
26
  });
27
27
  module.exports = __toCommonJS(utils_exports);
28
28
  var genComponentValueVariable = (componentId, value) => {
29
- if (!value || !componentId)
30
- return {};
29
+ if (!value || !componentId) return {};
31
30
  return {
32
31
  [componentId]: {
33
32
  value
@@ -35,8 +34,7 @@ var genComponentValueVariable = (componentId, value) => {
35
34
  };
36
35
  };
37
36
  var genComponentFunctionVariable = (componentId, value) => {
38
- if (!value || !componentId)
39
- return {};
37
+ if (!value || !componentId) return {};
40
38
  return {
41
39
  [componentId]: {
42
40
  functions: value
@@ -188,8 +188,7 @@ var DatePickerCpt = (props) => {
188
188
  }
189
189
  };
190
190
  const handleApply = () => {
191
- if (error)
192
- return;
191
+ if (error) return;
193
192
  handleOk();
194
193
  };
195
194
  const handleDataStrChange = (e) => {
@@ -75,8 +75,7 @@ var TreeItem = (props) => {
75
75
  const handleDragEnd = (event) => {
76
76
  var _a, _b, _c;
77
77
  const { active, over } = event;
78
- if (!over || !active || !lists.length)
79
- return;
78
+ if (!over || !active || !lists.length) return;
80
79
  try {
81
80
  let [activeParentId, activeId] = (_a = active == null ? void 0 : active.id) == null ? void 0 : _a.split("-");
82
81
  let [overParentId, overId] = (_b = over == null ? void 0 : over.id) == null ? void 0 : _b.split("-");
@@ -69,8 +69,7 @@ var DragSortTree = (props) => {
69
69
  const handleDragEnd = (event) => {
70
70
  var _a, _b, _c, _d;
71
71
  const { active, over } = event;
72
- if (!over || !active)
73
- return;
72
+ if (!over || !active) return;
74
73
  try {
75
74
  let activeId = (_b = (_a = active == null ? void 0 : active.id) == null ? void 0 : _a.split("-")) == null ? void 0 : _b[1];
76
75
  let overId = (_d = (_c = over == null ? void 0 : over.id) == null ? void 0 : _c.split("-")) == null ? void 0 : _d[1];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const fieldMaps: {
3
2
  text: {
4
3
  field: {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Text: () => JSX.Element;
3
2
  export default Text;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const Text: (props: any) => JSX.Element;
3
2
  export default Text;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  field: {
4
3
  field_icon: string;
@@ -68,8 +68,7 @@ var Filter = (props) => {
68
68
  quickFilterMaxLength
69
69
  }
70
70
  )) : null);
71
- if (!show)
72
- return null;
71
+ if (!show) return null;
73
72
  if (isRenderFormContent) {
74
73
  return /* @__PURE__ */ import_react.default.createElement(
75
74
  import_antd.Form,
@@ -49,8 +49,7 @@ var IconGroupNameMap = {
49
49
  var Icon = (props) => {
50
50
  const { type, icons = {}, ...rest } = props;
51
51
  const Comp = icons[type];
52
- if (!Comp)
53
- return null;
52
+ if (!Comp) return null;
54
53
  return /* @__PURE__ */ import_react.default.createElement(Comp, { ...rest });
55
54
  };
56
55
  var IconContent = ({
@@ -36,8 +36,7 @@ __export(utils_exports, {
36
36
  module.exports = __toCommonJS(utils_exports);
37
37
  var import_react = __toESM(require("react"));
38
38
  function get(obj, path, defaultValue) {
39
- if (!path)
40
- return defaultValue;
39
+ if (!path) return defaultValue;
41
40
  const keys = path.split(".");
42
41
  let result = obj;
43
42
  for (const key of keys) {
@@ -41,8 +41,7 @@ var LowCodePage = (props) => {
41
41
  const context = (0, import_useEngineContext.default)();
42
42
  const { RenderLowCodeByKey, getRenderLowCodeByKey } = ((_a = context.appHelper) == null ? void 0 : _a.utils) || {};
43
43
  const Com = (0, import_utils.isFunction)(getRenderLowCodeByKey) ? getRenderLowCodeByKey() : RenderLowCodeByKey;
44
- if (!Com)
45
- return /* @__PURE__ */ import_react.default.createElement("div", null, "RenderLowCodeByKey is not found");
44
+ if (!Com) return /* @__PURE__ */ import_react.default.createElement("div", null, "RenderLowCodeByKey is not found");
46
45
  return /* @__PURE__ */ import_react.default.createElement(Com, { ...others, id, key: id });
47
46
  };
48
47
  var lowCodePage_default = LowCodePage;
@@ -30,8 +30,8 @@ var initialContext = {
30
30
  };
31
31
  var PisellContext = (0, import_react.createContext)(initialContext);
32
32
  var GlobalConfig = class {
33
+ config = {};
33
34
  constructor() {
34
- this.config = {};
35
35
  }
36
36
  setConfig(config) {
37
37
  this.config = config;
@@ -80,10 +80,8 @@ var PisellAnchor = (0, import_react.forwardRef)((props, ref) => {
80
80
  );
81
81
  const { run: handleScrollThrottled } = (0, import_ahooks.useThrottleFn)(
82
82
  () => {
83
- if (isClickScrolling.current)
84
- return;
85
- if (!(containerRef == null ? void 0 : containerRef.current))
86
- return;
83
+ if (isClickScrolling.current) return;
84
+ if (!(containerRef == null ? void 0 : containerRef.current)) return;
87
85
  const container = containerRef.current;
88
86
  const headerHeight = 65;
89
87
  const containerRect = container.getBoundingClientRect();
@@ -126,8 +124,7 @@ var PisellAnchor = (0, import_react.forwardRef)((props, ref) => {
126
124
  { wait: 150 }
127
125
  );
128
126
  (0, import_react.useEffect)(() => {
129
- if (!(containerRef == null ? void 0 : containerRef.current))
130
- return;
127
+ if (!(containerRef == null ? void 0 : containerRef.current)) return;
131
128
  const handleScroll = () => {
132
129
  if (!isClickScrolling.current) {
133
130
  handleScrollThrottled();
@@ -155,8 +152,7 @@ var PisellAnchor = (0, import_react.forwardRef)((props, ref) => {
155
152
  isClickScrolling.current = true;
156
153
  clickedTabRef.current = item.id;
157
154
  requestAnimationFrame(() => {
158
- if (!(containerRef == null ? void 0 : containerRef.current))
159
- return;
155
+ if (!(containerRef == null ? void 0 : containerRef.current)) return;
160
156
  const htmlElement = element;
161
157
  const headerHeight = 65;
162
158
  const elementOffsetTop = htmlElement.offsetTop;
@@ -169,8 +165,7 @@ var PisellAnchor = (0, import_react.forwardRef)((props, ref) => {
169
165
  behavior: "smooth"
170
166
  });
171
167
  setTimeout(() => {
172
- if (!(containerRef == null ? void 0 : containerRef.current))
173
- return;
168
+ if (!(containerRef == null ? void 0 : containerRef.current)) return;
174
169
  containerRef.current.scrollTo({
175
170
  top: elementOffsetTop - headerHeight,
176
171
  behavior: "auto"
@@ -122,8 +122,7 @@ var PisellCheckboxGroup = (props) => {
122
122
  key: option[rowKey],
123
123
  gap: 10,
124
124
  onClick: () => {
125
- if (option.disabled)
126
- return;
125
+ if (option.disabled) return;
127
126
  handleSelectItem(option[rowKey], option);
128
127
  },
129
128
  leftContent: iconPosition === "left" && /* @__PURE__ */ import_react.default.createElement(
@@ -66,8 +66,7 @@ var DatePickerInput = (props) => {
66
66
  let lastIndex = 0;
67
67
  for (let i = 0; i < parts.length; i++) {
68
68
  const part = parts[i];
69
- if (!part)
70
- continue;
69
+ if (!part) continue;
71
70
  const separator = separators[i] || "";
72
71
  const expectedLength = part.length;
73
72
  lastIndex = lastIndex + part.length + separator.length;
@@ -155,13 +155,10 @@ function SortableTree({
155
155
  }, []);
156
156
  function checkSubtreeDepth(items2, itemId, baseDepth) {
157
157
  const item = items2.find((i) => i.id === itemId);
158
- if (!item)
159
- return false;
160
- if (baseDepth >= maxLevel)
161
- return true;
158
+ if (!item) return false;
159
+ if (baseDepth >= maxLevel) return true;
162
160
  const children = items2.filter((i) => i.parentId === itemId);
163
- if (baseDepth >= maxLevel - 1 && children.length > 0)
164
- return true;
161
+ if (baseDepth >= maxLevel - 1 && children.length > 0) return true;
165
162
  return children.some((child) => {
166
163
  const childNewDepth = baseDepth + 1;
167
164
  return childNewDepth >= maxLevel || checkSubtreeDepth(items2, child.id, childNewDepth);
@@ -88,8 +88,7 @@ var PisellQRScanner = ({
88
88
  };
89
89
  const handleFileChange = async (event) => {
90
90
  const files = event.target.files;
91
- if (!files || files.length === 0)
92
- return;
91
+ if (!files || files.length === 0) return;
93
92
  try {
94
93
  const file = files[0];
95
94
  if (!file.type.startsWith("image/")) {
@@ -130,8 +129,7 @@ var PisellQRScanner = ({
130
129
  greenCanvas.width = img.width;
131
130
  greenCanvas.height = img.height;
132
131
  const greenCtx = greenCanvas.getContext("2d");
133
- if (!greenCtx)
134
- throw new Error("无法创建画布上下文");
132
+ if (!greenCtx) throw new Error("无法创建画布上下文");
135
133
  greenCtx.drawImage(img, 0, 0);
136
134
  const imageData = greenCtx.getImageData(0, 0, greenCanvas.width, greenCanvas.height);
137
135
  const data = imageData.data;
@@ -174,8 +172,7 @@ var PisellQRScanner = ({
174
172
  wechatCanvas.width = img.width;
175
173
  wechatCanvas.height = img.height;
176
174
  const wechatCtx = wechatCanvas.getContext("2d");
177
- if (!wechatCtx)
178
- throw new Error("无法创建画布上下文");
175
+ if (!wechatCtx) throw new Error("无法创建画布上下文");
179
176
  wechatCtx.drawImage(img, 0, 0);
180
177
  const imageData = wechatCtx.getImageData(0, 0, wechatCanvas.width, wechatCanvas.height);
181
178
  const data = imageData.data;
@@ -218,8 +215,7 @@ var PisellQRScanner = ({
218
215
  greenOnlyCanvas.width = img.width;
219
216
  greenOnlyCanvas.height = img.height;
220
217
  const greenOnlyCtx = greenOnlyCanvas.getContext("2d");
221
- if (!greenOnlyCtx)
222
- throw new Error("无法创建画布上下文");
218
+ if (!greenOnlyCtx) throw new Error("无法创建画布上下文");
223
219
  greenOnlyCtx.drawImage(img, 0, 0);
224
220
  const imageData = greenOnlyCtx.getImageData(0, 0, greenOnlyCanvas.width, greenOnlyCanvas.height);
225
221
  const data = imageData.data;
@@ -250,8 +246,7 @@ var PisellQRScanner = ({
250
246
  adaptiveCanvas.width = img.width;
251
247
  adaptiveCanvas.height = img.height;
252
248
  const adaptiveCtx = adaptiveCanvas.getContext("2d");
253
- if (!adaptiveCtx)
254
- throw new Error("无法创建画布上下文");
249
+ if (!adaptiveCtx) throw new Error("无法创建画布上下文");
255
250
  adaptiveCtx.drawImage(img, 0, 0);
256
251
  const imageData = adaptiveCtx.getImageData(0, 0, adaptiveCanvas.width, adaptiveCanvas.height);
257
252
  const data = imageData.data;
@@ -294,8 +289,7 @@ var PisellQRScanner = ({
294
289
  sharpenCanvas.width = img.width;
295
290
  sharpenCanvas.height = img.height;
296
291
  const sharpenCtx = sharpenCanvas.getContext("2d");
297
- if (!sharpenCtx)
298
- throw new Error("无法创建画布上下文");
292
+ if (!sharpenCtx) throw new Error("无法创建画布上下文");
299
293
  sharpenCtx.drawImage(img, 0, 0);
300
294
  sharpenCtx.filter = "blur(1px)";
301
295
  sharpenCtx.drawImage(img, 0, 0);
@@ -325,8 +319,7 @@ var PisellQRScanner = ({
325
319
  invertCanvas.width = img.width;
326
320
  invertCanvas.height = img.height;
327
321
  const invertCtx = invertCanvas.getContext("2d");
328
- if (!invertCtx)
329
- throw new Error("无法创建画布上下文");
322
+ if (!invertCtx) throw new Error("无法创建画布上下文");
330
323
  invertCtx.drawImage(img, 0, 0);
331
324
  const imageData = invertCtx.getImageData(0, 0, invertCanvas.width, invertCanvas.height);
332
325
  const data = imageData.data;
@@ -358,8 +351,7 @@ var PisellQRScanner = ({
358
351
  hsvCanvas.width = img.width;
359
352
  hsvCanvas.height = img.height;
360
353
  const hsvCtx = hsvCanvas.getContext("2d");
361
- if (!hsvCtx)
362
- throw new Error("无法创建画布上下文");
354
+ if (!hsvCtx) throw new Error("无法创建画布上下文");
363
355
  hsvCtx.drawImage(img, 0, 0);
364
356
  const imageData = hsvCtx.getImageData(0, 0, hsvCanvas.width, hsvCanvas.height);
365
357
  const data = imageData.data;
@@ -585,8 +577,7 @@ var PisellQRScanner = ({
585
577
  }
586
578
  };
587
579
  }, []);
588
- if (!visible)
589
- return null;
580
+ if (!visible) return null;
590
581
  return (0, import_react_dom.createPortal)(
591
582
  /* @__PURE__ */ import_react.default.createElement(
592
583
  "div",
@@ -106,7 +106,7 @@ var PisellWalletPassCard = (props) => {
106
106
  showCurrencySymbol: showBalanceSymbol
107
107
  }
108
108
  )), showDiscount && /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-amount-item" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-amount-item-label" }, (0, import_locales.getText)("pisell-discount-card-title")), /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-amount-item-value" }, discount, "% ", (0, import_locales.getText)("pisell-discount-card-unit")))),
109
- /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-code-wrap" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-code" }, showCode && /* @__PURE__ */ import_react.default.createElement("div", null, code), showValidDate && /* @__PURE__ */ import_react.default.createElement("div", null, (0, import_locales.getText)("pisell-wallet-pass-card-valid-to"), " ", !!validDate ? validDate : "长期")), showQrCode && /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-qr-code" }, /* @__PURE__ */ import_react.default.createElement(import_pisellQrcode.default, { value: qrCode, size: 60 }))),
109
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-code-wrap" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-code" }, showCode && /* @__PURE__ */ import_react.default.createElement("div", null, code), showValidDate && /* @__PURE__ */ import_react.default.createElement("div", null, (0, import_locales.getText)("pisell-wallet-pass-card-valid-to"), " ", !!validDate ? validDate : (0, import_locales.getText)("pisell-wallet-pass-card-expireDate"))), showQrCode && /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-qr-code" }, /* @__PURE__ */ import_react.default.createElement(import_pisellQrcode.default, { value: qrCode, size: 60 }))),
110
110
  (disabled || disabledReason) && showDisabledReason && /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-card-warn-message" }, /* @__PURE__ */ import_react.default.createElement(import_iconfont.default, { className: "pisell-card-icon", type: "pisell2-alert-circle" }), /* @__PURE__ */ import_react.default.createElement("span", null, disabledReason))
111
111
  );
112
112
  };
@@ -44,8 +44,7 @@ var prefix = "pisell-lowcode-";
44
44
  var Footer = ({ item, hideDivider, type, isOnlyTotal }) => {
45
45
  const { total, origin_total, symbol, tip, num, discount_reason } = item;
46
46
  const isDiscount = (0, import_react.useMemo)(() => {
47
- if (!origin_total)
48
- return false;
47
+ if (!origin_total) return false;
49
48
  return Number(total) != Number(origin_total);
50
49
  }, [total, origin_total]);
51
50
  return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, !hideDivider ? /* @__PURE__ */ import_react.default.createElement(import_Divider.default, { type: type !== "total" ? "inside" : "" }) : null, /* @__PURE__ */ import_react.default.createElement(
@@ -48,8 +48,7 @@ var MultiDay = ({ dataSource, hideDivider }) => {
48
48
  const context = (0, import_useEngineContext.default)();
49
49
  translationOriginal = (_b = (_a = context == null ? void 0 : context.appHelper) == null ? void 0 : _a.utils) == null ? void 0 : _b.translationOriginal;
50
50
  const lists = (0, import_react.useMemo)(() => {
51
- if (!(items == null ? void 0 : items.length))
52
- return [];
51
+ if (!(items == null ? void 0 : items.length)) return [];
53
52
  return (0, import_utils2.formatDateRanges)(items);
54
53
  }, [items]);
55
54
  return /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)(`${prefix}multi-day-wrap`) }, lists == null ? void 0 : lists.map((m, index) => {
@@ -61,8 +61,7 @@ var formatMultiDayDate = (item) => {
61
61
  };
62
62
  var getServiceTime = (item, currentDate) => {
63
63
  var _a, _b, _c, _d;
64
- if (!(0, import_dayjs.default)(currentDate).isValid())
65
- return "";
64
+ if (!(0, import_dayjs.default)(currentDate).isValid()) return "";
66
65
  const context = (0, import_useEngineContext.default)();
67
66
  const utils = context.appHelper.utils || {};
68
67
  const locale = (item == null ? void 0 : item.locale) || ((_a = utils == null ? void 0 : utils.storage) == null ? void 0 : _a.get("umi_locale")) || "en-US";
@@ -73,8 +73,7 @@ var ProfileMenu = ({
73
73
  }
74
74
  );
75
75
  const finalMenuItems = (0, import_react.useMemo)(() => {
76
- if (!isShowUserInfo)
77
- return menuItems;
76
+ if (!isShowUserInfo) return menuItems;
78
77
  const userInfoItem = {
79
78
  key: "user-info",
80
79
  label: /* @__PURE__ */ import_react.default.createElement("div", { className: "profile-menu-user-info-item" }, renderAvatar(avatar), /* @__PURE__ */ import_react.default.createElement("div", { className: "profile-menu-user-info" }, userName && /* @__PURE__ */ import_react.default.createElement("p", { className: "profile-menu-user-info-name" }, userName), email && /* @__PURE__ */ import_react.default.createElement("p", { className: "profile-menu-user-info-email" }, email)))
@@ -61,8 +61,7 @@ var SelectBase = (0, import_react.forwardRef)((props, ref) => {
61
61
  const [state, setState] = (0, import_ahooks.useControllableValue)(props);
62
62
  const [searchValue, setSearchValue] = (0, import_react.useState)("");
63
63
  const filteredOptions = (0, import_react.useMemo)(() => {
64
- if (!searchValue)
65
- return options;
64
+ if (!searchValue) return options;
66
65
  return (options || []).filter(
67
66
  (option) => {
68
67
  var _a;
@@ -99,8 +98,7 @@ var SelectBase = (0, import_react.forwardRef)((props, ref) => {
99
98
  }, [mode, selectAll, isShowDropdown]);
100
99
  const checkboxChecked = (0, import_react.useMemo)(() => {
101
100
  var _a, _b, _c;
102
- if (mode !== "multiple")
103
- return false;
101
+ if (mode !== "multiple") return false;
104
102
  return (state == null ? void 0 : state.length) === (filteredOptions == null ? void 0 : filteredOptions.length) && ((_a = state == null ? void 0 : state.sort()) == null ? void 0 : _a.join("")) === ((_c = (_b = filteredOptions == null ? void 0 : filteredOptions.map((item) => item.value)) == null ? void 0 : _b.sort()) == null ? void 0 : _c.join(""));
105
103
  }, [state, filteredOptions]);
106
104
  const dropdownRender = (0, import_react.useCallback)(
@@ -92,8 +92,7 @@ var PopoverContent = (props) => {
92
92
  return `${item.key}-${(_a = item.dataIndex) == null ? void 0 : _a.toString()}`;
93
93
  },
94
94
  onChange: (list) => {
95
- if (!(0, import_utils.isFixedOrderValid)(list))
96
- return;
95
+ if (!(0, import_utils.isFixedOrderValid)(list)) return;
97
96
  onChange == null ? void 0 : onChange(
98
97
  list.map((item, index) => ({
99
98
  ...item,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from '../../../../../types';
3
2
  import './index.less';
4
3
  declare const ExportFile: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from "../../../../../types";
3
2
  import "./index.less";
4
3
  declare const ExportTable: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from '../../../../../types';
3
2
  import './index.less';
4
3
  declare const ImportLog: (props: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ExportImportType } from '../../../../../types';
3
2
  import './index.less';
4
3
  declare type ImportTableProps = {
@@ -97,8 +97,7 @@ var ExportImport = ({ exportImport }) => {
97
97
  return types.includes(value) ? 900 : import_status.defaultOptions.importValue ? 600 : 400;
98
98
  }, [value]);
99
99
  const _title = (0, import_react.useMemo)(() => {
100
- if (!value)
101
- return null;
100
+ if (!value) return null;
102
101
  const types = import_status.defaultOptions.okShowButtonTypes;
103
102
  const lang = (0, import_locale.getCurrentLocale)();
104
103
  const isEn = lang === "en-US" || lang === "en";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GallerySettingType, ModeType } from "../../../types";
3
2
  import "./index.less";
4
3
  declare type GallerySettingProps = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataSourceGroupType } from "../../../types";
3
2
  declare type GroupProps = {
4
3
  setting: DataSourceGroupType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GridViewType, ModeType } from "../../../types";
3
2
  declare type ViewModeProps = {
4
3
  view: GridViewType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FilterType } from "../../filter/types";
3
2
  import { ColumnSettingType, DataSourceGroupType, ExportImportType, GallerySettingType, GridViewType, SortType } from "../types";
4
3
  import "./index.less";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { TableProps } from 'antd';
3
2
  declare const BasicTable: (props: TableProps<any>) => JSX.Element;
4
3
  export default BasicTable;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GallerySettingType, GallerySettingValueType } from "../../../../../types";
3
2
  declare type CoverProps = {
4
3
  cover?: GallerySettingType["cover"];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GallerySettingType } from "../../../../../types";
3
2
  import "./index.less";
4
3
  declare type TitleProps = GallerySettingType["title"] & {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectField: () => JSX.Element;
3
2
  export default SelectField;
@@ -40,17 +40,14 @@ function filterUtil_default({
40
40
  key,
41
41
  item
42
42
  }) {
43
- if (!value)
44
- return true;
43
+ if (!value) return true;
45
44
  const valueDayjsObj = (0, import_dayjs.default)(value);
46
45
  if (!valueDayjsObj.isValid()) {
47
46
  return true;
48
47
  }
49
48
  const dataValue = (0, import_utils2.getValueByKeys)(item, key);
50
- if ((0, import_utils.isUndefined)(dataValue))
51
- return false;
49
+ if ((0, import_utils.isUndefined)(dataValue)) return false;
52
50
  const dataDayjsObj = (0, import_dayjs.default)(dataValue);
53
- if (!dataDayjsObj.isValid())
54
- return false;
51
+ if (!dataDayjsObj.isValid()) return false;
55
52
  return dataDayjsObj.isSame(valueDayjsObj, "day");
56
53
  }
@@ -43,19 +43,15 @@ function filterUtil_default({
43
43
  key,
44
44
  item
45
45
  }) {
46
- if (!value)
47
- return true;
48
- if ((value == null ? void 0 : value.length) !== 2)
49
- return true;
46
+ if (!value) return true;
47
+ if ((value == null ? void 0 : value.length) !== 2) return true;
50
48
  const valueDayjsObj = value.map((item2) => (0, import_dayjs.default)(item2 || ""));
51
49
  if (valueDayjsObj.some((item2) => !item2.isValid())) {
52
50
  return true;
53
51
  }
54
52
  const dataValue = (0, import_utils2.getValueByKeys)(item, key);
55
- if ((0, import_utils.isUndefined)(dataValue))
56
- return false;
53
+ if ((0, import_utils.isUndefined)(dataValue)) return false;
57
54
  const dataDayjsObj = (0, import_dayjs.default)(dataValue);
58
- if (!dataDayjsObj.isValid())
59
- return false;
55
+ if (!dataDayjsObj.isValid()) return false;
60
56
  return isDateInRange(dataDayjsObj, valueDayjsObj);
61
57
  }
@@ -43,19 +43,15 @@ function filterUtil_default({
43
43
  key,
44
44
  item
45
45
  }) {
46
- if (!value)
47
- return true;
48
- if ((value == null ? void 0 : value.length) !== 2)
49
- return true;
46
+ if (!value) return true;
47
+ if ((value == null ? void 0 : value.length) !== 2) return true;
50
48
  const valueDayjsObj = value.map((item2) => (0, import_dayjs.default)(item2 || ""));
51
49
  if (valueDayjsObj.some((item2) => !item2.isValid())) {
52
50
  return true;
53
51
  }
54
52
  const dataValue = (0, import_utils2.getValueByKeys)(item, key);
55
- if ((0, import_utils.isUndefined)(dataValue))
56
- return false;
53
+ if ((0, import_utils.isUndefined)(dataValue)) return false;
57
54
  const dataDayjsObj = (0, import_dayjs.default)(dataValue);
58
- if (!dataDayjsObj.isValid())
59
- return false;
55
+ if (!dataDayjsObj.isValid()) return false;
60
56
  return isDateInRange(dataDayjsObj, valueDayjsObj);
61
57
  }
@@ -25,8 +25,7 @@ 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)
29
- return keys;
28
+ if (!keys) return keys;
30
29
  if ((0, import_utils.isString)(keys)) {
31
30
  keys = [keys];
32
31
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  declare const SortRow: ({ children, rowKey, onSortChange }: any) => JSX.Element;
4
3
  export default SortRow;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const summary: (props: any) => JSX.Element;
3
2
  export default summary;
@@ -155,7 +155,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
155
155
  sort?: SortType | undefined;
156
156
  mode: "" | "localStorage" | "remote";
157
157
  currentViewMode: ModeType;
158
- }) => ("filter_setting" | "group_by" | "order_by" | "column_setting" | "view_mode" | "gallery_setting")[];
158
+ }) => ("order_by" | "group_by" | "column_setting" | "gallery_setting" | "filter_setting" | "view_mode")[];
159
159
  export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
160
160
  export declare const stringify: (obj: Record<string, any>) => string;
161
161
  export {};