@zgfe/business-lib 1.1.63-tags.0 → 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/es/addToPanel/demo/edit.d.ts +2 -1
- package/es/addToPanel/demo/index.d.ts +2 -1
- package/es/addToScene/demo/index.d.ts +2 -1
- package/es/assets/demo/button.d.ts +2 -1
- package/es/assets/demo/dropdown.d.ts +2 -1
- package/es/assets/demo/input.d.ts +2 -1
- package/es/assets/demo/table.d.ts +2 -1
- package/es/assets/styles/chunks.less +5 -14
- package/es/assets/styles/resetAntd.less +10 -20
- package/es/assets/styles/variable.less +0 -3
- package/es/attrCondition/demo/group.d.ts +2 -1
- package/es/attrCondition/demo/index.d.ts +2 -1
- package/es/attrCondition/styles/index.less +1 -0
- package/es/attrConditions/demo/group.d.ts +2 -1
- package/es/attrConditions/demo/index.d.ts +2 -1
- package/es/attrConditions/styles/index.less +5 -3
- package/es/attrConditions/utils/operates.js +6 -0
- package/es/attributeSelector/demo/disable.d.ts +2 -1
- package/es/attributeSelector/demo/index.d.ts +2 -1
- package/es/attributeSelector/index.js +2 -2
- package/es/attributeSelector/styles/index.less +0 -7
- package/es/chart/demo/bar.d.ts +2 -1
- package/es/chart/demo/index.d.ts +2 -1
- package/es/chart/demo/map.d.ts +2 -1
- package/es/chart/demo/pie.d.ts +2 -1
- package/es/colorIcon/demo/index.d.ts +2 -1
- package/es/cycleTime/demo/disable.d.ts +2 -1
- package/es/cycleTime/demo/index.d.ts +2 -1
- package/es/cycleTime/demo/multi.d.ts +2 -1
- package/es/datePicker/demo/customType.d.ts +2 -1
- package/es/datePicker/demo/day.d.ts +2 -1
- package/es/datePicker/demo/index.d.ts +2 -1
- package/es/demoWrapper/demo/index.d.ts +2 -1
- package/es/dialog/demo/index.d.ts +2 -1
- package/es/dnd/demo/data.d.ts +2 -1
- package/es/dnd/demo/handle.d.ts +2 -1
- package/es/dnd/demo/index.d.ts +2 -1
- package/es/eventSelector/demo/index.d.ts +2 -1
- package/es/eventSelector/demo/index.js +6 -1
- package/es/eventSelector/index.js +3 -4
- package/es/eventSelector/styles/index.less +1 -2
- package/es/icon/demo/index.d.ts +2 -1
- package/es/icon/demo/list.d.ts +2 -1
- package/es/index.d.ts +1 -2
- package/es/index.js +1 -2
- package/es/layout/analysisLayout/demo/index.d.ts +2 -1
- package/es/layout/detail/demo/index.d.ts +2 -1
- package/es/layout/optionTitle/components/btnMenu/demo.d.ts +2 -1
- package/es/layout/optionTitle/components/title/demo.d.ts +2 -1
- package/es/layout/optionTitle/demo/index.d.ts +2 -1
- package/es/layout/optionTitle/demo/layout.d.ts +2 -1
- package/es/layout/optionTitle/demo/page.d.ts +2 -1
- package/es/layout/optionTitle/demo/panelCreate.d.ts +2 -1
- package/es/loginForm/demo/index.d.ts +2 -1
- package/es/searchInput/demo/index.d.ts +2 -1
- package/es/select/demo/children.d.ts +2 -1
- package/es/select/demo/customLabel.d.ts +2 -1
- package/es/select/demo/group.d.ts +2 -1
- package/es/select/demo/index.d.ts +2 -1
- package/es/select/demo/loading.d.ts +2 -1
- package/es/select/demo/multiple.d.ts +2 -1
- package/es/socket/demo/demo.d.ts +2 -1
- package/es/table/demo/index.d.ts +2 -1
- package/es/table/demo/index2.d.ts +2 -1
- package/es/table/demo/index3.d.ts +2 -1
- package/es/targetConditionGroup/demo/group.d.ts +2 -1
- package/es/targetConditionGroup/demo/index.d.ts +2 -1
- package/es/targetConditionGroup/styles/index.less +0 -3
- package/es/targetSelector/demo/index.d.ts +2 -1
- package/es/targetSelector/index.js +4 -12
- package/es/userCondition/conditions/tagsCondition.js +4 -1
- package/es/userCondition/conditions/textDesc.js +7 -5
- package/es/userCondition/demo/business.d.ts +2 -1
- package/es/userCondition/demo/index.d.ts +2 -1
- package/es/userCondition/demo/mockData.d.ts +41 -27
- package/es/userCondition/demo/mockData.js +175 -121
- package/es/userCondition/index.js +7 -0
- package/es/userCondition/types.d.ts +0 -1
- package/es/userCondition/util.d.ts +1 -11
- package/es/userCondition/util.js +10 -34
- package/es/userGroup/demo/group.d.ts +2 -1
- package/es/userGroup/demo/index.d.ts +2 -1
- package/es/userGroup/index.js +2 -10
- package/es/userGroup/styles/index.less +1 -4
- package/es/userTagsSelector/cascaderOverlay.js +2 -28
- package/es/userTagsSelector/demo/index.d.ts +2 -1
- package/es/userTagsSelector/demo/index.js +1 -1
- package/es/userTagsSelector/index.js +2 -4
- package/es/userTagsSelector/util.d.ts +0 -1
- package/es/userTagsSelector/util.js +0 -10
- package/es/utils/demo/ajax.d.ts +2 -1
- package/es/utils/demo/interruption.d.ts +2 -1
- package/package.json +2 -2
- package/es/assets/demo/picker.d.ts +0 -2
- package/es/assets/demo/picker.js +0 -22
- package/es/assets/demo/select.d.ts +0 -2
- package/es/assets/demo/select.js +0 -30
- package/es/quickDatePicker/demo/index.d.ts +0 -3
- package/es/quickDatePicker/demo/index.js +0 -40
- package/es/quickDatePicker/index.d.ts +0 -6
- package/es/quickDatePicker/index.js +0 -186
- package/es/quickDatePicker/styles/index.less +0 -138
- package/es/quickDatePicker/types.d.ts +0 -25
- package/es/quickDatePicker/types.js +0 -1
- package/es/quickDatePicker/utils.d.ts +0 -12
- package/es/quickDatePicker/utils.js +0 -52
|
@@ -25,19 +25,10 @@
|
|
|
25
25
|
|
|
26
26
|
// 下拉组件操作栏样式
|
|
27
27
|
.__select-handle {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
background: @custom-background;
|
|
31
|
-
border: 1px solid @custom-background;
|
|
28
|
+
padding: @padding-xss;
|
|
29
|
+
border: 1px solid @border-color-base;
|
|
32
30
|
border-radius: @border-radius-small;
|
|
33
31
|
cursor: pointer;
|
|
34
|
-
&:hover {
|
|
35
|
-
border: 1px solid @primary-color;
|
|
36
|
-
}
|
|
37
|
-
&.focus {
|
|
38
|
-
border: 1px solid @primary-color;
|
|
39
|
-
box-shadow: 0 0 0 4px @custom-focus;
|
|
40
|
-
}
|
|
41
32
|
}
|
|
42
33
|
|
|
43
34
|
// 下拉组件展开panel样式
|
|
@@ -127,7 +118,7 @@
|
|
|
127
118
|
.__default-overflow();
|
|
128
119
|
|
|
129
120
|
&:hover:not(.disable) {
|
|
130
|
-
|
|
121
|
+
background-color: @background-color-base;
|
|
131
122
|
border-color: @primary-color;
|
|
132
123
|
box-shadow: none;
|
|
133
124
|
}
|
|
@@ -141,14 +132,14 @@
|
|
|
141
132
|
|
|
142
133
|
// 下拉框常用样式
|
|
143
134
|
.__select-normal-secondary {
|
|
144
|
-
|
|
135
|
+
background-color: @white;
|
|
145
136
|
border: 1px solid @border-color-base;
|
|
146
137
|
border-radius: @border-radius-small;
|
|
147
138
|
|
|
148
139
|
&:not(.disable) {
|
|
149
140
|
&:hover,
|
|
150
141
|
&.active {
|
|
151
|
-
|
|
142
|
+
.__default-hover();
|
|
152
143
|
border-color: @border-color-base;
|
|
153
144
|
box-shadow: none;
|
|
154
145
|
}
|
|
@@ -48,14 +48,11 @@
|
|
|
48
48
|
background-color: @background-color-base!important;
|
|
49
49
|
// border-color: @background-color-base!important;
|
|
50
50
|
border-radius: @border-radius-small!important;
|
|
51
|
-
|
|
52
|
-
border-color: @primary-color;
|
|
53
|
-
}
|
|
51
|
+
|
|
54
52
|
&:focus,
|
|
55
53
|
&-focused {
|
|
56
54
|
background-color: #fff !important;
|
|
57
|
-
|
|
58
|
-
box-shadow: 0 0 0 4px @custom-focus !important;
|
|
55
|
+
box-shadow: 0 0 0 4px @primary-color-hover !important;
|
|
59
56
|
}
|
|
60
57
|
&.ant-input-status-error {
|
|
61
58
|
border-color: @error-color !important;
|
|
@@ -73,20 +70,6 @@
|
|
|
73
70
|
background-color: @background-color-base!important;
|
|
74
71
|
}
|
|
75
72
|
|
|
76
|
-
.ant-select {
|
|
77
|
-
border: 1px solid #fafafb;
|
|
78
|
-
border-radius: 2px;
|
|
79
|
-
&:hover {
|
|
80
|
-
border: 1px solid @primary-color;
|
|
81
|
-
}
|
|
82
|
-
&:focus,
|
|
83
|
-
&-focused {
|
|
84
|
-
background-color: #fff !important;
|
|
85
|
-
border-color: @primary-color;
|
|
86
|
-
box-shadow: 0 0 0 4px @custom-focus !important;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
73
|
.ant-select:not(.ant-select-customize-input):not(.ant-pagination-size-changer):not(
|
|
91
74
|
.ant-select-status-error
|
|
92
75
|
)
|
|
@@ -195,7 +178,14 @@
|
|
|
195
178
|
|
|
196
179
|
&:hover:not(.ant-picker-disabled),
|
|
197
180
|
&.ant-picker-focused {
|
|
198
|
-
|
|
181
|
+
.__default-hover() !important;
|
|
182
|
+
border-color: @border-color-base!important;
|
|
183
|
+
box-shadow: none !important;
|
|
184
|
+
|
|
185
|
+
span,
|
|
186
|
+
input {
|
|
187
|
+
color: @primary-color!important;
|
|
188
|
+
}
|
|
199
189
|
}
|
|
200
190
|
|
|
201
191
|
.ant-picker-active-bar {
|
|
@@ -12,6 +12,3 @@
|
|
|
12
12
|
@box-shadow-small: 0px 1px 2px @shadow-color-light;
|
|
13
13
|
@primary-color-hover: color(~`colorPalette('@{primary-color}', 0.1) `);
|
|
14
14
|
@box-shadow-form: 0 0 0 4px @primary-color-hover;
|
|
15
|
-
@custom-background: #fafafb;
|
|
16
|
-
@custom-focus: #f0f7ff;
|
|
17
|
-
@primary-color: '#165dff';
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
/* 筛选条件 */
|
|
4
4
|
.biz-condition-item {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
&.border {
|
|
6
|
+
.__select-handle();
|
|
7
|
+
}
|
|
8
8
|
&-panel {
|
|
9
9
|
display: flex;
|
|
10
10
|
width: 100%;
|
|
@@ -19,6 +19,8 @@
|
|
|
19
19
|
.biz-attr-select-handle {
|
|
20
20
|
margin-bottom: 2px;
|
|
21
21
|
padding: 0;
|
|
22
|
+
border: none;
|
|
23
|
+
border-radius: 0;
|
|
22
24
|
}
|
|
23
25
|
|
|
24
26
|
.ant-input {
|
|
@@ -70,12 +70,18 @@ export var typeList = {
|
|
|
70
70
|
'cont-date': [{
|
|
71
71
|
name: '最近',
|
|
72
72
|
value: 'relative'
|
|
73
|
+
}, {
|
|
74
|
+
name: '最近超过',
|
|
75
|
+
value: 'relativeExceed'
|
|
73
76
|
}, {
|
|
74
77
|
name: '最近区间',
|
|
75
78
|
value: 'relativeInterval'
|
|
76
79
|
}, {
|
|
77
80
|
name: '未来',
|
|
78
81
|
value: 'future'
|
|
82
|
+
}, {
|
|
83
|
+
name: '未来超过',
|
|
84
|
+
value: 'futureExceed'
|
|
79
85
|
}, {
|
|
80
86
|
name: '未来区间',
|
|
81
87
|
value: 'futureInterval'
|
|
@@ -83,9 +83,9 @@ var BizAttributeSelector = function BizAttributeSelector(props) {
|
|
|
83
83
|
setVisible(flag);
|
|
84
84
|
};
|
|
85
85
|
return /*#__PURE__*/React.createElement("div", {
|
|
86
|
-
className:
|
|
86
|
+
className: classPrefix
|
|
87
87
|
}, /*#__PURE__*/React.createElement("div", {
|
|
88
|
-
className: "".concat(classPrefix, "-handle
|
|
88
|
+
className: "".concat(classPrefix, "-handle")
|
|
89
89
|
}, /*#__PURE__*/React.createElement(Dropdown, {
|
|
90
90
|
dropdownRender: function dropdownRender() {
|
|
91
91
|
return /*#__PURE__*/React.createElement(AttrListPanel, _objectSpread(_objectSpread({
|
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
@import '../../assets/styles/inner.less';
|
|
2
2
|
|
|
3
3
|
.biz-attr-select {
|
|
4
|
-
border-radius: 4px;
|
|
5
|
-
// &.focus {
|
|
6
|
-
// box-shadow: 0 0 0 4px @custom-focus;
|
|
7
|
-
// .biz-attr-select-handle{
|
|
8
|
-
// border: 1px solid @primary-color;
|
|
9
|
-
// }
|
|
10
|
-
// }
|
|
11
4
|
&-handle {
|
|
12
5
|
display: flex;
|
|
13
6
|
flex-direction: row;
|
package/es/chart/demo/bar.d.ts
CHANGED
package/es/chart/demo/index.d.ts
CHANGED
package/es/chart/demo/map.d.ts
CHANGED
package/es/chart/demo/pie.d.ts
CHANGED
package/es/dnd/demo/data.d.ts
CHANGED
package/es/dnd/demo/handle.d.ts
CHANGED
package/es/dnd/demo/index.d.ts
CHANGED
|
@@ -25,7 +25,12 @@ var EventDemo = function EventDemo() {
|
|
|
25
25
|
var onChange = function onChange(data) {
|
|
26
26
|
setValue(data);
|
|
27
27
|
};
|
|
28
|
-
return /*#__PURE__*/React.createElement("div",
|
|
28
|
+
return /*#__PURE__*/React.createElement("div", {
|
|
29
|
+
style: {
|
|
30
|
+
height: '500px',
|
|
31
|
+
overflow: 'auto'
|
|
32
|
+
}
|
|
33
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
29
34
|
style: {
|
|
30
35
|
height: '700px'
|
|
31
36
|
}
|
|
@@ -96,9 +96,8 @@ var BizEventSelector = function BizEventSelector(props) {
|
|
|
96
96
|
setCurrentValue(value);
|
|
97
97
|
props.onChange && props.onChange(value);
|
|
98
98
|
};
|
|
99
|
-
var onVisibleChange = function onVisibleChange(
|
|
100
|
-
setVisible(
|
|
101
|
-
props.onVisibleChange && props.onVisibleChange(show);
|
|
99
|
+
var onVisibleChange = function onVisibleChange(flag) {
|
|
100
|
+
setVisible(flag);
|
|
102
101
|
};
|
|
103
102
|
return /*#__PURE__*/React.createElement("div", {
|
|
104
103
|
className: [classPrefix, border ? 'border' : ''].join(' ')
|
|
@@ -125,7 +124,7 @@ var BizEventSelector = function BizEventSelector(props) {
|
|
|
125
124
|
} : undefined,
|
|
126
125
|
destroyPopupOnHide: props.defaultSelectAble
|
|
127
126
|
}, /*#__PURE__*/React.createElement("div", {
|
|
128
|
-
className: "".concat(classPrefix, "-handle
|
|
127
|
+
className: "".concat(classPrefix, "-handle"),
|
|
129
128
|
id: selectId
|
|
130
129
|
}, /*#__PURE__*/React.createElement(SelectHandle, {
|
|
131
130
|
theme: theme,
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
@import '../../assets/styles/inner.less';
|
|
2
2
|
|
|
3
3
|
.biz-event-select {
|
|
4
|
-
position: relative;
|
|
5
|
-
border-radius: 4px;
|
|
6
4
|
&.border {
|
|
7
5
|
.biz-event-select-handle {
|
|
8
6
|
.__select-handle();
|
|
9
7
|
}
|
|
10
8
|
}
|
|
9
|
+
position: relative;
|
|
11
10
|
&-list-panel {
|
|
12
11
|
display: flex;
|
|
13
12
|
flex-direction: row;
|
package/es/icon/demo/index.d.ts
CHANGED
package/es/icon/demo/list.d.ts
CHANGED
package/es/index.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ import BizTargetCondition from './targetConditionGroup';
|
|
|
8
8
|
import BizConditionItem from './attrConditions';
|
|
9
9
|
import BizConditionGroup from './attrConditions/group';
|
|
10
10
|
import BizDatePicker from './datePicker';
|
|
11
|
-
import BizQuickDatePicker from './quickDatePicker';
|
|
12
11
|
import BizSelect from './select';
|
|
13
12
|
import BizDialog from './dialog';
|
|
14
13
|
import BizChart from './chart';
|
|
@@ -35,7 +34,7 @@ import BizAttrCondition from './attrCondition';
|
|
|
35
34
|
import BizAttrConditionGroup from './attrCondition/group';
|
|
36
35
|
import BizTargetFromPanel from './layout/optionTitle';
|
|
37
36
|
import { BizTargetFromPanelContext } from './layout/optionTitle/types';
|
|
38
|
-
export { BizTargetFromPanel, BizSearchInput, BizSelect, BizDialog, BizChart, BizTable, BizAnalysisLayout, BizDetailLayout, BizUserGroup, IconFont, ColorIcon, BizTargetSelector, BizEventSelector, BizAttributeSelector, BizGlobalDataContext, BizTargetFromPanelContext, BizTargetCondition, BizDatePicker,
|
|
37
|
+
export { BizTargetFromPanel, BizSearchInput, BizSelect, BizDialog, BizChart, BizTable, BizAnalysisLayout, BizDetailLayout, BizUserGroup, IconFont, ColorIcon, BizTargetSelector, BizEventSelector, BizAttributeSelector, BizGlobalDataContext, BizTargetFromPanelContext, BizTargetCondition, BizDatePicker, BizConditionItem, BizConditionGroup, BizAttrCondition, BizAttrConditionGroup, BizUserCondition, BizAddToScene, BizAddToPanel, BizCycleTime, BizDnd, BizLoginForm, DemoWrapper, SocketClient, ajax, util, theme, convertAttributeData, BizUserTagsSelect, setGlobalConfig, };
|
|
39
38
|
export type { UserGroupTypes } from './userGroup/types';
|
|
40
39
|
export type { BizSelectTypes } from './select/types';
|
|
41
40
|
export type { AttributeSelect } from './attributeSelector/types';
|
package/es/index.js
CHANGED
|
@@ -7,7 +7,6 @@ import BizTargetCondition from './targetConditionGroup';
|
|
|
7
7
|
import BizConditionItem from './attrConditions';
|
|
8
8
|
import BizConditionGroup from './attrConditions/group';
|
|
9
9
|
import BizDatePicker from './datePicker';
|
|
10
|
-
import BizQuickDatePicker from './quickDatePicker';
|
|
11
10
|
import BizSelect from './select';
|
|
12
11
|
import BizDialog from './dialog';
|
|
13
12
|
import BizChart from './chart';
|
|
@@ -34,4 +33,4 @@ import BizAttrCondition from './attrCondition';
|
|
|
34
33
|
import BizAttrConditionGroup from './attrCondition/group';
|
|
35
34
|
import BizTargetFromPanel from './layout/optionTitle';
|
|
36
35
|
import { BizTargetFromPanelContext } from './layout/optionTitle/types';
|
|
37
|
-
export { BizTargetFromPanel, BizSearchInput, BizSelect, BizDialog, BizChart, BizTable, BizAnalysisLayout, BizDetailLayout, BizUserGroup, IconFont, ColorIcon, BizTargetSelector, BizEventSelector, BizAttributeSelector, BizGlobalDataContext, BizTargetFromPanelContext, BizTargetCondition, BizDatePicker,
|
|
36
|
+
export { BizTargetFromPanel, BizSearchInput, BizSelect, BizDialog, BizChart, BizTable, BizAnalysisLayout, BizDetailLayout, BizUserGroup, IconFont, ColorIcon, BizTargetSelector, BizEventSelector, BizAttributeSelector, BizGlobalDataContext, BizTargetFromPanelContext, BizTargetCondition, BizDatePicker, BizConditionItem, BizConditionGroup, BizAttrCondition, BizAttrConditionGroup, BizUserCondition, BizAddToScene, BizAddToPanel, BizCycleTime, BizDnd, BizLoginForm, DemoWrapper, SocketClient, ajax, util, theme, convertAttributeData, BizUserTagsSelect, setGlobalConfig };
|
package/es/socket/demo/demo.d.ts
CHANGED
package/es/table/demo/index.d.ts
CHANGED