@pinnacle0/web-ui 0.6.7 → 0.6.9

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.
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { PickOptional, ControlledFormValue } from "../internal/type";
2
+ import type { ControlledFormValue } from "../internal/type";
3
3
  import type { RadioGroupButtonStyle } from "antd/es/radio";
4
4
  export interface Props<AllowNull extends boolean> extends ControlledFormValue<AllowNull extends false ? boolean : boolean | null> {
5
5
  allowNull?: AllowNull;
@@ -12,11 +12,4 @@ export interface Props<AllowNull extends boolean> extends ControlledFormValue<Al
12
12
  className?: string;
13
13
  style?: React.CSSProperties;
14
14
  }
15
- export declare class BoolRadio<AllowNull extends boolean> extends React.PureComponent<Props<AllowNull>> {
16
- static displayName: string;
17
- static defaultProps: PickOptional<Props<false>>;
18
- private readonly trueOptionFirstList;
19
- private readonly falseOptionFirstList;
20
- translator: (_: boolean) => string;
21
- render(): React.JSX.Element;
22
- }
15
+ export declare const BoolRadio: <AllowNull extends boolean>(props: Props<AllowNull>) => React.JSX.Element;
package/core/BoolRadio.js CHANGED
@@ -1,26 +1,19 @@
1
1
  import React from "react";
2
2
  import { EnumRadio } from "./EnumRadio";
3
3
  import { i18n } from "../internal/i18n/core";
