@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.
Files changed (51) 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/build/lowcode/render/default/view.js +1 -1
  6. package/build/lowcode/view.js +1 -1
  7. package/es/components/PisellCards/index.d.ts +6 -6
  8. package/es/components/calendar/index.d.ts +2 -2
  9. package/es/components/checkbox/index.d.ts +2 -2
  10. package/es/components/dataSourceComponents/dataSourceShow/dataSourceQRCode/index.d.ts +2 -2
  11. package/es/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +2 -2
  12. package/es/components/dataSourceComponents/fields/Input.Email/index.d.ts +2 -2
  13. package/es/components/dataSourceComponents/fields/Input.Password/index.d.ts +2 -2
  14. package/es/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +2 -2
  15. package/es/components/dataSourceComponents/fields/Input.Url/index.d.ts +2 -2
  16. package/es/components/dataSourceComponents/fields/Radio/WithMode.d.ts +2 -2
  17. package/es/components/dataSourceComponents/fields/Switch/index.d.ts +2 -2
  18. package/es/components/date-picker/index.d.ts +2 -2
  19. package/es/components/input/index.d.ts +2 -2
  20. package/es/components/pisell-config-provider/context.d.ts +2 -2
  21. package/es/components/pisellDataSourceContainer/components/Pagination/index.d.ts +2 -2
  22. package/es/components/pisellDataSourceContainer/components/Table/index.d.ts +2 -2
  23. package/es/components/pisellDatePicker/index.d.ts +2 -2
  24. package/es/components/pisellRecordBoard/layouts/GridLayout/Grid.js +1 -2
  25. package/es/components/pisellWalletPassCard/index.js +2 -6
  26. package/es/components/radio/index.d.ts +2 -2
  27. package/es/components/section-footers/index.d.ts +2 -2
  28. package/es/components/skeleton/index.d.ts +2 -2
  29. package/es/components/time-picker/index.d.ts +2 -2
  30. package/es/components/typography/index.d.ts +2 -2
  31. package/es/components/upload/index.d.ts +2 -2
  32. package/lib/components/PisellFields/index.d.ts +12 -12
  33. package/lib/components/PisellLayouts/index.d.ts +9 -9
  34. package/lib/components/PisellMetrics/index.d.ts +4 -4
  35. package/lib/components/calendar/index.d.ts +2 -2
  36. package/lib/components/checkbox/index.d.ts +2 -2
  37. package/lib/components/dataSourceComponents/fields/Checkbox/WithMode.d.ts +2 -2
  38. package/lib/components/dataSourceComponents/fields/Input.Email/index.d.ts +2 -2
  39. package/lib/components/dataSourceComponents/fields/Input.Password/index.d.ts +2 -2
  40. package/lib/components/dataSourceComponents/fields/Input.Subdomain/index.d.ts +2 -2
  41. package/lib/components/dataSourceComponents/fields/Input.Url/index.d.ts +2 -2
  42. package/lib/components/dataSourceComponents/fields/Radio/WithMode.d.ts +2 -2
  43. package/lib/components/date-picker/index.d.ts +2 -2
  44. package/lib/components/input/index.d.ts +2 -2
  45. package/lib/components/pisellRecordBoard/layouts/GridLayout/Grid.js +1 -2
  46. package/lib/components/pisellWalletPassCard/index.js +2 -6
  47. package/lib/components/radio/index.d.ts +2 -2
  48. package/lib/components/skeleton/index.d.ts +2 -2
  49. package/lib/components/time-picker/index.d.ts +2 -2
  50. package/lib/components/upload/index.d.ts +2 -2
  51. 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 react38 from "react";
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) => react38.JSX.Element;
15
- TextCard: (props: any) => react38.JSX.Element;
16
- GraphicTextCard: (props: GraphicTextCardProps) => react38.JSX.Element;
17
- MultilevelCard: (props: any) => react38.JSX.Element;
18
- PisellImageCard: (props: PisellImageCardProps) => react38.JSX.Element;
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 react24 from "react";
2
+ import * as react33 from "react";
3
3
 
