@pisell/materials 1.0.1011 → 1.0.1012
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.
- package/build/lowcode/assets-daily.json +11 -11
- package/build/lowcode/assets-dev.json +2 -2
- package/build/lowcode/assets-prod.json +11 -11
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/render/default/view.js +1 -1
- package/build/lowcode/view.js +1 -1
- package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/Input.Email/index.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/Input.Password/index.d.ts +3 -3
- package/es/components/dataSourceComponents/fields/Input.TextArea/index.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/Input.Url/index.d.ts +2 -2
- package/es/components/dataSourceComponents/fields/Radio/WithMode.d.ts +2 -2
- package/es/components/date-picker/index.d.ts +2 -2
- package/es/components/page/index.js +1 -5
- package/lib/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/Input.Email/index.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/Input.Password/index.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/Input.TextArea/index.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/Input.Url/index.d.ts +2 -2
- package/lib/components/page/index.js +1 -5
- package/lib/components/pisellDataSourceContainer/components/Pagination/index.d.ts +2 -2
- package/lib/components/pisellDataSourceContainer/components/Table/index.d.ts +2 -2
- package/package.json +3 -3
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import * as
|
|
2
|
+
import * as react2 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts
|
|
5
|
-
declare const DataSourceQRCode: (props: any) =>
|
|
5
|
+
declare const DataSourceQRCode: (props: any) => react2.JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { DataSourceQRCode };
|
|
@@ -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
|
|
4
|
+
import * as react23 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:
|
|
11
|
+
declare const CheckboxGroupWithMode: react23.FC<CheckboxGroupProps & WithModeProps>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { CheckboxWithMode };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
|
|
2
|
-
import * as
|
|
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<
|
|
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
|
-
import * as
|
|
2
|
+
import * as antd18 from "antd";
|
|
3
3
|
import React from "react";
|
|
4
|
-
import * as
|
|
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<
|
|
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
|
|
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<
|
|
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
|
|
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<
|
|
6
|
+
declare const Url: React.FC<antd20.InputProps & React.RefAttributes<antd20.InputRef> & WithModeProps & WithFormItemProps>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { Url };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { WithModeProps } from "../../dataSourceForm/utils.js";
|
|
3
3
|
import { RadioGroupProps } from "./type.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react22 from "react";
|
|
5
5
|
|
|
6
6
|
//#region src/components/dataSourceComponents/fields/Radio/WithMode.d.ts
|
|
7
7
|
type RadioComponent = React.FC & {
|
|
8
8
|
Group: typeof RadioGroupWithMode;
|
|
9
9
|
};
|
|
10
10
|
declare const RadioWithMode: RadioComponent;
|
|
11
|
-
declare const RadioGroupWithMode:
|
|
11
|
+
declare const RadioGroupWithMode: react22.FC<RadioGroupProps & WithModeProps>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { RadioWithMode };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import * as
|
|
2
|
+
import * as react1 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/date-picker/index.d.ts
|
|
5
|
-
declare const DatePicker: (props: any) =>
|
|
5
|
+
declare const DatePicker: (props: any) => react1.JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { DatePicker };
|
|
@@ -45,13 +45,9 @@ const Page = (props) => {
|
|
|
45
45
|
const theme = useMemo(() => {
|
|
46
46
|
if (props === null || props === void 0 ? void 0 : props.theme) {
|
|
47
47
|
var _props$theme;
|
|
48
|
-
return _objectSpread2(_objectSpread2({}, props.theme), {}, {
|
|
49
|
-
cssVar: { key: "app" },
|
|
50
|
-
token: _objectSpread2(_objectSpread2({}, props.theme.token), {}, { colorPrimary: (props === null || props === void 0 || (_props$theme = props.theme) === null || _props$theme === void 0 || (_props$theme = _props$theme.token) === null || _props$theme === void 0 ? void 0 : _props$theme.colorPrimary) || themeColor || "#5D3F9F" })
|
|
51
|
-
});
|
|
48
|
+
return _objectSpread2(_objectSpread2({}, props.theme), {}, { token: _objectSpread2(_objectSpread2({}, props.theme.token), {}, { colorPrimary: (props === null || props === void 0 || (_props$theme = props.theme) === null || _props$theme === void 0 || (_props$theme = _props$theme.token) === null || _props$theme === void 0 ? void 0 : _props$theme.colorPrimary) || themeColor || "#5D3F9F" }) });
|
|
52
49
|
}
|
|
53
50
|
return {
|
|
54
|
-
cssVar: { key: "app" },
|
|
55
51
|
components: {
|
|
56
52
|
Table: {
|
|
57
53
|
colorFillContent: "#EAECF0",
|
|
@@ -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
|
|
4
|
+
import * as react22 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:
|
|
11
|
+
declare const CheckboxGroupWithMode: react22.FC<CheckboxGroupProps & WithModeProps>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { CheckboxWithMode };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as antd18 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<
|
|
6
|
+
declare const Email: React.FC<antd18.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 antd22 from "antd";
|
|
3
3
|
import React from "react";
|
|
4
|
-
import * as
|
|
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<
|
|
7
|
+
declare const Password: React.FC<antd_es_input3.PasswordProps & React.RefAttributes<antd22.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
|
|
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<
|
|
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,8 +1,8 @@
|
|
|
1
1
|
import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as antd19 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<
|
|
6
|
+
declare const Url: React.FC<antd19.InputProps & React.RefAttributes<antd19.InputRef> & WithModeProps & WithFormItemProps>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { Url };
|
|
@@ -51,13 +51,9 @@ const Page = (props) => {
|
|
|
51
51
|
const theme = (0, react.useMemo)(() => {
|
|
52
52
|
if (props === null || props === void 0 ? void 0 : props.theme) {
|
|
53
53
|
var _props$theme;
|
|
54
|
-
return require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, props.theme), {}, {
|
|
55
|
-
cssVar: { key: "app" },
|
|
56
|
-
token: require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, props.theme.token), {}, { colorPrimary: (props === null || props === void 0 || (_props$theme = props.theme) === null || _props$theme === void 0 || (_props$theme = _props$theme.token) === null || _props$theme === void 0 ? void 0 : _props$theme.colorPrimary) || themeColor || "#5D3F9F" })
|
|
57
|
-
});
|
|
54
|
+
return require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, props.theme), {}, { token: require_objectSpread2._objectSpread2(require_objectSpread2._objectSpread2({}, props.theme.token), {}, { colorPrimary: (props === null || props === void 0 || (_props$theme = props.theme) === null || _props$theme === void 0 || (_props$theme = _props$theme.token) === null || _props$theme === void 0 ? void 0 : _props$theme.colorPrimary) || themeColor || "#5D3F9F" }) });
|
|
58
55
|
}
|
|
59
56
|
return {
|
|
60
|
-
cssVar: { key: "app" },
|
|
61
57
|
components: {
|
|
62
58
|
Table: {
|
|
63
59
|
colorFillContent: "#EAECF0",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { DataSourceContainerContextType } from "../../type.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as antd24 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<
|
|
6
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Partial<antd24.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
|
|
2
|
+
import * as antd23 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<
|
|
6
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<Partial<antd23.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.
|
|
3
|
+
"version": "1.0.1012",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -88,9 +88,9 @@
|
|
|
88
88
|
"swiper": "^8.4.7",
|
|
89
89
|
"antd-mobile": "^5.38.1",
|
|
90
90
|
"vod-js-sdk-v6": "^1.4.11",
|
|
91
|
+
"@pisell/date-picker": "1.0.129",
|
|
91
92
|
"@pisell/utils": "1.0.56",
|
|
92
|
-
"@pisell/icon": "0.0.10"
|
|
93
|
-
"@pisell/date-picker": "1.0.129"
|
|
93
|
+
"@pisell/icon": "0.0.10"
|
|
94
94
|
},
|
|
95
95
|
"peerDependencies": {
|
|
96
96
|
"react": "^18.0.0",
|