@pisell/materials 1.0.957 → 1.0.958

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 (187) 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.js +2 -2
  6. package/build/lowcode/view.js +2 -2
  7. package/es/components/batch-editor/index.d.ts +0 -1
  8. package/es/components/checkbox/index.d.ts +1 -0
  9. package/es/components/dataSourceComponents/dataSourceForm/utils.js +6 -1
  10. package/es/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  11. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  12. package/es/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
  13. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  14. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  15. package/es/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
  16. package/es/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
  17. package/es/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
  18. package/es/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
  19. package/es/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
  20. package/es/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
  21. package/es/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
  22. package/es/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
  23. package/es/components/dataSourceComponents/fields/Input.Phone/serve.js +1 -1
  24. package/es/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
  25. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  26. package/es/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
  27. package/es/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
  28. package/es/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
  29. package/es/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
  30. package/es/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
  31. package/es/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  32. package/es/components/dataSourceComponents/fields/index.d.ts +9 -9
  33. package/es/components/date-picker/datePickerCpt.d.ts +1 -0
  34. package/es/components/filter/index.d.ts +0 -1
  35. package/es/components/page/index.d.ts +0 -1
  36. package/es/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
  37. package/es/components/pisellInput/index.d.ts +0 -1
  38. package/es/components/pisellLoading/index.d.ts +0 -1
  39. package/es/components/pisellUpload/index.d.ts +1 -0
  40. package/es/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
  41. package/es/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
  42. package/es/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  43. package/es/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
  44. package/es/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
  45. package/es/components/productCard/components/MultiDay/index.d.ts +0 -1
  46. package/es/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  47. package/es/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  48. package/es/components/productCard/components/Packages/utils.d.ts +1 -1
  49. package/es/components/radio/index.d.ts +1 -0
  50. package/es/components/select-time/RightPanel/index.d.ts +1 -0
  51. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  52. package/es/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  53. package/es/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
  54. package/es/components/table/Actions/component/Group/index.d.ts +0 -1
  55. package/es/components/table/Actions/index.d.ts +0 -1
  56. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
  57. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
  58. package/es/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  59. package/es/components/table/Table/SelectField/index.d.ts +0 -1
  60. package/es/components/table/Table/fields/date/Config/index.d.ts +1 -0
  61. package/es/components/table/Table/fields/date/Show/index.d.ts +1 -0
  62. package/es/components/table/Table/fields/date/Sort/index.d.ts +1 -0
  63. package/es/components/table/Table/fields/image/Config/index.d.ts +1 -0
  64. package/es/components/table/Table/fields/image/Sort/index.d.ts +1 -0
  65. package/es/components/table/Table/fields/link/Config/index.d.ts +1 -0
  66. package/es/components/table/Table/fields/link/Show/index.d.ts +1 -0
  67. package/es/components/table/Table/fields/link/Sort/index.d.ts +1 -0
  68. package/es/components/table/Table/fields/number/Config/index.d.ts +1 -0
  69. package/es/components/table/Table/fields/number/Sort/index.d.ts +1 -0
  70. package/es/components/table/Table/fields/numberRange/Config/index.d.ts +1 -0
  71. package/es/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -0
  72. package/es/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -0
  73. package/es/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -0
  74. package/es/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -0
  75. package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -0
  76. package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -0
  77. package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -0
  78. package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -0
  79. package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -0
  80. package/es/components/table/Table/fields/search/Config/index.d.ts +1 -0
  81. package/es/components/table/Table/fields/search/Sort/index.d.ts +1 -0
  82. package/es/components/table/Table/fields/select/Config/index.d.ts +1 -0
  83. package/es/components/table/Table/fields/select/Show/index.d.ts +1 -0
  84. package/es/components/table/Table/fields/select/Sort/index.d.ts +1 -0
  85. package/es/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  86. package/es/components/table/Table/fields/text/Config/index.d.ts +1 -0
  87. package/es/components/table/Table/fields/text/Sort/index.d.ts +1 -0
  88. package/es/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -0
  89. package/es/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -0
  90. package/es/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -0
  91. package/es/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  92. package/es/components/table/Table/utils.d.ts +1 -1
  93. package/es/components/versionSelect/index.d.ts +0 -1
  94. package/es/components/virtual-keyboard/Time/utils.d.ts +1 -0
  95. package/es/utils/index.d.ts +1 -1
  96. package/es/utils/platform.d.ts +1 -1
  97. package/lib/components/batch-editor/index.d.ts +0 -1
  98. package/lib/components/checkbox/index.d.ts +1 -0
  99. package/lib/components/dataSourceComponents/dataSourceForm/utils.js +4 -0
  100. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  101. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  102. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
  103. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDataSourceKey.d.ts +2 -2
  104. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +3 -3
  105. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
  106. package/lib/components/dataSourceComponents/fields/ColorPicker/ReadPretty.d.ts +1 -0
  107. package/lib/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.d.ts +1 -0
  108. package/lib/components/dataSourceComponents/fields/IconSelect/ReadPretty.d.ts +1 -0
  109. package/lib/components/dataSourceComponents/fields/Input/ReadPretty.d.ts +1 -0
  110. package/lib/components/dataSourceComponents/fields/Input.Email/ReadPretty.d.ts +1 -0
  111. package/lib/components/dataSourceComponents/fields/Input.Json/ReadPretty.d.ts +1 -0
  112. package/lib/components/dataSourceComponents/fields/Input.Password/ReadPretty.d.ts +1 -0
  113. package/lib/components/dataSourceComponents/fields/Input.Phone/serve.js +1 -1
  114. package/lib/components/dataSourceComponents/fields/Input.Subdomain/ReadPretty.d.ts +1 -0
  115. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +1 -1
  116. package/lib/components/dataSourceComponents/fields/Input.TextArea/ReadPretty.d.ts +1 -0
  117. package/lib/components/dataSourceComponents/fields/Input.Url/ReadPretty.d.ts +1 -0
  118. package/lib/components/dataSourceComponents/fields/TimePicker/ReadPretty.d.ts +1 -0
  119. package/lib/components/dataSourceComponents/fields/Translation/ReadPretty.d.ts +1 -0
  120. package/lib/components/dataSourceComponents/fields/Upload/ReadPretty.d.ts +1 -0
  121. package/lib/components/dataSourceComponents/fields/Upload/utils.d.ts +1 -1
  122. package/lib/components/dataSourceComponents/fields/index.d.ts +9 -9
  123. package/lib/components/date-picker/datePickerCpt.d.ts +1 -0
  124. package/lib/components/filter/index.d.ts +0 -1
  125. package/lib/components/page/index.d.ts +0 -1
  126. package/lib/components/pisellAdjustPrice/PisellAdjustPriceInputNumber.d.ts +0 -1
  127. package/lib/components/pisellInput/index.d.ts +0 -1
  128. package/lib/components/pisellLoading/index.d.ts +0 -1
  129. package/lib/components/pisellUpload/index.d.ts +1 -0
  130. package/lib/components/productCard/cartSkuCard/components/MultiDay/index.d.ts +0 -1
  131. package/lib/components/productCard/cartSkuCard/components/holders/index.d.ts +0 -1
  132. package/lib/components/productCard/cartSkuCard/components/packages/utils.d.ts +1 -1
  133. package/lib/components/productCard/cartSkuCard/components/resources/index.d.ts +0 -1
  134. package/lib/components/productCard/cartSkuCard/components/timeRange/index.d.ts +0 -1
  135. package/lib/components/productCard/components/MultiDay/index.d.ts +0 -1
  136. package/lib/components/productCard/components/Packages/components/collapsibleList/utils.d.ts +0 -1
  137. package/lib/components/productCard/components/Packages/components/options/index.d.ts +0 -1
  138. package/lib/components/productCard/components/Packages/utils.d.ts +1 -1
  139. package/lib/components/radio/index.d.ts +1 -0
  140. package/lib/components/select-time/RightPanel/index.d.ts +1 -0
  141. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  142. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  143. package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +1 -0
  144. package/lib/components/table/Actions/component/Group/index.d.ts +0 -1
  145. package/lib/components/table/Actions/index.d.ts +0 -1
  146. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
  147. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
  148. package/lib/components/table/Gallery/components/VirtualGrid/useGapSize.d.ts +2 -2
  149. package/lib/components/table/Table/SelectField/index.d.ts +0 -1
  150. package/lib/components/table/Table/fields/date/Config/index.d.ts +1 -0
  151. package/lib/components/table/Table/fields/date/Show/index.d.ts +1 -0
  152. package/lib/components/table/Table/fields/date/Sort/index.d.ts +1 -0
  153. package/lib/components/table/Table/fields/image/Config/index.d.ts +1 -0
  154. package/lib/components/table/Table/fields/image/Sort/index.d.ts +1 -0
  155. package/lib/components/table/Table/fields/link/Config/index.d.ts +1 -0
  156. package/lib/components/table/Table/fields/link/Show/index.d.ts +1 -0
  157. package/lib/components/table/Table/fields/link/Sort/index.d.ts +1 -0
  158. package/lib/components/table/Table/fields/number/Config/index.d.ts +1 -0
  159. package/lib/components/table/Table/fields/number/Sort/index.d.ts +1 -0
  160. package/lib/components/table/Table/fields/numberRange/Config/index.d.ts +1 -0
  161. package/lib/components/table/Table/fields/numberRange/Sort/index.d.ts +1 -0
  162. package/lib/components/table/Table/fields/oldRangePicker/Config/index.d.ts +1 -0
  163. package/lib/components/table/Table/fields/oldRangePicker/Show/index.d.ts +1 -0
  164. package/lib/components/table/Table/fields/oldRangePicker/Sort/index.d.ts +1 -0
  165. package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -0
  166. package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -0
  167. package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -0
  168. package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -0
  169. package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -0
  170. package/lib/components/table/Table/fields/search/Config/index.d.ts +1 -0
  171. package/lib/components/table/Table/fields/search/Sort/index.d.ts +1 -0
  172. package/lib/components/table/Table/fields/select/Config/index.d.ts +1 -0
  173. package/lib/components/table/Table/fields/select/Show/index.d.ts +1 -0
  174. package/lib/components/table/Table/fields/select/Sort/index.d.ts +1 -0
  175. package/lib/components/table/Table/fields/select/filterUtil/index.d.ts +1 -1
  176. package/lib/components/table/Table/fields/text/Config/index.d.ts +1 -0
  177. package/lib/components/table/Table/fields/text/Sort/index.d.ts +1 -0
  178. package/lib/components/table/Table/fields/treeSelect/Config/index.d.ts +1 -0
  179. package/lib/components/table/Table/fields/treeSelect/Show/index.d.ts +1 -0
  180. package/lib/components/table/Table/fields/treeSelect/Sort/index.d.ts +1 -0
  181. package/lib/components/table/Table/fields/treeSelect/filterUtil/index.d.ts +1 -1
  182. package/lib/components/table/Table/utils.d.ts +1 -1
  183. package/lib/components/versionSelect/index.d.ts +0 -1
  184. package/lib/components/virtual-keyboard/Time/utils.d.ts +1 -0
  185. package/lib/utils/index.d.ts +1 -1
  186. package/lib/utils/platform.d.ts +1 -1
  187. package/package.json +1 -1
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -2,4 +2,4 @@ export default function ({ value, key, item, }: {
2
2
  value: string | string[] | Record<string, any>[];
3
3
  key: string | string[];
4
4
  item: Record<string, any>;
5
- }): boolean;
5
+ }): any;
@@ -161,7 +161,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
161
161
  sort?: SortType | undefined;
