@pisell/materials 1.0.917 → 1.0.919

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 (141) 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 +1 -1
  6. package/build/lowcode/preview.js +164 -148
  7. package/build/lowcode/render/default/view.js +33 -19
  8. package/build/lowcode/view.js +30 -16
  9. package/es/components/Pagination/index.d.ts +1 -1
  10. package/es/components/appVersionControl/index.d.ts +1 -0
  11. package/es/components/cardPro/index.js +10 -3
  12. package/es/components/colorPicker/index.d.ts +0 -1
  13. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  14. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  15. package/es/components/dataSourceComponents/fields/index.d.ts +9 -9
  16. package/es/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
  17. package/es/components/drag-sort-tree/index.d.ts +1 -0
  18. package/es/components/filter/components/items/index.d.ts +0 -1
  19. package/es/components/filter/components/items/text/Editor/index.d.ts +0 -1
  20. package/es/components/filter/components/items/text/Preview/index.d.ts +0 -1
  21. package/es/components/filter/components/items/text/index.d.ts +0 -1
  22. package/es/components/hardwareErrorTip/errorCard/index.d.ts +1 -0
  23. package/es/components/hardwareErrorTip/errorTipStatistics/index.d.ts +1 -0
  24. package/es/components/hardwareErrorTip/logCard/index.d.ts +1 -0
  25. package/es/components/media/index.d.ts +18 -0
  26. package/es/components/media/index.js +340 -0
  27. package/es/components/media/index.less +100 -0
  28. package/es/components/page/index.d.ts +1 -0
  29. package/es/components/pisellAdjustPrice/index.d.ts +1 -0
  30. package/es/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
  31. package/es/components/pisellInput/components/BankCard/index.d.ts +1 -0
  32. package/es/components/pisellInput/components/Copy/index.d.ts +1 -0
  33. package/es/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
  34. package/es/components/pisellInput/index.d.ts +1 -0
  35. package/es/components/pisellTooltip/index.d.ts +1 -0
  36. package/es/components/pisellVHFix/index.d.ts +13 -0
  37. package/es/components/pisellVHFix/index.js +36 -0
  38. package/es/components/pisellVHFix/index.less +10 -0
  39. package/es/components/pisellWalletPassCard/index.js +1 -1
  40. package/es/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +1 -0
  41. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +1 -0
  42. package/es/components/productCard/cartSkuCard/components/Note/index.d.ts +1 -0
  43. package/es/components/productCard/cartSkuCard/components/discountReason/index.d.ts +1 -0
  44. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +1 -0
  45. package/es/components/productCard/cartSkuCard/components/packages/index.d.ts +1 -0
  46. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  47. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +1 -0
  48. package/es/components/productCard/cartSkuCard/components/sales/index.d.ts +1 -0
  49. package/es/components/productCard/cartSkuCard/components/specs/index.d.ts +1 -0
  50. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +1 -0
  51. package/es/components/productCard/cartSkuCard/index.d.ts +1 -0
  52. package/es/components/productCard/components/Action/index.d.ts +1 -0
  53. package/es/components/productCard/components/Header/Actions/index.d.ts +1 -0
  54. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +1 -0
  55. package/es/components/productCard/components/Header/index.d.ts +1 -0
  56. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  57. package/es/components/productCard/components/Sales/index.d.ts +1 -0
  58. package/es/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
  59. package/es/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +1 -0
  60. package/es/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
  61. package/es/components/productCard/components/Time/index.d.ts +1 -0
  62. package/es/components/table/Actions/component/ExportImport/index.d.ts +1 -0
  63. package/es/components/table/Table/fields/index.d.ts +2 -2
  64. package/es/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  65. package/es/components/table/Table/utils.d.ts +1 -1
  66. package/es/components/virtual-keyboard/Amount/index.d.ts +1 -0
  67. package/es/components/virtual-keyboard/Number/index.d.ts +1 -0
  68. package/es/locales/en-US.d.ts +10 -0
  69. package/es/locales/en-US.js +16 -1
  70. package/es/locales/zh-CN.d.ts +10 -0
  71. package/es/locales/zh-CN.js +16 -1
  72. package/es/locales/zh-TW.d.ts +10 -0
  73. package/es/locales/zh-TW.js +16 -1
  74. package/es/utils/platform.d.ts +1 -1
  75. package/lib/components/Pagination/index.d.ts +1 -1
  76. package/lib/components/appVersionControl/index.d.ts +1 -0
  77. package/lib/components/cardPro/index.js +3 -2
  78. package/lib/components/colorPicker/index.d.ts +0 -1
  79. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  80. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  81. package/lib/components/dataSourceComponents/fields/index.d.ts +9 -9
  82. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +1 -0
  83. package/lib/components/drag-sort-tree/index.d.ts +1 -0
  84. package/lib/components/filter/components/items/index.d.ts +0 -1
  85. package/lib/components/filter/components/items/text/Editor/index.d.ts +0 -1
  86. package/lib/components/filter/components/items/text/Preview/index.d.ts +0 -1
  87. package/lib/components/filter/components/items/text/index.d.ts +0 -1
  88. package/lib/components/hardwareErrorTip/errorCard/index.d.ts +1 -0
  89. package/lib/components/hardwareErrorTip/errorTipStatistics/index.d.ts +1 -0
  90. package/lib/components/hardwareErrorTip/logCard/index.d.ts +1 -0
  91. package/lib/components/media/index.d.ts +18 -0
  92. package/lib/components/media/index.js +265 -0
  93. package/lib/components/media/index.less +100 -0
  94. package/lib/components/page/index.d.ts +1 -0
  95. package/lib/components/pisellAdjustPrice/index.d.ts +1 -0
  96. package/lib/components/pisellDatePicker/datePickerCpt.d.ts +1 -0
  97. package/lib/components/pisellInput/components/BankCard/index.d.ts +1 -0
  98. package/lib/components/pisellInput/components/Copy/index.d.ts +1 -0
  99. package/lib/components/pisellInput/components/SecurityCode/index.d.ts +1 -0
  100. package/lib/components/pisellInput/index.d.ts +1 -0
  101. package/lib/components/pisellTooltip/index.d.ts +1 -0
  102. package/lib/components/pisellVHFix/index.d.ts +13 -0
  103. package/lib/components/pisellVHFix/index.js +56 -0
  104. package/lib/components/pisellVHFix/index.less +10 -0
  105. package/lib/components/pisellWalletPassCard/index.js +1 -1
  106. package/lib/components/productCard/cartSkuCard/components/AmountFooter/index.d.ts +1 -0
  107. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +1 -0
  108. package/lib/components/productCard/cartSkuCard/components/Note/index.d.ts +1 -0
  109. package/lib/components/productCard/cartSkuCard/components/discountReason/index.d.ts +1 -0
  110. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +1 -0
  111. package/lib/components/productCard/cartSkuCard/components/packages/index.d.ts +1 -0
  112. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  113. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +1 -0
  114. package/lib/components/productCard/cartSkuCard/components/sales/index.d.ts +1 -0
  115. package/lib/components/productCard/cartSkuCard/components/specs/index.d.ts +1 -0
  116. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +1 -0
  117. package/lib/components/productCard/cartSkuCard/index.d.ts +1 -0
  118. package/lib/components/productCard/components/Action/index.d.ts +1 -0
  119. package/lib/components/productCard/components/Header/Actions/index.d.ts +1 -0
  120. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +1 -0
  121. package/lib/components/productCard/components/Header/index.d.ts +1 -0
  122. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  123. package/lib/components/productCard/components/Sales/index.d.ts +1 -0
  124. package/lib/components/productCard/components/Time/components/SelectHolder/index.d.ts +1 -0
  125. package/lib/components/productCard/components/Time/components/SelectHolderModal/index.d.ts +1 -0
  126. package/lib/components/productCard/components/Time/components/SelectResource/index.d.ts +1 -0
  127. package/lib/components/productCard/components/Time/index.d.ts +1 -0
  128. package/lib/components/table/Actions/component/ExportImport/index.d.ts +1 -0
  129. package/lib/components/table/Table/fields/index.d.ts +2 -2
  130. package/lib/components/table/Table/tableConfig/summary/index.d.ts +0 -1
  131. package/lib/components/table/Table/utils.d.ts +1 -1
  132. package/lib/components/virtual-keyboard/Amount/index.d.ts +1 -0
  133. package/lib/components/virtual-keyboard/Number/index.d.ts +1 -0
  134. package/lib/locales/en-US.d.ts +10 -0
  135. package/lib/locales/en-US.js +12 -1
  136. package/lib/locales/zh-CN.d.ts +10 -0
  137. package/lib/locales/zh-CN.js +12 -1
  138. package/lib/locales/zh-TW.d.ts +10 -0
  139. package/lib/locales/zh-TW.js +12 -1
  140. package/lib/utils/platform.d.ts +1 -1
  141. package/package.json +2 -2
