@pisell/materials 6.4.6 → 6.5.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 (223) 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/es/components/batch-editor/index.d.ts +1 -0
  6. package/es/components/cardPro/index.d.ts +4 -0
  7. package/es/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
  8. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
  9. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  10. package/es/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
  11. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +3 -2
  12. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
  13. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +79 -0
  14. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  15. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
  16. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
  17. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +24 -0
  18. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  19. package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
  20. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  21. package/es/components/dataSourceComponents/fields/index.d.ts +8 -8
  22. package/es/components/date-picker/datePickerCpt.d.ts +1 -0
  23. package/es/components/date-picker/index.d.ts +1 -0
  24. package/es/components/drag-sort-tree/TreeItem/index.d.ts +19 -0
  25. package/es/components/drag-sort-tree/index.d.ts +1 -0
  26. package/es/components/filter/index.d.ts +1 -0
  27. package/es/components/iconfont/index.d.ts +8 -0
  28. package/es/components/list/index.d.ts +1 -0
  29. package/es/components/lowCodePage/index.d.ts +1 -0
  30. package/es/components/pisell-config-provider/context.d.ts +22 -0
  31. package/es/components/pisellAdjustPrice/status.d.ts +32 -0
  32. package/es/components/pisellAdjustPrice/type.d.ts +22 -0
  33. package/es/components/pisellInformationEntry/Scan/index.d.ts +1 -0
  34. package/es/components/pisellLoading/index.d.ts +1 -0
  35. package/es/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  36. package/es/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  37. package/es/components/pisellModal/components/index.d.ts +1 -0
  38. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  39. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
  40. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
  41. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +45 -0
  42. package/es/components/productCard/cartSkuCard/locales.d.ts +96 -0
  43. package/es/components/productCard/components/Action/index.d.ts +3 -0
  44. package/es/components/productCard/components/AmountFooter/index.d.ts +1 -0
  45. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +4 -0
  46. package/es/components/productCard/components/Header/EditButton/index.d.ts +1 -0
  47. package/es/components/productCard/components/MultiDay/index.d.ts +1 -0
  48. package/es/components/productCard/components/Note/index.d.ts +1 -0
  49. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  50. package/es/components/productCard/components/Packages/components/options/index.d.ts +1 -0
  51. package/es/components/productCard/components/Packages/index.d.ts +1 -0
  52. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
  53. package/es/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
  54. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
  55. package/es/components/productCard/locales.d.ts +84 -0
  56. package/es/components/productCard/status.d.ts +32 -0
  57. package/es/components/productCard/types.d.ts +84 -0
  58. package/es/components/qrcode/index.d.ts +1 -0
  59. package/es/components/select-time/index.d.ts +1 -0
  60. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  61. package/es/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
  62. package/es/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
  63. package/es/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
  64. package/es/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
  65. package/es/components/table/Actions/component/ExportImport/index.d.ts +1 -0
  66. package/es/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  67. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
  68. package/es/components/table/Actions/component/Group/index.d.ts +1 -0
  69. package/es/components/table/Actions/index.d.ts +1 -0
  70. package/es/components/table/BasicTable/index.d.ts +1 -0
  71. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  72. package/es/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
  73. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  74. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  75. package/es/components/table/Table/fields/date/Show/index.d.ts +1 -0
  76. package/es/components/table/Table/fields/date/index.d.ts +1 -0
  77. package/es/components/table/Table/fields/image/Show/index.d.ts +1 -0
  78. package/es/components/table/Table/fields/image/index.d.ts +1 -0
  79. package/es/components/table/Table/fields/index.d.ts +3 -2
  80. package/es/components/table/Table/fields/link/Show/index.d.ts +1 -0
  81. package/es/components/table/Table/fields/link/index.d.ts +1 -0
  82. package/es/components/table/Table/fields/number/Show/index.d.ts +1 -0
  83. package/es/components/table/Table/fields/number/index.d.ts +1 -0
  84. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  85. package/es/components/table/Table/fields/numberRange/index.d.ts +1 -0
  86. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  87. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  88. package/es/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  89. package/es/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  90. package/es/components/table/Table/fields/search/Show/index.d.ts +1 -0
  91. package/es/components/table/Table/fields/search/index.d.ts +1 -0
  92. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  93. package/es/components/table/Table/fields/select/index.d.ts +1 -0
  94. package/es/components/table/Table/fields/text/Show/index.d.ts +1 -0
  95. package/es/components/table/Table/fields/text/index.d.ts +1 -0
  96. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  97. package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  98. package/es/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
  99. package/es/components/table/Table/utils.d.ts +1 -1
  100. package/es/components/table/View/index.d.ts +1 -0
  101. package/es/components/table/types.d.ts +251 -0
  102. package/es/components/versionSelect/index.d.ts +1 -0
  103. package/es/components/virtual-keyboard/Amount/index.d.ts +1 -0
  104. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
  105. package/es/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  106. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
  107. package/es/components/virtual-keyboard/Number/types.d.ts +26 -0
  108. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
  109. package/es/components/walletCard/Guide/index.d.ts +4 -0
  110. package/es/locales/en-US.d.ts +285 -0
  111. package/es/locales/zh-CN.d.ts +280 -0
  112. package/es/locales/zh-TW.d.ts +280 -0
  113. package/es/utils/index.d.ts +1 -1
  114. package/lib/components/batch-editor/index.d.ts +1 -0
  115. package/lib/components/cardPro/index.d.ts +4 -0
  116. package/lib/components/dataSourceComponents/dataSourceForm/formItem.d.ts +1 -0
  117. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
  118. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  119. package/lib/components/dataSourceComponents/dataSourceTable/filter/utils.d.ts +1 -0
  120. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +3 -2
  121. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
  122. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +79 -0
  123. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  124. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
  125. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
  126. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +24 -0
  127. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  128. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
  129. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  130. package/lib/components/dataSourceComponents/fields/index.d.ts +8 -8
  131. package/lib/components/date-picker/datePickerCpt.d.ts +1 -0
  132. package/lib/components/date-picker/index.d.ts +1 -0
  133. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +19 -0
  134. package/lib/components/drag-sort-tree/index.d.ts +1 -0
  135. package/lib/components/filter/index.d.ts +1 -0
  136. package/lib/components/iconfont/index.d.ts +8 -0
  137. package/lib/components/list/index.d.ts +1 -0
  138. package/lib/components/lowCodePage/index.d.ts +1 -0
  139. package/lib/components/pisell-config-provider/context.d.ts +22 -0
  140. package/lib/components/pisellAdjustPrice/status.d.ts +32 -0
  141. package/lib/components/pisellAdjustPrice/type.d.ts +22 -0
  142. package/lib/components/pisellInformationEntry/Scan/index.d.ts +1 -0
  143. package/lib/components/pisellLoading/index.d.ts +1 -0
  144. package/lib/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  145. package/lib/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  146. package/lib/components/pisellModal/components/index.d.ts +1 -0
  147. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  148. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
  149. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
  150. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +45 -0
  151. package/lib/components/productCard/cartSkuCard/locales.d.ts +96 -0
  152. package/lib/components/productCard/components/Action/index.d.ts +3 -0
  153. package/lib/components/productCard/components/AmountFooter/index.d.ts +1 -0
  154. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +4 -0
  155. package/lib/components/productCard/components/Header/EditButton/index.d.ts +1 -0
  156. package/lib/components/productCard/components/MultiDay/index.d.ts +1 -0
  157. package/lib/components/productCard/components/Note/index.d.ts +1 -0
  158. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +1 -0
  159. package/lib/components/productCard/components/Packages/components/options/index.d.ts +1 -0
  160. package/lib/components/productCard/components/Packages/index.d.ts +1 -0
  161. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
  162. package/lib/components/productCard/components/Time/components/SelectHolderMultiple/index.d.ts +1 -0
  163. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
  164. package/lib/components/productCard/locales.d.ts +84 -0
  165. package/lib/components/productCard/status.d.ts +32 -0
  166. package/lib/components/productCard/types.d.ts +84 -0
  167. package/lib/components/qrcode/index.d.ts +1 -0
  168. package/lib/components/select-time/index.d.ts +1 -0
  169. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  170. package/lib/components/table/Actions/component/ExportImport/components/ExportFile/index.d.ts +1 -0
  171. package/lib/components/table/Actions/component/ExportImport/components/ExportTable/index.d.ts +1 -0
  172. package/lib/components/table/Actions/component/ExportImport/components/ImportLog/index.d.ts +1 -0
  173. package/lib/components/table/Actions/component/ExportImport/components/ImportTable/index.d.ts +1 -0
  174. package/lib/components/table/Actions/component/ExportImport/index.d.ts +1 -0
  175. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  176. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
  177. package/lib/components/table/Actions/component/Group/index.d.ts +1 -0
  178. package/lib/components/table/Actions/index.d.ts +1 -0
  179. package/lib/components/table/BasicTable/index.d.ts +1 -0
  180. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  181. package/lib/components/table/Gallery/components/GalleryItem/components/RenderFields/index.d.ts +1 -0
  182. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  183. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  184. package/lib/components/table/Table/fields/date/Show/index.d.ts +1 -0
  185. package/lib/components/table/Table/fields/date/index.d.ts +1 -0
  186. package/lib/components/table/Table/fields/image/Show/index.d.ts +1 -0
  187. package/lib/components/table/Table/fields/image/index.d.ts +1 -0
  188. package/lib/components/table/Table/fields/index.d.ts +3 -2
  189. package/lib/components/table/Table/fields/link/Show/index.d.ts +1 -0
  190. package/lib/components/table/Table/fields/link/index.d.ts +1 -0
  191. package/lib/components/table/Table/fields/number/Show/index.d.ts +1 -0
  192. package/lib/components/table/Table/fields/number/index.d.ts +1 -0
  193. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  194. package/lib/components/table/Table/fields/numberRange/index.d.ts +1 -0
  195. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  196. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  197. package/lib/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  198. package/lib/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  199. package/lib/components/table/Table/fields/search/Show/index.d.ts +1 -0
  200. package/lib/components/table/Table/fields/search/index.d.ts +1 -0
  201. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  202. package/lib/components/table/Table/fields/select/index.d.ts +1 -0
  203. package/lib/components/table/Table/fields/text/Show/index.d.ts +1 -0
  204. package/lib/components/table/Table/fields/text/index.d.ts +1 -0
  205. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  206. package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  207. package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +1 -0
  208. package/lib/components/table/Table/utils.d.ts +1 -1
  209. package/lib/components/table/View/index.d.ts +1 -0
  210. package/lib/components/table/types.d.ts +251 -0
  211. package/lib/components/versionSelect/index.d.ts +1 -0
  212. package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -0
  213. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +32 -0
  214. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +21 -0
  215. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +32 -0
  216. package/lib/components/virtual-keyboard/Number/types.d.ts +26 -0
  217. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +13 -0
  218. package/lib/components/walletCard/Guide/index.d.ts +4 -0
  219. package/lib/locales/en-US.d.ts +285 -0
  220. package/lib/locales/zh-CN.d.ts +280 -0
  221. package/lib/locales/zh-TW.d.ts +280 -0
  222. package/lib/utils/index.d.ts +1 -1
  223. package/package.json +1 -1
