@pisell/materials 2.2.81 → 2.2.83

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 (177) 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 +148 -164
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +34 -39
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +34 -39
  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/hooks/useDataSourceKey.d.ts +2 -2
  15. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
  16. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  17. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  18. package/es/components/dataSourceComponents/fields/index.d.ts +8 -8
  19. package/es/components/date-picker/index.d.ts +1 -0
  20. package/es/components/iconfont/index.js +1 -1
  21. package/es/components/page/index.d.ts +1 -0
  22. package/es/components/pisellInput/index.d.ts +1 -0
  23. package/es/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  24. package/es/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  25. package/es/components/pisellModal/components/index.d.ts +1 -0
  26. package/es/components/pisellToast/index.js +3 -0
  27. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +21 -0
  28. package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +61 -0
  29. package/es/components/productCard/cartSkuCard/components/basicInfo/index.less +98 -0
  30. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
  31. package/es/components/productCard/cartSkuCard/components/discountReason/index.js +51 -0
  32. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +4 -0
  33. package/es/components/productCard/cartSkuCard/components/holders/index.js +32 -0
  34. package/es/components/productCard/cartSkuCard/components/holders/index.less +32 -0
  35. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
  36. package/es/components/productCard/cartSkuCard/components/packages/index.js +52 -0
  37. package/es/components/productCard/cartSkuCard/components/packages/index.less +22 -0
  38. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
  39. package/es/components/productCard/cartSkuCard/components/packages/utils.js +40 -0
  40. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +4 -0
  41. package/es/components/productCard/cartSkuCard/components/resources/index.js +44 -0
  42. package/es/components/productCard/cartSkuCard/components/resources/index.less +20 -0
  43. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +11 -0
  44. package/es/components/productCard/cartSkuCard/components/sales/index.js +55 -0
  45. package/es/components/productCard/cartSkuCard/components/sales/index.less +22 -0
  46. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
  47. package/es/components/productCard/cartSkuCard/components/specs/index.js +43 -0
  48. package/es/components/productCard/cartSkuCard/components/specs/index.less +28 -0
  49. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +7 -0
  50. package/es/components/productCard/cartSkuCard/components/timeRange/index.js +53 -0
  51. package/es/components/productCard/cartSkuCard/components/timeRange/index.less +37 -0
  52. package/es/components/productCard/cartSkuCard/index.d.ts +8 -0
  53. package/es/components/productCard/cartSkuCard/index.js +195 -0
  54. package/es/components/productCard/cartSkuCard/index.less +69 -0
  55. package/es/components/productCard/cartSkuCard/locales.d.ts +93 -0
  56. package/es/components/{pisellVHFix/index.js → productCard/cartSkuCard/locales.js} +21 -30
  57. package/es/components/productCard/components/Packages/utils.d.ts +2 -2
  58. package/es/components/productCard/components/Sales/index.js +1 -1
  59. package/es/components/productCard/index.d.ts +3 -1
  60. package/es/components/productCard/index.js +2 -0
  61. package/es/components/productCard/utils.js +8 -6
  62. package/es/components/select-time/index.d.ts +1 -0
  63. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  64. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  65. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  66. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  67. package/es/components/table/Table/fields/date/index.d.ts +1 -0
  68. package/es/components/table/Table/fields/image/Show/index.d.ts +1 -0
  69. package/es/components/table/Table/fields/image/index.d.ts +1 -0
  70. package/es/components/table/Table/fields/index.d.ts +2 -2
  71. package/es/components/table/Table/fields/link/index.d.ts +1 -0
  72. package/es/components/table/Table/fields/number/Show/index.d.ts +1 -0
  73. package/es/components/table/Table/fields/number/index.d.ts +1 -0
  74. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  75. package/es/components/table/Table/fields/numberRange/index.d.ts +1 -0
  76. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  77. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  78. package/es/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  79. package/es/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  80. package/es/components/table/Table/fields/search/Show/index.d.ts +1 -0
  81. package/es/components/table/Table/fields/search/index.d.ts +1 -0
  82. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  83. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  84. package/es/components/table/Table/utils.d.ts +1 -1
  85. package/es/components/versionSelect/index.d.ts +1 -0
  86. package/es/utils/index.d.ts +1 -1
  87. package/es/utils/platform.d.ts +1 -1
  88. package/lib/components/batch-editor/index.d.ts +1 -0
  89. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +1 -0
  90. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +1 -0
  91. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  92. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
  93. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  94. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  95. package/lib/components/dataSourceComponents/fields/index.d.ts +8 -8
  96. package/lib/components/date-picker/index.d.ts +1 -0
  97. package/lib/components/iconfont/index.js +1 -1
  98. package/lib/components/page/index.d.ts +1 -0
  99. package/lib/components/pisellInput/index.d.ts +1 -0
  100. package/lib/components/pisellModal/components/IpadModal/index.d.ts +1 -0
  101. package/lib/components/pisellModal/components/MobileModal/index.d.ts +1 -0
  102. package/lib/components/pisellModal/components/index.d.ts +1 -0
  103. package/lib/components/pisellToast/index.js +3 -0
  104. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +21 -0
  105. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +71 -0
  106. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.less +98 -0
  107. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +2 -0
  108. package/lib/components/productCard/cartSkuCard/components/discountReason/index.js +70 -0
  109. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +4 -0
  110. package/lib/components/{pisellVHFix → productCard/cartSkuCard/components/holders}/index.js +19 -23
  111. package/lib/components/productCard/cartSkuCard/components/holders/index.less +32 -0
  112. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +10 -0
  113. package/lib/components/productCard/cartSkuCard/components/packages/index.js +73 -0
  114. package/lib/components/productCard/cartSkuCard/components/packages/index.less +22 -0
  115. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +20 -0
  116. package/lib/components/productCard/cartSkuCard/components/packages/utils.js +44 -0
  117. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +4 -0
  118. package/lib/components/productCard/cartSkuCard/components/resources/index.js +73 -0
  119. package/lib/components/productCard/cartSkuCard/components/resources/index.less +20 -0
  120. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +11 -0
  121. package/lib/components/productCard/cartSkuCard/components/sales/index.js +76 -0
  122. package/lib/components/productCard/cartSkuCard/components/sales/index.less +22 -0
  123. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +3 -0
  124. package/lib/components/productCard/cartSkuCard/components/specs/index.js +65 -0
  125. package/lib/components/productCard/cartSkuCard/components/specs/index.less +28 -0
  126. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +7 -0
  127. package/lib/components/productCard/cartSkuCard/components/timeRange/index.js +67 -0
  128. package/lib/components/productCard/cartSkuCard/components/timeRange/index.less +37 -0
  129. package/lib/components/productCard/cartSkuCard/index.d.ts +8 -0
  130. package/lib/components/productCard/cartSkuCard/index.js +216 -0
  131. package/lib/components/productCard/cartSkuCard/index.less +69 -0
  132. package/lib/components/productCard/cartSkuCard/locales.d.ts +93 -0
  133. package/lib/components/productCard/cartSkuCard/locales.js +58 -0
  134. package/lib/components/productCard/components/Packages/utils.d.ts +2 -2
  135. package/lib/components/productCard/components/Sales/index.js +1 -1
  136. package/lib/components/productCard/index.d.ts +3 -1
  137. package/lib/components/productCard/index.js +2 -0
  138. package/lib/components/productCard/utils.js +7 -6
  139. package/lib/components/select-time/index.d.ts +1 -0
  140. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +1 -0
  141. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +1 -0
  142. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +1 -0
  143. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  144. package/lib/components/table/Table/fields/date/index.d.ts +1 -0
  145. package/lib/components/table/Table/fields/image/Show/index.d.ts +1 -0
  146. package/lib/components/table/Table/fields/image/index.d.ts +1 -0
  147. package/lib/components/table/Table/fields/index.d.ts +2 -2
  148. package/lib/components/table/Table/fields/link/index.d.ts +1 -0
  149. package/lib/components/table/Table/fields/number/Show/index.d.ts +1 -0
  150. package/lib/components/table/Table/fields/number/index.d.ts +1 -0
  151. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +1 -0
  152. package/lib/components/table/Table/fields/numberRange/index.d.ts +1 -0
  153. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  154. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +1 -0
  155. package/lib/components/table/Table/fields/pSwitch/index.d.ts +1 -0
  156. package/lib/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  157. package/lib/components/table/Table/fields/search/Show/index.d.ts +1 -0
  158. package/lib/components/table/Table/fields/search/index.d.ts +1 -0
  159. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  160. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  161. package/lib/components/table/Table/utils.d.ts +1 -1
  162. package/lib/components/versionSelect/index.d.ts +1 -0
  163. package/lib/components/virtual-keyboard/VirtualKeyInput/index.js +8 -1
  164. package/lib/utils/index.d.ts +1 -1
  165. package/lib/utils/platform.d.ts +1 -1
  166. package/lowcode/_setters/antd-icon-setter/index.tsx +3 -2
  167. package/package.json +3 -3
  168. package/es/components/media/index.d.ts +0 -18
  169. package/es/components/media/index.js +0 -340
  170. package/es/components/media/index.less +0 -100
  171. package/es/components/pisellVHFix/index.d.ts +0 -13
  172. package/es/components/pisellVHFix/index.less +0 -10
  173. package/lib/components/media/index.d.ts +0 -18
  174. package/lib/components/media/index.js +0 -265
  175. package/lib/components/media/index.less +0 -100
  176. package/lib/components/pisellVHFix/index.d.ts +0 -13
  177. package/lib/components/pisellVHFix/index.less +0 -10
