@pisell/materials 2.2.100 → 2.2.101

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 (127) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +2 -2
  6. package/build/lowcode/preview.js +145 -145
  7. package/build/lowcode/render/default/view.css +1 -1
  8. package/build/lowcode/render/default/view.js +23 -23
  9. package/build/lowcode/view.css +1 -1
  10. package/build/lowcode/view.js +29 -29
  11. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  12. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  13. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  14. package/es/components/dataSourceComponents/fields/Select/index.d.ts +0 -1
  15. package/es/components/dataSourceComponents/fields/index.d.ts +19 -19
  16. package/es/components/date-picker/index.d.ts +0 -1
  17. package/es/components/pisell-config-provider/context.d.ts +2 -0
  18. package/es/components/pisell-config-provider/index.d.ts +1 -0
  19. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
  20. package/es/components/pisellCardList/index.d.ts +2 -0
  21. package/es/components/pisellCardList/index.js +3 -1
  22. package/es/components/pisellCheckboxGroup/index.d.ts +1 -0
  23. package/es/components/pisellCheckboxGroup/index.js +5 -2
  24. package/es/components/pisellCheckboxGroup/index.less +7 -1
  25. package/es/components/pisellInput/index.d.ts +0 -1
  26. package/es/components/pisellLoading/index.d.ts +0 -1
  27. package/es/components/pisellModal/components/IpadModal/index.d.ts +0 -1
  28. package/es/components/pisellModal/components/MobileModal/index.d.ts +0 -1
  29. package/es/components/pisellModal/components/index.d.ts +0 -1
  30. package/es/components/pisellText/components/Amount/index.js +2 -1
  31. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
  32. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
  33. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  34. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
  35. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
  36. package/es/components/productCard/components/MultiDay/index.d.ts +0 -1
  37. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  38. package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  39. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  40. package/es/components/select-time/index.d.ts +0 -1
  41. package/es/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  42. package/es/components/table/Actions/component/Group/index.d.ts +0 -1
  43. package/es/components/table/Actions/index.d.ts +0 -1
  44. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
  45. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
  46. package/es/components/table/Table/SelectField/index.d.ts +0 -1
  47. package/es/components/table/Table/fields/date/index.d.ts +0 -1
  48. package/es/components/table/Table/fields/image/Show/index.d.ts +0 -1
  49. package/es/components/table/Table/fields/image/index.d.ts +0 -1
  50. package/es/components/table/Table/fields/index.d.ts +0 -1
  51. package/es/components/table/Table/fields/link/index.d.ts +0 -1
  52. package/es/components/table/Table/fields/number/Show/index.d.ts +0 -1
  53. package/es/components/table/Table/fields/number/index.d.ts +0 -1
  54. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
  55. package/es/components/table/Table/fields/numberRange/index.d.ts +0 -1
  56. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  57. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
  58. package/es/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  59. package/es/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  60. package/es/components/table/Table/fields/search/Show/index.d.ts +0 -1
  61. package/es/components/table/Table/fields/search/index.d.ts +0 -1
  62. package/es/components/table/Table/fields/select/index.d.ts +0 -1
  63. package/es/components/table/Table/fields/text/index.d.ts +0 -1
  64. package/es/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  65. package/es/components/table/Table/utils.d.ts +1 -1
  66. package/es/components/table/View/index.d.ts +0 -1
  67. package/es/components/versionSelect/index.d.ts +0 -1
  68. package/es/utils/platform.d.ts +1 -1
  69. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  70. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  71. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  72. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +0 -1
  73. package/lib/components/dataSourceComponents/fields/index.d.ts +19 -19
  74. package/lib/components/date-picker/index.d.ts +0 -1
  75. package/lib/components/pisell-config-provider/context.d.ts +2 -0
  76. package/lib/components/pisell-config-provider/index.d.ts +1 -0
  77. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
  78. package/lib/components/pisellCardList/index.d.ts +2 -0
  79. package/lib/components/pisellCardList/index.js +3 -1
  80. package/lib/components/pisellCheckboxGroup/index.d.ts +1 -0
  81. package/lib/components/pisellCheckboxGroup/index.js +2 -0
  82. package/lib/components/pisellCheckboxGroup/index.less +7 -1
  83. package/lib/components/pisellInput/index.d.ts +0 -1
  84. package/lib/components/pisellLoading/index.d.ts +0 -1
  85. package/lib/components/pisellModal/components/IpadModal/index.d.ts +0 -1
  86. package/lib/components/pisellModal/components/MobileModal/index.d.ts +0 -1
  87. package/lib/components/pisellModal/components/index.d.ts +0 -1
  88. package/lib/components/pisellText/components/Amount/index.js +2 -1
  89. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
  90. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
  91. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  92. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
  93. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
  94. package/lib/components/productCard/components/MultiDay/index.d.ts +0 -1
  95. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  96. package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  97. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  98. package/lib/components/select-time/index.d.ts +0 -1
  99. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  100. package/lib/components/table/Actions/component/Group/index.d.ts +0 -1
  101. package/lib/components/table/Actions/index.d.ts +0 -1
  102. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
  103. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
  104. package/lib/components/table/Table/SelectField/index.d.ts +0 -1
  105. package/lib/components/table/Table/fields/date/index.d.ts +0 -1
  106. package/lib/components/table/Table/fields/image/Show/index.d.ts +0 -1
  107. package/lib/components/table/Table/fields/image/index.d.ts +0 -1
  108. package/lib/components/table/Table/fields/index.d.ts +0 -1
  109. package/lib/components/table/Table/fields/link/index.d.ts +0 -1
  110. package/lib/components/table/Table/fields/number/Show/index.d.ts +0 -1
  111. package/lib/components/table/Table/fields/number/index.d.ts +0 -1
  112. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
  113. package/lib/components/table/Table/fields/numberRange/index.d.ts +0 -1
  114. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  115. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
  116. package/lib/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  117. package/lib/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  118. package/lib/components/table/Table/fields/search/Show/index.d.ts +0 -1
  119. package/lib/components/table/Table/fields/search/index.d.ts +0 -1
  120. package/lib/components/table/Table/fields/select/index.d.ts +0 -1
  121. package/lib/components/table/Table/fields/text/index.d.ts +0 -1
  122. package/lib/components/table/Table/fields/treeSelect/index.d.ts +0 -1
  123. package/lib/components/table/Table/utils.d.ts +1 -1
  124. package/lib/components/table/View/index.d.ts +0 -1
  125. package/lib/components/versionSelect/index.d.ts +0 -1
  126. package/lib/utils/platform.d.ts +1 -1
  127. package/package.json +1 -1
