@pisell/materials 6.1.1 → 6.2.25

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 (340) 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.css +1 -1
  8. package/build/lowcode/render/default/view.js +36 -27
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +41 -32
  11. package/es/components/DragSortList/index.js +6 -6
  12. package/es/components/TimeResourceSelector/index.d.ts +21 -0
  13. package/es/components/appVersionControl/index.d.ts +4 -0
  14. package/es/components/badge/index.d.ts +7 -0
  15. package/es/components/buttonGroupEdit/index.d.ts +8 -0
  16. package/es/components/buttonGroupPreview/index.d.ts +19 -0
  17. package/es/components/cardPro/index.d.ts +3 -0
  18. package/es/components/classicLayout/index.js +4 -5
  19. package/es/components/collapse/index.d.ts +15 -0
  20. package/es/components/cropPhoto/index.d.ts +3 -0
  21. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  22. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +38 -0
  23. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
  24. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +32 -0
  25. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +78 -0
  26. package/es/components/dataSourceComponents/fields/DatePicker/ReadPretty.d.ts +5 -0
  27. package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +24 -0
  28. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +24 -0
  29. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  30. package/es/components/dataSourceComponents/fields/Upload/serve.d.ts +20 -0
  31. package/es/components/dataSourceComponents/fields/Upload/type.d.ts +37 -0
  32. package/es/components/dataSourceComponents/fields/index.d.ts +4 -4
  33. package/es/components/dataSourceComponents/hooks/usePlatform.d.ts +3 -0
  34. package/es/components/drag-sort-tree/TreeItem/index.js +2 -1
  35. package/es/components/drag-sort-tree/index.d.ts +4 -0
  36. package/es/components/icon/index.js +5 -5
  37. package/es/components/iconfont/index.js +1 -1
  38. package/es/components/list/index.js +6 -6
  39. package/es/components/login-and-register/index.d.ts +82 -0
  40. package/es/components/login-and-register/index.js +22 -18
  41. package/es/components/page/index.d.ts +5 -0
  42. package/es/components/pisell-config-provider/index.d.ts +12 -0
  43. package/es/components/pisellAdjustPrice/index.d.ts +1 -6
  44. package/es/components/pisellAdjustPrice/index.js +64 -8
  45. package/es/components/pisellAdjustPrice/index.less +35 -6
  46. package/es/components/pisellAdjustPrice/status.js +32 -0
  47. package/es/components/pisellAdjustPrice/type.js +1 -0
  48. package/es/components/pisellAnchor/index.d.ts +23 -0
  49. package/es/components/pisellAvatar/index.d.ts +19 -0
  50. package/es/components/pisellCard/index.d.ts +19 -0
  51. package/es/components/pisellCustomCheckboxGroup/index.d.ts +16 -0
  52. package/es/components/pisellDropdown/index.d.ts +20 -0
  53. package/es/components/pisellEmpty/index.d.ts +19 -0
  54. package/es/components/pisellHeaderProgressBar/index.d.ts +29 -0
  55. package/es/components/pisellImageCarousels/index.d.ts +18 -0
  56. package/es/components/pisellInformationEntry/hooks/useNativeScanner.d.ts +4 -0
  57. package/es/components/pisellInformationEntry/index.d.ts +33 -0
  58. package/es/components/pisellList01/index.d.ts +17 -0
  59. package/es/components/pisellQrcode/index.d.ts +10 -0
  60. package/es/components/pisellSectionHeaders/index.d.ts +21 -0
  61. package/es/components/pisellStatisticList/index.d.ts +21 -0
  62. package/es/components/pisellToast/index.js +3 -0
  63. package/es/components/pisellWalletPassCard/index.d.ts +0 -1
  64. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +21 -0
  65. package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +61 -0
  66. package/es/components/productCard/cartSkuCard/components/basicInfo/index.less +98 -0
  67. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
  68. package/es/components/productCard/cartSkuCard/components/discountReason/index.js +51 -0
  69. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
  70. package/es/components/productCard/cartSkuCard/components/holders/index.js +32 -0
  71. package/es/components/productCard/cartSkuCard/components/holders/index.less +32 -0
  72. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
  73. package/es/components/productCard/cartSkuCard/components/packages/index.js +52 -0
  74. package/es/components/productCard/cartSkuCard/components/packages/index.less +22 -0
  75. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
  76. package/es/components/productCard/cartSkuCard/components/packages/utils.js +40 -0
  77. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
  78. package/es/components/productCard/cartSkuCard/components/resources/index.js +44 -0
  79. package/es/components/productCard/cartSkuCard/components/resources/index.less +20 -0
  80. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +11 -0
  81. package/es/components/productCard/cartSkuCard/components/sales/index.js +55 -0
  82. package/es/components/productCard/cartSkuCard/components/sales/index.less +22 -0
  83. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
  84. package/es/components/productCard/cartSkuCard/components/specs/index.js +43 -0
  85. package/es/components/productCard/cartSkuCard/components/specs/index.less +28 -0
  86. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +6 -0
  87. package/es/components/productCard/cartSkuCard/components/timeRange/index.js +53 -0
  88. package/es/components/productCard/cartSkuCard/components/timeRange/index.less +37 -0
  89. package/es/components/productCard/cartSkuCard/index.d.ts +8 -0
  90. package/es/components/productCard/cartSkuCard/index.js +195 -0
  91. package/es/components/productCard/cartSkuCard/index.less +69 -0
  92. package/es/components/productCard/cartSkuCard/locales.js +30 -0
  93. package/es/components/productCard/components/Action/index.d.ts +3 -0
  94. package/es/components/productCard/components/AmountFooter/index.js +22 -6
  95. package/es/components/productCard/components/AmountFooter/index.less +28 -1
  96. package/es/components/productCard/components/Divider/index.d.ts +3 -0
  97. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
  98. package/es/components/productCard/components/Header/index.js +4 -3
  99. package/es/components/productCard/components/MultiDay/index.d.ts +3 -0
  100. package/es/components/productCard/components/MultiDay/utils.d.ts +14 -0
  101. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  102. package/es/components/productCard/components/Packages/components/collapsibleList/utils.js +2 -1
  103. package/es/components/productCard/components/Packages/components/options/index.d.ts +3 -0
  104. package/es/components/productCard/components/Packages/components/options/index.less +3 -2
  105. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  106. package/es/components/productCard/components/Sales/index.js +2 -2
  107. package/es/components/productCard/components/Time/components/Like/index.d.ts +9 -0
  108. package/es/components/productCard/components/Time/index.d.ts +3 -0
  109. package/es/components/productCard/components/Warning/index.d.ts +7 -0
  110. package/es/components/productCard/components/Warning/index.js +48 -0
  111. package/es/components/productCard/index.d.ts +3 -1
  112. package/es/components/productCard/index.js +10 -8
  113. package/es/components/productCard/locales.js +6 -3
  114. package/es/components/productCard/status.js +3 -1
  115. package/es/components/productCard/utils.js +8 -6
  116. package/es/components/qrcode/index.js +1 -1
  117. package/es/components/section-footers/index.d.ts +9 -0
  118. package/es/components/sort/components/InlineMenu/index.js +1 -1
  119. package/es/components/table/Actions/component/ButtonIcon/index.js +5 -5
  120. package/es/components/table/Actions/component/ExportImport/index.d.ts +7 -0
  121. package/es/components/table/Actions/component/ExportImport/utils/index.d.ts +9 -0
  122. package/es/components/table/Actions/component/ViewMode/index.js +1 -1
  123. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.js +4 -5
  124. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  125. package/es/components/table/Header/Buttons/index.js +5 -5
  126. package/es/components/table/Table/AddFieldModal/index.js +6 -6
  127. package/es/components/table/Table/SelectField/index.js +4 -4
  128. package/es/components/table/Table/fields/date/Edit/index.js +1 -1
  129. package/es/components/table/Table/fields/index.d.ts +2 -2
  130. package/es/components/table/Table/fields/link/Edit/index.js +5 -5
  131. package/es/components/table/Table/fields/rangePicker/filterUtil/index.js +1 -1
  132. package/es/components/table/Table/fields/search/filterUtil/index.js +0 -1
  133. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  134. package/es/components/table/Table/fields/text/Show/index.js +4 -4
  135. package/es/components/table/Table/fields/text/filterUtil/index.js +0 -1
  136. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  137. package/es/components/table/Table/index.d.ts +4 -0
  138. package/es/components/table/Table/tableConfig/SortRow/index.js +2 -2
  139. package/es/components/table/Table/tableConfig/body/CellContent/index.js +3 -3
  140. package/es/components/table/Table/tableConfig/body/CellProvider/index.js +8 -8
  141. package/es/components/table/Table/utils.d.ts +1 -1
  142. package/es/components/table/hooks/useMergeColumnSetting.js +1 -2
  143. package/es/components/table/hooks/useTableSetting.d.ts +22 -0
  144. package/es/components/table/hooks/useTransDataSourceGroupSetting.js +5 -5
  145. package/es/components/table/hooks/useTransFilterSetting.js +5 -5
  146. package/es/components/table/types.d.ts +251 -0
  147. package/es/components/tabs/index.d.ts +16 -0
  148. package/es/components/translation/index.d.ts +4 -3
  149. package/es/components/translation/index.js +34 -32
  150. package/es/components/translation/utils.js +5 -5
  151. package/es/components/versionModal/index.d.ts +23 -0
  152. package/es/components/virtual-keyboard/Amount/index.d.ts +3 -20
  153. package/es/components/virtual-keyboard/Amount/index.js +79 -7
  154. package/es/components/virtual-keyboard/Amount/index.less +39 -0
  155. package/es/components/virtual-keyboard/Amount/themeConfig.js +32 -0
  156. package/es/components/virtual-keyboard/Amount/types.d.ts +44 -0
  157. package/es/components/virtual-keyboard/Amount/types.js +1 -0
  158. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +3 -1
  159. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.js +38 -10
  160. package/es/components/virtual-keyboard/Keyboard/index.js +2 -2
  161. package/es/components/virtual-keyboard/Number/index.d.ts +3 -11
  162. package/es/components/virtual-keyboard/Number/index.js +77 -7
  163. package/es/components/virtual-keyboard/Number/index.less +39 -0
  164. package/es/components/virtual-keyboard/Number/themeConfig.js +32 -0
  165. package/es/components/virtual-keyboard/Number/types.js +1 -0
  166. package/es/components/virtual-keyboard/VirtualKeyInput/index.js +10 -3
  167. package/es/components/virtual-keyboard/index.d.ts +11 -0
  168. package/es/components/virtual-keyboard/index.js +88 -3
  169. package/es/components/virtual-keyboard/index.less +33 -1
  170. package/es/components/walletCard/Guest/index.d.ts +3 -0
  171. package/es/components/walletCard/Guide/index.d.ts +3 -0
  172. package/es/components/walletCard/index.d.ts +67 -0
  173. package/es/hooks/useResponsive.js +2 -2
  174. package/es/utils/hoc.js +1 -1
  175. package/es/utils/index.d.ts +1 -1
  176. package/es/utils/miniRedux.js +8 -9
  177. package/es/utils/platform.d.ts +1 -1
  178. package/lib/components/TimeResourceSelector/index.d.ts +21 -0
  179. package/lib/components/appVersionControl/index.d.ts +4 -0
  180. package/lib/components/badge/index.d.ts +7 -0
  181. package/lib/components/buttonGroupEdit/index.d.ts +8 -0
  182. package/lib/components/buttonGroupPreview/index.d.ts +19 -0
  183. package/lib/components/cardPro/index.d.ts +3 -0
  184. package/lib/components/collapse/index.d.ts +15 -0
  185. package/lib/components/cropPhoto/index.d.ts +3 -0
  186. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  187. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +38 -0
  188. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
  189. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +32 -0
  190. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +78 -0
  191. package/lib/components/dataSourceComponents/fields/DatePicker/ReadPretty.d.ts +5 -0
  192. package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +24 -0
  193. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +24 -0
  194. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  195. package/lib/components/dataSourceComponents/fields/Upload/serve.d.ts +20 -0
  196. package/lib/components/dataSourceComponents/fields/Upload/type.d.ts +37 -0
  197. package/lib/components/dataSourceComponents/fields/index.d.ts +4 -4
  198. package/lib/components/dataSourceComponents/hooks/usePlatform.d.ts +3 -0
  199. package/lib/components/drag-sort-tree/TreeItem/index.js +2 -1
  200. package/lib/components/drag-sort-tree/index.d.ts +4 -0
  201. package/lib/components/iconfont/index.js +1 -1
  202. package/lib/components/login-and-register/index.d.ts +82 -0
  203. package/lib/components/login-and-register/index.js +2 -2
  204. package/lib/components/lowCodePage/index.js +1 -2
  205. package/lib/components/page/index.d.ts +5 -0
  206. package/lib/components/pisell-config-provider/index.d.ts +12 -0
  207. package/lib/components/pisellAdjustPrice/index.d.ts +1 -6
  208. package/lib/components/pisellAdjustPrice/index.js +119 -57
  209. package/lib/components/pisellAdjustPrice/index.less +35 -6
  210. package/lib/components/pisellAdjustPrice/status.js +60 -0
  211. package/lib/components/pisellAdjustPrice/type.js +17 -0
  212. package/lib/components/pisellAnchor/index.d.ts +23 -0
  213. package/lib/components/pisellAvatar/index.d.ts +19 -0
  214. package/lib/components/pisellCard/index.d.ts +19 -0
  215. package/lib/components/pisellCustomCheckboxGroup/index.d.ts +16 -0
  216. package/lib/components/pisellDropdown/index.d.ts +20 -0
  217. package/lib/components/pisellEmpty/index.d.ts +19 -0
  218. package/lib/components/pisellHeaderProgressBar/index.d.ts +29 -0
  219. package/lib/components/pisellImageCarousels/index.d.ts +18 -0
  220. package/lib/components/pisellInformationEntry/hooks/useNativeScanner.d.ts +4 -0
  221. package/lib/components/pisellInformationEntry/index.d.ts +33 -0
  222. package/lib/components/pisellList01/index.d.ts +17 -0
  223. package/lib/components/pisellQrcode/index.d.ts +10 -0
  224. package/lib/components/pisellSectionHeaders/index.d.ts +21 -0
  225. package/lib/components/pisellStatisticList/index.d.ts +21 -0
  226. package/lib/components/pisellToast/index.js +3 -0
  227. package/lib/components/pisellWalletPassCard/index.d.ts +0 -1
  228. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +21 -0
  229. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +71 -0
  230. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.less +98 -0
  231. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
  232. package/lib/components/productCard/cartSkuCard/components/discountReason/index.js +70 -0
  233. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
  234. package/lib/components/productCard/cartSkuCard/components/holders/index.js +52 -0
  235. package/lib/components/productCard/cartSkuCard/components/holders/index.less +32 -0
  236. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
  237. package/lib/components/productCard/cartSkuCard/components/packages/index.js +73 -0
  238. package/lib/components/productCard/cartSkuCard/components/packages/index.less +22 -0
  239. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
  240. package/lib/components/productCard/cartSkuCard/components/packages/utils.js +44 -0
  241. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
  242. package/lib/components/productCard/cartSkuCard/components/resources/index.js +73 -0
  243. package/lib/components/productCard/cartSkuCard/components/resources/index.less +20 -0
  244. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +11 -0
  245. package/lib/components/productCard/cartSkuCard/components/sales/index.js +76 -0
  246. package/lib/components/productCard/cartSkuCard/components/sales/index.less +22 -0
  247. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
  248. package/lib/components/productCard/cartSkuCard/components/specs/index.js +65 -0
  249. package/lib/components/productCard/cartSkuCard/components/specs/index.less +28 -0
  250. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +6 -0
  251. package/lib/components/productCard/cartSkuCard/components/timeRange/index.js +67 -0
  252. package/lib/components/productCard/cartSkuCard/components/timeRange/index.less +37 -0
  253. package/lib/components/productCard/cartSkuCard/index.d.ts +8 -0
  254. package/lib/components/productCard/cartSkuCard/index.js +216 -0
  255. package/lib/components/productCard/cartSkuCard/index.less +69 -0
  256. package/lib/components/productCard/cartSkuCard/locales.js +61 -0
  257. package/lib/components/productCard/components/Action/index.d.ts +3 -0
  258. package/lib/components/productCard/components/AmountFooter/index.js +16 -6
  259. package/lib/components/productCard/components/AmountFooter/index.less +28 -1
  260. package/lib/components/productCard/components/Divider/index.d.ts +3 -0
  261. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +3 -0
  262. package/lib/components/productCard/components/Header/index.js +4 -3
  263. package/lib/components/productCard/components/MultiDay/index.d.ts +3 -0
  264. package/lib/components/productCard/components/MultiDay/utils.d.ts +14 -0
  265. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  266. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.js +2 -2
  267. package/lib/components/productCard/components/Packages/components/options/index.d.ts +3 -0
  268. package/lib/components/productCard/components/Packages/components/options/index.less +3 -2
  269. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  270. package/lib/components/productCard/components/Sales/index.js +2 -2
  271. package/lib/components/productCard/components/Time/components/Like/index.d.ts +9 -0
  272. package/lib/components/productCard/components/Time/index.d.ts +3 -0
  273. package/lib/components/productCard/components/Warning/index.d.ts +7 -0
  274. package/lib/components/productCard/components/Warning/index.js +68 -0
  275. package/lib/components/productCard/index.d.ts +3 -1
  276. package/lib/components/productCard/index.js +6 -11
  277. package/lib/components/productCard/locales.js +6 -3
  278. package/lib/components/productCard/status.js +3 -1
  279. package/lib/components/productCard/utils.js +7 -6
  280. package/lib/components/section-footers/index.d.ts +9 -0
  281. package/lib/components/table/Actions/component/ExportImport/index.d.ts +7 -0
  282. package/lib/components/table/Actions/component/ExportImport/utils/index.d.ts +9 -0
  283. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  284. package/lib/components/table/Table/fields/date/filterUtil/index.js +3 -6
  285. package/lib/components/table/Table/fields/index.d.ts +2 -2
  286. package/lib/components/table/Table/fields/rangePicker/filterUtil/index.js +4 -8
  287. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  288. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  289. package/lib/components/table/Table/fields/utils/index.js +1 -2
  290. package/lib/components/table/Table/index.d.ts +4 -0
  291. package/lib/components/table/Table/utils.d.ts +1 -1
  292. package/lib/components/table/hooks/useTableSetting.d.ts +22 -0
  293. package/lib/components/table/types.d.ts +251 -0
  294. package/lib/components/tabs/index.d.ts +16 -0
  295. package/lib/components/translation/index.d.ts +4 -3
  296. package/lib/components/translation/index.js +1 -0
  297. package/lib/components/versionModal/index.d.ts +23 -0
  298. package/lib/components/virtual-keyboard/Amount/index.d.ts +3 -20
  299. package/lib/components/virtual-keyboard/Amount/index.js +72 -16
  300. package/lib/components/virtual-keyboard/Amount/index.less +39 -0
  301. package/lib/components/virtual-keyboard/Amount/themeConfig.js +60 -0
  302. package/lib/components/virtual-keyboard/Amount/types.d.ts +44 -0
  303. package/lib/components/virtual-keyboard/Amount/types.js +17 -0
  304. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +3 -1
  305. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.js +31 -8
  306. package/lib/components/virtual-keyboard/Keyboard/index.js +2 -1
  307. package/lib/components/virtual-keyboard/Number/index.d.ts +3 -11
  308. package/lib/components/virtual-keyboard/Number/index.js +65 -11
  309. package/lib/components/virtual-keyboard/Number/index.less +39 -0
  310. package/lib/components/virtual-keyboard/Number/themeConfig.js +60 -0
  311. package/lib/components/virtual-keyboard/Number/types.js +17 -0
  312. package/lib/components/virtual-keyboard/VirtualKeyInput/index.js +34 -20
  313. package/lib/components/virtual-keyboard/index.d.ts +11 -0
  314. package/lib/components/virtual-keyboard/index.js +60 -2
  315. package/lib/components/virtual-keyboard/index.less +33 -1
  316. package/lib/components/walletCard/Guest/index.d.ts +3 -0
  317. package/lib/components/walletCard/Guide/index.d.ts +3 -0
  318. package/lib/components/walletCard/index.d.ts +67 -0
  319. package/lib/hooks/useResponsive.js +3 -6
  320. package/lib/utils/index.d.ts +1 -1
  321. package/lib/utils/platform.d.ts +1 -1
  322. package/lowcode/_setters/antd-icon-setter/index.tsx +3 -2
  323. package/lowcode/pisell-adjust-price/meta.ts +168 -0
  324. package/lowcode/pisell-adjust-price/snippets.ts +1 -0
  325. package/lowcode/pisell-number-keyboard/meta.ts +167 -0
  326. package/lowcode/pisell-price-keyboard/meta.ts +167 -0
  327. package/lowcode/virtual-keyboard/meta.ts +131 -0
  328. package/package.json +2 -2
  329. package/dist/umd/materials.min.css +0 -1
  330. package/dist/umd/materials.min.js +0 -1
  331. package/dist/umd/static/DotsSix.57d66266.svg +0 -1
  332. package/dist/umd/static/arrow-left.e542294f.svg +0 -1
  333. package/dist/umd/static/arrow-right.763f03e0.svg +0 -1
  334. package/dist/umd/static/filter-lines.04a54ae9.svg +0 -1
  335. package/dist/umd/static/help-circle.31c9be40.svg +0 -1
  336. package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +0 -1
  337. package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  338. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -11
  339. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  340. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -11
