@zgfe/business-lib 1.1.61-tags.1 → 1.1.61
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 -10
- package/es/assets/styles/resetAntd.less +8 -1
- 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/attributeSelector/demo/disable.d.ts +2 -1
- package/es/attributeSelector/demo/index.d.ts +2 -1
- package/es/attributeSelector/index.js +1 -1
- package/es/attributeSelector/styles/index.less +0 -4
- 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/chart/index.js +6 -2
- package/es/chart/types.d.ts +1 -0
- 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 +1 -1
- package/es/eventSelector/styles/index.less +1 -5
- 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/styles/index.less +0 -3
- package/es/userCondition/conditions/tagsCondition.js +4 -1
- package/es/userCondition/conditions/textDesc.js +2 -3
- 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/types.d.ts +0 -1
- package/es/userCondition/util.d.ts +1 -25
- package/es/userCondition/util.js +18 -46
- 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 -3
- package/es/userTagsSelector/cascaderOverlay.js +2 -27
- 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/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/quickDatePicker/demo/index.d.ts +0 -3
- package/es/quickDatePicker/demo/index.js +0 -35
- package/es/quickDatePicker/index.d.ts +0 -6
- package/es/quickDatePicker/index.js +0 -178
- package/es/quickDatePicker/styles/index.less +0 -124
- package/es/quickDatePicker/types.d.ts +0 -24
- package/es/quickDatePicker/types.js +0 -1
- package/es/quickDatePicker/utils.d.ts +0 -10
- package/es/quickDatePicker/utils.js +0 -42
|
@@ -25,15 +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
32
|
}
|
|
38
33
|
|
|
39
34
|
// 下拉组件展开panel样式
|
|
@@ -123,7 +118,7 @@
|
|
|
123
118
|
.__default-overflow();
|
|
124
119
|
|
|
125
120
|
&:hover:not(.disable) {
|
|
126
|
-
|
|
121
|
+
background-color: @background-color-base;
|
|
127
122
|
border-color: @primary-color;
|
|
128
123
|
box-shadow: none;
|
|
129
124
|
}
|
|
@@ -137,14 +132,14 @@
|
|
|
137
132
|
|
|
138
133
|
// 下拉框常用样式
|
|
139
134
|
.__select-normal-secondary {
|
|
140
|
-
|
|
135
|
+
background-color: @white;
|
|
141
136
|
border: 1px solid @border-color-base;
|
|
142
137
|
border-radius: @border-radius-small;
|
|
143
138
|
|
|
144
139
|
&:not(.disable) {
|
|
145
140
|
&:hover,
|
|
146
141
|
&.active {
|
|
147
|
-
|
|
142
|
+
.__default-hover();
|
|
148
143
|
border-color: @border-color-base;
|
|
149
144
|
box-shadow: none;
|
|
150
145
|
}
|
|
@@ -178,7 +178,14 @@
|
|
|
178
178
|
|
|
179
179
|
&:hover:not(.ant-picker-disabled),
|
|
180
180
|
&.ant-picker-focused {
|
|
181
|
-
|
|
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
|
+
}
|
|
182
189
|
}
|
|
183
190
|
|
|
184
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 {
|
|
@@ -83,7 +83,7 @@ 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
88
|
className: "".concat(classPrefix, "-handle")
|
|
89
89
|
}, /*#__PURE__*/React.createElement(Dropdown, {
|
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/chart/index.js
CHANGED
|
@@ -36,7 +36,8 @@ var BizChart = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
36
36
|
legendFormatter = props.legendFormatter,
|
|
37
37
|
valueUnit = props.valueUnit,
|
|
38
38
|
legendPosition = props.legendPosition,
|
|
39
|
-
legendOrient = props.legendOrient
|
|
39
|
+
legendOrient = props.legendOrient,
|
|
40
|
+
autoHeight = props.autoHeight;
|
|
40
41
|
var _useState = useState({}),
|
|
41
42
|
_useState2 = _slicedToArray(_useState, 2),
|
|
42
43
|
chartOption = _useState2[0],
|
|
@@ -87,7 +88,10 @@ var BizChart = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
87
88
|
notMerge: true,
|
|
88
89
|
lazyUpdate: true,
|
|
89
90
|
theme: 'theme_name',
|
|
90
|
-
style: {
|
|
91
|
+
style: autoHeight ? {
|
|
92
|
+
width: '100%',
|
|
93
|
+
height: '100%'
|
|
94
|
+
} : {
|
|
91
95
|
width: '100%'
|
|
92
96
|
}
|
|
93
97
|
});
|
package/es/chart/types.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
|
}
|
|
@@ -100,7 +100,7 @@ var BizEventSelector = function BizEventSelector(props) {
|
|
|
100
100
|
setVisible(flag);
|
|
101
101
|
};
|
|
102
102
|
return /*#__PURE__*/React.createElement("div", {
|
|
103
|
-
className: [classPrefix, border ? 'border' : ''
|
|
103
|
+
className: [classPrefix, border ? 'border' : ''].join(' ')
|
|
104
104
|
}, /*#__PURE__*/React.createElement(Dropdown, {
|
|
105
105
|
dropdownRender: function dropdownRender() {
|
|
106
106
|
return /*#__PURE__*/React.createElement(EventListPanel, {
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
@import '../../assets/styles/inner.less';
|
|
2
2
|
|
|
3
3
|
.biz-event-select {
|
|
4
|
-
position: relative;
|
|
5
|
-
border-radius: 4px;
|
|
6
|
-
&.focus {
|
|
7
|
-
box-shadow: 0 0 0 4px @custom-focus;
|
|
8
|
-
}
|
|
9
4
|
&.border {
|
|
10
5
|
.biz-event-select-handle {
|
|
11
6
|
.__select-handle();
|
|
12
7
|
}
|
|
13
8
|
}
|
|
9
|
+
position: relative;
|
|
14
10
|
&-list-panel {
|
|
15
11
|
display: flex;
|
|
16
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