@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
@@ -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;
@@ -147,7 +147,7 @@ export default {
147
147
  'pisell-wallet-pass-card-name': '商品名稱',
148
148
  'pisell-wallet-pass-card-store-name': '共享店鋪名稱',
149
149
  'pisell-wallet-pass-card-balance': '餘額',
150
- 'pisell-wallet-pass-card-redeem': '兌換',
150
+ 'pisell-wallet-pass-card-redeem': '使用',
151
151
  'pisell-wallet-pass-card-code': '識別碼編號',
152
152
  'pisell-wallet-pass-card-valid-to': '有效期至',
153
153
  'pisell-wallet-pass-card-valid': '有效期',
@@ -330,13 +330,20 @@ export default {
330
330
  'pisell-login-and-register-register-button-text': '創建帳戶',
331
331
  'pisell-login-and-register-remember-me': '記住我',
332
332
  'pisell-login-and-register-forgot-password': '忘記密碼?',
333
+ 'pisell2.text.goodpass.product-vouchers': "優惠促銷",
334
+ 'pisell2.text.goodpass.last-settlement': "(上次結算)",
335
+ 'pisell2.text.goodpass.view-more': "查看更多",
336
+ 'pisell2.text.goodpass.save': "節省",
333
337
  // 钱包卡片组件
338
+ 'pisell-wallet-pass-card-status-used': '已使用',
339
+ 'pisell-wallet-pass-card-status-expired': '已過期',
340
+ 'pisell-wallet-pass-card-status-disabled': '已禁用',
341
+ 'pisell-wallet-pass-card-status-conflict': '衝突',
342
+ 'pisell-wallet-pass-card-status-lastPayment': '上次結算',
343
+ 'pisell-wallet-pass-card-reset': '清空',
344
+ 'pisell-wallet-pass-card-done': '保存',
334
345
  'pisell2.wallet-card.add-holder-tip': '為確保您的權益,此卡\r\n需指定使用人後方可激活使用。',
335
346
  'pisell2.wallet-card.add-holder-button-text': '添加使用人',
336
- 'pisell2.text.goodpass.product-vouchers': '優惠促銷',
337
- 'pisell2.text.goodpass.last-settlement': '(上次結算)',
338
- 'pisell2.text.goodpass.view-more': '查看更多',
339
- 'pisell2.text.goodpass.save': '節省',
340
347
  // 相机组件
341
348
  'pisell-camera-no-camera-accessible': '沒有找到攝像頭',
342
349
  'pisell-camera-permission-denied': '沒有權限使用攝像頭',
@@ -348,5 +355,20 @@ export default {
348
355
  'pisell-upload-camera-local-files': '本地文件',
349
356
  'pisell-upload-camera-capture': '拍攝/拍照',
350
357
  'pisell-upload-camera-retake': '重拍',
351
- 'pisell-upload-camera-use': '使用照片'
358
+ 'pisell-upload-camera-use': '使用照片',
359
+ // 列表組件
360
+ 'pisell-list-tab-group-default': '字段',
361
+ 'pisell-list-empty-text-default': '暫無數據',
362
+ 'pisell-list-load-more': '查看更多',
363
+ 'pisell-list-view-less': '查看更少',
364
+ 'pisell-list-pagination-total': function pisellListPaginationTotal(start, end, total) {
365
+ return "\u986F\u793A\u7B2C ".concat(start, "-").concat(end, " \u689D\uFF0C\u5171 ").concat(total, " \u689D");
366
+ },
367
+ 'pisell-list-scroll-down': '向下滾動',
368
+ 'pisell-list-scroll-right': '向右滾動',
369
+ 'pisell-list-pagination-page-of': function pisellListPaginationPageOf(current, total) {
370
+ return "\u7B2C ".concat(current, " \u9801 \u5171 ").concat(total, " \u9801");
371
+ },
372
+ 'pisell-list-pagination-previous': '上一頁',
373
+ 'pisell-list-pagination-next': '下一頁'
352
374
  };
@@ -0,0 +1,21 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export interface TimeSlot {
4
+ value: string;
5
+ label: string;
6
+ time: string;
7
+ remainingCount: number;
8
+ disabled?: boolean;
9
+ }
10
+ export interface TimeResourceSelectorProps {
11
+ timeSlots?: TimeSlot[];
12
+ multiple?: boolean;
13
+ showUnavailable?: boolean;
14
+ defaultExpanded?: boolean;
15
+ defaultSelectFirst?: boolean;
16
+ onChange?: (values: string | string[]) => void;
17
+ className?: string;
18
+ style?: React.CSSProperties;
19
+ }
20
+ declare const TimeResourceSelector: React.FC<TimeResourceSelectorProps>;
21
+ export default TimeResourceSelector;
@@ -0,0 +1,20 @@
1
+ export declare type Options = {
2
+ mode?: 'oneline' | 'multiline' | 'box' | 'boxoneline' | undefined;
3
+ minFontSizePx?: number | undefined;
4
+ maxFontSizePx?: number | undefined;
5
+ fontSizePrecisionPx?: number | undefined;
6
+ scrollToEnd?: boolean | undefined;
7
+ };
8
+ export declare function updateTextSize({ innerEl, containerEl, mode, minFontSizePx, maxFontSizePx, fontSizePrecisionPx, scrollToEnd, }: Options & {
9
+ innerEl: HTMLElement;
10
+ containerEl: HTMLElement;
11
+ }): void;
12
+ declare type DisconnectableFunction = {
13
+ (): void;
14
+ disconnect: () => void;
15
+ };
16
+ export declare function autoTextSize({ innerEl, containerEl, mode, minFontSizePx, maxFontSizePx, fontSizePrecisionPx, scrollToEnd, }: Options & {
17
+ innerEl: HTMLElement;
18
+ containerEl: HTMLElement;
19
+ }): DisconnectableFunction;
20
+ export {};
@@ -0,0 +1,273 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // src/components/auto-resize-text/auto-text-size-standalone.ts
20
+ var auto_text_size_standalone_exports = {};
21
+ __export(auto_text_size_standalone_exports, {
22
+ autoTextSize: () => autoTextSize,
23
+ updateTextSize: () => updateTextSize
24
+ });
25
+ module.exports = __toCommonJS(auto_text_size_standalone_exports);
26
+ function throttleAnimationFrame(func) {
27
+ let wait = false;
28
+ return () => {
29
+ if (!wait) {
30
+ wait = true;
31
+ requestAnimationFrame(() => {
32
+ func();
33
+ wait = false;
34
+ });
35
+ }
36
+ };
37
+ }
38
+ var antiOverflowAlgo = ({
39
+ fontSizePx,
40
+ minFontSizePx,
41
+ fontSizePrecisionPx,
42
+ updateFontSizePx,
43
+ breakPredicate: breakPred
44
+ }) => {
45
+ const maxIterCount = Math.ceil(1 / fontSizePrecisionPx);
46
+ let iterCount = 0;
47
+ while (fontSizePx > minFontSizePx && iterCount < maxIterCount) {
48
+ if (breakPred()) break;
49
+ fontSizePx = updateFontSizePx(fontSizePx - fontSizePrecisionPx);
50
+ iterCount++;
51
+ }
52
+ };
53
+ var getContentWidth = (element) => {
54
+ const computedStyle = getComputedStyle(element);
55
+ return element.clientWidth - parseFloat(computedStyle.paddingLeft) - parseFloat(computedStyle.paddingRight);
56
+ };
57
+ var getContentHeight = (element) => {
58
+ const computedStyle = getComputedStyle(element);
59
+ return element.clientHeight - parseFloat(computedStyle.paddingTop) - parseFloat(computedStyle.paddingBottom);
60
+ };
61
+ var multilineAlgo = (opts) => {
62
+ opts.innerEl.style.whiteSpace = "nowrap";
63
+ onelineAlgo(opts);
64
+ if (opts.innerEl.scrollWidth > getContentWidth(opts.containerEl)) {
65
+ opts.innerEl.style.whiteSpace = "normal";
66
+ }
67
+ };
68
+ var onelineAlgo = ({
69
+ innerEl,
70
+ containerEl,
71
+ fontSizePx,
72
+ minFontSizePx,
73
+ maxFontSizePx,
74
+ fontSizePrecisionPx,
75
+ updateFontSizePx
76
+ }) => {
77
+ const maxIterCount = 10;
78
+ let iterCount = 0;
79
+ let prevOverflowFactor = 1;
80
+ while (iterCount < maxIterCount) {
81
+ const w0 = innerEl.scrollWidth;
82
+ const w1 = getContentWidth(containerEl);
83
+ const canGrow = fontSizePx < maxFontSizePx && w0 < w1;
84
+ const canShrink = fontSizePx > minFontSizePx && w0 > w1;
85
+ const overflowFactor = w0 / w1;
86
+ if (prevOverflowFactor === overflowFactor) {
87
+ break;
88
+ }
89
+ if (!(canGrow || canShrink)) {
90
+ break;
91
+ }
92
+ const updatePx = fontSizePx / overflowFactor - fontSizePx;
93
+ const prevFontSizePx = fontSizePx;
94
+ fontSizePx = updateFontSizePx(fontSizePx + updatePx);
95
+ if (Math.abs(fontSizePx - prevFontSizePx) <= fontSizePrecisionPx) {
96
+ break;
97
+ }
98
+ prevOverflowFactor = overflowFactor;
99
+ iterCount++;
100
+ }
101
+ antiOverflowAlgo({
102
+ fontSizePx,
103
+ minFontSizePx,
104
+ updateFontSizePx,
105
+ fontSizePrecisionPx,
106
+ breakPredicate: () => innerEl.scrollWidth <= getContentWidth(containerEl)
107
+ });
108
+ };
109
+ var boxAlgo = ({
110
+ innerEl,
111
+ containerEl,
112
+ fontSizePx,
113
+ minFontSizePx,
114
+ maxFontSizePx,
115
+ fontSizePrecisionPx,
116
+ updateFontSizePx
117
+ }) => {
118
+ const maxIterCount = 100;
119
+ fontSizePx = updateFontSizePx((maxFontSizePx - minFontSizePx) * 0.5);
120
+ let updatePx = (maxFontSizePx - minFontSizePx) * 0.25;
121
+ let iterCount = 0;
122
+ while (updatePx > fontSizePrecisionPx && iterCount < maxIterCount) {
123
+ const w0 = innerEl.scrollWidth;
124
+ const w1 = getContentWidth(containerEl);
125
+ const h0 = innerEl.scrollHeight;
126
+ const h1 = getContentHeight(containerEl);
127
+ if (w0 === w1 && h0 === h1) break;
128
+ if (fontSizePx < maxFontSizePx && w0 <= w1 && h0 <= h1) {
129
+ fontSizePx = updateFontSizePx(fontSizePx + updatePx);
130
+ } else if (fontSizePx > minFontSizePx && (w0 > w1 || h0 > h1)) {
131
+ fontSizePx = updateFontSizePx(fontSizePx - updatePx);
132
+ }
133
+ updatePx *= 0.5;
134
+ iterCount++;
135
+ }
136
+ antiOverflowAlgo({
137
+ fontSizePx,
138
+ minFontSizePx,
139
+ updateFontSizePx,
140
+ fontSizePrecisionPx,
141
+ breakPredicate: () => innerEl.scrollWidth <= getContentWidth(containerEl) && innerEl.scrollHeight <= getContentHeight(containerEl)
142
+ });
143
+ };
144
+ function updateTextSize({
145
+ innerEl,
146
+ containerEl,
147
+ mode = "multiline",
148
+ minFontSizePx = 8,
149
+ maxFontSizePx = 160,
150
+ fontSizePrecisionPx = 0.1,
151
+ scrollToEnd = false
152
+ }) {
153
+ const t0 = performance.now();
154
+ if (!isFinite(minFontSizePx)) {
155
+ throw new Error(`Invalid minFontSizePx (${minFontSizePx})`);
156
+ }
157
+ if (!isFinite(minFontSizePx)) {
158
+ throw new Error(`Invalid maxFontSizePx (${maxFontSizePx})`);
159
+ }
160
+ if (!isFinite(fontSizePrecisionPx) || fontSizePrecisionPx === 0) {
161
+ throw new Error(`Invalid fontSizePrecisionPx (${fontSizePrecisionPx})`);
162
+ }
163
+ if (containerEl.children.length > 1) {
164
+ console.warn(
165
+ `AutoTextSize has ${containerEl.children.length - 1} siblings. This may interfere with the algorithm.`
166
+ );
167
+ }
168
+ const containerStyles = {
169
+ display: "flex",
170
+ alignItems: "start"
171
+ };
172
+ const innerStyles = {
173
+ display: "block"
174
+ };
175
+ if (mode === "oneline") {
176
+ innerStyles.whiteSpace = "nowrap";
177
+ } else if (mode === "multiline") {
178
+ innerStyles.wordBreak = "break-word";
179
+ } else if (mode === "box") {
180
+ innerStyles.whiteSpace = "pre-wrap";
181
+ innerStyles.wordBreak = "break-word";
182
+ } else if (mode === "boxoneline") {
183
+ innerStyles.whiteSpace = "nowrap";
184
+ }
185
+ Object.assign(containerEl.style, containerStyles);
186
+ Object.assign(innerEl.style, innerStyles);
187
+ const fontSizeStr = window.getComputedStyle(innerEl, null).getPropertyValue("font-size");
188
+ let fontSizePx = parseFloat(fontSizeStr);
189
+ let iterations = 0;
190
+ const updateFontSizePx = (px) => {
191
+ px = Math.min(Math.max(px, minFontSizePx), maxFontSizePx);
192
+ fontSizePx = px;
193
+ innerEl.style.fontSize = `${fontSizePx}px`;
194
+ iterations++;
195
+ return fontSizePx;
196
+ };
197
+ if (fontSizePx > maxFontSizePx || fontSizePx < minFontSizePx) {
198
+ updateFontSizePx(fontSizePx);
199
+ }
200
+ const algoOpts = {
201
+ innerEl,
202
+ containerEl,
203
+ fontSizePx,
204
+ minFontSizePx,
205
+ maxFontSizePx,
206
+ fontSizePrecisionPx,
207
+ updateFontSizePx
208
+ };
209
+ if (mode === "oneline") {
210
+ onelineAlgo(algoOpts);
211
+ } else if (mode === "multiline") {
212
+ multilineAlgo(algoOpts);
213
+ } else if (mode === "box") {
214
+ boxAlgo(algoOpts);
215
+ } else if (mode === "boxoneline") {
216
+ boxAlgo(algoOpts);
217
+ }
218
+ if (scrollToEnd) {
219
+ requestAnimationFrame(() => {
220
+ if (mode === "oneline" || mode === "boxoneline") {
221
+ const maxScrollLeft = Math.max(0, innerEl.scrollWidth - innerEl.clientWidth);
222
+ innerEl.scrollLeft = maxScrollLeft;
223
+ } else {
224
+ const maxScrollTop = Math.max(0, innerEl.scrollHeight - innerEl.clientHeight);
225
+ innerEl.scrollTop = maxScrollTop;
226
+ }
227
+ });
228
+ }
229
+ }
230
+ function autoTextSize({
231
+ innerEl,
232
+ containerEl,
233
+ mode,
234
+ minFontSizePx,
235
+ maxFontSizePx,
236
+ fontSizePrecisionPx,
237
+ scrollToEnd
238
+ }) {
239
+ let containerDimensions = void 0;
240
+ const throttledUpdateTextSize = throttleAnimationFrame(() => {
241
+ updateTextSize({
242
+ innerEl,
243
+ containerEl,
244
+ mode,
245
+ maxFontSizePx,
246
+ minFontSizePx,
247
+ fontSizePrecisionPx,
248
+ scrollToEnd
249
+ });
250
+ containerDimensions = [
251
+ getContentWidth(containerEl),
252
+ getContentHeight(containerEl)
253
+ ];
254
+ });
255
+ const resizeObserver = new ResizeObserver(() => {
256
+ const prevContainerDimensions = containerDimensions;
257
+ containerDimensions = [
258
+ getContentWidth(containerEl),
259
+ getContentHeight(containerEl)
260
+ ];
261
+ if ((prevContainerDimensions == null ? void 0 : prevContainerDimensions[0]) !== containerDimensions[0] || (prevContainerDimensions == null ? void 0 : prevContainerDimensions[1]) !== containerDimensions[1]) {
262
+ throttledUpdateTextSize();
263
+ }
264
+ });
265
+ resizeObserver.observe(containerEl);
266
+ throttledUpdateTextSize.disconnect = () => resizeObserver.disconnect();
267
+ return throttledUpdateTextSize;
268
+ }
269
+ // Annotate the CommonJS export names for ESM import in node:
270
+ 0 && (module.exports = {
271
+ autoTextSize,
272
+ updateTextSize
273
+ });
@@ -0,0 +1,6 @@
1
+ import React, { DetailedHTMLProps, HTMLAttributes, ReactElement, ReactHTML } from 'react';
2
+ import { Options } from './auto-text-size-standalone';
3
+ export default function AutoResizeText({ mode, minFontSizePx, maxFontSizePx, fontSizePrecisionPx, scrollToEnd, as: Comp, children, ...rest }: Options & {
4
+ as?: keyof ReactHTML | React.ComponentType<any>;
5
+ children?: React.ReactNode;
6
+ } & DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>): ReactElement;
@@ -0,0 +1,71 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
20
+ // If the importer is in node compatibility mode or this is not an ESM
21
+ // file that has been converted to a CommonJS file using a Babel-
22
+ // compatible transform (i.e. "__esModule" has not been set), then set
23
+ // "default" to the CommonJS "module.exports" for node compatibility.
24
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
25
+ mod
26
+ ));
27
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
28
+
29
+ // src/components/auto-resize-text/index.tsx
30
+ var auto_resize_text_exports = {};
31
+ __export(auto_resize_text_exports, {
32
+ default: () => AutoResizeText
33
+ });
34
+ module.exports = __toCommonJS(auto_resize_text_exports);
35
+ var import_react = __toESM(require("react"));
36
+ var import_auto_text_size_standalone = require("./auto-text-size-standalone");
37
+ function AutoResizeText({
38
+ mode,
39
+ minFontSizePx,
40
+ maxFontSizePx,
41
+ fontSizePrecisionPx,
42
+ scrollToEnd,
43
+ as: Comp = "div",
44
+ children,
45
+ ...rest
46
+ }) {
47
+ const updateTextSizeRef = (0, import_react.useRef)();
48
+ (0, import_react.useEffect)(() => {
49
+ var _a;
50
+ (_a = updateTextSizeRef.current) == null ? void 0 : _a.call(updateTextSizeRef);
51
+ }, [children]);
52
+ const refCallback = (0, import_react.useCallback)(
53
+ (innerEl) => {
54
+ var _a;
55
+ (_a = updateTextSizeRef.current) == null ? void 0 : _a.disconnect();
56
+ const containerEl = innerEl == null ? void 0 : innerEl.parentElement;
57
+ if (!innerEl || !containerEl) return;
58
+ updateTextSizeRef.current = (0, import_auto_text_size_standalone.autoTextSize)({
59
+ innerEl,
60
+ containerEl,
61
+ mode,
62
+ minFontSizePx,
63
+ maxFontSizePx,
64
+ fontSizePrecisionPx,
65
+ scrollToEnd
66
+ });
67
+ },
68
+ [mode, minFontSizePx, maxFontSizePx, fontSizePrecisionPx, scrollToEnd]
69
+ );
70
+ return /* @__PURE__ */ import_react.default.createElement(Comp, { ref: refCallback, ...rest }, children);
71
+ }
@@ -51,13 +51,14 @@ var CardPro = (props) => {
51
51
  isShowHead,
52
52
  className,
53
53
  coverHeight,
54
- badge
54
+ badge,
55
+ style
55
56
  } = props;