@@ -0,0 +1,3 @@
1
+ import './index.less';
2
+ declare const Action: ({ item, onAction }: any) => JSX.Element;
3
+ export default Action;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Footer: ({ item, hideDivider, type, isOnlyTotal }: any) => JSX.Element;
3
4
  export default Footer;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import './index.less';
3
+ declare const DeleteButton: ({ onDelete }: any) => JSX.Element;
4
+ export default DeleteButton;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const EditButton: ({ onEdit }: any) => JSX.Element;
3
4
  export default EditButton;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const MultiDay: ({ dataSource, hideDivider }: any) => JSX.Element;
3
4
  export default MultiDay;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Note: (props: any) => JSX.Element | null;
3
4
  export default Note;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const renderBundles: (item: any, hidePrice?: boolean, isShowPackageNote?: boolean) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Options: ({ options, amountSymbol }: any) => JSX.Element | null;
3
4
  export default Options;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Packages: ({ item, isShowPackageNote }: any) => JSX.Element | null;
3
4
  export default Packages;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const SelectHolder: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
3
4
  export default SelectHolder;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectHolderMultiple: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
2
3
  export default SelectHolderMultiple;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface ResourceItem {
3
4
  id: string | number;
@@ -0,0 +1,84 @@
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;
@@ -0,0 +1,32 @@
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;
@@ -0,0 +1,84 @@
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
+ disabledEdit?: boolean;
71
+ locale?: string;
72
+ symbol?: string;
73
+ isShowChangeHolder?: boolean;
74
+ isShowChangeResource?: boolean;
75
+ isShowChangeDate?: boolean;
76
+ onAction?: (val: any) => void;
77
+ onDelete?: (val: any) => void;
78
+ onNote?: (val: any) => void;
79
+ onLike?: (val: any) => void;
80
+ onCard?: (val: any) => void;
81
+ onChangeResource?: (val: any) => void;
82
+ osWarnTips?: Array<string>;
83
+ [key: string]: any;
84
+ };
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const QRCode: (props: any) => JSX.Element;
2
3
  export default QRCode;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { VirtualKeyboardTimeProps } from "../virtual-keyboard/Time";
