@pisell/materials 6.11.12 → 6.11.13

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 (215) 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/meta.js +1 -1
  5. package/build/lowcode/render/default/view.css +1 -1
  6. package/build/lowcode/render/default/view.js +2 -2
  7. package/build/lowcode/view.css +1 -1
  8. package/build/lowcode/view.js +3 -3
  9. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  10. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
  11. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +1 -1
  12. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.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 +1 -1
  15. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  16. package/es/components/dataSourceComponents/fields/index.d.ts +14 -14
  17. package/es/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +0 -1
  18. package/es/components/pisellDatePicker/index.d.ts +0 -1
  19. package/es/components/productCard/cartSkuCard/components/Gift/index.js +1 -1
  20. package/es/components/productCard/cartSkuCard/components/basicInfo/index.js +5 -3
  21. package/es/components/productCard/cartSkuCard/components/basicInfo/index.less +1 -1
  22. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  23. package/es/components/productCard/cartSkuCard/components/timeRange/index.js +1 -0
  24. package/es/components/productCard/cartSkuCard/index.js +5 -1
  25. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  26. package/es/components/table/Table/utils.d.ts +1 -1
  27. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +1 -1
  28. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +0 -1
  29. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +1 -1
  30. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableQuery.d.ts +0 -1
  31. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  32. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  33. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  34. package/lib/components/dataSourceComponents/fields/index.d.ts +14 -14
  35. package/lib/components/pisellDataSourceContainer/hooks/useDataSourceKey.d.ts +0 -1
  36. package/lib/components/pisellDatePicker/index.d.ts +0 -1
  37. package/lib/components/productCard/cartSkuCard/components/Gift/index.js +1 -1
  38. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.js +7 -1
  39. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.less +1 -1
  40. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  41. package/lib/components/productCard/cartSkuCard/components/timeRange/index.js +1 -0
  42. package/lib/components/productCard/cartSkuCard/index.js +5 -1
  43. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  44. package/lib/components/table/Table/utils.d.ts +1 -1
  45. package/package.json +3 -3
  46. package/es/components/PisellCards/components/GraphicTextCard/components/BadgeWrapper.d.ts +0 -5
  47. package/es/components/PisellCards/components/GraphicTextCard/components/TextContent.d.ts +0 -27
  48. package/es/components/PisellCards/components/GraphicTextCard/hooks/index.d.ts +0 -5
  49. package/es/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardClick.d.ts +0 -15
  50. package/es/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardStyle.d.ts +0 -18
  51. package/es/components/PisellCards/components/GraphicTextCard/types.d.ts +0 -290
  52. package/es/components/PisellCards/components/GraphicTextCard/utils/index.d.ts +0 -19
  53. package/es/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
  54. package/es/components/PisellCards/components/TextCard/TextCard.d.ts +0 -8
  55. package/es/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +0 -26
  56. package/es/components/PisellCards/components/TextCard/components/IconWrapper.d.ts +0 -17
  57. package/es/components/PisellCards/components/TextCard/components/TextContent.d.ts +0 -21
  58. package/es/components/PisellCards/components/TextCard/components/index.d.ts +0 -6
  59. package/es/components/PisellCards/components/TextCard/index.d.ts +0 -5
  60. package/es/components/PisellCards/components/TextCard/types.d.ts +0 -270
  61. package/es/components/PisellSteps/PisellSteps.d.ts +0 -14
  62. package/es/components/PisellSuperTabs/PisellSuperTabs.d.ts +0 -8
  63. package/es/components/PisellSuperTabs/hooks/index.d.ts +0 -1
  64. package/es/components/PisellSuperTabs/hooks/useTabsState.d.ts +0 -7
  65. package/es/components/PisellSuperTabs/index.d.ts +0 -3
  66. package/es/components/PisellSuperTabs/types.d.ts +0 -212
  67. package/es/components/PisellTabbar/constants.d.ts +0 -47
  68. package/es/components/PisellTabbar/hooks/index.d.ts +0 -2
  69. package/es/components/PisellTabbar/hooks/useActiveKey.d.ts +0 -55
  70. package/es/components/PisellTabbar/hooks/useExpand.d.ts +0 -42
  71. package/es/components/PisellTabbar/template/Template1/constants.d.ts +0 -10
  72. package/es/components/PisellTabbar/template/Template1/utils/index.d.ts +0 -35
  73. package/es/components/PisellTabbar/types.d.ts +0 -90
  74. package/es/components/PisellTabbar/utils/index.d.ts +0 -69
  75. package/es/components/cardPro/index.d.ts +0 -4
  76. package/es/components/config-provider/index.d.ts +0 -10
  77. package/es/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -26
  78. package/es/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -27
  79. package/es/components/dataSourceComponents/fields/Upload/constants.d.ts +0 -9
  80. package/es/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
  81. package/es/components/drag-sort-tree/TreeItem/index.d.ts +0 -19
  82. package/es/components/drag-sort-tree/index.d.ts +0 -5
  83. package/es/components/filter/components/Dropdown/types.d.ts +0 -13
  84. package/es/components/filter/components/FilterButton/types.d.ts +0 -24
  85. package/es/components/filter/types.d.ts +0 -48
  86. package/es/components/iconfont/index.d.ts +0 -8
  87. package/es/components/login-and-register/index.d.ts +0 -82
  88. package/es/components/pisell-config-provider/context.d.ts +0 -22
  89. package/es/components/pisellAdjustPrice/status.d.ts +0 -32
  90. package/es/components/pisellAdjustPrice/type.d.ts +0 -22
  91. package/es/components/pisellEmpty/index.d.ts +0 -19
  92. package/es/components/pisellFilter/type.d.ts +0 -5
  93. package/es/components/pisellGridPro/index.d.ts +0 -4
  94. package/es/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
  95. package/es/components/pisellQuickFilter/type.d.ts +0 -12
  96. package/es/components/pisellStatisticList/index.d.ts +0 -22
  97. package/es/components/pisellToast/squareToast/index.d.ts +0 -15
  98. package/es/components/pisellToast/squareToast/methods.d.ts +0 -13
  99. package/es/components/pisellToast/squareToast/renderImperatively.d.ts +0 -28
  100. package/es/components/pisellToast/squareToast/toast.d.ts +0 -25
  101. package/es/components/productCard/cartSkuCard/components/Gift/types.d.ts +0 -29
  102. package/es/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
  103. package/es/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -7
  104. package/es/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
  105. package/es/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
  106. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -9
  107. package/es/components/productCard/cartSkuCard/index.d.ts +0 -11
  108. package/es/components/productCard/cartSkuCard/locales.d.ts +0 -178
  109. package/es/components/productCard/components/Action/index.d.ts +0 -4
  110. package/es/components/productCard/components/Header/DeleteButton/index.d.ts +0 -4
  111. package/es/components/productCard/locales.d.ts +0 -138
  112. package/es/components/productCard/status.d.ts +0 -32
  113. package/es/components/productCard/types.d.ts +0 -95
  114. package/es/components/select/index.d.ts +0 -9
  115. package/es/components/table/Actions/component/ViewMode/index.d.ts +0 -9
  116. package/es/components/table/Table/fields/select/Edit/index.d.ts +0 -4
  117. package/es/components/table/types.d.ts +0 -268
  118. package/es/components/translation/utils.d.ts +0 -9
  119. package/es/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  120. package/es/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
  121. package/es/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  122. package/es/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  123. package/es/components/virtual-keyboard/Number/types.d.ts +0 -26
  124. package/es/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  125. package/es/locales/en-US.d.ts +0 -384
  126. package/es/locales/index.d.ts +0 -1
  127. package/es/locales/ja.d.ts +0 -348
  128. package/es/locales/pt.d.ts +0 -348
  129. package/es/locales/zh-CN.d.ts +0 -379
  130. package/es/locales/zh-TW.d.ts +0 -379
  131. package/lib/components/PisellCards/components/GraphicTextCard/components/BadgeWrapper.d.ts +0 -5
  132. package/lib/components/PisellCards/components/GraphicTextCard/components/TextContent.d.ts +0 -27
  133. package/lib/components/PisellCards/components/GraphicTextCard/hooks/index.d.ts +0 -5
  134. package/lib/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardClick.d.ts +0 -15
  135. package/lib/components/PisellCards/components/GraphicTextCard/hooks/useGraphicTextCardStyle.d.ts +0 -18
  136. package/lib/components/PisellCards/components/GraphicTextCard/types.d.ts +0 -290
  137. package/lib/components/PisellCards/components/GraphicTextCard/utils/index.d.ts +0 -19
  138. package/lib/components/PisellCards/components/MultilevelCard/components/PanelWrapper.d.ts +0 -7
  139. package/lib/components/PisellCards/components/TextCard/TextCard.d.ts +0 -8
  140. package/lib/components/PisellCards/components/TextCard/components/BadgeWrapper.d.ts +0 -26
  141. package/lib/components/PisellCards/components/TextCard/components/IconWrapper.d.ts +0 -17
  142. package/lib/components/PisellCards/components/TextCard/components/TextContent.d.ts +0 -21
  143. package/lib/components/PisellCards/components/TextCard/components/index.d.ts +0 -6
  144. package/lib/components/PisellCards/components/TextCard/index.d.ts +0 -5
  145. package/lib/components/PisellCards/components/TextCard/types.d.ts +0 -270
  146. package/lib/components/PisellSteps/PisellSteps.d.ts +0 -14
  147. package/lib/components/PisellSuperTabs/PisellSuperTabs.d.ts +0 -8
  148. package/lib/components/PisellSuperTabs/hooks/index.d.ts +0 -1
  149. package/lib/components/PisellSuperTabs/hooks/useTabsState.d.ts +0 -7
  150. package/lib/components/PisellSuperTabs/index.d.ts +0 -3
  151. package/lib/components/PisellSuperTabs/types.d.ts +0 -212
  152. package/lib/components/PisellTabbar/constants.d.ts +0 -47
  153. package/lib/components/PisellTabbar/hooks/index.d.ts +0 -2
  154. package/lib/components/PisellTabbar/hooks/useActiveKey.d.ts +0 -55
  155. package/lib/components/PisellTabbar/hooks/useExpand.d.ts +0 -42
  156. package/lib/components/PisellTabbar/template/Template1/constants.d.ts +0 -10
  157. package/lib/components/PisellTabbar/template/Template1/utils/index.d.ts +0 -35
  158. package/lib/components/PisellTabbar/types.d.ts +0 -90
  159. package/lib/components/PisellTabbar/utils/index.d.ts +0 -69
  160. package/lib/components/cardPro/index.d.ts +0 -4
  161. package/lib/components/config-provider/index.d.ts +0 -10
  162. package/lib/components/dataSourceComponents/fields/Input.Mobile/serve.d.ts +0 -26
  163. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.d.ts +0 -27
  164. package/lib/components/dataSourceComponents/fields/Upload/constants.d.ts +0 -9
  165. package/lib/components/dataSourceComponents/provider/variables/VariablesContext.d.ts +0 -15
  166. package/lib/components/drag-sort-tree/TreeItem/index.d.ts +0 -19
  167. package/lib/components/drag-sort-tree/index.d.ts +0 -5
  168. package/lib/components/filter/components/Dropdown/types.d.ts +0 -13
  169. package/lib/components/filter/components/FilterButton/types.d.ts +0 -24
  170. package/lib/components/filter/types.d.ts +0 -48
  171. package/lib/components/iconfont/index.d.ts +0 -8
  172. package/lib/components/login-and-register/index.d.ts +0 -82
  173. package/lib/components/pisell-config-provider/context.d.ts +0 -22
  174. package/lib/components/pisellAdjustPrice/status.d.ts +0 -32
  175. package/lib/components/pisellAdjustPrice/type.d.ts +0 -22
  176. package/lib/components/pisellEmpty/index.d.ts +0 -19
  177. package/lib/components/pisellFilter/type.d.ts +0 -5
  178. package/lib/components/pisellGridPro/index.d.ts +0 -4
  179. package/lib/components/pisellLookup/components/LookupTrigger.d.ts +0 -3
  180. package/lib/components/pisellQuickFilter/type.d.ts +0 -12
  181. package/lib/components/pisellStatisticList/index.d.ts +0 -22
  182. package/lib/components/pisellToast/squareToast/index.d.ts +0 -15
  183. package/lib/components/pisellToast/squareToast/methods.d.ts +0 -13
  184. package/lib/components/pisellToast/squareToast/renderImperatively.d.ts +0 -28
  185. package/lib/components/pisellToast/squareToast/toast.d.ts +0 -25
  186. package/lib/components/productCard/cartSkuCard/components/Gift/types.d.ts +0 -29
  187. package/lib/components/productCard/cartSkuCard/components/MultiDay/utils.d.ts +0 -14
  188. package/lib/components/productCard/cartSkuCard/components/Promotion/index.d.ts +0 -7
  189. package/lib/components/productCard/cartSkuCard/components/basicInfo/index.d.ts +0 -36
  190. package/lib/components/productCard/cartSkuCard/components/swipeAction/index.d.ts +0 -46
  191. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -9
  192. package/lib/components/productCard/cartSkuCard/index.d.ts +0 -11
  193. package/lib/components/productCard/cartSkuCard/locales.d.ts +0 -178
  194. package/lib/components/productCard/components/Action/index.d.ts +0 -4
  195. package/lib/components/productCard/components/Header/DeleteButton/index.d.ts +0 -4
  196. package/lib/components/productCard/locales.d.ts +0 -138
  197. package/lib/components/productCard/status.d.ts +0 -32
  198. package/lib/components/productCard/types.d.ts +0 -95
  199. package/lib/components/select/index.d.ts +0 -9
  200. package/lib/components/table/Actions/component/ViewMode/index.d.ts +0 -9
  201. package/lib/components/table/Table/fields/select/Edit/index.d.ts +0 -4
  202. package/lib/components/table/types.d.ts +0 -268
  203. package/lib/components/translation/utils.d.ts +0 -9
  204. package/lib/components/virtual-keyboard/Amount/themeConfig.d.ts +0 -32
  205. package/lib/components/virtual-keyboard/BaseNumberKeyboard/Presets.d.ts +0 -15
  206. package/lib/components/virtual-keyboard/Keyboard/index.d.ts +0 -21
  207. package/lib/components/virtual-keyboard/Number/themeConfig.d.ts +0 -32
  208. package/lib/components/virtual-keyboard/Number/types.d.ts +0 -26
  209. package/lib/components/virtual-keyboard/VirtualKeyInput/index.d.ts +0 -13
  210. package/lib/locales/en-US.d.ts +0 -384
  211. package/lib/locales/index.d.ts +0 -1
  212. package/lib/locales/ja.d.ts +0 -348
  213. package/lib/locales/pt.d.ts +0 -348
  214. package/lib/locales/zh-CN.d.ts +0 -379
  215. package/lib/locales/zh-TW.d.ts +0 -379
