@zgfe/business-lib 1.1.65 → 1.1.66

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.
Files changed (109) hide show
  1. package/es/addToPanel/demo/edit.d.ts +1 -2
  2. package/es/addToPanel/demo/index.d.ts +1 -2
  3. package/es/addToScene/demo/index.d.ts +1 -2
  4. package/es/assets/demo/button.d.ts +1 -2
  5. package/es/assets/demo/dropdown.d.ts +1 -2
  6. package/es/assets/demo/input.d.ts +1 -2
  7. package/es/assets/demo/picker.d.ts +2 -0
  8. package/es/assets/demo/picker.js +22 -0
  9. package/es/assets/demo/select.d.ts +2 -0
  10. package/es/assets/demo/select.js +30 -0
  11. package/es/assets/demo/table.d.ts +1 -2
  12. package/es/assets/styles/chunks.less +11 -5
  13. package/es/assets/styles/resetAntd.less +20 -10
  14. package/es/assets/styles/variable.less +3 -0
  15. package/es/attrCondition/demo/group.d.ts +1 -2
  16. package/es/attrCondition/demo/index.d.ts +1 -2
  17. package/es/attrCondition/styles/index.less +0 -1
  18. package/es/attrConditions/components/operateList.js +20 -4
  19. package/es/attrConditions/demo/group.d.ts +1 -2
  20. package/es/attrConditions/demo/index.d.ts +1 -2
  21. package/es/attrConditions/styles/index.less +0 -5
  22. package/es/attrConditions/utils/operates.d.ts +4 -0
  23. package/es/attrConditions/utils/operates.js +7 -0
  24. package/es/attributeSelector/demo/disable.d.ts +1 -2
  25. package/es/attributeSelector/demo/index.d.ts +1 -2
  26. package/es/attributeSelector/index.js +2 -2
  27. package/es/attributeSelector/styles/index.less +1 -0
  28. package/es/chart/demo/bar.d.ts +1 -2
  29. package/es/chart/demo/index.d.ts +1 -2
  30. package/es/chart/demo/map.d.ts +1 -2
  31. package/es/chart/demo/pie.d.ts +1 -2
  32. package/es/colorIcon/demo/index.d.ts +1 -2
  33. package/es/cycleTime/demo/disable.d.ts +1 -2
  34. package/es/cycleTime/demo/index.d.ts +1 -2
  35. package/es/cycleTime/demo/multi.d.ts +1 -2
  36. package/es/datePicker/demo/customType.d.ts +1 -2
  37. package/es/datePicker/demo/day.d.ts +1 -2
  38. package/es/datePicker/demo/index.d.ts +1 -2
  39. package/es/demoWrapper/demo/index.d.ts +1 -2
  40. package/es/dialog/demo/index.d.ts +1 -2
  41. package/es/dnd/demo/data.d.ts +1 -2
  42. package/es/dnd/demo/handle.d.ts +1 -2
  43. package/es/dnd/demo/index.d.ts +1 -2
  44. package/es/eventSelector/demo/index.d.ts +1 -2
  45. package/es/eventSelector/demo/index.js +1 -6
  46. package/es/eventSelector/index.js +4 -3
  47. package/es/eventSelector/styles/index.less +2 -1
  48. package/es/icon/demo/index.d.ts +1 -2
  49. package/es/icon/demo/list.d.ts +1 -2
  50. package/es/index.d.ts +2 -1
  51. package/es/index.js +2 -1
  52. package/es/layout/analysisLayout/demo/index.d.ts +1 -2
  53. package/es/layout/columnLayout/demo/index.d.ts +1 -2
  54. package/es/layout/detail/demo/index.d.ts +1 -2
  55. package/es/layout/optionTitle/components/btnMenu/demo.d.ts +1 -2
  56. package/es/layout/optionTitle/components/title/demo.d.ts +1 -2
  57. package/es/layout/optionTitle/demo/index.d.ts +1 -2
  58. package/es/layout/optionTitle/demo/layout.d.ts +1 -2
  59. package/es/layout/optionTitle/demo/page.d.ts +1 -2
  60. package/es/layout/optionTitle/demo/panelCreate.d.ts +1 -2
  61. package/es/loginForm/demo/index.d.ts +1 -2
  62. package/es/quickDatePicker/demo/index.d.ts +3 -0
  63. package/es/quickDatePicker/demo/index.js +40 -0
  64. package/es/quickDatePicker/index.d.ts +6 -0
  65. package/es/quickDatePicker/index.js +183 -0
  66. package/es/quickDatePicker/styles/index.less +138 -0
  67. package/es/quickDatePicker/types.d.ts +25 -0
  68. package/es/quickDatePicker/types.js +1 -0
  69. package/es/quickDatePicker/utils.d.ts +12 -0
  70. package/es/quickDatePicker/utils.js +52 -0
  71. package/es/searchInput/demo/index.d.ts +1 -2
  72. package/es/select/demo/children.d.ts +1 -2
  73. package/es/select/demo/customLabel.d.ts +1 -2
  74. package/es/select/demo/group.d.ts +1 -2
  75. package/es/select/demo/index.d.ts +1 -2
  76. package/es/select/demo/loading.d.ts +1 -2
  77. package/es/select/demo/multiple.d.ts +1 -2
  78. package/es/socket/demo/demo.d.ts +1 -2
  79. package/es/table/demo/index.d.ts +1 -2
  80. package/es/table/demo/index2.d.ts +1 -2
  81. package/es/table/demo/index3.d.ts +1 -2
  82. package/es/targetConditionGroup/demo/group.d.ts +1 -2
  83. package/es/targetConditionGroup/demo/index.d.ts +1 -2
  84. package/es/targetConditionGroup/styles/index.less +3 -0
  85. package/es/targetSelector/demo/index.d.ts +1 -2
  86. package/es/targetSelector/index.js +12 -4
  87. package/es/userCondition/conditions/tagsCondition.js +1 -4
  88. package/es/userCondition/conditions/textDesc.js +3 -2
  89. package/es/userCondition/demo/business.d.ts +1 -2
  90. package/es/userCondition/demo/index.d.ts +1 -2
  91. package/es/userCondition/demo/mockData.d.ts +27 -41
  92. package/es/userCondition/demo/mockData.js +121 -175
  93. package/es/userCondition/types.d.ts +8 -0
  94. package/es/userCondition/types.js +8 -0
  95. package/es/userCondition/util.d.ts +11 -1
  96. package/es/userCondition/util.js +35 -10
  97. package/es/userGroup/demo/group.d.ts +1 -2
  98. package/es/userGroup/demo/index.d.ts +1 -2
  99. package/es/userGroup/index.js +10 -2
  100. package/es/userGroup/styles/index.less +0 -1
  101. package/es/userTagsSelector/cascaderOverlay.js +29 -2
  102. package/es/userTagsSelector/demo/index.d.ts +1 -2
  103. package/es/userTagsSelector/demo/index.js +1 -1
  104. package/es/userTagsSelector/index.js +4 -2
  105. package/es/userTagsSelector/util.d.ts +1 -0
  106. package/es/userTagsSelector/util.js +11 -0
  107. package/es/utils/demo/ajax.d.ts +1 -2
  108. package/es/utils/demo/interruption.d.ts +1 -2
  109. package/package.json +2 -2
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -0,0 +1,2 @@
1
+ declare const _default: () => JSX.Element;
2
+ export default _default;
@@ -0,0 +1,22 @@
1
+ import { Card, DatePicker, Space } from 'antd';
2
+ import React from 'react';
3
+ import AssetsDemo from '.';
4
+ var RangePicker = DatePicker.RangePicker;
5
+ export default (function () {
6
+ return /*#__PURE__*/React.createElement(AssetsDemo, null, /*#__PURE__*/React.createElement(Card, {
7
+ title: "Input"
8
+ }, /*#__PURE__*/React.createElement(Space, {
9
+ direction: "vertical",
10
+ size: 12
11
+ }, /*#__PURE__*/React.createElement(RangePicker, null), /*#__PURE__*/React.createElement(RangePicker, {
12
+ showTime: true
13
+ }), /*#__PURE__*/React.createElement(RangePicker, {
14
+ picker: "week"
15
+ }), /*#__PURE__*/React.createElement(RangePicker, {
16
+ picker: "month"
17
+ }), /*#__PURE__*/React.createElement(RangePicker, {
18
+ picker: "quarter"
19
+ }), /*#__PURE__*/React.createElement(RangePicker, {
20
+ picker: "year"
21
+ }))));
22
+ });
@@ -0,0 +1,2 @@
1
+ declare const _default: () => JSX.Element;
2
+ export default _default;
@@ -0,0 +1,30 @@
1
+ import { Card, Space, Select } from 'antd';
2
+ import React from 'react';
3
+ import AssetsDemo from '.';
4
+ export default (function () {
5
+ return /*#__PURE__*/React.createElement(AssetsDemo, null, /*#__PURE__*/React.createElement(Card, {
6
+ title: "Input"
7
+ }, /*#__PURE__*/React.createElement(Space, {
8
+ direction: "vertical",
9
+ size: 12
10
+ }, /*#__PURE__*/React.createElement(Select, {
11
+ defaultValue: "lucy",
12
+ style: {
13
+ width: 120
14
+ },
15
+ options: [{
16
+ value: 'jack',
17
+ label: 'Jack'
18
+ }, {
19
+ value: 'lucy',
20
+ label: 'Lucy'
21
+ }, {
22
+ value: 'Yiminghe',
23
+ label: 'yiminghe'
24
+ }, {
25
+ value: 'disabled',
26
+ label: 'Disabled',
27
+ disabled: true
28
+ }]
29
+ }))));
30
+ });
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -25,10 +25,19 @@
25
25
 
