@pisell/materials 1.0.206 → 1.0.207
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 +142 -142
- package/build/lowcode/render/default/view.css +1 -1
- package/build/lowcode/render/default/view.js +20 -20
- package/build/lowcode/view.css +1 -1
- package/build/lowcode/view.js +20 -20
- package/es/components/DragSortList/index.d.ts +1 -1
- package/es/components/MultipleContainersSortList/index.d.ts +1 -1
- package/es/components/Pagination/index.d.ts +2 -2
- package/es/components/Pagination/index.js +14 -9
- package/es/components/auto-complete/index.d.ts +5 -1
- package/es/components/calendar/index.d.ts +1 -1
- package/es/components/checkbox/index.d.ts +1 -1
- package/es/components/config-provider/index.d.ts +2 -2
- package/es/components/date-picker/index.d.ts +1 -1
- package/es/components/div/index.d.ts +1 -1
- package/es/components/div/index.js +2 -6
- package/es/components/drawer/index.d.ts +0 -1
- package/es/components/drawer/index.js +4 -42
- package/es/components/dropdown/index.d.ts +2 -2
- package/es/components/filter/components/QuickFilter/index.d.ts +2 -2
- package/es/components/filter/components/items/index.d.ts +6 -6
- package/es/components/filter/components/items/text/Editor/index.d.ts +1 -1
- package/es/components/filter/components/items/text/Preview/index.d.ts +1 -1
- package/es/components/filter/components/items/text/index.d.ts +2 -2
- package/es/components/filter/index.d.ts +2 -2
- package/es/components/form/index.d.ts +1 -1
- package/es/components/page/index.d.ts +2 -2
- package/es/components/page/index.js +1 -14
- package/es/components/qrcode/index.d.ts +2 -2
- package/es/components/radio/index.d.ts +1 -1
- package/es/components/record-view/index.less +0 -2
- package/es/components/select/index.d.ts +5 -2
- package/es/components/select/index.js +2 -60
- package/es/components/skeleton/index.d.ts +1 -1
- package/es/components/slider/index.d.ts +2 -2
- package/es/components/table/Actions/Sort/index.d.ts +12 -0
- package/es/components/table/Actions/Sort/index.js +59 -0
- package/es/components/table/Actions/Sort/index.less +0 -0
- package/es/components/table/Actions/index.d.ts +2 -2
- package/es/components/table/Actions/index.js +1 -1
- package/es/components/table/BasicTable/index.d.ts +2 -2
- package/es/components/table/Header/index.d.ts +2 -2
- package/es/components/table/Summary/index.d.ts +2 -2
- package/es/components/table/Table/SelectField/index.d.ts +2 -2
- package/es/components/table/Table/fields/date/Config/index.d.ts +1 -1
- package/es/components/table/Table/fields/date/Show/index.d.ts +2 -2
- package/es/components/table/Table/fields/date/Show/index.js +1 -2
- package/es/components/table/Table/fields/date/Sort/index.d.ts +1 -1
- package/es/components/table/Table/fields/date/index.d.ts +3 -3
- package/es/components/table/Table/fields/image/Config/index.d.ts +1 -1
- package/es/components/table/Table/fields/image/Show/index.d.ts +1 -1
- package/es/components/table/Table/fields/image/Show/index.js +1 -2
- package/es/components/table/Table/fields/image/Sort/index.d.ts +1 -1
- package/es/components/table/Table/fields/image/index.d.ts +3 -3
- package/es/components/table/Table/fields/index.d.ts +57 -57
- package/es/components/table/Table/fields/link/Config/index.d.ts +1 -1
- package/es/components/table/Table/fields/link/Show/index.d.ts +1 -1
- package/es/components/table/Table/fields/link/Show/index.js +5 -7
- package/es/components/table/Table/fields/link/Sort/index.d.ts +1 -1
- package/es/components/table/Table/fields/link/index.d.ts +3 -3
- package/es/components/table/Table/fields/number/Config/index.d.ts +1 -1
- package/es/components/table/Table/fields/number/Show/index.d.ts +1 -1
- package/es/components/table/Table/fields/number/Show/index.js +1 -2
- package/es/components/table/Table/fields/number/Sort/index.d.ts +1 -1
- package/es/components/table/Table/fields/number/index.d.ts +3 -3
- package/es/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -1
- package/es/components/table/Table/fields/pSwitch/Show/index.d.ts +2 -2
- package/es/components/table/Table/fields/pSwitch/Show/index.js +1 -2
- package/es/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -1
- package/es/components/table/Table/fields/pSwitch/index.d.ts +3 -3
- package/es/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -1
- package/es/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -1
- package/es/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -1
- package/es/components/table/Table/fields/rangePicker/index.d.ts +3 -3
- package/es/components/table/Table/fields/search/Config/index.d.ts +1 -1
- package/es/components/table/Table/fields/search/Show/index.d.ts +1 -1
- package/es/components/table/Table/fields/search/Show/index.js +1 -2
- package/es/components/table/Table/fields/search/Sort/index.d.ts +1 -1
- package/es/components/table/Table/fields/search/index.d.ts +3 -3
- package/es/components/table/Table/fields/select/Config/index.d.ts +1 -1
- package/es/components/table/Table/fields/select/Show/index.d.ts +1 -1
- package/es/components/table/Table/fields/select/Sort/index.d.ts +1 -1
- package/es/components/table/Table/fields/select/index.d.ts +3 -3
- package/es/components/table/Table/fields/text/Config/index.d.ts +1 -1
- package/es/components/table/Table/fields/text/Edit/index.js +3 -8
- package/es/components/table/Table/fields/text/Show/index.d.ts +1 -1
- package/es/components/table/Table/fields/text/Show/index.js +1 -2
- package/es/components/table/Table/fields/text/Sort/index.d.ts +1 -1
- package/es/components/table/Table/fields/text/index.d.ts +3 -3
- package/es/components/table/Table/index.js +4 -5
- package/es/components/table/Table/tableConfig/SortRow/index.d.ts +2 -2
- package/es/components/table/Table/tableConfig/summary/index.d.ts +2 -2
- package/es/components/table/TableFilter/SortIcon.d.ts +2 -2
- package/es/components/table/TableFilter/numberFilter.js +4 -5
- package/es/components/table/TableFilter/selectFilter.js +2 -3
- package/es/components/table/TableFilter/stringFilter.js +3 -4
- package/es/components/table/model.d.ts +1 -1
- package/es/components/table/model.js +29 -1
- package/es/components/tabs/index.d.ts +2 -5
- package/es/components/tabs/index.js +8 -51
- package/es/components/time-picker/index.d.ts +1 -1
- package/es/components/upload/index.d.ts +1 -1
- package/es/index.d.ts +1 -5
- package/es/index.js +5 -6
- package/es/utils/hoc.d.ts +4 -4
- package/es/utils/hoc.js +8 -9
- package/es/utils/miniRedux.d.ts +1 -1
- package/lib/components/DragSortList/index.d.ts +1 -1
- package/lib/components/MultipleContainersSortList/index.d.ts +1 -1
- package/lib/components/Pagination/index.d.ts +2 -2
- package/lib/components/Pagination/index.js +8 -9
- package/lib/components/auto-complete/index.d.ts +5 -1
- package/lib/components/calendar/index.d.ts +1 -1
- package/lib/components/checkbox/index.d.ts +1 -1
- package/lib/components/config-provider/index.d.ts +2 -2
- package/lib/components/date-picker/index.d.ts +1 -1
- package/lib/components/div/index.d.ts +1 -1
- package/lib/components/div/index.js +2 -2
- package/lib/components/drawer/index.d.ts +0 -1
- package/lib/components/drawer/index.js +1 -37
- package/lib/components/dropdown/index.d.ts +2 -2
- package/lib/components/filter/components/QuickFilter/index.d.ts +2 -2
- package/lib/components/filter/components/items/index.d.ts +6 -6
- package/lib/components/filter/components/items/text/Editor/index.d.ts +1 -1
- package/lib/components/filter/components/items/text/Preview/index.d.ts +1 -1
- package/lib/components/filter/components/items/text/index.d.ts +2 -2
- package/lib/components/filter/index.d.ts +2 -2
- package/lib/components/form/index.d.ts +1 -1
- package/lib/components/page/index.d.ts +2 -2
- package/lib/components/page/index.js +1 -13
- package/lib/components/qrcode/index.d.ts +2 -2
- package/lib/components/radio/index.d.ts +1 -1
- package/lib/components/record-view/index.less +0 -2
- package/lib/components/select/index.d.ts +5 -2
- package/lib/components/select/index.js +1 -67
- package/lib/components/skeleton/index.d.ts +1 -1
- package/lib/components/slider/index.d.ts +2 -2
- package/lib/components/table/Actions/Sort/index.d.ts +12 -0
- package/lib/components/table/Actions/Sort/index.js +86 -0
- package/lib/components/table/Actions/Sort/index.less +0 -0
- package/lib/components/table/Actions/index.d.ts +2 -2
- package/lib/components/table/Actions/index.js +2 -2
- package/lib/components/table/BasicTable/index.d.ts +2 -2
- package/lib/components/table/Header/index.d.ts +2 -2
- package/lib/components/table/Summary/index.d.ts +2 -2
- package/lib/components/table/Table/SelectField/index.d.ts +2 -2
- package/lib/components/table/Table/fields/date/Config/index.d.ts +1 -1
- package/lib/components/table/Table/fields/date/Show/index.d.ts +2 -2
- package/lib/components/table/Table/fields/date/Show/index.js +1 -2
- package/lib/components/table/Table/fields/date/Sort/index.d.ts +1 -1
- package/lib/components/table/Table/fields/date/index.d.ts +3 -3
- package/lib/components/table/Table/fields/image/Config/index.d.ts +1 -1
- package/lib/components/table/Table/fields/image/Show/index.d.ts +1 -1
- package/lib/components/table/Table/fields/image/Show/index.js +1 -2
- package/lib/components/table/Table/fields/image/Sort/index.d.ts +1 -1
- package/lib/components/table/Table/fields/image/index.d.ts +3 -3
- package/lib/components/table/Table/fields/index.d.ts +57 -57
- package/lib/components/table/Table/fields/link/Config/index.d.ts +1 -1
- package/lib/components/table/Table/fields/link/Show/index.d.ts +1 -1
- package/lib/components/table/Table/fields/link/Show/index.js +5 -7
- package/lib/components/table/Table/fields/link/Sort/index.d.ts +1 -1
- package/lib/components/table/Table/fields/link/index.d.ts +3 -3
- package/lib/components/table/Table/fields/number/Config/index.d.ts +1 -1
- package/lib/components/table/Table/fields/number/Show/index.d.ts +1 -1
- package/lib/components/table/Table/fields/number/Show/index.js +1 -2
- package/lib/components/table/Table/fields/number/Sort/index.d.ts +1 -1
- package/lib/components/table/Table/fields/number/index.d.ts +3 -3
- package/lib/components/table/Table/fields/pSwitch/Config/index.d.ts +1 -1
- package/lib/components/table/Table/fields/pSwitch/Show/index.d.ts +2 -2
- package/lib/components/table/Table/fields/pSwitch/Show/index.js +1 -2
- package/lib/components/table/Table/fields/pSwitch/Sort/index.d.ts +1 -1
- package/lib/components/table/Table/fields/pSwitch/index.d.ts +3 -3
- package/lib/components/table/Table/fields/rangePicker/Config/index.d.ts +1 -1
- package/lib/components/table/Table/fields/rangePicker/Show/index.d.ts +1 -1
- package/lib/components/table/Table/fields/rangePicker/Sort/index.d.ts +1 -1
- package/lib/components/table/Table/fields/rangePicker/index.d.ts +3 -3
- package/lib/components/table/Table/fields/search/Config/index.d.ts +1 -1
- package/lib/components/table/Table/fields/search/Show/index.d.ts +1 -1
- package/lib/components/table/Table/fields/search/Show/index.js +1 -2
- package/lib/components/table/Table/fields/search/Sort/index.d.ts +1 -1
- package/lib/components/table/Table/fields/search/index.d.ts +3 -3
- package/lib/components/table/Table/fields/select/Config/index.d.ts +1 -1
- package/lib/components/table/Table/fields/select/Show/index.d.ts +1 -1
- package/lib/components/table/Table/fields/select/Sort/index.d.ts +1 -1
- package/lib/components/table/Table/fields/select/index.d.ts +3 -3
- package/lib/components/table/Table/fields/text/Config/index.d.ts +1 -1
- package/lib/components/table/Table/fields/text/Edit/index.js +1 -2
- package/lib/components/table/Table/fields/text/Show/index.d.ts +1 -1
- package/lib/components/table/Table/fields/text/Show/index.js +1 -2
- package/lib/components/table/Table/fields/text/Sort/index.d.ts +1 -1
- package/lib/components/table/Table/fields/text/index.d.ts +3 -3
- package/lib/components/table/Table/index.js +2 -3
- package/lib/components/table/Table/tableConfig/SortRow/index.d.ts +2 -2
- package/lib/components/table/Table/tableConfig/summary/index.d.ts +2 -2
- package/lib/components/table/TableFilter/SortIcon.d.ts +2 -2
- package/lib/components/table/TableFilter/numberFilter.js +4 -5
- package/lib/components/table/TableFilter/selectFilter.js +2 -3
- package/lib/components/table/TableFilter/stringFilter.js +3 -4
- package/lib/components/table/model.d.ts +1 -1
- package/lib/components/table/model.js +34 -1
- package/lib/components/tabs/index.d.ts +2 -5
- package/lib/components/tabs/index.js +1 -50
- package/lib/components/time-picker/index.d.ts +1 -1
- package/lib/components/upload/index.d.ts +1 -1
- package/lib/index.d.ts +1 -5
- package/lib/index.js +2 -14
- package/lib/utils/hoc.d.ts +4 -4
- package/lib/utils/hoc.js +3 -3
- package/lib/utils/miniRedux.d.ts +1 -1
- package/package.json +3 -3
- package/dist/umd/materials.min.css +0 -1
- package/dist/umd/materials.min.js +0 -1
- package/dist/umd/static/DotsSix.57d66266.svg +0 -1
- package/dist/umd/static/arrow-left.e542294f.svg +0 -1
- package/dist/umd/static/arrow-right.763f03e0.svg +0 -1
- package/dist/umd/static/filter-lines.04a54ae9.svg +0 -1
- package/dist/umd/static/help-circle.31c9be40.svg +0 -1
- package/dist/umd/static/switch-vertical-01.7ebe3ba8.svg +0 -1
- package/es/components/classicLayout/index.d.ts +0 -4
- package/es/components/classicLayout/index.js +0 -25
- package/es/components/classicLayout/index.less +0 -22
- package/es/components/component/index.d.ts +0 -11
- package/es/components/component/index.js +0 -10
- package/es/components/drawer/index.less +0 -34
- package/es/components/list/index.d.ts +0 -7
- package/es/components/list/index.js +0 -104
- package/es/components/list/index.less +0 -38
- package/es/components/select/index.less +0 -11
- package/es/components/sort/components/InlineMenu/index.d.ts +0 -15
- package/es/components/sort/components/InlineMenu/index.js +0 -87
- package/es/components/sort/components/InlineMenu/index.less +0 -20
- package/es/components/sort/index.d.ts +0 -18
- package/es/components/sort/index.js +0 -113
- package/es/components/sort/index.less +0 -10
- package/es/components/table/Table/fields/utils/index.d.ts +0 -1
- package/es/components/table/Table/fields/utils/index.js +0 -29
- package/es/components/tabs/index.less +0 -60
- package/es/locales/en-US.d.ts +0 -21
- package/es/locales/en-US.js +0 -22
- package/es/locales/index.d.ts +0 -1
- package/es/locales/index.js +0 -21
- package/es/locales/zh-CN.d.ts +0 -21
- package/es/locales/zh-CN.js +0 -22
- package/es/locales/zh-TW.d.ts +0 -21
- package/es/locales/zh-TW.js +0 -22
- package/es/utils/locale.d.ts +0 -1
- package/es/utils/locale.js +0 -5
- package/es/utils/platform.d.ts +0 -1
- package/es/utils/platform.js +0 -8
- package/lib/components/classicLayout/index.d.ts +0 -4
- package/lib/components/classicLayout/index.js +0 -59
- package/lib/components/classicLayout/index.less +0 -22
- package/lib/components/component/index.d.ts +0 -11
- package/lib/components/component/index.js +0 -29
- package/lib/components/drawer/index.less +0 -34
- package/lib/components/list/index.d.ts +0 -7
- package/lib/components/list/index.js +0 -134
- package/lib/components/list/index.less +0 -38
- package/lib/components/select/index.less +0 -11
- package/lib/components/sort/components/InlineMenu/index.d.ts +0 -15
- package/lib/components/sort/components/InlineMenu/index.js +0 -89
- package/lib/components/sort/components/InlineMenu/index.less +0 -20
- package/lib/components/sort/index.d.ts +0 -18
- package/lib/components/sort/index.js +0 -147
- package/lib/components/sort/index.less +0 -10
- package/lib/components/table/Table/fields/utils/index.d.ts +0 -1
- package/lib/components/table/Table/fields/utils/index.js +0 -46
- package/lib/components/tabs/index.less +0 -60
- package/lib/locales/en-US.d.ts +0 -21
- package/lib/locales/en-US.js +0 -44
- package/lib/locales/index.d.ts +0 -1
- package/lib/locales/index.js +0 -58
- package/lib/locales/zh-CN.d.ts +0 -21
- package/lib/locales/zh-CN.js +0 -44
- package/lib/locales/zh-TW.d.ts +0 -21
- package/lib/locales/zh-TW.js +0 -44
- package/lib/utils/locale.d.ts +0 -1
- package/lib/utils/locale.js +0 -32
- package/lib/utils/platform.d.ts +0 -1
- package/lib/utils/platform.js +0 -36
|
@@ -36,7 +36,6 @@ var import_hooks = require("../../../../../../hooks");
|
|
|
36
36
|
var import_model = require("../../../../model");
|
|
37
37
|
var import_classnames = __toESM(require("classnames"));
|
|
38
38
|
var import_index = require("./index.less");
|
|
39
|
-
var import_utils = require("../../utils");
|
|
40
39
|
var Show = (props) => {
|
|
41
40
|
const modal = (0, import_hooks.useSharedState)(import_model.Context);
|
|
42
41
|
const {
|
|
@@ -71,7 +70,7 @@ var Show = (props) => {
|
|
|
71
70
|
),
|
|
72
71
|
onClick
|
|
73
72
|
},
|
|
74
|
-
|
|
73
|
+
record[dataIndex]
|
|
75
74
|
);
|
|
76
75
|
};
|
|
77
76
|
var Show_default = Show;
|
|
@@ -6,9 +6,9 @@ declare const _default: {
|
|
|
6
6
|
field_type: string;
|
|
7
7
|
default_value: string;
|
|
8
8
|
};
|
|
9
|
-
config: () =>
|
|
9
|
+
config: () => JSX.Element;
|
|
10
10
|
edit: import("react").ForwardRefExoticComponent<Omit<import("../types").EditPropsType, "ref"> & import("react").RefAttributes<any>>;
|
|
11
|
-
sort: () =>
|
|
12
|
-
show: (props: import("../types").FieldPropsType) =>
|
|
11
|
+
sort: () => JSX.Element;
|
|
12
|
+
show: (props: import("../types").FieldPropsType) => JSX.Element;
|
|
13
13
|
};
|
|
14
14
|
export default _default;
|
|
@@ -46,7 +46,6 @@ var import_stringFilter = __toESM(require("../TableFilter/stringFilter"));
|
|
|
46
46
|
var import_numberFilter = __toESM(require("../TableFilter/numberFilter"));
|
|
47
47
|
var import_selectFilter = __toESM(require("../TableFilter/selectFilter"));
|
|
48
48
|
var import_SortIcon = __toESM(require("../TableFilter/SortIcon"));
|
|
49
|
-
var import_locales = require("../../../locales");
|
|
50
49
|
var GridViewTable = ({ tableProps }) => {
|
|
51
50
|
const responsive = (0, import_hooks.useResponsive)();
|
|
52
51
|
const { state, dispatch } = (0, import_hooks.useSharedState)(import_model.Context);
|
|
@@ -131,7 +130,7 @@ var GridViewTable = ({ tableProps }) => {
|
|
|
131
130
|
(total, range, pageSize) => {
|
|
132
131
|
let start = range[0] - 1;
|
|
133
132
|
let _current = start / pageSize + 1;
|
|
134
|
-
return
|
|
133
|
+
return `Page ${_current} of ${Math.ceil(total / pageSize)}`;
|
|
135
134
|
},
|
|
136
135
|
[]
|
|
137
136
|
);
|
|
@@ -161,10 +160,10 @@ var GridViewTable = ({ tableProps }) => {
|
|
|
161
160
|
cell: import_body.default.Coll
|
|
162
161
|
}
|
|
163
162
|
},
|
|
163
|
+
...tableProps,
|
|
164
164
|
scroll: {
|
|
165
165
|
x: "max-content"
|
|
166
166
|
},
|
|
167
|
-
...tableProps,
|
|
168
167
|
pagination: _paginationConfig
|
|
169
168
|
}
|
|
170
169
|
)));
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
declare const summary: (props: any) =>
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
declare const summary: (props: any) => JSX.Element;
|
|
3
3
|
export default summary;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
interface SortIconProps {
|
|
3
3
|
sortOrder: null | "ascend" | "descend";
|
|
4
4
|
}
|
|
5
|
-
declare const SortIcon: (props: SortIconProps) =>
|
|
5
|
+
declare const SortIcon: (props: SortIconProps) => JSX.Element;
|
|
6
6
|
export default SortIcon;
|
|
@@ -36,7 +36,6 @@ var import_react = __toESM(require("react"));
|
|
|
36
36
|
var import_antd = require("antd");
|
|
37
37
|
var import_FilterFunnel01 = __toESM(require("@pisell/icon/es/FilterFunnel01"));
|
|
38
38
|
var import_FilterFunnel01Fill = __toESM(require("@pisell/icon/es/FilterFunnel01Fill"));
|
|
39
|
-
var import_locales = require("../../../locales");
|
|
40
39
|
var import_index = require("./index.less");
|
|
41
40
|
var getColumnNumberProps = ({
|
|
42
41
|
dataIndex
|
|
@@ -66,7 +65,7 @@ var getColumnNumberProps = ({
|
|
|
66
65
|
};
|
|
67
66
|
setSelectedKeys([newVal]);
|
|
68
67
|
},
|
|
69
|
-
placeholder:
|
|
68
|
+
placeholder: "Min",
|
|
70
69
|
onPressEnter: () => confirm(),
|
|
71
70
|
style: { width: 105 }
|
|
72
71
|
}
|
|
@@ -74,7 +73,7 @@ var getColumnNumberProps = ({
|
|
|
74
73
|
import_antd.InputNumber,
|
|
75
74
|
{
|
|
76
75
|
value: (_b = selectedKeys == null ? void 0 : selectedKeys[0]) == null ? void 0 : _b.max,
|
|
77
|
-
placeholder:
|
|
76
|
+
placeholder: "Max",
|
|
78
77
|
onChange: (value) => {
|
|
79
78
|
const newVal = {
|
|
80
79
|
...(selectedKeys == null ? void 0 : selectedKeys[0]) || {},
|
|
@@ -101,9 +100,9 @@ var getColumnNumberProps = ({
|
|
|
101
100
|
},
|
|
102
101
|
block: true
|
|
103
102
|
},
|
|
104
|
-
|
|
103
|
+
"Clear"
|
|
105
104
|
),
|
|
106
|
-
/* @__PURE__ */ import_react.default.createElement(import_antd.Button, { type: "primary", onClick: () => confirm(), block: true },
|
|
105
|
+
/* @__PURE__ */ import_react.default.createElement(import_antd.Button, { type: "primary", onClick: () => confirm(), block: true }, "Filter")
|
|
107
106
|
)
|
|
108
107
|
);
|
|
109
108
|
},
|
|
@@ -36,7 +36,6 @@ var import_react = __toESM(require("react"));
|
|
|
36
36
|
var import_antd = require("antd");
|
|
37
37
|
var import_FilterFunnel01Fill = __toESM(require("@pisell/icon/es/FilterFunnel01Fill"));
|
|
38
38
|
var import_FilterFunnel01 = __toESM(require("@pisell/icon/es/FilterFunnel01"));
|
|
39
|
-
var import_locales = require("../../../locales");
|
|
40
39
|
var import_index = require("./index.less");
|
|
41
40
|
var FilterDropdown = (props) => {
|
|
42
41
|
const { setSelectedKeys, selectedKeys, confirm, clearFilters, filters } = props;
|
|
@@ -100,7 +99,7 @@ var FilterDropdown = (props) => {
|
|
|
100
99
|
block: true,
|
|
101
100
|
style: { flex: 1 }
|
|
102
101
|
},
|
|
103
|
-
|
|
102
|
+
"Clear"
|
|
104
103
|
),
|
|
105
104
|
/* @__PURE__ */ import_react.default.createElement(
|
|
106
105
|
import_antd.Button,
|
|
@@ -110,7 +109,7 @@ var FilterDropdown = (props) => {
|
|
|
110
109
|
block: true,
|
|
111
110
|
style: { flex: 1 }
|
|
112
111
|
},
|
|
113
|
-
|
|
112
|
+
"Filter"
|
|
114
113
|
)
|
|
115
114
|
)
|
|
116
115
|
);
|
|
@@ -35,7 +35,6 @@ module.exports = __toCommonJS(stringFilter_exports);
|
|
|
35
35
|
var import_react = __toESM(require("react"));
|
|
36
36
|
var import_antd = require("antd");
|
|
37
37
|
var import_SearchLg = __toESM(require("@pisell/icon/es/SearchLg"));
|
|
38
|
-
var import_locales = require("../../../locales");
|
|
39
38
|
var import_index = require("./index.less");
|
|
40
39
|
var getColumnStringProps = ({
|
|
41
40
|
dataIndex
|
|
@@ -56,7 +55,7 @@ var getColumnStringProps = ({
|
|
|
56
55
|
import_antd.Input,
|
|
57
56
|
{
|
|
58
57
|
prefix: /* @__PURE__ */ import_react.default.createElement(import_SearchLg.default, null),
|
|
59
|
-
placeholder:
|
|
58
|
+
placeholder: "Search",
|
|
60
59
|
value: selectedKeys[0],
|
|
61
60
|
onChange: (e) => setSelectedKeys(e.target.value ? [e.target.value] : []),
|
|
62
61
|
onPressEnter: () => confirm(),
|
|
@@ -79,7 +78,7 @@ var getColumnStringProps = ({
|
|
|
79
78
|
block: true,
|
|
80
79
|
style: { flex: 1 }
|
|
81
80
|
},
|
|
82
|
-
|
|
81
|
+
"Clear"
|
|
83
82
|
),
|
|
84
83
|
/* @__PURE__ */ import_react.default.createElement(
|
|
85
84
|
import_antd.Button,
|
|
@@ -89,7 +88,7 @@ var getColumnStringProps = ({
|
|
|
89
88
|
block: true,
|
|
90
89
|
style: { flex: 1 }
|
|
91
90
|
},
|
|
92
|
-
|
|
91
|
+
"Filter"
|
|
93
92
|
)
|
|
94
93
|
)
|
|
95
94
|
),
|
|
@@ -9,7 +9,7 @@ interface FormState {
|
|
|
9
9
|
otherFilter: FilterItemProps[];
|
|
10
10
|
utils: any;
|
|
11
11
|
}
|
|
12
|
-
export declare const Provider: (ComponentUi: any) => (props: any) =>
|
|
12
|
+
export declare const Provider: (ComponentUi: any) => (props: any) => JSX.Element, Context: import("react").Context<{
|
|
13
13
|
state: FormState;
|
|
14
14
|
} & {
|
|
15
15
|
dispatch: (params: {
|
|
@@ -53,7 +53,39 @@ var defaultState = {
|
|
|
53
53
|
image: ["https://file.mypisell-dev.com//static/avatar.png"]
|
|
54
54
|
}
|
|
55
55
|
],
|
|
56
|
-
defaultColumns: [
|
|
56
|
+
defaultColumns: [
|
|
57
|
+
{
|
|
58
|
+
title: "Name",
|
|
59
|
+
dataIndex: "name",
|
|
60
|
+
field_type: "text",
|
|
61
|
+
editable: true,
|
|
62
|
+
width: 200,
|
|
63
|
+
fixed: "left",
|
|
64
|
+
lock: true
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
title: "Age",
|
|
68
|
+
dataIndex: "age",
|
|
69
|
+
editable: true,
|
|
70
|
+
width: 200,
|
|
71
|
+
field_type: "text",
|
|
72
|
+
lock: true
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
title: "Address",
|
|
76
|
+
dataIndex: "address",
|
|
77
|
+
editable: true,
|
|
78
|
+
width: 200,
|
|
79
|
+
field_type: "text"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
title: "Image",
|
|
83
|
+
dataIndex: "image",
|
|
84
|
+
editable: true,
|
|
85
|
+
width: 200,
|
|
86
|
+
field_type: "image"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
57
89
|
currentCell: null,
|
|
58
90
|
quickFilter: [],
|
|
59
91
|
otherFilter: [],
|
|
@@ -103,6 +135,7 @@ var { Provider, Context } = (0, import_miniRedux.default)({
|
|
|
103
135
|
var formatColumn = (item) => {
|
|
104
136
|
let _other = {
|
|
105
137
|
editable: true,
|
|
138
|
+
width: 100,
|
|
106
139
|
field_type: "text",
|
|
107
140
|
lock: true,
|
|
108
141
|
...item.other || {}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { TabsProps } from "antd";
|
|
3
|
-
import "./index.less";
|
|
1
|
+
import { Component } from 'react';
|
|
4
2
|
declare class Tabs extends Component<any> {
|
|
5
3
|
state: {
|
|
6
4
|
activeKey: any;
|
|
@@ -8,7 +6,6 @@ declare class Tabs extends Component<any> {
|
|
|
8
6
|
private _handleChange;
|
|
9
7
|
setActiveKey: (key: string) => void;
|
|
10
8
|
getActiveKey: () => any;
|
|
11
|
-
|
|
12
|
-
render(): React.JSX.Element;
|
|
9
|
+
render(): JSX.Element;
|
|
13
10
|
}
|
|
14
11
|
export default Tabs;
|
|
@@ -35,9 +35,6 @@ module.exports = __toCommonJS(tabs_exports);
|
|
|
35
35
|
var import_react = __toESM(require("react"));
|
|
36
36
|
var import_antd = require("antd");
|
|
37
37
|
var import_warning = require("../../utils/warning");
|
|
38
|
-
var import_classnames = __toESM(require("classnames"));
|
|
39
|
-
var import_index = require("./index.less");
|
|
40
|
-
var prefix = "pisell-lowcode-";
|
|
41
38
|
var Tabs = class extends import_react.Component {
|
|
42
39
|
constructor() {
|
|
43
40
|
super(...arguments);
|
|
@@ -58,51 +55,12 @@ var Tabs = class extends import_react.Component {
|
|
|
58
55
|
this.getActiveKey = () => {
|
|
59
56
|
return this.state.activeKey;
|
|
60
57
|
};
|
|
61
|
-
this.renderIconLabelTabBar = (props, DefaultTabBar) => {
|
|
62
|
-
const { items, sidebarWidth } = this.props;
|
|
63
|
-
let wrapStyle = {
|
|
64
|
-
gap: props.tabBarGutter
|
|
65
|
-
};
|
|
66
|
-
if (["left", "right"].includes(props.tabPosition)) {
|
|
67
|
-
wrapStyle = {
|
|
68
|
-
...wrapStyle,
|
|
69
|
-
width: sidebarWidth || 130
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
73
|
-
"div",
|
|
74
|
-
{
|
|
75
|
-
className: (0, import_classnames.default)(
|
|
76
|
-
"pisell-lowcode-tabs-nav",
|
|
77
|
-
`${prefix}tab-bar-wrap`,
|
|
78
|
-
`${prefix}tab-bar-wrap-${props.tabPosition}`
|
|
79
|
-
),
|
|
80
|
-
style: wrapStyle
|
|
81
|
-
},
|
|
82
|
-
items.map((item) => {
|
|
83
|
-
return /* @__PURE__ */ import_react.default.createElement(
|
|
84
|
-
"div",
|
|
85
|
-
{
|
|
86
|
-
className: (0, import_classnames.default)(`${prefix}tab-bar-item`, {
|
|
87
|
-
[`${prefix}tab-bar-item-active`]: item.key === props.activeKey
|
|
88
|
-
}),
|
|
89
|
-
key: item.key,
|
|
90
|
-
onClick: (e) => props.onTabClick(item.key, e)
|
|
91
|
-
},
|
|
92
|
-
/* @__PURE__ */ import_react.default.createElement(import_antd.Badge, { count: item.badge, offset: [0, 6] }, /* @__PURE__ */ import_react.default.createElement("div", { className: `${prefix}tab-bar-icon-wrap` }, item.icon)),
|
|
93
|
-
/* @__PURE__ */ import_react.default.createElement("span", { className: `${prefix}tab-bar-label` }, item.label)
|
|
94
|
-
);
|
|
95
|
-
}),
|
|
96
|
-
props.extra
|
|
97
|
-
);
|
|
98
|
-
};
|
|
99
58
|
}
|
|
100
59
|
render() {
|
|
101
60
|
const { props } = this;
|
|
102
61
|
const { activeKey } = this.state;
|
|
103
|
-
const { children
|
|
62
|
+
const { children } = props;
|
|
104
63
|
let items = props.items;
|
|
105
|
-
let otherProps = {};
|
|
106
64
|
if (!props.items && Array.isArray(children) && children.length > 0) {
|
|
107
65
|
(0, import_warning.warning)("Tabs.TabPane is deprecated. Please use `items` directly.");
|
|
108
66
|
items = children.map((node) => {
|
|
@@ -119,17 +77,10 @@ var Tabs = class extends import_react.Component {
|
|
|
119
77
|
return null;
|
|
120
78
|
}).filter(Boolean);
|
|
121
79
|
}
|
|
122
|
-
if (type === "icon-label") {
|
|
123
|
-
otherProps = {
|
|
124
|
-
renderTabBar: this.renderIconLabelTabBar,
|
|
125
|
-
type: "line"
|
|
126
|
-
};
|
|
127
|
-
}
|
|
128
80
|
return /* @__PURE__ */ import_react.default.createElement(
|
|
129
81
|
import_antd.Tabs,
|
|
130
82
|
{
|
|
131
83
|
...props,
|
|
132
|
-
...otherProps,
|
|
133
84
|
items,
|
|
134
85
|
activeKey,
|
|
135
86
|
onChange: this._handleChange
|
package/lib/index.d.ts
CHANGED
|
@@ -14,8 +14,8 @@ export { Empty } from "antd";
|
|
|
14
14
|
export { Grid } from "antd";
|
|
15
15
|
export { Image } from "antd";
|
|
16
16
|
export { InputNumber } from "antd";
|
|
17
|
+
export { List } from "antd";
|
|
17
18
|
export { message } from "antd";
|
|
18
|
-
export { Menu } from "antd";
|
|
19
19
|
export { Mentions } from "antd";
|
|
20
20
|
export { Statistic } from "antd";
|
|
21
21
|
export { notification } from "antd";
|
|
@@ -61,12 +61,8 @@ export { default as Cascader } from "./components/cascader";
|
|
|
61
61
|
export { default as AutoComplete } from "./components/auto-complete";
|
|
62
62
|
export { default as Div } from "./components/div";
|
|
63
63
|
export { default as Page } from "./components/page";
|
|
64
|
-
export { default as Component } from "./components/component";
|
|
65
64
|
export { default as Filter } from "./components/filter";
|
|
66
65
|
export { default as Translation } from "./components/translation";
|
|
67
66
|
export { default as SortableList } from "./components/sortableList";
|
|
68
67
|
export { default as RecordView } from "./components/record-view";
|
|
69
68
|
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";
|
package/lib/index.js
CHANGED
|
@@ -42,10 +42,8 @@ __export(src_exports, {
|
|
|
42
42
|
Carousel: () => import_antd9.Carousel,
|
|
43
43
|
Cascader: () => import_cascader.default,
|
|
44
44
|
Checkbox: () => import_checkbox.default,
|
|
45
|
-
ClassicLayout: () => import_classicLayout.default,
|
|
46
45
|
Col: () => import_antd10.Col,
|
|
47
46
|
Collapse: () => import_antd8.Collapse,
|
|
48
|
-
Component: () => import_component.default,
|
|
49
47
|
ConfigProvider: () => import_config_provider.default,
|
|
50
48
|
DatePicker: () => import_date_picker.default,
|
|
51
49
|
Descriptions: () => import_antd11.Descriptions,
|
|
@@ -61,9 +59,8 @@ __export(src_exports, {
|
|
|
61
59
|
Image: () => import_antd15.Image,
|
|
62
60
|
Input: () => import_input.default,
|
|
63
61
|
InputNumber: () => import_antd16.InputNumber,
|
|
64
|
-
List: () =>
|
|
62
|
+
List: () => import_antd17.List,
|
|
65
63
|
Mentions: () => import_antd19.Mentions,
|
|
66
|
-
Menu: () => import_antd18.Menu,
|
|
67
64
|
Modal: () => import_modal.default,
|
|
68
65
|
Page: () => import_page.default,
|
|
69
66
|
Pagination: () => import_antd22.Pagination,
|
|
@@ -79,7 +76,6 @@ __export(src_exports, {
|
|
|
79
76
|
Select: () => import_select.default,
|
|
80
77
|
Skeleton: () => import_skeleton.default,
|
|
81
78
|
Slider: () => import_slider.default,
|
|
82
|
-
Sort: () => import_sort.default,
|
|
83
79
|
SortableList: () => import_sortableList.default,
|
|
84
80
|
Space: () => import_antd29.Space,
|
|
85
81
|
Spin: () => import_antd30.Spin,
|
|
@@ -98,7 +94,7 @@ __export(src_exports, {
|
|
|
98
94
|
TreeSelect: () => import_tree_select.default,
|
|
99
95
|
Typography: () => import_typography.default,
|
|
100
96
|
Upload: () => import_upload.default,
|
|
101
|
-
message: () =>
|
|
97
|
+
message: () => import_antd18.message,
|
|
102
98
|
notification: () => import_antd21.notification,
|
|
103
99
|
version: () => import_antd38.version
|
|
104
100
|
});
|
|
@@ -166,15 +162,11 @@ var import_cascader = __toESM(require("./components/cascader"));
|
|
|
166
162
|
var import_auto_complete = __toESM(require("./components/auto-complete"));
|
|
167
163
|
var import_div = __toESM(require("./components/div"));
|
|
168
164
|
var import_page = __toESM(require("./components/page"));
|
|
169
|
-
var import_component = __toESM(require("./components/component"));
|
|
170
165
|
var import_filter = __toESM(require("./components/filter"));
|
|
171
166
|
var import_translation = __toESM(require("./components/translation"));
|
|
172
167
|
var import_sortableList = __toESM(require("./components/sortableList"));
|
|
173
168
|
var import_record_view = __toESM(require("./components/record-view"));
|
|
174
169
|
var import_qrcode = __toESM(require("./components/qrcode"));
|
|
175
|
-
var import_classicLayout = __toESM(require("./components/classicLayout"));
|
|
176
|
-
var import_list = __toESM(require("./components/list"));
|
|
177
|
-
var import_sort = __toESM(require("./components/sort"));
|
|
178
170
|
// Annotate the CommonJS export names for ESM import in node:
|
|
179
171
|
0 && (module.exports = {
|
|
180
172
|
Affix,
|
|
@@ -190,10 +182,8 @@ var import_sort = __toESM(require("./components/sort"));
|
|
|
190
182
|
Carousel,
|
|
191
183
|
Cascader,
|
|
192
184
|
Checkbox,
|
|
193
|
-
ClassicLayout,
|
|
194
185
|
Col,
|
|
195
186
|
Collapse,
|
|
196
|
-
Component,
|
|
197
187
|
ConfigProvider,
|
|
198
188
|
DatePicker,
|
|
199
189
|
Descriptions,
|
|
@@ -211,7 +201,6 @@ var import_sort = __toESM(require("./components/sort"));
|
|
|
211
201
|
InputNumber,
|
|
212
202
|
List,
|
|
213
203
|
Mentions,
|
|
214
|
-
Menu,
|
|
215
204
|
Modal,
|
|
216
205
|
Page,
|
|
217
206
|
Pagination,
|
|
@@ -227,7 +216,6 @@ var import_sort = __toESM(require("./components/sort"));
|
|
|
227
216
|
Select,
|
|
228
217
|
Skeleton,
|
|
229
218
|
Slider,
|
|
230
|
-
Sort,
|
|
231
219
|
SortableList,
|
|
232
220
|
Space,
|
|
233
221
|
Spin,
|
package/lib/utils/hoc.d.ts
CHANGED
|
@@ -3,15 +3,15 @@ import React, { ComponentType } from 'react';
|
|
|
3
3
|
* 简单包装,不做任何处理
|
|
4
4
|
* 部分组件ref比较特殊,包一层会解决这个问题
|
|
5
5
|
*/
|
|
6
|
-
export declare function withWrap<T extends ComponentType<any>>(Comp: T):
|
|
6
|
+
export declare function withWrap<T extends ComponentType<any>>(Comp: T): React.ForwardRefExoticComponent<React.PropsWithoutRef<React.ComponentProps<T>> & React.RefAttributes<any>>;
|
|
7
7
|
/**
|
|
8
8
|
* 某些组件会用React.Children.only检查子节点
|
|
9
9
|
* 需要做处理避免报错
|
|
10
10
|
*/
|
|
11
|
-
export declare function withSingleChild(Comp: ComponentType<any>, needsConvert?: string[]): (props: any) =>
|
|
12
|
-
export declare function withSingleFunctionChild(Comp: ComponentType<any>): (props: any) =>
|
|
11
|
+
export declare function withSingleChild(Comp: ComponentType<any>, needsConvert?: string[]): (props: any) => JSX.Element;
|
|
12
|
+
export declare function withSingleFunctionChild(Comp: ComponentType<any>): (props: any) => JSX.Element;
|
|
13
13
|
/**
|
|
14
14
|
* moment对象在序列化后会被转为字符串
|
|
15
15
|
* 需要让日期类组件支持接受字符串值
|
|
16
16
|
*/
|
|
17
|
-
export declare function withMomentProps(Comp: ComponentType<any>, needsConvert?: string[]): (props: any) =>
|
|
17
|
+
export declare function withMomentProps(Comp: ComponentType<any>, needsConvert?: string[]): (props: any) => JSX.Element;
|
package/lib/utils/hoc.js
CHANGED
|
@@ -48,9 +48,9 @@ function convertProps(props, list, mapper) {
|
|
|
48
48
|
return out;
|
|
49
49
|
}
|
|
50
50
|
function withWrap(Comp) {
|
|
51
|
-
return (props) => {
|
|
52
|
-
return /* @__PURE__ */ import_react.default.createElement(Comp, { ...props });
|
|
53
|
-
};
|
|
51
|
+
return (0, import_react.forwardRef)((props, ref) => {
|
|
52
|
+
return /* @__PURE__ */ import_react.default.createElement(Comp, { ...props, ref });
|
|
53
|
+
});
|
|
54
54
|
}
|
|
55
55
|
function withSingleChild(Comp, needsConvert = ["children"]) {
|
|
56
56
|
return (props) => {
|
package/lib/utils/miniRedux.d.ts
CHANGED
|
@@ -12,6 +12,6 @@ declare const _default: <State extends Record<string, any>, Namespace extends st
|
|
|
12
12
|
payload: any;
|
|
13
13
|
}) => void;
|
|
14
14
|
}>;
|
|
15
|
-
Provider: (ComponentUi: any) => (props: any) =>
|
|
15
|
+
Provider: (ComponentUi: any) => (props: any) => JSX.Element;
|
|
16
16
|
};
|
|
17
17
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pisell/materials",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.207",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"module": "./es/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
"ahooks": "^3.7.6",
|
|
59
59
|
"react-infinite-scroll-component": "^6.1.0",
|
|
60
60
|
"@pisell/utils": "1.0.23",
|
|
61
|
-
"@pisell/
|
|
62
|
-
"@pisell/
|
|
61
|
+
"@pisell/date-picker": "1.0.67",
|
|
62
|
+
"@pisell/icon": "0.0.8"
|
|
63
63
|
},
|
|
64
64
|
"peerDependencies": {
|
|
65
65
|
"react": "^18.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.materials-grid{display:flex;flex-direction:column;height:100%;width:100%}.materials-grid-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.materials-grid-header .right-wrap{align-items:center;display:flex;gap:8px}.materials-grid-actions{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.materials-grid-actions .left-wrap{align-items:center;display:flex;flex:1 1}.materials-grid-actions .left-wrap .pisell-lowcode-form-item{margin-bottom:0}.materials-grid-actions .right-wrap{align-items:center;display:flex;gap:8px}.materials-grid-actions .right-wrap .icon{cursor:pointer;transition:.2s}.materials-grid-actions .right-wrap .icon:hover{color:var(--theme-color)}.materials-grid-actions .right-wrap .button{align-items:center;display:flex;font-size:12px;height:28px;justify-content:center}.filter-dropdown-wrap{display:flex;flex-direction:column;max-height:400px;max-width:calc(100vw - 24px);min-width:250px;padding:4px;width:400px}.filter-dropdown-wrap .filter-dropdown-wrap-content{flex:1 1;overflow:auto}.filter-dropdown-wrap .filter-dropdown-drag-item{align-items:center;background:#f9fafb;background:var(--gray-50,#f9fafb);border-radius:8px;display:flex;margin-bottom:12px;padding:8px 12px 12px}.filter-dropdown-wrap .filter-dropdown-drag-item .dots-six-icon{color:#98a2b3;cursor:pointer;font-size:24px}.filter-dropdown-wrap .filter-dropdown-drag-item .pisell-lowcode-form-item{margin-bottom:0}.filter-dropdown-wrap .filter-dropdown-drag-item .filter-dropdown-drag-item-right{flex:1 1;margin-left:16px}.filter-dropdown-wrap .filter-dropdown-drag-item .filter-dropdown-drag-item-right .filter-dropdown-drag-item-title{color:#777;color:var(--text-text-2,#777);font-size:14px;font-style:normal;font-weight:600;line-height:20px}.filter-dropdown-container-wrap{border-bottom:1px solid #e2e2e2;border-bottom:1px solid var(--surface-surface-4,#e2e2e2);margin-bottom:20px;min-height:70px}.filter-dropdown-container-wrap:last-child{border:none}.filter-dropdown-container-wrap .filter-dropdown-container-title-wrap{align-items:center;color:#919191;color:var(--text-text-3,#919191);display:flex;font-size:16px;font-style:normal;font-weight:600;line-height:22px;margin-bottom:12px}.filter-dropdown-container-wrap .filter-dropdown-container-title-wrap .filter-dropdown-container-title{color:#101828;color:var(--gray-900,#101828);font-size:16px;font-style:normal;font-weight:600;line-height:24px;margin-right:6px}.filter-dropdown-container-wrap .filter-dropdown-container-title-wrap .filter-dropdown-container-icon-help{color:#98a2b3;color:var(--gray-400,#98a2b3);font-size:20px}.filter-dropdown-container-wrap .filter-dropdown-container-filter-wrap{min-height:80px}.materials-sort-list-empty{color:#5a5a5a;display:block;padding-top:22px;text-align:center}.materials-grid-summary{margin-bottom:16px}.grid-view-table-wrap{position:relative}.materials-grid-paginator{align-items:center;background-color:#fff;border:1px solid #f0f0f0;border-radius:0 0 8px 8px;border-top:none;display:flex;height:50px;justify-content:center;margin:0!important;padding:0 20px;width:100%}.materials-grid-paginator .pisell-lowcode-pagination-total-text{color:#667085;color:var(--gray-500,#667085);font-size:14px;font-style:normal;font-weight:500;margin-right:auto}.materials-grid-paginator .pisell-lowcode-pagination-item{border:1px solid #d0d5dd;border-radius:0;border-right:0;margin:0;position:relative}.materials-grid-paginator .pisell-lowcode-pagination-jump-next,.materials-grid-paginator .pisell-lowcode-pagination-jump-prev{border:1px solid #d0d5dd;border-radius:0;border-right:none;margin:0}.materials-grid-paginator .pisell-lowcode-pagination-item-link:hover{color:rgba(0,0,0,.88)!important;font-weight:450!important}.materials-grid-paginator .pisell-lowcode-pagination-item-link:hover .pisell-lowcode-pagination-item-link-icon{color:rgba(0,0,0,.88)!important;font-weight:450!important}.materials-grid-paginator .pisell-lowcode-pagination-item-active:hover{border-color:#d0d5dd!important}.materials-grid-paginator .pisell-lowcode-pagination-item-active{background-color:rgba(0,0,0,.06)}.materials-grid-paginator .pisell-lowcode-pagination-item-active a{color:rgba(0,0,0,.88)!important;font-weight:450!important}.materials-grid-paginator .pisell-lowcode-pagination-prev{align-items:center;border:1px solid #d0d5dd;border-radius:8px 0 0 8px;border-right:none;display:flex;justify-content:center;margin:0;min-width:auto}.materials-grid-paginator .pisell-lowcode-pagination-next{align-items:center;border:1px solid #d0d5dd;border-radius:0 8px 8px 0;display:flex;justify-content:center;margin:0;min-width:auto}.paginator-page-btn{align-items:center;border-radius:4px 4px 4px 4px;color:#344054;color:var(--gray-700,#344054);cursor:pointer;display:flex;font-size:12px;font-weight:400;justify-content:center;padding:10px 16px;transition:.2s;-ms-user-select:none;user-select:none}.paginator-page-btn .paginator-page-btn-text{font-weight:600}.paginator-page-btn .paginator-page-btn-left-icon,.paginator-page-btn .paginator-page-btn-right-icon{font-size:20px}.paginator-page-btn .paginator-page-btn-left-icon{margin-right:8px}.paginator-page-btn .paginator-page-btn-right-icon{margin-left:8px}.paginator-page-btn.left{margin-right:auto}.paginator-page-btn.left .icon{font-size:18px;margin-right:8px}.paginator-page-btn.right{margin-left:auto}.paginator-page-btn.right .icon{font-size:18px;margin-left:8px;transform:rotate(180deg)}.materials-grid-paginator-mini{align-items:center;background-color:#fff;border:1px solid #f0f0f0;border-radius:0 0 8px 8px;border-top:none;display:flex;height:50px;justify-content:space-between;margin:0!important;overflow:hidden;padding:0 20px;width:100%}.materials-grid-paginator-mini .paginator-page-btn{padding:8px}.materials-grid-paginator-mini .materials-grid-paginator-center{align-items:center;display:flex;gap:4px;justify-content:center}.materials-grid-paginator-mini .materials-grid-paginator-center .materials-grid-paginator-center-text{color:#344054;color:var(--gray-700,#344054);font-size:14px;font-style:normal;font-weight:400}.materials-grid-paginator-mini .materials-grid-paginator-center .materials-grid-paginator-center-value{color:#344054;color:var(--gray-700,#344054);font-size:14px;font-style:normal;font-weight:500}.materials-grid-paginator-mini .pisell-lowcode-pagination-next,.materials-grid-paginator-mini .pisell-lowcode-pagination-prev{border:1px solid #d0d5dd;border-radius:8px;margin:0}.materials-grid-paginator-mini .pisell-lowcode-pagination-next .paginator-page-btn-left-icon,.materials-grid-paginator-mini .pisell-lowcode-pagination-prev .paginator-page-btn-left-icon{margin-right:0}.materials-grid-paginator-mini .pisell-lowcode-pagination-next .paginator-page-btn-right-icon,.materials-grid-paginator-mini .pisell-lowcode-pagination-prev .paginator-page-btn-right-icon{margin-left:0}.react-resizable{position:relative}.react-resizable-handle{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHN0eWxlPSJiYWNrZ3JvdW5kLWNvbG9yOiNmZmZmZmYwMCIgd2lkdGg9IjYiIGhlaWdodD0iNiI+PHBhdGggZD0iTTYgNkgwVjQuMmg0LjJWMEg2djZaIiBvcGFjaXR5PSIuMzAyIi8+PC9zdmc+);background-origin:content-box;background-position:100% 100%;background-repeat:no-repeat;box-sizing:border-box;height:20px;padding:0 3px 3px 0;position:absolute;width:20px}.react-resizable-handle-sw{bottom:0;cursor:sw-resize;left:0;transform:rotate(90deg)}.react-resizable-handle-se{bottom:0;cursor:se-resize;right:0}.react-resizable-handle-nw{cursor:nw-resize;left:0;top:0;transform:rotate(180deg)}.react-resizable-handle-ne{cursor:ne-resize;right:0;top:0;transform:rotate(270deg)}.react-resizable-handle-e,.react-resizable-handle-w{cursor:ew-resize;margin-top:-10px;top:50%}.react-resizable-handle-w{left:0;transform:rotate(135deg)}.react-resizable-handle-e{right:0;transform:rotate(315deg)}.react-resizable-handle-n,.react-resizable-handle-s{cursor:ns-resize;left:50%;margin-left:-10px}.react-resizable-handle-n{top:0;transform:rotate(225deg)}.react-resizable-handle-s{bottom:0;transform:rotate(45deg)}.materials-grid-table-header-cell{align-items:center;display:flex;height:44px;padding:0 14px}.materials-grid-table-header-cell .field-icon{color:#777;font-size:18px}.materials-grid-table-header-cell .materials-grid-table-header-cell-content{color:#1b1b1b;flex:auto;font-size:14px;font-weight:600;overflow:hidden;padding-right:10px;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.materials-grid-table-header-cell .actions{align-items:center;display:flex;gap:8px}.materials-grid-table-header-cell .actions .action{color:#ababab;cursor:pointer;font-size:14px}.editable-cell-value-wrap{height:100%;width:100%}.materials-grid-table-cell{height:1px;padding:0!important}.cell-provider{align-items:center;border-radius:4px;cursor:pointer;display:flex;height:100%;justify-content:center;padding:12px;position:relative;width:100%}.cell-provider.focus{box-shadow:var(--theme-color) 0 0 0 1px!important}
|