ns-base-module 1.1.61 → 1.1.63
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/LICENSE +21 -21
- package/README.md +20 -20
- package/dist/Button/AntdIconButton.js +2 -2
- package/dist/Button/ConfigButton.js +12 -12
- package/dist/ChooseModal/index.js +6 -6
- package/dist/Entry/components/ChooseModalTable.js +6 -6
- package/dist/Entry/components/ImageText.js +5 -5
- package/dist/Entry/components/InputNumber.js +10 -10
- package/dist/Entry/components/ListSelect.js +6 -6
- package/dist/Entry/components/ObjectSelect.js +5 -5
- package/dist/Entry/components/Select.js +5 -5
- package/dist/Entry/components/TagsDatePicker.js +6 -6
- package/dist/Entry/components/TreeSelect.js +5 -5
- package/dist/Entry/components/index.scss +97 -97
- package/dist/Entry/components/utils.js +5 -5
- package/dist/Entry/data.d.ts +133 -133
- package/dist/Entry/index.js +6 -6
- package/dist/FilterPopover/FilterClearIcon.js +6 -6
- package/dist/FilterPopover/index.js +6 -6
- package/dist/Icon/index.js +5 -5
- package/dist/IconTools/utils.js +5 -5
- package/dist/SubtotalsModal/index.js +7 -7
- package/dist/TableHeaderConfigPopover/index.js +36 -11
- package/dist/TableHeaderConfigPopover/updateColumns.js +5 -5
- package/dist/TableHeaderConfigPopover/utils.js +5 -5
- package/dist/WidgetConfig/index.js +8 -8
- package/dist/umd/ns-base-module.min.css +1 -1
- package/dist/umd/ns-base-module.min.js +1 -1
- package/dist/utils/cache.js +10 -10
- package/dist/utils/language.js +1 -0
- package/dist/utils/services/global.js +49 -49
- package/dist/utils/utils.js +50 -50
- package/package.json +100 -100
- package/style/basics.scss +671 -671
- package/style/components/ClassFilter.scss +74 -74
- package/style/components/FilterPopover.scss +40 -40
- package/style/components/SubtotalsModal.scss +388 -388
- package/style/components/TableHeaderConfigPopover.scss +105 -105
- package/style/components/index.scss +4 -4
- package/style/default.scss +1219 -1219
- package/style/index.scss +1 -1
- package/style/mixins/index.scss +28 -28
- package/style/mixins/libs/tint.scss +23 -23
- package/style/variables.scss +684 -684
- package/types/Action.d.ts +43 -43
- package/types/types.d.ts +1 -1
- package/dist/Button/AntdIconButton.d.ts +0 -11
- package/dist/Button/AntdIconButton.d.ts.map +0 -1
- package/dist/Button/ConfigButton.d.ts +0 -18
- package/dist/Button/ConfigButton.d.ts.map +0 -1
- package/dist/Button/index.d.ts +0 -8
- package/dist/Button/index.d.ts.map +0 -1
- package/dist/ChooseModal/index.d.ts +0 -21
- package/dist/ChooseModal/index.d.ts.map +0 -1
- package/dist/ClassFilter/index.d.ts +0 -11
- package/dist/ClassFilter/index.d.ts.map +0 -1
- package/dist/ClassFilter/indexVertical.d.ts +0 -11
- package/dist/ClassFilter/indexVertical.d.ts.map +0 -1
- package/dist/ClassFilter/util.d.ts +0 -17
- package/dist/ClassFilter/util.d.ts.map +0 -1
- package/dist/CopyCol/index.d.ts +0 -4
- package/dist/CopyCol/index.d.ts.map +0 -1
- package/dist/Entry/EntryCriteria.d.ts +0 -17
- package/dist/Entry/EntryCriteria.d.ts.map +0 -1
- package/dist/Entry/EntryItem.d.ts +0 -34
- package/dist/Entry/EntryItem.d.ts.map +0 -1
- package/dist/Entry/components/Checkbox.d.ts +0 -12
- package/dist/Entry/components/Checkbox.d.ts.map +0 -1
- package/dist/Entry/components/ChooseModalTable.d.ts +0 -15
- package/dist/Entry/components/ChooseModalTable.d.ts.map +0 -1
- package/dist/Entry/components/Condition.d.ts +0 -9
- package/dist/Entry/components/Condition.d.ts.map +0 -1
- package/dist/Entry/components/DatePicker.d.ts +0 -12
- package/dist/Entry/components/DatePicker.d.ts.map +0 -1
- package/dist/Entry/components/Etable2Modal.d.ts +0 -4
- package/dist/Entry/components/Etable2Modal.d.ts.map +0 -1
- package/dist/Entry/components/Express.d.ts +0 -8
- package/dist/Entry/components/Express.d.ts.map +0 -1
- package/dist/Entry/components/GroupInput.d.ts +0 -13
- package/dist/Entry/components/GroupInput.d.ts.map +0 -1
- package/dist/Entry/components/ImageText.d.ts +0 -13
- package/dist/Entry/components/ImageText.d.ts.map +0 -1
- package/dist/Entry/components/Input.d.ts +0 -27
- package/dist/Entry/components/Input.d.ts.map +0 -1
- package/dist/Entry/components/InputNumber.d.ts +0 -18
- package/dist/Entry/components/InputNumber.d.ts.map +0 -1
- package/dist/Entry/components/InputNumberRange.d.ts +0 -10
- package/dist/Entry/components/InputNumberRange.d.ts.map +0 -1
- package/dist/Entry/components/ListSelect.d.ts +0 -15
- package/dist/Entry/components/ListSelect.d.ts.map +0 -1
- package/dist/Entry/components/ObjectSelect.d.ts +0 -14
- package/dist/Entry/components/ObjectSelect.d.ts.map +0 -1
- package/dist/Entry/components/Progress.d.ts +0 -11
- package/dist/Entry/components/Progress.d.ts.map +0 -1
- package/dist/Entry/components/Radio.d.ts +0 -15
- package/dist/Entry/components/Radio.d.ts.map +0 -1
- package/dist/Entry/components/Select.d.ts +0 -29
- package/dist/Entry/components/Select.d.ts.map +0 -1
- package/dist/Entry/components/Switch.d.ts +0 -6
- package/dist/Entry/components/Switch.d.ts.map +0 -1
- package/dist/Entry/components/TagsDatePicker.d.ts +0 -7
- package/dist/Entry/components/TagsDatePicker.d.ts.map +0 -1
- package/dist/Entry/components/TimePicker.d.ts +0 -6
- package/dist/Entry/components/TimePicker.d.ts.map +0 -1
- package/dist/Entry/components/TreeSelect.d.ts +0 -5
- package/dist/Entry/components/TreeSelect.d.ts.map +0 -1
- package/dist/Entry/components/utils.d.ts +0 -1
- package/dist/Entry/components/utils.d.ts.map +0 -1
- package/dist/Entry/index.d.ts +0 -54
- package/dist/Entry/index.d.ts.map +0 -1
- package/dist/FilterPopover/Filter.d.ts +0 -30
- package/dist/FilterPopover/Filter.d.ts.map +0 -1
- package/dist/FilterPopover/FilterClearIcon.d.ts +0 -8
- package/dist/FilterPopover/FilterClearIcon.d.ts.map +0 -1
- package/dist/FilterPopover/index.d.ts +0 -21
- package/dist/FilterPopover/index.d.ts.map +0 -1
- package/dist/FilterPopover/vTableFilter.d.ts +0 -25
- package/dist/FilterPopover/vTableFilter.d.ts.map +0 -1
- package/dist/Icon/IconCreate.d.ts +0 -11
- package/dist/Icon/IconCreate.d.ts.map +0 -1
- package/dist/Icon/index.d.ts +0 -6
- package/dist/Icon/index.d.ts.map +0 -1
- package/dist/IconTools/index.d.ts +0 -13
- package/dist/IconTools/index.d.ts.map +0 -1
- package/dist/IconTools/utils.d.ts +0 -15
- package/dist/IconTools/utils.d.ts.map +0 -1
- package/dist/SubtotalsModal/Increment.d.ts +0 -18
- package/dist/SubtotalsModal/Increment.d.ts.map +0 -1
- package/dist/SubtotalsModal/addSubtotals.d.ts +0 -22
- package/dist/SubtotalsModal/addSubtotals.d.ts.map +0 -1
- package/dist/SubtotalsModal/dndQuota.d.ts +0 -27
- package/dist/SubtotalsModal/dndQuota.d.ts.map +0 -1
- package/dist/SubtotalsModal/index.d.ts +0 -22
- package/dist/SubtotalsModal/index.d.ts.map +0 -1
- package/dist/SubtotalsModal/subtotalTemplate.d.ts +0 -22
- package/dist/SubtotalsModal/subtotalTemplate.d.ts.map +0 -1
- package/dist/SubtotalsModal/util.d.ts +0 -3
- package/dist/SubtotalsModal/util.d.ts.map +0 -1
- package/dist/SubtotalsModal/viewSubtotals.d.ts +0 -12
- package/dist/SubtotalsModal/viewSubtotals.d.ts.map +0 -1
- package/dist/TableHeaderConfigPopover/Dustbin.d.ts +0 -5
- package/dist/TableHeaderConfigPopover/Dustbin.d.ts.map +0 -1
- package/dist/TableHeaderConfigPopover/index.d.ts +0 -22
- package/dist/TableHeaderConfigPopover/index.d.ts.map +0 -1
- package/dist/TableHeaderConfigPopover/updateColumns.d.ts +0 -10
- package/dist/TableHeaderConfigPopover/updateColumns.d.ts.map +0 -1
- package/dist/TableHeaderConfigPopover/utils.d.ts +0 -16
- package/dist/TableHeaderConfigPopover/utils.d.ts.map +0 -1
- package/dist/WidgetConfig/index.d.ts +0 -40
- package/dist/WidgetConfig/index.d.ts.map +0 -1
- package/dist/index.d.ts +0 -6
- package/dist/index.d.ts.map +0 -1
- package/dist/test/index.d.ts +0 -4
- package/dist/test/index.d.ts.map +0 -1
- package/dist/utils/cache.d.ts +0 -17
- package/dist/utils/cache.d.ts.map +0 -1
- package/dist/utils/enum.d.ts +0 -22
- package/dist/utils/enum.d.ts.map +0 -1
- package/dist/utils/errorMsg.d.ts +0 -3
- package/dist/utils/errorMsg.d.ts.map +0 -1
- package/dist/utils/language.d.ts +0 -283
- package/dist/utils/language.d.ts.map +0 -1
- package/dist/utils/request.d.ts +0 -1
- package/dist/utils/request.d.ts.map +0 -1
- package/dist/utils/services/global.d.ts +0 -130
- package/dist/utils/services/global.d.ts.map +0 -1
- package/dist/utils/utils.d.ts +0 -111
- package/dist/utils/utils.d.ts.map +0 -1
package/dist/Entry/data.d.ts
CHANGED
|
@@ -1,133 +1,133 @@
|
|
|
1
|
-
// export type EntryType =
|
|
2
|
-
// | 'Input'
|
|
3
|
-
// | 'InputNumber'
|
|
4
|
-
// | 'TableInput'
|
|
5
|
-
// | 'Select'
|
|
6
|
-
// | 'MultSelect'
|
|
7
|
-
// | 'DatePicker'
|
|
8
|
-
// | 'DateTimePicker'
|
|
9
|
-
// | 'RangePicker'
|
|
10
|
-
// | 'RangeTimePicker'
|
|
11
|
-
// | 'Switch'
|
|
12
|
-
// | 'Textarea'
|
|
13
|
-
// | 'TableTextarea'
|
|
14
|
-
// | 'Image'
|
|
15
|
-
// | 'Checkbox'
|
|
16
|
-
// | 'CheckboxGroup'
|
|
17
|
-
// | 'Radio'
|
|
18
|
-
// | 'ImageUpload'
|
|
19
|
-
// | 'FileUpload'
|
|
20
|
-
// | 'TreeSelect';
|
|
21
|
-
import { initLang } from '@/utils/language';
|
|
22
|
-
import { TagConditionEnum } from '@/utils/enum';
|
|
23
|
-
|
|
24
|
-
export enum EntryType {
|
|
25
|
-
Input = 'Input',
|
|
26
|
-
InputNumber = 'InputNumber',
|
|
27
|
-
InputNumberRange = 'InputNumberRange',
|
|
28
|
-
Password = 'Password',
|
|
29
|
-
Search = 'Search',
|
|
30
|
-
AllSearch = 'AllSearch',
|
|
31
|
-
TableInput = 'TableInput',
|
|
32
|
-
TableInputNumber = 'TableInputNumber',
|
|
33
|
-
Select = 'Select',
|
|
34
|
-
ObjectSelect = 'ObjectSelect',
|
|
35
|
-
MultSelect = 'MultSelect',
|
|
36
|
-
DatePicker = 'DatePicker',
|
|
37
|
-
DateTimePicker = 'DateTimePicker',
|
|
38
|
-
RangePicker = 'RangePicker',
|
|
39
|
-
RangeTimePicker = 'RangeTimePicker',
|
|
40
|
-
TimePicker = 'TimePicker',
|
|
41
|
-
SwitchRead = 'SwitchRead',
|
|
42
|
-
Switch = 'Switch',
|
|
43
|
-
Textarea = 'Textarea',
|
|
44
|
-
TableTextarea = 'TableTextarea',
|
|
45
|
-
Image = 'Image',
|
|
46
|
-
Checkbox = 'Checkbox',
|
|
47
|
-
CheckboxGroup = 'CheckboxGroup',
|
|
48
|
-
Radio = 'Radio',
|
|
49
|
-
RadioGroup = 'RadioGroup',
|
|
50
|
-
ImageUpload = 'ImageUpload',
|
|
51
|
-
FileUpload = 'FileUpload',
|
|
52
|
-
TreeSelect = 'TreeSelect',
|
|
53
|
-
Cron = 'Cron', // cron 表达式
|
|
54
|
-
Editor = 'Editor', // 富文本编辑器
|
|
55
|
-
EditorPreview = 'EditorPreview', // 富文本编辑器的预览
|
|
56
|
-
EditorModal = 'EditorModal', // 富文本编辑器弹框
|
|
57
|
-
JsonRead = 'JsonRead', // json预览
|
|
58
|
-
Link = 'Link', // 超链接
|
|
59
|
-
OpenBrowser = 'OpenBrowser', // 打开新浏览器
|
|
60
|
-
Tag = 'Tag', // 标签
|
|
61
|
-
Tags = 'Tags', // 标签组
|
|
62
|
-
FormTable = 'FormTable', // 可操作表格
|
|
63
|
-
Condition = 'Condition', // 条件组件
|
|
64
|
-
ColorPicker = 'ColorPicker', // 颜色选择器
|
|
65
|
-
TagSelect = 'TagSelect', // 可输入的下拉框
|
|
66
|
-
Styles = 'styles', // 配置样式
|
|
67
|
-
TimelineModal = 'TimelineModal', // 时间轴弹窗
|
|
68
|
-
ChooseModal = 'ChooseModal', // 选择弹窗
|
|
69
|
-
ObjectSelect = 'ObjectSelect', // 下拉选择带出整个对象
|
|
70
|
-
TableEditableModal = 'TableEditableModal', //可编辑的表格弹窗
|
|
71
|
-
AceEditor = 'AceEditor', // 代码编辑器
|
|
72
|
-
AceTable = 'AceTable', // 代码表格
|
|
73
|
-
Tree = 'Tree', // 树组件
|
|
74
|
-
Express = 'Express', // 表达式
|
|
75
|
-
Steps = 'Steps', // 步骤条
|
|
76
|
-
QRCode = 'QRCode',
|
|
77
|
-
Barcode = 'Barcode',
|
|
78
|
-
GroupInput = 'GroupInput',
|
|
79
|
-
EditorPreview = 'EditorPreview',
|
|
80
|
-
TagsDatePicker = 'TagsDatePicker',
|
|
81
|
-
ColorPicker = 'ColorPicker',
|
|
82
|
-
ChooseModalTable = 'ChooseModalTable', // 选择弹框,选择结果为表格
|
|
83
|
-
Progress = 'Progress', // 进度条
|
|
84
|
-
ImageText = 'ImageText', //图文组件
|
|
85
|
-
Etable2Modal = 'Etable2Modal', // 单据页的弹框选择,ModalWithConfig封装成的弹框选择
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export enum TableReadEntryType {
|
|
89
|
-
Image = 'Image',
|
|
90
|
-
SwtichRead = 'SwtichRead',
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
export const tableReadEntryEnum = {
|
|
94
|
-
[TableReadEntryType.Image]: '图片',
|
|
95
|
-
[TableReadEntryType.SwtichRead]: '开关',
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
export enum TableActionEntryType {
|
|
99
|
-
Image = 'Image',
|
|
100
|
-
Swtich = 'Swtich',
|
|
101
|
-
SwtichRead = 'SwtichRead',
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
export const tableActionEntryEnum = {
|
|
105
|
-
[TableActionEntryType.Image]: '图片',
|
|
106
|
-
[TableActionEntryType.Swtich]: '开关',
|
|
107
|
-
[TableActionEntryType.SwtichRead]: '只读开关',
|
|
108
|
-
};
|
|
109
|
-
|
|
110
|
-
export const tagStringEnum = {
|
|
111
|
-
[TagConditionEnum.Equals]: initLang({ id: 'condition.equals' }),
|
|
112
|
-
[TagConditionEnum.NotEqual]: initLang({ id: 'condition.NotEqual' }),
|
|
113
|
-
// [TagConditionEnum.In]: '在……范围内',
|
|
114
|
-
[TagConditionEnum.Contains]: initLang({ id: 'condition.contains' }),
|
|
115
|
-
};
|
|
116
|
-
|
|
117
|
-
export const tagNumberEnum = {
|
|
118
|
-
[TagConditionEnum.Equals]: initLang({ id: 'condition.equals' }),
|
|
119
|
-
[TagConditionEnum.NotEqual]: initLang({ id: 'condition.NotEqual' }),
|
|
120
|
-
[TagConditionEnum.LessThan]: initLang({ id: 'condition.lessThan' }),
|
|
121
|
-
[TagConditionEnum.LessOrEqual]: initLang({ id: 'condition.lessOrEqual' }),
|
|
122
|
-
[TagConditionEnum.GreaterThan]: initLang({ id: 'condition.greaterThan' }),
|
|
123
|
-
[TagConditionEnum.GreaterOrEqual]: initLang({ id: 'condition.greaterOrEqual' }),
|
|
124
|
-
// [TagConditionEnum.In]: '在……范围内',
|
|
125
|
-
// [TagConditionEnum.Between]: '在……之间',
|
|
126
|
-
};
|
|
127
|
-
|
|
128
|
-
export interface ValueEnumType {
|
|
129
|
-
label: string;
|
|
130
|
-
value: any;
|
|
131
|
-
disabled?: boolean;
|
|
132
|
-
// style?: { bgColor?: string; color?: string; fontWeight?: boolean };
|
|
133
|
-
}
|
|
1
|
+
// export type EntryType =
|
|
2
|
+
// | 'Input'
|
|
3
|
+
// | 'InputNumber'
|
|
4
|
+
// | 'TableInput'
|
|
5
|
+
// | 'Select'
|
|
6
|
+
// | 'MultSelect'
|
|
7
|
+
// | 'DatePicker'
|
|
8
|
+
// | 'DateTimePicker'
|
|
9
|
+
// | 'RangePicker'
|
|
10
|
+
// | 'RangeTimePicker'
|
|
11
|
+
// | 'Switch'
|
|
12
|
+
// | 'Textarea'
|
|
13
|
+
// | 'TableTextarea'
|
|
14
|
+
// | 'Image'
|
|
15
|
+
// | 'Checkbox'
|
|
16
|
+
// | 'CheckboxGroup'
|
|
17
|
+
// | 'Radio'
|
|
18
|
+
// | 'ImageUpload'
|
|
19
|
+
// | 'FileUpload'
|
|
20
|
+
// | 'TreeSelect';
|
|
21
|
+
import { initLang } from '@/utils/language';
|
|
22
|
+
import { TagConditionEnum } from '@/utils/enum';
|
|
23
|
+
|
|
24
|
+
export enum EntryType {
|
|
25
|
+
Input = 'Input',
|
|
26
|
+
InputNumber = 'InputNumber',
|
|
27
|
+
InputNumberRange = 'InputNumberRange',
|
|
28
|
+
Password = 'Password',
|
|
29
|
+
Search = 'Search',
|
|
30
|
+
AllSearch = 'AllSearch',
|
|
31
|
+
TableInput = 'TableInput',
|
|
32
|
+
TableInputNumber = 'TableInputNumber',
|
|
33
|
+
Select = 'Select',
|
|
34
|
+
ObjectSelect = 'ObjectSelect',
|
|
35
|
+
MultSelect = 'MultSelect',
|
|
36
|
+
DatePicker = 'DatePicker',
|
|
37
|
+
DateTimePicker = 'DateTimePicker',
|
|
38
|
+
RangePicker = 'RangePicker',
|
|
39
|
+
RangeTimePicker = 'RangeTimePicker',
|
|
40
|
+
TimePicker = 'TimePicker',
|
|
41
|
+
SwitchRead = 'SwitchRead',
|
|
42
|
+
Switch = 'Switch',
|
|
43
|
+
Textarea = 'Textarea',
|
|
44
|
+
TableTextarea = 'TableTextarea',
|
|
45
|
+
Image = 'Image',
|
|
46
|
+
Checkbox = 'Checkbox',
|
|
47
|
+
CheckboxGroup = 'CheckboxGroup',
|
|
48
|
+
Radio = 'Radio',
|
|
49
|
+
RadioGroup = 'RadioGroup',
|
|
50
|
+
ImageUpload = 'ImageUpload',
|
|
51
|
+
FileUpload = 'FileUpload',
|
|
52
|
+
TreeSelect = 'TreeSelect',
|
|
53
|
+
Cron = 'Cron', // cron 表达式
|
|
54
|
+
Editor = 'Editor', // 富文本编辑器
|
|
55
|
+
EditorPreview = 'EditorPreview', // 富文本编辑器的预览
|
|
56
|
+
EditorModal = 'EditorModal', // 富文本编辑器弹框
|
|
57
|
+
JsonRead = 'JsonRead', // json预览
|
|
58
|
+
Link = 'Link', // 超链接
|
|
59
|
+
OpenBrowser = 'OpenBrowser', // 打开新浏览器
|
|
60
|
+
Tag = 'Tag', // 标签
|
|
61
|
+
Tags = 'Tags', // 标签组
|
|
62
|
+
FormTable = 'FormTable', // 可操作表格
|
|
63
|
+
Condition = 'Condition', // 条件组件
|
|
64
|
+
ColorPicker = 'ColorPicker', // 颜色选择器
|
|
65
|
+
TagSelect = 'TagSelect', // 可输入的下拉框
|
|
66
|
+
Styles = 'styles', // 配置样式
|
|
67
|
+
TimelineModal = 'TimelineModal', // 时间轴弹窗
|
|
68
|
+
ChooseModal = 'ChooseModal', // 选择弹窗
|
|
69
|
+
ObjectSelect = 'ObjectSelect', // 下拉选择带出整个对象
|
|
70
|
+
TableEditableModal = 'TableEditableModal', //可编辑的表格弹窗
|
|
71
|
+
AceEditor = 'AceEditor', // 代码编辑器
|
|
72
|
+
AceTable = 'AceTable', // 代码表格
|
|
73
|
+
Tree = 'Tree', // 树组件
|
|
74
|
+
Express = 'Express', // 表达式
|
|
75
|
+
Steps = 'Steps', // 步骤条
|
|
76
|
+
QRCode = 'QRCode',
|
|
77
|
+
Barcode = 'Barcode',
|
|
78
|
+
GroupInput = 'GroupInput',
|
|
79
|
+
EditorPreview = 'EditorPreview',
|
|
80
|
+
TagsDatePicker = 'TagsDatePicker',
|
|
81
|
+
ColorPicker = 'ColorPicker',
|
|
82
|
+
ChooseModalTable = 'ChooseModalTable', // 选择弹框,选择结果为表格
|
|
83
|
+
Progress = 'Progress', // 进度条
|
|
84
|
+
ImageText = 'ImageText', //图文组件
|
|
85
|
+
Etable2Modal = 'Etable2Modal', // 单据页的弹框选择,ModalWithConfig封装成的弹框选择
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
export enum TableReadEntryType {
|
|
89
|
+
Image = 'Image',
|
|
90
|
+
SwtichRead = 'SwtichRead',
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
export const tableReadEntryEnum = {
|
|
94
|
+
[TableReadEntryType.Image]: '图片',
|
|
95
|
+
[TableReadEntryType.SwtichRead]: '开关',
|
|
96
|
+
};
|
|
97
|
+
|
|
98
|
+
export enum TableActionEntryType {
|
|
99
|
+
Image = 'Image',
|
|
100
|
+
Swtich = 'Swtich',
|
|
101
|
+
SwtichRead = 'SwtichRead',
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export const tableActionEntryEnum = {
|
|
105
|
+
[TableActionEntryType.Image]: '图片',
|
|
106
|
+
[TableActionEntryType.Swtich]: '开关',
|
|
107
|
+
[TableActionEntryType.SwtichRead]: '只读开关',
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
export const tagStringEnum = {
|
|
111
|
+
[TagConditionEnum.Equals]: initLang({ id: 'condition.equals' }),
|
|
112
|
+
[TagConditionEnum.NotEqual]: initLang({ id: 'condition.NotEqual' }),
|
|
113
|
+
// [TagConditionEnum.In]: '在……范围内',
|
|
114
|
+
[TagConditionEnum.Contains]: initLang({ id: 'condition.contains' }),
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
export const tagNumberEnum = {
|
|
118
|
+
[TagConditionEnum.Equals]: initLang({ id: 'condition.equals' }),
|
|
119
|
+
[TagConditionEnum.NotEqual]: initLang({ id: 'condition.NotEqual' }),
|
|
120
|
+
[TagConditionEnum.LessThan]: initLang({ id: 'condition.lessThan' }),
|
|
121
|
+
[TagConditionEnum.LessOrEqual]: initLang({ id: 'condition.lessOrEqual' }),
|
|
122
|
+
[TagConditionEnum.GreaterThan]: initLang({ id: 'condition.greaterThan' }),
|
|
123
|
+
[TagConditionEnum.GreaterOrEqual]: initLang({ id: 'condition.greaterOrEqual' }),
|
|
124
|
+
// [TagConditionEnum.In]: '在……范围内',
|
|
125
|
+
// [TagConditionEnum.Between]: '在……之间',
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
export interface ValueEnumType {
|
|
129
|
+
label: string;
|
|
130
|
+
value: any;
|
|
131
|
+
disabled?: boolean;
|
|
132
|
+
// style?: { bgColor?: string; color?: string; fontWeight?: boolean };
|
|
133
|
+
}
|
package/dist/Entry/index.js
CHANGED
|
@@ -3,12 +3,12 @@ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" ==
|
|
|
3
3
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4
4
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
5
5
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
6
|
-
/*
|
|
7
|
-
* @Date: 2023-04-28 13:59:54
|
|
8
|
-
* @description:
|
|
9
|
-
* @author chenchangfu
|
|
10
|
-
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
11
|
-
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
6
|
+
/*
|
|
7
|
+
* @Date: 2023-04-28 13:59:54
|
|
8
|
+
* @description:
|
|
9
|
+
* @author chenchangfu
|
|
10
|
+
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
11
|
+
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
12
12
|
*/
|
|
13
13
|
import React from 'react';
|
|
14
14
|
import EntryItem from "./EntryItem";
|
|
@@ -4,12 +4,12 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
4
4
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
6
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
|
-
/*
|
|
8
|
-
* @Date: 2023-05-08 13:49:30
|
|
9
|
-
* @description:
|
|
10
|
-
* @author chenchangfu
|
|
11
|
-
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
12
|
-
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
7
|
+
/*
|
|
8
|
+
* @Date: 2023-05-08 13:49:30
|
|
9
|
+
* @description:
|
|
10
|
+
* @author chenchangfu
|
|
11
|
+
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
12
|
+
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
13
13
|
*/
|
|
14
14
|
import { Tooltip } from "antd";
|
|
15
15
|
import React from "react";
|
|
@@ -15,12 +15,12 @@ function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
|
15
15
|
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); }
|
|
16
16
|
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; }
|
|
17
17
|
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; }
|
|
18
|
-
/*
|
|
19
|
-
* @Date: 2023-05-08 13:49:30
|
|
20
|
-
* @description:
|
|
21
|
-
* @author chenchangfu
|
|
22
|
-
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
23
|
-
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
18
|
+
/*
|
|
19
|
+
* @Date: 2023-05-08 13:49:30
|
|
20
|
+
* @description:
|
|
21
|
+
* @author chenchangfu
|
|
22
|
+
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
23
|
+
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
24
24
|
*/
|
|
25
25
|
import { Popover } from "antd";
|
|
26
26
|
import React, { useMemo, useState } from "react";
|
package/dist/Icon/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @description:
|
|
3
|
-
* @author chenchangfu
|
|
4
|
-
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
5
|
-
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
1
|
+
/*
|
|
2
|
+
* @description:
|
|
3
|
+
* @author chenchangfu
|
|
4
|
+
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
5
|
+
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { createFromIconfontCN } from "@ant-design/icons";
|
package/dist/IconTools/utils.js
CHANGED
|
@@ -47,11 +47,11 @@ var flatColumns = function flatColumns(_columns) {
|
|
|
47
47
|
return initArr;
|
|
48
48
|
};
|
|
49
49
|
|
|
50
|
-
/**
|
|
51
|
-
* customColumns 模板数据
|
|
52
|
-
* columns 新接口数据
|
|
53
|
-
*
|
|
54
|
-
* 匹配旧数据 是否有字段增删,返回新表头
|
|
50
|
+
/**
|
|
51
|
+
* customColumns 模板数据
|
|
52
|
+
* columns 新接口数据
|
|
53
|
+
*
|
|
54
|
+
* 匹配旧数据 是否有字段增删,返回新表头
|
|
55
55
|
* */
|
|
56
56
|
export function adapterColumns(customColumns, columns) {
|
|
57
57
|
if (customColumns && customColumns.length && columns && columns.length) {
|
|
@@ -4,14 +4,14 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
4
4
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
5
5
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
|
-
/*
|
|
8
|
-
* @description:
|
|
9
|
-
* @author chenchangfu
|
|
10
|
-
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
11
|
-
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
7
|
+
/*
|
|
8
|
+
* @description:
|
|
9
|
+
* @author chenchangfu
|
|
10
|
+
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
11
|
+
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
12
12
|
*/
|
|
13
|
-
/**
|
|
14
|
-
* 小计弹窗
|
|
13
|
+
/**
|
|
14
|
+
* 小计弹窗
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import { PlusOutlined } from "@ant-design/icons";
|
|
@@ -21,12 +21,12 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
21
21
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
22
22
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
23
23
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
24
|
-
/*
|
|
25
|
-
* @Date: 2023-05-08 13:49:30
|
|
26
|
-
* @description:
|
|
27
|
-
* @author chenchangfu
|
|
28
|
-
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
29
|
-
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
24
|
+
/*
|
|
25
|
+
* @Date: 2023-05-08 13:49:30
|
|
26
|
+
* @description:
|
|
27
|
+
* @author chenchangfu
|
|
28
|
+
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
29
|
+
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
30
30
|
*/
|
|
31
31
|
// import { crossContext } from "@/my-context";
|
|
32
32
|
// import { initLang } from "@/utils/language";
|
|
@@ -974,10 +974,26 @@ var ColumnsToolbar = function ColumnsToolbar(_ref4) {
|
|
|
974
974
|
}
|
|
975
975
|
});
|
|
976
976
|
};
|
|
977
|
+
|
|
978
|
+
// 取消选择 恢复默认
|
|
979
|
+
var cancelSelect = function cancelSelect() {
|
|
980
|
+
setCurItem({});
|
|
981
|
+
setValue("");
|
|
982
|
+
var loopColumns = function loopColumns(arr, firstLoop) {
|
|
983
|
+
return arr.map(function (field) {
|
|
984
|
+
return _objectSpread(_objectSpread({}, field), {}, {
|
|
985
|
+
checked: typeof field.checked === "boolean" ? field.checked : field.defaultDisplay == false ? false : true,
|
|
986
|
+
children: field.children ? loopColumns(field.children) : null
|
|
987
|
+
});
|
|
988
|
+
});
|
|
989
|
+
};
|
|
990
|
+
var _columns = loopColumns(cloneDeep(props.columns), true);
|
|
991
|
+
props.updateColumns(_columns);
|
|
992
|
+
};
|
|
977
993
|
return /*#__PURE__*/React.createElement("div", {
|
|
978
994
|
className: "popover-body",
|
|
979
995
|
style: {
|
|
980
|
-
width: "
|
|
996
|
+
width: "500px"
|
|
981
997
|
}
|
|
982
998
|
}, /*#__PURE__*/React.createElement("div", {
|
|
983
999
|
className: "top-wrap"
|
|
@@ -1084,7 +1100,7 @@ var ColumnsToolbar = function ColumnsToolbar(_ref4) {
|
|
|
1084
1100
|
className: "set-text-default"
|
|
1085
1101
|
}, initLang({
|
|
1086
1102
|
id: "prompt.text.default"
|
|
1087
|
-
})),
|
|
1103
|
+
})), /*#__PURE__*/React.createElement("span", null, /*#__PURE__*/React.createElement(Tooltip, {
|
|
1088
1104
|
placement: "top",
|
|
1089
1105
|
title: initLang({
|
|
1090
1106
|
id: "prompt.copyTemplate"
|
|
@@ -1127,17 +1143,18 @@ var ColumnsToolbar = function ColumnsToolbar(_ref4) {
|
|
|
1127
1143
|
return handleSet(item);
|
|
1128
1144
|
}
|
|
1129
1145
|
}))));
|
|
1130
|
-
}))),
|
|
1146
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
1131
1147
|
style: {
|
|
1132
1148
|
position: "absolute",
|
|
1133
1149
|
right: 12,
|
|
1134
1150
|
bottom: 16
|
|
1135
1151
|
}
|
|
1136
|
-
}, (curItem === null || curItem === void 0 ? void 0 : curItem.is_default) === "Y" ? /*#__PURE__*/React.createElement(Button, {
|
|
1152
|
+
}, (curItem === null || curItem === void 0 ? void 0 : curItem.perms_type) == "private" && /*#__PURE__*/React.createElement(React.Fragment, null, (curItem === null || curItem === void 0 ? void 0 : curItem.is_default) === "Y" ? /*#__PURE__*/React.createElement(Button, {
|
|
1137
1153
|
onClick: function onClick() {
|
|
1138
1154
|
return handleSaveDefault("N");
|
|
1139
1155
|
},
|
|
1140
|
-
size: "small"
|
|
1156
|
+
size: "small",
|
|
1157
|
+
type: "primary"
|
|
1141
1158
|
}, initLang({
|
|
1142
1159
|
id: "button.set.cancelDefault"
|
|
1143
1160
|
})) : /*#__PURE__*/React.createElement(Button, {
|
|
@@ -1148,6 +1165,14 @@ var ColumnsToolbar = function ColumnsToolbar(_ref4) {
|
|
|
1148
1165
|
type: "primary"
|
|
1149
1166
|
}, initLang({
|
|
1150
1167
|
id: "button.set.default"
|
|
1168
|
+
}))), !!(curItem !== null && curItem !== void 0 && curItem.perms_type) && /*#__PURE__*/React.createElement(Button, {
|
|
1169
|
+
style: {
|
|
1170
|
+
marginLeft: 8
|
|
1171
|
+
},
|
|
1172
|
+
onClick: cancelSelect,
|
|
1173
|
+
size: "small"
|
|
1174
|
+
}, initLang({
|
|
1175
|
+
id: "button.set.cancelSelect"
|
|
1151
1176
|
})))));
|
|
1152
1177
|
};
|
|
1153
1178
|
var Index = function Index(_ref9) {
|
|
@@ -2,11 +2,11 @@ var _excluded = ["menuCode", "formTemplateCode", "columns", "updateColumns"];
|
|
|
2
2
|
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); }
|
|
3
3
|
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; }
|
|
4
4
|
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; }
|
|
5
|
-
/*
|
|
6
|
-
* @description:
|
|
7
|
-
* @author chenchangfu
|
|
8
|
-
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
9
|
-
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
5
|
+
/*
|
|
6
|
+
* @description:
|
|
7
|
+
* @author chenchangfu
|
|
8
|
+
* Copyright (c) 2019, AUTHOR. All rights reserved.
|
|
9
|
+
* AUTHOR PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
10
10
|
*/
|
|
11
11
|
import React from "react";
|
|
12
12
|
import TableHeaderConfigPopover from "../TableHeaderConfigPopover";
|
|
@@ -96,11 +96,11 @@ var updateTemplateFilds = function updateTemplateFilds(JsonPares, _columns) {
|
|
|
96
96
|
}
|
|
97
97
|
};
|
|
98
98
|
|
|
99
|
-
/**
|
|
100
|
-
* customColumns 模板数据
|
|
101
|
-
* columns 新接口数据
|
|
102
|
-
*
|
|
103
|
-
* 匹配旧数据 是否有字段增删,返回新表头
|
|
99
|
+
/**
|
|
100
|
+
* customColumns 模板数据
|
|
101
|
+
* columns 新接口数据
|
|
102
|
+
*
|
|
103
|
+
* 匹配旧数据 是否有字段增删,返回新表头
|
|
104
104
|
* */
|
|
105
105
|
export function adapterColumns(customColumns, columns) {
|
|
106
106
|
if (customColumns && customColumns.length && columns && columns.length) {
|
|
@@ -7,14 +7,14 @@ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _d
|
|
|
7
7
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
8
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
|
-
/*
|
|
11
|
-
* Copyright (c) 2023, Author All rights reserved.
|
|
12
|
-
* Author PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
13
|
-
*
|
|
14
|
-
* @Author: zhizhan
|
|
15
|
-
* @Date: 2022-08-08 08:02:59
|
|
16
|
-
* @FilePath: /copy/ns-mobile/packages/ns-mobile/src/config/index.ts
|
|
17
|
-
* @Description:
|
|
10
|
+
/*
|
|
11
|
+
* Copyright (c) 2023, Author All rights reserved.
|
|
12
|
+
* Author PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
|
|
13
|
+
*
|
|
14
|
+
* @Author: zhizhan
|
|
15
|
+
* @Date: 2022-08-08 08:02:59
|
|
16
|
+
* @FilePath: /copy/ns-mobile/packages/ns-mobile/src/config/index.ts
|
|
17
|
+
* @Description:
|
|
18
18
|
*/
|
|
19
19
|
import { get, merge } from "lodash";
|
|
20
20
|
// import getStorageSync from "../compatible/getStorageSync.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.class-filter-component.tags-wrap{flex:1 1;z-index:2}.class-filter-component.tags-wrap .tags-list{cursor:pointer;display:inline-block;margin-left:8px;padding:2.5px 8px}.class-filter-component.tags-wrap .tags-list.action{background-color:var(--w-e-textarea-selected-border-color);color:var(--antd-wave-shadow-color)}.class-filter-component .filter-component-tree-content .tags-list{font-size:12px;margin-left:0}.class-filter-component .filter-component-tree-content :global .ant-tree-node-content-wrapper{padding:0}.class-filter-component .filter-component-tree-content :global .ant-tree-node-content-wrapper.ant-tree-node-selected{background-color:transparent}.class-filter-component .num-txt{background:red;border-radius:8px;color:#fff;margin-left:2px;padding:0 4px}.class-filter-component .actionMenu{background-color:var(--w-e-textarea-selected-border-color);color:var(--antd-wave-shadow-color)}.dropdownWrap :global .ant-dropdown-menu-submenu-vertical{width:120px}.dropdownWrap :global .ant-dropdown-menu-item,.dropdownWrap :global .ant-dropdown-menu-submenu-title{align-items:center;display:flex;padding:0}.dropdownWrap :global .ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon,.dropdownWrap :global .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon{padding-left:18px}.dropdownWrap .actionMenu{background-color:var(--w-e-textarea-selected-border-color);color:var(--antd-wave-shadow-color)}.dropdownWrap .num-txt{background:red;border-radius:8px;color:#fff;margin-left:2px;padding:0 4px}.filter-wrapper-body{width:260px}.filter-wrapper-body .sort{border-bottom:1px solid #eee;width:100%}.filter-wrapper-body .sort>span{cursor:pointer;display:inline-block;padding:5px 0;text-align:center;width:33%}.filter-wrapper-body .sort>span:hover{background-color:#eee}.filter-wrapper-body .filter{padding:10px 20px}.filter-wrapper-body .filter .search{margin-bottom:10px}.filter-wrapper-body .filter .search :global .ant-input-sm{padding:.2px 7px}.filter-wrapper-body .filter .filter-group{margin-bottom:10px;max-height:400px;overflow:auto;width:100%}.filter-modal-wrap .ant-modal-body{padding:12px}.chart-type-wrap{align-items:center;display:flex;margin-bottom:8px}.chart-type-wrap .chart-type-ul{display:flex}.chart-type-wrap .chart-type-li{border-radius:4px;cursor:pointer;display:flex;flex-direction:column;height:40px;justify-content:center;margin-right:4px;text-align:center;width:50px}.chart-type-wrap .chart-type-li:hover{background-color:rgba(5,14,26,.031)}.chart-type-wrap .chart-type-li.action{background-color:#e0edfd;color:#267ef0}.chart-type-wrap .chart-type-icon{display:block;font-size:16px}.dnd_quota_main{display:flex;height:100%}.dnd_quota_main .dnd_quota_left{flex:1 1;height:100%}.dnd_quota_main .dnd_quota_left::-webkit-scrollbar{background-color:#f5f5f5;width:4px}.dnd_quota_main .dnd_quota_left::-webkit-scrollbar-track{background-color:#f5f5f5;border-radius:3px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.2)}.dnd_quota_main .dnd_quota_left::-webkit-scrollbar-thumb{background-color:#959595;border-radius:3px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.2)}.dnd_quota_main .dnd_quota_block_top{border:1px solid #eee;border-radius:8px;height:50%;margin-bottom:8px;padding:8px}.dnd_quota_main .dnd_quota_block_top.classify-type{border-bottom:none;border-radius:8px 8px 0 0;margin-bottom:0;padding-bottom:0}.dnd_quota_main .dnd_quota_block_bottom{border:1px solid #eee;border-radius:8px;height:50%;margin-bottom:8px;padding:8px}.dnd_quota_main .dnd_quota_block_bottom.number-type{border-radius:0 0 8px 8px;border-top:none;margin-top:0}.dnd_quota_main .dnd_quota_left-title{display:flex;justify-content:space-between;margin-bottom:6px}.dnd_quota_main .dnd_quota-icon{cursor:pointer}.dnd_quota_main .drag-txt-empty{left:50%;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);width:90%}.dnd_quota_main .dnd_quota__item{background-color:#f5f5f5;border-radius:4px;cursor:grab;display:flex;margin-bottom:4px;padding:8px}.dnd_quota_main .dnd_quota__item .item-icon{line-height:1;margin-right:4px;padding-top:1px}.dnd_quota_main .dnd_quota__item .dnd_quota__item_label{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dnd_quota_main .dnd_quota__item .dnd_quota__item_txt{cursor:pointer}.dnd_quota_main .dnd-quota-sortable-wrap{height:calc(100% - 20px);overflow:auto;position:relative}.dnd_quota_main .dnd-quota-sortable-wrap::-webkit-scrollbar{background-color:#f5f5f5;width:4px}.dnd_quota_main .dnd-quota-sortable-wrap::-webkit-scrollbar-track{background-color:#f5f5f5;border-radius:3px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.2)}.dnd_quota_main .dnd-quota-sortable-wrap::-webkit-scrollbar-thumb{background-color:#959595;border-radius:3px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.2)}.dnd_quota_main .dnd-quota-sortable-wrap.init .dnd_quota__item:hover{background-color:#0273b0;color:#fff}.dnd_quota_main .dnd-quota-sortable-wrap.init .dnd_quota__item:hover .item-icon{color:#fff}.dnd_quota_main .dnd-quota-sortable-wrap.init .dnd_quota__item .item-icon{color:#0273b0}.dnd_quota_main .dnd-quota-sortable-wrap.number .dnd_quota__item:hover{background-color:#97c95d;color:#fff}.dnd_quota_main .dnd-quota-sortable-wrap.number .dnd_quota__item:hover .item-icon{color:#fff}.dnd_quota_main .dnd-quota-sortable-wrap.number .dnd_quota__item .item-icon{color:#97c95d}.dnd_quota_main .dnd-quota-sortable-wrap.dimension .dnd_quota__item,.dnd_quota_main .dnd-quota-sortable-wrap.list .dnd_quota__item{background-color:#0273b0;color:#fff}.dnd_quota_main .dnd-quota-sortable-wrap.quota .dnd_quota__item{background-color:#97c95d;color:#fff}.dnd_quota_main .dnd-quota-spce{margin:0 4px}.dnd_quota_main .dnd_quota_right{flex:1 1}.dnd_quota_main .dnd_quota_right .dnd_quota_block_bottom,.dnd_quota_main .dnd_quota_right .dnd_quota_block_top{height:auto}.dnd_quota_main .dnd_quota_right .dnd_quota_right_payground{max-height:340px;min-height:140px}.dnd_quota_main .dnd_quota_right_payground{height:100%}.dnd_quota_main .dnd_quota_right_payground.empty{background:rgba(0,0,0,.08);position:relative}.dnd_quota_main .dnd_quota_right_payground.empty:after{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);white-space:nowrap}.modal-wrap{z-index:1040!important}.subtotals-modal-wrap{display:flex;height:100%}.subtotals-modal-wrap .subtotals-modal-left{height:100%;width:420px}.subtotals-modal-wrap .subtotals-modal-right{flex:1 1;height:100%;margin-left:16px;width:0}.subtotals-modal-wrap .subtotals-modal-table-top{align-items:center;display:flex;margin-bottom:16px;margin-top:4px;min-width:400px}.subtotals-modal-wrap .subtotals-modal-table-top .subtotals-modal-radio-wrap{flex:1 1;margin-right:-100px;text-align:center;width:0}.add-subtotals-wrap{height:100%}.add-subtotals-bot{height:calc(100% - 50px)}.popover-sum-content .ant-popover-inner-content{padding:0}.popover-sum-content .popover-sum-wrap .popover-sum-list:last-child{border-top:1px solid #e4e4e4}.popover-sum-content .popover-sum-wrap .popover-sum-title{font-weight:700;padding:8px 12px}.popover-sum-content .popover-sum-wrap .popover-sum-li{cursor:pointer;margin:0;padding:8px 12px}.popover-sum-content .popover-sum-wrap .popover-sum-li:hover{background-color:#f5f5f5}.popover-sum-content .popover-sum-wrap .popover-sum-li.action{background-color:#0273b0;color:#fff}.popover-body{min-height:340px;width:260px}.popover-body .top-wrap{align-items:center;display:flex;justify-content:space-between}.popover-body .title{font-size:12px;font-weight:700}.popover-body .add-icon{cursor:pointer;font-weight:700}.popover-body .list-title{font-size:12px;margin:10px 0}.popover-body .list-title-icon{margin-right:6px}.popover-body .list-radio{align-items:center;display:flex;margin-bottom:10px;width:100%}.popover-body .list-radio-label{flex:1 1;font-weight:700}.popover-body .set-text-default{color:var(--antd-wave-shadow-color);font-size:10px}.popover-body .set-icon{cursor:pointer;font-size:12px;text-align:right;width:20px}.mode-name-wrap{padding:10px 0}.icon-button-wrapper{cursor:pointer;margin-left:10px}.columns-fixed-title{color:rgba(0,0,0,.45);font-size:12px;margin-bottom:6px;margin-top:6px;padding-left:24px}.tree_selectall{-ms-user-select:none;user-select:none}.tree_selectall>span:first-child{margin:4px 0 10px 24px!important}.tree_selectall>span:nth-child(2){padding-left:12px}.columns-tree-main{align-items:center;display:flex}.columns-tree-main .drag-title{margin:0 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:
|
|
1
|
+
.class-filter-component.tags-wrap{flex:1 1;z-index:2}.class-filter-component.tags-wrap .tags-list{cursor:pointer;display:inline-block;margin-left:8px;padding:2.5px 8px}.class-filter-component.tags-wrap .tags-list.action{background-color:var(--w-e-textarea-selected-border-color);color:var(--antd-wave-shadow-color)}.class-filter-component .filter-component-tree-content .tags-list{font-size:12px;margin-left:0}.class-filter-component .filter-component-tree-content :global .ant-tree-node-content-wrapper{padding:0}.class-filter-component .filter-component-tree-content :global .ant-tree-node-content-wrapper.ant-tree-node-selected{background-color:transparent}.class-filter-component .num-txt{background:red;border-radius:8px;color:#fff;margin-left:2px;padding:0 4px}.class-filter-component .actionMenu{background-color:var(--w-e-textarea-selected-border-color);color:var(--antd-wave-shadow-color)}.dropdownWrap :global .ant-dropdown-menu-submenu-vertical{width:120px}.dropdownWrap :global .ant-dropdown-menu-item,.dropdownWrap :global .ant-dropdown-menu-submenu-title{align-items:center;display:flex;padding:0}.dropdownWrap :global .ant-dropdown-menu-item .ant-dropdown-menu-submenu-expand-icon,.dropdownWrap :global .ant-dropdown-menu-submenu-title .ant-dropdown-menu-submenu-expand-icon{padding-left:18px}.dropdownWrap .actionMenu{background-color:var(--w-e-textarea-selected-border-color);color:var(--antd-wave-shadow-color)}.dropdownWrap .num-txt{background:red;border-radius:8px;color:#fff;margin-left:2px;padding:0 4px}.filter-wrapper-body{width:260px}.filter-wrapper-body .sort{border-bottom:1px solid #eee;width:100%}.filter-wrapper-body .sort>span{cursor:pointer;display:inline-block;padding:5px 0;text-align:center;width:33%}.filter-wrapper-body .sort>span:hover{background-color:#eee}.filter-wrapper-body .filter{padding:10px 20px}.filter-wrapper-body .filter .search{margin-bottom:10px}.filter-wrapper-body .filter .search :global .ant-input-sm{padding:.2px 7px}.filter-wrapper-body .filter .filter-group{margin-bottom:10px;max-height:400px;overflow:auto;width:100%}.filter-modal-wrap .ant-modal-body{padding:12px}.chart-type-wrap{align-items:center;display:flex;margin-bottom:8px}.chart-type-wrap .chart-type-ul{display:flex}.chart-type-wrap .chart-type-li{border-radius:4px;cursor:pointer;display:flex;flex-direction:column;height:40px;justify-content:center;margin-right:4px;text-align:center;width:50px}.chart-type-wrap .chart-type-li:hover{background-color:rgba(5,14,26,.031)}.chart-type-wrap .chart-type-li.action{background-color:#e0edfd;color:#267ef0}.chart-type-wrap .chart-type-icon{display:block;font-size:16px}.dnd_quota_main{display:flex;height:100%}.dnd_quota_main .dnd_quota_left{flex:1 1;height:100%}.dnd_quota_main .dnd_quota_left::-webkit-scrollbar{background-color:#f5f5f5;width:4px}.dnd_quota_main .dnd_quota_left::-webkit-scrollbar-track{background-color:#f5f5f5;border-radius:3px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.2)}.dnd_quota_main .dnd_quota_left::-webkit-scrollbar-thumb{background-color:#959595;border-radius:3px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.2)}.dnd_quota_main .dnd_quota_block_top{border:1px solid #eee;border-radius:8px;height:50%;margin-bottom:8px;padding:8px}.dnd_quota_main .dnd_quota_block_top.classify-type{border-bottom:none;border-radius:8px 8px 0 0;margin-bottom:0;padding-bottom:0}.dnd_quota_main .dnd_quota_block_bottom{border:1px solid #eee;border-radius:8px;height:50%;margin-bottom:8px;padding:8px}.dnd_quota_main .dnd_quota_block_bottom.number-type{border-radius:0 0 8px 8px;border-top:none;margin-top:0}.dnd_quota_main .dnd_quota_left-title{display:flex;justify-content:space-between;margin-bottom:6px}.dnd_quota_main .dnd_quota-icon{cursor:pointer}.dnd_quota_main .drag-txt-empty{left:50%;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);width:90%}.dnd_quota_main .dnd_quota__item{background-color:#f5f5f5;border-radius:4px;cursor:grab;display:flex;margin-bottom:4px;padding:8px}.dnd_quota_main .dnd_quota__item .item-icon{line-height:1;margin-right:4px;padding-top:1px}.dnd_quota_main .dnd_quota__item .dnd_quota__item_label{flex:1 1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dnd_quota_main .dnd_quota__item .dnd_quota__item_txt{cursor:pointer}.dnd_quota_main .dnd-quota-sortable-wrap{height:calc(100% - 20px);overflow:auto;position:relative}.dnd_quota_main .dnd-quota-sortable-wrap::-webkit-scrollbar{background-color:#f5f5f5;width:4px}.dnd_quota_main .dnd-quota-sortable-wrap::-webkit-scrollbar-track{background-color:#f5f5f5;border-radius:3px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.2)}.dnd_quota_main .dnd-quota-sortable-wrap::-webkit-scrollbar-thumb{background-color:#959595;border-radius:3px;-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.2)}.dnd_quota_main .dnd-quota-sortable-wrap.init .dnd_quota__item:hover{background-color:#0273b0;color:#fff}.dnd_quota_main .dnd-quota-sortable-wrap.init .dnd_quota__item:hover .item-icon{color:#fff}.dnd_quota_main .dnd-quota-sortable-wrap.init .dnd_quota__item .item-icon{color:#0273b0}.dnd_quota_main .dnd-quota-sortable-wrap.number .dnd_quota__item:hover{background-color:#97c95d;color:#fff}.dnd_quota_main .dnd-quota-sortable-wrap.number .dnd_quota__item:hover .item-icon{color:#fff}.dnd_quota_main .dnd-quota-sortable-wrap.number .dnd_quota__item .item-icon{color:#97c95d}.dnd_quota_main .dnd-quota-sortable-wrap.dimension .dnd_quota__item,.dnd_quota_main .dnd-quota-sortable-wrap.list .dnd_quota__item{background-color:#0273b0;color:#fff}.dnd_quota_main .dnd-quota-sortable-wrap.quota .dnd_quota__item{background-color:#97c95d;color:#fff}.dnd_quota_main .dnd-quota-spce{margin:0 4px}.dnd_quota_main .dnd_quota_right{flex:1 1}.dnd_quota_main .dnd_quota_right .dnd_quota_block_bottom,.dnd_quota_main .dnd_quota_right .dnd_quota_block_top{height:auto}.dnd_quota_main .dnd_quota_right .dnd_quota_right_payground{max-height:340px;min-height:140px}.dnd_quota_main .dnd_quota_right_payground{height:100%}.dnd_quota_main .dnd_quota_right_payground.empty{background:rgba(0,0,0,.08);position:relative}.dnd_quota_main .dnd_quota_right_payground.empty:after{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);white-space:nowrap}.modal-wrap{z-index:1040!important}.subtotals-modal-wrap{display:flex;height:100%}.subtotals-modal-wrap .subtotals-modal-left{height:100%;width:420px}.subtotals-modal-wrap .subtotals-modal-right{flex:1 1;height:100%;margin-left:16px;width:0}.subtotals-modal-wrap .subtotals-modal-table-top{align-items:center;display:flex;margin-bottom:16px;margin-top:4px;min-width:400px}.subtotals-modal-wrap .subtotals-modal-table-top .subtotals-modal-radio-wrap{flex:1 1;margin-right:-100px;text-align:center;width:0}.add-subtotals-wrap{height:100%}.add-subtotals-bot{height:calc(100% - 50px)}.popover-sum-content .ant-popover-inner-content{padding:0}.popover-sum-content .popover-sum-wrap .popover-sum-list:last-child{border-top:1px solid #e4e4e4}.popover-sum-content .popover-sum-wrap .popover-sum-title{font-weight:700;padding:8px 12px}.popover-sum-content .popover-sum-wrap .popover-sum-li{cursor:pointer;margin:0;padding:8px 12px}.popover-sum-content .popover-sum-wrap .popover-sum-li:hover{background-color:#f5f5f5}.popover-sum-content .popover-sum-wrap .popover-sum-li.action{background-color:#0273b0;color:#fff}.popover-body{min-height:340px;width:260px}.popover-body .top-wrap{align-items:center;display:flex;justify-content:space-between}.popover-body .title{font-size:12px;font-weight:700}.popover-body .add-icon{cursor:pointer;font-weight:700}.popover-body .list-title{font-size:12px;margin:10px 0}.popover-body .list-title-icon{margin-right:6px}.popover-body .list-radio{align-items:center;display:flex;margin-bottom:10px;width:100%}.popover-body .list-radio-label{flex:1 1;font-weight:700}.popover-body .set-text-default{color:var(--antd-wave-shadow-color);font-size:10px}.popover-body .set-icon{cursor:pointer;font-size:12px;text-align:right;width:20px}.mode-name-wrap{padding:10px 0}.icon-button-wrapper{cursor:pointer;margin-left:10px}.columns-fixed-title{color:rgba(0,0,0,.45);font-size:12px;margin-bottom:6px;margin-top:6px;padding-left:24px}.tree_selectall{-ms-user-select:none;user-select:none}.tree_selectall>span:first-child{margin:4px 0 10px 24px!important}.tree_selectall>span:nth-child(2){padding-left:12px}.columns-tree-main{align-items:center;display:flex}.columns-tree-main .drag-title{margin:0 8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:200px}.columns-tree-main .columns-tree-icon{color:var(--antd-wave-shadow-color);font-size:14px;text-align:right;visibility:hidden}.columns-tree-main:hover .columns-tree-icon{visibility:visible}
|