@pisell/materials 6.8.17 → 6.9.1

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 (254) 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 +1 -1
  6. package/build/lowcode/render/default/view.js +2 -2
  7. package/build/lowcode/view.js +2 -2
  8. package/es/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +1 -0
  9. package/es/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +1 -0
  10. package/es/components/PisellCards/index.d.ts +1 -0
  11. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  12. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +3 -2
  13. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  14. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
  15. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
  16. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  17. package/es/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +1 -0
  18. package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
  19. package/es/components/dataSourceComponents/fields/index.d.ts +16 -16
  20. package/es/components/date-picker/datePickerCpt.d.ts +1 -0
  21. package/es/components/date-picker/index.d.ts +1 -0
  22. package/es/components/lowCodePage/index.d.ts +1 -0
  23. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
  24. package/es/components/pisellDataSourceContainer/components/Pagination/index.js +1 -6
  25. package/es/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +2 -2
  26. package/es/components/pisellDatePicker/index.d.ts +1 -0
  27. package/es/components/pisellInput/components/Copy/index.d.ts +1 -0
  28. package/es/components/pisellInput/index.d.ts +1 -0
  29. package/es/components/pisellLoading/index.d.ts +1 -0
  30. package/es/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  31. package/es/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  32. package/es/components/pisellModal/components/index.d.ts +1 -0
  33. package/es/components/productCard/components/AmountFooter/index.d.ts +1 -0
  34. package/es/components/productCard/components/Header/EditButton/index.d.ts +1 -0
  35. package/es/components/productCard/components/MultiDay/index.d.ts +1 -0
  36. package/es/components/productCard/components/Note/index.d.ts +1 -0
  37. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  38. package/es/components/productCard/components/Packages/components/options/index.d.ts +1 -0
  39. package/es/components/productCard/components/Packages/index.d.ts +1 -0
  40. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
  41. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
  42. package/es/components/qrcode/index.d.ts +1 -0
  43. package/es/components/select-time/index.d.ts +1 -0
  44. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  45. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  46. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
  47. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  48. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  49. package/es/components/table/Table/fields/index.d.ts +2 -2
  50. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  51. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  52. package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  53. package/es/components/table/Table/utils.d.ts +1 -1
  54. package/es/utils/index.d.ts +1 -1
  55. package/es/utils/platform.d.ts +1 -1
  56. package/lib/components/PisellCards/components/GraphicTextCard/GraphicTextCard.d.ts +1 -0
  57. package/lib/components/PisellCards/components/PisellImageCard/PisellImageCard.d.ts +1 -0
  58. package/lib/components/PisellCards/index.d.ts +1 -0
  59. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  60. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +3 -2
  61. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  62. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
  63. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
  64. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  65. package/lib/components/dataSourceComponents/fields/Upload/CameraPopover.d.ts +1 -0
  66. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
  67. package/lib/components/dataSourceComponents/fields/index.d.ts +16 -16
  68. package/lib/components/date-picker/datePickerCpt.d.ts +1 -0
  69. package/lib/components/date-picker/index.d.ts +1 -0
  70. package/lib/components/lowCodePage/index.d.ts +1 -0
  71. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +1 -0
  72. package/lib/components/pisellDataSourceContainer/components/Pagination/index.js +0 -4
  73. package/lib/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +2 -2
  74. package/lib/components/pisellDatePicker/index.d.ts +1 -0
  75. package/lib/components/pisellInput/components/Copy/index.d.ts +1 -0
  76. package/lib/components/pisellInput/index.d.ts +1 -0
  77. package/lib/components/pisellLoading/index.d.ts +1 -0
  78. package/lib/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  79. package/lib/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  80. package/lib/components/pisellModal/components/index.d.ts +1 -0
  81. package/lib/components/productCard/components/AmountFooter/index.d.ts +1 -0
  82. package/lib/components/productCard/components/Header/EditButton/index.d.ts +1 -0
  83. package/lib/components/productCard/components/MultiDay/index.d.ts +1 -0
  84. package/lib/components/productCard/components/Note/index.d.ts +1 -0
  85. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  86. package/lib/components/productCard/components/Packages/components/options/index.d.ts +1 -0
  87. package/lib/components/productCard/components/Packages/index.d.ts +1 -0
  88. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
  89. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
  90. package/lib/components/qrcode/index.d.ts +1 -0
  91. package/lib/components/select-time/index.d.ts +1 -0
  92. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  93. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  94. package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
  95. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  96. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  97. package/lib/components/table/Table/fields/index.d.ts +2 -2
  98. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  99. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  100. package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  101. package/lib/components/table/Table/utils.d.ts +1 -1
  102. package/lib/utils/index.d.ts +1 -1
  103. package/lib/utils/platform.d.ts +1 -1
  104. package/package.json +1 -1
  105. package/es/components/PisellCards/components/GraphicTextCard/types.d.ts +0 -290
  106. package/es/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
  107. package/es/components/PisellCards/components/TextCard/TextCard.d.ts +0 -7
  108. package/es/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +0 -26
  109. package/es/components/PisellCards/components/TextCard/components/TextContent.d.ts +0 -21
  110. package/es/components/PisellCards/components/TextCard/types.d.ts +0 -270
  111. package/es/components/cardPro/index.d.ts +0 -3
  112. package/es/components/dataSourceComponents/dataSourceForm/serve.d.ts +0 -179
  113. package/es/components/dataSourceComponents/dataSourceForm/urlUtils.d.ts +0 -24
  114. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -2
  115. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -4
  116. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -84
  117. package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -24
  118. package/es/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +0 -5
  119. package/es/components/dataSourceComponents/fields/Translation/type.d.ts +0 -16
  120. package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
  121. package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
  122. package/es/components/drag-sort-tree/index.d.ts +0 -4
  123. package/es/components/iconfont/index.d.ts +0 -8
  124. package/es/components/login-and-register/index.d.ts +0 -82
  125. package/es/components/pisell-config-provider/context.d.ts +0 -22
  126. package/es/components/pisell-config-provider/index.d.ts +0 -13
  127. package/es/components/pisellAdjustPrice/index.d.ts +0 -4
  128. package/es/components/pisellAdjustPrice/status.d.ts +0 -32
  129. package/es/components/pisellAdjustPrice/type.d.ts +0 -22
  130. package/es/components/pisellCheckboxGroup/index.d.ts +0 -40
  131. package/es/components/pisellEmpty/index.d.ts +0 -19
  132. package/es/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +0 -5
  133. package/es/components/pisellText/components/Amount/index.d.ts +0 -20
  134. package/es/components/pisellToast/index.d.ts +0 -17
  135. package/es/components/pisellToast/squareToast/index.d.ts +0 -15
  136. package/es/components/pisellToast/squareToast/methods.d.ts +0 -13
  137. package/es/components/pisellToast/squareToast/renderImperatively.d.ts +0 -28
  138. package/es/components/pisellToast/squareToast/toast.d.ts +0 -25
  139. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
  140. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
  141. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
  142. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
  143. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -32
  144. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
  145. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
  146. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -11
  147. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  148. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
  149. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
  150. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -21
  151. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
  152. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -6
  153. package/es/components/productCard/cartSkuCard/index.d.ts +0 -10
  154. package/es/components/productCard/cartSkuCard/locales.d.ts +0 -99
  155. package/es/components/productCard/components/Action/index.d.ts +0 -3
  156. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
  157. package/es/components/productCard/components/Header/index.d.ts +0 -3
  158. package/es/components/productCard/components/Sales/index.d.ts +0 -3
  159. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
  160. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -18
  161. package/es/components/productCard/components/Time/index.d.ts +0 -3
  162. package/es/components/productCard/locales.d.ts +0 -84
  163. package/es/components/productCard/status.d.ts +0 -32
  164. package/es/components/productCard/types.d.ts +0 -85
  165. package/es/components/productCard/utils.d.ts +0 -31
  166. package/es/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
  167. package/es/components/table/types.d.ts +0 -268
  168. package/es/components/translation/index.d.ts +0 -14
  169. package/es/components/virtual-keyboard/Amount/index.d.ts +0 -5
  170. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  171. package/es/components/virtual-keyboard/Amount/types.d.ts +0 -44
  172. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
  173. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
  174. package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  175. package/es/components/virtual-keyboard/Number/index.d.ts +0 -5
  176. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  177. package/es/components/virtual-keyboard/Number/types.d.ts +0 -26
  178. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  179. package/es/components/virtual-keyboard/index.d.ts +0 -25
  180. package/lib/components/PisellCards/components/GraphicTextCard/types.d.ts +0 -290
  181. package/lib/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
  182. package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +0 -7
  183. package/lib/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +0 -26
  184. package/lib/components/PisellCards/components/TextCard/components/TextContent.d.ts +0 -21
  185. package/lib/components/PisellCards/components/TextCard/types.d.ts +0 -270
  186. package/lib/components/cardPro/index.d.ts +0 -3
  187. package/lib/components/dataSourceComponents/dataSourceForm/serve.d.ts +0 -179
  188. package/lib/components/dataSourceComponents/dataSourceForm/urlUtils.d.ts +0 -24
  189. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -2
  190. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -4
  191. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -84
  192. package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -24
  193. package/lib/components/dataSourceComponents/fields/Translation/BaseTranslation.d.ts +0 -5
  194. package/lib/components/dataSourceComponents/fields/Translation/type.d.ts +0 -16
  195. package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
  196. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
  197. package/lib/components/drag-sort-tree/index.d.ts +0 -4
  198. package/lib/components/iconfont/index.d.ts +0 -8
  199. package/lib/components/login-and-register/index.d.ts +0 -82
  200. package/lib/components/pisell-config-provider/context.d.ts +0 -22
  201. package/lib/components/pisell-config-provider/index.d.ts +0 -13
  202. package/lib/components/pisellAdjustPrice/index.d.ts +0 -4
  203. package/lib/components/pisellAdjustPrice/status.d.ts +0 -32
  204. package/lib/components/pisellAdjustPrice/type.d.ts +0 -22
  205. package/lib/components/pisellCheckboxGroup/index.d.ts +0 -40
  206. package/lib/components/pisellEmpty/index.d.ts +0 -19
  207. package/lib/components/pisellNavigationMenu/PisellNavigationMenu.d.ts +0 -5
  208. package/lib/components/pisellText/components/Amount/index.d.ts +0 -20
  209. package/lib/components/pisellToast/index.d.ts +0 -17
  210. package/lib/components/pisellToast/squareToast/index.d.ts +0 -15
  211. package/lib/components/pisellToast/squareToast/methods.d.ts +0 -13
  212. package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +0 -28
  213. package/lib/components/pisellToast/squareToast/toast.d.ts +0 -25
  214. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +0 -3
  215. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -3
  216. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
  217. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +0 -3
  218. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -32
  219. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +0 -2
  220. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -3
  221. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +0 -11
  222. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +0 -20
  223. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -3
  224. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +0 -12
  225. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +0 -21
  226. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
  227. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -6
  228. package/lib/components/productCard/cartSkuCard/index.d.ts +0 -10
  229. package/lib/components/productCard/cartSkuCard/locales.d.ts +0 -99
  230. package/lib/components/productCard/components/Action/index.d.ts +0 -3
  231. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
  232. package/lib/components/productCard/components/Header/index.d.ts +0 -3
  233. package/lib/components/productCard/components/Sales/index.d.ts +0 -3
  234. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +0 -13
  235. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +0 -18
  236. package/lib/components/productCard/components/Time/index.d.ts +0 -3
  237. package/lib/components/productCard/locales.d.ts +0 -84
  238. package/lib/components/productCard/status.d.ts +0 -32
  239. package/lib/components/productCard/types.d.ts +0 -85
  240. package/lib/components/productCard/utils.d.ts +0 -31
  241. package/lib/components/table/Gallery/components/GalleryItem/index.d.ts +0 -14
  242. package/lib/components/table/types.d.ts +0 -268
  243. package/lib/components/translation/index.d.ts +0 -14
  244. package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -5
  245. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  246. package/lib/components/virtual-keyboard/Amount/types.d.ts +0 -44
  247. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
  248. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +0 -25
  249. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  250. package/lib/components/virtual-keyboard/Number/index.d.ts +0 -5
  251. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  252. package/lib/components/virtual-keyboard/Number/types.d.ts +0 -26
  253. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  254. package/lib/components/virtual-keyboard/index.d.ts +0 -25
