@pisell/materials 1.0.1035 → 1.0.1036

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 (31) 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/es/components/PisellCards/index.d.ts +6 -6
  6. package/es/components/calendar/index.d.ts +2 -2
  7. package/es/components/checkbox/index.d.ts +2 -2
  8. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +2 -2
  9. package/es/components/dataSourceComponents/fields/Input.Email/index.d.ts +2 -2
  10. package/es/components/dataSourceComponents/fields/Input.Password/index.d.ts +2 -2
  11. package/es/components/dataSourceComponents/fields/Input.TextArea/index.d.ts +2 -2
  12. package/es/components/dataSourceComponents/fields/Input.Url/index.d.ts +2 -2
  13. package/es/components/date-picker/index.d.ts +2 -2
  14. package/es/components/input/index.d.ts +2 -2
  15. package/es/components/pisell-config-provider/context.d.ts +2 -2
  16. package/es/components/pisellDataSourceContainer/components/Pagination/index.d.ts +2 -2
  17. package/es/components/pisellDataSourceContainer/components/Table/index.d.ts +2 -2
  18. package/es/components/pisellDatePicker/index.d.ts +2 -2
  19. package/es/components/pisellModal/index.d.ts +6 -6
  20. package/es/components/radio/index.d.ts +2 -2
  21. package/es/components/section-footers/index.d.ts +2 -2
  22. package/es/components/skeleton/index.d.ts +2 -2
  23. package/es/components/time-picker/index.d.ts +2 -2
  24. package/es/components/typography/index.d.ts +2 -2
  25. package/es/components/upload/index.d.ts +2 -2
  26. package/lib/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +2 -2
  27. package/lib/components/dataSourceComponents/fields/Input.Password/index.d.ts +2 -2
  28. package/lib/components/dataSourceComponents/fields/Input.TextArea/index.d.ts +2 -2
  29. package/lib/components/pisellDataSourceContainer/components/Pagination/index.d.ts +2 -2
  30. package/lib/components/pisellDataSourceContainer/components/Table/index.d.ts +2 -2
  31. package/package.json +3 -3
@@ -7,15 +7,15 @@ import "./components/PisellImageCard/index.js";
7
7
  import { BadgeConfig, TabCardProps } from "./components/TabCard/types.js";
8
8
  import "./components/TextCard/types.js";
9
9
  import { MultilevelCardProps } from "./components/MultilevelCard/types.js";
10
- import * as react10 from "react";
10
+ import * as react12 from "react";
11
11
 
12
12
  //#region src/components/PisellCards/index.d.ts
13
13
  declare const PisellCards: {
14
- TabCard: (props: any) => react10.JSX.Element;
15
- TextCard: (props: any) => react10.JSX.Element;
16
- GraphicTextCard: (props: GraphicTextCardProps) => react10.JSX.Element;
17
- MultilevelCard: (props: any) => react10.JSX.Element;
18
- PisellImageCard: (props: PisellImageCardProps) => react10.JSX.Element;
14
+ TabCard: (props: any) => react12.JSX.Element;
15
+ TextCard: (props: any) => react12.JSX.Element;
16
+ GraphicTextCard: (props: GraphicTextCardProps) => react12.JSX.Element;
17
+ MultilevelCard: (props: any) => react12.JSX.Element;
18
+ PisellImageCard: (props: PisellImageCardProps) => react12.JSX.Element;
19
19
  };
20
20
  //#endregion
21
21
  export { PisellCards };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import * as react16 from "react";
2
+ import * as react0 from "react";
3
3
 
4
4
  //#region src/components/calendar/index.d.ts
5
- declare const Calendar: (props: any) => react16.JSX.Element;
5
+ declare const Calendar: (props: any) => react0.JSX.Element;
6
6
  //#endregion
7
7
  export { Calendar };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import * as react15 from "react";
2
+ import * as react0 from "react";
3
3
 
4
4
  //#region src/components/checkbox/index.d.ts
5
- declare const Checkbox: (props: any) => react15.JSX.Element;
5
+ declare const Checkbox: (props: any) => react0.JSX.Element;
6
6
  //#endregion
7
7
  export { Checkbox };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import * as react0 from "react";
2
+ import * as react1 from "react";
3
3
 
4
4
  //#region src/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts
5
- declare const DataSourceQRCode: (props: any) => react0.JSX.Element;
5
+ declare const DataSourceQRCode: (props: any) => react1.JSX.Element;
6
6
  //#endregion