@@ -20,7 +20,7 @@ declare const formFieldMap: {
20
20
  Subdomain: import("react").FC<import("antd").InputProps & {
21
21
  onChange: (value: string) => void;
22
22
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
23
- rootDomain: "custom" | "saas" | "xzero";
23
+ rootDomain: "custom" | "xzero" | "saas";
24
24
  customDomain?: string | undefined;
25
25
  value?: string | undefined;
26
26
  tenantId: string;
@@ -60,13 +60,25 @@ 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<any> | 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("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
63
+ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<any> | 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("./IconSelect/type").IconSelectProps & 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("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
64
+ options?: any;
65
+ optionSourceType?: "custom" | "default" | "api" | undefined;
66
+ labelField: string;
67
+ valueField: string;
68
+ extraParams?: Record<string, any> | undefined;
69
+ } & {
70
+ dataSource?: any;
71
+ }) => JSX.Element) | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
72
+ Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
73
+ } & {
74
+ Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
75
+ }) | import("react").FC<import("antd").InputProps & {
76
+ onChange: (value: string) => void;
77
+ } & 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("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
64
78
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
65
79
  } & {
66
80
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
67
- }) | 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 & {
68
- onChange: (value: string) => void;
69
- } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
81
+ }) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
70
82
  JSON: import("react").FC<any>;
71
83
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
72
84
  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>;
@@ -79,24 +91,12 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
79
91
  Subdomain: import("react").FC<import("antd").InputProps & {
80
92
  onChange: (value: string) => void;
81
93
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
82
- rootDomain: "custom" | "saas" | "xzero";
94
+ rootDomain: "custom" | "xzero" | "saas";
83
95
  customDomain?: string | undefined;
84
96
  value?: string | undefined;
85
97
  tenantId: string;
86
98
  name?: string | undefined;
87
99
  fieldKey?: string | undefined;
88
100
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
89
- }) | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
90
- Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
91
- } & {
92
- 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?: "custom" | "default" | "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("./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
+ });
102
102
  export { getFieldComponent, formFieldMap };
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DatePicker: (props: any) => JSX.Element;
3
2
  export default DatePicker;