56
57
  return /* @__PURE__ */ import_react.default.createElement(
57
58
  import_antd.Card,
58
59
  {
59
60
  title: null,
60
- style: { padding: 0 },
61
+ style: { padding: 0, ...style },
61
62
  className: (0, import_classnames.default)(
62
63
  "pisell-cardPro-wrap",
63
64
  className,
@@ -15,4 +15,4 @@ export declare const getFileMetadataParams: (file: RcFile & {
15
15
  metadata?: MediaMetadata;
16
16
  }) => Record<string, any>;
17
17
  export declare const isValueEqual: (value: any, fileListValue: any) => boolean;
18
- export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
18
+ export declare const getBaseTime: (size: number) => 2000 | 1000 | 4000 | 8000;
@@ -60,9 +60,19 @@ declare const formFieldMap: {
60
60
  FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
61
61
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
62
62
  };
63
- declare const getFieldComponent: (fieldComponent: string) => import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<any> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
64
- onChange: (value: string) => void;
65
- } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
63
+ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
64
+ options?: any;
65
+ optionSourceType?: "default" | "custom" | "api" | undefined;
66
+ labelField: string;
67
+ valueField: string;
68
+ extraParams?: Record<string, any> | undefined;
69
+ } & {
70
+ dataSource?: any;
71
+ }) => JSX.Element) | (import("react").FC<{}> & {
72
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
73
+ } & {
74
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
75
+ }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
66
76
  JSON: import("react").FC<any>;
67
77
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
68
78
  TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
@@ -83,20 +93,10 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
83
93
  fieldKey?: string | undefined;
84
94
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
85
95
  }) | (import("react").FC<{}> & {
86
- Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
87
- } & {
88
- Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
89
- }) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
90
96
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
91
97
  } & {
92
98
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
93
- }) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
94
- options?: any;
95
- optionSourceType?: "default" | "custom" | "api" | undefined;
96
- labelField: string;
97
- valueField: string;
98
- extraParams?: Record<string, any> | undefined;
99
- } & {
100
- dataSource?: any;
101
- }) => JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
99
+ }) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
100
+ onChange: (value: string) => void;
101
+ } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
102
102
  export { getFieldComponent, formFieldMap };
