@pisell/materials 2.2.80 → 2.2.82

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 (253) 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 +2 -2
  6. package/build/lowcode/preview.js +145 -145
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +41 -31
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +37 -27
  11. package/es/components/batch-editor/index.d.ts +1 -0
  12. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
  13. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  14. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
  15. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  16. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
  17. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  18. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -0
  19. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  20. package/es/components/dataSourceComponents/fields/index.d.ts +7 -6
  21. package/es/components/date-picker/index.d.ts +1 -0
  22. package/es/components/iconfont/index.js +1 -1
  23. package/es/components/page/index.d.ts +1 -0
  24. package/es/components/pisellInput/index.d.ts +1 -0
  25. package/es/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  26. package/es/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  27. package/es/components/pisellModal/components/index.d.ts +1 -0
  28. package/es/components/pisellToast/index.js +3 -0
  29. package/es/components/pisellWalletPassCard/index.d.ts +1 -0
  30. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +21 -0
  31. package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +61 -0
  32. package/es/components/productCard/cartSkuCard/components/basicInfo/index.less +98 -0
  33. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
  34. package/es/components/productCard/cartSkuCard/components/discountReason/index.js +51 -0
  35. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +4 -0
  36. package/es/components/productCard/cartSkuCard/components/holders/index.js +32 -0
  37. package/es/components/productCard/cartSkuCard/components/holders/index.less +32 -0
  38. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
  39. package/es/components/productCard/cartSkuCard/components/packages/index.js +52 -0
  40. package/es/components/productCard/cartSkuCard/components/packages/index.less +22 -0
  41. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
  42. package/es/components/productCard/cartSkuCard/components/packages/utils.js +40 -0
  43. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +4 -0
  44. package/es/components/productCard/cartSkuCard/components/resources/index.js +44 -0
  45. package/es/components/productCard/cartSkuCard/components/resources/index.less +20 -0
  46. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +11 -0
  47. package/es/components/productCard/cartSkuCard/components/sales/index.js +55 -0
  48. package/es/components/productCard/cartSkuCard/components/sales/index.less +22 -0
  49. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
  50. package/es/components/productCard/cartSkuCard/components/specs/index.js +43 -0
  51. package/es/components/productCard/cartSkuCard/components/specs/index.less +28 -0
  52. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +7 -0
  53. package/es/components/productCard/cartSkuCard/components/timeRange/index.js +53 -0
  54. package/es/components/productCard/cartSkuCard/components/timeRange/index.less +37 -0
  55. package/es/components/productCard/cartSkuCard/index.d.ts +8 -0
  56. package/es/components/productCard/cartSkuCard/index.js +195 -0
  57. package/es/components/productCard/cartSkuCard/index.less +69 -0
  58. package/es/components/productCard/cartSkuCard/locales.d.ts +93 -0
  59. package/es/components/productCard/cartSkuCard/locales.js +27 -0
  60. package/es/components/productCard/components/AmountFooter/index.js +22 -6
  61. package/es/components/productCard/components/AmountFooter/index.less +28 -1
  62. package/es/components/productCard/components/Packages/utils.d.ts +2 -2
  63. package/es/components/productCard/components/Warning/index.d.ts +7 -0
  64. package/es/components/productCard/components/Warning/index.js +48 -0
  65. package/es/components/productCard/index.d.ts +3 -1
  66. package/es/components/productCard/index.js +10 -8
  67. package/es/components/productCard/locales.d.ts +3 -0
  68. package/es/components/productCard/locales.js +6 -3
  69. package/es/components/productCard/status.js +3 -1
  70. package/es/components/productCard/types.d.ts +1 -0
  71. package/es/components/productCard/utils.js +8 -6
  72. package/es/components/select-time/index.d.ts +1 -0
  73. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  74. package/es/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  75. package/es/components/table/Actions/component/Group/index.d.ts +1 -0
  76. package/es/components/table/Actions/index.d.ts +1 -0
  77. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  78. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  79. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  80. package/es/components/table/Table/SelectField/index.d.ts +1 -0
  81. package/es/components/table/Table/fields/date/index.d.ts +1 -0
  82. package/es/components/table/Table/fields/image/Show/index.d.ts +1 -0
  83. package/es/components/table/Table/fields/image/index.d.ts +1 -0
  84. package/es/components/table/Table/fields/index.d.ts +3 -2
  85. package/es/components/table/Table/fields/link/index.d.ts +1 -0
  86. package/es/components/table/Table/fields/number/Show/index.d.ts +1 -0
  87. package/es/components/table/Table/fields/number/index.d.ts +1 -0
  88. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  89. package/es/components/table/Table/fields/numberRange/index.d.ts +1 -0
  90. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  91. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  92. package/es/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  93. package/es/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  94. package/es/components/table/Table/fields/search/Show/index.d.ts +1 -0
  95. package/es/components/table/Table/fields/search/index.d.ts +1 -0
  96. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  97. package/es/components/table/Table/fields/text/Show/index.d.ts +1 -0
  98. package/es/components/table/Table/fields/text/index.d.ts +1 -0
  99. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  100. package/es/components/table/Table/utils.d.ts +1 -1
  101. package/es/components/versionSelect/index.d.ts +1 -0
  102. package/es/utils/index.d.ts +1 -1
  103. package/es/utils/platform.d.ts +1 -1
  104. package/lib/components/batch-editor/index.d.ts +1 -0
  105. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
  106. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  107. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +1 -0
  108. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  109. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
  110. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +1 -0
  111. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -0
  112. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  113. package/lib/components/dataSourceComponents/fields/index.d.ts +7 -6
  114. package/lib/components/date-picker/index.d.ts +1 -0
  115. package/lib/components/iconfont/index.js +1 -1
  116. package/lib/components/page/index.d.ts +1 -0
  117. package/lib/components/pisellInput/index.d.ts +1 -0
  118. package/lib/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  119. package/lib/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  120. package/lib/components/pisellModal/components/index.d.ts +1 -0
  121. package/lib/components/pisellToast/index.js +3 -0
  122. package/lib/components/pisellWalletPassCard/index.d.ts +1 -0
  123. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +21 -0
  124. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +71 -0
  125. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.less +98 -0
  126. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
  127. package/lib/components/productCard/cartSkuCard/components/discountReason/index.js +70 -0
  128. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +4 -0
  129. package/lib/components/productCard/cartSkuCard/components/holders/index.js +52 -0
  130. package/lib/components/productCard/cartSkuCard/components/holders/index.less +32 -0
  131. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
  132. package/lib/components/productCard/cartSkuCard/components/packages/index.js +73 -0
  133. package/lib/components/productCard/cartSkuCard/components/packages/index.less +22 -0
  134. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
  135. package/lib/components/productCard/cartSkuCard/components/packages/utils.js +44 -0
  136. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +4 -0
  137. package/lib/components/productCard/cartSkuCard/components/resources/index.js +73 -0
  138. package/lib/components/productCard/cartSkuCard/components/resources/index.less +20 -0
  139. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +11 -0
  140. package/lib/components/productCard/cartSkuCard/components/sales/index.js +76 -0
  141. package/lib/components/productCard/cartSkuCard/components/sales/index.less +22 -0
  142. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
  143. package/lib/components/productCard/cartSkuCard/components/specs/index.js +65 -0
  144. package/lib/components/productCard/cartSkuCard/components/specs/index.less +28 -0
  145. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +7 -0
  146. package/lib/components/productCard/cartSkuCard/components/timeRange/index.js +67 -0
  147. package/lib/components/productCard/cartSkuCard/components/timeRange/index.less +37 -0
  148. package/lib/components/productCard/cartSkuCard/index.d.ts +8 -0
  149. package/lib/components/productCard/cartSkuCard/index.js +216 -0
  150. package/lib/components/productCard/cartSkuCard/index.less +69 -0
  151. package/lib/components/productCard/cartSkuCard/locales.d.ts +93 -0
  152. package/lib/components/productCard/cartSkuCard/locales.js +58 -0
  153. package/lib/components/productCard/components/AmountFooter/index.js +16 -6
  154. package/lib/components/productCard/components/AmountFooter/index.less +28 -1
  155. package/lib/components/productCard/components/Packages/utils.d.ts +2 -2
  156. package/lib/components/productCard/components/Warning/index.d.ts +7 -0
  157. package/lib/components/productCard/components/Warning/index.js +68 -0
  158. package/lib/components/productCard/index.d.ts +3 -1
  159. package/lib/components/productCard/index.js +6 -11
  160. package/lib/components/productCard/locales.d.ts +3 -0
  161. package/lib/components/productCard/locales.js +6 -3
  162. package/lib/components/productCard/status.js +3 -1
  163. package/lib/components/productCard/types.d.ts +1 -0
  164. package/lib/components/productCard/utils.js +7 -6
  165. package/lib/components/select-time/index.d.ts +1 -0
  166. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  167. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +1 -0
  168. package/lib/components/table/Actions/component/Group/index.d.ts +1 -0
  169. package/lib/components/table/Actions/index.d.ts +1 -0
  170. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  171. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  172. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  173. package/lib/components/table/Table/SelectField/index.d.ts +1 -0
  174. package/lib/components/table/Table/fields/date/index.d.ts +1 -0
  175. package/lib/components/table/Table/fields/image/Show/index.d.ts +1 -0
  176. package/lib/components/table/Table/fields/image/index.d.ts +1 -0
  177. package/lib/components/table/Table/fields/index.d.ts +3 -2
  178. package/lib/components/table/Table/fields/link/index.d.ts +1 -0
  179. package/lib/components/table/Table/fields/number/Show/index.d.ts +1 -0
  180. package/lib/components/table/Table/fields/number/index.d.ts +1 -0
  181. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  182. package/lib/components/table/Table/fields/numberRange/index.d.ts +1 -0
  183. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  184. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  185. package/lib/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  186. package/lib/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  187. package/lib/components/table/Table/fields/search/Show/index.d.ts +1 -0
  188. package/lib/components/table/Table/fields/search/index.d.ts +1 -0
  189. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  190. package/lib/components/table/Table/fields/text/Show/index.d.ts +1 -0
  191. package/lib/components/table/Table/fields/text/index.d.ts +1 -0
  192. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  193. package/lib/components/table/Table/utils.d.ts +1 -1
  194. package/lib/components/versionSelect/index.d.ts +1 -0
  195. package/lib/components/virtual-keyboard/VirtualKeyInput/index.js +8 -1
  196. package/lib/utils/index.d.ts +1 -1
  197. package/lib/utils/platform.d.ts +1 -1
  198. package/lowcode/_setters/antd-icon-setter/index.tsx +3 -2
  199. package/package.json +1 -1
  200. package/es/components/appVersionControl/index.d.ts +0 -4
  201. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -38
  202. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -78
  203. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -24
  204. package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
  205. package/es/components/drag-sort-tree/index.d.ts +0 -4
  206. package/es/components/iconfont/index.d.ts +0 -8
  207. package/es/components/login-and-register/index.d.ts +0 -82
  208. package/es/components/media/index.d.ts +0 -4
  209. package/es/components/media/index.js +0 -340
  210. package/es/components/media/index.less +0 -100
  211. package/es/components/pisell-config-provider/index.d.ts +0 -12
  212. package/es/components/pisellAdjustPrice/index.d.ts +0 -9
  213. package/es/components/pisellEmpty/index.d.ts +0 -19
  214. package/es/components/pisellInformationEntry/hooks/useTerminalPeripherals.d.ts +0 -8
  215. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
  216. package/es/components/productCard/components/Time/index.d.ts +0 -3
  217. package/es/components/table/Table/index.d.ts +0 -4
  218. package/es/components/table/hooks/useTableSetting.d.ts +0 -22
  219. package/es/components/table/types.d.ts +0 -251
  220. package/es/components/versionModal/index.d.ts +0 -23
  221. package/es/components/virtual-keyboard/Amount/index.d.ts +0 -22
  222. package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  223. package/es/components/walletCard/index.d.ts +0 -67
  224. package/es/locales/en-US.d.ts +0 -278
  225. package/es/locales/zh-CN.d.ts +0 -273
  226. package/es/locales/zh-TW.d.ts +0 -273
  227. package/lib/components/appVersionControl/index.d.ts +0 -4
  228. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -38
  229. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -78
  230. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -24
  231. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -18
  232. package/lib/components/drag-sort-tree/index.d.ts +0 -4
  233. package/lib/components/iconfont/index.d.ts +0 -8
  234. package/lib/components/login-and-register/index.d.ts +0 -82
  235. package/lib/components/media/index.d.ts +0 -4
  236. package/lib/components/media/index.js +0 -265
  237. package/lib/components/media/index.less +0 -100
  238. package/lib/components/pisell-config-provider/index.d.ts +0 -12
  239. package/lib/components/pisellAdjustPrice/index.d.ts +0 -9
  240. package/lib/components/pisellEmpty/index.d.ts +0 -19
  241. package/lib/components/pisellInformationEntry/hooks/useTerminalPeripherals.d.ts +0 -8
  242. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -3
  243. package/lib/components/productCard/components/Time/index.d.ts +0 -3
  244. package/lib/components/table/Table/index.d.ts +0 -4
  245. package/lib/components/table/hooks/useTableSetting.d.ts +0 -22
  246. package/lib/components/table/types.d.ts +0 -251
  247. package/lib/components/versionModal/index.d.ts +0 -23
  248. package/lib/components/virtual-keyboard/Amount/index.d.ts +0 -22
  249. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  250. package/lib/components/walletCard/index.d.ts +0 -67
  251. package/lib/locales/en-US.d.ts +0 -278
  252. package/lib/locales/zh-CN.d.ts +0 -273
  253. package/lib/locales/zh-TW.d.ts +0 -273