@@ -0,0 +1,100 @@
1
+ .pisell-media {
2
+ .pisell-media-current-files {
3
+ margin-top: 8px;
4
+ display: flex;
5
+ flex-wrap: wrap;
6
+ gap: 8px;
7
+
8
+ .pisell-media-file-item {
9
+ position: relative;
10
+ border: 1px solid #d9d9d9;
11
+ border-radius: 6px;
12
+ padding: 4px;
13
+ display: flex;
14
+ align-items: center;
15
+ gap: 8px;
16
+
17
+ .pisell-media-file-actions {
18
+ position: absolute;
19
+ top: 4px;
20
+ right: 4px;
21
+ opacity: 0;
22
+ transition: opacity 0.2s;
23
+ }
24
+
25
+ &:hover .pisell-media-file-actions {
26
+ opacity: 1;
27
+ }
28
+ }
29
+ }
30
+
31
+ .pisell-media-modal {
32
+ .pisell-media-upload {
33
+ margin-bottom: 16px;
34
+ padding-bottom: 16px;
35
+ border-bottom: 1px solid #f0f0f0;
36
+ }
37
+
38
+ .pisell-media-list {
39
+ display: grid;
40
+ grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
41
+ gap: 12px;
42
+ max-height: 400px;
43
+ overflow-y: auto;
44
+
45
+ .pisell-media-item {
46
+ border: 2px solid transparent;
47
+ border-radius: 8px;
48
+ padding: 8px;
49
+ cursor: pointer;
50
+ background: #fafafa;
51
+ transition: all 0.2s;
52
+ display: flex;
53
+ flex-direction: column;
54
+ align-items: center;
55
+ text-align: center;
56
+ min-height: 120px;
57
+
58
+ &:hover {
59
+ border-color: #1890ff;
60
+ background: #f0f8ff;
61
+ }
62
+
63
+ &.selected {
64
+ border-color: #1890ff;
65
+ background: #e6f7ff;
66
+ }
67
+
68
+ .pisell-media-item-info {
69
+ margin-top: 8px;
70
+ width: 100%;
71
+
72
+ .pisell-media-item-name {
73
+ font-size: 12px;
74
+ color: #333;
75
+ margin-bottom: 4px;
76
+ overflow: hidden;
77
+ text-overflow: ellipsis;
78
+ white-space: nowrap;
79
+ }
80
+
81
+ .pisell-media-item-size {
82
+ font-size: 10px;
83
+ color: #999;
84
+ }
85
+ }
86
+ }
87
+ }
88
+
89
+ .pisell-media-selected {
90
+ margin-top: 16px;
91
+ padding: 8px 12px;
92
+ background: #f6ffed;
93
+ border: 1px solid #b7eb8f;
94
+ border-radius: 6px;
95
+ color: #52c41a;
96
+ font-size: 14px;
97
+ text-align: center;
98
+ }
99
+ }
100
+ }
@@ -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 './index.less';
2
3
  import { PisellAdjustPriceProps } from './type';
