@pisell/materials 6.3.17 → 6.3.18

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 (269) 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 +5 -5
  6. package/build/lowcode/preview.js +144 -144
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +23 -23
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +23 -23
  11. package/es/components/TimeResourceSelector/index.d.ts +21 -0
  12. package/es/components/auto-resize-text/auto-text-size-standalone.d.ts +20 -0
  13. package/es/components/auto-resize-text/auto-text-size-standalone.js +258 -0
  14. package/es/components/auto-resize-text/index.d.ts +6 -0
  15. package/es/components/auto-resize-text/index.js +40 -0
  16. package/es/components/cardPro/index.js +10 -3
  17. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  18. package/es/components/dataSourceComponents/fields/index.d.ts +16 -16
  19. package/es/components/iconfont/index.js +1 -1
  20. package/es/components/keyboard/index.d.ts +22 -0
  21. package/es/components/keyboard/index.js +159 -0
  22. package/es/components/keyboard/index.less +44 -0
  23. package/es/components/page/index.js +5 -2
  24. package/es/components/pisell-config-provider/context.d.ts +2 -0
  25. package/es/components/pisell-config-provider/index.d.ts +1 -0
  26. package/es/components/pisellAdjustPrice/index.js +5 -1
  27. package/es/components/pisellAdjustPrice/type.d.ts +2 -0
  28. package/es/components/pisellCardList/index.d.ts +32 -2
  29. package/es/components/pisellCardList/index.js +39 -2
  30. package/es/components/pisellCardList/index.less +9 -1
  31. package/es/components/pisellCheckboxGroup/index.d.ts +3 -0
  32. package/es/components/pisellCheckboxGroup/index.js +9 -4
  33. package/es/components/pisellCheckboxGroup/index.less +28 -1
  34. package/es/components/pisellCustomCheckboxGroup/index.d.ts +16 -0
  35. package/es/components/pisellGoodPassCard/index.d.ts +1 -0
  36. package/es/components/pisellGoodPassCard/index.js +17 -5
  37. package/es/components/pisellText/components/Amount/index.js +2 -1
  38. package/es/components/pisellToast/index.d.ts +1 -0
  39. package/es/components/pisellToast/index.js +4 -0
  40. package/es/components/pisellToast/squareToast/index.d.ts +15 -0
  41. package/es/components/pisellToast/squareToast/index.js +28 -0
  42. package/es/components/pisellToast/squareToast/index.less +60 -0
  43. package/es/components/pisellToast/squareToast/methods.d.ts +13 -0
  44. package/es/components/pisellToast/squareToast/methods.js +136 -0
  45. package/es/components/pisellToast/squareToast/renderImperatively.d.ts +28 -0
  46. package/es/components/pisellToast/squareToast/renderImperatively.js +190 -0
  47. package/es/components/pisellToast/squareToast/toast.d.ts +25 -0
  48. package/es/components/pisellToast/squareToast/toast.js +60 -0
  49. package/es/components/pisellWalletPassCard/index.d.ts +53 -1
  50. package/es/components/pisellWalletPassCard/index.js +333 -73
  51. package/es/components/pisellWalletPassCard/index.less +47 -9
  52. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
  53. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.js +80 -0
  54. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.less +75 -0
  55. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +3 -0
  56. package/es/components/productCard/cartSkuCard/components/MultiDay/index.js +82 -0
  57. package/es/components/productCard/cartSkuCard/components/MultiDay/index.less +31 -0
  58. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  59. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.js +56 -0
  60. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +3 -0
  61. package/es/components/productCard/cartSkuCard/components/Note/index.js +29 -0
  62. package/es/components/productCard/cartSkuCard/components/Note/index.less +27 -0
  63. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +28 -0
  64. package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +94 -0
  65. package/es/components/productCard/cartSkuCard/components/basicInfo/index.less +117 -0
  66. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
  67. package/es/components/productCard/cartSkuCard/components/discountReason/index.js +51 -0
  68. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
  69. package/es/components/productCard/cartSkuCard/components/holders/index.js +49 -0
  70. package/es/components/productCard/cartSkuCard/components/holders/index.less +47 -0
  71. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
  72. package/es/components/productCard/cartSkuCard/components/packages/index.js +52 -0
  73. package/es/components/productCard/cartSkuCard/components/packages/index.less +22 -0
  74. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
  75. package/es/components/productCard/cartSkuCard/components/packages/utils.js +40 -0
  76. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
  77. package/es/components/productCard/cartSkuCard/components/resources/index.js +39 -0
  78. package/es/components/productCard/cartSkuCard/components/resources/index.less +19 -0
  79. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +12 -0
  80. package/es/components/productCard/cartSkuCard/components/sales/index.js +57 -0
  81. package/es/components/productCard/cartSkuCard/components/sales/index.less +22 -0
  82. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
  83. package/es/components/productCard/cartSkuCard/components/specs/index.js +44 -0
  84. package/es/components/productCard/cartSkuCard/components/specs/index.less +34 -0
  85. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
  86. package/es/components/productCard/cartSkuCard/components/swipeAction/index.js +360 -0
  87. package/es/components/productCard/cartSkuCard/components/swipeAction/index.less +74 -0
  88. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +6 -0
  89. package/es/components/productCard/cartSkuCard/components/timeRange/index.js +54 -0
  90. package/es/components/productCard/cartSkuCard/components/timeRange/index.less +38 -0
  91. package/es/components/productCard/cartSkuCard/index.d.ts +10 -0
  92. package/es/components/productCard/cartSkuCard/index.js +194 -0
  93. package/es/components/productCard/cartSkuCard/index.less +33 -0
  94. package/es/components/productCard/cartSkuCard/locales.d.ts +99 -0
  95. package/es/components/productCard/cartSkuCard/locales.js +33 -0
  96. package/es/components/productCard/components/Action/index.js +14 -1
  97. package/es/components/productCard/components/Action/index.less +3 -0
  98. package/es/components/productCard/components/Header/index.js +23 -8
  99. package/es/components/productCard/components/Header/index.less +16 -1
  100. package/es/components/productCard/components/Sales/index.js +2 -2
  101. package/es/components/productCard/components/Time/components/SelectHolderModal/index.js +3 -1
  102. package/es/components/productCard/components/Time/components/SelectHolderModal/index.less +3 -0
  103. package/es/components/productCard/index.d.ts +3 -1
  104. package/es/components/productCard/index.js +7 -2
  105. package/es/components/productCard/index.less +6 -0
  106. package/es/components/productCard/locales.js +3 -0
  107. package/es/components/productCard/status.js +1 -0
  108. package/es/components/productCard/types.d.ts +1 -0
  109. package/es/components/productCard/utils.js +8 -1
  110. package/es/components/select-time/index.d.ts +14 -0
  111. package/es/components/table/Table/AddFieldModal/index.d.ts +1 -0
  112. package/es/components/table/Table/AddFieldModal/index.js +13 -13
  113. package/es/components/table/Table/AddFieldModal/index.less +11 -11
  114. package/es/components/table/Table/utils.d.ts +1 -1
  115. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +5 -1
  116. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.js +21 -7
  117. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.less +9 -5
  118. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +4 -0
  119. package/es/components/virtual-keyboard/BaseNumberKeyboard/index.js +44 -25
  120. package/es/components/virtual-keyboard/Number/index.js +4 -1
  121. package/es/components/virtual-keyboard/Number/types.d.ts +1 -0
  122. package/es/components/virtual-keyboard/index.d.ts +11 -0
  123. package/es/components/virtual-keyboard/index.js +88 -3
  124. package/es/components/virtual-keyboard/index.less +33 -1
  125. package/es/components/virtualInput/BaseVirtualInput/index.d.ts +40 -0
  126. package/es/components/virtualInput/BaseVirtualInput/index.js +163 -0
  127. package/es/components/virtualInput/BaseVirtualInput/index.less +77 -0
  128. package/es/components/virtualInput/index.d.ts +24 -0
  129. package/es/components/virtualInput/index.js +60 -0
  130. package/es/components/virtualInput/index.less +42 -0
  131. package/es/index.d.ts +5 -1
  132. package/es/index.js +5 -2
  133. package/es/locales/en-US.d.ts +19 -2
  134. package/es/locales/en-US.js +29 -6
  135. package/es/locales/zh-CN.d.ts +19 -2
  136. package/es/locales/zh-CN.js +29 -6
  137. package/es/locales/zh-TW.d.ts +19 -2
  138. package/es/locales/zh-TW.js +28 -6
  139. package/lib/components/TimeResourceSelector/index.d.ts +21 -0
  140. package/lib/components/auto-resize-text/auto-text-size-standalone.d.ts +20 -0
  141. package/lib/components/auto-resize-text/auto-text-size-standalone.js +273 -0
  142. package/lib/components/auto-resize-text/index.d.ts +6 -0
  143. package/lib/components/auto-resize-text/index.js +71 -0
  144. package/lib/components/cardPro/index.js +3 -2
  145. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  146. package/lib/components/dataSourceComponents/fields/index.d.ts +16 -16
  147. package/lib/components/iconfont/index.js +1 -1
  148. package/lib/components/keyboard/index.d.ts +22 -0
  149. package/lib/components/keyboard/index.js +223 -0
  150. package/lib/components/keyboard/index.less +44 -0
  151. package/lib/components/page/index.js +3 -2
  152. package/lib/components/pisell-config-provider/context.d.ts +2 -0
  153. package/lib/components/pisell-config-provider/index.d.ts +1 -0
  154. package/lib/components/pisellAdjustPrice/index.js +4 -0
  155. package/lib/components/pisellAdjustPrice/type.d.ts +2 -0
  156. package/lib/components/pisellCardList/index.d.ts +32 -2
  157. package/lib/components/pisellCardList/index.js +39 -2
  158. package/lib/components/pisellCardList/index.less +9 -1
  159. package/lib/components/pisellCheckboxGroup/index.d.ts +3 -0
  160. package/lib/components/pisellCheckboxGroup/index.js +6 -1
  161. package/lib/components/pisellCheckboxGroup/index.less +28 -1
  162. package/lib/components/pisellCustomCheckboxGroup/index.d.ts +16 -0
  163. package/lib/components/pisellGoodPassCard/index.d.ts +1 -0
  164. package/lib/components/pisellGoodPassCard/index.js +31 -4
  165. package/lib/components/pisellText/components/Amount/index.js +2 -1
  166. package/lib/components/pisellToast/index.d.ts +1 -0
  167. package/lib/components/pisellToast/index.js +10 -1
  168. package/lib/components/pisellToast/squareToast/index.d.ts +15 -0
  169. package/lib/components/pisellToast/squareToast/index.js +58 -0
  170. package/lib/components/pisellToast/squareToast/index.less +60 -0
  171. package/lib/components/pisellToast/squareToast/methods.d.ts +13 -0
  172. package/lib/components/pisellToast/squareToast/methods.js +150 -0
  173. package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +28 -0
  174. package/lib/components/pisellToast/squareToast/renderImperatively.js +162 -0
  175. package/lib/components/pisellToast/squareToast/toast.d.ts +25 -0
  176. package/lib/components/pisellToast/squareToast/toast.js +88 -0
  177. package/lib/components/pisellWalletPassCard/index.d.ts +53 -1
  178. package/lib/components/pisellWalletPassCard/index.js +257 -59
  179. package/lib/components/pisellWalletPassCard/index.less +47 -9
  180. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +3 -0
  181. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.js +80 -0
  182. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.less +75 -0
  183. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +3 -0
  184. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.js +71 -0
  185. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.less +31 -0
  186. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +14 -0
  187. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.js +77 -0
  188. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +3 -0
  189. package/lib/components/productCard/cartSkuCard/components/Note/index.js +56 -0
  190. package/lib/components/productCard/cartSkuCard/components/Note/index.less +27 -0
  191. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +28 -0
  192. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +83 -0
  193. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.less +117 -0
  194. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
  195. package/lib/components/productCard/cartSkuCard/components/discountReason/index.js +70 -0
  196. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +3 -0
  197. package/lib/components/productCard/cartSkuCard/components/holders/index.js +64 -0
  198. package/lib/components/productCard/cartSkuCard/components/holders/index.less +47 -0
  199. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
  200. package/lib/components/productCard/cartSkuCard/components/packages/index.js +73 -0
  201. package/lib/components/productCard/cartSkuCard/components/packages/index.less +22 -0
  202. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
  203. package/lib/components/productCard/cartSkuCard/components/packages/utils.js +44 -0
  204. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +3 -0
  205. package/lib/components/productCard/cartSkuCard/components/resources/index.js +71 -0
  206. package/lib/components/productCard/cartSkuCard/components/resources/index.less +19 -0
  207. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +12 -0
  208. package/lib/components/productCard/cartSkuCard/components/sales/index.js +77 -0
  209. package/lib/components/productCard/cartSkuCard/components/sales/index.less +22 -0
  210. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
  211. package/lib/components/productCard/cartSkuCard/components/specs/index.js +66 -0
  212. package/lib/components/productCard/cartSkuCard/components/specs/index.less +34 -0
  213. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +46 -0
  214. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.js +373 -0
  215. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.less +74 -0
  216. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +6 -0
  217. package/lib/components/productCard/cartSkuCard/components/timeRange/index.js +68 -0
  218. package/lib/components/productCard/cartSkuCard/components/timeRange/index.less +38 -0
  219. package/lib/components/productCard/cartSkuCard/index.d.ts +10 -0
  220. package/lib/components/productCard/cartSkuCard/index.js +229 -0
  221. package/lib/components/productCard/cartSkuCard/index.less +33 -0
  222. package/lib/components/productCard/cartSkuCard/locales.d.ts +99 -0
  223. package/lib/components/productCard/cartSkuCard/locales.js +64 -0
  224. package/lib/components/productCard/components/Action/index.js +9 -0
  225. package/lib/components/productCard/components/Action/index.less +3 -0
  226. package/lib/components/productCard/components/Header/index.js +21 -11
  227. package/lib/components/productCard/components/Header/index.less +16 -1
  228. package/lib/components/productCard/components/Sales/index.js +2 -2
  229. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.js +1 -1
  230. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.less +3 -0
  231. package/lib/components/productCard/index.d.ts +3 -1
  232. package/lib/components/productCard/index.js +7 -2
  233. package/lib/components/productCard/index.less +6 -0
  234. package/lib/components/productCard/locales.js +12 -3
  235. package/lib/components/productCard/status.js +1 -0
  236. package/lib/components/productCard/types.d.ts +1 -0
  237. package/lib/components/productCard/utils.js +8 -1
  238. package/lib/components/select-time/index.d.ts +14 -0
  239. package/lib/components/table/Table/AddFieldModal/index.d.ts +1 -0
  240. package/lib/components/table/Table/AddFieldModal/index.js +9 -9
  241. package/lib/components/table/Table/AddFieldModal/index.less +11 -11
  242. package/lib/components/table/Table/utils.d.ts +1 -1
  243. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +5 -1
  244. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.js +19 -2
  245. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.less +9 -5
  246. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.d.ts +4 -0
  247. package/lib/components/virtual-keyboard/BaseNumberKeyboard/index.js +45 -27
  248. package/lib/components/virtual-keyboard/Number/index.js +3 -0
  249. package/lib/components/virtual-keyboard/Number/types.d.ts +1 -0
  250. package/lib/components/virtual-keyboard/index.d.ts +11 -0
  251. package/lib/components/virtual-keyboard/index.js +60 -2
  252. package/lib/components/virtual-keyboard/index.less +33 -1
  253. package/lib/components/virtualInput/BaseVirtualInput/index.d.ts +40 -0
  254. package/lib/components/virtualInput/BaseVirtualInput/index.js +179 -0
  255. package/lib/components/virtualInput/BaseVirtualInput/index.less +77 -0
  256. package/lib/components/virtualInput/index.d.ts +24 -0
  257. package/lib/components/virtualInput/index.js +102 -0
  258. package/lib/components/virtualInput/index.less +42 -0
  259. package/lib/index.d.ts +5 -1
  260. package/lib/index.js +11 -0
  261. package/lib/locales/en-US.d.ts +19 -2
  262. package/lib/locales/en-US.js +24 -5
  263. package/lib/locales/zh-CN.d.ts +19 -2
  264. package/lib/locales/zh-CN.js +24 -5
  265. package/lib/locales/zh-TW.d.ts +19 -2
  266. package/lib/locales/zh-TW.js +23 -5
  267. package/package.json +4 -4
  268. package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -12
  269. package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -12