@@ -0,0 +1,93 @@
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.product.card.day': (val: number) => string;
8
+ 'pisell2.product.card.day.event': (val: number) => string;
9
+ 'pisell2.product.card.minute': (val: number) => string;
10
+ 'pisell2.product.card.discount.note': string;
11
+ 'pisell2.product.card.edit': string;
12
+ 'pisell2.product.card.discount.add.note': string;
13
+ 'pisell2.product.card.discount.edit.note': string;
14
+ 'pisell2.product.card.confirm': string;
15
+ 'pisell2.product.card.cancel': string;
16
+ 'pisell2.product.card.note.pla': string;
17
+ 'pisell2.product.card.items.package': string;
18
+ 'pisell2.product.card.view-all': string;
19
+ 'pisell2.product.card.view-less': string;
20
+ 'pisell2.product.card.add.holder.button.text': (val: string) => string;
21
+ 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
22
+ 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
23
+ 'pisell2.product.card.add.holder.modal.title.1': string;
24
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
25
+ 'pisell2.product.card.sales': string;
26
+ 'pisell2.product.card.add.holder.modal.cancel': string;
27
+ 'pisell2.product.card.add.holder.modal.clear': string;
28
+ 'pisell2.product.card.add.holder.modal.apply': string;
29
+ 'pisell2.product.card.add.holder.modal.add': string;
30
+ 'pisell2.product.card.closing-soon.warning': string;
31
+ };
32
+ 'zh-CN': {
33
+ 'pisell2.product.card.discount.reason': string;
34
+ 'pisell2.cart.sku-card.more': string;
35
+ 'pisell2.cart.sku-card.packages.title': string;
36
+ 'pisell2.cart.sku-card.sales.title': string;
37
+ 'pisell2.product.card.edit': string;
38
+ 'pisell2.product.card.day': (val: number) => string;
39
+ 'pisell2.product.card.day.event': (val: number) => string;
40
+ 'pisell2.product.card.minute': (val: number) => string;
41
+ 'pisell2.product.card.discount.note': string;
42
+ 'pisell2.product.card.discount.add.note': string;
43
+ 'pisell2.product.card.discount.edit.note': string;
44
+ 'pisell2.product.card.confirm': string;
45
+ 'pisell2.product.card.cancel': string;
46
+ 'pisell2.product.card.note.pla': string;
47
+ 'pisell2.product.card.items.package': string;
48
+ 'pisell2.product.card.view-all': string;
49
+ 'pisell2.product.card.view-less': string;
50
+ 'pisell2.product.card.add.holder.button.text': (val: string) => string;
51
+ 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
52
+ 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
53
+ 'pisell2.product.card.add.holder.modal.title.1': string;
54
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
55
+ 'pisell2.product.card.sales': string;
56
+ 'pisell2.product.card.add.holder.modal.cancel': string;
57
+ 'pisell2.product.card.add.holder.modal.clear': string;
58
+ 'pisell2.product.card.add.holder.modal.apply': string;
59
+ 'pisell2.product.card.add.holder.modal.add': string;
60
+ 'pisell2.product.card.closing-soon.warning': string;
61
+ };
62
+ 'zh-HK': {
63
+ 'pisell2.product.card.discount.reason': string;
64
+ 'pisell2.cart.sku-card.more': string;
65
+ 'pisell2.cart.sku-card.packages.title': string;
66
+ 'pisell2.cart.sku-card.sales.title': string;
67
+ 'pisell2.product.card.edit': string;
68
+ 'pisell2.product.card.day': (val: number) => string;
69
+ 'pisell2.product.card.day.event': (val: number) => string;
70
+ 'pisell2.product.card.minute': (val: number) => string;
71
+ 'pisell2.product.card.discount.note': string;
72
+ 'pisell2.product.card.discount.add.note': string;
73
+ 'pisell2.product.card.discount.edit.note': string;
74
+ 'pisell2.product.card.confirm': string;
75
+ 'pisell2.product.card.cancel': string;
76
+ 'pisell2.product.card.note.pla': string;
77
+ 'pisell2.product.card.items.package': string;
78
+ 'pisell2.product.card.view-all': string;
79
+ 'pisell2.product.card.view-less': string;
80
+ 'pisell2.product.card.add.holder.button.text': (val: string) => string;
81
+ 'pisell2.product.card.add.holder.placeholder': (val: string) => string;
82
+ 'pisell2.product.card.add.holder.placeholder.multiple': (num: number, val: string) => string;
83
+ 'pisell2.product.card.add.holder.modal.title.1': string;
84
+ 'pisell2.product.card.hour.minute': (hour: number, minute: number) => string;
85
+ 'pisell2.product.card.sales': string;
86
+ 'pisell2.product.card.add.holder.modal.cancel': string;
87
+ 'pisell2.product.card.add.holder.modal.clear': string;
88
+ 'pisell2.product.card.add.holder.modal.apply': string;
89
+ 'pisell2.product.card.add.holder.modal.add': string;
90
+ 'pisell2.product.card.closing-soon.warning': string;
91
+ };
92
+ };
93
+ export default _default;
@@ -0,0 +1,27 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ import localeTexts from "../locales";
8
+ export default {
9
+ en: _objectSpread(_objectSpread({}, localeTexts.en), {}, {
10
+ 'pisell2.product.card.discount.reason': 'Discount reason',
11
+ 'pisell2.cart.sku-card.more': 'more...',
12
+ 'pisell2.cart.sku-card.packages.title': 'Items in package',
13
+ 'pisell2.cart.sku-card.sales.title': 'Sales'
14
+ }),
15
+ 'zh-CN': _objectSpread(_objectSpread({}, localeTexts['zh-CN']), {}, {
16
+ 'pisell2.product.card.discount.reason': '折扣原因',
17
+ 'pisell2.cart.sku-card.more': '更多……',
18
+ 'pisell2.cart.sku-card.packages.title': '包含的商品',
19
+ 'pisell2.cart.sku-card.sales.title': '销售'
20
+ }),
21
+ 'zh-HK': _objectSpread(_objectSpread({}, localeTexts['zh-HK']), {}, {
22
+ 'pisell2.product.card.discount.reason': '折扣原因',
23
+ 'pisell2.cart.sku-card.more': '更多……',
24
+ 'pisell2.cart.sku-card.packages.title': '包含的商品',
25
+ 'pisell2.cart.sku-card.sales.title': '銷售'
26
+ })
27
+ };
@@ -1,6 +1,6 @@
1
1
  import React, { useMemo } from 'react';