@@ -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;
@@ -4,33 +4,24 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
4
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
5
  function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
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 React from 'react';
8
- import { useVH } from "../../hooks/useVH";
9
- import "./index.less";
10
- var PisellVHFix = function PisellVHFix(_ref) {
11
- var children = _ref.children,
12
- className = _ref.className,
13
- style = _ref.style,
14
- _ref$height = _ref.height,
15
- height = _ref$height === void 0 ? 100 : _ref$height,
16
- _ref$minHeight = _ref.minHeight,
17
- minHeight = _ref$minHeight === void 0 ? false : _ref$minHeight,
18
- _ref$maxHeight = _ref.maxHeight,
19
- maxHeight = _ref$maxHeight === void 0 ? false : _ref$maxHeight,
20
- _ref$minusPixels = _ref.minusPixels,
21
- minusPixels = _ref$minusPixels === void 0 ? 0 : _ref$minusPixels;
22
- // 启用vh修复
23
- useVH();
24
- var containerStyle = _objectSpread(_objectSpread(_objectSpread({}, style), {}, {
25
- height: minusPixels > 0 ? "calc(var(--vh, 1vh) * ".concat(height, " - ").concat(minusPixels, "px)") : "calc(var(--vh, 1vh) * ".concat(height, ")")
26
- }, minHeight && {
27
- minHeight: "calc(var(--vh, 1vh) * ".concat(height, ")")
28
- }), maxHeight && {
29
- maxHeight: "calc(var(--vh, 1vh) * ".concat(height, ")")
30
- });
31
- return /*#__PURE__*/React.createElement("div", {
32
- className: "pisell-vh-fix ".concat(className || ''),
33
- style: containerStyle
34
- }, children);
35
- };
36
- export default PisellVHFix;
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
+ };
@@ -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;
@@ -20,7 +20,7 @@ var Sales = function Sales(_ref) {
20
20
  other_products = other_products.map(function (p) {
21
21
  return _objectSpread(_objectSpread({}, p), {}, {
22
22
  title: p === null || p === void 0 ? void 0 : p.product_title,
23
- price: p === null || p === void 0 ? void 0 : p.payment_price,
23
+ price: p === null || p === void 0 ? void 0 : p.selling_price,
24
24
  symbol: item.symbol,
25
25
  num: p === null || p === void 0 ? void 0 : p.product_quantity,
26
26
  total: p === null || p === void 0 ? void 0 : p.payment_price
@@ -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;
@@ -27,6 +27,7 @@ import { defaultValue } from "./status";
27
27
  import useEngineContext from "../../hooks/useEngineContext";
28
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();
@@ -173,4 +174,5 @@ var ProductCard = function ProductCard(props) {
173
174
  }
174
175
  }))));
