@pisell/materials 1.0.892 → 1.0.894

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 (119) hide show
  1. package/build/lowcode/assets-daily.json +11 -11
  2. package/build/lowcode/assets-dev.json +2 -2
  3. package/build/lowcode/assets-prod.json +11 -11
  4. package/build/lowcode/index.js +1 -1
  5. package/build/lowcode/meta.js +1 -1
  6. package/build/lowcode/preview.js +164 -148
  7. package/build/lowcode/render/default/view.js +38 -24
  8. package/build/lowcode/view.js +38 -24
  9. package/es/components/batch-editor/index.d.ts +0 -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/dataSourceWrapper/index.d.ts +0 -1
  14. package/es/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  15. package/es/components/dataSourceComponents/fields/index.d.ts +17 -17
  16. package/es/components/date-picker/index.d.ts +0 -1
  17. package/es/components/page/index.d.ts +0 -1
  18. package/es/components/pisellInput/index.d.ts +0 -1
  19. package/es/components/pisellModal/components/IpadModal/index.d.ts +0 -1
  20. package/es/components/pisellModal/components/MobileModal/index.d.ts +0 -1
  21. package/es/components/pisellModal/components/index.d.ts +0 -1
  22. package/es/components/productCard/components/Warning/index.d.ts +7 -0
  23. package/es/components/productCard/status.d.ts +32 -0
  24. package/es/components/productCard/types.d.ts +84 -0
  25. package/es/components/productCard/utils.d.ts +31 -0
  26. package/es/components/select-time/index.d.ts +0 -1
  27. package/es/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  28. package/es/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  29. package/es/components/table/Actions/component/Group/index.d.ts +0 -1
  30. package/es/components/table/Actions/index.d.ts +0 -1
  31. package/es/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
  32. package/es/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
  33. package/es/components/table/Table/fields/date/index.d.ts +0 -1
  34. package/es/components/table/Table/fields/image/Show/index.d.ts +0 -1
  35. package/es/components/table/Table/fields/image/index.d.ts +0 -1
  36. package/es/components/table/Table/fields/link/index.d.ts +0 -1
  37. package/es/components/table/Table/fields/number/Show/index.d.ts +0 -1
  38. package/es/components/table/Table/fields/number/index.d.ts +0 -1
  39. package/es/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
  40. package/es/components/table/Table/fields/numberRange/index.d.ts +0 -1
  41. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  42. package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
  43. package/es/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  44. package/es/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  45. package/es/components/table/Table/fields/search/Show/index.d.ts +0 -1
  46. package/es/components/table/Table/fields/search/index.d.ts +0 -1
  47. package/es/components/table/Table/fields/text/Show/index.d.ts +0 -1
  48. package/es/components/table/Table/fields/text/index.d.ts +0 -1
  49. package/es/components/table/View/index.d.ts +0 -1
  50. package/es/components/versionSelect/index.d.ts +0 -1
  51. package/es/components/walletCard/Guide/index.js +12 -1
  52. package/lib/components/batch-editor/index.d.ts +0 -1
  53. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceImage/index.d.ts +0 -1
  54. package/lib/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +0 -1
  55. package/lib/components/dataSourceComponents/dataSourceTable/filter/index.d.ts +0 -1
  56. package/lib/components/dataSourceComponents/dataSourceWrapper/index.d.ts +0 -1
  57. package/lib/components/dataSourceComponents/fields/Select/index.d.ts +1 -1
  58. package/lib/components/dataSourceComponents/fields/index.d.ts +17 -17
  59. package/lib/components/date-picker/index.d.ts +0 -1
  60. package/lib/components/page/index.d.ts +0 -1
  61. package/lib/components/pisellInput/index.d.ts +0 -1
  62. package/lib/components/pisellModal/components/IpadModal/index.d.ts +0 -1
  63. package/lib/components/pisellModal/components/MobileModal/index.d.ts +0 -1
  64. package/lib/components/pisellModal/components/index.d.ts +0 -1
  65. package/lib/components/productCard/components/Warning/index.d.ts +7 -0
  66. package/lib/components/productCard/status.d.ts +32 -0
  67. package/lib/components/productCard/types.d.ts +84 -0
  68. package/lib/components/productCard/utils.d.ts +31 -0
  69. package/lib/components/select-time/index.d.ts +0 -1
  70. package/lib/components/table/Actions/component/ColumnsSetting/index.d.ts +0 -1
  71. package/lib/components/table/Actions/component/GallerySetting/index.d.ts +0 -1
  72. package/lib/components/table/Actions/component/Group/index.d.ts +0 -1
  73. package/lib/components/table/Actions/index.d.ts +0 -1
  74. package/lib/components/table/Gallery/components/GalleryItem/components/Cover/index.d.ts +0 -1
  75. package/lib/components/table/Gallery/components/GalleryItem/components/Title/index.d.ts +0 -1
  76. package/lib/components/table/Table/fields/date/index.d.ts +0 -1
  77. package/lib/components/table/Table/fields/image/Show/index.d.ts +0 -1
  78. package/lib/components/table/Table/fields/image/index.d.ts +0 -1
  79. package/lib/components/table/Table/fields/link/index.d.ts +0 -1
  80. package/lib/components/table/Table/fields/number/Show/index.d.ts +0 -1
  81. package/lib/components/table/Table/fields/number/index.d.ts +0 -1
  82. package/lib/components/table/Table/fields/numberRange/Show/index.d.ts +0 -1
  83. package/lib/components/table/Table/fields/numberRange/index.d.ts +0 -1
  84. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +0 -1
  85. package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +0 -1
  86. package/lib/components/table/Table/fields/pSwitch/index.d.ts +0 -1
  87. package/lib/components/table/Table/fields/rangePicker/index.d.ts +0 -1
  88. package/lib/components/table/Table/fields/search/Show/index.d.ts +0 -1
  89. package/lib/components/table/Table/fields/search/index.d.ts +0 -1
  90. package/lib/components/table/Table/fields/text/Show/index.d.ts +0 -1
  91. package/lib/components/table/Table/fields/text/index.d.ts +0 -1
  92. package/lib/components/table/View/index.d.ts +0 -1
  93. package/lib/components/versionSelect/index.d.ts +0 -1
  94. package/lib/components/walletCard/Guide/index.js +11 -1
  95. package/package.json +3 -3
  96. package/es/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
  97. package/es/components/dataSourceComponents/dataSourceForm/utils.d.ts +0 -56
  98. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -39
  99. package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -99
  100. package/es/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -80
  101. package/es/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +0 -16
  102. package/es/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +0 -16
  103. package/es/components/pisellCardList/index.d.ts +0 -73
  104. package/es/components/pisellCheckboxGroup/index.d.ts +0 -37
  105. package/es/components/pisellGoodPassCard/index.d.ts +0 -50
  106. package/es/components/productCard/index.d.ts +0 -7
  107. package/es/index.d.ts +0 -142
  108. package/lib/components/dataSourceComponents/dataSourceForm/BaseForm.d.ts +0 -3
  109. package/lib/components/dataSourceComponents/dataSourceForm/utils.d.ts +0 -56
  110. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +0 -39
  111. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +0 -99
  112. package/lib/components/dataSourceComponents/dataSourceTable/type.d.ts +0 -80
  113. package/lib/components/dataSourceComponents/fields/Input.Mobile/WithMode.d.ts +0 -16
  114. package/lib/components/dataSourceComponents/fields/Input.Phone/WithMode.d.ts +0 -16
  115. package/lib/components/pisellCardList/index.d.ts +0 -73
  116. package/lib/components/pisellCheckboxGroup/index.d.ts +0 -37
  117. package/lib/components/pisellGoodPassCard/index.d.ts +0 -50
  118. package/lib/components/productCard/index.d.ts +0 -7
  119. package/lib/index.d.ts +0 -142
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface BatchEditorProps {
4
3
  columns: any[];
@@ -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,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,6 +1,6 @@
1
1
  declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
2
2
  options?: any;
3
- optionSourceType?: "custom" | "api" | "default" | undefined;
3
+ optionSourceType?: "default" | "custom" | "api" | undefined;
4
4
  labelField: string;
5
5
  valueField: string;
6
6
  extraParams?: Record<string, any> | undefined;
@@ -34,7 +34,7 @@ declare const formFieldMap: {
34
34
  };
35
35
  FormItemSelect: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
36
36
  options?: any;
37
- optionSourceType?: "custom" | "api" | "default" | undefined;
37
+ optionSourceType?: "default" | "custom" | "api" | undefined;
38
38
  labelField: string;
39
39
  valueField: string;
40
40
  extraParams?: Record<string, any> | undefined;
@@ -59,19 +59,7 @@ declare const formFieldMap: {
59
59
  FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
60
60
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
61
61
  };
62
- declare const getFieldComponent: (fieldComponent: string) => import("react").FC<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> | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<any> | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
63
- options?: any;
64
- optionSourceType?: "custom" | "api" | "default" | undefined;
65
- labelField: string;
66
- valueField: string;
67
- extraParams?: Record<string, any> | undefined;
68
- } & {
69
- dataSource?: any;
70
- }) => JSX.Element) | (import("react").FC<{}> & {
71
- Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
72
- } & {
73
- Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
74
- }) | 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> & {
62
+ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<import("./Input/type").InputProps> & {
75
63
  JSON: import("react").FC<any>;
76
64
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
77
65
  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>;
@@ -91,11 +79,23 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
91
79
  name?: string | undefined;
92
80
  fieldKey?: string | undefined;
93
81
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
94
- }) | (import("react").FC<{}> & {
82
+ }) | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
83
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
84
+ } & {
85
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
86
+ }) | 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<{}> & {
95
87
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
96
88
  } & {
97
89
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
98
- }) | 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 & {
90
+ }) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
91
+ options?: any;
92
+ optionSourceType?: "default" | "custom" | "api" | undefined;
93
+ labelField: string;
94
+ valueField: string;
95
+ extraParams?: Record<string, any> | undefined;
96
+ } & {
97
+ dataSource?: any;
98
+ }) => JSX.Element) | import("react").FC<any> | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
99
99
  onChange: (value: string) => void;