2
2
  import classNames from 'classnames';
3
- import { Tooltip } from 'antd';
3
+ import { Tag, Tooltip } from 'antd';
4
4
  import { QuestionCircleOutlined } from '@ant-design/icons';
5
5
  import { _formatAmount } from "../Packages/utils";
6
6
  import Divider from "../Divider";
@@ -31,6 +31,24 @@ var Footer = function Footer(_ref) {
31
31
  if (!origin_total) return false;
32
32
  return Number(total) != Number(origin_total);
33
33
  }, [total, origin_total]);
34
+ var renderDiscountReason = function renderDiscountReason() {
35
+ if (isDiscount && discount_reason && type === 'total') {
36
+ if (Array.isArray(discount_reason)) {
37
+ return /*#__PURE__*/React.createElement("div", {
38
+ className: "".concat(prefix, "product-item-discount-reason")
39
+ }, discount_reason.map(function (reason, index) {
40
+ return /*#__PURE__*/React.createElement(Tag, {
41
+ key: index,
42
+ color: "red"
43
+ }, reason);
44
+ }));
45
+ }
46
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Divider, null), /*#__PURE__*/React.createElement("div", {
47
+ className: "".concat(prefix, "product-item-discount-reason")
48
+ }, /*#__PURE__*/React.createElement("span", null, "".concat(locales.getText('pisell2.product.card.discount.reason'), ": ").concat(discount_reason))));
49
+ }
50
+ return null;
51
+ };
34
52
  return /*#__PURE__*/React.createElement(React.Fragment, null, !hideDivider ? /*#__PURE__*/React.createElement(Divider, {
35
53
  type: type !== 'total' ? 'inside' : ''
36
54
  }) : null, /*#__PURE__*/React.createElement("div", {
@@ -49,10 +67,8 @@ var Footer = function Footer(_ref) {
49
67
  }
50
68
  })) : null), /*#__PURE__*/React.createElement("span", null, "\xD7".concat(num))) : null, /*#__PURE__*/React.createElement("span", {
51
69
  className: "".concat(prefix, "packages-product-footer-total")
52
- }, _formatAmount(total * num, symbol))), isDiscount ? /*#__PURE__*/React.createElement("div", {
53
- className: "".concat(prefix, "packages-product-footer-discount")
54
- }, !isOnlyTotal ? /*#__PURE__*/React.createElement("span", null, _formatAmount(origin_total, symbol)) : null, /*#__PURE__*/React.createElement("span", null, _formatAmount(origin_total * num, symbol, 2))) : null), isDiscount && discount_reason && type === 'total' ? /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Divider, null), /*#__PURE__*/React.createElement("div", {
55
- className: "".concat(prefix, "product-item-discount-reason")
56
- }, /*#__PURE__*/React.createElement("span", null, "".concat(locales.getText('pisell2.product.card.discount.reason'), ": ").concat(discount_reason)))) : null);
70
+ }, isDiscount ? /*#__PURE__*/React.createElement("span", {
71
+ className: "".concat(prefix, "packages-product-footer-origin-total")
72
+ }, _formatAmount(origin_total * num, symbol, 2)) : null, /*#__PURE__*/React.createElement("span", null, _formatAmount(total * num, symbol))))), renderDiscountReason());
57
73
  };