2
3
  import { PopoverProps, TimePickerProps } from "antd";
3
4
  import "./index.less";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare type ColumnsSettingProps = {
2
3
  value?: Record<string, any>[];
3
4
  onChange?: (val: Record<string, any>[]) => void;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ExportImportType } from '../../../../../types';
2
3
  import './index.less';
3
4
  declare const ExportFile: (props: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ExportImportType } from "../../../../../types";
2
3
  import "./index.less";
3
4
  declare const ExportTable: (props: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ExportImportType } from '../../../../../types';
2
3
  import './index.less';
3
4
  declare const ImportLog: (props: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ExportImportType } from '../../../../../types';
2
3
  import './index.less';
3
4
  declare type ImportTableProps = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ExportImportType } from '../../../types';
2
3
  import './index.less';
3
4
  declare type ExportImportProps = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { GallerySettingType, ModeType } from "../../../types";
2
3
  import "./index.less";
3
4
  declare type GallerySettingProps = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './PopoverContent.less';
2
3
  declare type FieldType = string | number;
3
4
  export declare type GroupValue = {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DataSourceGroupType } from "../../../types";
2
3
  declare type GroupProps = {
3
4
  setting: DataSourceGroupType;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FilterType } from "../../filter/types";
2
3
  import { ColumnSettingType, DataSourceGroupType, ExportImportType, GallerySettingType, GridViewType, SortType } from "../types";