175
176
  };
177
+ ProductCard.V2 = CartSkuCard;
176
178
  export default ProductCard;
@@ -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, 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,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;
@@ -197,12 +197,12 @@ export declare const fieldList: ({
197
197
  field_icon: string;
198
198
  field_name: string;
199
199
  field_type: string;
200
- default_value: string;
200
+ default_value: boolean;
201
201
  } | {
202
202
  field_icon: string;
203
203
  field_name: string;
204
204
  field_type: string;
205
- default_value: boolean;
205
+ default_value: string;
206
206
  } | {
207
207
  field_icon: string;
208
208
  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: {
@@ -2,4 +2,4 @@ export default function ({ value, key, item, }: {
2
2
  value: string | string[];
3
3
  key: string | string[];
4
4
  item: Record<string, any>;
5
- }): any;
5
+ }): boolean;
@@ -2,4 +2,4 @@ export default function ({ value, key, item, }: {
2
2
  value: string | string[] | Record<string, any>[];
3
3
  key: string | string[];
4
4
  item: Record<string, any>;
5
- }): any;
5
+ }): boolean;
@@ -155,7 +155,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
155
155
  sort?: SortType | undefined;
156
156
  mode: "" | "localStorage" | "remote";
157
157
  currentViewMode: ModeType;