58
74
  export default Footer;
@@ -35,6 +35,19 @@
35
35
  color: var(--Gray-900, #101828);
36
36
  }
37
37
 
38
+ &-packages-product-footer-origin-total {
39
+ color: var(--Gray-500, #667085);
40
+ text-align: center;
41
+ font-size: 12px;
42
+ font-style: normal;
43
+ font-weight: 400;
44
+ line-height: 18px; /* 150% */
45
+ text-decoration-line: line-through;
46
+ margin-right: 8px;
47
+ display: inline-block;
48
+ transform: translateY(-1px);
49
+ }
50
+
38
51
  &-packages-product-hide-divider-footer {
39
52
  margin-top: 8px;
40
53
  }
@@ -45,6 +58,20 @@
45
58
  font-style: normal;
46
59
  font-weight: 400;
47
60
  line-height: 20px;
48
- white-space: break-spaces;
61
+ margin-top: 4px;
62
+ display: flex;
63
+ flex-wrap: wrap;
64
+ gap: 4px;
65
+ overflow: hidden;
66
+
67
+ >span {
68
+ display: inline-block;
69
+ max-width: 100%;
70
+ text-overflow: ellipsis;
71
+ white-space: nowrap;
72
+ overflow: hidden;
73
+ border-radius: 4px;
74
+ margin: 0;
75
+ }
49
76
  }