3
4
  declare const PisellAdjustPrice: (props: PisellAdjustPriceProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PickerDateProps } from 'antd/es/date-picker/generatePicker';
2
3
  import { Dayjs } from 'dayjs';
3
4
  import './detePickerCpt.less';
@@ -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
  import './index.less';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps, ButtonProps } from 'antd';
2
3
  import { PisellContextType } from "../../../pisell-config-provider/context";
3
4
  export interface CopyProps extends InputProps {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from 'antd';
2
3
  import './index.less';
3
4
  import { PisellContextType } from "../../../pisell-config-provider/context";
@@ -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 { TooltipPropsWithTitle } from 'antd/es/tooltip';
2
3
  import { PisellContextType } from "../pisell-config-provider/context";
3
4
  import './index.less';
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import './index.less';
3
+ interface PisellVHFixProps {
4
+ children?: React.ReactNode;
5
+ className?: string;
6
+ style?: React.CSSProperties;
7
+ height?: number;
8
+ minHeight?: boolean;
9
+ maxHeight?: boolean;
10
+ minusPixels?: number;
11
+ }
12
+ declare const PisellVHFix: React.FC<PisellVHFixProps>;
13
+ export default PisellVHFix;
@@ -0,0 +1,36 @@
1
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
2
+ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3
+ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4
+ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
6
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
7
+ import 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;
@@ -0,0 +1,10 @@
1
+ .pisell-vh-fix {
2
+ box-sizing: border-box;
3
+ overflow: hidden;
4
+
5
+ // 确保在Safari移动端正确显示
6
+ -webkit-overflow-scrolling: touch;
7
+
8
+ // 防止iOS Safari的弹性滚动
9
+ overscroll-behavior: contain;
10
+ }
@@ -539,7 +539,7 @@ var PisellWalletPassCard = function PisellWalletPassCard(props) {
539
539
  className: "pisell-card-amount-item-label"
540
540
  }, getText('pisell-discount-card-title')), /*#__PURE__*/React.createElement("div", {
541
541
  className: "pisell-card-amount-item-value"
542
- }, ((_props$metadata = props.metadata) === null || _props$metadata === void 0 ? void 0 : _props$metadata.discount_card_type) === 'fixed_amount' ? /*#__PURE__*/React.createElement(React.Fragment, null, getText('pisell-discount-card-fixed-amount-prefix'), /*#__PURE__*/React.createElement(Amount, {
542
+ }, ((_props$metadata = props.metadata) === null || _props$metadata === void 0 ? void 0 : _props$metadata.discount_card_type) === 'fixed_amount' ? /*#__PURE__*/React.createElement(React.Fragment, null, getText('pisell-discount-card-fixed-amount-prefix'), ' ', /*#__PURE__*/React.createElement(Amount, {
543
543
  className: "pisell-card-amount-item-value",
544
544
  useThousandsSeparator: true,
545
545
  value: discount
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Footer: ({ item, hideDivider, type, isOnlyTotal }: any) => JSX.Element;
3
4
  export default Footer;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const MultiDay: ({ dataSource, hideDivider }: any) => JSX.Element;
3
4
  export default MultiDay;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Note: (props: any) => JSX.Element | null;
3
4
  export default Note;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const DiscountReason: (props: any) => JSX.Element;
2
3
  export default DiscountReason;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Holders: (props: any) => JSX.Element | null;
3
4
  export default Holders;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface IProps {
3
4
  isShowImage?: boolean;
@@ -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) => string | number;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Resources: (props: any) => JSX.Element | null;
3
4
  export default Resources;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface IProps {
3
4
  hideDivider?: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Specs: (props: any) => JSX.Element | null;
3
4
  export default Specs;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import 'dayjs/locale/zh-cn';
2
3
  import 'dayjs/locale/en';
3
4
  import 'dayjs/locale/zh-tw';
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  import { ProductCardTypes } from '../types';
3
4
  interface ISKUCardProps extends ProductCardTypes {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Action: ({ item, onAction }: any) => JSX.Element;
3
4
  export default Action;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Actions: ({ children, style }: any) => JSX.Element | null;
3
4
  export default Actions;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const DeleteButton: ({ onDelete, type }: any) => JSX.Element;
3
4
  export default DeleteButton;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Header: (props: any) => JSX.Element;
3
4
  export default Header;
@@ -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) => string | number;
20
+ export declare const _formatAmount: (price?: number, amountSymbol?: string, digit?: number) => any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Sales: ({ item, isShowNote }: any) => JSX.Element | null;
3
4
  export default Sales;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const SelectHolder: ({ lists, value, onChange, holderMode, isShowAddHolderButton, onAddHolder, addHolderButtonText, onClearHolder, isErrorHolder, allowClear, holderMaxCount, }: any) => JSX.Element;
3
4
  export default SelectHolder;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface SelectHolderModalProps {
3
4
  visible: boolean;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface ResourceItem {
3
4
  id: string | number;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  declare const Time: ({ item, isShowHolder, onLike, isShowChangeResource, changeResource, changeHolder, isShowChangeHolder, holderMode, onAddHolder, isShowAddHolderButton, onClearHolder, onClearResource, }: any) => JSX.Element | null;
3
4
  export default Time;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ExportImportType } from '../../../types';
2
3
  import './index.less';
3
4
  declare type ExportImportProps = {
@@ -198,12 +198,12 @@ export declare const fieldList: ({
198
198
  field_icon: string;
199
199
  field_name: string;
200
200
  field_type: string;
201
- default_value: boolean;
201
+ default_value: string;
202
202
  } | {
203
203
  field_icon: string;
204
204
  field_name: string;
205
205
  field_type: string;
206
- default_value: string;
206
+ default_value: boolean;
207
207
  } | {
208
208
  field_icon: string;
209
209
  field_name: string;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const summary: (props: any) => JSX.Element;
3
2
  export default summary;
@@ -167,7 +167,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
167
167
  sort?: SortType | undefined;
168
168
  mode: "" | "localStorage" | "remote";
169
169
  currentViewMode: ModeType;
170
- }) => ("filter_setting" | "group_by" | "order_by" | "column_setting" | "view_mode" | "gallery_setting")[];
170
+ }) => ("order_by" | "group_by" | "column_setting" | "gallery_setting" | "filter_setting" | "view_mode")[];
171
171
  export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
172
172
  export declare const stringify: (obj: Record<string, any>) => string;
173
173
  export {};
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { AmountProps, RightItemsStyleProps } from './types';
2
3
  import './index.less';
3
4
  export type { AmountProps, RightItemsStyleProps };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { NumberProps } from './types';
2
3
  import './index.less';
3
4
  export type { NumberProps };
@@ -316,5 +316,15 @@ declare const _default: {
316
316
  'pisell-wallet-pass-card-status-conflict': string;
317
317
  'pisell-wallet-pass-card-reset': string;
318
318
  'pisell-wallet-pass-card-done': string;
319
+ 'pisell-list-tab-group-default': string;
320
+ 'pisell-list-empty-text-default': string;
321
+ 'pisell-list-load-more': string;
322
+ 'pisell-list-view-less': string;
323
+ 'pisell-list-pagination-total': (start: number, end: number, total: number) => string;
324
+ 'pisell-list-scroll-down': string;
325
+ 'pisell-list-scroll-right': string;
326
+ 'pisell-list-pagination-page-of': (current: number, total: number) => string;
327
+ 'pisell-list-pagination-previous': string;
328
+ 'pisell-list-pagination-next': string;
319
329
  };
320
330
  export default _default;
@@ -385,5 +385,20 @@ export default {
385
385
  'pisell-wallet-pass-card-status-disabled': 'Disabled',
386
386
  'pisell-wallet-pass-card-status-conflict': 'Conflict',
387
387
  'pisell-wallet-pass-card-reset': 'Reset',
388
- 'pisell-wallet-pass-card-done': 'Done'
388
+ 'pisell-wallet-pass-card-done': 'Done',
389
+ // 列表组件
390
+ 'pisell-list-tab-group-default': 'Field',
391
+ 'pisell-list-empty-text-default': 'No data available',
392
+ 'pisell-list-load-more': 'Load More',
393
+ 'pisell-list-view-less': 'View Less',
394
+ 'pisell-list-pagination-total': function pisellListPaginationTotal(start, end, total) {
395
+ return "Showing ".concat(start, "-").concat(end, " of ").concat(total, " items");
396
+ },
397
+ 'pisell-list-scroll-down': 'Scroll Down',
398
+ 'pisell-list-scroll-right': 'Scroll Right',
399
+ 'pisell-list-pagination-page-of': function pisellListPaginationPageOf(current, total) {
400
+ return "Page ".concat(current, " of ").concat(total);
401
+ },
402
+ 'pisell-list-pagination-previous': 'Previous',
403
+ 'pisell-list-pagination-next': 'Next'
389
404
  };
@@ -311,5 +311,15 @@ declare const _default: {
311
311
  'pisell-wallet-pass-card-status-conflict': string;
312
312
  'pisell-wallet-pass-card-reset': string;
313
313
  'pisell-wallet-pass-card-done': string;
314
+ 'pisell-list-tab-group-default': string;
315
+ 'pisell-list-empty-text-default': string;
316
+ 'pisell-list-load-more': string;
317
+ 'pisell-list-view-less': string;
318
+ 'pisell-list-pagination-total': (start: number, end: number, total: number) => string;
319
+ 'pisell-list-scroll-down': string;
320
+ 'pisell-list-scroll-right': string;
321
+ 'pisell-list-pagination-page-of': (current: number, total: number) => string;
322
+ 'pisell-list-pagination-previous': string;
323
+ 'pisell-list-pagination-next': string;
314
324
  };
315
325
  export default _default;
@@ -376,5 +376,20 @@ export default {
376
376
  'pisell-wallet-pass-card-status-disabled': '已禁用',
377
377
  'pisell-wallet-pass-card-status-conflict': '冲突',
378
378
  'pisell-wallet-pass-card-reset': '清空',
379
- 'pisell-wallet-pass-card-done': '保存'
379
+ 'pisell-wallet-pass-card-done': '保存',
380
+ // 列表组件
381
+ 'pisell-list-tab-group-default': '字段',
382
+ 'pisell-list-empty-text-default': '暂无数据',
383
+ 'pisell-list-load-more': '查看更多',
384
+ 'pisell-list-view-less': '查看更少',
385
+ 'pisell-list-pagination-total': function pisellListPaginationTotal(start, end, total) {
386
+ return "\u663E\u793A\u7B2C ".concat(start, "-").concat(end, " \u6761\uFF0C\u5171 ").concat(total, " \u6761");
387
+ },
388
+ 'pisell-list-scroll-down': '向下滚动',
389
+ 'pisell-list-scroll-right': '向右滚动',
390
+ 'pisell-list-pagination-page-of': function pisellListPaginationPageOf(current, total) {
391
+ return "\u7B2C ".concat(current, " \u9875 \u5171 ").concat(total, " \u9875");
392
+ },
393
+ 'pisell-list-pagination-previous': '上一页',
394
+ 'pisell-list-pagination-next': '下一页'
380
395
  };
@@ -311,5 +311,15 @@ declare const _default: {
311
311
  'pisell-wallet-pass-card-status-conflict': string;
312
312
  'pisell-wallet-pass-card-reset': string;
313
313
  'pisell-wallet-pass-card-done': string;
314
+ 'pisell-list-tab-group-default': string;
315
+ 'pisell-list-empty-text-default': string;
316
+ 'pisell-list-load-more': string;
317
+ 'pisell-list-view-less': string;
318
+ 'pisell-list-pagination-total': (start: number, end: number, total: number) => string;
319
+ 'pisell-list-scroll-down': string;
320
+ 'pisell-list-scroll-right': string;
321
+ 'pisell-list-pagination-page-of': (current: number, total: number) => string;
322
+ 'pisell-list-pagination-previous': string;
323
+ 'pisell-list-pagination-next': string;
314
324
  };
315
325
  export default _default;
@@ -377,5 +377,20 @@ export default {
377
377
  'pisell-wallet-pass-card-status-disabled': '已禁用',
378
378
  'pisell-wallet-pass-card-status-conflict': '衝突',
379
379
  'pisell-wallet-pass-card-reset': '清空',
380
- 'pisell-wallet-pass-card-done': '保存'
380
+ 'pisell-wallet-pass-card-done': '保存',
381
+ // 列表組件
382
+ 'pisell-list-tab-group-default': '字段',
383
+ 'pisell-list-empty-text-default': '暫無數據',
384
+ 'pisell-list-load-more': '查看更多',
385
+ 'pisell-list-view-less': '查看更少',
386
+ 'pisell-list-pagination-total': function pisellListPaginationTotal(start, end, total) {
387
+ return "\u986F\u793A\u7B2C ".concat(start, "-").concat(end, " \u689D\uFF0C\u5171 ").concat(total, " \u689D");
388
+ },
389
+ 'pisell-list-scroll-down': '向下滾動',
390
+ 'pisell-list-scroll-right': '向右滾動',
391
+ 'pisell-list-pagination-page-of': function pisellListPaginationPageOf(current, total) {
392
+ return "\u7B2C ".concat(current, " \u9801 \u5171 ").concat(total, " \u9801");
393
+ },
394
+ 'pisell-list-pagination-previous': '上一頁',
395
+ 'pisell-list-pagination-next': '下一頁'
381
396
  };
@@ -1 +1 @@
1
- export declare const isMobile: () => boolean;
1
+ export declare const isMobile: () => any;
@@ -5,7 +5,7 @@ export declare const paginationConfig: {
5
5
  className: string;
6
6
  defaultCurrent: number;
7
7
  showTotal: (total: number, range: [number, number]) => string;
8
- itemRender: (page: number, type: "page" | "next" | "prev" | "jump-prev" | "jump-next", element: React.ReactNode) => React.ReactNode;
8
+ itemRender: (page: number, type: "next" | "page" | "prev" | "jump-prev" | "jump-next", element: React.ReactNode) => React.ReactNode;
9
9
  responsive: boolean;
10
10
  size: string;
11
11
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { AppVersionControlProps } from './types';
2
3
  import './index.less';
3
4
  declare const AppVersionControl: (props: AppVersionControlProps) => JSX.Element;
@@ -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,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ColorPickerProps } from 'antd';
3
2
  declare const ColorPicker: (props: ColorPickerProps) => JSX.Element;
4
3
  export default ColorPicker;
@@ -17,7 +17,7 @@ interface UseTablePropsProps {
17
17
  * @returns
18
18
  */
19
19
  declare const useTableProps: (props: UseTablePropsProps) => {
20
- title: 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: 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;
@@ -53,7 +53,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
53
53
  width: number;
54
54
  align: "center" | "left" | "right";
55
55
  fixed: false | "left" | "right";
56
- type: "link" | "button";
56
+ type: "button" | "link";
57
57
  items: OperationItem[];
58
58
  } | undefined;
59
59
  operationContent?: {
@@ -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;