26
26
  // 下拉组件操作栏样式
27
27
  .__select-handle {
28
- padding: @padding-xss;
29
- border: 1px solid @border-color-base;
28
+ // padding: @padding-xss;
29
+ // border: 1px solid @border-color-base;
30
+ background: @custom-background;
31
+ border: 1px solid @custom-background;
30
32
  border-radius: @border-radius-small;
31
33
  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
+ }
32
41
  }
33
42
 
34
43
  // 下拉组件展开panel样式
@@ -118,7 +127,6 @@
118
127
  .__default-overflow();
119
128
 
120
129
  &:hover:not(.disable) {
121
- background-color: @background-color-base;
122
130
  border-color: @primary-color;
123
131
  box-shadow: none;
124
132
  }
@@ -132,14 +140,12 @@
132
140
 
133
141
  // 下拉框常用样式
134
142
  .__select-normal-secondary {
135
- background-color: @white;
136
143
  border: 1px solid @border-color-base;
137
144
  border-radius: @border-radius-small;
138
145
 
139
146
  &:not(.disable) {
140
147
  &:hover,
141
148
  &.active {
142
- .__default-hover();
143
149
  border-color: @border-color-base;
144
150
  box-shadow: none;
145
151
  }
@@ -48,11 +48,14 @@
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
-
51
+ &:hover {
52
+ border-color: @primary-color;
53
+ }
52
54
  &:focus,
53
55
  &-focused {
54
56
  background-color: #fff !important;
55
- box-shadow: 0 0 0 4px @primary-color-hover !important;
57
+ border-color: @primary-color;
58
+ box-shadow: 0 0 0 4px @custom-focus !important;
56
59
  }
57
60
  &.ant-input-status-error {
58
61
  border-color: @error-color !important;
@@ -70,6 +73,20 @@
70
73
  background-color: @background-color-base!important;
71
74
  }
72
75
 
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
+
73
90
  .ant-select:not(.ant-select-customize-input):not(.ant-pagination-size-changer):not(
74
91
  .ant-select-status-error
75
92
  )
@@ -178,14 +195,7 @@
178
195
 
179
196
  &:hover:not(.ant-picker-disabled),
180
197
  &.ant-picker-focused {
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
- }
198
+ border-color: @primary-color!important;
189
199
  }
190
200
 
191
201
  .ant-picker-active-bar {
@@ -12,3 +12,6 @@
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';
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -13,7 +13,6 @@
13
13
  .biz-attr-select-handle {
14
14
  width: 184px;
15
15
  padding: 0;
16
- border: none;
17
16
  }
18
17
  .ant-space-item:nth-of-type(3) {
19
18
  min-width: 184px;
@@ -9,9 +9,9 @@ import { message } from 'antd';
9
9
  import { classPrefix } from '..';
10
10
  import { PropType } from '../../attributeSelector/types';
11
11
  import BizSelect from '../../select';
12
- import { dateOperate, numberOperate, stringOperate } from '../utils/operates';
12
+ import { dateOperate, numberOperate, stringOperate, specialOperate } from '../utils/operates';
13
13
  var BizOperateList = function BizOperateList(props) {
14
- var _props$attr2;
14
+ var _props$attr3;
15
15
  var _useState = useState({
16
16
  value: ''
17
17
  }),
@@ -22,10 +22,26 @@ var BizOperateList = function BizOperateList(props) {
22
22
  _useState4 = _slicedToArray(_useState3, 2),
23
23
  options = _useState4[0],
24
24
  setOptions = _useState4[1];
25
+ var specialOperateHandle = function specialOperateHandle(label) {
26
+ var _special = ['平台', '网络', '运营商', '设备型号'];
27
+ return label && _special.indexOf(label) !== -1 ? true : false;
28
+ };
25
29
  useEffect(function () {
26
30
  var _props$attr;
27
31
  var type = (_props$attr = props.attr) === null || _props$attr === void 0 ? void 0 : _props$attr.type;
28
- var optionData = type === PropType.NUMBER ? numberOperate : type === PropType.DATE ? dateOperate : stringOperate;
32
+ var optionData = [];
33
+ if (type === PropType.NUMBER) {
34
+ optionData = numberOperate;
35
+ } else if (type === PropType.DATE) {
36
+ optionData = dateOperate;
37
+ } else {
38
+ var _props$attr2;
39
+ if (specialOperateHandle((_props$attr2 = props.attr) === null || _props$attr2 === void 0 ? void 0 : _props$attr2.label)) {
40
+ optionData = specialOperate;
41
+ } else {
42
+ optionData = stringOperate;
43
+ }
44
+ }
29
45
  setOptions(optionData);
30
46
  var flag = true;
31
47
  if (current.value) {
@@ -45,7 +61,7 @@ var BizOperateList = function BizOperateList(props) {
45
61
  if (!flag) return;
46
62
  setCurrent(optionData[0]);
47
63
  onChange(optionData[0]);
48
- }, [(_props$attr2 = props.attr) === null || _props$attr2 === void 0 ? void 0 : _props$attr2.key]);
64
+ }, [(_props$attr3 = props.attr) === null || _props$attr3 === void 0 ? void 0 : _props$attr3.key]);
49
65
  var onChange = function onChange(data) {
50
66
  setCurrent(data);
51
67
  if (props.onChange) props.onChange(data.value);
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -2,9 +2,6 @@
2
2
 
3
3
  /* 筛选条件 */
4
4
  .biz-condition-item {
5
- &.border {
6
- .__select-handle();
7
- }
8
5
  &-panel {
9
6
  display: flex;
10
7
  width: 100%;
@@ -19,8 +16,6 @@
19
16
  .biz-attr-select-handle {
20
17
  margin-bottom: 2px;
21
18
  padding: 0;
22
- border: none;
23
- border-radius: 0;
24
19
  }
25
20
 
26
21
  .ant-input {
@@ -1,3 +1,7 @@
1
+ export declare const specialOperate: {
2
+ name: string;
3
+ value: string;
4
+ }[];
1
5
  export declare const stringOperate: {
2
6
  name: string;
3
7
  value: string;
@@ -1,4 +1,11 @@
1
1
  var _Array$from, _Array$from2;
2
+ export var specialOperate = [{
3
+ name: '是',
4
+ value: 'equal'
5
+ }, {
6
+ name: '不是',
7
+ value: 'not equal'
8
+ }];
2
9
  export var stringOperate = [{
3
10
  name: '是',
4
11
  value: 'equal'
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import '@zgfe/business-lib/es/assets/styles/resetAntd.less';
3
- declare const _default: () => React.JSX.Element;
2
+ declare const _default: () => JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import '@zgfe/business-lib/es/assets/styles/resetAntd.less';
3
- declare const _default: () => React.JSX.Element;
2
+ declare const _default: () => JSX.Element;
4
3
  export default _default;
@@ -83,9 +83,9 @@ var BizAttributeSelector = function BizAttributeSelector(props) {
83
83
  setVisible(flag);
84
84
  };
85
85
  return /*#__PURE__*/React.createElement("div", {
86
- className: classPrefix
86
+ className: "".concat(classPrefix)
87
87
  }, /*#__PURE__*/React.createElement("div", {
88
- className: "".concat(classPrefix, "-handle")
88
+ className: "".concat(classPrefix, "-handle ").concat(visible ? 'focus' : '')
89
89
  }, /*#__PURE__*/React.createElement(Dropdown, {
90
90
  dropdownRender: function dropdownRender() {
91
91
  return /*#__PURE__*/React.createElement(AttrListPanel, _objectSpread(_objectSpread({
@@ -1,6 +1,7 @@
1
1
  @import '../../assets/styles/inner.less';
2
2
 
3
3
  .biz-attr-select {
4
+ border-radius: 4px;
4
5
  &-handle {
5
6
  display: flex;
6
7
  flex-direction: row;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import '../../assets/colorIcon/iconfont.js';
3
- declare const _default: () => React.JSX.Element;
2
+ declare const _default: () => JSX.Element;
4
3
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import '@zgfe/business-lib/es/assets/styles/resetAntd.less';
3
- declare const _default: () => React.JSX.Element;
2
+ declare const _default: () => JSX.Element;
4
3
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import '@zgfe/business-lib/es/assets/styles/resetAntd.less';
3
- declare const _default: () => React.JSX.Element;
2
+ declare const _default: () => JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import '@zgfe/business-lib/es/assets/styles/resetAntd.less';
3
- declare const _default: () => React.JSX.Element;
2
+ declare const _default: () => JSX.Element;
4
3
  export default _default;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import '@zgfe/business-lib/es/assets/styles/resetAntd.less';
3
- declare const _default: () => React.JSX.Element;
2
+ declare const _default: () => JSX.Element;
4
3
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -25,12 +25,7 @@ var EventDemo = function EventDemo() {
25
25
  var onChange = function onChange(data) {
26
26
  setValue(data);
27
27
  };
28
- return /*#__PURE__*/React.createElement("div", {
29
- style: {
30
- height: '500px',
31
- overflow: 'auto'
32
- }
33
- }, /*#__PURE__*/React.createElement("div", {
28
+ return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
34
29
  style: {
35
30
  height: '700px'
36
31
  }
@@ -96,8 +96,9 @@ var BizEventSelector = function BizEventSelector(props) {
96
96
  setCurrentValue(value);
97
97
  props.onChange && props.onChange(value);
98
98
  };
99
- var onVisibleChange = function onVisibleChange(flag) {
100
- setVisible(flag);
99
+ var onVisibleChange = function onVisibleChange(show) {
100
+ setVisible(show);
101
+ props.onVisibleChange && props.onVisibleChange(show);
101
102
  };
102
103
  return /*#__PURE__*/React.createElement("div", {
103
104
  className: [classPrefix, border ? 'border' : ''].join(' ')
@@ -124,7 +125,7 @@ var BizEventSelector = function BizEventSelector(props) {
124
125
  } : undefined,
125
126
  destroyPopupOnHide: props.defaultSelectAble
126
127
  }, /*#__PURE__*/React.createElement("div", {
127
- className: "".concat(classPrefix, "-handle"),
128
+ className: "".concat(classPrefix, "-handle ").concat(visible ? 'focus' : ''),
128
129
  id: selectId
129
130
  }, /*#__PURE__*/React.createElement(SelectHandle, {
130
131
  theme: theme,
@@ -1,12 +1,13 @@
1
1
  @import '../../assets/styles/inner.less';
2
2
 
3
3
  .biz-event-select {
4
+ position: relative;
5
+ border-radius: 4px;
4
6
  &.border {
5
7
  .biz-event-select-handle {
6
8
  .__select-handle();
7
9
  }
8
10
  }
9
- position: relative;
10
11
  &-list-panel {
11
12
  display: flex;
12
13
  flex-direction: row;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
package/es/index.d.ts CHANGED
@@ -8,6 +8,7 @@ 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';
11
12
  import BizSelect from './select';
12
13
  import BizDialog from './dialog';
13
14
  import BizChart from './chart';
@@ -35,7 +36,7 @@ import BizAttrConditionGroup from './attrCondition/group';
35
36
  import BizTargetFromPanel from './layout/optionTitle';
36
37
  import { BizTargetFromPanelContext } from './layout/optionTitle/types';
37
38
  import BizLayout from './layout/columnLayout';
38
- export { BizTargetFromPanel, BizSearchInput, BizSelect, BizDialog, BizChart, BizTable, BizLayout, 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
+ export { BizTargetFromPanel, BizSearchInput, BizSelect, BizDialog, BizChart, BizTable, BizLayout, BizAnalysisLayout, BizDetailLayout, BizUserGroup, IconFont, ColorIcon, BizTargetSelector, BizEventSelector, BizAttributeSelector, BizGlobalDataContext, BizTargetFromPanelContext, BizTargetCondition, BizDatePicker, BizQuickDatePicker, BizConditionItem, BizConditionGroup, BizAttrCondition, BizAttrConditionGroup, BizUserCondition, BizAddToScene, BizAddToPanel, BizCycleTime, BizDnd, BizLoginForm, DemoWrapper, SocketClient, ajax, util, theme, convertAttributeData, BizUserTagsSelect, setGlobalConfig, };
39
40
  export type { UserGroupTypes } from './userGroup/types';
40
41
  export type { BizSelectTypes } from './select/types';
41
42
  export type { AttributeSelect } from './attributeSelector/types';
package/es/index.js CHANGED
@@ -7,6 +7,7 @@ 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';
10
11
  import BizSelect from './select';
11
12
  import BizDialog from './dialog';
12
13
  import BizChart from './chart';
@@ -34,4 +35,4 @@ import BizAttrConditionGroup from './attrCondition/group';
34
35
  import BizTargetFromPanel from './layout/optionTitle';
35
36
  import { BizTargetFromPanelContext } from './layout/optionTitle/types';
36
37
  import BizLayout from './layout/columnLayout';
37
- export { BizTargetFromPanel, BizSearchInput, BizSelect, BizDialog, BizChart, BizTable, BizLayout, 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 };
38
+ export { BizTargetFromPanel, BizSearchInput, BizSelect, BizDialog, BizChart, BizTable, BizLayout, BizAnalysisLayout, BizDetailLayout, BizUserGroup, IconFont, ColorIcon, BizTargetSelector, BizEventSelector, BizAttributeSelector, BizGlobalDataContext, BizTargetFromPanelContext, BizTargetCondition, BizDatePicker, BizQuickDatePicker, BizConditionItem, BizConditionGroup, BizAttrCondition, BizAttrConditionGroup, BizUserCondition, BizAddToScene, BizAddToPanel, BizCycleTime, BizDnd, BizLoginForm, DemoWrapper, SocketClient, ajax, util, theme, convertAttributeData, BizUserTagsSelect, setGlobalConfig };
@@ -1,5 +1,4 @@
1
- import React from 'react';
2
1
  import '@zgfe/business-lib/es/assets/styles/resetAntd.less';
3
2
  import './index.less';
4
- declare const _default: () => React.JSX.Element;
3
+ declare const _default: () => JSX.Element;
5
4
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import React from 'react';
2
- declare const _default: () => React.JSX.Element;
1
+ declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import './index.less';
3
- declare const _default: () => React.JSX.Element;
2
+ declare const _default: () => JSX.Element;
4
3
  export default _default;