50
77
  }
@@ -6,7 +6,7 @@
6
6
  * @Author: WangHan
7
7
  * @Date: 2024-11-22 10:01
8
8
  */
9
- export declare const minusSign: (item: any, type?: string) => "" | "-";
9
+ export declare const minusSign: (item: any, type?: string) => "-" | "";
10
10
  /**
11
11
  * @title: 金额格式化
12
12
  * @description:
@@ -17,4 +17,4 @@ export declare const minusSign: (item: any, type?: string) => "" | "-";
17
17
  * @Author: WangHan
18
18
  * @Date: 2024-11-22 10:58
19
19
  */
20
- export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => string | number;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import '../../index.less';
3
+ declare const Warning: React.FC<{
4
+ errorMessage: string | Array<string>;
5
+ osWarnTips: Array<string>;
6
+ }>;
7
+ export default Warning;
@@ -0,0 +1,48 @@
1
+ import React, { useMemo } from 'react';
2
+ import { locales } from '@pisell/utils';
3
+ import { Alert } from 'antd';
4
+ import "../../index.less";
5
+ var Warning = function Warning(_ref) {
6
+ var errorMessage = _ref.errorMessage,
7
+ osWarnTips = _ref.osWarnTips;
8
+ /**
9
+ * @title: 错误提示列表
10
+ * @description: 错误提示列表
11
+ * @param {*} useMemo
12
+ * @return {*}
13
+ * @Author: WangHan
14
+ * @Date: 2025-07-23 10:10
15
+ */
16
+ var errorLists = useMemo(function () {
17
+ if (errorMessage) {
18
+ // 如果errorMessage是数组,则返回数组
19
+ if (Array.isArray(errorMessage)) {
20
+ return errorMessage;
21
+ }
22
+
23
+ // 如果errorMessage是字符串,则返回字符串
24
+ if (typeof errorMessage === 'string') {
25
+ return [errorMessage];
26
+ }
27
+ }
28
+ if ((osWarnTips === null || osWarnTips === void 0 ? void 0 : osWarnTips.length) > 0) {
29
+ return osWarnTips.map(function (item) {
30
+ return locales.getText(item);
31
+ });
32
+ }
33
+ return [];
34
+ }, [errorMessage, osWarnTips]);
35
+ if ((errorLists === null || errorLists === void 0 ? void 0 : errorLists.length) === 0) {
36
+ return /*#__PURE__*/React.createElement(React.Fragment, null);
37
+ }
38
+ return /*#__PURE__*/React.createElement(React.Fragment, null, errorLists.map(function (item, index) {
39
+ return /*#__PURE__*/React.createElement(Alert, {
40
+ key: index,
41
+ message: item,
42
+ type: "warning",
43
+ showIcon: true,
44
+ className: "pisell-lowcode-product-card-error"
45
+ });
46
+ }));
47
+ };
48
+ export default Warning;
@@ -1,5 +1,7 @@
1
1
  import React from 'react';
