@pisell/materials 1.0.489 → 1.0.491
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/index.js +1 -1
- package/build/lowcode/meta.js +1 -1
- package/build/lowcode/preview.js +6 -6
- package/build/lowcode/render/default/view.js +14 -14
- package/build/lowcode/view.js +17 -17
- package/es/components/checkbox/index.js +4 -4
- package/es/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
- package/es/components/dataSourceComponents/fields/ColorPicker/index.d.ts +1 -1
- package/es/components/dataSourceComponents/fields/index.d.ts +4 -4
- package/es/components/pisellAnchor/index.js +6 -8
- package/es/components/pisellQrcode/index.d.ts +1 -0
- package/es/components/pisellQrcode/index.js +3 -2
- package/es/components/radio/index.js +4 -4
- package/lib/components/checkbox/index.js +4 -4
- package/lib/components/dataSourceComponents/dataSourceTable/hooks/useTableProps.d.ts +4 -4
- package/lib/components/dataSourceComponents/fields/ColorPicker/index.d.ts +1 -1
- package/lib/components/dataSourceComponents/fields/index.d.ts +4 -4
- package/lib/components/pisellAnchor/index.js +3 -8
- package/lib/components/pisellQrcode/index.d.ts +1 -0
- package/lib/components/pisellQrcode/index.js +2 -2
- package/lib/components/radio/index.js +4 -4
- package/lowcode/_utils/defaultSchema.ts +3 -0
- package/package.json +3 -3
|
@@ -15,10 +15,10 @@ var Group = function Group(props) {
|
|
|
15
15
|
var checkbox = useMemo(function () {
|
|
16
16
|
return options.map(function (option) {
|
|
17
17
|
return /*#__PURE__*/React.createElement(OriginalCheckbok, {
|
|
18
|
-
key: option.value,
|
|
19
|
-
value: option.value,
|
|
20
|
-
disabled: option.disabled
|
|
21
|
-
}, option.label);
|
|
18
|
+
key: option === null || option === void 0 ? void 0 : option.value,
|
|
19
|
+
value: option === null || option === void 0 ? void 0 : option.value,
|
|
20
|
+
disabled: option === null || option === void 0 ? void 0 : option.disabled
|
|
21
|
+
}, option === null || option === void 0 ? void 0 : option.label);
|
|
22
22
|
});
|
|
23
23
|
}, [options]);
|
|
24
24
|
return /*#__PURE__*/React.createElement(OriginalCheckbok.Group, others, /*#__PURE__*/React.createElement(Space, {
|
|
@@ -16,7 +16,7 @@ interface UseTablePropsProps {
|
|
|
16
16
|
* @returns
|
|
17
17
|
*/
|
|
18
18
|
declare const useTableProps: (props: UseTablePropsProps) => {
|
|
19
|
-
title: number | boolean | React.
|
|
19
|
+
title: number | boolean | Iterable<React.ReactNode> | React.JSX.Element | (() => React.ReactNode) | null | undefined;
|
|
20
20
|
pagination: {
|
|
21
21
|
total: number;
|
|
22
22
|
current: number;
|
|
@@ -25,7 +25,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
25
25
|
showSizeChanger: boolean;
|
|
26
26
|
};
|
|
27
27
|
columns: import("./useColumns").Column[];
|
|
28
|
-
subTitle: number | boolean | React.
|
|
28
|
+
subTitle: number | boolean | Iterable<React.ReactNode> | React.JSX.Element | (() => React.ReactNode) | null | undefined;
|
|
29
29
|
buttons: any[] | null;
|
|
30
30
|
filter: React.JSX.Element | null;
|
|
31
31
|
onRow: (record: any) => any;
|
|
@@ -40,7 +40,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
40
40
|
width: number;
|
|
41
41
|
align: "center" | "left" | "right";
|
|
42
42
|
fixed: false | "left" | "right";
|
|
43
|
-
type: "
|
|
43
|
+
type: "button" | "link";
|
|
44
44
|
items: OperationItem[];
|
|
45
45
|
} | undefined;
|
|
46
46
|
operationContent?: {
|
|
@@ -58,7 +58,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
58
58
|
useCustomAction: boolean;
|
|
59
59
|
actionType: string;
|
|
60
60
|
openMode: "modal" | "drawer";
|
|
61
|
-
openContentSize: "small" | "
|
|
61
|
+
openContentSize: "small" | "large" | "middle";
|
|
62
62
|
openTitle: string;
|
|
63
63
|
key: string;
|
|
64
64
|
} | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const ColorPicker: React.FC<import("
|
|
2
|
+
declare const ColorPicker: React.FC<import("antd").ColorPickerProps & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps>;
|
|
3
3
|
export default ColorPicker;
|
|
@@ -39,18 +39,18 @@ declare const formFieldMap: {
|
|
|
39
39
|
FormItemDateRangePicker: import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
40
40
|
FormItemUpload: import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
41
41
|
};
|
|
42
|
-
declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<{}> & {
|
|
42
|
+
declare const getFieldComponent: (fieldComponent: string) => import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<any> | (import("react").FC<{}> & {
|
|
43
43
|
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
44
44
|
} & {
|
|
45
45
|
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
46
|
-
}) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
|
|
46
|
+
}) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
|
|
47
47
|
JSON: import("react").FC<any>;
|
|
48
48
|
Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
49
49
|
TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
50
50
|
URL: import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
51
51
|
Email: import("react").FC<import("antd").InputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
52
52
|
Phone: import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
53
|
-
}) | (import("react").FC<{}> & {
|
|
53
|
+
}) | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
|
|
54
54
|
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
55
55
|
} & {
|
|
56
56
|
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
@@ -61,5 +61,5 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
|
|
|
61
61
|
valueField: string;
|
|
62
62
|
} & {
|
|
63
63
|
dataSource?: any;
|
|
64
|
-
}) => import("react").JSX.Element) | import("react").FC<
|
|
64
|
+
}) => import("react").JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
65
65
|
export { getFieldComponent, formFieldMap };
|
|
@@ -89,14 +89,12 @@ var PisellAnchor = function PisellAnchor(props) {
|
|
|
89
89
|
getContainer: getContainer,
|
|
90
90
|
items: items,
|
|
91
91
|
direction: "horizontal",
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
targetOffset: 40,
|
|
99
|
-
bounds: 40,
|
|
92
|
+
replace: true,
|
|
93
|
+
getCurrentAnchor: items[0].href,
|
|
94
|
+
showInkInFixed: true
|
|
95
|
+
// targetOffset={40}
|
|
96
|
+
// bounds={40}
|
|
97
|
+
,
|
|
100
98
|
affix: false
|
|
101
99
|
})), (canScrollRight || canScrollLeft) && /*#__PURE__*/React.createElement("div", {
|
|
102
100
|
className: "pisell-anchor-buttons"
|
|
@@ -14,7 +14,8 @@ var PisellQrcode = function PisellQrcode(props) {
|
|
|
14
14
|
var size = props.size,
|
|
15
15
|
platform = props.platform,
|
|
16
16
|
_props$value = props.value,
|
|
17
|
-
value = _props$value === void 0 ? '' : _props$value
|
|
17
|
+
value = _props$value === void 0 ? '' : _props$value,
|
|
18
|
+
className = props.className; // 裁剪形状
|
|
18
19
|
var _useState = useState(false),
|
|
19
20
|
_useState2 = _slicedToArray(_useState, 2),
|
|
20
21
|
open = _useState2[0],
|
|
@@ -41,7 +42,7 @@ var PisellQrcode = function PisellQrcode(props) {
|
|
|
41
42
|
}
|
|
42
43
|
};
|
|
43
44
|
return /*#__PURE__*/React.createElement("div", {
|
|
44
|
-
className: classNames('pisell-qrcode-wrapper')
|
|
45
|
+
className: classNames('pisell-qrcode-wrapper', className)
|
|
45
46
|
}, /*#__PURE__*/React.createElement("div", {
|
|
46
47
|
onClick: function onClick(e) {
|
|
47
48
|
e.stopPropagation();
|
|
@@ -20,10 +20,10 @@ var Group = function Group(props) {
|
|
|
20
20
|
var RadioCpt = optionTypeMap[optionType || "default"];
|
|
21
21
|
return options.map(function (option) {
|
|
22
22
|
return /*#__PURE__*/React.createElement(RadioCpt, {
|
|
23
|
-
key: option.value,
|
|
24
|
-
value: option.value,
|
|
25
|
-
disabled: option.disabled
|
|
26
|
-
}, option.label);
|
|
23
|
+
key: option === null || option === void 0 ? void 0 : option.value,
|
|
24
|
+
value: option === null || option === void 0 ? void 0 : option.value,
|
|
25
|
+
disabled: option === null || option === void 0 ? void 0 : option.disabled
|
|
26
|
+
}, option === null || option === void 0 ? void 0 : option.label);
|
|
27
27
|
});
|
|
28
28
|
}, [options]);
|
|
29
29
|
return /*#__PURE__*/React.createElement(OriginalRadio.Group, others, /*#__PURE__*/React.createElement(Space, {
|
|
@@ -39,11 +39,11 @@ var Group = (props) => {
|
|
|
39
39
|
return /* @__PURE__ */ React.createElement(
|
|
40
40
|
import_antd.Checkbox,
|
|
41
41
|
{
|
|
42
|
-
key: option.value,
|
|
43
|
-
value: option.value,
|
|
44
|
-
disabled: option.disabled
|
|
42
|
+
key: option == null ? void 0 : option.value,
|
|
43
|
+
value: option == null ? void 0 : option.value,
|
|
44
|
+
disabled: option == null ? void 0 : option.disabled
|
|
45
45
|
},
|
|
46
|
-
option.label
|
|
46
|
+
option == null ? void 0 : option.label
|
|
47
47
|
);
|
|
48
48
|
});
|
|
49
49
|
}, [options]);
|
|
@@ -16,7 +16,7 @@ interface UseTablePropsProps {
|
|
|
16
16
|
* @returns
|
|
17
17
|
*/
|
|
18
18
|
declare const useTableProps: (props: UseTablePropsProps) => {
|
|
19
|
-
title: number | boolean | React.
|
|
19
|
+
title: number | boolean | Iterable<React.ReactNode> | React.JSX.Element | (() => React.ReactNode) | null | undefined;
|
|
20
20
|
pagination: {
|
|
21
21
|
total: number;
|
|
22
22
|
current: number;
|
|
@@ -25,7 +25,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
25
25
|
showSizeChanger: boolean;
|
|
26
26
|
};
|
|
27
27
|
columns: import("./useColumns").Column[];
|
|
28
|
-
subTitle: number | boolean | React.
|
|
28
|
+
subTitle: number | boolean | Iterable<React.ReactNode> | React.JSX.Element | (() => React.ReactNode) | null | undefined;
|
|
29
29
|
buttons: any[] | null;
|
|
30
30
|
filter: React.JSX.Element | null;
|
|
31
31
|
onRow: (record: any) => any;
|
|
@@ -40,7 +40,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
40
40
|
width: number;
|
|
41
41
|
align: "center" | "left" | "right";
|
|
42
42
|
fixed: false | "left" | "right";
|
|
43
|
-
type: "
|
|
43
|
+
type: "button" | "link";
|
|
44
44
|
items: OperationItem[];
|
|
45
45
|
} | undefined;
|
|
46
46
|
operationContent?: {
|
|
@@ -58,7 +58,7 @@ declare const useTableProps: (props: UseTablePropsProps) => {
|
|
|
58
58
|
useCustomAction: boolean;
|
|
59
59
|
actionType: string;
|
|
60
60
|
openMode: "modal" | "drawer";
|
|
61
|
-
openContentSize: "small" | "
|
|
61
|
+
openContentSize: "small" | "large" | "middle";
|
|
62
62
|
openTitle: string;
|
|
63
63
|
key: string;
|
|
64
64
|
} | undefined;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
declare const ColorPicker: React.FC<import("
|
|
2
|
+
declare const ColorPicker: React.FC<import("antd").ColorPickerProps & import("../../dataSourceForm/utils").WithModeProps & import("../../dataSourceForm/utils").WithFormItemProps>;
|
|
3
3
|
export default ColorPicker;
|
|
@@ -39,18 +39,18 @@ declare const formFieldMap: {
|
|
|
39
39
|
FormItemDateRangePicker: import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
40
40
|
FormItemUpload: import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
41
41
|
};
|
|
42
|
-
declare const getFieldComponent: (fieldComponent: string) => (import("react").FC<{}> & {
|
|
42
|
+
declare const getFieldComponent: (fieldComponent: string) => import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps> | import("react").FC<any> | (import("react").FC<{}> & {
|
|
43
43
|
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
44
44
|
} & {
|
|
45
45
|
Group: import("react").FC<import("./Checkbox/type").CheckboxGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
46
|
-
}) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
|
|
46
|
+
}) | import("react").FC<import("./ColorPicker/type").ColorPickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<(import("antd").DatePickerProps & import("../dataSourceForm/utils").WithModeProps) & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | (import("react").FC<import("./Input/type").InputProps> & {
|
|
47
47
|
JSON: import("react").FC<any>;
|
|
48
48
|
Password: import("react").FC<import("antd/es/input").PasswordProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
49
49
|
TextArea: import("react").FC<import("antd/es/input").TextAreaProps & import("react").RefAttributes<import("antd/es/input/TextArea").TextAreaRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
50
50
|
URL: import("react").FC<import("antd").InputProps & import("react").RefAttributes<import("antd").InputRef> & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
51
51
|
Email: import("react").FC<import("antd").InputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
52
52
|
Phone: import("react").FC<import("./Input.Phone/WithMode").PhoneInputProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
53
|
-
}) | (import("react").FC<{}> & {
|
|
53
|
+
}) | import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps> | (import("react").FC<{}> & {
|
|
54
54
|
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
55
55
|
} & {
|
|
56
56
|
Group: import("react").FC<import("./Radio/type").RadioGroupProps & import("../dataSourceForm/utils").WithModeProps>;
|
|
@@ -61,5 +61,5 @@ declare const getFieldComponent: (fieldComponent: string) => (import("react").FC
|
|
|
61
61
|
valueField: string;
|
|
62
62
|
} & {
|
|
63
63
|
dataSource?: any;
|
|
64
|
-
}) => import("react").JSX.Element) | import("react").FC<
|
|
64
|
+
}) => import("react").JSX.Element) | import("react").FC<import("./TimePicker/type").TimePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./DateRangePicker/type").DateRangePickerProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps> | import("react").FC<import("./Upload/type").UploadProps & import("../dataSourceForm/utils").WithModeProps & import("../dataSourceForm/utils").WithFormItemProps>;
|
|
65
65
|
export { getFieldComponent, formFieldMap };
|
|
@@ -96,14 +96,9 @@ var PisellAnchor = (props) => {
|
|
|
96
96
|
getContainer,
|
|
97
97
|
items,
|
|
98
98
|
direction: "horizontal",
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
smoothScroll(targetElement);
|
|
103
|
-
}
|
|
104
|
-
},
|
|
105
|
-
targetOffset: 40,
|
|
106
|
-
bounds: 40,
|
|
99
|
+
replace: true,
|
|
100
|
+
getCurrentAnchor: items[0].href,
|
|
101
|
+
showInkInFixed: true,
|
|
107
102
|
affix: false
|
|
108
103
|
}
|
|
109
104
|
)), (canScrollRight || canScrollLeft) && /* @__PURE__ */ import_react.default.createElement("div", { className: "pisell-anchor-buttons" }, /* @__PURE__ */ import_react.default.createElement(
|
|
@@ -39,7 +39,7 @@ var import_pisellModal = __toESM(require("./../pisellModal"));
|
|
|
39
39
|
var import_locales = require("../../locales/index");
|
|
40
40
|
var import_index = require("./index.less");
|
|
41
41
|
var PisellQrcode = (props) => {
|
|
42
|
-
const { size, platform, value = "" } = props;
|
|
42
|
+
const { size, platform, value = "", className } = props;
|
|
43
43
|
const [open, setOpen] = (0, import_react.useState)(false);
|
|
44
44
|
(0, import_react.useEffect)(() => {
|
|
45
45
|
document.body.id = "body";
|
|
@@ -61,7 +61,7 @@ var PisellQrcode = (props) => {
|
|
|
61
61
|
padding: 0
|
|
62
62
|
}
|
|
63
63
|
};
|
|
64
|
-
return /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("pisell-qrcode-wrapper") }, /* @__PURE__ */ import_react.default.createElement(
|
|
64
|
+
return /* @__PURE__ */ import_react.default.createElement("div", { className: (0, import_classnames.default)("pisell-qrcode-wrapper", className) }, /* @__PURE__ */ import_react.default.createElement(
|
|
65
65
|
"div",
|
|
66
66
|
{
|
|
67
67
|
onClick: (e) => {
|
|
@@ -38,11 +38,11 @@ var Group = (props) => {
|
|
|
38
38
|
return /* @__PURE__ */ React.createElement(
|
|
39
39
|
RadioCpt,
|
|
40
40
|
{
|
|
41
|
-
key: option.value,
|
|
42
|
-
value: option.value,
|
|
43
|
-
disabled: option.disabled
|
|
41
|
+
key: option == null ? void 0 : option.value,
|
|
42
|
+
value: option == null ? void 0 : option.value,
|
|
43
|
+
disabled: option == null ? void 0 : option.disabled
|
|
44
44
|
},
|
|
45
|
-
option.label
|
|
45
|
+
option == null ? void 0 : option.label
|
|
46
46
|
);
|
|
47
47
|
});
|
|
48
48
|
}, [options]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.491",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -67,9 +67,9 @@
|
|
|
67
67
|
"react-window": "^1.8.10",
|
|
68
68
|
"styled-components": "^6.0.0-rc.3",
|
|
69
69
|
"libphonenumber-js": "^1.11.17",
|
|
70
|
-
"@pisell/date-picker": "1.0.114",
|
|
71
70
|
"@pisell/icon": "0.0.10",
|
|
72
|
-
"@pisell/utils": "1.0.43"
|
|
71
|
+
"@pisell/utils": "1.0.43",
|
|
72
|
+
"@pisell/date-picker": "1.0.114"
|
|
73
73
|
},
|
|
74
74
|
"peerDependencies": {
|
|
75
75
|
"react": "^18.0.0",
|