@@ -44,7 +44,7 @@ export declare const withDataSource: <P extends unknown>(WrappedComponent: React
44
44
  }) => React.JSX.Element;
45
45
  export declare const withOptions: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
46
46
  options?: any;
47
- optionSourceType?: "default" | "api" | "custom" | undefined;
47
+ optionSourceType?: "default" | "custom" | "api" | undefined;
48
48
  labelField: string;
49
49
  valueField: string;
50
50
  extraParams?: Record<string, any> | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const useDataSourceKey: () => {
3
2
  dataSourceKey: string | undefined;
4
3
  dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
@@ -52,7 +52,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
52
52
  show: boolean;
53
53
  title: string;
54
54
  width: number;
55
- align: "left" | "right" | "center";
55
+ align: "center" | "left" | "right";
56
56
  fixed: false | "left" | "right";
57
57
  type: "link" | "button";
58
58
  items: OperationItem[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataSourceTableProps } from '../type';
3
2
  declare type Params = {
4
3
  pagination?: {
@@ -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: "saas" | "custom" | "xzero";
5
+ rootDomain: "custom" | "saas" | "xzero";
6
6
  customDomain?: string | undefined;
7
7
  value?: string | undefined;
8
8
  tenantId: string;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
3
3
  options?: any;
4
- optionSourceType?: "default" | "api" | "custom" | undefined;
4
+ optionSourceType?: "default" | "custom" | "api" | undefined;
5
5
  labelField: string;
6
6
  valueField: string;
7
7
  extraParams?: Record<string, any> | undefined;
@@ -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;
@@ -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: "saas" | "custom" | "xzero";
23
+ rootDomain: "custom" | "saas" | "xzero";
24
24
  customDomain?: string | undefined;
25
25
  value?: string | undefined;
26
26
  tenantId: string;
@@ -35,7 +35,7 @@ declare const formFieldMap: {
35
35
  };
36
36
  FormItemSelect: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
37
37
  options?: any;
38
- optionSourceType?: "default" | "api" | "custom" | undefined;
38
+ optionSourceType?: "default" | "custom" | "api" | undefined;
39
39
  labelField: string;
40
40
  valueField: string;
41
41
  extraParams?: Record<string, any> | undefined;
@@ -61,16 +61,7 @@ declare const formFieldMap: {
61
61
  FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
62
62
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
63
63
  };
64
- declare const getFieldComponent: (fieldComponent: string) => ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
65
- options?: any;
66
- optionSourceType?: "default" | "api" | "custom" | undefined;
67
- labelField: string;
68
- valueField: string;
69
- extraParams?: Record<string, any> | undefined;
70
- } & {
71
- dataSource?: any;
72
- extraParams?: Record<string, any> | undefined;
73
- }) => import("react").JSX.Element) | (import("react").FC<{}> & {
64
+ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<{}> & {
74
65
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
75
66
  } & {
76
67
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -87,7 +78,7 @@ declare const getFieldComponent: (fieldComponent: string) => ((props: import("an
87
78
  Subdomain: import("react").FC<import("antd").InputProps & {
88
79
  onChange: (value: string) => void;
89
80
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
90
- rootDomain: "saas" | "custom" | "xzero";
81
+ rootDomain: "custom" | "saas" | "xzero";
91
82
  customDomain?: string | undefined;
92
83
  value?: string | undefined;
93
84
  tenantId: string;
@@ -98,7 +89,16 @@ declare const getFieldComponent: (fieldComponent: string) => ((props: import("an
98
89
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
99
90
  } & {
100
91
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
101
- }) | 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 & {
92
+ }) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
93
+ options?: any;
94
+ optionSourceType?: "default" | "custom" | "api" | undefined;
95
+ labelField: string;
96
+ valueField: string;
97
+ extraParams?: Record<string, any> | undefined;
98
+ } & {
99
+ dataSource?: any;
100
+ extraParams?: Record<string, any> | undefined;
101
+ }) => import("react").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 & {
102
102
  onChange: (value: string) => void;
103
103
  } & 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>;
104
104
  export { getFieldComponent, formFieldMap };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const useDataSourceKey: () => {
3
2
  dataSourceKey: string | undefined;
4
3
  dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PisellDatePicker: (props: any) => import("react").JSX.Element;
3
2
  export default PisellDatePicker;
@@ -1,6 +1,6 @@
1
1
  import React, { useMemo, useCallback } from 'react';
2
2
  import Icon from "../../../../icon";
3
- import { locales, imageAli } from '@pisell/utils';
3
+ import { locales, image as imageAli } from '@pisell/utils';
4
4
  import "./index.less";
5
5
  var prefixCls = 'pisell-cart-sku-card__gift';
6
6
  var Gift = function Gift(props) {
@@ -96,14 +96,16 @@ var BasicInfo = function BasicInfo(props) {
96
96
  width: 20
97
97
  }
98
98
  }) : null, /*#__PURE__*/React.createElement("div", {
99
- className: "product-info"
99
+ className: "product-info product-info-a5"
100
100
  }, /*#__PURE__*/React.createElement("div", {
101
- className: "product-name"
101
+ className: "product-basic-info-wrap"
102
+ }, /*#__PURE__*/React.createElement("div", {
103
+ className: "product-name ".concat(renderEdit ? 'product-name-edit' : '')
102
104
  }, name), (!holder_id || !(holder_id !== null && holder_id !== void 0 && holder_id.length)) && !isFormSubject ? /*#__PURE__*/React.createElement("div", {
103
105
  className: "product-price"
104
106
  }, formatAmount(price, 2, symbol)) : /*#__PURE__*/React.createElement(Holders, {
105
107
  dataSource: dataSource
106
- })));
108
+ })), renderEdit));
107
109
  }