@@ -5,6 +5,8 @@ export interface PisellContextType {
5
5
  symbol?: string;
6
6
  /** 当前语言环境 */
7
7
  locale?: string;
8
+ /** 获取货币符号 */
9
+ getSymbolic?: () => string;
8
10
  }
9
11
  export declare const PisellContext: import("react").Context<PisellContextType>;
10
12
  /**
@@ -7,6 +7,7 @@ interface PisellConfigProviderType {
7
7
  symbol?: string;
8
8
  /** 当前语言环境 */
9
9
  locale?: string;
10
+ getSymbolic?: () => string;
10
11
  }
11
12
  declare const PisellConfigProvider: React.FC<PisellConfigProviderType>;
12
13
  export default PisellConfigProvider;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputNumberProps } from 'antd/es/input-number';
3
2
  export interface PisellAdjustPriceInputNumberProps extends Omit<InputNumberProps, 'onChange'> {
4
3
  value?: number;
@@ -96,6 +96,8 @@ export interface PisellCardListProps extends Omit<PisellCheckboxGroupProps, 'opt
96
96
  onBeforeEditAmount?: (value: any, index: number, data: any) => Promise<any> | boolean | void;
97
97
  /** 选项点击事件 */
98
98
  onItemClick?: (e: React.MouseEvent<HTMLDivElement>, option: any) => void;
99
+ /** 是否展示选中状态的背景色 */
100
+ showActiveBackground?: boolean;
99
101
  }
100
102
  declare const _default: React.NamedExoticComponent<PisellCardListProps>;
101
103
  export default _default;
@@ -74,7 +74,8 @@ var PisellCardList = (props) => {
74
74
  formatRedeem,
75
75
  formatRedeemTitle,
76
76
  onBeforeEditAmount,
77
- onItemClick
77
+ onItemClick,
78
+ showActiveBackground
78
79
  } = props;