@@ -18,6 +18,7 @@ export var renderBundles = function renderBundles(item, hidePrice, isShowPackage
18
18
  id = item.id,
19
19
  price = item.price,
20
20
  symbol = item.symbol,
21
+ options = item.options,
21
22
  option = item.option;
22
23
  return /*#__PURE__*/React.createElement("div", {
23
24
  key: id,
@@ -29,7 +30,7 @@ export var renderBundles = function renderBundles(item, hidePrice, isShowPackage
29
30
  }, translation(title || name)), !hidePrice ? /*#__PURE__*/React.createElement("div", {
30
31
  className: "".concat(prefix, "packages-product-bundle-info-num")
31
32
  }, _formatAmount(price, symbol)) : null), /*#__PURE__*/React.createElement(Options, {
32
- options: option,
33
+ options: options || option,
33
34
  amountSymbol: symbol
34
35
  }), /*#__PURE__*/React.createElement(Footer, {
35
36
  item: item
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Options: ({ options, amountSymbol }: any) => JSX.Element | null;
3
+ export default Options;
@@ -14,15 +14,16 @@
14
14
  &-packages-product-bundle-option-item {
15
15
  display: flex;
16
16
  justify-content: space-between;
17
+ gap: 8px;
17
18
  }
18
19
 
19
20
  &-packages-product-bundle-option-item-left {
20
21
  display: flex;
21
- gap: 4px;
22
+ gap: 8px;
22
23
  }
23
24
 
24
25
  &-packages-product-bundle-option-item-left-amount {
25
- margin-left: 8px;
26
+ margin-left: 0;
26
27
  display: flex;
27
28
  gap: 4px;
28
29
  }
@@ -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) => string | number;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
@@ -20,10 +20,10 @@ var Sales = function Sales(_ref) {
20
20
  other_products = other_products.map(function (p) {
21
21
  return _objectSpread(_objectSpread({}, p), {}, {
22
22
  title: p === null || p === void 0 ? void 0 : p.product_title,
23
- price: p === null || p === void 0 ? void 0 : p.payment_price,
23
+ price: p === null || p === void 0 ? void 0 : p.selling_price,
24
24
  symbol: item.symbol,
25
25
  num: p === null || p === void 0 ? void 0 : p.product_quantity,
26
- total: p === null || p === void 0 ? void 0 : p.payment_price
26
+ total: p === null || p === void 0 ? void 0 : p.selling_price
27
27
  });
28
28
  });
29
29
  return ((_other_products = other_products) === null || _other_products === void 0 ? void 0 : _other_products.length) > 0 ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
@@ -0,0 +1,9 @@
1
+ import './index.less';
2
+ declare const Like: ({ status, onLike, className, style, isShowChangeResource, }: {
3
+ style?: any;
4
+ status: string;
5
+ onLike?: any;
6
+ className?: string | undefined;
7
+ isShowChangeResource?: boolean | undefined;
8
+ }) => JSX.Element;
9
+ export default Like;
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Time: ({ item, isShowHolder, onLike, isShowChangeResource, changeResource, changeHolder, isShowChangeHolder, holderMode, onAddHolder, isShowAddHolderButton, onClearHolder, onClearResource, }: any) => JSX.Element | null;
3
+ export default Time;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import '../../index.less';
3
+ declare const Warning: React.FC<{
4
+ errorMessage: string | Array<string>;
5
+ osWarnTips: Array<string>;
6
+ }>;
7
+ export default Warning;
@@ -0,0 +1,48 @@
1
+ import React, { useMemo } from 'react';
2
+ import { locales } from '@pisell/utils';
3
+ import { Alert } from 'antd';
4
+ import "../../index.less";
5
+ var Warning = function Warning(_ref) {
6
+ var errorMessage = _ref.errorMessage,
7
+ osWarnTips = _ref.osWarnTips;
8
+ /**
9
+ * @title: 错误提示列表
10
+ * @description: 错误提示列表
11
+ * @param {*} useMemo
12
+ * @return {*}
13
+ * @Author: WangHan
14
+ * @Date: 2025-07-23 10:10
15
+ */
16
+ var errorLists = useMemo(function () {
17
+ if (errorMessage) {
18
+ // 如果errorMessage是数组,则返回数组
19
+ if (Array.isArray(errorMessage)) {
20
+ return errorMessage;
21
+ }
22
+
23
+ // 如果errorMessage是字符串,则返回字符串
24
+ if (typeof errorMessage === 'string') {
25
+ return [errorMessage];
26
+ }
27
+ }
28
+ if ((osWarnTips === null || osWarnTips === void 0 ? void 0 : osWarnTips.length) > 0) {
29
+ return osWarnTips.map(function (item) {
30
+ return locales.getText(item);
31
+ });
32
+ }
33
+ return [];
34
+ }, [errorMessage, osWarnTips]);
35
+ if ((errorLists === null || errorLists === void 0 ? void 0 : errorLists.length) === 0) {
36
+ return /*#__PURE__*/React.createElement(React.Fragment, null);
37
+ }
38
+ return /*#__PURE__*/React.createElement(React.Fragment, null, errorLists.map(function (item, index) {
39
+ return /*#__PURE__*/React.createElement(Alert, {
40
+ key: index,
41
+ message: item,
42
+ type: "warning",
43
+ showIcon: true,
44
+ className: "pisell-lowcode-product-card-error"
45
+ });
46
+ }));
47
+ };
48
+ export default Warning;
@@ -1,5 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ProductCardTypes } from './types';
3
3
  import './index.less';
4
- declare const ProductCard: React.FC<ProductCardTypes>;
4
+ declare const ProductCard: React.FC<ProductCardTypes> & {
5
+ V2: any;
6
+ };
5
7
  export default ProductCard;
@@ -10,7 +10,6 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
10
10
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
11
11
  import React, { useMemo, useRef } from 'react';
12
12
  import classNames from 'classnames';
13
- import { Alert } from 'antd';
14
13
  import { locales } from '@pisell/utils';
15
14
  import CardPro from "../cardPro";
16
15
  import Header from "./components/Header";
@@ -26,7 +25,9 @@ import UseOpenNote from "./hooks/useOpenNote";
26
25
  import localeTexts from "./locales";
27
26
  import { defaultValue } from "./status";
28
27
  import useEngineContext from "../../hooks/useEngineContext";
28
+ import Warning from "./components/Warning";
29
29
  import "./index.less";
30
+ import CartSkuCard from "./cartSkuCard";
30
31
  var ProductCard = function ProductCard(props) {
31
32
  var _utils$storage, _dataSource$items;
32
33
  var context = useEngineContext();
@@ -64,7 +65,9 @@ var ProductCard = function ProductCard(props) {
64
65
  isShowAction = dataSource.isShowAction,
65
66
  actionText = dataSource.actionText,
66
67
  errorMessage = dataSource.errorMessage,
67
- isNormalProduct = dataSource.isNormalProduct;
68
+ isNormalProduct = dataSource.isNormalProduct,
69
+ _dataSource$osWarnTip = dataSource.osWarnTips,
70
+ osWarnTips = _dataSource$osWarnTip === void 0 ? [] : _dataSource$osWarnTip;
68
71
 
69
72
  /**
70
73
  * @title: 显示图片
@@ -159,12 +162,10 @@ var ProductCard = function ProductCard(props) {
159
162
  onAction: function onAction() {
160
163
  return _onAction === null || _onAction === void 0 ? void 0 : _onAction(dataSource);
161
164
  }
162
- }) : null, errorMessage ? /*#__PURE__*/React.createElement(Alert, {
163
- message: errorMessage,
164
- type: "warning",
165
- showIcon: true,
166
- className: "pisell-lowcode-product-card-error"
167
- }) : null), /*#__PURE__*/React.createElement(UseOpenNote, {
165
+ }) : null, /*#__PURE__*/React.createElement(Warning, {
166
+ errorMessage: errorMessage,
167
+ osWarnTips: osWarnTips
168
+ })), /*#__PURE__*/React.createElement(UseOpenNote, {
168
169
  ref: useOpenNoteRef,
169
170
  onNoteChange: function onNoteChange(e) {
170
171
  onNote === null || onNote === void 0 || onNote(_objectSpread(_objectSpread({}, dataSource), {}, {
@@ -173,4 +174,5 @@ var ProductCard = function ProductCard(props) {
173
174
  }
174
175
  }))));
175
176
  };
177
+ ProductCard.V2 = CartSkuCard;
176
178
  export default ProductCard;
@@ -37,7 +37,8 @@ export default {
37
37
  'pisell2.product.card.add.holder.modal.cancel': 'Cancel',
38
38
  'pisell2.product.card.add.holder.modal.clear': 'Clear',
39
39
  'pisell2.product.card.add.holder.modal.apply': 'Apply',
40
- 'pisell2.product.card.add.holder.modal.add': 'Add New'
40
+ 'pisell2.product.card.add.holder.modal.add': 'Add New',
41
+ 'pisell2.product.card.closing-soon.warning': 'The venue will close soon. Please make sure you have enough time for your visit.'
41
42
  },
42
43
  'zh-CN': {
43
44
  'pisell2.product.card.edit': '编辑',
@@ -77,7 +78,8 @@ export default {
77
78
  'pisell2.product.card.add.holder.modal.cancel': '取消',
78
79
  'pisell2.product.card.add.holder.modal.clear': '清除',
79
80
  'pisell2.product.card.add.holder.modal.apply': '应用',
80
- 'pisell2.product.card.add.holder.modal.add': '添加'
81
+ 'pisell2.product.card.add.holder.modal.add': '添加',
82
+ 'pisell2.product.card.closing-soon.warning': '当前入场时间临近营业结束,请确认是否仍要购买。'
81
83
  },
82
84
  'zh-HK': {
83
85
  'pisell2.product.card.edit': '編輯',
@@ -117,6 +119,7 @@ export default {
117
119
  'pisell2.product.card.add.holder.modal.cancel': '取消',
118
120
  'pisell2.product.card.add.holder.modal.clear': '清除',
119
121
  'pisell2.product.card.add.holder.modal.apply': '應用',
120
- 'pisell2.product.card.add.holder.modal.add': '添加'
122
+ 'pisell2.product.card.add.holder.modal.add': '添加',
123
+ 'pisell2.product.card.closing-soon.warning': '當前入場時間臨近營業結束,請確認是否仍要購買。'
121
124
  }
122
125
  };
@@ -64,5 +64,7 @@ export var defaultValue = {
64
64
  isShowPackageNote: true,
65
65
  isShowEditProduct: false,
66
66
  locale: 'en-US',
67
- symbol: '$'
67
+ symbol: '$',
68
+ // os层自定义错误提示
69
+ osWarnTips: []
68
70
  };
@@ -60,6 +60,8 @@ export var getServiceTime = function getServiceTime(item, currentDate) {
60
60
  var utils = context.appHelper.utils || {};
61
61
  var locale = (item === null || item === void 0 ? void 0 : item.locale) || (utils === null || utils === void 0 || (_utils$storage = utils.storage) === null || _utils$storage === void 0 ? void 0 : _utils$storage.get('umi_locale')) || 'en-US';
62
62
  var isEn = locale === 'en-US' || locale === 'en';
63
+ // 灵活时长, 默认按分钟计算
64
+ var durationType = (item === null || item === void 0 ? void 0 : item.duration_type) === 'flexible' ? 'minutes' : item === null || item === void 0 ? void 0 : item.duration_type;
63
65
  var localeTypes = {
64
66
  'en-US': 'en',
65
67
  'zh-CN': 'zh-cn',
@@ -71,7 +73,7 @@ export var getServiceTime = function getServiceTime(item, currentDate) {
71
73
  var diffInDays = (item === null || item === void 0 ? void 0 : item.custom_day_count) || endDate.diff(startDate, 'day');
72
74
 
73
75
  // 1.2时间格式, 同天显示 年月日 开始 - 结束, 不同天 年月日 开始 - 年月日 结束
74
- if (item !== null && item !== void 0 && item.duration_type) {
76
+ if (durationType) {
75
77
  var sameDay = startDate.isSame(endDate, 'day');
76
78
  var dateFormat = isEn ? 'DD/MM/YYYY' : 'YYYY-MM-DD';
77
79
  var timeFormat = 'HH:mm';
@@ -98,14 +100,14 @@ export var getServiceTime = function getServiceTime(item, currentDate) {
98
100
  }
99
101
  var startDateTime = "".concat(startDate.format('YYYY-MM-DD'), " ").concat(startTime);
100
102
  var endDateTime = "".concat(endDate.format('YYYY-MM-DD'), " ").concat(endTime);
101
- var _duration = dayjs(endDateTime).diff(dayjs(startDateTime), item === null || item === void 0 ? void 0 : item.duration_type);
103
+ var _duration = dayjs(endDateTime).diff(dayjs(startDateTime), durationType);
102
104
  var durationText = '';
103
- if ((item === null || item === void 0 ? void 0 : item.duration_type) === 'minutes') {
105
+ if (durationType === 'minutes') {
104
106
  // 转为小时+分钟
105
107
  var hours = Math.floor(_duration / 60);
106
108
  var minutes = _duration % 60;
107
109
  durationText = locales.getText('pisell2.product.card.hour.minute')(hours, minutes);
108
- } else if ((item === null || item === void 0 ? void 0 : item.duration_type) === 'days') {
110
+ } else if (durationType === 'days') {
109
111
  durationText = locales.getText('pisell2.product.card.day')(_duration);
110
112
  } else {
111
113
  durationText = "".concat(_duration);
@@ -127,7 +129,7 @@ export var getServiceTime = function getServiceTime(item, currentDate) {
127
129
  }
128
130
 
129
131
  // 显示时长分钟
130
- if ((item === null || item === void 0 ? void 0 : item.duration_type) === 'minutes') {
132
+ if (durationType === 'minutes') {
131
133
  diffInDays = endDate.diff(startDate, 'minute');
132
134
  }
133
135
  var date = "".concat(startDate.format(_format), " ~ ").concat(endDate.format(_format));
@@ -141,7 +143,7 @@ export var getServiceTime = function getServiceTime(item, currentDate) {
141
143
  'minutes': locales.getText('pisell2.product.card.minute')(diffInDays),
142
144
  'event': locales.getText('pisell2.product.card.day.event')(diffInDays)
143
145
  };
144
- text = (textTypes === null || textTypes === void 0 ? void 0 : textTypes[item === null || item === void 0 ? void 0 : item.duration_type]) || text;
146
+ text = (textTypes === null || textTypes === void 0 ? void 0 : textTypes[durationType]) || text;
145
147
  var duration = "".concat(diffInDays).concat(text);
146
148
  return "".concat(date, " (").concat(duration, ")");
147
149
  };
@@ -3,7 +3,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
3
3
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
4
4
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
5
5
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
6
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
6
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
7
7
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
8
8
  import React, { useMemo } from "react";
9
9
  import { QRCode as AntQRCode, Modal } from "antd";
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ interface SectionFooterProps {
3
+ left?: React.ReactNode;
4
+ middle?: React.ReactNode;
5
+ right?: React.ReactNode;
6
+ className?: string;
7
+ }
8
+ declare const SectionFooters: (props: SectionFooterProps) => JSX.Element;
9
+ export default SectionFooters;
@@ -2,7 +2,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
2
2
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
3
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
4
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
5
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
6
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
7
  import React, { useMemo } from "react";
8
8
  import { Menu, Divider } from "antd";
@@ -1,11 +1,11 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
2
  var _excluded = ["children", "isActive"];
3
3
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
4
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
5
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
4
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
5
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6
6
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
7
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
8
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
7
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
8
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
9
9
  function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
10
10
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
11
11
  import React, { Children, isValidElement, cloneElement } from "react";
@@ -0,0 +1,7 @@
1
+ import { ExportImportType } from '../../../types';
2
+ import './index.less';
3
+ declare type ExportImportProps = {
4
+ exportImport: ExportImportType;
5
+ };
6
+ declare const ExportImport: ({ exportImport }: ExportImportProps) => JSX.Element;
7
+ export default ExportImport;
@@ -0,0 +1,9 @@
1
+ /**
2
+ * @title: 格式化导出导入接口地址
3
+ * @description:
4
+ * @param {string} url
5
+ * @return {*}
6
+ * @Author: WangHan
7
+ * @Date: 2024-09-05 11:39
8
+ */
9
+ export declare const formatApiUrl: (url: string) => string;
@@ -30,7 +30,7 @@ var ViewMode = function ViewMode(props) {
30
30
  });
31
31
  }, [modeList]);
32
32
  var handleClick = function handleClick(e) {
33
- onChange === null || onChange === void 0 ? void 0 : onChange(e.key);
33
+ onChange === null || onChange === void 0 || onChange(e.key);
34
34
  };
35
35
  return /*#__PURE__*/React.createElement(Dropdown, {
36
36
  menu: {
@@ -1,7 +1,7 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
2
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
4
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
3
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
4
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
5
5
  import React, { useMemo } from "react";
6
6
  import classNames from "classnames";
7
7
  import { Tooltip } from "antd";
@@ -10,7 +10,6 @@ import { getValueByKeys } from "../../../../../Table/fields/utils";
10
10
  import "./index.less";
11
11
  var prefix = "pisell-lowcode-";
12
12
  var RenderFields = function RenderFields(props) {
13
- var _classNames;
14
13
  var fields = props.fields,
15
14
  columnsMap = props.columnsMap,
16
15
  showMode = props.showMode,
@@ -40,7 +39,7 @@ var RenderFields = function RenderFields(props) {
40
39
  return fieldsList;
41
40
  }, [fields, columnsMap, record, isShowLabel]);
42
41
  return /*#__PURE__*/React.createElement("div", {
43
- className: classNames("".concat(prefix, "gallery-render-fields-wrap"), (_classNames = {}, _defineProperty(_classNames, "".concat(prefix, "gallery-render-fields-wrap-inline"), showMode === "inline"), _defineProperty(_classNames, "".concat(prefix, "gallery-render-fields-wrap-block"), showMode === "block"), _classNames))
42
+ className: classNames("".concat(prefix, "gallery-render-fields-wrap"), _defineProperty(_defineProperty({}, "".concat(prefix, "gallery-render-fields-wrap-inline"), showMode === "inline"), "".concat(prefix, "gallery-render-fields-wrap-block"), showMode === "block"))
44
43
  }, fieldContent);
45
44
  };
46
45
  export default RenderFields;
@@ -1,5 +1,5 @@
1
1
  declare const useGapSize: (gap: number | number[]) => {
2
- horizontal: number;
3
- vertical: number;
2
+ horizontal: any;
3
+ vertical: any;
4
4
  };
5
5
  export default useGapSize;
@@ -1,10 +1,10 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
2
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
3
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
4
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5
5
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
6
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
7
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
6
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
7
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
8
8
  import React from "react";
9
9
  import { Button } from "antd";
10
10
  import "./index.less";
@@ -1,9 +1,9 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
4
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
7
  function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
8
8
  function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
9
9
  function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
@@ -12,7 +12,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
12
12
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
13
13
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
14
14
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
15
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
15
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
16
16
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
17
17
  import IconFont from "../../../iconfont";
18
18
  import { Form, Input, Popover, message } from "antd";
@@ -1,12 +1,12 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
2
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
3
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
4
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
3
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
4
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
5
5
  function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
6
6
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
7
7
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
8
8
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
9
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
9
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
10
10
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
11
11
  import IconFont from "../../../iconfont";
12
12
  // import Search from "@/components/Search";
@@ -26,7 +26,7 @@ var Edit = function Edit(props, ref) {
26
26
  ref: ref,
27
27
  value: dayjsVal,
28
28
  onChange: function onChange(date, dateStr) {
29
- _onChange === null || _onChange === void 0 ? void 0 : _onChange(dateStr);
29
+ _onChange === null || _onChange === void 0 || _onChange(dateStr);
30
30
  },
31
31
  onPressEnter: onPressEnter,
32
32
  onBlur: onBlur,
@@ -197,12 +197,12 @@ export declare const fieldList: ({
197
197
  field_icon: string;
198
198
  field_name: string;
199
199
  field_type: string;
200
- default_value: boolean;
200
+ default_value: string;
201
201
  } | {
202
202
  field_icon: string;
203
203
  field_name: string;
204
204
  field_type: string;
205
- default_value: string;
205
+ default_value: boolean;
206
206
  } | {
207
207
  field_icon: string;
208
208
  field_name: string;
@@ -1,9 +1,9 @@
1
- function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
2
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
4
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
- function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
- function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
7
  import React, { forwardRef, useRef } from "react";
8
8
  import { Form } from "antd";
9
9
  import Input from "../../../../../input";
@@ -2,7 +2,7 @@ function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArra
2
2
  function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
3
3
  function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
4
4
  function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
5
- function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
5
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
6
  function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
7
  import dayjs from "dayjs";
8
8
  import { isUndefined } from "@pisell/utils";
@@ -23,7 +23,6 @@ export default function (_ref) {
23
23
  // return `${item}`.includes(value);
24
24
  // });
25
25
  }
26
-
27
26
  var dataValue = getValueByKeys(item, key);
28
27
  if (isString(dataValue) || isNumber(dataValue)) {
29
28
  return "".concat(dataValue).toLowerCase().includes(lowerCaseValue);
@@ -2,4 +2,4 @@ export default function ({ value, key, item, }: {
2
2
  value: string | string[];
3
3
  key: string | string[];
4
4
  item: Record<string, any>;
5
- }): boolean;
5
+ }): any;