@pisell/materials 1.0.257 → 1.0.259
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 +2 -2
- package/build/lowcode/preview.js +142 -142
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +20 -29
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +20 -29
- package/dist/umd/materials.min.css +1 -0
- package/dist/umd/materials.min.js +1 -0
- package/dist/umd/static/DotsSix.57d66266.svg +1 -0
- package/dist/umd/static/arrow-left.e542294f.svg +1 -0
- package/dist/umd/static/arrow-right.763f03e0.svg +1 -0
- package/dist/umd/static/filter-lines.04a54ae9.svg +1 -0
- package/dist/umd/static/help-circle.31c9be40.svg +1 -0
- package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +1 -0
- package/es/components/auto-complete-number/index.d.ts +10 -0
- package/es/components/auto-complete-number/index.js +28 -0
- package/es/components/table/Table/fields/search/Edit/index.js +1 -0
- package/es/components/table/Table/utils.d.ts +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.js +2 -1
- package/lib/components/auto-complete-number/index.d.ts +10 -0
- package/lib/components/auto-complete-number/index.js +48 -0
- package/lib/components/table/Table/fields/search/Edit/index.js +1 -0
- package/lib/components/table/Table/utils.d.ts +1 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -0
- package/lowcode/auto-complete/meta.ts +5 -0
- package/lowcode/auto-complete-number/__screenshots__/auto-complete-1.png +0 -0
- package/lowcode/auto-complete-number/meta.ts +75 -0
- package/lowcode/auto-complete-number/snippets.ts +26 -0
- package/package.json +3 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path d="M8 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM8 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM8 20a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM16 13a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM16 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2ZM16 20a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.707 4.293a1 1 0 0 1 0 1.414L7.414 11H19a1 1 0 1 1 0 2H7.414l5.293 5.293a1 1 0 0 1-1.414 1.414l-7-7a1 1 0 0 1 0-1.414l7-7a1 1 0 0 1 1.414 0Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.293 4.293a1 1 0 0 1 1.414 0l7 7a1 1 0 0 1 0 1.414l-7 7a1 1 0 0 1-1.414-1.414L16.586 13H5a1 1 0 1 1 0-2h11.586l-5.293-5.293a1 1 0 0 1 0-1.414Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M2 6a1 1 0 0 1 1-1h18a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1Zm3 6a1 1 0 0 1 1-1h12a1 1 0 1 1 0 2H6a1 1 0 0 1-1-1Zm3 6a1 1 0 0 1 1-1h6a1 1 0 1 1 0 2H9a1 1 0 0 1-1-1Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18ZM1 12C1 5.925 5.925 1 12 1s11 4.925 11 11-4.925 11-11 11S1 18.075 1 12Zm11.258-3.976a2 2 0 0 0-2.225 1.308 1 1 0 1 1-1.886-.664 4 4 0 0 1 7.773 1.333c0 1.53-1.135 2.54-1.945 3.081a8.044 8.044 0 0 1-1.686.848l-.035.013-.011.003-.004.002h-.002L11.92 13l.316.949a1 1 0 0 1-.633-1.897l.016-.006.074-.027a6.051 6.051 0 0 0 1.172-.6c.69-.46 1.055-.95 1.055-1.419v-.001a2 2 0 0 0-1.662-1.975ZM11 17a1 1 0 0 1 1-1h.01a1 1 0 1 1 0 2H12a1 1 0 0 1-1-1Z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="24" height="24" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6.293 3.293a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1-1.414 1.414L8 6.414V20a1 1 0 1 1-2 0V6.414L3.707 8.707a1 1 0 0 1-1.414-1.414l4-4ZM16 17.586V4a1 1 0 1 1 2 0v13.586l2.293-2.293a1 1 0 0 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 0 1 1.414-1.414L16 17.586Z"/></svg>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { AutoCompleteProps, InputNumberProps } from "antd";
|
|
3
|
+
interface AutoCompleteNumberProps {
|
|
4
|
+
autoCompleteProps: AutoCompleteProps;
|
|
5
|
+
inputNumberProps: InputNumberProps;
|
|
6
|
+
value?: any;
|
|
7
|
+
onChange?: any;
|
|
8
|
+
}
|
|
9
|
+
declare const AutoCompleteNumber: (props: AutoCompleteNumberProps) => React.JSX.Element;
|
|
10
|
+
export default AutoCompleteNumber;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
var _excluded = ["autoCompleteProps", "inputNumberProps"];
|
|
2
|
+
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
3
|
+
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
4
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
5
|
+
import React, { forwardRef } from "react";
|
|
6
|
+
import { AutoComplete, InputNumber as AntdInputNumber } from "antd";
|
|
7
|
+
var InputNumber = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
8
|
+
var onChange = function onChange(e) {
|
|
9
|
+
// 转换格式, AutoComplete缺陷, 只识别 e.target.value的值
|
|
10
|
+
var _val = e === null || e === undefined ? "" : e + "";
|
|
11
|
+
props.onChange && props.onChange({
|
|
12
|
+
target: {
|
|
13
|
+
value: _val
|
|
14
|
+
}
|
|
15
|
+
});
|
|
16
|
+
};
|
|
17
|
+
return /*#__PURE__*/React.createElement(AntdInputNumber, _extends({}, props, {
|
|
18
|
+
onChange: onChange,
|
|
19
|
+
ref: ref
|
|
20
|
+
}));
|
|
21
|
+
});
|
|
22
|
+
var AutoCompleteNumber = function AutoCompleteNumber(props) {
|
|
23
|
+
var autoCompleteProps = props.autoCompleteProps,
|
|
24
|
+
inputNumberProps = props.inputNumberProps,
|
|
25
|
+
resetProps = _objectWithoutProperties(props, _excluded);
|
|
26
|
+
return /*#__PURE__*/React.createElement(AutoComplete, _extends({}, resetProps, autoCompleteProps), /*#__PURE__*/React.createElement(InputNumber, inputNumberProps));
|
|
27
|
+
};
|
|
28
|
+
export default AutoCompleteNumber;
|
|
@@ -17,6 +17,7 @@ var Edit = function Edit(props, ref) {
|
|
|
17
17
|
trigger = _props$trigger === void 0 ? ["onPressEnter"] : _props$trigger,
|
|
18
18
|
others = _objectWithoutProperties(props, _excluded);
|
|
19
19
|
return /*#__PURE__*/React.createElement(Input, _extends({}, others, {
|
|
20
|
+
value: value,
|
|
20
21
|
style: style,
|
|
21
22
|
prefix: /*#__PURE__*/React.createElement(SearchOutlined, null),
|
|
22
23
|
onChange: function onChange(e) {
|
|
@@ -146,7 +146,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
|
|
|
146
146
|
sort?: SortType | undefined;
|
|
147
147
|
mode: "" | "localStorage" | "remote";
|
|
148
148
|
currentViewMode: ModeType;
|
|
149
|
-
}) => ("filter_setting" | "
|
|
149
|
+
}) => ("filter_setting" | "column_setting" | "gallery_setting" | "view_mode" | "group_by" | "order_by")[];
|
|
150
150
|
export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
|
|
151
151
|
export declare const stringify: (obj: Record<string, any>) => string;
|
|
152
152
|
export {};
|
package/es/index.d.ts
CHANGED
|
@@ -74,3 +74,4 @@ export { default as InputNumberRange } from "./components/input-number-range";
|
|
|
74
74
|
export { default as LowCodePage } from "./components/lowCodePage";
|
|
75
75
|
export { default as PickerView } from "./components/picker-view";
|
|
76
76
|
export { default as Segmented } from "./components/segmented";
|
|
77
|
+
export { default as AutoCompleteNumber } from "./components/auto-complete-number";
|
package/es/index.js
CHANGED
|
@@ -93,4 +93,5 @@ export { default as Sort } from "./components/sort";
|
|
|
93
93
|
export { default as InputNumberRange } from "./components/input-number-range";
|
|
94
94
|
export { default as LowCodePage } from "./components/lowCodePage";
|
|
95
95
|
export { default as PickerView } from "./components/picker-view";
|
|
96
|
-
export { default as Segmented } from "./components/segmented";
|
|
96
|
+
export { default as Segmented } from "./components/segmented";
|
|
97
|
+
export { default as AutoCompleteNumber } from "./components/auto-complete-number";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { AutoCompleteProps, InputNumberProps } from "antd";
|
|
3
|
+
interface AutoCompleteNumberProps {
|
|
4
|
+
autoCompleteProps: AutoCompleteProps;
|
|
5
|
+
inputNumberProps: InputNumberProps;
|
|
6
|
+
value?: any;
|
|
7
|
+
onChange?: any;
|
|
8
|
+
}
|
|
9
|
+
declare const AutoCompleteNumber: (props: AutoCompleteNumberProps) => React.JSX.Element;
|
|
10
|
+
export default AutoCompleteNumber;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
var __create = Object.create;
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
6
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
+
mod
|
|
26
|
+
));
|
|
27
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
|
+
|
|
29
|
+
// src/components/auto-complete-number/index.tsx
|
|
30
|
+
var auto_complete_number_exports = {};
|
|
31
|
+
__export(auto_complete_number_exports, {
|
|
32
|
+
default: () => auto_complete_number_default
|
|
33
|
+
});
|
|
34
|
+
module.exports = __toCommonJS(auto_complete_number_exports);
|
|
35
|
+
var import_react = __toESM(require("react"));
|
|
36
|
+
var import_antd = require("antd");
|
|
37
|
+
var InputNumber = (0, import_react.forwardRef)((props, ref) => {
|
|
38
|
+
const onChange = (e) => {
|
|
39
|
+
let _val = e === null || e === void 0 ? "" : e + "";
|
|
40
|
+
props.onChange && props.onChange({ target: { value: _val } });
|
|
41
|
+
};
|
|
42
|
+
return /* @__PURE__ */ import_react.default.createElement(import_antd.InputNumber, { ...props, onChange, ref });
|
|
43
|
+
});
|
|
44
|
+
var AutoCompleteNumber = (props) => {
|
|
45
|
+
const { autoCompleteProps, inputNumberProps, ...resetProps } = props;
|
|
46
|
+
return /* @__PURE__ */ import_react.default.createElement(import_antd.AutoComplete, { ...resetProps, ...autoCompleteProps }, /* @__PURE__ */ import_react.default.createElement(InputNumber, { ...inputNumberProps }));
|
|
47
|
+
};
|
|
48
|
+
var auto_complete_number_default = AutoCompleteNumber;
|
|
@@ -146,7 +146,7 @@ export declare const getSettingKeyArrByMode: ({ filter, columnSetting, dataSourc
|
|
|
146
146
|
sort?: SortType | undefined;
|
|
147
147
|
mode: "" | "localStorage" | "remote";
|
|
148
148
|
currentViewMode: ModeType;
|
|
149
|
-
}) => ("filter_setting" | "
|
|
149
|
+
}) => ("filter_setting" | "column_setting" | "gallery_setting" | "view_mode" | "group_by" | "order_by")[];
|
|
150
150
|
export declare const omit: (obj: Record<string, any>, keys: string[]) => Record<string, any>;
|
|
151
151
|
export declare const stringify: (obj: Record<string, any>) => string;
|
|
152
152
|
export {};
|
package/lib/index.d.ts
CHANGED
|
@@ -74,3 +74,4 @@ export { default as InputNumberRange } from "./components/input-number-range";
|
|
|
74
74
|
export { default as LowCodePage } from "./components/lowCodePage";
|
|
75
75
|
export { default as PickerView } from "./components/picker-view";
|
|
76
76
|
export { default as Segmented } from "./components/segmented";
|
|
77
|
+
export { default as AutoCompleteNumber } from "./components/auto-complete-number";
|
package/lib/index.js
CHANGED
|
@@ -33,6 +33,7 @@ __export(src_exports, {
|
|
|
33
33
|
Alert: () => import_antd3.Alert,
|
|
34
34
|
Anchor: () => import_antd2.Anchor,
|
|
35
35
|
AutoComplete: () => import_auto_complete.default,
|
|
36
|
+
AutoCompleteNumber: () => import_auto_complete_number.default,
|
|
36
37
|
Avatar: () => import_antd4.Avatar,
|
|
37
38
|
Badge: () => import_antd5.Badge,
|
|
38
39
|
Breadcrumb: () => import_antd6.Breadcrumb,
|
|
@@ -183,12 +184,14 @@ var import_input_number_range = __toESM(require("./components/input-number-range
|
|
|
183
184
|
var import_lowCodePage = __toESM(require("./components/lowCodePage"));
|
|
184
185
|
var import_picker_view = __toESM(require("./components/picker-view"));
|
|
185
186
|
var import_segmented = __toESM(require("./components/segmented"));
|
|
187
|
+
var import_auto_complete_number = __toESM(require("./components/auto-complete-number"));
|
|
186
188
|
// Annotate the CommonJS export names for ESM import in node:
|
|
187
189
|
0 && (module.exports = {
|
|
188
190
|
Affix,
|
|
189
191
|
Alert,
|
|
190
192
|
Anchor,
|
|
191
193
|
AutoComplete,
|
|
194
|
+
AutoCompleteNumber,
|
|
192
195
|
Avatar,
|
|
193
196
|
Badge,
|
|
194
197
|
Breadcrumb,
|
|
@@ -157,6 +157,11 @@ export default {
|
|
|
157
157
|
title: { label: "无数据展示", tip: "当下拉列表为空时显示的内容" },
|
|
158
158
|
setter: "PisellI18nSetter",
|
|
159
159
|
},
|
|
160
|
+
{
|
|
161
|
+
name: "children",
|
|
162
|
+
title: { label: "自定义输入框", tip: "自定义输入框" },
|
|
163
|
+
setter: ['SlotSetter']
|
|
164
|
+
},
|
|
160
165
|
],
|
|
161
166
|
configure: {
|
|
162
167
|
/*props: [
|
|
Binary file
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { uuid } from "../_utils/utils";
|
|
2
|
+
|
|
3
|
+
import snippets from "./snippets";
|
|
4
|
+
|
|
5
|
+
export default {
|
|
6
|
+
snippets,
|
|
7
|
+
componentName: "AutoCompleteNumber",
|
|
8
|
+
title: "辅助提示数字框",
|
|
9
|
+
category: "表单",
|
|
10
|
+
docUrl: "",
|
|
11
|
+
screenshot: "",
|
|
12
|
+
devMode: "proCode",
|
|
13
|
+
npm: {
|
|
14
|
+
package: "@pisell/materials",
|
|
15
|
+
version: "1.0.1",
|
|
16
|
+
exportName: "AutoCompleteNumber",
|
|
17
|
+
main: "src/index.tsx",
|
|
18
|
+
destructuring: true,
|
|
19
|
+
subName: "",
|
|
20
|
+
},
|
|
21
|
+
props: [
|
|
22
|
+
{
|
|
23
|
+
name: "value",
|
|
24
|
+
title: { label: "当前值", tip: "当前选中值" },
|
|
25
|
+
setter: "StringSetter",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
name: "autoCompleteProps",
|
|
29
|
+
title: { label: "辅助提示数字框Props" },
|
|
30
|
+
setter: ["JsonSetter", "VariableSetter"],
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
name: "inputNumberProps",
|
|
34
|
+
title: { label: "数字框Props" },
|
|
35
|
+
setter: ["JsonSetter", "VariableSetter"],
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
configure: {
|
|
39
|
+
supports: {
|
|
40
|
+
style: true,
|
|
41
|
+
events: [
|
|
42
|
+
{
|
|
43
|
+
name: "onBlur",
|
|
44
|
+
template:
|
|
45
|
+
"onBlur(${extParams}){\n// 失去焦点时的回调\nconsole.log('onBlur');}",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: "onChange",
|
|
49
|
+
template:
|
|
50
|
+
"onChange(value,${extParams}){\n// 选中 option,或 input 的 value 变化时,调用此函数\nconsole.log('onChange', value);}",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
name: "onFocus",
|
|
54
|
+
template:
|
|
55
|
+
"onFocus(${extParams}){\n// 选中 option,或 input 的 value 变化时,调用此函数\nconsole.log('onFocus')}",
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
name: "onSearch",
|
|
59
|
+
template:
|
|
60
|
+
"onSearch(value,${extParams}){\n// 搜索补全项的时候调用\nconsole.log('onSearch',value);}",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
name: "onSelect",
|
|
64
|
+
template:
|
|
65
|
+
"onSelect(value,option,${extParams}){\n// 被选中时调用\nconsole.log('onSelect', value, option);}",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
name: "onDropdownVisibleChange",
|
|
69
|
+
template:
|
|
70
|
+
"onDropdownVisibleChange(open,${extParams}){\n// 展开下拉菜单的回调\nconsole.log('onDropdownVisibleChange', open);}",
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
},
|
|
74
|
+
},
|
|
75
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export default [
|
|
2
|
+
{
|
|
3
|
+
title: '辅助提示数字框',
|
|
4
|
+
screenshot: 'https://alifd.alicdn.com/fusion-cool/icons/icon-antd/auto-complete-1.png',
|
|
5
|
+
schema: {
|
|
6
|
+
componentName: 'AutoCompleteNumber',
|
|
7
|
+
props: {
|
|
8
|
+
placeholder: '请输入',
|
|
9
|
+
options: [
|
|
10
|
+
{
|
|
11
|
+
label: '测试1',
|
|
12
|
+
value: 'aaa',
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
label: '测试2',
|
|
16
|
+
value: 'bbb',
|
|
17
|
+
},
|
|
18
|
+
],
|
|
19
|
+
filterOption: true,
|
|
20
|
+
style: {
|
|
21
|
+
width: '200px',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.259",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"react-window": "^1.8.10",
|
|
63
63
|
"react-virtualized-auto-sizer": "^1.0.20",
|
|
64
64
|
"crypto-js": "^4.2.0",
|
|
65
|
+
"@pisell/icon": "0.0.8",
|
|
65
66
|
"@pisell/utils": "1.0.24",
|
|
66
|
-
"@pisell/date-picker": "1.0.70"
|
|
67
|
-
"@pisell/icon": "0.0.8"
|
|
67
|
+
"@pisell/date-picker": "1.0.70"
|
|
68
68
|
},
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"react": "^18.0.0",
|