@pisell/materials 1.0.1050 → 1.0.1051
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/PisellCards/index.d.ts +6 -6
- package/es/components/calendar/index.d.ts +2 -2
- package/es/components/checkbox/index.d.ts +2 -2
- 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 +2 -2
- package/es/components/dataSourceComponents/fields/Input.Subdomain/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/dataSourceComponents/fields/Switch/index.d.ts +2 -2
- package/es/components/date-picker/index.d.ts +2 -2
- package/es/components/input/index.d.ts +2 -2
- package/es/components/pisell-config-provider/context.d.ts +2 -2
- package/es/components/pisellDataSourceContainer/components/Pagination/index.d.ts +2 -2
- package/es/components/pisellDataSourceContainer/components/Table/index.d.ts +2 -2
- package/es/components/pisellDatePicker/index.d.ts +2 -2
- package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.js +1 -2
- package/es/components/pisellWalletPassCard/index.js +2 -6
- package/es/components/radio/index.d.ts +2 -2
- package/es/components/section-footers/index.d.ts +2 -2
- package/es/components/skeleton/index.d.ts +2 -2
- package/es/components/time-picker/index.d.ts +2 -2
- package/es/components/typography/index.d.ts +2 -2
- package/es/components/upload/index.d.ts +2 -2
- package/lib/components/PisellFields/index.d.ts +12 -12
- package/lib/components/PisellLayouts/index.d.ts +9 -9
- package/lib/components/PisellMetrics/index.d.ts +4 -4
- package/lib/components/calendar/index.d.ts +2 -2
- package/lib/components/checkbox/index.d.ts +2 -2
- 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.Subdomain/index.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/Input.Url/index.d.ts +2 -2
- package/lib/components/dataSourceComponents/fields/Radio/WithMode.d.ts +2 -2
- package/lib/components/date-picker/index.d.ts +2 -2
- package/lib/components/input/index.d.ts +2 -2
- package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.js +1 -2
- package/lib/components/pisellWalletPassCard/index.js +2 -6
- package/lib/components/radio/index.d.ts +2 -2
- package/lib/components/skeleton/index.d.ts +2 -2
- package/lib/components/time-picker/index.d.ts +2 -2
- package/lib/components/upload/index.d.ts +2 -2
- 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
|
|
10
|
+
import * as react25 from "react";
|
|
11
11
|
|
|
12
12
|
//#region src/components/PisellCards/index.d.ts
|
|
13
13
|
declare const PisellCards: {
|
|
14
|
-
TabCard: (props: any) =>
|
|
15
|
-
TextCard: (props: any) =>
|
|
16
|
-
GraphicTextCard: (props: GraphicTextCardProps) =>
|
|
17
|
-
MultilevelCard: (props: any) =>
|
|
18
|
-
PisellImageCard: (props: PisellImageCardProps) =>
|
|
14
|
+
TabCard: (props: any) => react25.JSX.Element;
|
|
15
|
+
TextCard: (props: any) => react25.JSX.Element;
|
|
16
|
+
GraphicTextCard: (props: GraphicTextCardProps) => react25.JSX.Element;
|
|
17
|
+
MultilevelCard: (props: any) => react25.JSX.Element;
|
|
18
|
+
PisellImageCard: (props: PisellImageCardProps) => react25.JSX.Element;
|
|
19
19
|
};
|
|
20
20
|
//#endregion
|
|
21
21
|
export { PisellCards };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import * as
|
|
2
|
+
import * as react33 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/calendar/index.d.ts
|
|
5
|
-
declare const Calendar: (props: any) =>
|
|
5
|
+
declare const Calendar: (props: any) => react33.JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { Calendar };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import * as
|
|
2
|
+
import * as react34 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/checkbox/index.d.ts
|
|
5
|
-
declare const Checkbox: (props: any) =>
|
|
5
|
+
declare const Checkbox: (props: any) => react34.JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { Checkbox };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import * as
|
|
2
|
+
import * as react30 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) => react30.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 react47 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: react47.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 React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as antd23 from "antd";
|
|
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<antd23.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 React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as antd20 from "antd";
|
|
4
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_input3.PasswordProps & React.RefAttributes<
|
|
7
|
+
declare const Password: React.FC<antd_es_input3.PasswordProps & React.RefAttributes<antd20.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 antd24 from "antd";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts
|
|
6
|
-
declare const Subdomain: React.FC<
|
|
6
|
+
declare const Subdomain: React.FC<antd24.InputProps & {
|
|
7
7
|
onChange: (value: string) => void;
|
|
8
8
|
onBlur?: ((e: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
|
9
9
|
rootDomain: "custom" | "saas" | "xzero";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as antd21 from "antd";
|
|
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<antd21.InputProps & React.RefAttributes<antd21.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 react48 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: react48.FC<RadioGroupProps & WithModeProps>;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { RadioWithMode };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as antd0 from "antd";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dataSourceComponents/fields/Switch/index.d.ts
|
|
6
|
-
declare const Switch$1: React.FC<
|
|
6
|
+
declare const Switch$1: React.FC<antd0.SwitchProps & React.RefAttributes<HTMLElement> & WithModeProps & WithFormItemProps>;
|
|
7
7
|
//#endregion
|
|
8
8
|
export { Switch$1 as Switch };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import * as
|
|
2
|
+
import * as react31 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) => react31.JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { DatePicker };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import * as
|
|
2
|
+
import * as react38 from "react";
|
|
3
3
|
import { InputProps, InputRef } from "antd";
|
|
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:
|
|
8
|
+
declare const OriginalGroup: react38.FC<antd_es_input0.GroupProps>, OriginalTextArea: react38.ForwardRefExoticComponent<antd_es_input0.TextAreaProps & react38.RefAttributes<antd_es_input_TextArea0.TextAreaRef>>, OriginalPassword: react38.ForwardRefExoticComponent<antd_es_input0.PasswordProps & react38.RefAttributes<InputRef>>, OriginalSearch: react38.ForwardRefExoticComponent<antd_es_input0.SearchProps & react38.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
|
|
2
|
+
import * as react36 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:
|
|
14
|
+
declare const PisellContext: react36.Context<PisellContextType>;
|
|
15
15
|
/**
|
|
16
16
|
* provider外获取当前全局配置
|
|
17
17
|
*/
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { DataSourceContainerContextType } from "../../type.js";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as antd18 from "antd";
|
|
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<antd18.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
2
|
import React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as antd19 from "antd";
|
|
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<antd19.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
|
|
2
|
+
import * as react24 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/pisellDatePicker/index.d.ts
|
|
5
|
-
declare const PisellDatePicker: (props: any) =>
|
|
5
|
+
declare const PisellDatePicker: (props: any) => react24.JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { PisellDatePicker };
|
|
@@ -162,8 +162,7 @@ const RecordBoardGridView = (props) => {
|
|
|
162
162
|
const scrollX = isEmpty && scroll && typeof scroll.x !== "number" ? sumColumnWidths : scroll === null || scroll === void 0 ? void 0 : scroll.x;
|
|
163
163
|
if ((scroll === null || scroll === void 0 ? void 0 : scroll.autoCalc) && typeof ctx.scrollAreaHeight === "number") {
|
|
164
164
|
const wrapHeight = ctx.scrollAreaHeight;
|
|
165
|
-
const reservedHeight = 40 + uniformSummaryHeight;
|
|
166
|
-
console.log(wrapHeight, reservedHeight);
|
|
165
|
+
const reservedHeight = 40 + uniformSummaryHeight + 24;
|
|
167
166
|
return {
|
|
168
167
|
x: scrollX !== null && scrollX !== void 0 ? scrollX : sumColumnWidths,
|
|
169
168
|
y: Math.max(wrapHeight - reservedHeight, 100),
|
|
@@ -46,8 +46,7 @@ const PisellWalletPassCard = (props) => {
|
|
|
46
46
|
}, []);
|
|
47
47
|
const actionsWrapperRef = useRef(null);
|
|
48
48
|
const actionsWrapperSize = useSize(actionsWrapperRef);
|
|
49
|
-
const
|
|
50
|
-
const warnMessageSize = useSize(warnMessageRef);
|
|
49
|
+
const warnMessageSize = useSize(useRef(null));
|
|
51
50
|
const dynamicPaddingBottom = useMemo(() => {
|
|
52
51
|
if (disabled && (warnMessageSize === null || warnMessageSize === void 0 ? void 0 : warnMessageSize.height)) return warnMessageSize.height;
|
|
53
52
|
}, [disabled, warnMessageSize === null || warnMessageSize === void 0 ? void 0 : warnMessageSize.height]);
|
|
@@ -465,10 +464,7 @@ const PisellWalletPassCard = (props) => {
|
|
|
465
464
|
}, renderNameInfo(), renderRedeemInfo(), renderBalanceInfo(), showQrCode && !isMini && /* @__PURE__ */ React.createElement("div", { className: "pisell-card-qr-code" }, /* @__PURE__ */ React.createElement(pisellQrcode_default, {
|
|
466
465
|
value: qrCode,
|
|
467
466
|
size: 60
|
|
468
|
-
}))), checkedDom,
|
|
469
|
-
className: "pisell-card-warn-message",
|
|
470
|
-
ref: warnMessageRef
|
|
471
|
-
}, /* @__PURE__ */ React.createElement(iconfont_default, {
|
|
467
|
+
}))), checkedDom, disabled && disabledReason && showDisabledReason && /* @__PURE__ */ React.createElement("div", { className: "pisell-card-warn-message" }, /* @__PURE__ */ React.createElement(iconfont_default, {
|
|
472
468
|
className: "pisell-card-icon",
|
|
473
469
|
type: "pisell2-alert-circle"
|
|
474
470
|
}), /* @__PURE__ */ React.createElement("span", null, disabledReason)), /* @__PURE__ */ React.createElement("div", { onClick: (e) => e.stopPropagation() }, /* @__PURE__ */ React.createElement(pisellModal_default, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import * as
|
|
2
|
+
import * as react32 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/radio/index.d.ts
|
|
5
|
-
declare const Radio: (props: any) =>
|
|
5
|
+
declare const Radio: (props: any) => react32.JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { Radio };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import * as
|
|
2
|
+
import * as react35 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) =>
|
|
11
|
+
declare const SectionFooters: (props: SectionFooterProps) => react35.JSX.Element;
|
|
12
12
|
//#endregion
|
|
13
13
|
export { SectionFooters };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import * as
|
|
2
|
+
import * as react37 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/skeleton/index.d.ts
|
|
5
|
-
declare const Skeleton: (props: any) =>
|
|
5
|
+
declare const Skeleton: (props: any) => react37.JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { Skeleton };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import * as
|
|
2
|
+
import * as react45 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/time-picker/index.d.ts
|
|
5
|
-
declare const TimePicker: (props: any) =>
|
|
5
|
+
declare const TimePicker: (props: any) => react45.JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { TimePicker };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as antd17 from "antd";
|
|
2
2
|
|
|
3
3
|
//#region src/components/typography/index.d.ts
|
|
4
|
-
declare const Typography$1:
|
|
4
|
+
declare const Typography$1: antd17.TypographyProps;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { Typography$1 as Typography };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import * as
|
|
2
|
+
import * as react46 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/upload/index.d.ts
|
|
5
|
-
declare const Upload: (props: any) =>
|
|
5
|
+
declare const Upload: (props: any) => react46.JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { Upload };
|
|
@@ -21,7 +21,7 @@ import { PisellSingleSelectProps, SingleSelectRef } from "../pisellSingleSelect/
|
|
|
21
21
|
import "../pisellSingleSelect/index.js";
|
|
22
22
|
import { MultipleSelectRef, PisellMultipleSelectProps } from "../pisellMultipleSelect/types.js";
|
|
23
23
|
import "../pisellMultipleSelect/index.js";
|
|
24
|
-
import * as
|
|
24
|
+
import * as react12 from "react";
|
|
25
25
|
|
|
26
26
|
//#region src/components/PisellFields/index.d.ts
|
|
27
27
|
/**
|
|
@@ -36,17 +36,17 @@ import * as react2 from "react";
|
|
|
36
36
|
* <PisellFields.Currency value={1000} currencySymbol="$" />
|
|
37
37
|
*/
|
|
38
38
|
declare const PisellFields: {
|
|
39
|
-
SingleLineText:
|
|
40
|
-
LongText:
|
|
41
|
-
Number:
|
|
42
|
-
Currency:
|
|
43
|
-
Percent:
|
|
44
|
-
Phone:
|
|
45
|
-
Email:
|
|
46
|
-
Url:
|
|
47
|
-
Rating:
|
|
48
|
-
SingleSelect:
|
|
49
|
-
MultipleSelect:
|
|
39
|
+
SingleLineText: react12.NamedExoticComponent<PisellSingleLineTextProps>;
|
|
40
|
+
LongText: react12.NamedExoticComponent<PisellLongTextProps>;
|
|
41
|
+
Number: react12.NamedExoticComponent<PisellNumberProps>;
|
|
42
|
+
Currency: react12.NamedExoticComponent<PisellCurrencyProps>;
|
|
43
|
+
Percent: react12.NamedExoticComponent<PisellPercentProps>;
|
|
44
|
+
Phone: react12.NamedExoticComponent<PisellPhoneProps>;
|
|
45
|
+
Email: react12.NamedExoticComponent<PisellEmailProps>;
|
|
46
|
+
Url: react12.NamedExoticComponent<PisellUrlProps>;
|
|
47
|
+
Rating: react12.NamedExoticComponent<PisellRatingProps>;
|
|
48
|
+
SingleSelect: react12.ForwardRefExoticComponent<PisellSingleSelectProps<string | number> & react12.RefAttributes<SingleSelectRef<string | number>>>;
|
|
49
|
+
MultipleSelect: react12.ForwardRefExoticComponent<PisellMultipleSelectProps<string | number> & react12.RefAttributes<MultipleSelectRef<string | number>>>;
|
|
50
50
|
};
|
|
51
51
|
//#endregion
|
|
52
52
|
export { PisellFields };
|
|
@@ -11,7 +11,7 @@ import { PisellSiderProps } from "../pisellLayout/sider.js";
|
|
|
11
11
|
import { PisellContainerProps, RenderType } from "../pisellContainer/index.js";
|
|
12
12
|
import { PisellRowProps } from "../pisellRow/index.js";
|
|
13
13
|
import { PisellViewGridProps } from "../pisellViewGrid/index.js";
|
|
14
|
-
import * as
|
|
14
|
+
import * as react0 from "react";
|
|
15
15
|
|
|
16
16
|
//#region src/components/PisellLayouts/index.d.ts
|
|
17
17
|
/**
|
|
@@ -30,16 +30,16 @@ import * as react15 from "react";
|
|
|
30
30
|
* </PisellLayouts.ScrollView>
|
|
31
31
|
*/
|
|
32
32
|
declare const PisellLayouts: {
|
|
33
|
-
BasicGrid: <T>(props: PisellBasicGridProps<T>) =>
|
|
34
|
-
ScrollView:
|
|
33
|
+
BasicGrid: <T>(props: PisellBasicGridProps<T>) => react0.JSX.Element;
|
|
34
|
+
ScrollView: react0.ForwardRefExoticComponent<Omit<PisellScrollViewProps, "ref"> & react0.RefAttributes<PisellScrollViewRef>>;
|
|
35
35
|
Layout: CompoundedComponent;
|
|
36
|
-
Content:
|
|
37
|
-
Footer:
|
|
38
|
-
Header:
|
|
39
|
-
Sider:
|
|
36
|
+
Content: react0.FC<PisellContentProps>;
|
|
37
|
+
Footer: react0.FC<PisellFooterProps>;
|
|
38
|
+
Header: react0.FC<PisellHeaderProps>;
|
|
39
|
+
Sider: react0.FC<PisellSiderProps>;
|
|
40
40
|
Container: <T_1 extends RenderType>(props: PisellContainerProps<T_1>) => any;
|
|
41
|
-
Row: (props: PisellRowProps) =>
|
|
42
|
-
ViewGrid:
|
|
41
|
+
Row: (props: PisellRowProps) => react0.JSX.Element;
|
|
42
|
+
ViewGrid: react0.FC<PisellViewGridProps>;
|
|
43
43
|
};
|
|
44
44
|
//#endregion
|
|
45
45
|
export { PisellLayouts };
|
|
@@ -3,7 +3,7 @@ import { PisellMetricCardProps } from "../pisellMetricCard/types.js";
|
|
|
3
3
|
import "../pisellMetricCard/index.js";
|
|
4
4
|
import { PisellStatisticListProps } from "../pisellStatisticList/index.js";
|
|
5
5
|
import { PisellStatisticProps } from "../cardMetricItem/index.js";
|
|
6
|
-
import * as
|
|
6
|
+
import * as react8 from "react";
|
|
7
7
|
|
|
8
8
|
//#region src/components/PisellMetrics/index.d.ts
|
|
9
9
|
/**
|
|
@@ -22,9 +22,9 @@ import * as react0 from "react";
|
|
|
22
22
|
* <PisellMetrics.StatisticList data={[...]} />
|
|
23
23
|
*/
|
|
24
24
|
declare const PisellMetrics: {
|
|
25
|
-
MetricCard:
|
|
26
|
-
StatisticList: (props: PisellStatisticListProps) =>
|
|
27
|
-
MetricItem: (props: PisellStatisticProps) =>
|
|
25
|
+
MetricCard: react8.FC<PisellMetricCardProps>;
|
|
26
|
+
StatisticList: (props: PisellStatisticListProps) => react8.JSX.Element;
|
|
27
|
+
MetricItem: (props: PisellStatisticProps) => react8.JSX.Element;
|
|
28
28
|
};
|
|
29
29
|
//#endregion
|
|
30
30
|
export { PisellMetrics };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import * as
|
|
2
|
+
import * as react11 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/calendar/index.d.ts
|
|
5
|
-
declare const Calendar: (props: any) =>
|
|
5
|
+
declare const Calendar: (props: any) => react11.JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { Calendar };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import * as
|
|
2
|
+
import * as react26 from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/checkbox/index.d.ts
|
|
5
|
-
declare const Checkbox: (props: any) =>
|
|
5
|
+
declare const Checkbox: (props: any) => react26.JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { Checkbox };
|
|
@@ -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 react48 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: react48.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 React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as antd22 from "antd";
|
|
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<antd22.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 React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as antd23 from "antd";
|
|
4
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_input3.PasswordProps & React.RefAttributes<
|
|
7
|
+
declare const Password: React.FC<antd_es_input3.PasswordProps & React.RefAttributes<antd23.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 antd24 from "antd";
|
|
4
4
|
|
|
5
5
|
//#region src/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts
|
|
6
|
-
declare const Subdomain: React.FC<
|
|
6
|
+
declare const Subdomain: React.FC<antd24.InputProps & {
|
|
7
7
|
onChange: (value: string) => void;
|
|
8
8
|
onBlur?: ((e: React.FocusEvent<HTMLInputElement, Element>) => void) | undefined;
|
|
9
9
|
rootDomain: "custom" | "saas" | "xzero";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { WithFormItemProps, WithModeProps } from "../../dataSourceForm/utils.js";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as antd20 from "antd";
|
|
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 react49 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: react49.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 react25 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) => react25.JSX.Element;
|
|
6
6
|
//#endregion
|
|
7
7
|
export { DatePicker };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import * as
|
|
2
|
+
import * as react31 from "react";
|
|
3
3
|
import { InputProps, InputRef } from "antd";
|
|
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:
|
|
8
|
+
declare const OriginalGroup: react31.FC<antd_es_input0.GroupProps>, OriginalTextArea: react31.ForwardRefExoticComponent<antd_es_input0.TextAreaProps & react31.RefAttributes<antd_es_input_TextArea0.TextAreaRef>>, OriginalPassword: react31.ForwardRefExoticComponent<antd_es_input0.PasswordProps & react31.RefAttributes<InputRef>>, OriginalSearch: react31.ForwardRefExoticComponent<antd_es_input0.SearchProps & react31.RefAttributes<InputRef>>;
|
|
9
9
|
type CompoundedComponent = React.ForwardRefExoticComponent<InputProps & React.RefAttributes<InputRef>> & {
|
|
10
10
|
Group: typeof OriginalGroup;
|
|
11
11
|
Search: typeof OriginalSearch;
|
|
@@ -164,8 +164,7 @@ const RecordBoardGridView = (props) => {
|
|
|
164
164
|
const scrollX = isEmpty && scroll && typeof scroll.x !== "number" ? sumColumnWidths : scroll === null || scroll === void 0 ? void 0 : scroll.x;
|
|
165
165
|
if ((scroll === null || scroll === void 0 ? void 0 : scroll.autoCalc) && typeof ctx.scrollAreaHeight === "number") {
|
|
166
166
|
const wrapHeight = ctx.scrollAreaHeight;
|
|
167
|
-
const reservedHeight = 40 + uniformSummaryHeight;
|
|
168
|
-
console.log(wrapHeight, reservedHeight);
|
|
167
|
+
const reservedHeight = 40 + uniformSummaryHeight + 24;
|
|
169
168
|
return {
|
|
170
169
|
x: scrollX !== null && scrollX !== void 0 ? scrollX : sumColumnWidths,
|
|
171
170
|
y: Math.max(wrapHeight - reservedHeight, 100),
|
|
@@ -50,8 +50,7 @@ const PisellWalletPassCard = (props) => {
|
|
|
50
50
|
}, []);
|
|
51
51
|
const actionsWrapperRef = (0, react.useRef)(null);
|
|
52
52
|
const actionsWrapperSize = (0, ahooks.useSize)(actionsWrapperRef);
|
|
53
|
-
const
|
|
54
|
-
const warnMessageSize = (0, ahooks.useSize)(warnMessageRef);
|
|
53
|
+
const warnMessageSize = (0, ahooks.useSize)((0, react.useRef)(null));
|
|
55
54
|
const dynamicPaddingBottom = (0, react.useMemo)(() => {
|
|
56
55
|
if (disabled && (warnMessageSize === null || warnMessageSize === void 0 ? void 0 : warnMessageSize.height)) return warnMessageSize.height;
|
|
57
56
|
}, [disabled, warnMessageSize === null || warnMessageSize === void 0 ? void 0 : warnMessageSize.height]);
|
|
@@ -469,10 +468,7 @@ const PisellWalletPassCard = (props) => {
|
|
|
469
468
|
}, renderNameInfo(), renderRedeemInfo(), renderBalanceInfo(), showQrCode && !isMini && /* @__PURE__ */ react.default.createElement("div", { className: "pisell-card-qr-code" }, /* @__PURE__ */ react.default.createElement(require_index$6.default, {
|
|
470
469
|
value: qrCode,
|
|
471
470
|
size: 60
|
|
472
|
-
}))), checkedDom,
|
|
473
|
-
className: "pisell-card-warn-message",
|
|
474
|
-
ref: warnMessageRef
|
|
475
|
-
}, /* @__PURE__ */ react.default.createElement(require_index$1.default, {
|
|
471
|
+
}))), checkedDom, disabled && disabledReason && showDisabledReason && /* @__PURE__ */ react.default.createElement("div", { className: "pisell-card-warn-message" }, /* @__PURE__ */ react.default.createElement(require_index$1.default, {
|
|
476
472
|
className: "pisell-card-icon",
|
|
477
473
|
type: "pisell2-alert-circle"
|
|
478
474
|
}), /* @__PURE__ */ react.default.createElement("span", null, disabledReason)), /* @__PURE__ */ react.default.createElement("div", { onClick: (e) => e.stopPropagation() }, /* @__PURE__ */ react.default.createElement(require_index$2.default, {
|