@pisell/materials 6.3.19 → 6.3.21

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 (30) 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 +16 -7
  7. package/build/lowcode/view.js +14 -14
  8. package/es/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -36
  9. package/es/components/table/Table/fields/date/index.d.ts +1 -0
  10. package/es/components/table/Table/fields/index.d.ts +1 -0
  11. package/es/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  12. package/es/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  13. package/es/components/table/Table/fields/select/index.d.ts +1 -0
  14. package/es/components/table/Table/fields/text/index.d.ts +1 -0
  15. package/es/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  16. package/lib/components/dataSourceComponents/dataSourceTable/hooks/useDrawerState.d.ts +1 -36
  17. package/lib/components/table/Table/fields/date/index.d.ts +1 -0
  18. package/lib/components/table/Table/fields/index.d.ts +1 -0
  19. package/lib/components/table/Table/fields/oldRangePicker/index.d.ts +1 -0
  20. package/lib/components/table/Table/fields/rangePicker/index.d.ts +1 -0
  21. package/lib/components/table/Table/fields/select/index.d.ts +1 -0
  22. package/lib/components/table/Table/fields/text/index.d.ts +1 -0
  23. package/lib/components/table/Table/fields/treeSelect/index.d.ts +1 -0
  24. package/package.json +3 -3
  25. package/es/components/iconfont/index.d.ts +0 -8
  26. package/es/components/productCard/status.d.ts +0 -32
  27. package/es/components/productCard/types.d.ts +0 -84
  28. package/lib/components/iconfont/index.d.ts +0 -8
  29. package/lib/components/productCard/status.d.ts +0 -32
  30. package/lib/components/productCard/types.d.ts +0 -84
@@ -1,39 +1,4 @@
1
- /// <reference types="react" />
2
- import { Drawer } from 'antd';
3
- import { OperationItem } from '../type';
4
1
  declare const useDrawerState: (operationContent?: {
5
2
  [key: string]: import("react").ReactNode;
6
- } | undefined) => {
7
- drawerVisible: boolean;
8
- setDrawerVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
9
- openDrawer: (item: OperationItem) => void;
10
- closeDrawer: () => void;
11
- drawerContent: import("react").ReactNode;
12
- Container: {
13
- (props: import("../../../pisellModal").PisellModalProps): import("react").JSX.Element;
14
- confirm: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
15
- destroy: () => void;
16
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
17
- };
18
- info: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
19
- destroy: () => void;
20
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
21
- };
22
- error: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
23
- destroy: () => void;
24
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
25
- };
26
- warn: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => any;
27
- warning: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
28
- destroy: () => void;
29
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
30
- };
31
- success: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
32
- destroy: () => void;
33
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
34
- };
35
- Information: (props: import("../../../pisellModal/components/Information").InformationProps) => import("react").JSX.Element;
36
- } | typeof Drawer;
37
- containerProps: {};
38
- };
3
+ } | undefined) => any;
39
4
  export default useDrawerState;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const fieldMaps: {
2
3
  text: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,39 +1,4 @@
1
- /// <reference types="react" />
2
- import { Drawer } from 'antd';
3
- import { OperationItem } from '../type';
4
1
  declare const useDrawerState: (operationContent?: {
5
2
  [key: string]: import("react").ReactNode;
6
- } | undefined) => {
7
- drawerVisible: boolean;
8
- setDrawerVisible: import("react").Dispatch<import("react").SetStateAction<boolean>>;
9
- openDrawer: (item: OperationItem) => void;
10
- closeDrawer: () => void;
11
- drawerContent: import("react").ReactNode;
12
- Container: {
13
- (props: import("../../../pisellModal").PisellModalProps): import("react").JSX.Element;
14
- confirm: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
15
- destroy: () => void;
16
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
17
- };
18
- info: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
19
- destroy: () => void;
20
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
21
- };
22
- error: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
23
- destroy: () => void;
24
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
25
- };
26
- warn: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => any;
27
- warning: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
28
- destroy: () => void;
29
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
30
- };
31
- success: (props: import("../../../pisellModal/components/functions").PisellModalFuncProps) => {
32
- destroy: () => void;
33
- update: (configUpdate: import("antd").ModalFuncProps | ((prevConfig: import("antd").ModalFuncProps) => import("antd").ModalFuncProps)) => void;
34
- };
35
- Information: (props: import("../../../pisellModal/components/Information").InformationProps) => import("react").JSX.Element;
36
- } | typeof Drawer;
37
- containerProps: {};
38
- };
3
+ } | undefined) => any;
39
4
  export default useDrawerState;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare const fieldMaps: {
2
3
  text: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import filter from "./filterUtil";
2
3
  declare const _default: {
3
4
  field: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "6.3.19",
3
+ "version": "6.3.21",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -73,8 +73,8 @@
73
73
  "vod-js-sdk-v6": "^1.4.11",
74
74
  "react-camera-pro": "1.4.0",
75
75
  "@pisell/date-picker": "3.0.7",
76
- "@pisell/utils": "3.0.4",
77
- "@pisell/icon": "0.0.11"
76
+ "@pisell/icon": "0.0.11",
77
+ "@pisell/utils": "3.0.4"
78
78
  },
79
79
  "peerDependencies": {
80
80
  "react": "^18.0.0",
@@ -1,8 +0,0 @@
1
- import { IconComponentProps } from '@ant-design/icons/es/components/Icon';
2
- import React from 'react';
3
- interface IconFontProps extends IconComponentProps {
4
- type: string;
5
- onClick?: React.MouseEventHandler<HTMLSpanElement>;
6
- }
7
- declare const IconFont: React.FC<IconFontProps>;
8
- export default IconFont;
@@ -1,32 +0,0 @@
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;
@@ -1,84 +0,0 @@
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
- };
@@ -1,8 +0,0 @@
1
- import { IconComponentProps } from '@ant-design/icons/es/components/Icon';
2
- import React from 'react';
3
- interface IconFontProps extends IconComponentProps {
4
- type: string;
5
- onClick?: React.MouseEventHandler<HTMLSpanElement>;
6
- }
7
- declare const IconFont: React.FC<IconFontProps>;
8
- export default IconFont;
@@ -1,32 +0,0 @@
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;
@@ -1,84 +0,0 @@
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
- };