158
- }) => ("filter_setting" | "column_setting" | "gallery_setting" | "view_mode" | "group_by" | "order_by")[];
158
+ }) => ("column_setting" | "gallery_setting" | "order_by" | "group_by" | "view_mode" | "filter_setting")[];
159
159
  export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
160
160
  export declare const stringify: (obj: Record<string, any>) => string;
161
161
  export {};
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { SelectProps } from 'antd';
2
3
  import './index.less';
3
4
  export interface Version {
@@ -1,4 +1,4 @@
1
1
  export declare const isBrowser: boolean;
2
- export declare const getCssNumber: (val: string | number) => string | number;
2
+ export declare const getCssNumber: (val: string | number) => string;
3
3
  export declare function uuid(): string;
4
4
  export * from './mergeWith';
@@ -1 +1 @@
1
- export declare const isMobile: () => any;
1
+ export declare const isMobile: () => boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import "./index.less";
2
3
  interface BatchEditorProps {
3
4
  columns: any[];
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DataSourceImage: (props: import("../utils").ParsedProps) => JSX.Element;
2
3
  export default DataSourceImage;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DataSourceQRCode: (props: any) => JSX.Element;
2
3
  export default DataSourceQRCode;
@@ -1,5 +1,5 @@
1
1
  declare const useDataSourceKey: () => {
2
- dataSourceKey: string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined;
3
- dataSourceKeyRef: import("react").MutableRefObject<string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined>;
2
+ dataSourceKey: string | undefined;
3
+ dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
4
4
  };
5
5
  export default useDataSourceKey;
@@ -17,7 +17,7 @@ interface UseTablePropsProps {
17
17
  * @returns
18
18
  */
19
19
  declare const useTableProps: (props: UseTablePropsProps) => {
20
- title: string | number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
20
+ title: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
21
21
  pagination: {
22
22
  total: number;
23
23
  current: number;
@@ -26,7 +26,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
26
26
  showSizeChanger: boolean;
27
27
  };
28
28
  columns: import("./useColumns").Column[];
29
- subTitle: string | number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
29
+ subTitle: number | boolean | JSX.Element | React.ReactFragment | (() => React.ReactNode) | null | undefined;
30
30
  buttons: any[] | null;
31
31
  filter: JSX.Element | null;
32
32
  onRow: (record: any) => any;
@@ -52,7 +52,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
52
52
  width: number;
53
53
  align: "center" | "left" | "right";
54
54
  fixed: false | "left" | "right";
55
- type: "button" | "link";
55
+ type: "link" | "button";
56
56
  items: OperationItem[];
57
57
  } | undefined;
58
58
  operationContent?: {
@@ -70,7 +70,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
70
70
  useCustomAction: boolean;
71
71
  actionType: string;
72
72
  openMode: "modal" | "drawer";
73
- openContentSize: "small" | "middle" | "large";
73
+ openContentSize: "small" | "large" | "middle";
74
74
  openTitle: string;
75
75
  key: string;
76
76
  } | undefined;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  declare const Subdomain: React.FC<import("antd").InputProps & {
3
3
  onChange: (value: string) => void;
4
4
  onBlur?: ((e: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
5
- rootDomain: "custom" | "saas" | "xzero";
5
+ rootDomain: "custom" | "xzero" | "saas";
6
6
  customDomain?: string | undefined;
7
7
  value?: string | undefined;
8
8
  tenantId: string;
@@ -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) => 2000 | 1000 | 4000 | 8000;
18
+ export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
@@ -19,7 +19,7 @@ declare const formFieldMap: {
19
19
  Subdomain: import("react").FC<import("antd").InputProps & {
20
20
  onChange: (value: string) => void;
21
21
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
22
- rootDomain: "custom" | "saas" | "xzero";
22
+ rootDomain: "custom" | "xzero" | "saas";
23
23
  customDomain?: string | undefined;
24
24
  value?: string | undefined;
25
25
  tenantId: string;
@@ -59,13 +59,11 @@ declare const formFieldMap: {
59
59
  FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
60
60
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
61
61
  };
62
- declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
62
+ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<{}> & {
63
63
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
64
64
  } & {
65
65
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
66
- }) | 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("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 & {
67
- onChange: (value: string) => void;
68
- } & 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("./Input/type").InputProps> & {
66
+ }) | 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> & {
69
67
  JSON: import("react").FC<any>;
70
68
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
71
69
  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>;
@@ -78,14 +76,14 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
78
76
  Subdomain: import("react").FC<import("antd").InputProps & {
79
77
  onChange: (value: string) => void;
80
78
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
81
- rootDomain: "custom" | "saas" | "xzero";
79
+ rootDomain: "custom" | "xzero" | "saas";
82
80
  customDomain?: string | undefined;
83
81
  value?: string | undefined;
84
82
  tenantId: string;
85
83
  name?: string | undefined;
86
84
  fieldKey?: string | undefined;
87
85
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
88
- }) | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
86
+ }) | (import("react").FC<{}> & {
89
87
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
90
88
  } & {
91
89
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -97,5 +95,7 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
97
95
  extraParams?: Record<string, any> | undefined;
98
96
  } & {
99
97
  dataSource?: any;
100
- }) => JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | 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>;
98
+ }) => JSX.Element) | import("react").FC<any> | 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 & {
99
+ onChange: (value: string) => void;
100
+ } & 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>;
101
101
  export { getFieldComponent, formFieldMap };
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DatePicker: (props: any) => JSX.Element;
2
3
  export default DatePicker;
@@ -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.4.js"
38
+ scriptUrl: "https://static.pisellcdn.com/pisell2iconfont1.6.js"
39
39
  // 在 iconfont.cn 上生成
40
40
  });
41
41
  var IconFont = (props) => {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ConfigProviderProps } from '../config-provider';
2
3
  interface PageProps extends ConfigProviderProps {
3
4
  }
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from 'antd';
2
3
  import { PisellContextType } from '../pisell-config-provider/context';
3
4
  declare const PisellInput: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PcModalProps } from '../PcModal';
2
3
  export interface IpadModalProps extends PcModalProps {
3
4
  }