4
- export class BoolRadio extends React.PureComponent {
5
- static displayName = "BoolRadio";
6
- static defaultProps = {
7
- trueOptionFirst: true,
8
- };
9
- trueOptionFirstList = [true, false];
10
- falseOptionFirstList = [false, true];
11
- translator = (_) => {
4
+ import { ReactUtil } from "../util/ReactUtil";
5
+ export const BoolRadio = ReactUtil.memo("BoolRadio", (props) => {
6
+ const { trueOptionFirst = true, allowNull, value, onChange, useButtonMode, buttonStyle, disabled, className, style, trueText, falseText } = props;
7
+ const list = trueOptionFirst ? [true, false] : [false, true];
8
+ const translator = (_) => {
12
9
  const t = i18n();
13
- return _ ? (this.props.trueText ?? t.yes) : (this.props.falseText ?? t.no);
10
+ return _ ? (trueText ?? t.yes) : (falseText ?? t.no);
14
11
  };
15
- render() {
16
- const { trueOptionFirst, allowNull, value, onChange, useButtonMode, buttonStyle, disabled, className, style } = this.props;
17
- const list = trueOptionFirst ? this.trueOptionFirstList : this.falseOptionFirstList;
18
- if (allowNull) {
19
- return (React.createElement(EnumRadio.Nullable, { list: list, translator: this.translator, value: value, onChange: onChange, useButtonMode: useButtonMode, buttonStyle: buttonStyle, disabled: disabled, className: className, style: style }));
20
- }
21
- else {
22
- return (React.createElement(EnumRadio, { list: list, translator: this.translator, value: value, onChange: onChange, useButtonMode: useButtonMode, buttonStyle: buttonStyle, disabled: disabled, className: className, style: style }));
23
- }
12
+ if (allowNull) {
13
+ return (React.createElement(EnumRadio.Nullable, { list: list, translator: translator, value: value, onChange: onChange, useButtonMode: useButtonMode, buttonStyle: buttonStyle, disabled: disabled, className: className, style: style }));
14
+ }
15
+ else {
16
+ return (React.createElement(EnumRadio, { list: list, translator: translator, value: value, onChange: onChange, useButtonMode: useButtonMode, buttonStyle: buttonStyle, disabled: disabled, className: className, style: style }));
24
17
  }
25
- }
18
+ });
26
19
  //# sourceMappingURL=BoolRadio.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BoolRadio.js","sourceRoot":"","sources":["../../src/core/BoolRadio.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,SAAS,EAAC,MAAM,aAAa,CAAC;AAGtC,OAAO,EAAC,IAAI,EAAC,MAAM,uBAAuB,CAAC;AAc3C,MAAM,OAAO,SAAqC,SAAQ,KAAK,CAAC,aAA+B;IAC3F,MAAM,CAAC,WAAW,GAAG,WAAW,CAAC;IACjC,MAAM,CAAC,YAAY,GAA+B;QAC9C,eAAe,EAAE,IAAI;KACxB,CAAC;IAEe,mBAAmB,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACpC,oBAAoB,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAEtD,UAAU,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L,CAAC;IACN,CAAC;SAAM,CAAC;QACJ,OAAO,CACH,oBAAC,SAAS,IACN,IAAI,EAAE,IAAI,EACV,UAAU,EAAE,UAAU,EACtB,KAAK,EAAE,KAAgB,EACvB,QAAQ,EAAE,QAAgC,EAC1C,aAAa,EAAE,aAAa,EAC5B,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,SAAS,EACpB,KAAK,EAAE,KAAK,GACd,CACL,CAAC;IACN,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import type { ControlledFormValue, PickOptional } from "../internal/type";
2
+ import type { ControlledFormValue } from "../internal/type";
3
3
  export interface Props<AllowNull extends boolean> extends ControlledFormValue<AllowNull extends false ? boolean : boolean | null> {
4
4
  allowNull: AllowNull;
5
5
  trueText?: string;
@@ -9,11 +9,4 @@ export interface Props<AllowNull extends boolean> extends ControlledFormValue<Al
9
9
  className?: string;
10
10
  style?: React.CSSProperties;
11
11
  }
12
- export declare class BoolSelect<AllowNull extends boolean> extends React.PureComponent<Props<AllowNull>> {
13
- static displayName: string;
14
- static defaultProps: PickOptional<Props<any>>;
15
- private readonly trueOptionFirstList;
16
- private readonly falseOptionFirstList;
17
- translator: (_: boolean) => string;
18
- render(): React.JSX.Element;
19
- }
12
+ export declare const BoolSelect: <AllowNull extends boolean>(props: Props<AllowNull>) => React.JSX.Element;
@@ -1,26 +1,19 @@
1
1
  import React from "react";
2
2
  import { EnumSelect } from "./EnumSelect";
3
3
  import { i18n } from "../internal/i18n/core";
4
- export class BoolSelect extends React.PureComponent {
5
- static displayName = "BoolSelect";
6
- static defaultProps = {
7
- trueOptionFirst: true,
8
- };
9
- trueOptionFirstList = [true, false];
10
- falseOptionFirstList = [false, true];
11
- translator = (_) => {
4
+ import { ReactUtil } from "../util/ReactUtil";
5
+ export const BoolSelect = ReactUtil.memo("BoolSelect", (props) => {
6
+ const { trueOptionFirst = true, allowNull, value, onChange, disabled, className, style, trueText, falseText } = props;
7
+ const list = trueOptionFirst ? [true, false] : [false, true];
8
+ const translator = (_) => {
12
9
  const t = i18n();
13
- return _ ? this.props.trueText || t.yes : this.props.falseText || t.no;
10
+ return _ ? trueText || t.yes : falseText || t.no;
14
11
  };
15
- render() {
16
- const { trueOptionFirst, allowNull, value, onChange, disabled, className, style } = this.props;
17
- const list = trueOptionFirst ? this.trueOptionFirstList : this.falseOptionFirstList;
18
- if (allowNull) {
19
- return (React.createElement(EnumSelect.Nullable, { list: list, translator: this.translator, value: value, onChange: onChange, disabled: disabled, className: className, style: style }));
20
- }
21
- else {
22
- return React.createElement(EnumSelect, { list: list, translator: this.translator, value: value, onChange: onChange, disabled: disabled, className: className, style: style });
23
- }
12
+ if (allowNull) {
13
+ return (React.createElement(EnumSelect.Nullable, { list: list, translator: translator, value: value, onChange: onChange, disabled: disabled, className: className, style: style }));
14
+ }
15
+ else {
16
+ return React.createElement(EnumSelect, { list: list, translator: translator, value: value, onChange: onChange, disabled: disabled, className: className, style: style });
24
17
  }
25
- }
18
+ });
26
19
  //# sourceMappingURL=BoolSelect.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BoolSelect.js","sourceRoot":"","sources":["../../src/core/BoolSelect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAC,UAAU,EAAC,MAAM,cAAc,CAAC;AAExC,OAAO,EAAC,IAAI,EAAC,MAAM,uBAAuB,CAAC;AAY3C,MAAM,OAAO,UAAsC,SAAQ,KAAK,CAAC,aAA+B;IAC5F,MAAM,CAAC,WAAW,GAAG,YAAY,CAAC;IAClC,MAAM,CAAC,YAAY,GAA6B;QAC5C,eAAe,EAAE,IAAI;KACxB,CAAC;IAEe,mBAAmB,GAAG,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACpC,oBAAoB,GAAG,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC;IAEtD,UAAU,GAAG,CAAC,CAAU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AC,CAAC,CAAC"}
@@ -1,6 +1,5 @@
1
1
  import React from "react";
2
2
  import type { ModalProps } from "antd/es/modal";
3
- import type { PickOptional } from "../../internal/type";
4
3
  import "./index.less";
5
4
  export interface Props extends ModalProps {
6
5
  width: number | string;
@@ -8,8 +7,4 @@ export interface Props extends ModalProps {
8
7
  loading?: boolean;
9
8
  addInnerPadding?: boolean;
10
9
  }
11
- export declare class Modal extends React.PureComponent<Props> {
12
- static displayName: string;
13
- static defaultProps: PickOptional<Props>;
14
- render(): React.JSX.Element;
15
- }
10
+ export declare const Modal: (props: Props) => React.JSX.Element;
@@ -3,23 +3,12 @@ import AntModal from "antd/es/modal";
3
3
  import { classNames } from "../../util/ClassNames";
4
4
  import { Spin } from "../Spin";
5
5
  import "./index.less";
6
- export class Modal extends React.PureComponent {
7
- static displayName = "Modal";
8
- static defaultProps = {
9
- centered: true,
10
- open: true,
11
- footer: null,
12
- maskClosable: false,
13
- keyboard: false,
14
- loading: false,
15
- addInnerPadding: true,
16
- };
17
- render() {
18
- const { children, loading, title, className, addInnerPadding, footer, ...restProps } = this.props;
19
- return (
20
- // footer === undefined will render default buttons from antd, but in our case, it will never be undefined as the default is null
21
- React.createElement(AntModal, { title: title, className: classNames("g-modal", className, { "no-padding": !addInnerPadding, "no-footer": footer === null }), footer: footer, ...restProps },
22
- React.createElement(Spin, { spinning: loading || false }, children)));
23
- }
24
- }
6
+ import { ReactUtil } from "../../util/ReactUtil";
7
+ export const Modal = ReactUtil.memo("Modal", (props) => {
8
+ const { centered = true, open = true, footer = null, maskClosable = false, keyboard = false, children, loading = false, title, className, addInnerPadding = true, ...restProps } = props;
9
+ return (
10
+ // footer === undefined will render default buttons from antd, but in our case, it will never be undefined as the default is null
11
+ React.createElement(AntModal, { title: title, className: classNames("g-modal", className, { "no-padding": !addInnerPadding, "no-footer": footer === null }), footer: footer, centered: centered, open: open, maskClosable: maskClosable, keyboard: keyboard, ...restProps },
12
+ React.createElement(Spin, { spinning: loading || false }, children)));
13
+ });
25
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/Modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,QAAQ,MAAM,eAAe,CAAC;AACrC,OAAO,EAAC,UAAU,EAAC,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAC,IAAI,EAAC,MAAM,SAAS,CAAC;AAG7B,OAAO,cAAc,CAAC;AAStB,MAAM,OAAO,KAAM,SAAQ,KAAK,CAAC,aAAoB;IACjD,MAAM,CAAC,WAAW,GAAG,OAAO,CAAC;IAC7B,MAAM,CAAC,YAAY,GAAwB;QACvC,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE,IAAI;QACV,MAAM,EAAE,IAAI;QACZ,YAAY,EAAE,KAAK;QACnB,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,KAAK;QACd,eAAe,EAAE,IAAI;KACxB,CAAC;IAEF,MAAM;QACF,MAAM,EAAC,QAAQ,EAAE,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,eAAe,EAAE,MAAM,EAAE,GAAG,SAAS,EAAC,GAAG,IAAI,CAAC,KAAK,CAAC;QAChG,OAAO;QACH,iIAAiI;QACjI,oBAAC,QAAQ,IAAC,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,UAAU,CAAC,SAAS,EAAE,SAAS,EAAE,EAAC,YAAY,EAAE,CAAC,eAAe,EAAE,WAAW,EAAE,MAAM,KAAK,IAAI,EAAC,CAAC,EAAE,MAAM,EAAE,MAAM,KAAM,SAAS;YAC9J,oBAAC,IAAI,IAAC,QAAQ,EAAE,OAAO,IAAI,KAAK,IAAG,QAAQ,CAAQ,CAC5C,CACd,CAAC;IACN,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/Modal/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1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
22
  "@juggle/resize-observer": "3.4.0",
23
23
  "@tanstack/react-virtual": "3.5.0",
24
- "antd": "5.24.2",
24
+ "antd": "5.24.4",
25
25
  "classnames": "2.5.1",
26
26
  "dayjs": "1.11.13",
27
27
  "intersection-observer": "0.12.2",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "devDependencies": {
36
36
  "@testing-library/dom": "10.1.0",
37
- "@testing-library/react": "15.0.7",
37
+ "@testing-library/react": "16.2.0",
38
38
  "@testing-library/user-event": "14.5.2",
39
39
  "@types/react": "19.0.10",
40
40
  "@types/react-dom": "19.0.4",