package/lib/index.js CHANGED
@@ -35,6 +35,7 @@ __export(src_exports, {
35
35
  AppVersionControl: () => import_appVersionControl.default,
36
36
  AutoComplete: () => import_auto_complete.default,
37
37
  AutoCompleteNumber: () => import_auto_complete_number.default,
38
+ AutoResizeText: () => import_auto_resize_text.default,
38
39
  Avatar: () => import_antd.Avatar,
39
40
  Badge: () => import_badge.default,
40
41
  BaseTranslation: () => import_BaseTranslation.default,
@@ -97,6 +98,7 @@ __export(src_exports, {
97
98
  InputNumber: () => import_antd.InputNumber,
98
99
  InputNumberRange: () => import_input_number_range.default,
99
100
  JsonWrapper: () => import_JsonWrapperProvider.default,
101
+ Keyboard: () => import_keyboard.default,
100
102
  List: () => import_list.default,
101
103
  LowCodePage: () => import_lowCodePage.default,
102
104
  Mentions: () => import_antd.Mentions,
@@ -194,6 +196,7 @@ __export(src_exports, {
194
196
  TreeSelect: () => import_tree_select.default,
195
197
  Typography: () => import_typography.default,
196
198
  Upload: () => import_upload.default,
199
+ VirtualInput: () => import_virtualInput.default,
197
200
  VirtualKeyboard: () => import_virtual_keyboard.default,
198
201
  VirtualKeyboardTime: () => import_Time.default,
199
202
  WalletCard: () => import_walletCard.default,
@@ -203,6 +206,7 @@ __export(src_exports, {
203
206
  message: () => import_antd.message,
204
207
  notification: () => import_antd.notification,
205
208
  usePisellConfig: () => import_usePisellConfig.default,
209
+ useToast: () => import_pisellToast.useToast,
206
210
  version: () => import_antd.version
207
211
  });
208
212
  module.exports = __toCommonJS(src_exports);
@@ -345,6 +349,9 @@ var import_section_footers = __toESM(require("./components/section-footers"));
345
349
  var import_productCard = __toESM(require("./components/productCard"));
346
350
  var import_collapse = __toESM(require("./components/collapse"));
347
351
  var import_pisellGoodPassCard = __toESM(require("./components/pisellGoodPassCard"));
352
+ var import_keyboard = __toESM(require("./components/keyboard"));
353
+ var import_virtualInput = __toESM(require("./components/virtualInput"));
354
+ var import_auto_resize_text = __toESM(require("./components/auto-resize-text"));
348
355
  // Annotate the CommonJS export names for ESM import in node:
349
356
  0 && (module.exports = {
350
357
  Affix,
@@ -353,6 +360,7 @@ var import_pisellGoodPassCard = __toESM(require("./components/pisellGoodPassCard
353
360
  AppVersionControl,
354
361
  AutoComplete,
355
362
  AutoCompleteNumber,
363
+ AutoResizeText,
356
364
  Avatar,
357
365
  Badge,
358
366
  BaseTranslation,
@@ -415,6 +423,7 @@ var import_pisellGoodPassCard = __toESM(require("./components/pisellGoodPassCard
415
423
  InputNumber,
416
424
  InputNumberRange,
417
425
  JsonWrapper,
426
+ Keyboard,
418
427
  List,
419
428
  LowCodePage,
420
429
  Mentions,
@@ -512,6 +521,7 @@ var import_pisellGoodPassCard = __toESM(require("./components/pisellGoodPassCard
512
521
  TreeSelect,
513
522
  Typography,
514
523
  Upload,
524
+ VirtualInput,
515
525
  VirtualKeyboard,
516
526
  VirtualKeyboardTime,
517
527
  WalletCard,
@@ -521,5 +531,6 @@ var import_pisellGoodPassCard = __toESM(require("./components/pisellGoodPassCard
521
531
  message,
522
532
  notification,
523
533
  usePisellConfig,
534
+ useToast,
524
535
  version
525
536
  });
@@ -273,12 +273,19 @@ declare const _default: {
273
273
  'pisell-login-and-register-register-button-text': string;
274
274
  'pisell-login-and-register-remember-me': string;
275
275
  'pisell-login-and-register-forgot-password': string;
276
- 'pisell2.wallet-card.add-holder-tip': string;
277
- 'pisell2.wallet-card.add-holder-button-text': string;
278
276
  'pisell2.text.goodpass.product-vouchers': string;
279
277
  'pisell2.text.goodpass.last-settlement': string;
280
278
  'pisell2.text.goodpass.view-more': string;
281
279
  'pisell2.text.goodpass.save': string;
280
+ 'pisell-wallet-pass-card-status-used': string;
281
+ 'pisell-wallet-pass-card-status-expired': string;
282
+ 'pisell-wallet-pass-card-status-disabled': string;
283
+ 'pisell-wallet-pass-card-status-conflict': string;
284
+ 'pisell-wallet-pass-card-status-lastPayment': string;
285
+ 'pisell-wallet-pass-card-reset': string;
286
+ 'pisell-wallet-pass-card-done': string;
287
+ 'pisell2.wallet-card.add-holder-tip': string;
288
+ 'pisell2.wallet-card.add-holder-button-text': string;
282
289
  'pisell-camera-no-camera-accessible': string;
283
290
  'pisell-camera-permission-denied': string;
284
291
  'pisell-camera-switch-camera': string;
@@ -289,5 +296,15 @@ declare const _default: {
289
296
  'pisell-upload-camera-capture': string;
290
297
  'pisell-upload-camera-retake': string;
291
298
  'pisell-upload-camera-use': string;
299
+ 'pisell-list-tab-group-default': string;
300
+ 'pisell-list-empty-text-default': string;
301
+ 'pisell-list-load-more': string;
302
+ 'pisell-list-view-less': string;
303
+ 'pisell-list-pagination-total': (start: number, end: number, total: number) => string;
304
+ 'pisell-list-scroll-down': string;
305
+ 'pisell-list-scroll-right': string;
306
+ 'pisell-list-pagination-page-of': (current: number, total: number) => string;
307
+ 'pisell-list-pagination-previous': string;
308
+ 'pisell-list-pagination-next': string;
292
309
  };
293
310
  export default _default;
@@ -153,7 +153,7 @@ var en_US_default = {
153
153
  "pisell-wallet-pass-card-name": "Name",
154
154
  "pisell-wallet-pass-card-store-name": "StoreName",
155
155
  "pisell-wallet-pass-card-balance": "Balance",
156
- "pisell-wallet-pass-card-redeem": "Redeem",
156
+ "pisell-wallet-pass-card-redeem": "use",
157
157
  "pisell-wallet-pass-card-code": "Code",
158
158
  "pisell-wallet-pass-card-valid-to": "Valid to",
159
159
  "pisell-wallet-pass-card-valid": "Valid",
@@ -325,13 +325,21 @@ var en_US_default = {
325
325
  "pisell-login-and-register-register-button-text": "Create account",
326
326
  "pisell-login-and-register-remember-me": "Remember me",
327
327
  "pisell-login-and-register-forgot-password": "Forgot password?",
328
- // 钱包卡片组件
329
- "pisell2.wallet-card.add-holder-tip": "To ensure your benefits, please\r\nassign a holder to activate this card.",
330
- "pisell2.wallet-card.add-holder-button-text": "Set Holder",
328
+ // 商品券组件
331
329
  "pisell2.text.goodpass.product-vouchers": "Promotions & Vouchers",
332
330
  "pisell2.text.goodpass.last-settlement": "(Last payment)",
333
331
  "pisell2.text.goodpass.view-more": "View More",
334
332
  "pisell2.text.goodpass.save": "Save",
333
+ // 钱包卡片组件
334
+ "pisell-wallet-pass-card-status-used": "Used",
335
+ "pisell-wallet-pass-card-status-expired": "Expired",
336
+ "pisell-wallet-pass-card-status-disabled": "Disabled",
337
+ "pisell-wallet-pass-card-status-conflict": "Conflict",
338
+ "pisell-wallet-pass-card-status-lastPayment": "Last Payment",
339
+ "pisell-wallet-pass-card-reset": "Reset",
340
+ "pisell-wallet-pass-card-done": "Done",
341
+ "pisell2.wallet-card.add-holder-tip": "To ensure your benefits, please\r\nassign a holder to activate this card.",
342
+ "pisell2.wallet-card.add-holder-button-text": "Set Holder",
335
343
  // 相机组件
336
344
  "pisell-camera-no-camera-accessible": "No camera accessible",
337
345
  "pisell-camera-permission-denied": "Permission denied",
@@ -343,5 +351,16 @@ var en_US_default = {
343
351
  "pisell-upload-camera-local-files": "Local Files",
344
352
  "pisell-upload-camera-capture": "Capture",
345
353
  "pisell-upload-camera-retake": "Retake",
346
- "pisell-upload-camera-use": "Use photo"
354
+ "pisell-upload-camera-use": "Use photo",
355
+ // 列表组件
356
+ "pisell-list-tab-group-default": "Field",
357
+ "pisell-list-empty-text-default": "No data available",
358
+ "pisell-list-load-more": "Load More",
359
+ "pisell-list-view-less": "View Less",
360
+ "pisell-list-pagination-total": (start, end, total) => `Showing ${start}-${end} of ${total} items`,
361
+ "pisell-list-scroll-down": "Scroll Down",
362
+ "pisell-list-scroll-right": "Scroll Right",
363
+ "pisell-list-pagination-page-of": (current, total) => `Page ${current} of ${total}`,
364
+ "pisell-list-pagination-previous": "Previous",
365
+ "pisell-list-pagination-next": "Next"
347
366
  };
@@ -268,12 +268,19 @@ declare const _default: {
268
268
  'pisell-login-and-register-register-button-text': string;
269
269
  'pisell-login-and-register-remember-me': string;
270
270
  'pisell-login-and-register-forgot-password': string;
271
- 'pisell2.wallet-card.add-holder-tip': string;
272
- 'pisell2.wallet-card.add-holder-button-text': string;
273
271
  'pisell2.text.goodpass.product-vouchers': string;
274
272
  'pisell2.text.goodpass.last-settlement': string;
275
273
  'pisell2.text.goodpass.view-more': string;
276
274
  'pisell2.text.goodpass.save': string;
275
+ 'pisell-wallet-pass-card-status-used': string;
276
+ 'pisell-wallet-pass-card-status-expired': string;
277
+ 'pisell-wallet-pass-card-status-disabled': string;
278
+ 'pisell-wallet-pass-card-status-conflict': string;
279
+ 'pisell-wallet-pass-card-status-lastPayment': string;
280
+ 'pisell-wallet-pass-card-reset': string;
281
+ 'pisell-wallet-pass-card-done': string;
282
+ 'pisell2.wallet-card.add-holder-tip': string;
283
+ 'pisell2.wallet-card.add-holder-button-text': string;
277
284
  'pisell-camera-no-camera-accessible': string;
278
285
  'pisell-camera-permission-denied': string;
279
286
  'pisell-camera-switch-camera': string;
@@ -284,5 +291,15 @@ declare const _default: {
284
291
  'pisell-upload-camera-capture': string;
285
292
  'pisell-upload-camera-retake': string;
286
293
  'pisell-upload-camera-use': string;
294
+ 'pisell-list-tab-group-default': string;
295
+ 'pisell-list-empty-text-default': string;
296
+ 'pisell-list-load-more': string;
297
+ 'pisell-list-view-less': string;
298
+ 'pisell-list-pagination-total': (start: number, end: number, total: number) => string;
299
+ 'pisell-list-scroll-down': string;
300
+ 'pisell-list-scroll-right': string;
301
+ 'pisell-list-pagination-page-of': (current: number, total: number) => string;
302
+ 'pisell-list-pagination-previous': string;
303
+ 'pisell-list-pagination-next': string;
287
304
  };
288
305
  export default _default;
@@ -153,7 +153,7 @@ var zh_CN_default = {
153
153
  "pisell-wallet-pass-card-name": "商品名称",
154
154
  "pisell-wallet-pass-card-store-name": "共享店铺名称",
155
155
  "pisell-wallet-pass-card-balance": "余额",
156
- "pisell-wallet-pass-card-redeem": "兑换",
156
+ "pisell-wallet-pass-card-redeem": "使用",
157
157
  "pisell-wallet-pass-card-code": "识别码编号",
158
158
  "pisell-wallet-pass-card-valid-to": "有效期至",
159
159
  "pisell-wallet-pass-card-valid": "有效期",
@@ -316,13 +316,21 @@ var zh_CN_default = {
316
316
  "pisell-login-and-register-register-button-text": "创建账户",
317
317
  "pisell-login-and-register-remember-me": "记住我",
318
318
  "pisell-login-and-register-forgot-password": "忘记密码?",
319
- // 钱包卡片组件
320
- "pisell2.wallet-card.add-holder-tip": "为确保您的权益,此卡\r\n需指定使用人后方可激活使用。",
321
- "pisell2.wallet-card.add-holder-button-text": "添加持有人",
319
+ // 商品券
322
320
  "pisell2.text.goodpass.product-vouchers": "优惠促销",
323
321
  "pisell2.text.goodpass.last-settlement": "(上次结算)",
324
322
  "pisell2.text.goodpass.view-more": "查看更多",
325
323
  "pisell2.text.goodpass.save": "节省",
324
+ // 钱包卡片组件
325
+ "pisell-wallet-pass-card-status-used": "已使用",
326
+ "pisell-wallet-pass-card-status-expired": "已过期",
327
+ "pisell-wallet-pass-card-status-disabled": "已禁用",
328
+ "pisell-wallet-pass-card-status-conflict": "冲突",
329
+ "pisell-wallet-pass-card-status-lastPayment": "上次结算",
330
+ "pisell-wallet-pass-card-reset": "清空",
331
+ "pisell-wallet-pass-card-done": "保存",
332
+ "pisell2.wallet-card.add-holder-tip": "为确保您的权益,此卡\r\n需指定使用人后方可激活使用。",
333
+ "pisell2.wallet-card.add-holder-button-text": "添加持有人",
326
334
  // 相机组件
327
335
  "pisell-camera-no-camera-accessible": "没有找到摄像头",
328
336
  "pisell-camera-permission-denied": "没有权限使用摄像头",
@@ -334,5 +342,16 @@ var zh_CN_default = {
334
342
  "pisell-upload-camera-local-files": "本地文件",
335
343
  "pisell-upload-camera-capture": "拍摄/拍照",
336
344
  "pisell-upload-camera-retake": "重拍",
337
- "pisell-upload-camera-use": "使用照片"
345
+ "pisell-upload-camera-use": "使用照片",
346
+ // 列表组件
347
+ "pisell-list-tab-group-default": "字段",
348
+ "pisell-list-empty-text-default": "暂无数据",
349
+ "pisell-list-load-more": "查看更多",
350
+ "pisell-list-view-less": "查看更少",
351
+ "pisell-list-pagination-total": (start, end, total) => `显示第 ${start}-${end} 条,共 ${total} 条`,
352
+ "pisell-list-scroll-down": "向下滚动",
353
+ "pisell-list-scroll-right": "向右滚动",
354
+ "pisell-list-pagination-page-of": (current, total) => `第 ${current} 页 共 ${total} 页`,
355
+ "pisell-list-pagination-previous": "上一页",
356
+ "pisell-list-pagination-next": "下一页"
338
357
  };
@@ -268,12 +268,19 @@ declare const _default: {
268
268
  'pisell-login-and-register-register-button-text': string;
269
269
  'pisell-login-and-register-remember-me': string;
270
270
  'pisell-login-and-register-forgot-password': string;
271
- 'pisell2.wallet-card.add-holder-tip': string;
272
- 'pisell2.wallet-card.add-holder-button-text': string;
273
271
  'pisell2.text.goodpass.product-vouchers': string;
274
272
  'pisell2.text.goodpass.last-settlement': string;
275
273
  'pisell2.text.goodpass.view-more': string;
276
274
  'pisell2.text.goodpass.save': string;
275
+ 'pisell-wallet-pass-card-status-used': string;
276
+ 'pisell-wallet-pass-card-status-expired': string;
277
+ 'pisell-wallet-pass-card-status-disabled': string;
278
+ 'pisell-wallet-pass-card-status-conflict': string;
279
+ 'pisell-wallet-pass-card-status-lastPayment': string;
280
+ 'pisell-wallet-pass-card-reset': string;
281
+ 'pisell-wallet-pass-card-done': string;
282
+ 'pisell2.wallet-card.add-holder-tip': string;
283
+ 'pisell2.wallet-card.add-holder-button-text': string;
277
284
  'pisell-camera-no-camera-accessible': string;
278
285
  'pisell-camera-permission-denied': string;
279
286
  'pisell-camera-switch-camera': string;
@@ -284,5 +291,15 @@ declare const _default: {
284
291
  'pisell-upload-camera-capture': string;
285
292
  'pisell-upload-camera-retake': string;
286
293
  'pisell-upload-camera-use': string;
294
+ 'pisell-list-tab-group-default': string;
295
+ 'pisell-list-empty-text-default': string;
296
+ 'pisell-list-load-more': string;
297
+ 'pisell-list-view-less': string;
298
+ 'pisell-list-pagination-total': (start: number, end: number, total: number) => string;
299
+ 'pisell-list-scroll-down': string;
300
+ 'pisell-list-scroll-right': string;
301
+ 'pisell-list-pagination-page-of': (current: number, total: number) => string;
302
+ 'pisell-list-pagination-previous': string;
303
+ 'pisell-list-pagination-next': string;
287
304
  };
288
305
  export default _default;
@@ -153,7 +153,7 @@ var zh_TW_default = {
153
153
  "pisell-wallet-pass-card-name": "商品名稱",
154
154
  "pisell-wallet-pass-card-store-name": "共享店鋪名稱",
155
155
  "pisell-wallet-pass-card-balance": "餘額",
156
- "pisell-wallet-pass-card-redeem": "兌換",
156
+ "pisell-wallet-pass-card-redeem": "使用",
157
157
  "pisell-wallet-pass-card-code": "識別碼編號",
158
158
  "pisell-wallet-pass-card-valid-to": "有效期至",
159
159
  "pisell-wallet-pass-card-valid": "有效期",
@@ -318,13 +318,20 @@ var zh_TW_default = {
318
318
  "pisell-login-and-register-register-button-text": "創建帳戶",
319
319
  "pisell-login-and-register-remember-me": "記住我",
320
320
  "pisell-login-and-register-forgot-password": "忘記密碼?",
321
- // 钱包卡片组件
322
- "pisell2.wallet-card.add-holder-tip": "為確保您的權益,此卡\r\n需指定使用人後方可激活使用。",
323
- "pisell2.wallet-card.add-holder-button-text": "添加使用人",
324
321
  "pisell2.text.goodpass.product-vouchers": "優惠促銷",
325
322
  "pisell2.text.goodpass.last-settlement": "(上次結算)",
326
323
  "pisell2.text.goodpass.view-more": "查看更多",
327
324
  "pisell2.text.goodpass.save": "節省",
325
+ // 钱包卡片组件
326
+ "pisell-wallet-pass-card-status-used": "已使用",
327
+ "pisell-wallet-pass-card-status-expired": "已過期",
328
+ "pisell-wallet-pass-card-status-disabled": "已禁用",
329
+ "pisell-wallet-pass-card-status-conflict": "衝突",
330
+ "pisell-wallet-pass-card-status-lastPayment": "上次結算",
331
+ "pisell-wallet-pass-card-reset": "清空",
332
+ "pisell-wallet-pass-card-done": "保存",
333
+ "pisell2.wallet-card.add-holder-tip": "為確保您的權益,此卡\r\n需指定使用人後方可激活使用。",
334
+ "pisell2.wallet-card.add-holder-button-text": "添加使用人",
328
335
  // 相机组件
329
336
  "pisell-camera-no-camera-accessible": "沒有找到攝像頭",
330
337
  "pisell-camera-permission-denied": "沒有權限使用攝像頭",
@@ -336,5 +343,16 @@ var zh_TW_default = {
336
343
  "pisell-upload-camera-local-files": "本地文件",
337
344
  "pisell-upload-camera-capture": "拍攝/拍照",
338
345
  "pisell-upload-camera-retake": "重拍",
339
- "pisell-upload-camera-use": "使用照片"
346
+ "pisell-upload-camera-use": "使用照片",
347
+ // 列表組件
348
+ "pisell-list-tab-group-default": "字段",
349
+ "pisell-list-empty-text-default": "暫無數據",
350
+ "pisell-list-load-more": "查看更多",
351
+ "pisell-list-view-less": "查看更少",
352
+ "pisell-list-pagination-total": (start, end, total) => `顯示第 ${start}-${end} 條,共 ${total} 條`,
353
+ "pisell-list-scroll-down": "向下滾動",
354
+ "pisell-list-scroll-right": "向右滾動",
355
+ "pisell-list-pagination-page-of": (current, total) => `第 ${current} 頁 共 ${total} 頁`,
356
+ "pisell-list-pagination-previous": "上一頁",
357
+ "pisell-list-pagination-next": "下一頁"
340
358
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "6.3.17",
3
+ "version": "6.3.18",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -72,9 +72,9 @@
72
72
  "react-barcode": "^1.5.3",
73
73
  "vod-js-sdk-v6": "^1.4.11",
74
74
  "react-camera-pro": "1.4.0",
75
- "@pisell/date-picker": "3.0.6",
76
- "@pisell/icon": "0.0.11",
77
- "@pisell/utils": "3.0.3"
75
+ "@pisell/date-picker": "3.0.7",
76
+ "@pisell/utils": "3.0.4",
77
+ "@pisell/icon": "0.0.11"
78
78
  },
79
79
  "peerDependencies": {
80
80
  "react": "^18.0.0",
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- export interface VariablesContextType {
3
- children?: React.ReactNode;
4
- variables?: Record<string, any>;
5
- registerVariable?: (value: Record<string, any>) => void;
6
- parseVariable?: (str: string, localVariables?: Record<string, any>) => any;
7
- registerValueVariable?: (componentId: string, value: Record<string, any>) => void;
8
- registerFunctionVariable?: (componentId: string, value: Record<string, any>) => void;
9
- subscribeVariables?: (listener: (allVariables: Record<string, any>, updateVariables: Record<string, any>) => void) => () => void;
10
- }
11
- export declare const VariablesContext: import("react").Context<VariablesContextType>;
12
- export default VariablesContext;
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- export interface VariablesContextType {
3
- children?: React.ReactNode;
4
- variables?: Record<string, any>;
5
- registerVariable?: (value: Record<string, any>) => void;
6
- parseVariable?: (str: string, localVariables?: Record<string, any>) => any;
7
- registerValueVariable?: (componentId: string, value: Record<string, any>) => void;
8
- registerFunctionVariable?: (componentId: string, value: Record<string, any>) => void;
9
- subscribeVariables?: (listener: (allVariables: Record<string, any>, updateVariables: Record<string, any>) => void) => () => void;
10
- }
11
- export declare const VariablesContext: import("react").Context<VariablesContextType>;
12
- export default VariablesContext;