@pisell/materials 3.0.21 → 3.0.23
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 +2 -2
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +2 -2
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +2 -2
- package/es/components/MultipleContainersSortList/index.d.ts +5 -5
- package/es/components/MultipleContainersSortList/index.js +10 -10
- package/es/components/filter/components/FilterItem/index.js +5 -2
- package/es/components/filter/components/QuickFilter/index.js +2 -1
- package/es/components/filter/types.d.ts +1 -0
- package/es/components/sort/index.js +3 -1
- package/es/components/sort/index.less +3 -0
- package/es/components/sort/types.d.ts +1 -0
- package/es/components/table/Actions/component/Group/PopoverContent.d.ts +2 -2
- package/es/components/table/Actions/component/Group/PopoverContent.js +11 -7
- package/es/components/table/index.d.ts +2 -2
- package/es/components/table/index.js +27 -25
- package/es/components/table/types.d.ts +6 -1
- package/es/index.d.ts +80 -80
- package/es/index.js +38 -38
- package/lib/components/MultipleContainersSortList/index.d.ts +5 -5
- package/lib/components/MultipleContainersSortList/index.js +16 -11
- package/lib/components/filter/components/FilterItem/index.js +11 -2
- package/lib/components/filter/components/QuickFilter/index.js +2 -1
- package/lib/components/filter/types.d.ts +1 -0
- package/lib/components/sort/index.js +4 -9
- package/lib/components/sort/index.less +3 -0
- package/lib/components/sort/types.d.ts +1 -0
- package/lib/components/table/Actions/component/Group/PopoverContent.d.ts +2 -2
- package/lib/components/table/Actions/component/Group/PopoverContent.js +2 -1
- package/lib/components/table/index.d.ts +2 -2
- package/lib/components/table/index.js +4 -2
- package/lib/components/table/types.d.ts +6 -1
- package/lib/index.d.ts +80 -80
- package/lowcode/table/meta.ts +42 -0
- package/lowcode/table/snippets.ts +6 -0
- package/package.json +3 -3
package/es/index.js
CHANGED
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
export { Affix } from
|
|
2
|
-
export { Anchor } from
|
|
3
|
-
export { Alert } from
|
|
4
|
-
export { Avatar } from
|
|
5
|
-
export { Badge } from
|
|
6
|
-
export { Breadcrumb } from
|
|
7
|
-
export { Card } from
|
|
8
|
-
export { Collapse } from
|
|
9
|
-
export { Carousel } from
|
|
1
|
+
export { Affix } from 'antd';
|
|
2
|
+
export { Anchor } from 'antd';
|
|
3
|
+
export { Alert } from 'antd';
|
|
4
|
+
export { Avatar } from 'antd';
|
|
5
|
+
export { Badge } from 'antd';
|
|
6
|
+
export { Breadcrumb } from 'antd';
|
|
7
|
+
export { Card } from 'antd';
|
|
8
|
+
export { Collapse } from 'antd';
|
|
9
|
+
export { Carousel } from 'antd';
|
|
10
10
|
|
|
11
11
|
// export { Cascader } from 'antd';
|
|
12
12
|
|
|
13
|
-
export { Col } from
|
|
14
|
-
export { Descriptions } from
|
|
15
|
-
export { Divider } from
|
|
13
|
+
export { Col } from 'antd';
|
|
14
|
+
export { Descriptions } from 'antd';
|
|
15
|
+
export { Divider } from 'antd';
|
|
16
16
|
|
|
17
17
|
// export { Drawer } from 'antd';
|
|
18
18
|
|
|
19
|
-
export { Empty } from
|
|
20
|
-
export { Grid } from
|
|
19
|
+
export { Empty } from 'antd';
|
|
20
|
+
export { Grid } from 'antd';
|
|
21
21
|
|
|
22
22
|
// export { Input } from 'antd';
|
|
23
23
|
|
|
24
|
-
export { Image } from
|
|
25
|
-
export { InputNumber } from
|
|
26
|
-
export { message } from
|
|
27
|
-
export { Menu } from
|
|
28
|
-
export { Mentions } from
|
|
29
|
-
export { Statistic } from
|
|
30
|
-
export { notification } from
|
|
24
|
+
export { Image } from 'antd';
|
|
25
|
+
export { InputNumber } from 'antd';
|
|
26
|
+
export { message } from 'antd';
|
|
27
|
+
export { Menu } from 'antd';
|
|
28
|
+
export { Mentions } from 'antd';
|
|
29
|
+
export { Statistic } from 'antd';
|
|
30
|
+
export { notification } from 'antd';
|
|
31
31
|
|
|
32
32
|
// export { PageHeader } from 'antd';
|
|
33
33
|
|
|
34
|
-
export { Pagination } from
|
|
35
|
-
export { Popconfirm } from
|
|
36
|
-
export { Popover } from
|
|
37
|
-
export { Progress } from
|
|
38
|
-
export { Rate } from
|
|
39
|
-
export { Result } from
|
|
40
|
-
export { Row } from
|
|
34
|
+
export { Pagination } from 'antd';
|
|
35
|
+
export { Popconfirm } from 'antd';
|
|
36
|
+
export { Popover } from 'antd';
|
|
37
|
+
export { Progress } from 'antd';
|
|
38
|
+
export { Rate } from 'antd';
|
|
39
|
+
export { Result } from 'antd';
|
|
40
|
+
export { Row } from 'antd';
|
|
41
41
|
|
|
42
42
|
// export { Skeleton } from 'antd';
|
|
43
43
|
|
|
44
|
-
export { Space } from
|
|
45
|
-
export { Spin } from
|
|
46
|
-
export { Steps } from
|
|
47
|
-
export { Switch } from
|
|
48
|
-
export { Transfer } from
|
|
49
|
-
export { Tree } from
|
|
44
|
+
export { Space } from 'antd';
|
|
45
|
+
export { Spin } from 'antd';
|
|
46
|
+
export { Steps } from 'antd';
|
|
47
|
+
export { Switch } from 'antd';
|
|
48
|
+
export { Transfer } from 'antd';
|
|
49
|
+
export { Tree } from 'antd';
|
|
50
50
|
|
|
51
51
|
// export { TreeSelect } from 'antd';
|
|
52
52
|
|
|
53
53
|
// export { Tabs } from 'antd';
|
|
54
54
|
|
|
55
|
-
export { Tag } from
|
|
56
|
-
export { Timeline } from
|
|
57
|
-
export { Tooltip } from
|
|
58
|
-
export { version } from
|
|
55
|
+
export { Tag } from 'antd';
|
|
56
|
+
export { Timeline } from 'antd';
|
|
57
|
+
export { Tooltip } from 'antd';
|
|
58
|
+
export { version } from 'antd';
|
|
59
59
|
export { default as Typography } from "./components/typography";
|
|
60
60
|
export { default as Skeleton } from "./components/skeleton";
|
|
61
61
|
export { default as Checkbox } from "./components/checkbox";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { SortableItemProps } from
|
|
3
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { SortableItemProps } from '../DragSortList';
|
|
3
|
+
import './index.less';
|
|
4
4
|
declare type IdType = string | number;
|
|
5
5
|
export interface MultipleContainersSortListProps<T> {
|
|
6
6
|
list: Record<string, T[]>;
|
|
7
7
|
vertical?: boolean;
|
|
8
8
|
wrapStyle?: React.CSSProperties;
|
|
9
9
|
onChange: (val: Record<string, T[]>) => void;
|
|
10
|
-
renderContainer?: DefaultRenderContainerProps[
|
|
10
|
+
renderContainer?: DefaultRenderContainerProps['renderContainer'];
|
|
11
11
|
rowKey: IdType | ((val: T) => IdType);
|
|
12
|
-
children: SortableItemProps<T>[
|
|
12
|
+
children: SortableItemProps<T>['children'];
|
|
13
13
|
quickFilterMaxLength: number;
|
|
14
14
|
}
|
|
15
15
|
export declare const TRASH_ID = "void";
|
|
@@ -123,7 +123,10 @@ var MultipleContainersSortList = (props) => {
|
|
|
123
123
|
if (overContainer === "quickFilter" && newList[overContainer].length > quickFilterMaxLength) {
|
|
124
124
|
newList = {
|
|
125
125
|
...newList,
|
|
126
|
-
[overContainer]: newList[overContainer].slice(
|
|
126
|
+
[overContainer]: newList[overContainer].slice(
|
|
127
|
+
0,
|
|
128
|
+
quickFilterMaxLength
|
|
129
|
+
),
|
|
127
130
|
[activeContainer]: [
|
|
128
131
|
...newList[overContainer].slice(quickFilterMaxLength),
|
|
129
132
|
...newList[activeContainer]
|
|
@@ -174,16 +177,18 @@ var MultipleContainersSortList = (props) => {
|
|
|
174
177
|
items: list[container].map((item) => getRowKey(item)),
|
|
175
178
|
strategy: import_sortable.verticalListSortingStrategy
|
|
176
179
|
},
|
|
177
|
-
list[container].length ? list[container].map(
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
180
|
+
list[container].length ? list[container].map(
|
|
181
|
+
(item, index) => !(item == null ? void 0 : item.isHidden) ? /* @__PURE__ */ import_react.default.createElement(
|
|
182
|
+
import_DragSortList.SortableItem,
|
|
183
|
+
{
|
|
184
|
+
key: getRowKey(item),
|
|
185
|
+
id: getRowKey(item),
|
|
186
|
+
item,
|
|
187
|
+
index
|
|
188
|
+
},
|
|
189
|
+
children
|
|
190
|
+
) : null
|
|
191
|
+
) : /* @__PURE__ */ import_react.default.createElement("span", { className: "materials-sort-list-empty" }, (0, import_locales.getText)("table-action-filter-no-filter"))
|
|
187
192
|
)
|
|
188
193
|
))));
|
|
189
194
|
};
|
|
@@ -37,11 +37,20 @@ var import_antd = require("antd");
|
|
|
37
37
|
var import_fields = require("../../../table/Table/fields");
|
|
38
38
|
var import_index = require("./index.less");
|
|
39
39
|
var FilterItem = (props) => {
|
|
40
|
-
const { label, type, name, other } = props;
|
|
40
|
+
const { label, type, name, other, isHidden } = props;
|
|
41
41
|
const Com = (0, import_react.useMemo)(() => {
|
|
42
42
|
var _a;
|
|
43
43
|
return (_a = import_fields.fieldMaps[type]) == null ? void 0 : _a.edit;
|
|
44
44
|
}, [type]);
|
|
45
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
45
|
+
return /* @__PURE__ */ import_react.default.createElement(
|
|
46
|
+
import_antd.Form.Item,
|
|
47
|
+
{
|
|
48
|
+
label,
|
|
49
|
+
name,
|
|
50
|
+
...(other == null ? void 0 : other.formItemProps) || {},
|
|
51
|
+
hidden: isHidden
|
|
52
|
+
},
|
|
53
|
+
/* @__PURE__ */ import_react.default.createElement(Com, { ...other })
|
|
54
|
+
);
|
|
46
55
|
};
|
|
47
56
|
var FilterItem_default = FilterItem;
|
|
@@ -102,7 +102,9 @@ var Sort = ({
|
|
|
102
102
|
key: d.name,
|
|
103
103
|
label: d.label,
|
|
104
104
|
children: sortChildrenMap[d.type](d.name, !!(d == null ? void 0 : d.localFilter)),
|
|
105
|
-
popupClassName: `${prefix}sort-sub-menu-popup-wrap
|
|
105
|
+
popupClassName: `${prefix}sort-sub-menu-popup-wrap`,
|
|
106
|
+
// 增加显示隐藏配置
|
|
107
|
+
className: `${d.isHidden ? `${prefix}sort-menu-wrap-hide` : ""}`
|
|
106
108
|
};
|
|
107
109
|
});
|
|
108
110
|
}, [list, localPagination]);
|
|
@@ -130,14 +132,7 @@ var Sort = ({
|
|
|
130
132
|
);
|
|
131
133
|
}, [button, style, value, isMobileBool]);
|
|
132
134
|
const content = (0, import_react.useMemo)(() => {
|
|
133
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
134
|
-
import_InlineMenu.default,
|
|
135
|
-
{
|
|
136
|
-
items: sortItems,
|
|
137
|
-
value: value || "",
|
|
138
|
-
onChange
|
|
139
|
-
}
|
|
140
|
-
);
|
|
135
|
+
return /* @__PURE__ */ import_react.default.createElement(import_InlineMenu.default, { items: sortItems, value: value || "", onChange });
|
|
141
136
|
}, [value, sortItems, onChange]);
|
|
142
137
|
if ((0, import_platform.isMobile)()) {
|
|
143
138
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
@@ -53,7 +53,8 @@ var PopoverContent = (props) => {
|
|
|
53
53
|
]);
|
|
54
54
|
};
|
|
55
55
|
const options = (0, import_react.useMemo)(() => {
|
|
56
|
-
|
|
56
|
+
const _lists = (columns || []).filter((item) => !(item == null ? void 0 : item.isHidden));
|
|
57
|
+
return _lists.map((item) => ({
|
|
57
58
|
label: item.label,
|
|
58
59
|
value: `${item.name}`
|
|
59
60
|
}));
|
|
@@ -76,6 +76,7 @@ var GridView = (0, import_model.Provider)(
|
|
|
76
76
|
currentSettingKey,
|
|
77
77
|
// pagination,
|
|
78
78
|
exportImport,
|
|
79
|
+
currentComponentId,
|
|
79
80
|
...other
|
|
80
81
|
} = props;
|
|
81
82
|
const modal = (0, import_hooks.useSharedState)(import_model.Context);
|
|
@@ -90,11 +91,12 @@ var GridView = (0, import_model.Provider)(
|
|
|
90
91
|
const { width } = (0, import_ahooks.useSize)(wrapRef) || {};
|
|
91
92
|
const utils = (_a = context == null ? void 0 : context.appHelper) == null ? void 0 : _a.utils;
|
|
92
93
|
const tableId = (0, import_react.useMemo)(() => {
|
|
94
|
+
console.log(props, "wh");
|
|
93
95
|
if (props.__designMode === "design") {
|
|
94
96
|
return "designMode-mock-table-id";
|
|
95
97
|
}
|
|
96
|
-
return props.__id;
|
|
97
|
-
}, [props.__id, props.__designMode]);
|
|
98
|
+
return (props == null ? void 0 : props.currentComponentId) || props.__id;
|
|
99
|
+
}, [props.__id, props.__designMode, props == null ? void 0 : props.currentComponentId]);
|
|
98
100
|
const columns = (0, import_react.useMemo)(() => {
|
|
99
101
|
return propsColumns.filter((item) => !item.hidden);
|
|
100
102
|
}, [propsColumns]);
|
|
@@ -26,6 +26,7 @@ declare type DataSourceListItemType = {
|
|
|
26
26
|
columnKey?: string;
|
|
27
27
|
label?: string;
|
|
28
28
|
name?: string | string[];
|
|
29
|
+
isHidden?: boolean;
|
|
29
30
|
};
|
|
30
31
|
/**
|
|
31
32
|
* 数据源分组总配置
|
|
@@ -211,7 +212,11 @@ export declare type GridViewProps = {
|
|
|
211
212
|
/**
|
|
212
213
|
* 当前本地配置的key 用此hash是否改变用来判断是否清空本地配置 不填默认使用columns数据生成hash
|
|
213
214
|
*/
|
|
214
|
-
currentSettingKey?:
|
|
215
|
+
currentSettingKey?: string;
|
|
216
|
+
/**
|
|
217
|
+
* 当前本地配置的唯一值, 不填默认使用currentSettingKey
|
|
218
|
+
*/
|
|
219
|
+
currentComponentId?: string;
|
|
215
220
|
/**
|
|
216
221
|
* 当前表格中数据发生变化事件 包含本地筛选和外部传入数据变化
|
|
217
222
|
* @param currentDataSource
|
package/lib/index.d.ts
CHANGED
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
export { Affix } from
|
|
2
|
-
export { Anchor } from
|
|
3
|
-
export { Alert } from
|
|
4
|
-
export { Avatar } from
|
|
5
|
-
export { Badge } from
|
|
6
|
-
export { Breadcrumb } from
|
|
7
|
-
export { Card } from
|
|
8
|
-
export { Collapse } from
|
|
9
|
-
export { Carousel } from
|
|
10
|
-
export { Col } from
|
|
11
|
-
export { Descriptions } from
|
|
12
|
-
export { Divider } from
|
|
13
|
-
export { Empty } from
|
|
14
|
-
export { Grid } from
|
|
15
|
-
export { Image } from
|
|
16
|
-
export { InputNumber } from
|
|
17
|
-
export { message } from
|
|
18
|
-
export { Menu } from
|
|
19
|
-
export { Mentions } from
|
|
20
|
-
export { Statistic } from
|
|
21
|
-
export { notification } from
|
|
22
|
-
export { Pagination } from
|
|
23
|
-
export { Popconfirm } from
|
|
24
|
-
export { Popover } from
|
|
25
|
-
export { Progress } from
|
|
26
|
-
export { Rate } from
|
|
27
|
-
export { Result } from
|
|
28
|
-
export { Row } from
|
|
29
|
-
export { Space } from
|
|
30
|
-
export { Spin } from
|
|
31
|
-
export { Steps } from
|
|
32
|
-
export { Switch } from
|
|
33
|
-
export { Transfer } from
|
|
34
|
-
export { Tree } from
|
|
35
|
-
export { Tag } from
|
|
36
|
-
export { Timeline } from
|
|
37
|
-
export { Tooltip } from
|
|
38
|
-
export { version } from
|
|
39
|
-
export { default as Typography } from
|
|
40
|
-
export { default as Skeleton } from
|
|
41
|
-
export { default as Checkbox } from
|
|
42
|
-
export { default as Button } from
|
|
43
|
-
export { default as Radio } from
|
|
44
|
-
export { default as Upload } from
|
|
45
|
-
export { default as Icon } from
|
|
46
|
-
export { default as Form } from
|
|
47
|
-
export { default as Dropdown } from
|
|
48
|
-
export { default as Calendar } from
|
|
49
|
-
export { default as ConfigProvider } from
|
|
50
|
-
export { default as DatePicker } from
|
|
51
|
-
export { default as Tabs } from
|
|
52
|
-
export { default as TimePicker } from
|
|
53
|
-
export { default as Slider } from
|
|
54
|
-
export { default as Table } from
|
|
55
|
-
export { default as Modal } from
|
|
56
|
-
export { default as Drawer } from
|
|
57
|
-
export { default as TreeSelect } from
|
|
58
|
-
export { default as Input } from
|
|
59
|
-
export { default as Select } from
|
|
60
|
-
export { default as Cascader } from
|
|
61
|
-
export { default as AutoComplete } from
|
|
62
|
-
export { default as Div } from
|
|
63
|
-
export { default as Page } from
|
|
64
|
-
export { default as Component } from
|
|
65
|
-
export { default as Filter } from
|
|
66
|
-
export { default as Translation } from
|
|
67
|
-
export { default as SortableList } from
|
|
68
|
-
export { default as RecordView } from
|
|
69
|
-
export { default as QRCode } from
|
|
70
|
-
export { default as ClassicLayout } from
|
|
71
|
-
export { default as List } from
|
|
72
|
-
export { default as Sort } from
|
|
73
|
-
export { default as InputNumberRange } from
|
|
74
|
-
export { default as LowCodePage } from
|
|
75
|
-
export { default as Segmented } from
|
|
76
|
-
export { default as VirtualKeyboard } from
|
|
77
|
-
export { default as VirtualKeyboardTime } from
|
|
78
|
-
export { default as SelectTime } from
|
|
79
|
-
export { default as AutoCompleteNumber } from
|
|
80
|
-
export { default as BatchEditor } from
|
|
1
|
+
export { Affix } from 'antd';
|
|
2
|
+
export { Anchor } from 'antd';
|
|
3
|
+
export { Alert } from 'antd';
|
|
4
|
+
export { Avatar } from 'antd';
|
|
5
|
+
export { Badge } from 'antd';
|
|
6
|
+
export { Breadcrumb } from 'antd';
|
|
7
|
+
export { Card } from 'antd';
|
|
8
|
+
export { Collapse } from 'antd';
|
|
9
|
+
export { Carousel } from 'antd';
|
|
10
|
+
export { Col } from 'antd';
|
|
11
|
+
export { Descriptions } from 'antd';
|
|
12
|
+
export { Divider } from 'antd';
|
|
13
|
+
export { Empty } from 'antd';
|
|
14
|
+
export { Grid } from 'antd';
|
|
15
|
+
export { Image } from 'antd';
|
|
16
|
+
export { InputNumber } from 'antd';
|
|
17
|
+
export { message } from 'antd';
|
|
18
|
+
export { Menu } from 'antd';
|
|
19
|
+
export { Mentions } from 'antd';
|
|
20
|
+
export { Statistic } from 'antd';
|
|
21
|
+
export { notification } from 'antd';
|
|
22
|
+
export { Pagination } from 'antd';
|
|
23
|
+
export { Popconfirm } from 'antd';
|
|
24
|
+
export { Popover } from 'antd';
|
|
25
|
+
export { Progress } from 'antd';
|
|
26
|
+
export { Rate } from 'antd';
|
|
27
|
+
export { Result } from 'antd';
|
|
28
|
+
export { Row } from 'antd';
|
|
29
|
+
export { Space } from 'antd';
|
|
30
|
+
export { Spin } from 'antd';
|
|
31
|
+
export { Steps } from 'antd';
|
|
32
|
+
export { Switch } from 'antd';
|
|
33
|
+
export { Transfer } from 'antd';
|
|
34
|
+
export { Tree } from 'antd';
|
|
35
|
+
export { Tag } from 'antd';
|
|
36
|
+
export { Timeline } from 'antd';
|
|
37
|
+
export { Tooltip } from 'antd';
|
|
38
|
+
export { version } from 'antd';
|
|
39
|
+
export { default as Typography } from './components/typography';
|
|
40
|
+
export { default as Skeleton } from './components/skeleton';
|
|
41
|
+
export { default as Checkbox } from './components/checkbox';
|
|
42
|
+
export { default as Button } from './components/button';
|
|
43
|
+
export { default as Radio } from './components/radio';
|
|
44
|
+
export { default as Upload } from './components/upload';
|
|
45
|
+
export { default as Icon } from './components/icon';
|
|
46
|
+
export { default as Form } from './components/form';
|
|
47
|
+
export { default as Dropdown } from './components/dropdown';
|
|
48
|
+
export { default as Calendar } from './components/calendar';
|
|
49
|
+
export { default as ConfigProvider } from './components/config-provider';
|
|
50
|
+
export { default as DatePicker } from './components/date-picker';
|
|
51
|
+
export { default as Tabs } from './components/tabs';
|
|
52
|
+
export { default as TimePicker } from './components/time-picker';
|
|
53
|
+
export { default as Slider } from './components/slider';
|
|
54
|
+
export { default as Table } from './components/table';
|
|
55
|
+
export { default as Modal } from './components/modal';
|
|
56
|
+
export { default as Drawer } from './components/drawer';
|
|
57
|
+
export { default as TreeSelect } from './components/tree-select';
|
|
58
|
+
export { default as Input } from './components/input';
|
|
59
|
+
export { default as Select } from './components/select';
|
|
60
|
+
export { default as Cascader } from './components/cascader';
|
|
61
|
+
export { default as AutoComplete } from './components/auto-complete';
|
|
62
|
+
export { default as Div } from './components/div';
|
|
63
|
+
export { default as Page } from './components/page';
|
|
64
|
+
export { default as Component } from './components/component';
|
|
65
|
+
export { default as Filter } from './components/filter';
|
|
66
|
+
export { default as Translation } from './components/translation';
|
|
67
|
+
export { default as SortableList } from './components/sortableList';
|
|
68
|
+
export { default as RecordView } from './components/record-view';
|
|
69
|
+
export { default as QRCode } from './components/qrcode';
|
|
70
|
+
export { default as ClassicLayout } from './components/classicLayout';
|
|
71
|
+
export { default as List } from './components/list';
|
|
72
|
+
export { default as Sort } from './components/sort';
|
|
73
|
+
export { default as InputNumberRange } from './components/input-number-range';
|
|
74
|
+
export { default as LowCodePage } from './components/lowCodePage';
|
|
75
|
+
export { default as Segmented } from './components/segmented';
|
|
76
|
+
export { default as VirtualKeyboard } from './components/virtual-keyboard';
|
|
77
|
+
export { default as VirtualKeyboardTime } from './components/virtual-keyboard/Time';
|
|
78
|
+
export { default as SelectTime } from './components/select-time';
|
|
79
|
+
export { default as AutoCompleteNumber } from './components/auto-complete-number';
|
|
80
|
+
export { default as BatchEditor } from './components/batch-editor';
|
package/lowcode/table/meta.ts
CHANGED
|
@@ -81,6 +81,15 @@ export default {
|
|
|
81
81
|
},
|
|
82
82
|
propType: "string",
|
|
83
83
|
setter: "StringSetter",
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
name: "currentComponentId",
|
|
87
|
+
title: {
|
|
88
|
+
label: "currentComponentId",
|
|
89
|
+
tip: "currentComponentId | 当前本地配置的唯一值 不填默认使用currentSettingKey",
|
|
90
|
+
},
|
|
91
|
+
propType: "string",
|
|
92
|
+
setter: "StringSetter",
|
|
84
93
|
}
|
|
85
94
|
],
|
|
86
95
|
},
|
|
@@ -1518,6 +1527,16 @@ export default {
|
|
|
1518
1527
|
setter: "BoolSetter",
|
|
1519
1528
|
defaultValue: false,
|
|
1520
1529
|
},
|
|
1530
|
+
{
|
|
1531
|
+
name: "isHidden",
|
|
1532
|
+
title: {
|
|
1533
|
+
label: "是否隐藏",
|
|
1534
|
+
tip: "开启时,当前项展示, 关闭时,当前项隐藏",
|
|
1535
|
+
},
|
|
1536
|
+
propType: "bool",
|
|
1537
|
+
setter: "BoolSetter",
|
|
1538
|
+
defaultValue: false,
|
|
1539
|
+
},
|
|
1521
1540
|
{
|
|
1522
1541
|
name: "columnKey",
|
|
1523
1542
|
title: {
|
|
@@ -1586,6 +1605,7 @@ export default {
|
|
|
1586
1605
|
name: "",
|
|
1587
1606
|
columnKey: "",
|
|
1588
1607
|
isCustom: false,
|
|
1608
|
+
isHidden: false
|
|
1589
1609
|
},
|
|
1590
1610
|
},
|
|
1591
1611
|
},
|
|
@@ -1810,6 +1830,16 @@ export default {
|
|
|
1810
1830
|
setter: "BoolSetter",
|
|
1811
1831
|
defaultValue: false,
|
|
1812
1832
|
},
|
|
1833
|
+
{
|
|
1834
|
+
name: "isHidden",
|
|
1835
|
+
title: {
|
|
1836
|
+
label: "是否隐藏",
|
|
1837
|
+
tip: "开启时,当前项展示, 关闭时,当前项隐藏",
|
|
1838
|
+
},
|
|
1839
|
+
propType: "bool",
|
|
1840
|
+
setter: "BoolSetter",
|
|
1841
|
+
defaultValue: false,
|
|
1842
|
+
},
|
|
1813
1843
|
{
|
|
1814
1844
|
name: "other",
|
|
1815
1845
|
title: {
|
|
@@ -1828,6 +1858,7 @@ export default {
|
|
|
1828
1858
|
key: "name",
|
|
1829
1859
|
columnKey: "",
|
|
1830
1860
|
isCustom: false,
|
|
1861
|
+
isHidden: false
|
|
1831
1862
|
},
|
|
1832
1863
|
},
|
|
1833
1864
|
},
|
|
@@ -1986,6 +2017,16 @@ export default {
|
|
|
1986
2017
|
return target.parent.getPropValue("isCustom");
|
|
1987
2018
|
},
|
|
1988
2019
|
},
|
|
2020
|
+
{
|
|
2021
|
+
name: "isHidden",
|
|
2022
|
+
title: {
|
|
2023
|
+
label: "是否隐藏",
|
|
2024
|
+
tip: "开启时,当前项展示, 关闭时,当前项隐藏",
|
|
2025
|
+
},
|
|
2026
|
+
propType: "bool",
|
|
2027
|
+
setter: "BoolSetter",
|
|
2028
|
+
defaultValue: false,
|
|
2029
|
+
},
|
|
1989
2030
|
{
|
|
1990
2031
|
name: "type",
|
|
1991
2032
|
title: { label: "字段类型", tip: "所排序的字段类型" },
|
|
@@ -2021,6 +2062,7 @@ export default {
|
|
|
2021
2062
|
type: "date",
|
|
2022
2063
|
columnKey: "",
|
|
2023
2064
|
isCustom: false,
|
|
2065
|
+
isHidden: false
|
|
2024
2066
|
},
|
|
2025
2067
|
},
|
|
2026
2068
|
},
|
|
@@ -330,12 +330,14 @@ export default [
|
|
|
330
330
|
type: "string",
|
|
331
331
|
columnKey: "name",
|
|
332
332
|
isCustom: false,
|
|
333
|
+
isHidden: false
|
|
333
334
|
},
|
|
334
335
|
{
|
|
335
336
|
label: "标题",
|
|
336
337
|
type: "number",
|
|
337
338
|
columnKey: "age",
|
|
338
339
|
isCustom: false,
|
|
340
|
+
isHidden: false
|
|
339
341
|
},
|
|
340
342
|
],
|
|
341
343
|
},
|
|
@@ -348,12 +350,14 @@ export default [
|
|
|
348
350
|
name: "",
|
|
349
351
|
columnKey: "name",
|
|
350
352
|
isCustom: false,
|
|
353
|
+
isHidden: false
|
|
351
354
|
},
|
|
352
355
|
{
|
|
353
356
|
label: "标题",
|
|
354
357
|
name: "",
|
|
355
358
|
columnKey: "age",
|
|
356
359
|
isCustom: false,
|
|
360
|
+
isHidden: false
|
|
357
361
|
},
|
|
358
362
|
],
|
|
359
363
|
},
|
|
@@ -371,6 +375,7 @@ export default [
|
|
|
371
375
|
isCustom: false,
|
|
372
376
|
sort: true,
|
|
373
377
|
localFilter: true,
|
|
378
|
+
isHidden: false
|
|
374
379
|
},
|
|
375
380
|
{
|
|
376
381
|
label: "标题",
|
|
@@ -380,6 +385,7 @@ export default [
|
|
|
380
385
|
isCustom: false,
|
|
381
386
|
sort: true,
|
|
382
387
|
localFilter: true,
|
|
388
|
+
isHidden: false
|
|
383
389
|
},
|
|
384
390
|
],
|
|
385
391
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.23",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -62,8 +62,8 @@
|
|
|
62
62
|
"react-virtualized-auto-sizer": "^1.0.20",
|
|
63
63
|
"crypto-js": "^4.2.0",
|
|
64
64
|
"@pisell/utils": "1.0.25",
|
|
65
|
-
"@pisell/
|
|
66
|
-
"@pisell/
|
|
65
|
+
"@pisell/date-picker": "1.0.74",
|
|
66
|
+
"@pisell/icon": "0.0.8"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"react": "^18.0.0",
|