2
2
  import { ProductCardTypes } from './types';
3
3
  import './index.less';
4
- declare const ProductCard: React.FC<ProductCardTypes>;
4
+ declare const ProductCard: React.FC<ProductCardTypes> & {
5
+ V2: any;
6
+ };
5
7
  export default ProductCard;
@@ -10,7 +10,6 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
10
10
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
11
11
  import React, { useMemo, useRef } from 'react';
12
12
  import classNames from 'classnames';
13
- import { Alert } from 'antd';
14
13
  import { locales } from '@pisell/utils';
15
14
  import CardPro from "../cardPro";
16
15
  import Header from "./components/Header";
@@ -26,7 +25,9 @@ import UseOpenNote from "./hooks/useOpenNote";
26
25
  import localeTexts from "./locales";
27
26
  import { defaultValue } from "./status";
28
27
  import useEngineContext from "../../hooks/useEngineContext";
28
+ import Warning from "./components/Warning";
29
29
  import "./index.less";
30
+ import CartSkuCard from "./cartSkuCard";
30
31
  var ProductCard = function ProductCard(props) {
31
32
  var _utils$storage, _dataSource$items;
32
33
  var context = useEngineContext();
@@ -64,7 +65,9 @@ var ProductCard = function ProductCard(props) {
64
65
  isShowAction = dataSource.isShowAction,
65
66
  actionText = dataSource.actionText,
66
67
  errorMessage = dataSource.errorMessage,
67
- isNormalProduct = dataSource.isNormalProduct;
68
+ isNormalProduct = dataSource.isNormalProduct,
69
+ _dataSource$osWarnTip = dataSource.osWarnTips,
70
+ osWarnTips = _dataSource$osWarnTip === void 0 ? [] : _dataSource$osWarnTip;
68
71
 
69
72
  /**
70
73
  * @title: 显示图片
@@ -159,12 +162,10 @@ var ProductCard = function ProductCard(props) {
159
162
  onAction: function onAction() {
160
163
  return _onAction === null || _onAction === void 0 ? void 0 : _onAction(dataSource);
161
164
  }
162
- }) : null, errorMessage ? /*#__PURE__*/React.createElement(Alert, {
163
- message: errorMessage,
164
- type: "warning",
165
- showIcon: true,
166
- className: "pisell-lowcode-product-card-error"
167
- }) : null), /*#__PURE__*/React.createElement(UseOpenNote, {
165
+ }) : null, /*#__PURE__*/React.createElement(Warning, {
166
+ errorMessage: errorMessage,
167
+ osWarnTips: osWarnTips
168
+ })), /*#__PURE__*/React.createElement(UseOpenNote, {
168
169
  ref: useOpenNoteRef,
169
170
  onNoteChange: function onNoteChange(e) {
170
171
  onNote === null || onNote === void 0 || onNote(_objectSpread(_objectSpread({}, dataSource), {}, {
@@ -173,4 +174,5 @@ var ProductCard = function ProductCard(props) {
173
174
  }
174
175
  }))));
175
176
  };