4
4
  //#region src/components/calendar/index.d.ts
5
- declare const Calendar: (props: any) => react24.JSX.Element;
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 react25 from "react";
2
+ import * as react34 from "react";
3
3
 
4
4
  //#region src/components/checkbox/index.d.ts
5
- declare const Checkbox: (props: any) => react25.JSX.Element;
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 react46 from "react";
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) => react46.JSX.Element;
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 react48 from "react";
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: react48.FC<CheckboxGroupProps & WithModeProps>;
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 antd18 from "antd";
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<antd18.InputProps & {
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 antd22 from "antd";
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<antd22.InputRef> & WithModeProps & WithFormItemProps>;
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 antd19 from "antd";
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<antd19.InputProps & {
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 antd20 from "antd";
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<antd20.InputProps & React.RefAttributes<antd20.InputRef> & WithModeProps & WithFormItemProps>;
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 react47 from "react";
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: react47.FC<RadioGroupProps & WithModeProps>;
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 antd17 from "antd";
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<antd17.SwitchProps & React.RefAttributes<HTMLElement> & WithModeProps & WithFormItemProps>;
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 react26 from "react";
2
+ import * as react31 from "react";
3
3
 
4
4
  //#region src/components/date-picker/index.d.ts
5
- declare const DatePicker: (props: any) => react26.JSX.Element;
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 react27 from "react";
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: react27.FC<antd_es_input0.GroupProps>, OriginalTextArea: react27.ForwardRefExoticComponent<antd_es_input0.TextAreaProps & react27.RefAttributes<antd_es_input_TextArea0.TextAreaRef>>, OriginalPassword: react27.ForwardRefExoticComponent<antd_es_input0.PasswordProps & react27.RefAttributes<InputRef>>, OriginalSearch: react27.ForwardRefExoticComponent<antd_es_input0.SearchProps & react27.RefAttributes<InputRef>>;
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 react43 from "react";
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: react43.Context<PisellContextType>;
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 antd23 from "antd";
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<antd23.PaginationProps> & DataSourceContainerContextType & React.RefAttributes<unknown> & {
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 antd24 from "antd";
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<antd24.TableProps<any>> & DataSourceContainerContextType & {
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 react44 from "react";
2
+ import * as react24 from "react";
3
3
 
4
4
  //#region src/components/pisellDatePicker/index.d.ts
5
- declare const PisellDatePicker: (props: any) => react44.JSX.Element;
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 warnMessageRef = useRef(null);
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, (disabled || disabledReason) && showDisabledReason && /* @__PURE__ */ React.createElement("div", {
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 react34 from "react";
2
+ import * as react32 from "react";
3
3
 
4
4
  //#region src/components/radio/index.d.ts
5
- declare const Radio: (props: any) => react34.JSX.Element;
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 react45 from "react";
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) => react45.JSX.Element;
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 react35 from "react";
2
+ import * as react37 from "react";
3
3
 
4
4
  //#region src/components/skeleton/index.d.ts
5
- declare const Skeleton: (props: any) => react35.JSX.Element;
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 react36 from "react";
2
+ import * as react45 from "react";
3
3
 
4
4
  //#region src/components/time-picker/index.d.ts
5
- declare const TimePicker: (props: any) => react36.JSX.Element;
5
+ declare const TimePicker: (props: any) => react45.JSX.Element;
6
6
  //#endregion
7
7
  export { TimePicker };
@@ -1,6 +1,6 @@
1
- import * as antd0 from "antd";
1
+ import * as antd17 from "antd";
2
2
 
3
3
  //#region src/components/typography/index.d.ts
4
- declare const Typography$1: antd0.TypographyProps;
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 react37 from "react";
2
+ import * as react46 from "react";
3
3
 
4
4
  //#region src/components/upload/index.d.ts
5
- declare const Upload: (props: any) => react37.JSX.Element;
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 react2 from "react";
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: react2.NamedExoticComponent<PisellSingleLineTextProps>;
40
- LongText: react2.NamedExoticComponent<PisellLongTextProps>;
41
- Number: react2.NamedExoticComponent<PisellNumberProps>;
42
- Currency: react2.NamedExoticComponent<PisellCurrencyProps>;
43
- Percent: react2.NamedExoticComponent<PisellPercentProps>;
44
- Phone: react2.NamedExoticComponent<PisellPhoneProps>;
45
- Email: react2.NamedExoticComponent<PisellEmailProps>;
46
- Url: react2.NamedExoticComponent<PisellUrlProps>;
47
- Rating: react2.NamedExoticComponent<PisellRatingProps>;
48
- SingleSelect: react2.ForwardRefExoticComponent<PisellSingleSelectProps<string | number> & react2.RefAttributes<SingleSelectRef<string | number>>>;
49
- MultipleSelect: react2.ForwardRefExoticComponent<PisellMultipleSelectProps<string | number> & react2.RefAttributes<MultipleSelectRef<string | number>>>;
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 react15 from "react";
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>) => react15.JSX.Element;
34
- ScrollView: react15.ForwardRefExoticComponent<Omit<PisellScrollViewProps, "ref"> & react15.RefAttributes<PisellScrollViewRef>>;
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: react15.FC<PisellContentProps>;
37
- Footer: react15.FC<PisellFooterProps>;
38
- Header: react15.FC<PisellHeaderProps>;
39
- Sider: react15.FC<PisellSiderProps>;
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) => react15.JSX.Element;
42
- ViewGrid: react15.FC<PisellViewGridProps>;
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 react0 from "react";
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: react0.FC<PisellMetricCardProps>;
26
- StatisticList: (props: PisellStatisticListProps) => react0.JSX.Element;
27
- MetricItem: (props: PisellStatisticProps) => react0.JSX.Element;
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 react24 from "react";
2
+ import * as react11 from "react";
3
3
 
4
4
  //#region src/components/calendar/index.d.ts
5
- declare const Calendar: (props: any) => react24.JSX.Element;
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 react25 from "react";
2
+ import * as react26 from "react";
3
3
 
4
4
  //#region src/components/checkbox/index.d.ts
5
- declare const Checkbox: (props: any) => react25.JSX.Element;
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 react47 from "react";
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: react47.FC<CheckboxGroupProps & WithModeProps>;
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 antd24 from "antd";
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<antd24.InputProps & {
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 antd20 from "antd";
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<antd20.InputRef> & WithModeProps & WithFormItemProps>;
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 antd21 from "antd";
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<antd21.InputProps & {
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 antd22 from "antd";
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<antd22.InputProps & React.RefAttributes<antd22.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,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 react48 from "react";
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: react48.FC<RadioGroupProps & WithModeProps>;
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 react26 from "react";
2
+ import * as react25 from "react";
3
3
 
4
4
  //#region src/components/date-picker/index.d.ts
5
- declare const DatePicker: (props: any) => react26.JSX.Element;
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 react27 from "react";
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: react27.FC<antd_es_input0.GroupProps>, OriginalTextArea: react27.ForwardRefExoticComponent<antd_es_input0.TextAreaProps & react27.RefAttributes<antd_es_input_TextArea0.TextAreaRef>>, OriginalPassword: react27.ForwardRefExoticComponent<antd_es_input0.PasswordProps & react27.RefAttributes<InputRef>>, OriginalSearch: react27.ForwardRefExoticComponent<antd_es_input0.SearchProps & react27.RefAttributes<InputRef>>;
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 warnMessageRef = (0, react.useRef)(null);
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, (disabled || disabledReason) && showDisabledReason && /* @__PURE__ */ react.default.createElement("div", {
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, {