3
4
  import "./index.less";
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TableProps } from 'antd';
2
3
  declare const BasicTable: (props: TableProps<any>) => JSX.Element;
3
4
  export default BasicTable;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { GallerySettingType, GallerySettingValueType } from "../../../../../types";
2
3
  declare type CoverProps = {
3
4
  cover?: GallerySettingType["cover"];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare type RenderFieldsProps = {
3
4
  fields: string[];
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { GallerySettingType } from "../../../../../types";
2
3
  import "./index.less";
3
4
  declare type TitleProps = GallerySettingType["title"] & {
@@ -1,5 +1,5 @@
1
1
  declare const useGapSize: (gap: number | number[]) => {
2
- horizontal: any;
3
- vertical: any;
2
+ horizontal: number;
3
+ vertical: number;
4
4
  };
5
5
  export default useGapSize;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  field: {
3
4
  field_icon: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const fieldMaps: {
2
3
  text: {
3
4
  field: {
@@ -197,12 +198,12 @@ export declare const fieldList: ({
197
198
  field_icon: string;
198
199
  field_name: string;
199
200
  field_type: string;
200
- default_value: boolean;
201
+ default_value: string;
201
202
  } | {
202
203
  field_icon: string;
203
204
  field_name: string;
204
205
  field_type: string;
205
- default_value: string;
206
+ default_value: boolean;
206
207
  } | {
207
208
  field_icon: string;
208
209
  field_name: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  field: {
3
4
  field_icon: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: {
2
3
  field: {
3
4
  field_icon: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -2,4 +2,4 @@ export default function ({ value, key, item, }: {
2
2
  value: string | string[];
3
3
  key: string | string[];
4
4
  item: Record<string, any>;
5
- }): any;
5
+ }): boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  import "./index.less";
3
4
  declare const Show: (props: FieldPropsType) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -2,4 +2,4 @@ export default function ({ value, key, item, }: {
2
2
  value: string | string[] | Record<string, any>[];
3
3
  key: string | string[];
4
4
  item: Record<string, any>;
5
- }): any;
5
+ }): boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  declare const SortRow: ({ children, rowKey, onSortChange }: any) => JSX.Element;
3
4
  export default SortRow;
@@ -155,7 +155,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
155
155
  sort?: SortType | undefined;
156
156
  mode: "" | "localStorage" | "remote";
157
157
  currentViewMode: ModeType;
158
- }) => ("view_mode" | "filter_setting" | "group_by" | "order_by" | "column_setting" | "gallery_setting")[];
158
+ }) => ("filter_setting" | "column_setting" | "gallery_setting" | "view_mode" | "group_by" | "order_by")[];
159
159
  export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
160
160
  export declare const stringify: (obj: Record<string, any>) => string;
161
161
  export {};
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { GridViewProps } from '../types';
2
3
  declare const View: (props: GridViewProps & {
3
4
  setTableSetting: (values: Record<string, any>) => void;