177
+ ProductCard.V2 = CartSkuCard;
176
178
  export default ProductCard;
@@ -24,6 +24,7 @@ declare const _default: {
24
24
  'pisell2.product.card.add.holder.modal.clear': string;
25
25
  'pisell2.product.card.add.holder.modal.apply': string;
26
26
  'pisell2.product.card.add.holder.modal.add': string;
27
+ 'pisell2.product.card.closing-soon.warning': string;
27
28
  };
28
29
  'zh-CN': {
29
30
  'pisell2.product.card.edit': string;
@@ -50,6 +51,7 @@ declare const _default: {
50
51
  'pisell2.product.card.add.holder.modal.clear': string;
51
52
  'pisell2.product.card.add.holder.modal.apply': string;
52
53
  'pisell2.product.card.add.holder.modal.add': string;
54
+ 'pisell2.product.card.closing-soon.warning': string;
53
55
  };
54
56
  'zh-HK': {
55
57
  'pisell2.product.card.edit': string;
@@ -76,6 +78,7 @@ declare const _default: {
76
78
  'pisell2.product.card.add.holder.modal.clear': string;
77
79
  'pisell2.product.card.add.holder.modal.apply': string;
78
80
  'pisell2.product.card.add.holder.modal.add': string;
81
+ 'pisell2.product.card.closing-soon.warning': string;
79
82
  };
80
83
  };
81
84
  export default _default;
@@ -37,7 +37,8 @@ export default {
37
37
  'pisell2.product.card.add.holder.modal.cancel': 'Cancel',
38
38
  'pisell2.product.card.add.holder.modal.clear': 'Clear',
39
39
  'pisell2.product.card.add.holder.modal.apply': 'Apply',
40
- 'pisell2.product.card.add.holder.modal.add': 'Add New'
40
+ 'pisell2.product.card.add.holder.modal.add': 'Add New',
41
+ 'pisell2.product.card.closing-soon.warning': 'The venue will close soon. Please make sure you have enough time for your visit.'
41
42
  },
42
43
  'zh-CN': {
43
44
  'pisell2.product.card.edit': '编辑',
@@ -77,7 +78,8 @@ export default {
77
78
  'pisell2.product.card.add.holder.modal.cancel': '取消',
78
79
  'pisell2.product.card.add.holder.modal.clear': '清除',
79
80
  'pisell2.product.card.add.holder.modal.apply': '应用',
80
- 'pisell2.product.card.add.holder.modal.add': '添加'
81
+ 'pisell2.product.card.add.holder.modal.add': '添加',
82
+ 'pisell2.product.card.closing-soon.warning': '当前入场时间临近营业结束,请确认是否仍要购买。'
81
83
  },
82
84
  'zh-HK': {
83
85
  'pisell2.product.card.edit': '編輯',
@@ -117,6 +119,7 @@ export default {
117
119
  'pisell2.product.card.add.holder.modal.cancel': '取消',
118
120
  'pisell2.product.card.add.holder.modal.clear': '清除',
119
121
  'pisell2.product.card.add.holder.modal.apply': '應用',
120
- 'pisell2.product.card.add.holder.modal.add': '添加'
122
+ 'pisell2.product.card.add.holder.modal.add': '添加',
123
+ 'pisell2.product.card.closing-soon.warning': '當前入場時間臨近營業結束,請確認是否仍要購買。'
121
124
  }
122
125
  };
@@ -64,5 +64,7 @@ export var defaultValue = {
64
64
  isShowPackageNote: true,
65
65
  isShowEditProduct: false,
66
66
  locale: 'en-US',
67
- symbol: '$'
67
+ symbol: '$',
68
+ // os层自定义错误提示
69
+ osWarnTips: []
68
70
  };
@@ -79,5 +79,6 @@ export declare type ProductCardTypes = {
79
79
  onLike?: (val: any) => void;
80
80
  onCard?: (val: any) => void;
81
81
  onChangeResource?: (val: any) => void;
82
+ osWarnTips?: Array<string>;
82
83
  [key: string]: any;
83
84
  };
@@ -60,6 +60,8 @@ export var getServiceTime = function getServiceTime(item, currentDate) {
60
60
  var utils = context.appHelper.utils || {};
61
61
  var locale = (item === null || item === void 0 ? void 0 : item.locale) || (utils === null || utils === void 0 || (_utils$storage = utils.storage) === null || _utils$storage === void 0 ? void 0 : _utils$storage.get('umi_locale')) || 'en-US';
62
62
  var isEn = locale === 'en-US' || locale === 'en';
63
+ // 灵活时长, 默认按分钟计算
64
+ var durationType = (item === null || item === void 0 ? void 0 : item.duration_type) === 'flexible' ? 'minutes' : item === null || item === void 0 ? void 0 : item.duration_type;
63
65
  var localeTypes = {
64
66
  'en-US': 'en',
65
67
  'zh-CN': 'zh-cn',
@@ -71,7 +73,7 @@ export var getServiceTime = function getServiceTime(item, currentDate) {
71
73
  var diffInDays = (item === null || item === void 0 ? void 0 : item.custom_day_count) || endDate.diff(startDate, 'day');
72
74
 
73
75
  // 1.2时间格式, 同天显示 年月日 开始 - 结束, 不同天 年月日 开始 - 年月日 结束
74
- if (item !== null && item !== void 0 && item.duration_type) {
76
+ if (durationType) {
75
77
  var sameDay = startDate.isSame(endDate, 'day');
76
78
  var dateFormat = isEn ? 'DD/MM/YYYY' : 'YYYY-MM-DD';
77
79
  var timeFormat = 'HH:mm';
@@ -98,14 +100,14 @@ export var getServiceTime = function getServiceTime(item, currentDate) {
98
100
  }
99
101
  var startDateTime = "".concat(startDate.format('YYYY-MM-DD'), " ").concat(startTime);
100
102
  var endDateTime = "".concat(endDate.format('YYYY-MM-DD'), " ").concat(endTime);
101
- var _duration = dayjs(endDateTime).diff(dayjs(startDateTime), item === null || item === void 0 ? void 0 : item.duration_type);
103
+ var _duration = dayjs(endDateTime).diff(dayjs(startDateTime), durationType);
102
104
  var durationText = '';
103
- if ((item === null || item === void 0 ? void 0 : item.duration_type) === 'minutes') {
105
+ if (durationType === 'minutes') {
104
106
  // 转为小时+分钟
105
107
  var hours = Math.floor(_duration / 60);
106
108
  var minutes = _duration % 60;
107
109
  durationText = locales.getText('pisell2.product.card.hour.minute')(hours, minutes);
108
- } else if ((item === null || item === void 0 ? void 0 : item.duration_type) === 'days') {
110
+ } else if (durationType === 'days') {
109
111
  durationText = locales.getText('pisell2.product.card.day')(_duration);
110
112
  } else {
111
113
  durationText = "".concat(_duration);
@@ -127,7 +129,7 @@ export var getServiceTime = function getServiceTime(item, currentDate) {
127
129
  }
128
130
 
129
131
  // 显示时长分钟
130
- if ((item === null || item === void 0 ? void 0 : item.duration_type) === 'minutes') {
132
+ if (durationType === 'minutes') {
131
133
  diffInDays = endDate.diff(startDate, 'minute');
132
134
  }
133
135
  var date = "".concat(startDate.format(_format), " ~ ").concat(endDate.format(_format));
@@ -141,7 +143,7 @@ export var getServiceTime = function getServiceTime(item, currentDate) {
141
143
  'minutes': locales.getText('pisell2.product.card.minute')(diffInDays),
142
144
  'event': locales.getText('pisell2.product.card.day.event')(diffInDays)
143
145
  };
144
- text = (textTypes === null || textTypes === void 0 ? void 0 : textTypes[item === null || item === void 0 ? void 0 : item.duration_type]) || text;
146
+ text = (textTypes === null || textTypes === void 0 ? void 0 : textTypes[durationType]) || text;
145
147
  var duration = "".concat(diffInDays).concat(text);
146
148
  return "".concat(date, " (").concat(duration, ")");
147
149
  };
@@ -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 { 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 { 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 { 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 { 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,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const SelectField: () => JSX.Element;
2
3
  export default SelectField;
@@ -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: string;
201
+ default_value: boolean;
201
202
  } | {
202
203
  field_icon: string;
203
204
  field_name: string;
204
205
  field_type: string;
205
- default_value: boolean;
206
+ default_value: string;
206
207
  } | {
207
208
  field_icon: string;
208
209
  field_name: string;
@@ -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: {