@pisell/materials 1.0.1054 → 1.0.1056

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 (478) 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/meta.js +1 -1
  5. package/build/lowcode/render/default/view.css +1 -1
  6. package/build/lowcode/render/default/view.js +4 -4
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +4 -4
  9. package/es/components/dataSourceComponents/dataSourceSubForm/index.js +18 -5
  10. package/es/components/dataSourceComponents/dataSourceSubForm/schema-full-example.json +38 -32
  11. package/es/components/dataSourceComponents/fields/RecordListWrapper/WithMode.js +58 -26
  12. package/es/components/dataSourceComponents/fields/Tabs/Tabs.d.ts +23 -0
  13. package/es/components/dataSourceComponents/fields/Tabs/Tabs.js +1 -1
  14. package/es/components/dataSourceComponents/fields/Tabs/Tabs.less +2 -1
  15. package/es/components/pisellRecordBoard/shellFrame/ToolBar/index.js +6 -2
  16. package/lib/components/dataSourceComponents/dataSourceSubForm/index.js +16 -3
  17. package/lib/components/dataSourceComponents/dataSourceSubForm/schema-full-example.json +38 -32
  18. package/lib/components/dataSourceComponents/fields/RecordListWrapper/WithMode.js +49 -21
  19. package/lib/components/dataSourceComponents/fields/Tabs/Tabs.d.ts +23 -0
  20. package/lib/components/dataSourceComponents/fields/Tabs/Tabs.js +1 -1
  21. package/lib/components/dataSourceComponents/fields/Tabs/Tabs.less +2 -1
  22. package/lib/components/pisellRecordBoard/shellFrame/ToolBar/index.js +7 -1
  23. package/lowcode/data-source-form/utils.ts +3 -0
  24. package/package.json +1 -1
  25. package/es/components/Pagination/index.d.ts +0 -12
  26. package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.stories.d.ts +0 -163
  27. package/es/components/PisellFields/index.d.ts +0 -36
  28. package/es/components/PisellLayouts/index.d.ts +0 -32
  29. package/es/components/PisellMetrics/index.d.ts +0 -23
  30. package/es/components/PisellTabbar/PisellTabbar.d.ts +0 -20
  31. package/es/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
  32. package/es/components/appVersionControl/index.d.ts +0 -4
  33. package/es/components/cardMetricItem/index.d.ts +0 -15
  34. package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
  35. package/es/components/dataSourceComponents/dataSourceForm/serve.d.ts +0 -178
  36. package/es/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
  37. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -8
  38. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -5
  39. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -101
  40. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -85
  41. package/es/components/dataSourceComponents/fields/DatePicker/WithMode.d.ts +0 -7
  42. package/es/components/dataSourceComponents/fields/DatePicker/index.d.ts +0 -11
  43. package/es/components/dataSourceComponents/fields/RecordListWrapper/type.d.ts +0 -87
  44. package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +0 -5
  45. package/es/components/dataSourceComponents/fields/Translation/type.d.ts +0 -21
  46. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +0 -18
  47. package/es/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
  48. package/es/components/filter/components/Dropdown/index.d.ts +0 -9
  49. package/es/components/filter/components/FilterButton/index.d.ts +0 -4
  50. package/es/components/filter/components/FilterItem/AsyncOptionsSelectWrapper.d.ts +0 -21
  51. package/es/components/filter/components/FilterItem/index.d.ts +0 -5
  52. package/es/components/page/index.d.ts +0 -8
  53. package/es/components/pisellAdjustPrice/index.d.ts +0 -4
  54. package/es/components/pisellBatchActionBar/PisellBatchActionBar.d.ts +0 -31
  55. package/es/components/pisellCardList/index.d.ts +0 -107
  56. package/es/components/pisellCheckboxGroup/index.d.ts +0 -40
  57. package/es/components/pisellCurrency/PisellCurrency.d.ts +0 -39
  58. package/es/components/pisellCurrency/PisellCurrency.stories.d.ts +0 -56
  59. package/es/components/pisellCurrency/components/DisabledView.d.ts +0 -11
  60. package/es/components/pisellCurrency/components/EditView.d.ts +0 -18
  61. package/es/components/pisellCurrency/components/ReadOnlyView.d.ts +0 -17
  62. package/es/components/pisellCurrency/components/index.d.ts +0 -6
  63. package/es/components/pisellCurrency/index.d.ts +0 -7
  64. package/es/components/pisellCurrency/types.d.ts +0 -56
  65. package/es/components/pisellCurrency/utils/currencyFormatter.d.ts +0 -31
  66. package/es/components/pisellCurrency/utils/index.d.ts +0 -5
  67. package/es/components/pisellDataSourceContainer/components/ColumnsSetting/index.d.ts +0 -28
  68. package/es/components/pisellDataSourceContainer/components/ColumnsSetting/utils.d.ts +0 -28
  69. package/es/components/pisellDataSourceContainer/components/Table/index.d.ts +0 -9
  70. package/es/components/pisellDataSourceContainer/components/Table/useColumns.d.ts +0 -14
  71. package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.d.ts +0 -35
  72. package/es/components/pisellDateTimeDisplay/PisellDateTimeDisplay.stories.d.ts +0 -195
  73. package/es/components/pisellDateTimeDisplay/components/DateDisplay.d.ts +0 -48
  74. package/es/components/pisellDateTimeDisplay/components/TimeDisplay.d.ts +0 -42
  75. package/es/components/pisellDateTimeDisplay/components/WeekdayDisplay.d.ts +0 -57
  76. package/es/components/pisellDateTimeDisplay/components/index.d.ts +0 -6
  77. package/es/components/pisellDateTimeDisplay/hooks/index.d.ts +0 -2
  78. package/es/components/pisellDateTimeDisplay/hooks/useCurrentTime.d.ts +0 -46
  79. package/es/components/pisellDateTimeDisplay/index.d.ts +0 -3
  80. package/es/components/pisellDateTimeDisplay/utils/formatDate.d.ts +0 -21
  81. package/es/components/pisellDateTimeDisplay/utils/formatDateOrRelative.d.ts +0 -17
  82. package/es/components/pisellDateTimeDisplay/utils/formatWeekday.d.ts +0 -30
  83. package/es/components/pisellDateTimeDisplay/utils/index.d.ts +0 -7
  84. package/es/components/pisellDateTimeDisplay/utils/localeUtils.d.ts +0 -22
  85. package/es/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +0 -24
  86. package/es/components/pisellEmail/PisellEmail.d.ts +0 -37
  87. package/es/components/pisellEmail/PisellEmail.stories.d.ts +0 -116
  88. package/es/components/pisellEmail/components/DisabledView.d.ts +0 -14
  89. package/es/components/pisellEmail/components/EditView.d.ts +0 -15
  90. package/es/components/pisellEmail/components/ReadOnlyView.d.ts +0 -15
  91. package/es/components/pisellEmail/index.d.ts +0 -7
  92. package/es/components/pisellEmail/types.d.ts +0 -176
  93. package/es/components/pisellEmail/utils/emailHelper.d.ts +0 -66
  94. package/es/components/pisellEmail/utils/emailValidator.d.ts +0 -45
  95. package/es/components/pisellEmail/utils/index.d.ts +0 -6
  96. package/es/components/pisellFilter/index.d.ts +0 -3
  97. package/es/components/pisellFind/PisellFind.stories.d.ts +0 -45
  98. package/es/components/pisellFind/index.d.ts +0 -40
  99. package/es/components/pisellGoodPassCard/index.d.ts +0 -50
  100. package/es/components/pisellLongText/PisellLongText.d.ts +0 -39
  101. package/es/components/pisellLongText/PisellLongText.stories.d.ts +0 -123
  102. package/es/components/pisellLongText/components/DisabledView.d.ts +0 -16
  103. package/es/components/pisellLongText/components/EditView.d.ts +0 -19
  104. package/es/components/pisellLongText/components/ReadOnlyView.d.ts +0 -18
  105. package/es/components/pisellLongText/index.d.ts +0 -7
  106. package/es/components/pisellLongText/types.d.ts +0 -147
  107. package/es/components/pisellMetricCard/PisellMetricCard.d.ts +0 -35
  108. package/es/components/pisellMetricCard/PisellMetricCard.stories.d.ts +0 -17
  109. package/es/components/pisellMetricCard/components/MetricComparison.d.ts +0 -14
  110. package/es/components/pisellMetricCard/components/index.d.ts +0 -7
  111. package/es/components/pisellMetricCard/index.d.ts +0 -6
  112. package/es/components/pisellMetricCard/utils/formatMetricValue.d.ts +0 -34
  113. package/es/components/pisellMetricCard/utils/index.d.ts +0 -5
  114. package/es/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +0 -9
  115. package/es/components/pisellMultipleSelect/PisellMultipleSelect.stories.d.ts +0 -70
  116. package/es/components/pisellMultipleSelect/components/DisabledView.d.ts +0 -8
  117. package/es/components/pisellMultipleSelect/components/EditView.d.ts +0 -8
  118. package/es/components/pisellMultipleSelect/components/ReadOnlyView.d.ts +0 -8
  119. package/es/components/pisellMultipleSelect/index.d.ts +0 -7
  120. package/es/components/pisellMultipleSelect/types.d.ts +0 -160
  121. package/es/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +0 -5
  122. package/es/components/pisellNumber/PisellNumber.d.ts +0 -42
  123. package/es/components/pisellNumber/PisellNumber.stories.d.ts +0 -66
  124. package/es/components/pisellNumber/components/DisabledView.d.ts +0 -11
  125. package/es/components/pisellNumber/components/EditView.d.ts +0 -18
  126. package/es/components/pisellNumber/components/ReadOnlyView.d.ts +0 -16
  127. package/es/components/pisellNumber/components/index.d.ts +0 -6
  128. package/es/components/pisellNumber/index.d.ts +0 -7
  129. package/es/components/pisellNumber/types.d.ts +0 -168
  130. package/es/components/pisellPercent/PisellPercent.d.ts +0 -38
  131. package/es/components/pisellPercent/PisellPercent.stories.d.ts +0 -52
  132. package/es/components/pisellPercent/components/DisabledView.d.ts +0 -11
  133. package/es/components/pisellPercent/components/EditView.d.ts +0 -17
  134. package/es/components/pisellPercent/components/ReadOnlyView.d.ts +0 -14
  135. package/es/components/pisellPercent/components/index.d.ts +0 -6
  136. package/es/components/pisellPercent/index.d.ts +0 -7
  137. package/es/components/pisellPercent/types.d.ts +0 -68
  138. package/es/components/pisellPercent/utils/index.d.ts +0 -6
  139. package/es/components/pisellPercent/utils/percentFormatter.d.ts +0 -27
  140. package/es/components/pisellPhone/PisellPhone.d.ts +0 -36
  141. package/es/components/pisellPhone/PisellPhone.stories.d.ts +0 -80
  142. package/es/components/pisellPhone/components/DisabledView.d.ts +0 -16
  143. package/es/components/pisellPhone/components/EditView.d.ts +0 -19
  144. package/es/components/pisellPhone/components/ReadOnlyView.d.ts +0 -17
  145. package/es/components/pisellPhone/constants/countryCodes.d.ts +0 -20
  146. package/es/components/pisellPhone/index.d.ts +0 -8
  147. package/es/components/pisellPhone/types.d.ts +0 -209
  148. package/es/components/pisellPhone/utils/countryCodeHelper.d.ts +0 -35
  149. package/es/components/pisellPhone/utils/index.d.ts +0 -6
  150. package/es/components/pisellPhone/utils/phoneValidator.d.ts +0 -11
  151. package/es/components/pisellRating/PisellRating.d.ts +0 -31
  152. package/es/components/pisellRating/PisellRating.stories.d.ts +0 -53
  153. package/es/components/pisellRating/index.d.ts +0 -7
  154. package/es/components/pisellRating/types.d.ts +0 -124
  155. package/es/components/pisellRecordBoard/PisellRecordBoard.d.ts +0 -8
  156. package/es/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +0 -81
  157. package/es/components/pisellRecordBoard/context/RecordBoardContext.d.ts +0 -3
  158. package/es/components/pisellRecordBoard/context/RecordBoardProvider.d.ts +0 -11
  159. package/es/components/pisellRecordBoard/hooks/useRecordBoardContext.d.ts +0 -16
  160. package/es/components/pisellRecordBoard/index.d.ts +0 -35
  161. package/es/components/pisellRecordBoard/layouts/CardLayout/CardList.d.ts +0 -12
  162. package/es/components/pisellRecordBoard/layouts/CardLayout/index.d.ts +0 -13
  163. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
  164. package/es/components/pisellRecordBoard/layouts/GridLayout/index.d.ts +0 -13
  165. package/es/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +0 -8
  166. package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/ColumnSettingPopover.d.ts +0 -15
  167. package/es/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +0 -8
  168. package/es/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +0 -14
  169. package/es/components/pisellRecordBoard/shellFrame/Search/index.d.ts +0 -10
  170. package/es/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +0 -17
  171. package/es/components/pisellRecordBoard/shellFrame/ToolBarReset/index.d.ts +0 -16
  172. package/es/components/pisellRecordBoard/shellFrame/index.d.ts +0 -26
  173. package/es/components/pisellRecordBoard/types.d.ts +0 -315
  174. package/es/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +0 -41
  175. package/es/components/pisellRecordBoard/utils/withRecordBoard.d.ts +0 -9
  176. package/es/components/pisellRow/index.d.ts +0 -22
  177. package/es/components/pisellSingleLineText/PisellSingleLineText.d.ts +0 -40
  178. package/es/components/pisellSingleLineText/PisellSingleLineText.stories.d.ts +0 -102
  179. package/es/components/pisellSingleLineText/components/DisabledView.d.ts +0 -16
  180. package/es/components/pisellSingleLineText/components/EditView.d.ts +0 -19
  181. package/es/components/pisellSingleLineText/components/ReadOnlyView.d.ts +0 -20
  182. package/es/components/pisellSingleLineText/index.d.ts +0 -7
  183. package/es/components/pisellSingleLineText/types.d.ts +0 -139
  184. package/es/components/pisellSingleSelect/PisellSingleSelect.d.ts +0 -9
  185. package/es/components/pisellSingleSelect/PisellSingleSelect.stories.d.ts +0 -66
  186. package/es/components/pisellSingleSelect/components/DisabledView.d.ts +0 -8
  187. package/es/components/pisellSingleSelect/components/EditView.d.ts +0 -8
  188. package/es/components/pisellSingleSelect/components/ReadOnlyView.d.ts +0 -8
  189. package/es/components/pisellSingleSelect/index.d.ts +0 -7
  190. package/es/components/pisellSingleSelect/types.d.ts +0 -92
  191. package/es/components/pisellText/components/Amount/index.d.ts +0 -20
  192. package/es/components/pisellText/components/Editable/index.d.ts +0 -32
  193. package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +0 -32
  194. package/es/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.stories.d.ts +0 -61
  195. package/es/components/pisellTimeRangeDisplay/components/DateBlock.d.ts +0 -20
  196. package/es/components/pisellTimeRangeDisplay/components/DurationBlock.d.ts +0 -19
  197. package/es/components/pisellTimeRangeDisplay/components/TimeRangeBlock.d.ts +0 -30
  198. package/es/components/pisellTimeRangeDisplay/components/WeekdayBlock.d.ts +0 -18
  199. package/es/components/pisellTimeRangeDisplay/components/index.d.ts +0 -8
  200. package/es/components/pisellTimeRangeDisplay/index.d.ts +0 -3
  201. package/es/components/pisellTimeRangeDisplay/utils/index.d.ts +0 -4
  202. package/es/components/pisellToast/index.d.ts +0 -17
  203. package/es/components/pisellUrl/PisellUrl.d.ts +0 -37
  204. package/es/components/pisellUrl/PisellUrl.stories.d.ts +0 -108
  205. package/es/components/pisellUrl/components/DisabledView.d.ts +0 -14
  206. package/es/components/pisellUrl/components/EditView.d.ts +0 -15
  207. package/es/components/pisellUrl/components/ReadOnlyView.d.ts +0 -15
  208. package/es/components/pisellUrl/index.d.ts +0 -7
  209. package/es/components/pisellUrl/types.d.ts +0 -160
  210. package/es/components/pisellWalletPassCard/index.d.ts +0 -146
  211. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
  212. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
  213. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
  214. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -29
  215. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
  216. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
  217. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -10
  218. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  219. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
  220. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
  221. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -3
  222. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -8
  223. package/es/components/productCard/cartSkuCard/index.d.ts +0 -10
  224. package/es/components/productCard/components/Header/index.d.ts +0 -3
  225. package/es/components/productCard/components/Sales/index.d.ts +0 -3
  226. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  227. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
  228. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -18
  229. package/es/components/productCard/components/Time/index.d.ts +0 -3
  230. package/es/components/productCard/index.d.ts +0 -7
  231. package/es/components/productCard/utils.d.ts +0 -33
  232. package/es/components/sort/index.d.ts +0 -5
  233. package/es/components/table/Actions/component/ExportImport/index.d.ts +0 -7
  234. package/es/components/table/BasicTable/index.d.ts +0 -3
  235. package/es/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
  236. package/es/components/table/Gallery/index.d.ts +0 -5
  237. package/es/components/table/Table/AddFieldModal/index.d.ts +0 -4
  238. package/es/components/table/Table/index.d.ts +0 -4
  239. package/es/components/table/Table/utils.d.ts +0 -167
  240. package/es/components/table/hooks/useTableSetting.d.ts +0 -21
  241. package/es/components/table/hooks/useTransDataSource.d.ts +0 -12
  242. package/es/components/table/index.d.ts +0 -4
  243. package/es/components/translation/index.d.ts +0 -18
  244. package/es/components/versionModal/index.d.ts +0 -24
  245. package/es/components/virtual-keyboard/Amount/index.d.ts +0 -5
  246. package/es/components/virtual-keyboard/Amount/types.d.ts +0 -44
  247. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
  248. package/es/components/virtual-keyboard/Number/index.d.ts +0 -5
  249. package/es/components/virtual-keyboard/index.d.ts +0 -25
  250. package/es/components/walletCard/index.d.ts +0 -79
  251. package/es/index.d.ts +0 -243
  252. package/lib/components/Pagination/index.d.ts +0 -12
  253. package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.stories.d.ts +0 -163
  254. package/lib/components/PisellFields/index.d.ts +0 -36
  255. package/lib/components/PisellLayouts/index.d.ts +0 -32
  256. package/lib/components/PisellMetrics/index.d.ts +0 -23
  257. package/lib/components/PisellTabbar/PisellTabbar.d.ts +0 -20
  258. package/lib/components/PisellTabbar/template/Template1/PisellTabbar.d.ts +0 -5
  259. package/lib/components/appVersionControl/index.d.ts +0 -4
  260. package/lib/components/cardMetricItem/index.d.ts +0 -15
  261. package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
  262. package/lib/components/dataSourceComponents/dataSourceForm/serve.d.ts +0 -178
  263. package/lib/components/dataSourceComponents/dataSourceForm/submitButton/index.d.ts +0 -39
  264. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -8
  265. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -5
  266. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -101
  267. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -85
  268. package/lib/components/dataSourceComponents/fields/DatePicker/WithMode.d.ts +0 -7
  269. package/lib/components/dataSourceComponents/fields/DatePicker/index.d.ts +0 -11
  270. package/lib/components/dataSourceComponents/fields/RecordListWrapper/type.d.ts +0 -87
  271. package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +0 -5
  272. package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +0 -21
  273. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +0 -18
  274. package/lib/components/dataSourceComponents/provider/variables/VariablesProvider.d.ts +0 -4
  275. package/lib/components/filter/components/Dropdown/index.d.ts +0 -9
  276. package/lib/components/filter/components/FilterButton/index.d.ts +0 -4
  277. package/lib/components/filter/components/FilterItem/AsyncOptionsSelectWrapper.d.ts +0 -21
  278. package/lib/components/filter/components/FilterItem/index.d.ts +0 -5
  279. package/lib/components/page/index.d.ts +0 -8
  280. package/lib/components/pisellAdjustPrice/index.d.ts +0 -4
  281. package/lib/components/pisellBatchActionBar/PisellBatchActionBar.d.ts +0 -31
  282. package/lib/components/pisellCardList/index.d.ts +0 -107
  283. package/lib/components/pisellCheckboxGroup/index.d.ts +0 -40
  284. package/lib/components/pisellCurrency/PisellCurrency.d.ts +0 -39
  285. package/lib/components/pisellCurrency/PisellCurrency.stories.d.ts +0 -56
  286. package/lib/components/pisellCurrency/components/DisabledView.d.ts +0 -11
  287. package/lib/components/pisellCurrency/components/EditView.d.ts +0 -18
  288. package/lib/components/pisellCurrency/components/ReadOnlyView.d.ts +0 -17
  289. package/lib/components/pisellCurrency/components/index.d.ts +0 -6
  290. package/lib/components/pisellCurrency/index.d.ts +0 -7
  291. package/lib/components/pisellCurrency/types.d.ts +0 -56
  292. package/lib/components/pisellCurrency/utils/currencyFormatter.d.ts +0 -31
  293. package/lib/components/pisellCurrency/utils/index.d.ts +0 -5
  294. package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/index.d.ts +0 -28
  295. package/lib/components/pisellDataSourceContainer/components/ColumnsSetting/utils.d.ts +0 -28
  296. package/lib/components/pisellDataSourceContainer/components/Table/index.d.ts +0 -9
  297. package/lib/components/pisellDataSourceContainer/components/Table/useColumns.d.ts +0 -14
  298. package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.d.ts +0 -35
  299. package/lib/components/pisellDateTimeDisplay/PisellDateTimeDisplay.stories.d.ts +0 -195
  300. package/lib/components/pisellDateTimeDisplay/components/DateDisplay.d.ts +0 -48
  301. package/lib/components/pisellDateTimeDisplay/components/TimeDisplay.d.ts +0 -42
  302. package/lib/components/pisellDateTimeDisplay/components/WeekdayDisplay.d.ts +0 -57
  303. package/lib/components/pisellDateTimeDisplay/components/index.d.ts +0 -6
  304. package/lib/components/pisellDateTimeDisplay/hooks/index.d.ts +0 -2
  305. package/lib/components/pisellDateTimeDisplay/hooks/useCurrentTime.d.ts +0 -46
  306. package/lib/components/pisellDateTimeDisplay/index.d.ts +0 -3
  307. package/lib/components/pisellDateTimeDisplay/utils/formatDate.d.ts +0 -21
  308. package/lib/components/pisellDateTimeDisplay/utils/formatDateOrRelative.d.ts +0 -17
  309. package/lib/components/pisellDateTimeDisplay/utils/formatWeekday.d.ts +0 -30
  310. package/lib/components/pisellDateTimeDisplay/utils/index.d.ts +0 -7
  311. package/lib/components/pisellDateTimeDisplay/utils/localeUtils.d.ts +0 -22
  312. package/lib/components/pisellDateTimeDisplay/utils/relativeDay.d.ts +0 -24
  313. package/lib/components/pisellEmail/PisellEmail.d.ts +0 -37
  314. package/lib/components/pisellEmail/PisellEmail.stories.d.ts +0 -116
  315. package/lib/components/pisellEmail/components/DisabledView.d.ts +0 -14
  316. package/lib/components/pisellEmail/components/EditView.d.ts +0 -15
  317. package/lib/components/pisellEmail/components/ReadOnlyView.d.ts +0 -15
  318. package/lib/components/pisellEmail/index.d.ts +0 -7
  319. package/lib/components/pisellEmail/types.d.ts +0 -176
  320. package/lib/components/pisellEmail/utils/emailHelper.d.ts +0 -66
  321. package/lib/components/pisellEmail/utils/emailValidator.d.ts +0 -45
  322. package/lib/components/pisellEmail/utils/index.d.ts +0 -6
  323. package/lib/components/pisellFilter/index.d.ts +0 -3
  324. package/lib/components/pisellFind/PisellFind.stories.d.ts +0 -45
  325. package/lib/components/pisellFind/index.d.ts +0 -40
  326. package/lib/components/pisellGoodPassCard/index.d.ts +0 -50
  327. package/lib/components/pisellLongText/PisellLongText.d.ts +0 -39
  328. package/lib/components/pisellLongText/PisellLongText.stories.d.ts +0 -123
  329. package/lib/components/pisellLongText/components/DisabledView.d.ts +0 -16
  330. package/lib/components/pisellLongText/components/EditView.d.ts +0 -19
  331. package/lib/components/pisellLongText/components/ReadOnlyView.d.ts +0 -18
  332. package/lib/components/pisellLongText/index.d.ts +0 -7
  333. package/lib/components/pisellLongText/types.d.ts +0 -147
  334. package/lib/components/pisellMetricCard/PisellMetricCard.d.ts +0 -35
  335. package/lib/components/pisellMetricCard/PisellMetricCard.stories.d.ts +0 -17
  336. package/lib/components/pisellMetricCard/components/MetricComparison.d.ts +0 -14
  337. package/lib/components/pisellMetricCard/components/index.d.ts +0 -7
  338. package/lib/components/pisellMetricCard/index.d.ts +0 -6
  339. package/lib/components/pisellMetricCard/utils/formatMetricValue.d.ts +0 -34
  340. package/lib/components/pisellMetricCard/utils/index.d.ts +0 -5
  341. package/lib/components/pisellMultipleSelect/PisellMultipleSelect.d.ts +0 -9
  342. package/lib/components/pisellMultipleSelect/PisellMultipleSelect.stories.d.ts +0 -70
  343. package/lib/components/pisellMultipleSelect/components/DisabledView.d.ts +0 -8
  344. package/lib/components/pisellMultipleSelect/components/EditView.d.ts +0 -8
  345. package/lib/components/pisellMultipleSelect/components/ReadOnlyView.d.ts +0 -8
  346. package/lib/components/pisellMultipleSelect/index.d.ts +0 -7
  347. package/lib/components/pisellMultipleSelect/types.d.ts +0 -160
  348. package/lib/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +0 -5
  349. package/lib/components/pisellNumber/PisellNumber.d.ts +0 -42
  350. package/lib/components/pisellNumber/PisellNumber.stories.d.ts +0 -66
  351. package/lib/components/pisellNumber/components/DisabledView.d.ts +0 -11
  352. package/lib/components/pisellNumber/components/EditView.d.ts +0 -18
  353. package/lib/components/pisellNumber/components/ReadOnlyView.d.ts +0 -16
  354. package/lib/components/pisellNumber/components/index.d.ts +0 -6
  355. package/lib/components/pisellNumber/index.d.ts +0 -7
  356. package/lib/components/pisellNumber/types.d.ts +0 -168
  357. package/lib/components/pisellPercent/PisellPercent.d.ts +0 -38
  358. package/lib/components/pisellPercent/PisellPercent.stories.d.ts +0 -52
  359. package/lib/components/pisellPercent/components/DisabledView.d.ts +0 -11
  360. package/lib/components/pisellPercent/components/EditView.d.ts +0 -17
  361. package/lib/components/pisellPercent/components/ReadOnlyView.d.ts +0 -14
  362. package/lib/components/pisellPercent/components/index.d.ts +0 -6
  363. package/lib/components/pisellPercent/index.d.ts +0 -7
  364. package/lib/components/pisellPercent/types.d.ts +0 -68
  365. package/lib/components/pisellPercent/utils/index.d.ts +0 -6
  366. package/lib/components/pisellPercent/utils/percentFormatter.d.ts +0 -27
  367. package/lib/components/pisellPhone/PisellPhone.d.ts +0 -36
  368. package/lib/components/pisellPhone/PisellPhone.stories.d.ts +0 -80
  369. package/lib/components/pisellPhone/components/DisabledView.d.ts +0 -16
  370. package/lib/components/pisellPhone/components/EditView.d.ts +0 -19
  371. package/lib/components/pisellPhone/components/ReadOnlyView.d.ts +0 -17
  372. package/lib/components/pisellPhone/constants/countryCodes.d.ts +0 -20
  373. package/lib/components/pisellPhone/index.d.ts +0 -8
  374. package/lib/components/pisellPhone/types.d.ts +0 -209
  375. package/lib/components/pisellPhone/utils/countryCodeHelper.d.ts +0 -35
  376. package/lib/components/pisellPhone/utils/index.d.ts +0 -6
  377. package/lib/components/pisellPhone/utils/phoneValidator.d.ts +0 -11
  378. package/lib/components/pisellRating/PisellRating.d.ts +0 -31
  379. package/lib/components/pisellRating/PisellRating.stories.d.ts +0 -53
  380. package/lib/components/pisellRating/index.d.ts +0 -7
  381. package/lib/components/pisellRating/types.d.ts +0 -124
  382. package/lib/components/pisellRecordBoard/PisellRecordBoard.d.ts +0 -8
  383. package/lib/components/pisellRecordBoard/PisellRecordBoard.stories.d.ts +0 -81
  384. package/lib/components/pisellRecordBoard/context/RecordBoardContext.d.ts +0 -3
  385. package/lib/components/pisellRecordBoard/context/RecordBoardProvider.d.ts +0 -11
  386. package/lib/components/pisellRecordBoard/hooks/useRecordBoardContext.d.ts +0 -16
  387. package/lib/components/pisellRecordBoard/index.d.ts +0 -35
  388. package/lib/components/pisellRecordBoard/layouts/CardLayout/CardList.d.ts +0 -12
  389. package/lib/components/pisellRecordBoard/layouts/CardLayout/index.d.ts +0 -13
  390. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.d.ts +0 -14
  391. package/lib/components/pisellRecordBoard/layouts/GridLayout/index.d.ts +0 -13
  392. package/lib/components/pisellRecordBoard/shellFrame/BatchActionBar/index.d.ts +0 -8
  393. package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/ColumnSettingPopover.d.ts +0 -15
  394. package/lib/components/pisellRecordBoard/shellFrame/ColumnSetting/index.d.ts +0 -8
  395. package/lib/components/pisellRecordBoard/shellFrame/Pagination/index.d.ts +0 -14
  396. package/lib/components/pisellRecordBoard/shellFrame/Search/index.d.ts +0 -10
  397. package/lib/components/pisellRecordBoard/shellFrame/ToolBarQuickFilter/index.d.ts +0 -17
  398. package/lib/components/pisellRecordBoard/shellFrame/ToolBarReset/index.d.ts +0 -16
  399. package/lib/components/pisellRecordBoard/shellFrame/index.d.ts +0 -26
  400. package/lib/components/pisellRecordBoard/types.d.ts +0 -315
  401. package/lib/components/pisellRecordBoard/utils/recordBoardColumns.d.ts +0 -41
  402. package/lib/components/pisellRecordBoard/utils/withRecordBoard.d.ts +0 -9
  403. package/lib/components/pisellRow/index.d.ts +0 -22
  404. package/lib/components/pisellSingleLineText/PisellSingleLineText.d.ts +0 -40
  405. package/lib/components/pisellSingleLineText/PisellSingleLineText.stories.d.ts +0 -102
  406. package/lib/components/pisellSingleLineText/components/DisabledView.d.ts +0 -16
  407. package/lib/components/pisellSingleLineText/components/EditView.d.ts +0 -19
  408. package/lib/components/pisellSingleLineText/components/ReadOnlyView.d.ts +0 -20
  409. package/lib/components/pisellSingleLineText/index.d.ts +0 -7
  410. package/lib/components/pisellSingleLineText/types.d.ts +0 -139
  411. package/lib/components/pisellSingleSelect/PisellSingleSelect.d.ts +0 -9
  412. package/lib/components/pisellSingleSelect/PisellSingleSelect.stories.d.ts +0 -66
  413. package/lib/components/pisellSingleSelect/components/DisabledView.d.ts +0 -8
  414. package/lib/components/pisellSingleSelect/components/EditView.d.ts +0 -8
  415. package/lib/components/pisellSingleSelect/components/ReadOnlyView.d.ts +0 -8
  416. package/lib/components/pisellSingleSelect/index.d.ts +0 -7
  417. package/lib/components/pisellSingleSelect/types.d.ts +0 -92
  418. package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
  419. package/lib/components/pisellText/components/Editable/index.d.ts +0 -32
  420. package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.d.ts +0 -32
  421. package/lib/components/pisellTimeRangeDisplay/PisellTimeRangeDisplay.stories.d.ts +0 -61
  422. package/lib/components/pisellTimeRangeDisplay/components/DateBlock.d.ts +0 -20
  423. package/lib/components/pisellTimeRangeDisplay/components/DurationBlock.d.ts +0 -19
  424. package/lib/components/pisellTimeRangeDisplay/components/TimeRangeBlock.d.ts +0 -30
  425. package/lib/components/pisellTimeRangeDisplay/components/WeekdayBlock.d.ts +0 -18
  426. package/lib/components/pisellTimeRangeDisplay/components/index.d.ts +0 -8
  427. package/lib/components/pisellTimeRangeDisplay/index.d.ts +0 -3
  428. package/lib/components/pisellTimeRangeDisplay/utils/index.d.ts +0 -4
  429. package/lib/components/pisellToast/index.d.ts +0 -17
  430. package/lib/components/pisellUrl/PisellUrl.d.ts +0 -37
  431. package/lib/components/pisellUrl/PisellUrl.stories.d.ts +0 -108
  432. package/lib/components/pisellUrl/components/DisabledView.d.ts +0 -14
  433. package/lib/components/pisellUrl/components/EditView.d.ts +0 -15
  434. package/lib/components/pisellUrl/components/ReadOnlyView.d.ts +0 -15
  435. package/lib/components/pisellUrl/index.d.ts +0 -7
  436. package/lib/components/pisellUrl/types.d.ts +0 -160
  437. package/lib/components/pisellWalletPassCard/index.d.ts +0 -146
  438. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
  439. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
  440. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
  441. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -29
  442. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
  443. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
  444. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -10
  445. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  446. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
  447. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
  448. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -3
  449. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -8
  450. package/lib/components/productCard/cartSkuCard/index.d.ts +0 -10
  451. package/lib/components/productCard/components/Header/index.d.ts +0 -3
  452. package/lib/components/productCard/components/Sales/index.d.ts +0 -3
  453. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +0 -3
  454. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
  455. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -18
  456. package/lib/components/productCard/components/Time/index.d.ts +0 -3
  457. package/lib/components/productCard/index.d.ts +0 -7
  458. package/lib/components/productCard/utils.d.ts +0 -33
  459. package/lib/components/sort/index.d.ts +0 -5
  460. package/lib/components/table/Actions/component/ExportImport/index.d.ts +0 -7
  461. package/lib/components/table/BasicTable/index.d.ts +0 -3
  462. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
  463. package/lib/components/table/Gallery/index.d.ts +0 -5
  464. package/lib/components/table/Table/AddFieldModal/index.d.ts +0 -4
  465. package/lib/components/table/Table/index.d.ts +0 -4
  466. package/lib/components/table/Table/utils.d.ts +0 -167
  467. package/lib/components/table/hooks/useTableSetting.d.ts +0 -21
  468. package/lib/components/table/hooks/useTransDataSource.d.ts +0 -12
  469. package/lib/components/table/index.d.ts +0 -4
  470. package/lib/components/translation/index.d.ts +0 -18
  471. package/lib/components/versionModal/index.d.ts +0 -24
  472. package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -5
  473. package/lib/components/virtual-keyboard/Amount/types.d.ts +0 -44
  474. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
  475. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -5
  476. package/lib/components/virtual-keyboard/index.d.ts +0 -25
  477. package/lib/components/walletCard/index.d.ts +0 -79
  478. package/lib/index.d.ts +0 -243