100
- } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
100
+ } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
101
101
  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;
@@ -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 { 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 { 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';
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import '../../index.less';
3
+ declare const Warning: React.FC<{
4
+ errorMessage: string | Array<string>;
5
+ osWarnTips: Array<string>;
6
+ }>;
7
+ export default Warning;
@@ -0,0 +1,32 @@
1
+ import { ProductCardTypes, bundleType, optionType, productType } from './types';
2
+ /**
3
+ * @title: 套餐数据
4
+ * @description:
5
+ * @return {*}
6
+ * @Author: WangHan
7
+ * @Date: 2025-01-02 23:21
8
+ */
9
+ export declare const defaultBundle: bundleType;
10
+ /**
11
+ * @description: 单规格
12
+ * @return {*}
13
+ * @Author: WangHan
14
+ * @Date: 2025-01-02 23:00
15
+ */
16
+ export declare const defaultOption: optionType;
17
+ /**
18
+ * @title: 商品商品类型
19
+ * @description:
20
+ * @return {*}
21
+ * @Author: WangHan
22
+ * @Date: 2025-01-02 22:48
23
+ */
24
+ export declare const defaultProduct: productType;
25
+ /**
26
+ * @title: 默认数据
27
+ * @description:
28
+ * @return {*}
29
+ * @Author: WangHan
30
+ * @Date: 2024-12-12 16:49
31
+ */
32
+ export declare const defaultValue: ProductCardTypes;
@@ -0,0 +1,84 @@
1
+ export declare type bundleType = {
2
+ id: number;
3
+ name: string;
4
+ num: number;
5
+ price: number;
6
+ total: number;
7
+ origin_total?: number;
8
+ price_type?: string;
9
+ options?: optionType[];
10
+ };
11
+ /**
12
+ * @description:
13
+ * @return {*}
14
+ * @Author: WangHan
15
+ * @Date: 2025-01-02 23:00
16
+ */
17
+ export declare type optionType = {
18
+ id: number;
19
+ name: string;
20
+ num: number;
21
+ price: number;
22
+ total: number;
23
+ origin_total?: number;
24
+ };
25
+ /**
26
+ * @title: 商品商品类型
27
+ * @description:
28
+ * @return {*}
29
+ * @Author: WangHan
30
+ * @Date: 2025-01-02 22:48
31
+ */
32
+ export declare type productType = {
33
+ _id: string | number;
34
+ id: number;
35
+ name: string;
36
+ price: number;
37
+ total: number;
38
+ num: number;
39
+ origin_total?: number;
40
+ image?: string;
41
+ isShowNote?: boolean;
42
+ note?: string;
43
+ like_status?: string;
44
+ bundle?: bundleType[];
45
+ options?: optionType[];
46
+ isShowAction?: boolean;
47
+ actionText?: string;
48
+ errorMessage?: string;
49
+ product_option_string?: string;
50
+ discount_reason?: string;
51
+ relation_products?: any[];
52
+ resource_id?: string | number;
53
+ relation_form_name?: string;
54
+ holder_title?: string;
55
+ start_date?: string;
56
+ end_date?: string;
57
+ is_show_duration?: boolean;
58
+ is_show_week?: boolean;
59
+ };
60
+ /**
61
+ * 排序总配置
62
+ */
63
+ export declare type ProductCardTypes = {
64
+ dataSource: productType;
65
+ isShowImage?: boolean;
66
+ isShowHolder?: boolean;
67
+ isShowNote?: boolean;
68
+ isShowPackageNote?: boolean;
69
+ isShowDelete?: boolean;
70
+ disabledEdit?: boolean;
71
+ locale?: string;
72
+ symbol?: string;
73
+ isShowChangeHolder?: boolean;
74
+ isShowChangeResource?: boolean;
75
+ isShowChangeDate?: boolean;
76
+ onAction?: (val: any) => void;
77
+ onDelete?: (val: any) => void;
78
+ onNote?: (val: any) => void;
79
+ onLike?: (val: any) => void;
80
+ onCard?: (val: any) => void;
81
+ onChangeResource?: (val: any) => void;
82
+ osWarnTips?: Array<string>;
83
+ [key: string]: any;
84
+ };
@@ -0,0 +1,31 @@
1
+ import 'dayjs/locale/zh-cn';
2
+ import 'dayjs/locale/en';
3
+ import 'dayjs/locale/zh-tw';
4
+ /**
5
+ * @title: 是否英文
6
+ * @description:
7
+ * @param {any} item
8
+ * @return {*}
9
+ * @Author: WangHan
10
+ * @Date: 2024-12-28 22:49
11
+ */
12
+ export declare const isEn: (item: any) => boolean;
13
+ /**
14
+ * @title: 跨日预约时间
15
+ * @description:
16
+ * @param {any} item
17
+ * @return {*}
18
+ * @Author: WangHan
19
+ * @Date: 2024-12-28 22:50
20
+ */
21
+ export declare const formatMultiDayDate: (item: any) => string;
22
+ /**
23
+ * @title: 格式化服务的 开始时间-结束时间-时长, 用于展示
24
+ * @description:
25
+ * @param {any} item
26
+ * @param {any} currentDate
27
+ * @return {*}
28
+ * @Author: zhiwei.Wang
29
+ * @Date: 2024-04-26 14:04
30
+ */
31
+ export declare const getServiceTime: (item: any, currentDate: any) => string;
@@ -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
  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,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,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
  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 { FieldPropsType } from "../../types";
3
2
  import "./index.less";
4
3
  declare const Show: (props: FieldPropsType) => JSX.Element;
@@ -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 { 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 {
@@ -37,9 +37,20 @@ var Guide = function Guide(props) {
37
37
  * @Date: 2025-06-09 14:36
38
38
  */
39
39
  var handleClick = function handleClick(e) {
40
- var _setting$skipLink;
40
+ var _setting$skipLink, _utils$interaction, _utils$interaction$is;
41
41
  e.stopPropagation();
42
42
  if (!(_setting !== null && _setting !== void 0 && (_setting$skipLink = _setting.skipLink) !== null && _setting$skipLink !== void 0 && _setting$skipLink.page)) return;
43
+ if (utils !== null && utils !== void 0 && (_utils$interaction = utils.interaction) !== null && _utils$interaction !== void 0 && (_utils$interaction = _utils$interaction.utils) !== null && _utils$interaction !== void 0 && (_utils$interaction$is = _utils$interaction.isAppEnv) !== null && _utils$interaction$is !== void 0 && _utils$interaction$is.call(_utils$interaction)) {
44
+ var _utils$interaction2, _utils$interaction2$p;
45
+ utils === null || utils === void 0 || (_utils$interaction2 = utils.interaction) === null || _utils$interaction2 === void 0 || (_utils$interaction2 = _utils$interaction2.utils) === null || _utils$interaction2 === void 0 || (_utils$interaction2$p = _utils$interaction2.postMessageToApp) === null || _utils$interaction2$p === void 0 || _utils$interaction2$p.call(_utils$interaction2, {
46
+ module: 'global',
47
+ key: 'openNative',
48
+ data: {
49
+ link: _setting === null || _setting === void 0 ? void 0 : _setting.skipLink
50
+ }
51
+ });
52
+ return;
53
+ }
43
54
  utils === null || utils === void 0 || utils.jumpPageByLink(_setting === null || _setting === void 0 ? void 0 : _setting.skipLink);
44
55
  };
45
56
  return /*#__PURE__*/React.createElement("div", {
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import "./index.less";
3
2
  interface BatchEditorProps {
4
3
  columns: any[];
@@ -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,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,6 +1,6 @@
1
1
  declare const SelectWithDataSource: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps & {
2
2
  options?: any;
3
- optionSourceType?: "custom" | "api" | "default" | undefined;
3
+ optionSourceType?: "default" | "custom" | "api" | undefined;
4
4
  labelField: string;
5
5
  valueField: string;
6
6
  extraParams?: Record<string, any> | undefined;
@@ -34,7 +34,7 @@ declare const formFieldMap: {
34
34
  };
35
35
  FormItemSelect: (props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
36
36
  options?: any;
37
- optionSourceType?: "custom" | "api" | "default" | undefined;
37
+ optionSourceType?: "default" | "custom" | "api" | undefined;
38
38
  labelField: string;
39
39
  valueField: string;
40
40
  extraParams?: Record<string, any> | undefined;
@@ -59,19 +59,7 @@ declare const formFieldMap: {
59
59
  FormItemTranslation: import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
60
60
  FormItemIconSelect: import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
61
61
  };
62
- declare const getFieldComponent: (fieldComponent: string) => import("react").FC<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> | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<any> | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
63
- options?: any;
64
- optionSourceType?: "custom" | "api" | "default" | undefined;
65
- labelField: string;
66
- valueField: string;
67
- extraParams?: Record<string, any> | undefined;
68
- } & {
69
- dataSource?: any;
70
- }) => JSX.Element) | (import("react").FC<{}> & {
71
- Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
72
- } & {
73
- Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
74
- }) | 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> & {
62
+ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<import("./Input/type").InputProps> & {
75
63
  JSON: import("react").FC<any>;
76
64
  Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
77
65
  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>;
@@ -91,11 +79,23 @@ declare const getFieldComponent: (fieldComponent: string) => import("react").FC<
91
79
  name?: string | undefined;
92
80
  fieldKey?: string | undefined;
93
81
  } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
94
- }) | (import("react").FC<{}> & {
82
+ }) | import("react").FC<import("./IconSelect/type").IconSelectProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<{}> & {
83
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
84
+ } & {
85
+ Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
86
+ }) | 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<{}> & {
95
87
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
96
88
  } & {
97
89
  Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
98
- }) | 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 & {
90
+ }) | ((props: import("antd").SelectProps<any, import("antd/es/select").DefaultOptionType> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps & {
91
+ options?: any;
92
+ optionSourceType?: "default" | "custom" | "api" | undefined;
93
+ labelField: string;
94
+ valueField: string;
95
+ extraParams?: Record<string, any> | undefined;
96
+ } & {
97
+ dataSource?: any;
98
+ }) => JSX.Element) | import("react").FC<any> | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Input.Mobile/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & {
99
99
  onChange: (value: string) => void;
100
- } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
100
+ } & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Translation/type").TranslationProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
101
101
  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;
@@ -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 { 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 { PcModalProps } from '../PcModal';
3
2
  export interface IpadModalProps extends PcModalProps {
4
3
  }