@@ -1,99 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'pisell2.product.card.discount.reason': string;
4
- 'pisell2.cart.sku-card.more': string;
5
- 'pisell2.cart.sku-card.packages.title': string;
6
- 'pisell2.cart.sku-card.sales.title': string;
7
- 'pisell2.cart.sku-card.actions.delete': string;
8
- 'pisell2.cart.sku-card.unassigned': string;
9
- 'pisell2.product.card.day': (val: number) => string;
10
- 'pisell2.product.card.day.event': (val: number) => string;
11
- 'pisell2.product.card.minute': (val: number) => string;
12
- 'pisell2.product.card.discount.note': string;
13
- 'pisell2.product.card.edit': string;
14
- 'pisell2.product.card.discount.add.note': string;
15
- 'pisell2.product.card.discount.edit.note': string;
16
- 'pisell2.product.card.confirm': string;
17
- 'pisell2.product.card.cancel': string;
18
- 'pisell2.product.card.note.pla': string;
19
- 'pisell2.product.card.items.package': string;
20
- 'pisell2.product.card.view-all': string;
21
- 'pisell2.product.card.view-less': string;
22
- 'pisell2.product.card.add.holder.button.text': (val: string) => string;
23
- 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
24
- 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
25
- 'pisell2.product.card.add.holder.modal.title.1': string;
26
- 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
27
- 'pisell2.product.card.sales': string;
28
- 'pisell2.product.card.add.holder.modal.cancel': string;
29
- 'pisell2.product.card.add.holder.modal.clear': string;
30
- 'pisell2.product.card.add.holder.modal.apply': string;
31
- 'pisell2.product.card.add.holder.modal.add': string;
32
- 'pisell2.product.card.closing-soon.warning': string;
33
- };
34
- 'zh-CN': {
35
- 'pisell2.product.card.discount.reason': string;
36
- 'pisell2.cart.sku-card.more': string;
37
- 'pisell2.cart.sku-card.packages.title': string;
38
- 'pisell2.cart.sku-card.sales.title': string;
39
- 'pisell2.cart.sku-card.actions.delete': string;
40
- 'pisell2.cart.sku-card.unassigned': string;
41
- 'pisell2.product.card.edit': string;
42
- 'pisell2.product.card.day': (val: number) => string;
43
- 'pisell2.product.card.day.event': (val: number) => string;
44
- 'pisell2.product.card.minute': (val: number) => string;
45
- 'pisell2.product.card.discount.note': string;
46
- 'pisell2.product.card.discount.add.note': string;
47
- 'pisell2.product.card.discount.edit.note': string;
48
- 'pisell2.product.card.confirm': string;
49
- 'pisell2.product.card.cancel': string;
50
- 'pisell2.product.card.note.pla': string;
51
- 'pisell2.product.card.items.package': string;
52
- 'pisell2.product.card.view-all': string;
53
- 'pisell2.product.card.view-less': string;
54
- 'pisell2.product.card.add.holder.button.text': (val: string) => string;
55
- 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
56
- 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
57
- 'pisell2.product.card.add.holder.modal.title.1': string;
58
- 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
59
- 'pisell2.product.card.sales': string;
60
- 'pisell2.product.card.add.holder.modal.cancel': string;
61
- 'pisell2.product.card.add.holder.modal.clear': string;
62
- 'pisell2.product.card.add.holder.modal.apply': string;
63
- 'pisell2.product.card.add.holder.modal.add': string;
64
- 'pisell2.product.card.closing-soon.warning': string;
65
- };
66
- 'zh-HK': {
67
- 'pisell2.product.card.discount.reason': string;
68
- 'pisell2.cart.sku-card.more': string;
69
- 'pisell2.cart.sku-card.packages.title': string;
70
- 'pisell2.cart.sku-card.sales.title': string;
71
- 'pisell2.cart.sku-card.actions.delete': string;
72
- 'pisell2.cart.sku-card.unassigned': string;
73
- 'pisell2.product.card.edit': string;
74
- 'pisell2.product.card.day': (val: number) => string;
75
- 'pisell2.product.card.day.event': (val: number) => string;
76
- 'pisell2.product.card.minute': (val: number) => string;
77
- 'pisell2.product.card.discount.note': string;
78
- 'pisell2.product.card.discount.add.note': string;
79
- 'pisell2.product.card.discount.edit.note': string;
80
- 'pisell2.product.card.confirm': string;
81
- 'pisell2.product.card.cancel': string;
82
- 'pisell2.product.card.note.pla': string;
83
- 'pisell2.product.card.items.package': string;
84
- 'pisell2.product.card.view-all': string;
85
- 'pisell2.product.card.view-less': string;
86
- 'pisell2.product.card.add.holder.button.text': (val: string) => string;
87
- 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
88
- 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
89
- 'pisell2.product.card.add.holder.modal.title.1': string;
90
- 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
91
- 'pisell2.product.card.sales': string;
92
- 'pisell2.product.card.add.holder.modal.cancel': string;
93
- 'pisell2.product.card.add.holder.modal.clear': string;
94
- 'pisell2.product.card.add.holder.modal.apply': string;
95
- 'pisell2.product.card.add.holder.modal.add': string;
96
- 'pisell2.product.card.closing-soon.warning': string;
97
- };
98
- };
99
- export default _default;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const Action: ({ item, onAction }: any) => JSX.Element;
3
- export default Action;
@@ -1,3 +0,0 @@
1
- import './index.less';
2
- declare const DeleteButton: ({ onDelete }: any) => JSX.Element;
3
- export default DeleteButton;
@@ -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,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,84 +0,0 @@
1
- declare const _default: {
2
- en: {
3
- 'pisell2.product.card.day': (val: number) => string;
4
- 'pisell2.product.card.day.event': (val: number) => string;
5
- 'pisell2.product.card.minute': (val: number) => string;
6
- 'pisell2.product.card.discount.reason': string;
7
- 'pisell2.product.card.discount.note': string;
8
- 'pisell2.product.card.edit': string;
9
- 'pisell2.product.card.discount.add.note': string;
10
- 'pisell2.product.card.discount.edit.note': string;
11
- 'pisell2.product.card.confirm': string;
12
- 'pisell2.product.card.cancel': string;
13
- 'pisell2.product.card.note.pla': string;
14
- 'pisell2.product.card.items.package': string;
15
- 'pisell2.product.card.view-all': string;
16
- 'pisell2.product.card.view-less': string;
17
- 'pisell2.product.card.add.holder.button.text': (val: string) => string;
18
- 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
19
- 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
20
- 'pisell2.product.card.add.holder.modal.title.1': string;
21
- 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
22
- 'pisell2.product.card.sales': string;
23
- 'pisell2.product.card.add.holder.modal.cancel': string;
24
- 'pisell2.product.card.add.holder.modal.clear': string;
25
- 'pisell2.product.card.add.holder.modal.apply': string;
26
- 'pisell2.product.card.add.holder.modal.add': string;
27
- 'pisell2.product.card.closing-soon.warning': string;
28
- };
29
- 'zh-CN': {
30
- 'pisell2.product.card.edit': string;
31
- 'pisell2.product.card.day': (val: number) => string;
32
- 'pisell2.product.card.day.event': (val: number) => string;
33
- 'pisell2.product.card.minute': (val: number) => string;
34
- 'pisell2.product.card.discount.reason': string;
35
- 'pisell2.product.card.discount.note': string;
36
- 'pisell2.product.card.discount.add.note': string;
37
- 'pisell2.product.card.discount.edit.note': string;
38
- 'pisell2.product.card.confirm': string;
39
- 'pisell2.product.card.cancel': string;
40
- 'pisell2.product.card.note.pla': string;
41
- 'pisell2.product.card.items.package': string;
42
- 'pisell2.product.card.view-all': string;
43
- 'pisell2.product.card.view-less': string;
44
- 'pisell2.product.card.add.holder.button.text': (val: string) => string;
45
- 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
46
- 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
47
- 'pisell2.product.card.add.holder.modal.title.1': string;
48
- 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
49
- 'pisell2.product.card.sales': string;
50
- 'pisell2.product.card.add.holder.modal.cancel': string;
51
- 'pisell2.product.card.add.holder.modal.clear': string;
52
- 'pisell2.product.card.add.holder.modal.apply': string;
53
- 'pisell2.product.card.add.holder.modal.add': string;
54
- 'pisell2.product.card.closing-soon.warning': string;
55
- };
56
- 'zh-HK': {
57
- 'pisell2.product.card.edit': string;
58
- 'pisell2.product.card.day': (val: number) => string;
59
- 'pisell2.product.card.day.event': (val: number) => string;
60
- 'pisell2.product.card.minute': (val: number) => string;
61
- 'pisell2.product.card.discount.reason': string;
62
- 'pisell2.product.card.discount.note': string;
63
- 'pisell2.product.card.discount.add.note': string;
64
- 'pisell2.product.card.discount.edit.note': string;
65
- 'pisell2.product.card.confirm': string;
66
- 'pisell2.product.card.cancel': string;
67
- 'pisell2.product.card.note.pla': string;
68
- 'pisell2.product.card.items.package': string;
69
- 'pisell2.product.card.view-all': string;
70
- 'pisell2.product.card.view-less': string;
71
- 'pisell2.product.card.add.holder.button.text': (val: string) => string;
72
- 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
73
- 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
74
- 'pisell2.product.card.add.holder.modal.title.1': string;
75
- 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
76
- 'pisell2.product.card.sales': string;
77
- 'pisell2.product.card.add.holder.modal.cancel': string;
78
- 'pisell2.product.card.add.holder.modal.clear': string;
79
- 'pisell2.product.card.add.holder.modal.apply': string;
80
- 'pisell2.product.card.add.holder.modal.add': string;
81
- 'pisell2.product.card.closing-soon.warning': string;
82
- };
83
- };
84
- export default _default;
@@ -1,32 +0,0 @@
1
- import { ProductCardTypes, bundleType, optionType, productType } from './types';
2
- /**
3
- * @title: 套餐数据
4
- * @description:
5
- * @return {*}
6
- * @Author: WangHan
7
- * @Date: 2025-01-02 23:21
8
- */
9
- export declare const defaultBundle: bundleType;
10
- /**
11
- * @description: 单规格
12
- * @return {*}
13
- * @Author: WangHan
14
- * @Date: 2025-01-02 23:00
15
- */
16
- export declare const defaultOption: optionType;
17
- /**
18
- * @title: 商品商品类型
19
- * @description:
20
- * @return {*}
21
- * @Author: WangHan
22
- * @Date: 2025-01-02 22:48
23
- */
24
- export declare const defaultProduct: productType;
25
- /**
26
- * @title: 默认数据
27
- * @description:
28
- * @return {*}
29
- * @Author: WangHan
30
- * @Date: 2024-12-12 16:49
31
- */
32
- export declare const defaultValue: ProductCardTypes;
@@ -1,85 +0,0 @@
1
- export declare type bundleType = {
2
- id: number;
3
- name: string;
4
- num: number;
5
- price: number;
6
- total: number;
7
- origin_total?: number;
8
- price_type?: string;
9
- options?: optionType[];
10
- };
11
- /**
12
- * @description:
13
- * @return {*}
14
- * @Author: WangHan
15
- * @Date: 2025-01-02 23:00
16
- */
17
- export declare type optionType = {
18
- id: number;
19
- name: string;
20
- num: number;
21
- price: number;
22
- total: number;
23
- origin_total?: number;
24
- };
25
- /**
26
- * @title: 商品商品类型
27
- * @description:
28
- * @return {*}
29
- * @Author: WangHan
30
- * @Date: 2025-01-02 22:48
31
- */
32
- export declare type productType = {
33
- _id: string | number;
34
- id: number;
35
- name: string;
36
- price: number;
37
- total: number;
38
- num: number;
39
- origin_total?: number;
40
- image?: string;
41
- isShowNote?: boolean;
42
- note?: string;
43
- like_status?: string;
44
- bundle?: bundleType[];
45
- options?: optionType[];
46
- isShowAction?: boolean;
47
- actionText?: string;
48
- errorMessage?: string;
49
- product_option_string?: string;
50
- discount_reason?: string;
51
- relation_products?: any[];
52
- resource_id?: string | number;
53
- relation_form_name?: string;
54
- holder_title?: string;
55
- start_date?: string;
56
- end_date?: string;
57
- is_show_duration?: boolean;
58
- is_show_week?: boolean;
59
- };
60
- /**
61
- * 排序总配置
62
- */
63
- export declare type ProductCardTypes = {
64
- dataSource: productType;
65
- isShowImage?: boolean;
66
- isShowHolder?: boolean;
67
- isShowNote?: boolean;
68
- isShowPackageNote?: boolean;
69
- isShowDelete?: boolean;
70
- isShowAmountFooter?: boolean;
71
- disabledEdit?: boolean;
72
- locale?: string;
73
- symbol?: string;
74
- isShowChangeHolder?: boolean;
75
- isShowChangeResource?: boolean;
76
- isShowChangeDate?: boolean;
77
- onAction?: (val: any) => void;
78
- onDelete?: (val: any) => void;
79
- onNote?: (val: any) => void;
80
- onLike?: (val: any) => void;
81
- onCard?: (val: any) => void;
82
- onChangeResource?: (val: any) => void;
83
- osWarnTips?: Array<string>;
84
- [key: string]: any;
85
- };
@@ -1,31 +0,0 @@
1
- import 'dayjs/locale/zh-cn';
2
- import 'dayjs/locale/en';
3
- import 'dayjs/locale/zh-tw';
4
- /**
5
- * @title: 是否英文
6
- * @description:
7
- * @param {any} item
8
- * @return {*}
9
- * @Author: WangHan
10
- * @Date: 2024-12-28 22:49
11
- */
12
- export declare const isEn: (item: any) => boolean;
13
- /**
14
- * @title: 跨日预约时间
15
- * @description:
16
- * @param {any} item
17
- * @return {*}
18
- * @Author: WangHan
19
- * @Date: 2024-12-28 22:50
20
- */
21
- export declare const formatMultiDayDate: (item: any) => string;
22
- /**
23
- * @title: 格式化服务的 开始时间-结束时间-时长, 用于展示
24
- * @description:
25
- * @param {any} item
26
- * @param {any} currentDate
27
- * @return {*}
28
- * @Author: zhiwei.Wang
29
- * @Date: 2024-04-26 14:04
30
- */
31
- export declare const getServiceTime: (item: any, currentDate: any) => string;
@@ -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,268 +0,0 @@
1
- import { FilterType } from "../filter/types";
2
- import { SortItemProps } from "../sort/types";
3
- import React from "react";
4
- export declare type StorageMode = "" | "localStorage";
5
- /**
6
- * 排序总配置
7
- */
8
- export declare type SortType = {
9
- /** 排序是否展示 */
10
- show: boolean;
11
- /** 排序存储模式 */
12
- storageMode: StorageMode;
13
- list: SortItemProps[];
14
- };
15
- /**
16
- * 列展示总配置
17
- */
18
- export declare type ColumnSettingType = {
19
- /** 列设置是否展示 */
20
- show: boolean;
21
- /** 列设置存储模式 */
22
- storageMode: StorageMode;
23
- };
24
- declare type DataSourceListItemType = {
25
- isCustom: boolean;
26
- columnKey?: string;
27
- label?: string;
28
- name?: string | string[];
29
- isHidden?: boolean;
30
- };
31
- /**
32
- * 数据源分组总配置
33
- */
34
- export declare type DataSourceGroupType = {
35
- /** 分组设置是否展示 */
36
- show: boolean;
37
- /** 分组设置存储模式 */
38
- storageMode: StorageMode;
39
- /** */
40
- list: DataSourceListItemType[];
41
- };
42
- /**
43
- * Gallery封面总配置
44
- */
45
- declare type GalleryCoverType = {
46
- /** 封面是否展示 */
47
- show: boolean;
48
- /**
49
- * 封面图片可以使用的字段
50
- */
51
- fields: string[];
52
- /**
53
- * 封面高度
54
- */
55
- height: number;
56
- /** 图片裁剪方式 */
57
- objectFit: "fill" | "cover";
58
- };
59
- /**
60
- * Gallery标题总配置
61
- */
62
- declare type GalleryTitleType = {
63
- /** 标题使用的字段 */
64
- field: string;
65
- /** 标题行数 */
66
- line: number;
67
- };
68
- /**
69
- * Gallery头部区域总配置
70
- */
71
- declare type GalleryHeaderType = {
72
- /** 头部区域插槽 */
73
- slot?: (record: Record<string, any>, index: number) => React.ReactNode;
74
- /** 头部区域其他字段设置 */
75
- fields: {
76
- /** 头部区域其他字段是否展示 */
77
- show: boolean;
78
- /** 头部区域其他字段 */
79
- list: string[];
80
- };
81
- };
82
- /**
83
- * Gallery内容区域总配置
84
- */
85
- declare type GalleryContentType = {
86
- /** 内容区域字段配置 */
87
- fields: {
88
- columnKey: string;
89
- show: boolean;
90
- }[];
91
- };
92
- export declare type GallerySettingValueType = {
93
- coverField: string | "noCover";
94
- coverObjectFit: "fill" | "cover";
95
- compactMode: "default" | "compact";
96
- isShowLabel: boolean;
97
- };
98
- /**
99
- * Gallery底部区域总配置
100
- */
101
- declare type GalleryFooterType = {
102
- /** 底部区域自定义渲染 */
103
- render: (record: Record<string, any>, index: number) => React.ReactNode;
104
- /** 底部区域高度 */
105
- height: number;
106
- };
107
- /**
108
- * Gallery模式总配置
109
- */
110
- export declare type GallerySettingType = {
111
- /** 卡片最小宽度 */
112
- cardMinWidth: number;
113
- /** 卡片最大宽度 */
114
- cardMaxWidth: number;
115
- /** 水平间隔 */
116
- horizontalGutter: number;
117
- /** 垂直间隔 */
118
- verticalGutter: number;
119
- /** 封面配置 */
120
- cover: GalleryCoverType;
121
- /** 标题配置 */
122
- title: GalleryTitleType;
123
- /** 头部区域 */
124
- header: GalleryHeaderType;
125
- /** 内容区域 */
126
- content: GalleryContentType;
127
- /** 固定高度 */
128
- fixedHeight: boolean;
129
- /** 固定的卡片高度 */
130
- cardHeight: number;
131
- /** 固定顶部 */
132
- fixedHeader: boolean;
133
- /** 固定底部 */
134
- fixedFooter: boolean;
135
- /** 底部区域 */
136
- footer: GalleryFooterType;
137
- /** 卡片点击时间 */
138
- onItem: (record: Record<string, any>, index: number) => void;
139
- };
140
- /** 视图模式 */
141
- export declare type ModeType = "grid" | "gallery" | "kanban";
142
- /**
143
- * 视图模式总配置
144
- */
145
- export declare type GridViewType = {
146
- /** 默认视图模式 */
147
- defaultViewMode: ModeType;
148
- /** 开启多视图模式可进行页面内转换 */
149
- multiple: boolean;
150
- /** 当前可用的视图模式列表 */
151
- modeList: ModeType[];
152
- };
153
- declare type SortDetail = {
154
- fromIndex: number;
155
- toIndex: number;
156
- dataSource: Record<string, any>[];
157
- fromId: number | string;
158
- toId: number | string;
159
- fromItem: Record<string, any>;
160
- toItem: Record<string, any>;
161
- };
162
- /** 导入导出模式 */
163
- export declare type ExportImportModeType = "import" | "export" | "export_file" | "import_log";
164
- /**
165
- * @title: 导出导入api
166
- * @description:
167
- * @return {*}
168
- * @Author: WangHan
169
- * @Date: 2024-09-11 15:44
170
- */
171
- export declare type ApiProps = {
172
- export?: string;
173
- import?: string;
174
- export_file: string;
175
- import_log?: string;
176
- template?: string;
177
- };
178
- /**
179
- * 导入导出配置
180
- */
181
- export declare type ExportImportType = {
182
- /** 是否展示 */
183
- show: boolean;
184
- /** 当前所选项 */
185
- selectLists: string[];
186
- /** 导入模版链接 */
187
- templateFileUrl: string;
188
- /** 标题 */
189
- title: string;
190
- hiddenKeys?: string[];
191
- apiUrl?: ApiProps;
192
- otherParams?: any;
193
- };
194
- /**
195
- * 设置记忆范围
196
- */
197
- export declare type LocalSettingsScope = "filters" | "sorting" | "columns";
198
- /**
199
- * 本地记忆设置
200
- */
201
- export declare type LocalSettingsType = {
202
- /** 启用设置记忆 */
203
- enable: boolean;
204
- /** 记忆范围 */
205
- scope: LocalSettingsScope[];
206
- /** 不需要记忆的筛选字段(当 scope 包含 filters 时生效) */
207
- excludedFilterFields?: string[];
208
- };
209
- export declare type GridViewProps = {
210
- columns: any;
211
- dataSource: any[];
212
- dispatch: any;
213
- /**
214
- * 画册模式的配置
215
- */
216
- gallery: GallerySettingType;
217
- /**
218
- * 视图设置
219
- */
220
- view: GridViewType;
221
- style: React.CSSProperties;
222
- pagination: any;
223
- filter: FilterType;
224
- buttons: React.ReactNode | any[];
225
- actionButtons: any;
226
- sort: SortType;
227
- title?: React.ReactNode | (() => React.ReactNode);
228
- showTitle?: boolean;
229
- subTitle?: React.ReactNode | (() => React.ReactNode);
230
- showSubTitle?: boolean;
231
- exportImport: ExportImportType;
232
- onValuesChange: (changedValues: any, values: any) => void;
233
- summary: any;
234
- utils: any;
235
- rowKey: ((record: Record<string, any>) => string) | string;
236
- columnSetting?: ColumnSettingType;
237
- dataSourceGroup?: DataSourceGroupType;
238
- loading: boolean;
239
- dragSort: boolean;
240
- onSortChange?: (detail: SortDetail) => boolean;
241
- __id?: string;
242
- __designMode?: "design";
243
- /**
244
- * 当前本地配置的key 用此hash是否改变用来判断是否清空本地配置 不填默认使用columns数据生成hash
245
- */
246
- currentSettingKey?: string;
247
- /**
248
- * 当前本地配置的唯一值, 不填默认使用currentSettingKey
249
- */
250
- currentComponentId?: string;
251
- /**
252
- * 当前表格中数据发生变化事件 包含本地筛选和外部传入数据变化
253
- * @param currentDataSource
254
- */
255
- onDataSourceChange?: (currentDataSource: Record<string, any>[]) => void;
256
- tabs: {
257
- show: boolean;
258
- type: 'default' | 'button' | 'buttonGroup' | 'dropdown';
259
- items: {
260
- name: string;
261
- filterBy?: Record<string, any>;
262
- sortBy?: string;
263
- }[];
264
- };
265
- /** 本地记忆设置 */
266
- localSettings?: LocalSettingsType;
267
- };
268
- export {};