@@ -1,20 +0,0 @@
1
- /**
2
- * @title: 金额是否是负
3
- * @description:
4
- * @param {string} type
5
- * @return {*}
6
- * @Author: WangHan
7
- * @Date: 2024-11-22 10:01
8
- */
9
- export declare const minusSign: (item: any, type?: string) => "" | "-";
10
- /**
11
- * @title: 金额格式化
12
- * @description:
13
- * @param {number} price
14
- * @param {string} amountSymbol
15
- * @param {number} digit
16
- * @return {*}
17
- * @Author: WangHan
18
- * @Date: 2024-11-22 10:58
19
- */
20
- export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Resources: (props: any) => JSX.Element | null;
3
- export default Resources;
@@ -1,12 +0,0 @@
1
- import './index.less';
2
- interface IProps {
3
- hideDivider?: boolean;
4
- dataSource: {
5
- symbol?: string;
6
- relation_products?: any[];
7
- bundle?: any[];
8
- };
9
- isShowImage?: boolean;
10
- }
11
- declare const Sales: ({ hideDivider, dataSource, isShowImage }: IProps) => JSX.Element | null;
12
- export default Sales;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Specs: (props: any) => JSX.Element | null;
3
- export default Specs;
@@ -1,8 +0,0 @@
1
- import 'dayjs/locale/zh-cn';
2
- import 'dayjs/locale/en';
3
- import 'dayjs/locale/zh-tw';
4
- import 'dayjs/locale/ja';
5
- import 'dayjs/locale/pt';
6
- import './index.less';
7
- declare const TimeRange: (props: any) => JSX.Element | null;
8
- export default TimeRange;
@@ -1,10 +0,0 @@
1
- import './index.less';
2
- import { ProductCardTypes } from '../types';
3
- interface ISKUCardProps extends ProductCardTypes {
4
- type: 'a2' | 'a5';
5
- rightActions: any[];
6
- escapeDom?: string;
7
- }
8
- export declare const PREFIX = "pisell-cart-sku-card";
9
- declare const CartSkuCard: (props: ISKUCardProps) => JSX.Element;
10
- export default CartSkuCard;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Header: (props: any) => JSX.Element;
3
- export default Header;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Sales: ({ item, isShowNote }: any) => JSX.Element | null;
3
- export default Sales;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const SelectHolder: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
3
- export default SelectHolder;
@@ -1,13 +0,0 @@
1
- import './index.less';
2
- interface SelectHolderModalProps {
3
- visible: boolean;
4
- onClose: () => void;
5
- onConfirm: (value: any) => void;
6
- lists: any[];
7
- value: any[];
8
- holderMaxCount: number;
9
- addHolderButtonText: string;
10
- onAdd: () => void;
11
- }
12
- declare const SelectHolderModal: (props: SelectHolderModalProps) => JSX.Element;
13
- export default SelectHolderModal;
@@ -1,18 +0,0 @@
1
- import './index.less';
2
- interface ResourceItem {
3
- id: string | number;
4
- label: string;
5
- isError?: boolean;
6
- [key: string]: any;
7
- }
8
- interface SelectResourceProps {
9
- lists: ResourceItem[];
10
- value: any;
11
- onChange: (val: any) => void;
12
- resourceMode?: 'multiple' | 'tags' | undefined;
13
- maxLength?: number;
14
- isParallelResource?: boolean;
15
- [key: string]: any;
16
- }
17
- declare const SelectResource: ({ lists, value, onChange, resourceMode, allowClear, onClearResource, maxLength, isErrorResource, resourceErrorText, ...props }: SelectResourceProps) => JSX.Element;
18
- export default SelectResource;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Time: ({ item, isShowHolder, onLike, isShowChangeResource, changeResource, changeHolder, isShowChangeHolder, holderMode, onAddHolder, isShowAddHolderButton, onClearHolder, onClearResource, }: any) => JSX.Element | null;
3
- export default Time;
@@ -1,7 +0,0 @@
1
- import React from 'react';
2
- import { ProductCardTypes } from './types';
3
- import './index.less';
4
- declare const ProductCard: React.FC<ProductCardTypes> & {
5
- V2: any;
6
- };
7
- export default ProductCard;
@@ -1,33 +0,0 @@
1
- import 'dayjs/locale/zh-cn';
2
- import 'dayjs/locale/en';
3
- import 'dayjs/locale/zh-tw';
4
- import 'dayjs/locale/ja';
5
- import 'dayjs/locale/pt';
6
- /**
7
- * @title: 是否英文
8
- * @description:
9
- * @param {any} item
10
- * @return {*}
11
- * @Author: WangHan
12
- * @Date: 2024-12-28 22:49
13
- */
14
- export declare const isEn: (item: any) => boolean;
15
- /**
16
- * @title: 跨日预约时间
17
- * @description:
18
- * @param {any} item
19
- * @return {*}
20
- * @Author: WangHan
21
- * @Date: 2024-12-28 22:50
22
- */
23
- export declare const formatMultiDayDate: (item: any) => string;
24
- /**
25
- * @title: 格式化服务的 开始时间-结束时间-时长, 用于展示
26
- * @description:
27
- * @param {any} item
28
- * @param {any} currentDate
29
- * @return {*}
30
- * @Author: zhiwei.Wang
31
- * @Date: 2024-04-26 14:04
32
- */
33
- export declare const getServiceTime: (item: any, currentDate: any) => string;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { SortListProps } from './types';
3
- import './index.less';
4
- declare const Sort: React.FC<SortListProps>;
5
- export default Sort;
@@ -1,7 +0,0 @@
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;
@@ -1,3 +0,0 @@
1
- import { TableProps } from 'antd';
2
- declare const BasicTable: (props: TableProps<any>) => JSX.Element;
3
- export default BasicTable;
@@ -1,14 +0,0 @@
1
- import React from "react";
2
- import { GallerySettingType, GallerySettingValueType } from "../../../types";
3
- import "./index.less";
4
- declare type GalleryItemProps = {
5
- record: Record<string, any>;
6
- gallery: GallerySettingType;
7
- columnsMap: Map<string, Record<string, any>>;
8
- index: number;
9
- gallerySetting: GallerySettingValueType;
10
- columns: Record<string, any>[];
11
- onClick: React.MouseEventHandler<HTMLDivElement>;
12
- };
13
- declare const GalleryItem: (props: GalleryItemProps) => JSX.Element;
14
- export default GalleryItem;
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { GalleryProps } from './types';
3
- import './index.less';
4
- declare const _default: React.MemoExoticComponent<(props: GalleryProps) => JSX.Element>;
5
- export default _default;
@@ -1,4 +0,0 @@
1
- import React from "react";
2
- import "./index.less";
3
- declare const AddFieldModal: React.FC;
4
- export default AddFieldModal;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare const _default: React.NamedExoticComponent<any>;
4
- export default _default;
@@ -1,167 +0,0 @@
1
- import { GroupValue } from "../Actions/component/Group/PopoverContent";
2
- import { FilterItemProps, FilterType } from "../../filter/types";
3
- import { ColumnSettingType, DataSourceGroupType, GallerySettingValueType, ModeType, SortType } from "../types";
4
- export declare const getHash: (obj: any) => any;
5
- export declare const calcFilterSort: ({ dataSource, filter, sort, columns }: any) => any;
6
- /**
7
- * 合并列设置
8
- * @param defaultColumns 默认列设置
9
- * @param tableId 表ID
10
- * @returns 合并后的列设置
11
- */
12
- export declare const mergeColumnSetting: ({ columns, tableId, currentViewMode, }: {
13
- columns: Record<string, any>[];
14
- tableId?: string | undefined;
15
- currentViewMode: ModeType;
16
- }) => {
17
- isShow: boolean;
18
- }[] | ({
19
- width: any;
20
- isShow: any;
21
- sortIndex: number;
22
- } | {
23
- isShow: boolean;
24
- sortIndex: number;
25
- })[];
26
- /**
27
- * 对数据源进行排序
28
- * @param dataSource 数据源数组
29
- * @param sortObj 排序对象,包含排序的键、值和类型
30
- * @returns 排序后的数据源数组
31
- */
32
- export declare const sortDataSource: (dataSource: Record<string, any>[], sortObj: {
33
- sortKey: string;
34
- sortValue: "asc" | "desc";
35
- sortType: "date" | "string" | "number";
36
- }) => Record<string, any>[];
37
- /**
38
- * 根据行键获取 ID
39
- * @param item 记录对象
40
- * @param rowKey 行键,可以是字符串或函数
41
- * @returns 返回 ID
42
- */
43
- export declare const getIdByRowKey: (item: Record<string, any>, rowKey: string | ((params: any) => string)) => any;
44
- /**
45
- * 根据分组条件对数据源进行分组
46
- * @param dataSource 数据源
47
- * @param group 分组条件
48
- * @param rowKey 行键生成函数或字符串
49
- * @returns 返回分组后的数据源
50
- */
51
- export declare const groupDataSource: (dataSource: Record<string, any>[], group: GroupValue, rowKey: string | ((params: any) => string)) => Record<string, any>[];
52
- declare type ViewSetting = {
53
- order_by: string;
54
- group_by: GroupValue;
55
- column_setting: Record<string, any>[];
56
- gallery_setting: GallerySettingValueType;
57
- filters: any;
58
- filter_setting: {
59
- quickFilter: FilterItemProps[];
60
- otherFilter: FilterItemProps[];
61
- };
62
- };
63
- /**
64
- * 本地存储的表格设置对象
65
- */
66
- declare type TableSettingObjType = {
67
- view_mode: ModeType;
68
- currentSettingHash: string;
69
- } & {
70
- [K in ModeType]: ViewSetting;
71
- };
72
- /**
73
- * 将表格设置保存到本地存储
74
- * @param tableId 表格id
75
- * @param tableSettingObj 表格设置对象
76
- */
77
- export declare const setTableSettingToLocalStorage: ({ tableId, tableSettingObj, currentViewMode, currentSettingHash, }: {
78
- tableId: string;
79
- tableSettingObj: Partial<ViewSetting & {
80
- view_mode: ModeType;
81
- }>;
82
- currentViewMode: ModeType;
83
- currentSettingHash: string;
84
- }) => {
85
- key: string;
86
- value: Record<string, any>;
87
- } | undefined;
88
- export declare const clearTableSettingToLocalStorage: (tableId?: string) => void;
89
- /**
90
- * 从本地存储中获取表格设置, 全部配置
91
- * @param tableId 表格ID
92
- * @returns 表格设置对象
93
- */
94
- export declare const getTableSettingFromLocalStorage: (tableId?: string) => Partial<TableSettingObjType>;
95
- /**
96
- * 从LocalStorage读取表当前视图模式
97
- * @param tableId
98
- */
99
- export declare const getCurrentViewModeFromLocalStorage: (tableId?: string) => ModeType | undefined;
100
- /**
101
- * 根据视图模式获取配置
102
- * @param tableId
103
- * @param currentViewMode
104
- */
105
- export declare const getTableSettingByCurrentViewMode: (tableId: string, currentViewMode: ModeType) => ViewSetting | undefined;
106
- /**
107
- * 将表单值保存到本地存储中
108
- * @param tableId 表单ID
109
- * @param allValues 表单所有值
110
- * @param keys 存储的键名
111
- */
112
- export declare const setFormValuesToLocalStorage: ({ tableId, allValues, keys, currentViewMode, currentSettingHash, }: {
113
- tableId?: string | undefined;
114
- allValues?: Record<string, any> | undefined;
115
- keys?: string[] | undefined;
116
- currentViewMode: ModeType;
117
- currentSettingHash: string;
118
- }) => {
119
- key: string;
120
- value: Record<string, any>;
121
- } | undefined;
122
- /**
123
- * 合并筛选设置
124
- * @param list 列表数据
125
- * @param quickFilterMaxLength 快速筛选最大长度
126
- * @param tableId 表ID
127
- * @returns 返回合并后的筛选设置
128
- */
129
- export declare const mergeFilterSetting: ({ list, quickFilterMaxLength, tableId, sortButtonShow, currentViewMode, }: {
130
- list: FilterItemProps[];
131
- quickFilterMaxLength: number;
132
- tableId?: string | undefined;
133
- sortButtonShow: boolean;
134
- currentViewMode: ModeType;
135
- }) => {
136
- quickFilter: FilterItemProps[];
137
- otherFilter: FilterItemProps[];
138
- notSortFilter: FilterItemProps[];
139
- };
140
- /**
141
- * 过滤数据源
142
- * @param dataSource 数据源
143
- * @param filters 过滤条件
144
- * @param filterLocalArr 本地过滤项
145
- * @returns 过滤后的数据源
146
- */
147
- export declare const filterDataSource: (dataSource: Record<string, any>[], filters: Record<string, any>, filterLocalArr: FilterItemProps[]) => Record<string, any>[];
148
- /**
149
- * 根据模式获取设置键数组
150
- * @param filter 筛选器
151
- * @param columnSetting 列设置
152
- * @param dataSourceGroup 数据源分组
153
- * @param sort 排序
154
- * @param mode 模式,可选值为 "localStorage" 或 "remote"
155
- * @returns 返回设置键数组
156
- */
157
- export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourceGroup, sort, mode, currentViewMode, }: {
158
- filter?: FilterType | undefined;
159
- columnSetting?: ColumnSettingType | undefined;
160
- dataSourceGroup?: DataSourceGroupType | undefined;
161
- sort?: SortType | undefined;
162
- mode: "" | "localStorage" | "remote";
163
- currentViewMode: ModeType;
164
- }) => ("filters" | "view_mode" | "order_by" | "group_by" | "column_setting" | "gallery_setting" | "filter_setting")[];
165
- export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
166
- export declare const stringify: (obj: Record<string, any>) => string;
167
- export {};
@@ -1,21 +0,0 @@
1
- import { FilterType } from "../../filter/types";
2
- import { ColumnSettingType, DataSourceGroupType, GallerySettingType, GridViewType, ModeType, SortType, ExportImportModeType, LocalSettingsType } from "../types";
3
- declare type UseTableSettingProps = {
4
- tableId?: string;
5
- filter: FilterType;
6
- columns: Record<string, any>[];
7
- columnSetting?: ColumnSettingType;
8
- dataSourceGroup?: DataSourceGroupType;
9
- sort?: SortType;
10
- view: GridViewType;
11
- currentViewMode: ModeType;
12
- gallery?: GallerySettingType;
13
- currentSettingHash: string;
14
- exportImport?: ExportImportModeType;
15
- localSettings?: LocalSettingsType;
16
- };
17
- declare const useTableSetting: (params: UseTableSettingProps) => {
18
- setTableSetting: (values: Record<string, any>) => void;
19
- tableSetting: any;
20
- };
21
- export default useTableSetting;
@@ -1,12 +0,0 @@
1
- import { FormInstance } from "antd/es/form";
2
- import { FilterType } from "../../filter/types";
3
- declare type UseTransDataSourceParams = {
4
- form: FormInstance;
5
- localPagination: boolean;
6
- dataSource: Record<string, any>[];
7
- rowKey: string | ((params: any) => string);
8
- filter: FilterType;
9
- currentView: 'gallery' | 'table';
10
- };
11
- declare const useTransDataSource: (params: UseTransDataSourceParams) => Record<string, any>[];
12
- export default useTransDataSource;
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare const _default: React.ForwardRefExoticComponent<Omit<any, "ref"> & React.RefAttributes<unknown>>;
4
- export default _default;
@@ -1,18 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- declare type Value = {
4
- en: string;
5
- 'zh-CN': string;
6
- 'zh-HK': string;
7
- 'ja': string;
8
- 'pt': string;
9
- };
10
- interface TranslationProps {
11
- value: Value;
12
- onChange: (value: Value) => void;
13
- maxLength?: number;
14
- type?: 'text' | 'textarea';
15
- id?: string;
16
- }
17
- declare const Translation: React.FC<TranslationProps>;
18
- export default Translation;
@@ -1,24 +0,0 @@
1
- import React from 'react';
2
- import { Version } from '../versionSelect';
3
- import './index.less';
4
- interface PublishVersionModalProps {
5
- visible: boolean;
6
- currentVersion: string;
7
- onCancel: () => void;
8
- onConfirm: (data: VersionData) => void;
9
- isShowNote?: boolean;
10
- confirmLoading?: boolean;
11
- versions?: Version[];
12
- isShowBasedOn?: boolean;
13
- isShowCurrentVersion?: boolean;
14
- isValidateVersion?: boolean;
15
- title: string;
16
- }
17
- interface VersionData {
18
- version: string;
19
- note: string;
20
- baseVersion?: string;
21
- versionType?: string;
22
- }
23
- declare const PublishVersionModal: React.FC<PublishVersionModalProps>;
24
- export default PublishVersionModal;
@@ -1,5 +0,0 @@
1
- import { AmountProps, RightItemsStyleProps } from './types';
2
- import './index.less';
3
- export type { AmountProps, RightItemsStyleProps };
4
- declare const Amount: (props: AmountProps) => JSX.Element;
5
- export default Amount;
@@ -1,44 +0,0 @@
1
- /// <reference types="react" />
2
- import { BaseNumberKeyboardProps } from '../BaseNumberKeyboard';
3
- export interface RightItemsStyleProps {
4
- buttonBackgroundColor?: string;
5
- textColor?: string;
6
- resetButtonBackgroundColor?: string;
7
- resetButtonTextColor?: string;
8
- isDoneButtonFollowTheme?: boolean;
9
- doneButtonBackgroundColor?: string;
10
- doneButtonTextColor?: string;
11
- }
12
- export interface AmountProps {
13
- max?: number;
14
- min?: number;
15
- doneText?: string;
16
- resetText?: string;
17
- defaultValue?: string | number;
18
- placeholder?: string;
19
- amountProps?: {
20
- showCurrencySymbol: boolean;
21
- useThousandsSeparator: boolean;
22
- };
23
- presets?: BaseNumberKeyboardProps['presets'];
24
- value?: string | number;
25
- onChange?: (val: string | number) => void;
26
- onEnter?: (val: string | number) => void;
27
- defaultSelect?: boolean;
28
- inputFormat?: (_v: string) => React.ReactNode | null;
29
- rightItemsStyle?: RightItemsStyleProps;
30
- selectType?: 'light' | 'dark';
31
- backgroundColor?: string;
32
- containerBackgroundColor?: string;
33
- buttonBackgroundColor?: string;
34
- textColor?: string;
35
- resetButtonBackgroundColor?: string;
36
- resetButtonTextColor?: string;
37
- isDoneButtonFollowTheme?: boolean;
38
- doneButtonBackgroundColor?: string;
39
- doneButtonTextColor?: string;
40
- keyboardBackgroundColor?: string;
41
- keyboardButtonBackgroundColor?: string;
42
- keyboardButtonTextColor?: string;
43
- keyboardButtonHoverColor?: string;
44
- }
@@ -1,25 +0,0 @@
1
- import React from 'react';
2
- import { PresetsProps } from './Presets';
3
- import { KeyboardProps } from '../Keyboard';
4
- import { RightItemsStyleProps } from '../Amount';
5
- import './index.less';
6
- export interface BaseNumberKeyboardProps {
7
- placeholder?: string;
8
- format?: (val: string) => React.ReactNode;
9
- defaultValue?: string | number;
10
- doneText?: string;
11
- resetText?: string;
12
- onChange?: (val: string) => void;
13
- onEnter?: (val: string) => void;
14
- value?: string | number;
15
- max?: number;
16
- min?: number;
17
- presets?: PresetsProps['presets'];
18
- defaultSelect?: boolean;
19
- rightItemsStyle?: RightItemsStyleProps;
20
- customDisplay?: React.ReactNode | ((props: any) => React.ReactNode);
21
- keyboardProps?: KeyboardProps;
22
- style?: React.CSSProperties;
23
- }
24
- declare const BaseNumberKeyboard: (props: BaseNumberKeyboardProps) => JSX.Element;
25
- export default BaseNumberKeyboard;
@@ -1,5 +0,0 @@
1
- import { NumberProps } from './types';
2
- import './index.less';
3
- export type { NumberProps };
4
- declare const Number: (props: NumberProps) => JSX.Element;
5
- export default Number;
@@ -1,25 +0,0 @@
1
- import React from "react";
2
- import { KeyboardProps } from "./Keyboard";
3
- import { VirtualKeyInputProps } from "./VirtualKeyInput";
4
- import "./index.less";
5
- interface VirtualKeyboardProps extends React.HTMLAttributes<HTMLDivElement> {
6
- keyboardProps?: KeyboardProps;
7
- virtualKeyInputProps?: VirtualKeyInputProps;
8
- rightPanel?: React.ReactNode;
9
- style?: React.CSSProperties;
10
- onChange?: (value?: any) => void;
11
- value?: string;
12
- selectType?: 'light' | 'dark';
13
- backgroundColor?: string;
14
- containerBackgroundColor?: string;
15
- buttonBackgroundColor?: string;
16
- textColor?: string;
17
- keyboardBackgroundColor?: string;
18
- keyboardButtonBackgroundColor?: string;
19
- keyboardButtonTextColor?: string;
20
- keyboardButtonHoverColor?: string;
21
- primaryButtonBackgroundColor?: string;
22
- primaryButtonTextColor?: string;
23
- }
24
- declare const VirtualKeyboard: (props: VirtualKeyboardProps) => JSX.Element;
25
- export default VirtualKeyboard;
@@ -1,79 +0,0 @@
1
- import React from 'react';
2
- import './index.less';
3
- export interface WalletCardItem {
4
- type: string;
5
- custom_title?: string | {
6
- original: string;
7
- en: string;
8
- 'zh-CN': string;
9
- 'zh-HK': string;
10
- 'ja': string;
11
- 'pt': string;
12
- };
13
- display?: 0 | 1;
14
- value?: number;
15
- }
16
- export interface WalletCardProps {
17
- /** 钱包ID */
18
- id?: string;
19
- /** 二维码弹窗适配平台 */
20
- platform?: 'pc' | 'h5' | 'ipad';
21
- /** 卡片主题 */
22
- mode?: 'dark' | 'light';
23
- /** 默认还是完整显示code */
24
- cardStyle?: 'normal' | 'full';
25
- /** 条形码还是二维码 */
26
- codeType?: 'barCode' | 'qrCode';
27
- /** 二维码方向 */
28
- codeDirection?: 'bottom' | 'top';
29
- /** 自定义背景图 */
30
- customBackgroundImage?: string;
31
- /** 图标:可以是React组件或图片URL */
32
- showIcon?: boolean;
33
- showWalletName?: boolean;
34
- iconImg?: string;
35
- /** 钱包名称 */
36
- walletName?: string;
37
- /** 店铺名称 */
38
- shopName?: string;
39
- /** 是否显示店铺名称 */
40
- showShopName?: boolean;
41
- /** 卡号 */
42
- cardNo?: string;
43
- /** 是否显示卡号 */
44
- showCardNo?: boolean;
45
- /** 是否显示二维码 */
46
- showCode?: boolean;
47
- /** 点击二维码/条形码的回调 */
48
- onCodeClick?: () => void;
49
- /** 货币符号 */
50
- symbol: string;
51
- /** 点击卡片的回调 */
52
- onClick?: () => void;
53
- /** 自定义类名 */
54
- className?: string;
55
- items: WalletCardItem[];
56
- /** 自定义样式 */
57
- style?: React.CSSProperties;
58
- title?: string;
59
- subTitle?: string;
60
- align?: 'left' | 'center';
61
- buttonText?: string;
62
- [key: string]: any;
63
- /** 是否已登录 */
64
- isLogin?: boolean;
65
- /** 是否是引导页 */
66
- isGuide?: boolean;
67
- /** 是否显示查看PIN */
68
- showViewPin?: boolean;
69
- /** 查看PIN的回调 */
70
- onViewPinClick?: () => void;
71
- /** 是否显示持有人 */
72
- showHolderName?: boolean;
73
- /** 持有人, 表单记录,展示时一般取main_field */
74
- holder?: any;
75
- /** 持有人点击回调 */
76
- onSetHolder?: (currentValue?: any) => void;
77
- }
78
- declare const WalletCard: React.FC<WalletCardProps>;
79
- export default WalletCard;