@zgfe/business-lib 1.2.70-hxd.17 → 1.2.70-hxd.19
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/AUMFormulaTarget/components/formula/index.js +16 -14
- package/es/AUMFormulaTarget/components/formula/util.js +6 -6
- package/es/AUMFormulaTarget/components/formulaItem/index.js +23 -23
- package/es/AUMFormulaTarget/components/panel/cdpCshCondition.js +52 -52
- package/es/AUMFormulaTarget/components/panel/index.js +30 -30
- package/es/AUMFormulaTarget/components/panel/index.less +269 -269
- package/es/AUMFormulaTarget/components/panel/item.js +22 -22
- package/es/AUMFormulaTarget/components/symbol/index.js +5 -5
- package/es/AUMFormulaTarget/demo/group.js +13 -13
- package/es/AUMFormulaTarget/demo/index.js +1 -1
- package/es/AUMFormulaTarget/index.js +11 -11
- package/es/addToPanel/components/addPanel.js +5 -5
- package/es/addToPanel/components/numberChart.js +5 -5
- package/es/addToPanel/components/styleList.js +5 -5
- package/es/addToPanel/components/wholeChart.js +5 -5
- package/es/addToPanel/demo/edit.js +7 -7
- package/es/addToPanel/demo/index.js +7 -7
- package/es/addToPanel/index.js +22 -22
- package/es/addToScene/demo/index.js +7 -7
- package/es/addToScene/index.js +9 -9
- package/es/assets/colorIcon/demo_index.html +1023 -492
- package/es/assets/colorIcon/iconfont.css +203 -110
- package/es/assets/colorIcon/iconfont.js +13 -14
- package/es/assets/colorIcon/iconfont.json +555 -394
- package/es/assets/colorIcon/iconfont.ttf +0 -0
- package/es/assets/colorIcon/iconfont.woff +0 -0
- package/es/assets/colorIcon/iconfont.woff2 +0 -0
- package/es/assets/demo/dropdown.js +5 -5
- package/es/assets/demo/input.js +5 -5
- package/es/assets/iconfont/demo_index.html +203 -348
- package/es/assets/iconfont/iconfont.css +103 -63
- package/es/assets/iconfont/iconfont.js +1 -1
- package/es/assets/iconfont/iconfont.json +1584 -1689
- package/es/assets/styles/resetAntd.less +568 -564
- package/es/assets/styles/variable.less +21 -21
- package/es/assets/theme.js +2 -2
- package/es/attrCondition/demo/group.js +1 -1
- package/es/attrCondition/group.js +15 -7
- package/es/attrCondition/index.js +15 -13
- package/es/attrCondition/styles/index.less +101 -101
- package/es/attrCondition/useAttrCondition.js +11 -12
- package/es/attrCondition/useConditionGroup.js +8 -8
- package/es/attrConditions/components/operateList.js +16 -13
- package/es/attrConditions/components/stringList.js +22 -21
- package/es/attrConditions/components/valuesList.js +5 -5
- package/es/attrConditions/demo/group.js +7 -7
- package/es/attrConditions/demo/index.js +5 -5
- package/es/attrConditions/group.js +3 -3
- package/es/attrConditions/index.js +4 -2
- package/es/attrConditions/types.d.ts +3 -0
- package/es/attrConditions/utils/operates.d.ts +4 -0
- package/es/attrConditions/utils/operates.js +37 -0
- package/es/attributeSelector/demo/disable.js +5 -5
- package/es/attributeSelector/demo/extra.js +5 -5
- package/es/attributeSelector/demo/funnel.js +5 -5
- package/es/attributeSelector/demo/index.js +5 -5
- package/es/attributeSelector/index.js +17 -15
- package/es/attributeSelector/listPanel.js +20 -17
- package/es/attributeSelector/types.d.ts +1 -0
- package/es/chart/demo/data/data5 copy.js +2 -2
- package/es/chart/demo/index.js +5 -5
- package/es/chart/demo/line_bar_stack.js +25 -25
- package/es/chart/demo/stack.js +5 -5
- package/es/chart/index.js +11 -11
- package/es/chart/styles/index.less +113 -113
- package/es/chart/util/chartOptionConfig.js +6 -6
- package/es/chart/util/color.js +1 -1
- package/es/chart/util/data/china.js +1 -1
- package/es/chart/util/formatData.js +6 -6
- package/es/chart/util/mapUtil.js +11 -11
- package/es/constants/apis.d.ts +1 -0
- package/es/constants/apis.js +2 -1
- package/es/constants/common.d.ts +11 -0
- package/es/constants/common.js +31 -0
- package/es/context/index.d.ts +1 -0
- package/es/cycleTime/demo/hour.js +5 -5
- package/es/cycleTime/index.js +16 -16
- package/es/cycleTime/month.js +7 -7
- package/es/dataSetGroup/index.js +5 -5
- package/es/dataSetGroup/overlay.js +10 -10
- package/es/datePicker/datePicker.js +8 -8
- package/es/datePicker/demo/customType.js +5 -5
- package/es/datePicker/demo/day.js +5 -5
- package/es/datePicker/demo/index.js +5 -5
- package/es/datePicker/index.js +19 -19
- package/es/datePicker/shortcut.js +5 -5
- package/es/datePickerV2/datePicker.js +8 -8
- package/es/datePickerV2/demo/customType.js +5 -5
- package/es/datePickerV2/demo/day.js +5 -5
- package/es/datePickerV2/demo/index.js +6 -6
- package/es/datePickerV2/index.js +35 -26
- package/es/datePickerV2/popoverContent.js +8 -8
- package/es/datePickerV2/shortcut.js +8 -8
- package/es/datePickerV2/styles/index.less +194 -194
- package/es/datePickerV2/types.d.ts +1 -0
- package/es/datePickerV2/utils.js +8 -2
- package/es/demoWrapper/content.js +43 -38
- package/es/demoWrapper/index.js +15 -15
- package/es/demoWrapper/innerDemo.js +1 -1
- package/es/dialog/demo/index.js +5 -5
- package/es/dialog/index.js +6 -6
- package/es/dnd/demo/data.js +5 -5
- package/es/dnd/demo/handle.js +5 -5
- package/es/dnd/demo/index.js +5 -1
- package/es/dnd/index.js +11 -10
- package/es/dnd/item.js +20 -6
- package/es/empty/index.js +6 -6
- package/es/eventSelector/demo/index.js +5 -5
- package/es/eventSelector/demo/multiple.js +5 -5
- package/es/eventSelector/index.js +10 -9
- package/es/eventSelector/listPanel.js +42 -46
- package/es/eventSelector/option.d.ts +1 -0
- package/es/eventSelector/option.js +15 -4
- package/es/eventSelector/styles/index.less +127 -123
- package/es/eventSelector/types.d.ts +1 -0
- package/es/formulaTarget/components/formula/index.js +9 -8
- package/es/formulaTarget/components/formula/index.less +76 -76
- package/es/formulaTarget/components/formula/types.d.ts +1 -0
- package/es/formulaTarget/components/formula/util.js +6 -6
- package/es/formulaTarget/components/formulaItem/index.js +27 -22
- package/es/formulaTarget/components/formulaItem/types.d.ts +1 -0
- package/es/formulaTarget/components/panel/index.js +34 -33
- package/es/formulaTarget/components/panel/item.js +13 -9
- package/es/formulaTarget/components/panel/types.d.ts +2 -0
- package/es/formulaTarget/components/symbol/index.js +5 -5
- package/es/formulaTarget/demo/group.js +13 -13
- package/es/formulaTarget/index.js +27 -26
- package/es/formulaTarget/types.d.ts +1 -0
- package/es/hooks/useBizStore.js +35 -35
- package/es/hooks/useChanged.js +5 -5
- package/es/hooks/useSubject.js +5 -5
- package/es/icon/iconFont.js +8 -8
- package/es/index.d.ts +2 -2
- package/es/index.js +2 -2
- package/es/layout/analysisLayout/index.js +8 -8
- package/es/layout/columnLayout/demo/data.js +9 -9
- package/es/layout/columnLayout/demo/index.js +5 -5
- package/es/layout/columnLayout/demo/panel.js +5 -5
- package/es/layout/columnLayout/index.js +10 -10
- package/es/layout/optionTitle/components/btnMenu/demo.js +2 -2
- package/es/layout/optionTitle/components/btnMenu/index.js +6 -6
- package/es/layout/optionTitle/components/changePanelModal/index.js +14 -14
- package/es/layout/optionTitle/components/changePanelModal/panelItem.js +10 -10
- package/es/layout/optionTitle/components/changePanelModal/styles/index.less +92 -92
- package/es/layout/optionTitle/components/title/demo.js +5 -5
- package/es/layout/optionTitle/components/title/index.js +11 -11
- package/es/layout/optionTitle/demo/index.js +5 -5
- package/es/layout/optionTitle/demo/layout.js +5 -5
- package/es/layout/optionTitle/demo/panelCreate.js +5 -5
- package/es/layout/optionTitle/index.js +16 -16
- package/es/layout/optionTitle/layout.js +9 -9
- package/es/layout/optionTitle/styles/layout.less +90 -90
- package/es/loginForm/index.js +5 -5
- package/es/platformSelector/index.js +5 -5
- package/es/platformSelector/styles/index.less +26 -26
- package/es/productCondition/conditionTypeList.js +2 -2
- package/es/productCondition/conditions/cdpCshCondition.js +54 -51
- package/es/productCondition/conditions/constants.d.ts +2 -0
- package/es/productCondition/conditions/constants.js +2 -0
- package/es/productCondition/conditions/eventCondition.js +8 -8
- package/es/productCondition/conditions/order/runPeriodCondition.js +6 -6
- package/es/productCondition/conditions/order/runTimesCondition.js +13 -13
- package/es/productCondition/conditions/periodCondition.js +8 -8
- package/es/productCondition/conditions/propCondition.js +14 -14
- package/es/productCondition/conditions/runTimesCondition.js +6 -6
- package/es/productCondition/conditions/styles/periodCondition.less +26 -26
- package/es/productCondition/conditions/textDesc.js +6 -6
- package/es/productCondition/conditions/timeDimension.js +18 -18
- package/es/productCondition/demo/business.js +5 -5
- package/es/productCondition/demo/index.js +5 -5
- package/es/productCondition/index.js +17 -17
- package/es/productCondition/orConditions.js +8 -8
- package/es/productCondition/relationLabel.js +2 -2
- package/es/productCondition/styles/conditionTypeList.less +32 -30
- package/es/productCondition/styles/relationLabel.less +19 -19
- package/es/productCondition/types.d.ts +2 -0
- package/es/productCondition/util.d.ts +4 -0
- package/es/productCondition/util.js +10 -8
- package/es/quickDatePicker/demo/index.js +36 -16
- package/es/quickDatePicker/index.js +129 -30
- package/es/quickDatePicker/styles/index.less +141 -138
- package/es/quickDatePicker/types.d.ts +13 -0
- package/es/quickDatePicker/utils.d.ts +6 -0
- package/es/quickDatePicker/utils.js +54 -1
- package/es/select/demo/children.js +5 -5
- package/es/select/demo/group.js +5 -5
- package/es/select/demo/index.js +7 -6
- package/es/select/demo/loading.js +5 -5
- package/es/select/demo/multiple.js +5 -5
- package/es/select/handle.js +13 -13
- package/es/select/index.js +17 -16
- package/es/select/option.js +14 -14
- package/es/select/overlay.js +18 -17
- package/es/select/styles/handle.less +206 -193
- package/es/socket/demo/demo.js +8 -8
- package/es/socket/index.js +26 -23
- package/es/subjectWrapper/index.js +16 -14
- package/es/table/demo/data/color.js +1 -1
- package/es/table/demo/index.js +15 -15
- package/es/table/demo/index2.js +5 -5
- package/es/table/demo/index3.js +8 -8
- package/es/table/index.js +11 -38
- package/es/targetConditionGroup/components/targetDimension.js +7 -7
- package/es/targetConditionGroup/demo/group.js +18 -31
- package/es/targetConditionGroup/demo/index.js +5 -5
- package/es/targetConditionGroup/index.js +35 -33
- package/es/targetConditionGroup/types.d.ts +1 -0
- package/es/targetSelector/demo/index.js +5 -5
- package/es/targetSelector/editBox.d.ts +1 -0
- package/es/targetSelector/editBox.js +13 -8
- package/es/targetSelector/index.js +9 -8
- package/es/targetSelector/optionIcon.js +3 -0
- package/es/targetSelector/styles/index.less +142 -110
- package/es/userCondition/conditionTypeList.js +13 -12
- package/es/userCondition/conditions/business/operatorCondition.js +15 -15
- package/es/userCondition/conditions/business/paramsCondition.js +10 -10
- package/es/userCondition/conditions/businessCondition.js +15 -15
- package/es/userCondition/conditions/cdpCondition.js +36 -33
- package/es/userCondition/conditions/cdpCshCondition.js +54 -51
- package/es/userCondition/conditions/constants.d.ts +2 -0
- package/es/userCondition/conditions/constants.js +2 -0
- package/es/userCondition/conditions/dataAttribute.js +22 -18
- package/es/userCondition/conditions/eventCondition.js +31 -39
- package/es/userCondition/conditions/order/runPeriodCondition.js +6 -6
- package/es/userCondition/conditions/order/runTimesCondition.js +13 -13
- package/es/userCondition/conditions/periodCondition.js +25 -17
- package/es/userCondition/conditions/propCondition.d.ts +1 -4
- package/es/userCondition/conditions/propCondition.js +21 -19
- package/es/userCondition/conditions/runTimesCondition.js +6 -6
- package/es/userCondition/conditions/styles/eventCondition.less +71 -57
- package/es/userCondition/conditions/styles/periodCondition.less +32 -26
- package/es/userCondition/conditions/styles/textDesc.less +16 -17
- package/es/userCondition/conditions/tagsCondition.js +23 -16
- package/es/userCondition/conditions/textDesc.js +20 -16
- package/es/userCondition/conditions/timeDimension.js +18 -18
- package/es/userCondition/demo/business.js +5 -5
- package/es/userCondition/demo/index.js +25 -19
- package/es/userCondition/demo/mockData.d.ts +20 -94
- package/es/userCondition/demo/mockData.js +31 -76
- package/es/userCondition/index.d.ts +6 -5
- package/es/userCondition/index.js +129 -50
- package/es/userCondition/orConditions.js +8 -8
- package/es/userCondition/relationLabel.js +2 -2
- package/es/userCondition/styles/conditionTypeList.less +32 -30
- package/es/userCondition/styles/relationLabel.less +19 -19
- package/es/userCondition/types.d.ts +4 -1
- package/es/userCondition/util.d.ts +4 -0
- package/es/userCondition/util.js +10 -8
- package/es/userGroup/demo/group.js +13 -13
- package/es/userGroup/demo/index.js +8 -15
- package/es/userGroup/index.js +129 -23
- package/es/userGroup/overlay.js +32 -18
- package/es/userGroup/styles/index.less +199 -145
- package/es/userGroup/types.d.ts +2 -0
- package/es/userGroup/util.d.ts +2 -0
- package/es/userGroup/util.js +47 -0
- package/es/userGroupHeader/demo/index.js +1 -1
- package/es/userGroupHeader/index.d.ts +1 -0
- package/es/userGroupHeader/index.js +117 -14
- package/es/userGroupHeader/styles/index.less +50 -31
- package/es/userTagsSelector/cascaderOverlay.js +36 -29
- package/es/userTagsSelector/components/tagList/index.js +5 -5
- package/es/userTagsSelector/demo/index.js +5 -5
- package/es/userTagsSelector/groups/index.js +5 -5
- package/es/userTagsSelector/index.js +43 -13
- package/es/userTagsSelector/multipleCheckPanel/index.js +5 -5
- package/es/userTagsSelector/styles/index.less +20 -10
- package/es/userTagsSelector/types.d.ts +2 -0
- package/es/userTagsSelector/util.d.ts +1 -0
- package/es/userTagsSelector/util.js +20 -0
- package/es/utils/ajax.js +86 -46
- package/es/utils/demo/interruption.js +5 -5
- package/es/utils/type.js +6 -6
- package/es/utils/util.d.ts +1 -0
- package/es/utils/util.js +18 -0
- package/package.json +2 -2
- package/es/assets/colorIcon/iconfont.svg +0 -129
|
@@ -1,194 +1,194 @@
|
|
|
1
|
-
@import '../../assets/styles/inner.less';
|
|
2
|
-
|
|
3
|
-
.biz-date-picker-old-wrap {
|
|
4
|
-
display: flex;
|
|
5
|
-
|
|
6
|
-
&-type {
|
|
7
|
-
width: 88px;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
&-shortcut {
|
|
11
|
-
display: flex;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
&-list {
|
|
15
|
-
display: flex;
|
|
16
|
-
// margin: 0 16px 0 0;
|
|
17
|
-
|
|
18
|
-
&-relative {
|
|
19
|
-
display: flex;
|
|
20
|
-
gap: 24px;
|
|
21
|
-
align-items: center;
|
|
22
|
-
margin-left: 16px;
|
|
23
|
-
|
|
24
|
-
&-content {
|
|
25
|
-
display: flex;
|
|
26
|
-
align-items: center;
|
|
27
|
-
span {
|
|
28
|
-
margin: 0 8px;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.ant-input-number {
|
|
32
|
-
background-color: #fff !important;
|
|
33
|
-
border: 1px solid var(---, #ecedf0);
|
|
34
|
-
border-radius: 4px;
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
.biz-select-handle {
|
|
41
|
-
margin-right: 8px;
|
|
42
|
-
padding: 0;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
&-item {
|
|
46
|
-
display: flex;
|
|
47
|
-
align-items: center;
|
|
48
|
-
justify-content: center;
|
|
49
|
-
width: 58px;
|
|
50
|
-
height: @height-base;
|
|
51
|
-
color: @text-color-secondary;
|
|
52
|
-
border: 1px solid @border-color-base;
|
|
53
|
-
cursor: pointer;
|
|
54
|
-
|
|
55
|
-
&:first-child {
|
|
56
|
-
border-radius: @border-radius-small 0px 0px @border-radius-small;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
&:last-child {
|
|
60
|
-
border-radius: 0px @border-radius-small @border-radius-small 0px;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
&:not(:last-child) {
|
|
64
|
-
border-right: none;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
&:hover {
|
|
68
|
-
.__default-hover();
|
|
69
|
-
border-color: @border-color-base;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
&.active {
|
|
73
|
-
color: @primary-color;
|
|
74
|
-
background: @primary-color-hover;
|
|
75
|
-
border: 1px solid @primary-color;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&-input {
|
|
80
|
-
display: flex;
|
|
81
|
-
flex-shrink: 0;
|
|
82
|
-
gap: 4px;
|
|
83
|
-
align-items: center;
|
|
84
|
-
justify-content: space-between;
|
|
85
|
-
width: 262px;
|
|
86
|
-
padding: 0px 12px;
|
|
87
|
-
font-size: 14px;
|
|
88
|
-
background: #fff;
|
|
89
|
-
border: 1px solid var(---, #ecedf0);
|
|
90
|
-
border-radius: 4px;
|
|
91
|
-
|
|
92
|
-
&-label {
|
|
93
|
-
display: flex;
|
|
94
|
-
gap: 4px;
|
|
95
|
-
align-items: center;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
&:hover {
|
|
99
|
-
// color: #
|
|
100
|
-
border-color: @primary-color;
|
|
101
|
-
cursor: pointer;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&:focus {
|
|
105
|
-
border-color: @primary-color;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
&:active {
|
|
109
|
-
border-color: @primary-color;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
&-active {
|
|
113
|
-
border-color: @primary-color;
|
|
114
|
-
box-shadow: 0 0 0 4px #f0f7ff;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
&-popover {
|
|
118
|
-
padding-top: 0 !important;
|
|
119
|
-
.ant-popover-arrow {
|
|
120
|
-
display: none;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.ant-popover-inner-content {
|
|
124
|
-
padding: 0 16px 16px;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.ant-picker-dropdown {
|
|
128
|
-
padding-top: 0;
|
|
129
|
-
|
|
130
|
-
.ant-picker-range-arrow {
|
|
131
|
-
display: none;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
.ant-tabs-top > .ant-tabs-nav::before {
|
|
136
|
-
border-bottom: 1px solid #fafafb;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
.ant-tabs-tab {
|
|
140
|
-
padding: 12px 0 !important;
|
|
141
|
-
font-size: 14px !important;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.ant-popover-inner {
|
|
145
|
-
background: #fff;
|
|
146
|
-
border-radius: 8px;
|
|
147
|
-
box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
&-error {
|
|
152
|
-
position: relative;
|
|
153
|
-
border: 1px solid var(--io-Error-E-, #fb5547) !important;
|
|
154
|
-
|
|
155
|
-
&::after {
|
|
156
|
-
position: absolute;
|
|
157
|
-
width: 67px;
|
|
158
|
-
color: red;
|
|
159
|
-
font-size: 12px;
|
|
160
|
-
content: '请输入内容';
|
|
161
|
-
}
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
&-panel {
|
|
166
|
-
& div:last-of-type {
|
|
167
|
-
position: relative !important;
|
|
168
|
-
}
|
|
169
|
-
.biz-date-picker-old-wrap-drop {
|
|
170
|
-
top: 0 !important;
|
|
171
|
-
margin-top: 12px;
|
|
172
|
-
padding: 0;
|
|
173
|
-
}
|
|
174
|
-
.ant-picker-panel-container {
|
|
175
|
-
background: #fff;
|
|
176
|
-
border: 1px solid var(--io-n-02, #f2f3f4);
|
|
177
|
-
border-radius: 10px;
|
|
178
|
-
box-shadow: none;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.ant-picker-panel-container .ant-picker-panel-focused {
|
|
182
|
-
border-color: var(--io-n-02, #f2f3f4);
|
|
183
|
-
}
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
&-popoverContent-btns {
|
|
187
|
-
position: absolute;
|
|
188
|
-
top: 0;
|
|
189
|
-
right: 0;
|
|
190
|
-
display: flex;
|
|
191
|
-
gap: 16px;
|
|
192
|
-
justify-content: flex-end;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
1
|
+
@import '../../assets/styles/inner.less';
|
|
2
|
+
|
|
3
|
+
.biz-date-picker-old-wrap {
|
|
4
|
+
display: flex;
|
|
5
|
+
|
|
6
|
+
&-type {
|
|
7
|
+
width: 88px;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
&-shortcut {
|
|
11
|
+
display: flex;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
&-list {
|
|
15
|
+
display: flex;
|
|
16
|
+
// margin: 0 16px 0 0;
|
|
17
|
+
|
|
18
|
+
&-relative {
|
|
19
|
+
display: flex;
|
|
20
|
+
gap: 24px;
|
|
21
|
+
align-items: center;
|
|
22
|
+
margin-left: 16px;
|
|
23
|
+
|
|
24
|
+
&-content {
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
span {
|
|
28
|
+
margin: 0 8px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.ant-input-number {
|
|
32
|
+
background-color: #fff !important;
|
|
33
|
+
border: 1px solid var(---, #ecedf0);
|
|
34
|
+
border-radius: 4px;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.biz-select-handle {
|
|
41
|
+
margin-right: 8px;
|
|
42
|
+
padding: 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
&-item {
|
|
46
|
+
display: flex;
|
|
47
|
+
align-items: center;
|
|
48
|
+
justify-content: center;
|
|
49
|
+
width: 58px;
|
|
50
|
+
height: @height-base;
|
|
51
|
+
color: @text-color-secondary;
|
|
52
|
+
border: 1px solid @border-color-base;
|
|
53
|
+
cursor: pointer;
|
|
54
|
+
|
|
55
|
+
&:first-child {
|
|
56
|
+
border-radius: @border-radius-small 0px 0px @border-radius-small;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&:last-child {
|
|
60
|
+
border-radius: 0px @border-radius-small @border-radius-small 0px;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
&:not(:last-child) {
|
|
64
|
+
border-right: none;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
&:hover {
|
|
68
|
+
.__default-hover();
|
|
69
|
+
border-color: @border-color-base;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&.active {
|
|
73
|
+
color: @primary-color;
|
|
74
|
+
background: @primary-color-hover;
|
|
75
|
+
border: 1px solid @primary-color;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&-input {
|
|
80
|
+
display: flex;
|
|
81
|
+
flex-shrink: 0;
|
|
82
|
+
gap: 4px;
|
|
83
|
+
align-items: center;
|
|
84
|
+
justify-content: space-between;
|
|
85
|
+
width: 262px;
|
|
86
|
+
padding: 0px 12px;
|
|
87
|
+
font-size: 14px;
|
|
88
|
+
background: #fff;
|
|
89
|
+
border: 1px solid var(---, #ecedf0);
|
|
90
|
+
border-radius: 4px;
|
|
91
|
+
|
|
92
|
+
&-label {
|
|
93
|
+
display: flex;
|
|
94
|
+
gap: 4px;
|
|
95
|
+
align-items: center;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
&:hover {
|
|
99
|
+
// color: #116ACC;
|
|
100
|
+
border-color: @primary-color;
|
|
101
|
+
cursor: pointer;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&:focus {
|
|
105
|
+
border-color: @primary-color;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
&:active {
|
|
109
|
+
border-color: @primary-color;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&-active {
|
|
113
|
+
border-color: @primary-color;
|
|
114
|
+
box-shadow: 0 0 0 4px #f0f7ff;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&-popover {
|
|
118
|
+
padding-top: 0 !important;
|
|
119
|
+
.ant-popover-arrow {
|
|
120
|
+
display: none;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.ant-popover-inner-content {
|
|
124
|
+
padding: 0 16px 16px;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.ant-picker-dropdown {
|
|
128
|
+
padding-top: 0;
|
|
129
|
+
|
|
130
|
+
.ant-picker-range-arrow {
|
|
131
|
+
display: none;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.ant-tabs-top > .ant-tabs-nav::before {
|
|
136
|
+
border-bottom: 1px solid #fafafb;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.ant-tabs-tab {
|
|
140
|
+
padding: 12px 0 !important;
|
|
141
|
+
font-size: 14px !important;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.ant-popover-inner {
|
|
145
|
+
background: #fff;
|
|
146
|
+
border-radius: 8px;
|
|
147
|
+
box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.1);
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
&-error {
|
|
152
|
+
position: relative;
|
|
153
|
+
border: 1px solid var(--io-Error-E-, #fb5547) !important;
|
|
154
|
+
|
|
155
|
+
&::after {
|
|
156
|
+
position: absolute;
|
|
157
|
+
width: 67px;
|
|
158
|
+
color: red;
|
|
159
|
+
font-size: 12px;
|
|
160
|
+
content: '请输入内容';
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
&-panel {
|
|
166
|
+
& div:last-of-type {
|
|
167
|
+
position: relative !important;
|
|
168
|
+
}
|
|
169
|
+
.biz-date-picker-old-wrap-drop {
|
|
170
|
+
top: 0 !important;
|
|
171
|
+
margin-top: 12px;
|
|
172
|
+
padding: 0;
|
|
173
|
+
}
|
|
174
|
+
.ant-picker-panel-container {
|
|
175
|
+
background: #fff;
|
|
176
|
+
border: 1px solid var(--io-n-02, #f2f3f4);
|
|
177
|
+
border-radius: 10px;
|
|
178
|
+
box-shadow: none;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.ant-picker-panel-container .ant-picker-panel-focused {
|
|
182
|
+
border-color: var(--io-n-02, #f2f3f4);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
&-popoverContent-btns {
|
|
187
|
+
position: absolute;
|
|
188
|
+
top: 0;
|
|
189
|
+
right: 0;
|
|
190
|
+
display: flex;
|
|
191
|
+
gap: 16px;
|
|
192
|
+
justify-content: flex-end;
|
|
193
|
+
}
|
|
194
|
+
}
|
package/es/datePickerV2/utils.js
CHANGED
|
@@ -45,6 +45,9 @@ export var getTypeList = function getTypeList(currentType, includeToday, shortcu
|
|
|
45
45
|
label: '按小时',
|
|
46
46
|
value: DatePickerTypes.Unit.hour,
|
|
47
47
|
children: [{
|
|
48
|
+
value: '今天',
|
|
49
|
+
count: 0
|
|
50
|
+
}, {
|
|
48
51
|
value: '昨天',
|
|
49
52
|
count: 1
|
|
50
53
|
}, {
|
|
@@ -55,6 +58,9 @@ export var getTypeList = function getTypeList(currentType, includeToday, shortcu
|
|
|
55
58
|
label: '按天',
|
|
56
59
|
value: DatePickerTypes.Unit.day,
|
|
57
60
|
children: [{
|
|
61
|
+
value: '今天',
|
|
62
|
+
count: 0
|
|
63
|
+
}, {
|
|
58
64
|
value: '7天',
|
|
59
65
|
count: 7
|
|
60
66
|
}, {
|
|
@@ -107,8 +113,8 @@ export var getTypeList = function getTypeList(currentType, includeToday, shortcu
|
|
|
107
113
|
var list = (((_find = (shortcuts ? shortcuts : defaultShortcuts).find(function (item) {
|
|
108
114
|
return item.value === currentType;
|
|
109
115
|
})) === null || _find === void 0 ? void 0 : _find.children) || []).filter(function (item) {
|
|
110
|
-
if (currentType === 'day') {
|
|
111
|
-
if (!includeToday &&
|
|
116
|
+
if (currentType === 'day' || currentType === 'hour') {
|
|
117
|
+
if (!includeToday && item.count === 0) return false;
|
|
112
118
|
return true;
|
|
113
119
|
}
|
|
114
120
|
return true;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
function _typeof(
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
4
|
-
function _defineProperty(
|
|
5
|
-
function _toPropertyKey(
|
|
6
|
-
function _toPrimitive(
|
|
7
|
-
function _slicedToArray(
|
|
1
|
+
function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
|
|
2
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
3
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
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
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
|
|
6
|
+
function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
7
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
8
8
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
9
|
-
function _unsupportedIterableToArray(
|
|
10
|
-
function _arrayLikeToArray(
|
|
11
|
-
function _iterableToArrayLimit(
|
|
12
|
-
function _arrayWithHoles(
|
|
9
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
10
|
+
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; }
|
|
11
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
12
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
13
|
import { Spin } from 'antd';
|
|
14
14
|
import React, { useEffect, useState } from 'react';
|
|
15
15
|
import convertAttributeData from '../attributeSelector/util';
|
|
@@ -71,37 +71,37 @@ var DemoContent = function DemoContent(_ref3) {
|
|
|
71
71
|
authority = _useState8[0],
|
|
72
72
|
setAuthorityList = _useState8[1];
|
|
73
73
|
var _useState9 = useState(true),
|
|
74
|
-
|
|
75
|
-
loadBasicConfig =
|
|
76
|
-
setLoadBasicConfig =
|
|
77
|
-
var
|
|
78
|
-
_useState10 = _slicedToArray(_useState1, 2),
|
|
79
|
-
basicConfig = _useState10[0],
|
|
80
|
-
setBasicConfig = _useState10[1];
|
|
81
|
-
var _useState11 = useState(true),
|
|
74
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
75
|
+
loadBasicConfig = _useState10[0],
|
|
76
|
+
setLoadBasicConfig = _useState10[1];
|
|
77
|
+
var _useState11 = useState({}),
|
|
82
78
|
_useState12 = _slicedToArray(_useState11, 2),
|
|
83
|
-
|
|
84
|
-
|
|
79
|
+
basicConfig = _useState12[0],
|
|
80
|
+
setBasicConfig = _useState12[1];
|
|
85
81
|
var _useState13 = useState(true),
|
|
86
82
|
_useState14 = _slicedToArray(_useState13, 2),
|
|
87
|
-
|
|
88
|
-
|
|
83
|
+
loadEvent = _useState14[0],
|
|
84
|
+
setLoadEvent = _useState14[1];
|
|
89
85
|
var _useState15 = useState(true),
|
|
90
86
|
_useState16 = _slicedToArray(_useState15, 2),
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
var _useState17 = useState(
|
|
87
|
+
loadEnv = _useState16[0],
|
|
88
|
+
setLoadEnv = _useState16[1];
|
|
89
|
+
var _useState17 = useState(true),
|
|
94
90
|
_useState18 = _slicedToArray(_useState17, 2),
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
var _useState19 = useState(),
|
|
91
|
+
loadUsers = _useState18[0],
|
|
92
|
+
setLoadUsers = _useState18[1];
|
|
93
|
+
var _useState19 = useState({}),
|
|
98
94
|
_useState20 = _slicedToArray(_useState19, 2),
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
var _useState21 = useState(
|
|
95
|
+
currentUser = _useState20[0],
|
|
96
|
+
setCurrentUser = _useState20[1];
|
|
97
|
+
var _useState21 = useState(),
|
|
102
98
|
_useState22 = _slicedToArray(_useState21, 2),
|
|
103
|
-
|
|
104
|
-
|
|
99
|
+
store = _useState22[0],
|
|
100
|
+
setStore = _useState22[1];
|
|
101
|
+
var _useState23 = useState(false),
|
|
102
|
+
_useState24 = _slicedToArray(_useState23, 2),
|
|
103
|
+
storeReady = _useState24[0],
|
|
104
|
+
setStoreReady = _useState24[1];
|
|
105
105
|
var _useBizStore = useBizStore({
|
|
106
106
|
currentApp: currentApp
|
|
107
107
|
}),
|
|
@@ -148,16 +148,16 @@ var DemoContent = function DemoContent(_ref3) {
|
|
|
148
148
|
if (res && res.data) {
|
|
149
149
|
var _data = res.data;
|
|
150
150
|
var _authority = {};
|
|
151
|
-
var
|
|
151
|
+
var loop = function loop(data, name) {
|
|
152
152
|
data.forEach(function (item) {
|
|
153
153
|
var _name = name ? "".concat(name, "-").concat(item.name) : item.name;
|
|
154
154
|
_authority[item.menuCode] = _name;
|
|
155
155
|
if (item.children) {
|
|
156
|
-
|
|
156
|
+
loop(item.children, _name);
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
159
|
};
|
|
160
|
-
|
|
160
|
+
loop(_data);
|
|
161
161
|
localStorage.setItem('authorityList', JSON.stringify(_authority));
|
|
162
162
|
setAuthorityList(_authority);
|
|
163
163
|
}
|
|
@@ -250,7 +250,12 @@ var DemoContent = function DemoContent(_ref3) {
|
|
|
250
250
|
tagLoading: tagLoading,
|
|
251
251
|
setTagList: setTagList,
|
|
252
252
|
queryGroups: queryGroups,
|
|
253
|
-
queryTags: queryTags
|
|
253
|
+
queryTags: queryTags,
|
|
254
|
+
envs: {
|
|
255
|
+
staticFilePath: function staticFilePath(src) {
|
|
256
|
+
return 'https://demo.zhugeio.com/zg-analysis/' + src;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
254
259
|
}, contextProps)
|
|
255
260
|
}, children));
|
|
256
261
|
};
|
package/es/demoWrapper/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _slicedToArray(
|
|
1
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
2
2
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
-
function _unsupportedIterableToArray(
|
|
4
|
-
function _arrayLikeToArray(
|
|
5
|
-
function _iterableToArrayLimit(
|
|
6
|
-
function _arrayWithHoles(
|
|
3
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
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
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
6
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
7
|
import { Card, Spin, Select, message } from 'antd';
|
|
8
8
|
import React, { useEffect, useState } from 'react';
|
|
9
9
|
import BizLoginForm from '../loginForm';
|
|
@@ -34,13 +34,13 @@ var DemoWrapper = function DemoWrapper(_ref) {
|
|
|
34
34
|
projectList = _useState8[0],
|
|
35
35
|
setrPojectList = _useState8[1];
|
|
36
36
|
var _useState9 = useState({}),
|
|
37
|
-
|
|
38
|
-
currentProject =
|
|
39
|
-
setCurrentProject =
|
|
40
|
-
var
|
|
41
|
-
|
|
42
|
-
currentApp =
|
|
43
|
-
setCurrentApp =
|
|
37
|
+
_useState10 = _slicedToArray(_useState9, 2),
|
|
38
|
+
currentProject = _useState10[0],
|
|
39
|
+
setCurrentProject = _useState10[1];
|
|
40
|
+
var _useState11 = useState({}),
|
|
41
|
+
_useState12 = _slicedToArray(_useState11, 2),
|
|
42
|
+
currentApp = _useState12[0],
|
|
43
|
+
setCurrentApp = _useState12[1];
|
|
44
44
|
useEffect(function () {
|
|
45
45
|
getCurrentUser();
|
|
46
46
|
queryAppList();
|
|
@@ -131,15 +131,15 @@ var DemoWrapper = function DemoWrapper(_ref) {
|
|
|
131
131
|
bodyStyle: {
|
|
132
132
|
background: '#FAFAFB'
|
|
133
133
|
}
|
|
134
|
-
}, appListLoading ?
|
|
134
|
+
}, appListLoading ? /*#__PURE__*/React.createElement(Spin, {
|
|
135
135
|
tip: "\u5E94\u7528\u4FE1\u606F\u521D\u59CB\u5316\u4E2D"
|
|
136
|
-
})
|
|
136
|
+
}) : /*#__PURE__*/React.createElement(DemoContent, {
|
|
137
137
|
currentApp: currentApp,
|
|
138
138
|
currentProject: currentProject,
|
|
139
139
|
projectList: projectList,
|
|
140
140
|
needMeta: needMeta,
|
|
141
141
|
key: currentApp === null || currentApp === void 0 ? void 0 : currentApp.id,
|
|
142
142
|
contextProps: contextProps
|
|
143
|
-
}, children))
|
|
143
|
+
}, children));
|
|
144
144
|
};
|
|
145
145
|
export default DemoWrapper;
|
|
@@ -5,7 +5,7 @@ var InnerDemo = function InnerDemo(_ref) {
|
|
|
5
5
|
contextProps = _ref.contextProps;
|
|
6
6
|
return /*#__PURE__*/React.createElement(DemoWrapper, {
|
|
7
7
|
needMeta: true,
|
|
8
|
-
defaultApp:
|
|
8
|
+
defaultApp: 163,
|
|
9
9
|
contextProps: contextProps
|
|
10
10
|
}, /*#__PURE__*/React.createElement("div", {
|
|
11
11
|
style: {
|
package/es/dialog/demo/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
function _slicedToArray(
|
|
1
|
+
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
2
2
|
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
-
function _unsupportedIterableToArray(
|
|
4
|
-
function _arrayLikeToArray(
|
|
5
|
-
function _iterableToArrayLimit(
|
|
6
|
-
function _arrayWithHoles(
|
|
3
|
+
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
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
|
+
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
6
|
+
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
7
|
import React, { useState } from 'react';
|
|
8
8
|
import { BizDialog } from '@zgfe/business-lib';
|
|
9
9
|
import { Button } from 'antd';
|