@@ -35,7 +35,7 @@ module.exports = __toCommonJS(iconfont_exports);
35
35
  var import_icons = require("@ant-design/icons");
36
36
  var import_react = __toESM(require("react"));
37
37
  var MyIcon = (0, import_icons.createFromIconfontCN)({
38
- scriptUrl: "https://static.pisellcdn.com/pisell2iconfont1.18.js"
38
+ scriptUrl: "https://static.pisellcdn.com/pisell2iconfont1.20.js"
39
39
  // 在 iconfont.cn 上生成
40
40
  });
41
41
  var IconFont = (props) => {
@@ -0,0 +1,22 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ export declare type ItemValue = string | number;
4
+ export interface Item {
5
+ value: ItemValue;
6
+ label: React.ReactNode;
7
+ disabled: boolean;
8
+ type: 'text' | 'primary';
9
+ style?: React.CSSProperties;
10
+ size?: number;
11
+ }
12
+ export interface KeyboardProps {
13
+ id?: string;
14
+ className?: string;
15
+ style?: React.CSSProperties;
16
+ onChange?: (value?: ItemValue) => void;
17
+ items?: Item[];
18
+ rightItems?: Item[];
19
+ keydown?: boolean;
20
+ }
21
+ declare const _default: React.MemoExoticComponent<(props: KeyboardProps) => JSX.Element>;
22
+ export default _default;