79
80
  return data.length ? /* @__PURE__ */ import_react.default.createElement(
80
81
  import_pisellCheckboxGroup.default,
@@ -90,6 +91,7 @@ var PisellCardList = (props) => {
90
91
  fullWidth,
91
92
  onChangeDebounce,
92
93
  onItemClick,
94
+ showActiveBackground,
93
95
  renderOption: (item, active, index) => {
94
96
  return /* @__PURE__ */ import_react.default.createElement(
95
97
  import_pisellWalletPassCard.default,
@@ -26,6 +26,7 @@ export interface PisellCheckboxGroupProps extends React.HTMLAttributes<HTMLDivEl
26
26
  optionActiveClassName?: string;
27
27
  onChangeDebounce?: boolean;
28
28
  onItemClick?: (e: React.MouseEvent<HTMLDivElement>, option: PisellCheckboxGroupOption) => void;
29
+ showActiveBackground?: boolean;
29
30
  }
30
31
  /**
31
32
  * @title: PisellCheckboxGroup
@@ -65,6 +65,7 @@ var PisellCheckboxGroup = (props) => {
65
65
  optionActiveClassName,
66
66
  onChangeDebounce,
67
67
  onItemClick,
68
+ showActiveBackground = false,
68
69
  ...rest
69
70
  } = props;
70
71
  const [_value, set_value] = (0, import_react2.useState)([]);
@@ -151,6 +152,7 @@ var PisellCheckboxGroup = (props) => {
151
152
  optionClassName,
152
153
  {
153
154
  "pisell-checkbox-group-item-active": active,
155
+ "pisell-checkbox-group-item-with-background": active && showActiveBackground,
154
156
  [optionActiveClassName]: active,
155
157
  "pisell-checkbox-group-item-error": option.error
156
158
  }
@@ -26,10 +26,16 @@
26
26
  &::before {
27
27
  border-width: 4px;
28
28
  border-color: var(--theme-color);
29
- background: var(--Primary-50, #F9F5FF);
30
29
  z-index: 1;
31
30
  box-sizing: border-box;
32
31
  }
32
+
33
+ // 可选的背景色样式,需要额外的类名才会应用
34
+ &.pisell-checkbox-group-item-with-background {
35
+ &::before {
36
+ background: var(--Primary-50, #F9F5FF);
37
+ }
38
+ }
33
39
  .pisell-row-center {
34
40
  .pisell-row {
35
41
  position: relative;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { InputProps } from 'antd';
3
2
  import { PisellContextType } from '../pisell-config-provider/context';
4
3
  declare const PisellInput: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SpinProps } from 'antd';
3
2
  import './index.less';
4
3
  declare type MaskType = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PcModalProps } from '../PcModal';
3
2
  export interface IpadModalProps extends PcModalProps {
4
3
  }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { PcModalProps } from '../PcModal';
3
2
  import './index.less';
4
3
  export interface MobileModalProps extends PcModalProps {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import IpadModal from './IpadModal';
3
2
  import MobileModal from './MobileModal';
4
3
  import PcModal from './PcModal';
@@ -47,7 +47,8 @@ var Amount = (props) => {
47
47
  } = props;
48
48
  const config = (0, import_usePisellConfig.default)();
49
49
  const amount = (0, import_react.useMemo)(() => {
50
- return (0, import_utils.formatAmountWithOptions)(value, symbol || (config == null ? void 0 : config.symbol) || "", {
50
+ var _a;
51
+ return (0, import_utils.formatAmountWithOptions)(value, symbol || (config == null ? void 0 : config.symbol) || ((_a = config == null ? void 0 : config.getSymbolic) == null ? void 0 : _a.call(config)) || "", {
51
52
  precision,
52
53
  showCurrencySymbol,
53
54
  useThousandsSeparator,
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const MultiDay: ({ dataSource, hideDivider }: any) => JSX.Element;
4
3
  export default MultiDay;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Holders: (props: any) => JSX.Element | null;
4
3
  export default Holders;
@@ -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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Resources: (props: any) => JSX.Element | null;
4
3
  export default Resources;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import 'dayjs/locale/zh-cn';
3
2
  import 'dayjs/locale/en';
4
3
  import 'dayjs/locale/zh-tw';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const MultiDay: ({ dataSource, hideDivider }: any) => JSX.Element;
4
3
  export default MultiDay;
@@ -1,2 +1 @@
1
- /// <reference types="react" />
2
1
  export declare const renderBundles: (item: any, hidePrice?: boolean, isShowPackageNote?: boolean) => JSX.Element;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  declare const Options: ({ options, amountSymbol }: any) => JSX.Element | null;
4
3
  export default Options;
@@ -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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { VirtualKeyboardTimeProps } from "../virtual-keyboard/Time";
3
2
  import { PopoverProps, TimePickerProps } from "antd";
4
3
  import "./index.less";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GallerySettingType, ModeType } from "../../../types";
3
2
  import "./index.less";
4
3
  declare type GallerySettingProps = {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataSourceGroupType } from "../../../types";
3
2
  declare type GroupProps = {
4
3
  setting: DataSourceGroupType;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FilterType } from "../../filter/types";
3
2
  import { ColumnSettingType, DataSourceGroupType, ExportImportType, GallerySettingType, GridViewType, SortType } from "../types";
4
3
  import "./index.less";
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GallerySettingType, GallerySettingValueType } from "../../../../../types";
3
2
  declare type CoverProps = {
4
3
  cover?: GallerySettingType["cover"];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GallerySettingType } from "../../../../../types";
3
2
  import "./index.less";
4
3
  declare type TitleProps = GallerySettingType["title"] & {
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectField: () => JSX.Element;
3
2
  export default SelectField;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  field: {
4
3
  field_icon: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  export declare const fieldMaps: {
3
2
  text: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  field: {
4
3
  field_icon: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const _default: {
3
2
  field: {
4
3
  field_icon: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FieldPropsType } from "../../types";
3
2
  declare const Show: (props: FieldPropsType) => JSX.Element;
4
3
  export default Show;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import filter from "./filterUtil";
3
2
  declare const _default: {
4
3
  field: {
@@ -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" | "group_by" | "order_by" | "column_setting" | "view_mode" | "gallery_setting")[];
158
+ }) => ("order_by" | "group_by" | "column_setting" | "gallery_setting" | "filter_setting" | "view_mode")[];
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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { GridViewProps } from '../types';
3
2
  declare const View: (props: GridViewProps & {
4
3
  setTableSetting: (values: Record<string, any>) => void;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { SelectProps } from 'antd';
3
2
  import './index.less';
4
3
  export interface Version {
@@ -1 +1 @@
1
- export declare const isMobile: () => boolean;
1
+ export declare const isMobile: () => any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "2.2.100",
3
+ "version": "2.2.101",
4
4
  "scripts": {
5
5
  "dev": "father dev",
6
6
  "build": "father build",