162
162
  mode: "" | "localStorage" | "remote";
163
163
  currentViewMode: ModeType;
164
- }) => ("filters" | "column_setting" | "gallery_setting" | "order_by" | "group_by" | "view_mode" | "filter_setting")[];
164
+ }) => ("view_mode" | "filter_setting" | "group_by" | "order_by" | "column_setting" | "gallery_setting" | "filters")[];
165
165
  export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
166
166
  export declare const stringify: (obj: Record<string, any>) => string;
167
167
  export {};
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const formatStringToTime: (value: string) => {
2
3
  valueArray: string[];
3
4
  valueString: string;
@@ -1,4 +1,4 @@
1
1
  export declare const isBrowser: boolean;
2
- export declare const getCssNumber: (val: string | number) => string;
2
+ export declare const getCssNumber: (val: string | number) => string | number;
3
3
  export declare function uuid(): string;
4
4
  export * from './mergeWith';
@@ -1 +1 @@
1
- export declare const isMobile: () => boolean;
1
+ export declare const isMobile: () => any;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface BatchEditorProps {
4
3
  columns: any[];
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Checkbox: (props: any) => JSX.Element;
2
3
  export default Checkbox;
@@ -187,6 +187,7 @@ var withFormItem = (WrappedComponent, overlayProps) => {
187
187
  case "phone":
188
188
  rules.push({
189
189
  validator: (_, originValue) => {
190
+ var _a2;
190
191
  let value = "";
191
192
  if ((0, import_utils.isString)(originValue)) {
192
193
  value = originValue;
@@ -196,6 +197,9 @@ var withFormItem = (WrappedComponent, overlayProps) => {
196
197
  if (!(value == null ? void 0 : value.trim())) {
197
198
  return Promise.resolve();
198
199
  }
200
+ if (typeof originValue !== "string" && (requiredobj == null ? void 0 : requiredobj.required) === false && ((_a2 = originValue == null ? void 0 : originValue.phone) == null ? void 0 : _a2.trim()) === "") {
201
+ return Promise.resolve();
202
+ }
199
203
  try {
200
204
  const cleanedNumber = value.replace(/\s|\(|\)/g, "");
201
205
  const parsedNumber = (0, import_libphonenumber_js.parsePhoneNumberFromString)(cleanedNumber);
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DataSourceImage: (props: import("../utils").ParsedProps) => JSX.Element;
3
2
  export default DataSourceImage;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const DataSourceQRCode: (props: any) => JSX.Element;
3
2
  export default DataSourceQRCode;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import './index.less';
3
2
  interface BaseFilterItem {
4
3
  name?: string;
@@ -1,5 +1,5 @@
1
1
  declare const useDataSourceKey: () => {
2
- dataSourceKey: string | undefined;
3
- dataSourceKeyRef: import("react").MutableRefObject<string | undefined>;
2
+ dataSourceKey: string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined;
3
+ dataSourceKeyRef: import("react").MutableRefObject<string | import("../../provider/dataSource/DataSourceContext").DataSourceType | undefined>;
4
4
  };
5
5
  export default useDataSourceKey;
@@ -19,7 +19,7 @@ interface UseTablePropsProps {
19
19
  */
20
20
  declare const useTableProps: (props: UseTablePropsProps) => {
21
21
  currentComponentId: any;
22
- title: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
22
+ title: string | number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
23
23
  pagination: {
24
24
  total: number;
25
25
  current: number;
@@ -28,7 +28,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
28
28
  showSizeChanger: boolean;
29
29
  };
30
30
  columns: import("./useColumns").Column[];
31
- subTitle: number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
31
+ subTitle: string | number | boolean | React.ReactFragment | JSX.Element | (() => React.ReactNode) | null | undefined;
32
32
  buttons: any[] | null;
33
33
  filter: {
34
34
  dom: any;
@@ -54,7 +54,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
54
54
  width: number;
55
55
  align: "center" | "left" | "right";
56
56
  fixed: false | "left" | "right";
57
- type: "link" | "button";
57
+ type: "button" | "link";
58
58
  items: OperationItem[];
59
59
  } | undefined;
60
60
  operationContent?: {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DataSourceContextProps } from '../provider/dataSource/DataSourceContext';
3
2
  declare const DataSourceWrapper: (props: DataSourceContextProps) => JSX.Element;
4
3
  export default DataSourceWrapper;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { ColorPickerProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const ColorPickerReadPretty: (props: ColorPickerProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { DateRangePickerProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const DateRangePickerReadPretty: (props: DateRangePickerProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { IconSelectProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const IconSelectReadPretty: (props: IconSelectProps) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { JsonProps } from "./type";
2
3
  import "./ReadPretty.less";
3
4
  declare const JsonReadPretty: (props: JsonProps) => JSX.Element | null;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PasswordProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const PasswordReadPretty: (props: PasswordProps) => JSX.Element;
@@ -85,7 +85,7 @@ var useCountries = () => {
85
85
  manual: true
86
86
  });
87
87
  (0, import_react.useEffect)(() => {
88
- if (!isShop) {
88
+ if (!isShop && !isPc && !isH5) {
89
89
  run();
90
90
  }
91
91
  }, [isShop]);
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { InputProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const InputReadPretty: (props: InputProps) => JSX.Element;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  declare const Subdomain: React.FC<import("antd").InputProps & {
3
3
  onChange: (value: string) => void;
4
4
  onBlur?: ((e: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
5
- rootDomain: "custom" | "xzero" | "saas";
5
+ rootDomain: "custom" | "saas" | "xzero";
6
6
  customDomain?: string | undefined;
7
7
  value?: string | undefined;
8
8
  tenantId: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TextAreaProps } from "./type";
2
3
  import "./ReadPretty.less";
3
4
  declare const TextAreaReadPretty: (props: TextAreaProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { UrlProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  export declare const formatUrl: (url: string) => string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TimePickerProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const TimePickerReadPretty: (props: TimePickerProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { TranslationProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const TranslationReadPretty: (props: TranslationProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { UploadProps } from './type';
2
3
  import './ReadPretty.less';
3
4
  declare const UploadReadPretty: (props: UploadProps) => JSX.Element | null;
@@ -15,4 +15,4 @@ export declare const getFileMetadataParams: (file: RcFile & {
15
15
  metadata?: MediaMetadata;
16
16
  }) => Record<string, any>;
17
17
  export declare const isValueEqual: (value: any, fileListValue: any) => boolean;
18
- export declare const getBaseTime: (size: number) => 1000 | 2000 | 4000 | 8000;
18
+ export declare const getBaseTime: (size: number) => 2000 | 1000 | 4000 | 8000;
@@ -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" | "xzero" | "saas";
23
+ rootDomain: "custom" | "saas" | "xzero";
24
24
  customDomain?: string | undefined;
25
25
  value?: string | undefined;
26
26
  tenantId: string;
@@ -60,11 +60,7 @@ 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<{}> & {
64
- Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
65
- } & {
66
- 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("./Input/type").InputProps> & {
63
+ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<import("./Input/type").InputProps> & {
68
64
  JSON: import("react").FC<any>;
69
65
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
70
66
  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>;
@@ -77,14 +73,18 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
77
73
  Subdomain: import("react").FC<import("antd").InputProps & {
78
74
  onChange: (value: string) => void;
79
75
  onBlur?: ((e: import("react").FocusEvent<HTMLInputElement, Element>) => void) | undefined;
80
- rootDomain: "custom" | "xzero" | "saas";
76
+ rootDomain: "custom" | "saas" | "xzero";
81
77
  customDomain?: string | undefined;
82
78
  value?: string | undefined;
83
79
  tenantId: string;
84
80
  name?: string | undefined;
85
81
  fieldKey?: string | undefined;
86
82
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
87
- }) | (import("react").FC<{}> & {
83
+ }) | import("react").FC<any> | (import("react").FC<{}> & {
84
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
85
+ } & {
86
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
87
+ }) | 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<{}> & {
88
88
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
89
89
  } & {
90
90
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
@@ -96,7 +96,7 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
96
96
  extraParams?: Record<string, any> | undefined;
97
97
  } & {
98
98
  dataSource?: any;
99
- }) => JSX.Element) | import("react").FC<any> | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
99
+ }) => JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
100
100
  onChange: (value: string) => void;
101
101
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
102
102
  export { getFieldComponent, formFieldMap };
@@ -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 './index.less';
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { FilterProps } from "./types";
3
2
  declare const Filter: (props: FilterProps) => JSX.Element | null;
4
3
  export default Filter;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ConfigProviderProps } from '../config-provider';
3
2
  interface PageProps extends ConfigProviderProps {
4
3
  }
@@ -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;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { UploadProps } from 'antd';
2
3
  import './index.less';
3
4
  export interface PisellUploadProps extends UploadProps {
@@ -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,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Radio: (props: any) => JSX.Element;
2
3
  export default Radio;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './index.less';
2
3
  interface RightPanelProps {
3
4
  value: string;
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  declare type ColumnsSettingProps = {
3
2
  value?: Record<string, any>[];
4
3
  onChange?: (val: Record<string, any>[]) => void;
@@ -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,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import './PopoverContent.less';
2
3
  declare type FieldType = string | number;
3
4
  export declare type GroupValue = {
@@ -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,5 +1,5 @@
1
1
  declare const useGapSize: (gap: number | number[]) => {
2
- horizontal: number;
3
- vertical: number;
2
+ horizontal: any;
3
+ vertical: any;
4
4
  };
5
5
  export default useGapSize;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const SelectField: () => JSX.Element;
3
2
  export default SelectField;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { FieldPropsType } from "../../types";
2
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
3
4
  export default Show;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Config: () => JSX.Element;
2
3
  export default Config;
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const Sort: () => JSX.Element;
2
3
  export default Sort;