108
110
  if (type === 'a9') {
109
111
  var showAmount = isBundle && !showFooter;
@@ -151,7 +151,7 @@
151
151
  }
152
152
  }
153
153
 
154
- .product-info-a9 {
154
+ .product-info-a9, .product-info-a5 {
155
155
  display: flex;
156
156
  justify-content: space-between;
157
157
  align-items: start;
@@ -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;
@@ -24,6 +24,7 @@ var TimeRange = function TimeRange(props) {
24
24
  end_date = dataSource.end_date,
25
25
  _dataSource$locale = dataSource.locale,
26
26
  locale = _dataSource$locale === void 0 ? 'en-US' : _dataSource$locale;
27
+ if (!start_date || !end_date) return null;
27
28
  if (!dayjs(start_date).isValid() || !dayjs(end_date).isValid()) return null;
28
29
  useEffect(function () {
29
30
  dayjs.locale(localeTypes[locale]);
@@ -166,7 +166,11 @@ var CartSkuCard = function CartSkuCard(props) {
166
166
  isShowImage: isShowImage,
167
167
  dataSource: dataSource,
168
168
  isMainProduct: true,
169
- type: type
169
+ type: type,
170
+ isShowOriginalPrice: isShowOriginalPrice,
171
+ isShowEditProduct: isShowEditProduct,
172
+ disabledEditClick: disabledEditClick,
173
+ onEditProduct: onEditProduct
170
174
  }), /*#__PURE__*/React.createElement(TimeRange, {
171
175
  dataSource: dataSource
172
176
  }), /*#__PURE__*/React.createElement(Resources, {
@@ -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;
@@ -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
- }) => ("view_mode" | "filter_setting" | "group_by" | "order_by" | "column_setting" | "gallery_setting" | "filters")[];
158
+ }) => ("filters" | "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 {};
@@ -44,7 +44,7 @@ export declare const withDataSource: <P extends unknown>(WrappedComponent: React
44
44
  }) => React.JSX.Element;
45
45
  export declare const withOptions: <P extends unknown>(WrappedComponent: React.ComponentType<P>) => (props: P & {
46
46
  options?: any;
47
- optionSourceType?: "default" | "api" | "custom" | undefined;
47
+ optionSourceType?: "default" | "custom" | "api" | undefined;
48
48
  labelField: string;
49
49
  valueField: string;
50
50
  extraParams?: Record<string, any> | undefined;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const useDataSourceKey: () => {
3
2
  dataSourceKey: string | undefined;
4
3
  dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
@@ -52,7 +52,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
52
52
  show: boolean;
53
53
  title: string;
54
54
  width: number;
55
- align: "left" | "right" | "center";
55
+ align: "center" | "left" | "right";
56
56
  fixed: false | "left" | "right";
57
57
  type: "link" | "button";
58
58
  items: OperationItem[];
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataSourceTableProps } from '../type';
3
2
  declare type Params = {
4
3
  pagination?: {
@@ -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: "saas" | "custom" | "xzero";
5
+ rootDomain: "custom" | "saas" | "xzero";
6
6
  customDomain?: string | undefined;
7
7
  value?: string | undefined;
8
8
  tenantId: string;
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
3
3
  options?: any;
4
- optionSourceType?: "default" | "api" | "custom" | undefined;
4
+ optionSourceType?: "default" | "custom" | "api" | undefined;
5
5
  labelField: string;
6
6
  valueField: string;
7
7
  extraParams?: Record<string, any> | undefined;
@@ -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;
@@ -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: "saas" | "custom" | "xzero";
23
+ rootDomain: "custom" | "saas" | "xzero";
24
24
  customDomain?: string | undefined;
25
25
  value?: string | undefined;
26
26
  tenantId: string;
@@ -35,7 +35,7 @@ declare const formFieldMap: {
35
35
  };
36
36
  FormItemSelect: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
37
37
  options?: any;
38
- optionSourceType?: "default" | "api" | "custom" | undefined;
38
+ optionSourceType?: "default" | "custom" | "api" | undefined;
39
39
  labelField: string;
40
40
  valueField: string;
41
41
  extraParams?: Record<string, any> | undefined;
@@ -61,16 +61,7 @@ declare const formFieldMap: {
61
61
  FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
62
62
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
63
63
  };
64
- declare const getFieldComponent: (fieldComponent: string) => ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
65
- options?: any;
66
- optionSourceType?: "default" | "api" | "custom" | undefined;
67
- labelField: string;
68
- valueField: string;
69
- extraParams?: Record<string, any> | undefined;
70
- } & {
71
- dataSource?: any;
72
- extraParams?: Record<string, any> | undefined;
73
- }) => import("react").JSX.Element) | (import("react").FC<{}> & {
64
+ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<{}> & {
74
65
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
75
66
  } & {
76
67
  Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -87,7 +78,7 @@ declare const getFieldComponent: (fieldComponent: string) => ((props: import("an
87
78
  Subdomain: import("react").FC<import("antd").InputProps & {
88
79
  onChange: (value: string) => void;
89
80
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
90
- rootDomain: "saas" | "custom" | "xzero";
81
+ rootDomain: "custom" | "saas" | "xzero";
91
82
  customDomain?: string | undefined;
92
83
  value?: string | undefined;
93
84
  tenantId: string;
@@ -98,7 +89,16 @@ declare const getFieldComponent: (fieldComponent: string) => ((props: import("an
98
89
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
99
90
  } & {
100
91
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
101
- }) | 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 & {
92
+ }) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
93
+ options?: any;
94
+ optionSourceType?: "default" | "custom" | "api" | undefined;
95
+ labelField: string;
96
+ valueField: string;
97
+ extraParams?: Record<string, any> | undefined;
98
+ } & {
99
+ dataSource?: any;
100
+ extraParams?: Record<string, any> | undefined;
101
+ }) => import("react").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 & {
102
102
  onChange: (value: string) => void;
103
103
  } & 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>;
104
104
  export { getFieldComponent, formFieldMap };
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare const useDataSourceKey: () => {
3
2
  dataSourceKey: string | undefined;
4
3
  dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const PisellDatePicker: (props: any) => import("react").JSX.Element;
3
2
  export default PisellDatePicker;
@@ -50,7 +50,7 @@ var Gift = (props) => {
50
50
  const displayGifts = (0, import_react.useMemo)(() => (selectedGifts == null ? void 0 : selectedGifts.slice(0, 5)) || [], [selectedGifts]);
51
51
  const renderImage = (0, import_react.useCallback)((item) => {
52
52
  if (item == null ? void 0 : item.image) {
53
- return /* @__PURE__ */ import_react.default.createElement("img", { src: import_utils.imageAli.ali(item == null ? void 0 : item.image, 48), className: `product-cover` });
53
+ return /* @__PURE__ */ import_react.default.createElement("img", { src: import_utils.image.ali(item == null ? void 0 : item.image, 48), className: `product-cover` });
54
54
  }
55
55
  const displayText = (item == null ? void 0 : item.title) ? item == null ? void 0 : item.title.slice(0, 2) : "";
56
56
  return /* @__PURE__ */ import_react.default.createElement("div", { className: `product-cover-text` }, displayText);
@@ -103,7 +103,13 @@ var BasicInfo = (props) => {
103
103
  return _originalTotal !== 0 && _originalTotal != _total;
104
104
  }, [isShowOriginalPrice, origin_total, total, hasSpecs]);
105
105
  if (type === "a5") {
106
- return /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__basic-info`, style: style || {} }, renderNumTag(), renderImage(), !isShowImage || !image && !name ? /* @__PURE__ */ import_react.default.createElement("div", { style: { width: 20 } }) : null, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-info` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-name` }, name), (!holder_id || !(holder_id == null ? void 0 : holder_id.length)) && !isFormSubject ? /* @__PURE__ */ import_react.default.createElement("div", { className: `product-price` }, (0, import_utils.formatAmount)(price, 2, symbol)) : /* @__PURE__ */ import_react.default.createElement(import_holders.default, { dataSource })));
106
+ return /* @__PURE__ */ import_react.default.createElement("div", { className: `${import__.PREFIX}__basic-info`, style: style || {} }, renderNumTag(), renderImage(), !isShowImage || !image && !name ? /* @__PURE__ */ import_react.default.createElement("div", { style: { width: 20 } }) : null, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-info product-info-a5` }, /* @__PURE__ */ import_react.default.createElement("div", { className: `product-basic-info-wrap` }, /* @__PURE__ */ import_react.default.createElement(
107
+ "div",
108
+ {
109
+ className: `product-name ${renderEdit ? "product-name-edit" : ""}`
110
+ },
111
+ name
112
+ ), (!holder_id || !(holder_id == null ? void 0 : holder_id.length)) && !isFormSubject ? /* @__PURE__ */ import_react.default.createElement("div", { className: `product-price` }, (0, import_utils.formatAmount)(price, 2, symbol)) : /* @__PURE__ */ import_react.default.createElement(import_holders.default, { dataSource })), renderEdit));
107
113
  }
108
114
  if (type === "a9") {
109
115
  const showAmount = isBundle && !showFooter;
@@ -151,7 +151,7 @@
151
151
  }
152
152
  }
153
153
 
154
- .product-info-a9 {
154
+ .product-info-a9, .product-info-a5 {
155
155
  display: flex;
156
156
  justify-content: space-between;
157
157
  align-items: start;
@@ -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;
@@ -54,6 +54,7 @@ var localeTypes = {
54
54
  var TimeRange = (props) => {
55
55
  const { dataSource = {} } = props;
56
56
  const { start_date, end_date, locale = "en-US" } = dataSource;
57
+ if (!start_date || !end_date) return null;
57
58
  if (!(0, import_dayjs.default)(start_date).isValid() || !(0, import_dayjs.default)(end_date).isValid()) return null;
58
59
  (0, import_react.useEffect)(() => {
59
60
  import_dayjs.default.locale(localeTypes[locale]);
@@ -184,7 +184,11 @@ var CartSkuCard = (props) => {
184
184
  isShowImage,
185
185
  dataSource,
186
186
  isMainProduct: true,
187
- type
187
+ type,
188
+ isShowOriginalPrice,
189
+ isShowEditProduct,
190
+ disabledEditClick,
191
+ onEditProduct
188
192
  }
189
193
  ), /* @__PURE__ */ import_react.default.createElement(import_timeRange.default, { dataSource }), /* @__PURE__ */ import_react.default.createElement(import_resources.default, { dataSource }), /* @__PURE__ */ import_react.default.createElement(import_packages.default, { dataSource, isShowImage }), /* @__PURE__ */ import_react.default.createElement(
190
194
  import_sales.default,
@@ -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;
@@ -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
- }) => ("view_mode" | "filter_setting" | "group_by" | "order_by" | "column_setting" | "gallery_setting" | "filters")[];
158
+ }) => ("filters" | "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 {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "6.11.12",
3
+ "version": "6.11.13",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -92,9 +92,9 @@
92
92
  "swiper": "^8.4.7",
93
93
  "antd-mobile": "^5.38.1",
94
94
  "vod-js-sdk-v6": "^1.4.11",
95
- "@pisell/icon": "0.0.11",
95
+ "@pisell/date-picker": "3.0.8",
96
96
  "@pisell/utils": "3.0.2",
97
- "@pisell/date-picker": "3.0.8"
97
+ "@pisell/icon": "0.0.11"
98
98
  },
99
99
  "peerDependencies": {
100
100
  "react": "^18.0.0",
@@ -1,5 +0,0 @@
1
- /**
2
- * BadgeWrapper 角标包装组件
3
- * 复用 TextCard 的 BadgeWrapper 实现
4
- */
5
- export { default } from '../../TextCard/components/BadgeWrapper';
@@ -1,27 +0,0 @@
1
- import React from 'react';
2
- import { TextContentProps } from '../types';
3
- /**
4
- * TextContent 文本内容组件
5
- * 负责渲染主文本内容,支持省略和多行显示
6
- *
7
- * @component
8
- * @example
9
- * ```tsx
10
- * // 单行文本
11
- * <TextContent text="Tab title" />
12
- *
13
- * // 自定义样式
14
- * <TextContent
15
- * text="Tab title"
16
- * textConfig={{
17
- * fontSize: 16,
18
- * fontWeight: 600,
19
- * color: '#101828',
20
- * maxLines: 2,
21
- * textAlign: 'center'
22
- * }}
23
- * />
24
- * ```
25
- */
26
- declare const TextContent: React.FC<TextContentProps>;
27
- export default TextContent;
@@ -1,5 +0,0 @@
1
- /**
2
- * Hooks 统一导出
3
- */
4
- export { useGraphicTextCardStyle } from './useGraphicTextCardStyle';
5
- export { useGraphicTextCardClick } from './useGraphicTextCardClick';
@@ -1,15 +0,0 @@
1
- import { GraphicTextCardProps } from '../types';
2
- /**
3
- * useGraphicTextCardClick Hook
4
- * 处理组件点击事件的逻辑
5
- *
6
- * @param props - GraphicTextCard 组件的 Props
7
- * @returns 点击事件处理函数
8
- *
9
- * @example
10
- * ```tsx
11
- * const handleClick = useGraphicTextCardClick(props);
12
- * <div onClick={handleClick}>...</div>
13
- * ```
14
- */
15
- export declare const useGraphicTextCardClick: (props: GraphicTextCardProps) => (event: React.MouseEvent<HTMLDivElement>) => void;
@@ -1,18 +0,0 @@
1
- import { CSSProperties } from 'react';
2
- import { GraphicTextCardProps } from '../types';
3
- /**
4
- * useGraphicTextCardStyle Hook
5
- * 处理组件样式和类名的合并逻辑
6
- *
7
- * @param props - GraphicTextCard 组件的 Props
8
- * @returns 合并后的样式和类名
9
- *
10
- * @example
11
- * ```tsx
12
- * const { mergedStyle, mergedClassName } = useGraphicTextCardStyle(props);
13
- * ```
14
- */
15
- export declare const useGraphicTextCardStyle: (props: GraphicTextCardProps) => {
16
- mergedStyle: CSSProperties;
17
- mergedClassName: string;
18
- };