7
7
  export { DataSourceQRCode };
@@ -1,9 +1,9 @@
1
1
  import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
2
- import * as antd21 from "antd";
2
+ import * as antd19 from "antd";
3
3
  import React from "react";
4
4
 
5
5
  //#region src/components/dataSourceComponents/fields/Input.Email/index.d.ts
6
- declare const Email: React.FC<antd21.InputProps & {
6
+ declare const Email: React.FC<antd19.InputProps & {
7
7
  onChange: (value: string) => void;
8
8
  } & WithModeProps & WithFormItemProps>;
9
9
  //#endregion
@@ -1,9 +1,9 @@
1
1
  import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
2
2
  import * as antd18 from "antd";
3
3
  import React from "react";
4
- import * as antd_es_input3 from "antd/es/input";
4
+ import * as antd_es_input4 from "antd/es/input";
5
5
 
6
6
  //#region src/components/dataSourceComponents/fields/Input.Password/index.d.ts
7
- declare const Password: React.FC<antd_es_input3.PasswordProps & React.RefAttributes<antd18.InputRef> & WithModeProps & WithFormItemProps>;
7
+ declare const Password: React.FC<antd_es_input4.PasswordProps & React.RefAttributes<antd18.InputRef> & WithModeProps & WithFormItemProps>;
8
8
  //#endregion
9
9
  export { Password };
@@ -1,9 +1,9 @@
1
1
  import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
2
2
  import React from "react";
3
- import * as antd_es_input4 from "antd/es/input";
3
+ import * as antd_es_input3 from "antd/es/input";
4
4
  import * as antd_es_input_TextArea0 from "antd/es/input/TextArea";
5
5
 
6
6
  //#region src/components/dataSourceComponents/fields/Input.TextArea/index.d.ts
7
- declare const TextArea: React.FC<antd_es_input4.TextAreaProps & React.RefAttributes<antd_es_input_TextArea0.TextAreaRef> & WithModeProps & WithFormItemProps>;
7
+ declare const TextArea: React.FC<antd_es_input3.TextAreaProps & React.RefAttributes<antd_es_input_TextArea0.TextAreaRef> & WithModeProps & WithFormItemProps>;
8
8
  //#endregion
9
9
  export { TextArea };
@@ -1,8 +1,8 @@
1
1
  import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
2
- import * as antd19 from "antd";
2
+ import * as antd20 from "antd";
3
3
  import React from "react";
4
4
 
5
5
  //#region src/components/dataSourceComponents/fields/Input.Url/index.d.ts
6
- declare const Url: React.FC<antd19.InputProps & React.RefAttributes<antd19.InputRef> & WithModeProps & WithFormItemProps>;
6
+ declare const Url: React.FC<antd20.InputProps & React.RefAttributes<antd20.InputRef> & WithModeProps & WithFormItemProps>;
7
7
  //#endregion
8
8
  export { Url };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import * as react7 from "react";
2
+ import * as react2 from "react";
3
3
 
4
4
  //#region src/components/date-picker/index.d.ts
5
- declare const DatePicker: (props: any) => react7.JSX.Element;
5
+ declare const DatePicker: (props: any) => react2.JSX.Element;
6
6
  //#endregion
7
7
  export { DatePicker };
@@ -1,11 +1,11 @@
1
1
  /// <reference types="react" />
2
2
  import { InputProps, InputRef } from "antd";
3
- import * as react0 from "react";
3
+ import * as react3 from "react";
4
4
  import * as antd_es_input0 from "antd/es/input";
5
5
  import * as antd_es_input_TextArea0 from "antd/es/input/TextArea";
6
6
 
7
7
  //#region src/components/input/index.d.ts
8
- declare const OriginalGroup: react0.FC<antd_es_input0.GroupProps>, OriginalTextArea: react0.ForwardRefExoticComponent<antd_es_input0.TextAreaProps & react0.RefAttributes<antd_es_input_TextArea0.TextAreaRef>>, OriginalPassword: react0.ForwardRefExoticComponent<antd_es_input0.PasswordProps & react0.RefAttributes<InputRef>>, OriginalSearch: react0.ForwardRefExoticComponent<antd_es_input0.SearchProps & react0.RefAttributes<InputRef>>;
8
+ declare const OriginalGroup: react3.FC<antd_es_input0.GroupProps>, OriginalTextArea: react3.ForwardRefExoticComponent<antd_es_input0.TextAreaProps & react3.RefAttributes<antd_es_input_TextArea0.TextAreaRef>>, OriginalPassword: react3.ForwardRefExoticComponent<antd_es_input0.PasswordProps & react3.RefAttributes<InputRef>>, OriginalSearch: react3.ForwardRefExoticComponent<antd_es_input0.SearchProps & react3.RefAttributes<InputRef>>;
9
9
  type CompoundedComponent = React.ForwardRefExoticComponent<InputProps & React.RefAttributes<InputRef>> & {
10
10
  Group: typeof OriginalGroup;
11
11
  Search: typeof OriginalSearch;
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import * as react8 from "react";
2
+ import * as react11 from "react";
3
3
 
4
4
  //#region src/components/pisell-config-provider/context.d.ts
5
5
  interface PisellContextType {
@@ -11,7 +11,7 @@ interface PisellContextType {
11
11
  /** 获取货币符号 */
12
12
  getSymbolic?: () => string;
13
13
  }
14
- declare const PisellContext: react8.Context<PisellContextType>;
14
+ declare const PisellContext: react11.Context<PisellContextType>;
15
15
  /**
16
16
  * provider外获取当前全局配置
17
17
  */
@@ -1,9 +1,9 @@
1
1
  import { DataSourceContainerContextType } from "../../type.js";
2
- import * as antd24 from "antd";
2
+ import * as antd23 from "antd";
3
3
  import React from "react";
4
4
 
5
5
  //#region src/components/pisellDataSourceContainer/components/Pagination/index.d.ts
6
- declare const _default: React.ForwardRefExoticComponent<Omit<Partial<antd24.PaginationProps> & DataSourceContainerContextType & React.RefAttributes<unknown> & {
6
+ declare const _default: React.ForwardRefExoticComponent<Omit<Partial<antd23.PaginationProps> & DataSourceContainerContextType & React.RefAttributes<unknown> & {
7
7
  refId?: string | undefined;
8
8
  }, "ref"> & React.RefAttributes<any>>;
9
9
  //#endregion
@@ -1,9 +1,9 @@
1
1
  import { DataSourceContainerContextType } from "../../type.js";
2
- import * as antd23 from "antd";
2
+ import * as antd24 from "antd";
3
3
  import React from "react";
4
4
 
5
5
  //#region src/components/pisellDataSourceContainer/components/Table/index.d.ts
6
- declare const _default: React.ForwardRefExoticComponent<Omit<Partial<antd23.TableProps<any>> & DataSourceContainerContextType & {
6
+ declare const _default: React.ForwardRefExoticComponent<Omit<Partial<antd24.TableProps<any>> & DataSourceContainerContextType & {
7
7
  scopeId?: string | undefined;
8
8
  __id?: string | undefined;
9
9
  } & React.RefAttributes<unknown> & {
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import * as react9 from "react";
2
+ import * as react10 from "react";
3
3
 
4
4
  //#region src/components/pisellDatePicker/index.d.ts
5
- declare const PisellDatePicker: (props: any) => react9.JSX.Element;
5
+ declare const PisellDatePicker: (props: any) => react10.JSX.Element;
6
6
  //#endregion
7
7
  export { PisellDatePicker };
@@ -1,7 +1,7 @@
1
1
  import { PisellContextType } from "../pisell-config-provider/context.js";
2
2
  import { PisellModalFuncProps } from "./components/functions/index.js";
3
3
  import { InformationProps } from "./components/Information/index.js";
4
- import * as antd1 from "antd";
4
+ import * as antd2 from "antd";
5
5
  import { ButtonProps, ModalProps } from "antd";
6
6
  import React from "react";
7
7
 
@@ -39,24 +39,24 @@ declare const PisellModal: {
39
39
  (props: PisellModalProps): React.JSX.Element;
40
40
  confirm: (props: PisellModalFuncProps) => {
41
41
  destroy: () => void;
42
- update: (configUpdate: antd1.ModalFuncProps | ((prevConfig: antd1.ModalFuncProps) => antd1.ModalFuncProps)) => void;
42
+ update: (configUpdate: antd2.ModalFuncProps | ((prevConfig: antd2.ModalFuncProps) => antd2.ModalFuncProps)) => void;
43
43
  };
44
44
  info: (props: PisellModalFuncProps) => {
45
45
  destroy: () => void;
46
- update: (configUpdate: antd1.ModalFuncProps | ((prevConfig: antd1.ModalFuncProps) => antd1.ModalFuncProps)) => void;
46
+ update: (configUpdate: antd2.ModalFuncProps | ((prevConfig: antd2.ModalFuncProps) => antd2.ModalFuncProps)) => void;
47
47
  };
48
48
  error: (props: PisellModalFuncProps) => {
49
49
  destroy: () => void;
50
- update: (configUpdate: antd1.ModalFuncProps | ((prevConfig: antd1.ModalFuncProps) => antd1.ModalFuncProps)) => void;
50
+ update: (configUpdate: antd2.ModalFuncProps | ((prevConfig: antd2.ModalFuncProps) => antd2.ModalFuncProps)) => void;
51
51
  };
52
52
  warn: (props: PisellModalFuncProps) => any;
53
53
  warning: (props: PisellModalFuncProps) => {
54
54
  destroy: () => void;
55
- update: (configUpdate: antd1.ModalFuncProps | ((prevConfig: antd1.ModalFuncProps) => antd1.ModalFuncProps)) => void;
55
+ update: (configUpdate: antd2.ModalFuncProps | ((prevConfig: antd2.ModalFuncProps) => antd2.ModalFuncProps)) => void;
56
56
  };
57
57
  success: (props: PisellModalFuncProps) => {
58
58
  destroy: () => void;
59
- update: (configUpdate: antd1.ModalFuncProps | ((prevConfig: antd1.ModalFuncProps) => antd1.ModalFuncProps)) => void;
59
+ update: (configUpdate: antd2.ModalFuncProps | ((prevConfig: antd2.ModalFuncProps) => antd2.ModalFuncProps)) => void;
60
60
  };
61
61
  Information: (props: InformationProps) => React.JSX.Element;
62
62
  };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import * as react19 from "react";
2
+ import * as react18 from "react";
3
3
 
4
4
  //#region src/components/radio/index.d.ts
5
- declare const Radio: (props: any) => react19.JSX.Element;
5
+ declare const Radio: (props: any) => react18.JSX.Element;
6
6
  //#endregion
7
7
  export { Radio };
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import * as react20 from "react";
2
+ import * as react19 from "react";
3
3
 
4
4
  //#region src/components/section-footers/index.d.ts
5
5
  interface SectionFooterProps {
@@ -8,6 +8,6 @@ interface SectionFooterProps {
8
8
  right?: React.ReactNode;
9
9
  className?: string;
10
10
  }
11
- declare const SectionFooters: (props: SectionFooterProps) => react20.JSX.Element;
11
+ declare const SectionFooters: (props: SectionFooterProps) => react19.JSX.Element;
12
12
  //#endregion
13
13
  export { SectionFooters };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import * as react18 from "react";
2
+ import * as react17 from "react";
3
3
 
4
4
  //#region src/components/skeleton/index.d.ts
5
- declare const Skeleton: (props: any) => react18.JSX.Element;
5
+ declare const Skeleton: (props: any) => react17.JSX.Element;
6
6
  //#endregion
7
7
  export { Skeleton };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import * as react17 from "react";
2
+ import * as react20 from "react";
3
3
 
4
4
  //#region src/components/time-picker/index.d.ts
5
- declare const TimePicker: (props: any) => react17.JSX.Element;
5
+ declare const TimePicker: (props: any) => react20.JSX.Element;
6
6
  //#endregion
7
7
  export { TimePicker };
@@ -1,6 +1,6 @@
1
- import * as antd16 from "antd";
1
+ import * as antd1 from "antd";
2
2
 
3
3
  //#region src/components/typography/index.d.ts
4
- declare const Typography$1: antd16.TypographyProps;
4
+ declare const Typography$1: antd1.TypographyProps;
5
5
  //#endregion
6
6
  export { Typography$1 as Typography };
@@ -1,7 +1,7 @@
1
1
  /// <reference types="react" />
2
- import * as react21 from "react";
2
+ import * as react34 from "react";
3
3
 
4
4
  //#region src/components/upload/index.d.ts
5
- declare const Upload: (props: any) => react21.JSX.Element;
5
+ declare const Upload: (props: any) => react34.JSX.Element;
6
6
  //#endregion
7
7
  export { Upload };
@@ -1,13 +1,13 @@
1
1
  /// <reference types="react" />
2
2
  import { CheckboxGroupProps } from "./type.js";
3
3
  import { WithModeProps } from "../../dataSourceForm/utils.js";
4
- import * as react36 from "react";
4
+ import * as react35 from "react";
5
5
 
6
6
  //#region src/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts
7
7
  type CheckboxComponent = React.FC & {
8
8
  Group: typeof CheckboxGroupWithMode;
9
9
  };
10
10
  declare const CheckboxWithMode: CheckboxComponent;
11
- declare const CheckboxGroupWithMode: react36.FC<CheckboxGroupProps & WithModeProps>;
11
+ declare const CheckboxGroupWithMode: react35.FC<CheckboxGroupProps & WithModeProps>;
12
12
  //#endregion
13
13
  export { CheckboxWithMode };
@@ -1,9 +1,9 @@
1
1
  import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
2
2
  import * as antd18 from "antd";
3
3
  import React from "react";
4
- import * as antd_es_input4 from "antd/es/input";
4
+ import * as antd_es_input3 from "antd/es/input";
5
5
 
6
6
  //#region src/components/dataSourceComponents/fields/Input.Password/index.d.ts
7
- declare const Password: React.FC<antd_es_input4.PasswordProps & React.RefAttributes<antd18.InputRef> & WithModeProps & WithFormItemProps>;
7
+ declare const Password: React.FC<antd_es_input3.PasswordProps & React.RefAttributes<antd18.InputRef> & WithModeProps & WithFormItemProps>;
8
8
  //#endregion
9
9
  export { Password };
@@ -1,9 +1,9 @@
1
1
  import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
2
2
  import React from "react";
3
- import * as antd_es_input3 from "antd/es/input";
3
+ import * as antd_es_input4 from "antd/es/input";
4
4
  import * as antd_es_input_TextArea0 from "antd/es/input/TextArea";
5
5
 
6
6
  //#region src/components/dataSourceComponents/fields/Input.TextArea/index.d.ts
7
- declare const TextArea: React.FC<antd_es_input3.TextAreaProps & React.RefAttributes<antd_es_input_TextArea0.TextAreaRef> & WithModeProps & WithFormItemProps>;
7
+ declare const TextArea: React.FC<antd_es_input4.TextAreaProps & React.RefAttributes<antd_es_input_TextArea0.TextAreaRef> & WithModeProps & WithFormItemProps>;
8
8
  //#endregion
9
9
  export { TextArea };
@@ -1,9 +1,9 @@
1
1
  import { DataSourceContainerContextType } from "../../type.js";
2
- import * as antd24 from "antd";
2
+ import * as antd23 from "antd";
3
3
  import React from "react";
4
4
 
5
5
  //#region src/components/pisellDataSourceContainer/components/Pagination/index.d.ts
6
- declare const _default: React.ForwardRefExoticComponent<Omit<Partial<antd24.PaginationProps> & DataSourceContainerContextType & React.RefAttributes<unknown> & {
6
+ declare const _default: React.ForwardRefExoticComponent<Omit<Partial<antd23.PaginationProps> & DataSourceContainerContextType & React.RefAttributes<unknown> & {
7
7
  refId?: string | undefined;
8
8
  }, "ref"> & React.RefAttributes<any>>;
9
9
  //#endregion
@@ -1,9 +1,9 @@
1
1
  import { DataSourceContainerContextType } from "../../type.js";
2
- import * as antd23 from "antd";
2
+ import * as antd24 from "antd";
3
3
  import React from "react";
4
4
 
5
5
  //#region src/components/pisellDataSourceContainer/components/Table/index.d.ts
6
- declare const _default: React.ForwardRefExoticComponent<Omit<Partial<antd23.TableProps<any>> & DataSourceContainerContextType & {
6
+ declare const _default: React.ForwardRefExoticComponent<Omit<Partial<antd24.TableProps<any>> & DataSourceContainerContextType & {
7
7
  scopeId?: string | undefined;
8
8
  __id?: string | undefined;
9
9
  } & React.RefAttributes<unknown> & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/materials",
3
- "version": "1.0.1035",
3
+ "version": "1.0.1036",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",
@@ -90,8 +90,8 @@
90
90
  "antd-mobile": "^5.38.1",
91
91
  "vod-js-sdk-v6": "^1.4.11",
92
92
  "@pisell/date-picker": "1.0.133",
93
- "@pisell/icon": "0.0.10",
94
- "@pisell/utils": "1.0.60"
93
+ "@pisell/utils": "1.0.60",
94
+ "@pisell/icon": "0.0.10"
95
95
  },
96
96
  "peerDependencies": {
97
97
  "react": "^18.0.0",