@zgfe/business-lib 1.0.0-beta.6 → 1.0.3
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/analysisLayout/demo/index.js +4 -1
- package/es/analysisLayout/index.d.ts +1 -28
- package/es/analysisLayout/index.js +38 -48
- package/es/analysisLayout/index.less +1 -1
- package/es/assets/styles/chunks.less +143 -0
- package/es/assets/styles/inner.less +3 -0
- package/es/assets/styles/resetAntd.less +398 -0
- package/es/assets/styles/variable.less +21 -0
- package/es/assets/theme.d.ts +5 -0
- package/es/assets/theme.js +4 -0
- package/es/attrConditions/components/operateList.d.ts +8 -0
- package/es/attrConditions/components/operateList.js +83 -0
- package/es/attrConditions/components/stringList.d.ts +9 -0
- package/es/attrConditions/components/stringList.js +168 -0
- package/es/attrConditions/components/valuesList.d.ts +10 -0
- package/es/attrConditions/components/valuesList.js +188 -0
- package/es/{attributeSelector/demo/multi.d.ts → attrConditions/demo/group.d.ts} +0 -0
- package/es/attrConditions/demo/group.js +82 -0
- package/es/{globalAttributes → attrConditions}/demo/index.d.ts +0 -0
- package/es/{datePicker/demo/form.js → attrConditions/demo/index.js} +43 -23
- package/es/attrConditions/group.d.ts +5 -0
- package/es/attrConditions/group.js +183 -0
- package/es/attrConditions/index.d.ts +6 -0
- package/es/attrConditions/index.js +160 -0
- package/es/attrConditions/styles/group.less +49 -0
- package/es/attrConditions/styles/index.less +94 -0
- package/es/attrConditions/types.d.ts +63 -0
- package/es/attrConditions/types.js +19 -0
- package/es/attrConditions/utils/operates.d.ts +16 -0
- package/es/attrConditions/utils/operates.js +67 -0
- package/es/attributeSelector/demo/index.d.ts +3 -0
- package/es/attributeSelector/demo/{singleForm.js → index.js} +42 -44
- package/es/attributeSelector/index.d.ts +4 -111
- package/es/attributeSelector/index.js +88 -543
- package/es/attributeSelector/listPanel.d.ts +4 -0
- package/es/attributeSelector/listPanel.js +208 -0
- package/es/attributeSelector/option.d.ts +15 -0
- package/es/attributeSelector/option.js +53 -0
- package/es/attributeSelector/styles/index.less +100 -0
- package/es/attributeSelector/types.d.ts +79 -0
- package/es/attributeSelector/types.js +15 -0
- package/es/attributeSelector/util.d.ts +7 -0
- package/es/attributeSelector/util.js +69 -0
- package/es/chart/demo/pie.js +1 -0
- package/es/chart/index.d.ts +2 -96
- package/es/chart/index.js +28 -35
- package/es/chart/styles/index.less +50 -0
- package/es/chart/types.d.ts +46 -0
- package/es/chart/{type.js → types.js} +0 -0
- package/es/chart/util/{chartConfig.d.ts → chartOptionConfig.d.ts} +4 -35
- package/es/chart/util/{chartConfig.js → chartOptionConfig.js} +45 -111
- package/es/chart/util/formatData.d.ts +3 -7
- package/es/chart/util/formatData.js +47 -26
- package/es/chart/util/formatOption.d.ts +2 -1
- package/es/chart/util/formatOption.js +22 -9
- package/es/chart/util/mapUtil.d.ts +3 -3
- package/es/chart/util/mapUtil.js +9 -19
- package/es/commonStyle/icon.less +116 -112
- package/es/commonStyle/select.less +1 -1
- package/es/commonStyle/theme.less +520 -473
- package/es/components/iconFont.js +4 -2
- package/es/context/index.d.ts +16 -0
- package/es/context/index.js +3 -0
- package/es/datePicker/datePicker.d.ts +10 -0
- package/es/datePicker/datePicker.js +115 -0
- package/es/datePicker/demo/index.d.ts +1 -0
- package/es/datePicker/demo/index.js +9 -2
- package/es/datePicker/index.d.ts +4 -27
- package/es/datePicker/index.js +72 -148
- package/es/datePicker/styles/index.less +48 -0
- package/es/datePicker/types.d.ts +24 -0
- package/es/{eventSelector/type.js → datePicker/types.js} +0 -0
- package/es/datePicker/utils.d.ts +6 -0
- package/es/datePicker/utils.js +70 -0
- package/es/dialog/components/itemNode.d.ts +10 -0
- package/es/dialog/components/itemNode.js +109 -0
- package/es/dialog/components/list.d.ts +3 -13
- package/es/dialog/components/list.js +15 -12
- package/es/dialog/components/selectToInput.d.ts +4 -48
- package/es/dialog/components/selectToInput.js +74 -80
- package/es/dialog/components/styles/handle.less +39 -0
- package/es/dialog/components/styles/list.less +60 -0
- package/es/dialog/components/styles/tab.less +55 -0
- package/es/dialog/components/tab.d.ts +3 -7
- package/es/dialog/components/tab.js +57 -19
- package/es/dialog/data/{chart.d.ts → data.d.ts} +9 -0
- package/es/dialog/data/{chart.js → data.js} +11 -0
- package/es/dialog/demo/index.d.ts +23 -0
- package/es/dialog/demo/index.js +34 -3
- package/es/dialog/demo/index2.js +14 -2
- package/es/dialog/index.d.ts +4 -97
- package/es/dialog/index.js +54 -109
- package/es/dialog/styles/index.less +11 -0
- package/es/dialog/types.d.ts +77 -0
- package/es/{targetConditionGroup/type.js → dialog/types.js} +0 -0
- package/es/eventSelector/demo/index.js +26 -44
- package/es/eventSelector/index.d.ts +4 -30
- package/es/eventSelector/index.js +90 -416
- package/es/eventSelector/listPanel.d.ts +4 -0
- package/es/eventSelector/listPanel.js +197 -0
- package/es/eventSelector/option.d.ts +17 -0
- package/es/eventSelector/option.js +54 -0
- package/es/eventSelector/styles/index.less +77 -0
- package/es/eventSelector/types.d.ts +31 -0
- package/es/eventSelector/types.js +1 -0
- package/es/index.d.ts +14 -11
- package/es/index.js +9 -11
- package/es/{attributeSelector/data → mock}/env.d.ts +0 -0
- package/es/{attributeSelector/data → mock}/env.js +0 -0
- package/es/{attributeSelector/data → mock}/event.d.ts +0 -0
- package/es/{attributeSelector/data → mock}/event.js +0 -0
- package/es/{attributeSelector/data → mock}/user.d.ts +0 -0
- package/es/{attributeSelector/data → mock}/user.js +0 -0
- package/es/{multipleSelector → searchInput}/demo/index.d.ts +0 -0
- package/es/searchInput/demo/index.js +5 -0
- package/es/searchInput/index.d.ts +8 -0
- package/es/searchInput/index.js +31 -0
- package/es/{attributeSelector/demo/multiForm.d.ts → select/demo/group.d.ts} +0 -0
- package/es/{globalAttributes/demo/index.js → select/demo/group.js} +49 -31
- package/es/select/demo/index.js +49 -21
- package/es/{attributeSelector/demo/single.d.ts → select/demo/multiple.d.ts} +0 -0
- package/es/{multipleSelector/demo/index.js → select/demo/multiple.js} +55 -12
- package/es/select/handle.d.ts +5 -0
- package/es/select/handle.js +119 -0
- package/es/select/index.d.ts +4 -49
- package/es/select/index.js +168 -122
- package/es/select/option.d.ts +4 -0
- package/es/select/option.js +59 -0
- package/es/select/overlay.d.ts +4 -0
- package/es/select/overlay.js +154 -0
- package/es/select/styles/handle.less +111 -0
- package/es/select/styles/index.less +99 -0
- package/es/select/types.d.ts +65 -0
- package/es/select/types.js +1 -0
- package/es/table/demo/data/table.js +1 -1
- package/es/table/demo/index.d.ts +1 -1
- package/es/table/demo/index.js +9 -8
- package/es/table/demo/index3.js +9 -18
- package/es/table/index.d.ts +4 -30
- package/es/table/index.js +30 -26
- package/es/table/styles/index.less +5 -0
- package/es/table/type.d.ts +10 -0
- package/es/table/type.js +1 -0
- package/es/targetConditionGroup/components/targetDimension.d.ts +8 -0
- package/es/targetConditionGroup/components/targetDimension.js +153 -0
- package/es/targetConditionGroup/data/operates.d.ts +8 -24
- package/es/targetConditionGroup/data/operates.js +26 -69
- package/es/targetConditionGroup/demo/group.d.ts +1 -0
- package/es/targetConditionGroup/demo/group.js +108 -23
- package/es/targetConditionGroup/demo/index.js +34 -34
- package/es/targetConditionGroup/demo/styles/index.less +29 -0
- package/es/targetConditionGroup/index.d.ts +4 -57
- package/es/targetConditionGroup/index.js +177 -274
- package/es/targetConditionGroup/styles/index.less +25 -0
- package/es/targetConditionGroup/types.d.ts +32 -0
- package/es/targetConditionGroup/types.js +1 -0
- package/es/targetSelector/demo/index.d.ts +1 -0
- package/es/targetSelector/demo/index.js +29 -71
- package/es/targetSelector/editBox.d.ts +8 -0
- package/es/targetSelector/{components/BizEventNameEditBox.js → editBox.js} +49 -24
- package/es/targetSelector/index.d.ts +5 -55
- package/es/targetSelector/index.js +103 -214
- package/es/targetSelector/optionIcon.d.ts +9 -0
- package/es/targetSelector/optionIcon.js +24 -0
- package/es/targetSelector/optionMenu.d.ts +7 -0
- package/es/targetSelector/optionMenu.js +38 -0
- package/es/targetSelector/styles/index.less +88 -0
- package/es/targetSelector/types.d.ts +18 -0
- package/es/targetSelector/types.js +1 -0
- package/es/userCondition/conditionTypeList.d.ts +10 -0
- package/es/userCondition/conditionTypeList.js +43 -0
- package/es/userCondition/conditionWrap.d.ts +7 -0
- package/es/userCondition/conditionWrap.js +18 -0
- package/es/userCondition/conditions/eventCondition.d.ts +8 -0
- package/es/userCondition/conditions/eventCondition.js +104 -0
- package/es/userCondition/conditions/periodCondition.d.ts +11 -0
- package/es/userCondition/conditions/periodCondition.js +156 -0
- package/es/userCondition/conditions/propCondition.d.ts +11 -0
- package/es/userCondition/conditions/propCondition.js +147 -0
- package/es/userCondition/conditions/runTimesCondition.d.ts +9 -0
- package/es/userCondition/conditions/runTimesCondition.js +78 -0
- package/es/userCondition/conditions/styles/eventCondition.less +49 -0
- package/es/userCondition/conditions/styles/periodCondition.less +14 -0
- package/es/userCondition/conditions/styles/propCondition.less +36 -0
- package/es/userCondition/conditions/styles/runTimesCondition.less +16 -0
- package/es/{attributeSelector/demo/singleForm.d.ts → userCondition/demo/index.d.ts} +0 -0
- package/es/userCondition/demo/index.js +97 -0
- package/es/userCondition/index.d.ts +7 -0
- package/es/userCondition/index.js +146 -0
- package/es/userCondition/orConditions.d.ts +5 -0
- package/es/userCondition/orConditions.js +202 -0
- package/es/userCondition/relationLabel.d.ts +6 -0
- package/es/userCondition/relationLabel.js +12 -0
- package/es/userCondition/styles/conditionTypeList.less +31 -0
- package/es/userCondition/styles/conditionWrap.less +14 -0
- package/es/userCondition/styles/index.less +13 -0
- package/es/userCondition/styles/orConditions.less +16 -0
- package/es/userCondition/styles/relationLabel.less +18 -0
- package/es/userCondition/types.d.ts +79 -0
- package/es/userCondition/types.js +1 -0
- package/es/userCondition/util.d.ts +2 -0
- package/es/userCondition/util.js +54 -0
- package/es/{datePicker/demo/form.d.ts → userGroup/demo/group.d.ts} +0 -0
- package/es/{targetConditionGroup/demo/form.js → userGroup/demo/group.js} +68 -72
- package/es/userGroup/demo/index.d.ts +0 -1
- package/es/userGroup/demo/index.js +5 -62
- package/es/userGroup/index.d.ts +3 -77
- package/es/userGroup/index.js +60 -108
- package/es/userGroup/styles/index.less +20 -0
- package/es/userGroup/types.d.ts +15 -0
- package/es/userGroup/types.js +1 -0
- package/es/utils/ajax.js +5 -20
- package/es/utils/type.d.ts +42 -44
- package/es/utils/util.d.ts +1 -35
- package/es/utils/util.js +27 -57
- package/package.json +11 -4
- package/es/attributeSelector/demo/multi.js +0 -39
- package/es/attributeSelector/demo/multiForm.js +0 -64
- package/es/attributeSelector/demo/single.js +0 -43
- package/es/attributeSelector/group.d.ts +0 -31
- package/es/attributeSelector/group.js +0 -225
- package/es/attributeSelector/index.less +0 -172
- package/es/chart/index.less +0 -38
- package/es/chart/style/circle.svg +0 -4
- package/es/chart/type.d.ts +0 -22
- package/es/datePicker/data.d.ts +0 -9
- package/es/datePicker/data.js +0 -65
- package/es/datePicker/index.less +0 -364
- package/es/dialog/components/style/list.less +0 -59
- package/es/dialog/components/style/tab.less +0 -61
- package/es/dialog/style/index.less +0 -86
- package/es/eventSelector/demo/form.d.ts +0 -2
- package/es/eventSelector/demo/form.js +0 -89
- package/es/eventSelector/demo/nodata.d.ts +0 -2
- package/es/eventSelector/demo/nodata.js +0 -13
- package/es/eventSelector/index.less +0 -121
- package/es/eventSelector/type.d.ts +0 -41
- package/es/globalAttributes/demo/data/env.d.ts +0 -11
- package/es/globalAttributes/demo/data/env.js +0 -181
- package/es/globalAttributes/demo/data/event.d.ts +0 -237
- package/es/globalAttributes/demo/data/event.js +0 -3483
- package/es/globalAttributes/demo/data/user.d.ts +0 -22
- package/es/globalAttributes/demo/data/user.js +0 -218
- package/es/globalAttributes/index.d.ts +0 -47
- package/es/globalAttributes/index.js +0 -112
- package/es/multipleSelector/index.d.ts +0 -36
- package/es/multipleSelector/index.js +0 -131
- package/es/multipleSelector/index.less +0 -136
- package/es/table/demo/index.less +0 -8
- package/es/table/index.less +0 -139
- package/es/targetConditionGroup/components/conditionGroup.d.ts +0 -30
- package/es/targetConditionGroup/components/conditionGroup.js +0 -112
- package/es/targetConditionGroup/components/conditionItem.d.ts +0 -47
- package/es/targetConditionGroup/components/conditionItem.js +0 -232
- package/es/targetConditionGroup/components/style/group.less +0 -47
- package/es/targetConditionGroup/components/style/index.less +0 -16
- package/es/targetConditionGroup/demo/data/env.d.ts +0 -11
- package/es/targetConditionGroup/demo/data/env.js +0 -181
- package/es/targetConditionGroup/demo/data/event.d.ts +0 -237
- package/es/targetConditionGroup/demo/data/event.js +0 -3483
- package/es/targetConditionGroup/demo/data/user.d.ts +0 -22
- package/es/targetConditionGroup/demo/data/user.js +0 -218
- package/es/targetConditionGroup/demo/form.d.ts +0 -2
- package/es/targetConditionGroup/demo/item.d.ts +0 -2
- package/es/targetConditionGroup/demo/item.js +0 -5
- package/es/targetConditionGroup/group.d.ts +0 -56
- package/es/targetConditionGroup/group.js +0 -204
- package/es/targetConditionGroup/index.less +0 -76
- package/es/targetConditionGroup/type.d.ts +0 -95
- package/es/targetSelector/components/BizCascadeBox.d.ts +0 -34
- package/es/targetSelector/components/BizCascadeBox.js +0 -213
- package/es/targetSelector/components/BizEventNameEditBox.d.ts +0 -20
- package/es/targetSelector/demo/form.d.ts +0 -2
- package/es/targetSelector/demo/form.js +0 -133
- package/es/targetSelector/demo/nodata.d.ts +0 -2
- package/es/targetSelector/demo/nodata.js +0 -13
- package/es/targetSelector/index.less +0 -28
- package/es/userGroup/demo/cluster.d.ts +0 -3
- package/es/userGroup/demo/cluster.js +0 -102
- package/es/userGroup/demo/index.less +0 -3
- package/es/userGroup/index.less +0 -2
- package/es/userGroup/userCluster.d.ts +0 -63
- package/es/userGroup/userCluster.js +0 -255
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
declare const _default: ({
|
|
2
|
-
dimension_sub: string;
|
|
3
|
-
value_dict: boolean;
|
|
4
|
-
name: string;
|
|
5
|
-
id: number;
|
|
6
|
-
text: string;
|
|
7
|
-
category: string;
|
|
8
|
-
type: number;
|
|
9
|
-
alias_name: null;
|
|
10
|
-
subtype?: undefined;
|
|
11
|
-
} | {
|
|
12
|
-
dimension_sub: string;
|
|
13
|
-
subtype: number;
|
|
14
|
-
value_dict: boolean;
|
|
15
|
-
name: string;
|
|
16
|
-
id: number;
|
|
17
|
-
text: string;
|
|
18
|
-
category: string;
|
|
19
|
-
type: number;
|
|
20
|
-
alias_name: null;
|
|
21
|
-
})[];
|
|
22
|
-
export default _default;
|
|
@@ -1,218 +0,0 @@
|
|
|
1
|
-
export default [{
|
|
2
|
-
dimension_sub: 'name',
|
|
3
|
-
value_dict: false,
|
|
4
|
-
name: 'name',
|
|
5
|
-
id: 0,
|
|
6
|
-
text: '名称',
|
|
7
|
-
category: 'fixed',
|
|
8
|
-
type: 1,
|
|
9
|
-
alias_name: null
|
|
10
|
-
}, {
|
|
11
|
-
dimension_sub: 'is_anonymous',
|
|
12
|
-
value_dict: false,
|
|
13
|
-
name: 'is_anonymous',
|
|
14
|
-
id: 0,
|
|
15
|
-
text: '实名/匿名',
|
|
16
|
-
category: 'fixed',
|
|
17
|
-
type: 1,
|
|
18
|
-
alias_name: null
|
|
19
|
-
}, {
|
|
20
|
-
dimension_sub: 'app_user_id',
|
|
21
|
-
value_dict: false,
|
|
22
|
-
name: 'app_user_id',
|
|
23
|
-
id: -1,
|
|
24
|
-
text: '用户ID',
|
|
25
|
-
category: 'fixed',
|
|
26
|
-
type: 1,
|
|
27
|
-
alias_name: null
|
|
28
|
-
}, {
|
|
29
|
-
dimension_sub: 'zg_id',
|
|
30
|
-
value_dict: false,
|
|
31
|
-
name: 'zg_id',
|
|
32
|
-
id: 0,
|
|
33
|
-
text: '诸葛ID',
|
|
34
|
-
category: 'fixed',
|
|
35
|
-
type: 2,
|
|
36
|
-
alias_name: null
|
|
37
|
-
}, {
|
|
38
|
-
dimension_sub: 'first_visit_time',
|
|
39
|
-
value_dict: false,
|
|
40
|
-
name: 'first_visit_time',
|
|
41
|
-
id: 0,
|
|
42
|
-
text: '首次访问时间',
|
|
43
|
-
category: 'fixed',
|
|
44
|
-
type: 3,
|
|
45
|
-
alias_name: null
|
|
46
|
-
}, {
|
|
47
|
-
dimension_sub: 'last_visit_time',
|
|
48
|
-
value_dict: false,
|
|
49
|
-
name: 'last_visit_time',
|
|
50
|
-
id: 0,
|
|
51
|
-
text: '最后一次访问时间',
|
|
52
|
-
category: 'fixed',
|
|
53
|
-
type: 3,
|
|
54
|
-
alias_name: null
|
|
55
|
-
}, {
|
|
56
|
-
dimension_sub: 'visit_times',
|
|
57
|
-
value_dict: false,
|
|
58
|
-
name: 'visit_times',
|
|
59
|
-
id: 0,
|
|
60
|
-
text: '近30天访问次数',
|
|
61
|
-
category: 'fixed',
|
|
62
|
-
type: 2,
|
|
63
|
-
alias_name: null
|
|
64
|
-
}, {
|
|
65
|
-
dimension_sub: 'duration',
|
|
66
|
-
subtype: 2,
|
|
67
|
-
value_dict: false,
|
|
68
|
-
name: 'duration',
|
|
69
|
-
id: 0,
|
|
70
|
-
text: '近30天访问时长',
|
|
71
|
-
category: 'fixed',
|
|
72
|
-
type: 2,
|
|
73
|
-
alias_name: null
|
|
74
|
-
}, {
|
|
75
|
-
dimension_sub: 'current_country',
|
|
76
|
-
value_dict: false,
|
|
77
|
-
name: 'current_country',
|
|
78
|
-
id: 0,
|
|
79
|
-
text: '国家',
|
|
80
|
-
category: 'fixed',
|
|
81
|
-
type: 1,
|
|
82
|
-
alias_name: null
|
|
83
|
-
}, {
|
|
84
|
-
dimension_sub: 'current_area',
|
|
85
|
-
value_dict: false,
|
|
86
|
-
name: 'current_area',
|
|
87
|
-
id: 0,
|
|
88
|
-
text: '省份',
|
|
89
|
-
category: 'fixed',
|
|
90
|
-
type: 1,
|
|
91
|
-
alias_name: null
|
|
92
|
-
}, {
|
|
93
|
-
dimension_sub: 'current_city',
|
|
94
|
-
value_dict: false,
|
|
95
|
-
name: 'current_city',
|
|
96
|
-
id: 0,
|
|
97
|
-
text: '城市',
|
|
98
|
-
category: 'fixed',
|
|
99
|
-
type: 1,
|
|
100
|
-
alias_name: null
|
|
101
|
-
}, {
|
|
102
|
-
dimension_sub: 'user_referer_url',
|
|
103
|
-
value_dict: false,
|
|
104
|
-
name: 'user_referer_url',
|
|
105
|
-
id: 0,
|
|
106
|
-
text: '首次来源URL',
|
|
107
|
-
category: 'fixed',
|
|
108
|
-
type: 1,
|
|
109
|
-
alias_name: null
|
|
110
|
-
}, {
|
|
111
|
-
dimension_sub: 'first_website',
|
|
112
|
-
value_dict: false,
|
|
113
|
-
name: 'first_website',
|
|
114
|
-
id: 0,
|
|
115
|
-
text: '首次来源域名',
|
|
116
|
-
category: 'fixed',
|
|
117
|
-
type: 1,
|
|
118
|
-
alias_name: null
|
|
119
|
-
}, {
|
|
120
|
-
dimension_sub: 'first_utm_source',
|
|
121
|
-
value_dict: false,
|
|
122
|
-
name: 'first_utm_source',
|
|
123
|
-
id: 0,
|
|
124
|
-
text: '首次utm_source',
|
|
125
|
-
category: 'fixed',
|
|
126
|
-
type: 1,
|
|
127
|
-
alias_name: null
|
|
128
|
-
}, {
|
|
129
|
-
dimension_sub: 'first_utm_medium',
|
|
130
|
-
value_dict: false,
|
|
131
|
-
name: 'first_utm_medium',
|
|
132
|
-
id: 0,
|
|
133
|
-
text: '首次utm_medium',
|
|
134
|
-
category: 'fixed',
|
|
135
|
-
type: 1,
|
|
136
|
-
alias_name: null
|
|
137
|
-
}, {
|
|
138
|
-
dimension_sub: 'first_utm_campaign',
|
|
139
|
-
value_dict: false,
|
|
140
|
-
name: 'first_utm_campaign',
|
|
141
|
-
id: 0,
|
|
142
|
-
text: '首次utm_campaign',
|
|
143
|
-
category: 'fixed',
|
|
144
|
-
type: 1,
|
|
145
|
-
alias_name: null
|
|
146
|
-
}, {
|
|
147
|
-
dimension_sub: 'first_utm_content',
|
|
148
|
-
value_dict: false,
|
|
149
|
-
name: 'first_utm_content',
|
|
150
|
-
id: 0,
|
|
151
|
-
text: '首次utm_content',
|
|
152
|
-
category: 'fixed',
|
|
153
|
-
type: 1,
|
|
154
|
-
alias_name: null
|
|
155
|
-
}, {
|
|
156
|
-
dimension_sub: 'first_utm_term',
|
|
157
|
-
value_dict: false,
|
|
158
|
-
name: 'first_utm_term',
|
|
159
|
-
id: 0,
|
|
160
|
-
text: '首次utm_term',
|
|
161
|
-
category: 'fixed',
|
|
162
|
-
type: 1,
|
|
163
|
-
alias_name: null
|
|
164
|
-
}, {
|
|
165
|
-
dimension_sub: 'current_browser_brand',
|
|
166
|
-
value_dict: false,
|
|
167
|
-
name: 'current_browser_brand',
|
|
168
|
-
id: 0,
|
|
169
|
-
text: '浏览器品牌',
|
|
170
|
-
category: 'fixed',
|
|
171
|
-
type: 1,
|
|
172
|
-
alias_name: null
|
|
173
|
-
}, {
|
|
174
|
-
dimension_sub: 'current_browser_version',
|
|
175
|
-
value_dict: false,
|
|
176
|
-
name: 'current_browser_version',
|
|
177
|
-
id: 0,
|
|
178
|
-
text: '浏览器版本',
|
|
179
|
-
category: 'fixed',
|
|
180
|
-
type: 2,
|
|
181
|
-
alias_name: null
|
|
182
|
-
}, {
|
|
183
|
-
dimension_sub: 'current_os',
|
|
184
|
-
value_dict: false,
|
|
185
|
-
name: 'current_os',
|
|
186
|
-
id: 0,
|
|
187
|
-
text: '操作系统',
|
|
188
|
-
category: 'fixed',
|
|
189
|
-
type: 1,
|
|
190
|
-
alias_name: null
|
|
191
|
-
}, {
|
|
192
|
-
dimension_sub: 'current_ov',
|
|
193
|
-
value_dict: false,
|
|
194
|
-
name: 'current_ov',
|
|
195
|
-
id: 0,
|
|
196
|
-
text: '系统版本',
|
|
197
|
-
category: 'fixed',
|
|
198
|
-
type: 2,
|
|
199
|
-
alias_name: null
|
|
200
|
-
}, {
|
|
201
|
-
dimension_sub: 'current_resolution_h',
|
|
202
|
-
value_dict: false,
|
|
203
|
-
name: 'current_resolution_h',
|
|
204
|
-
id: 0,
|
|
205
|
-
text: '屏幕高度',
|
|
206
|
-
category: 'fixed',
|
|
207
|
-
type: 2,
|
|
208
|
-
alias_name: null
|
|
209
|
-
}, {
|
|
210
|
-
dimension_sub: 'current_resolution_l',
|
|
211
|
-
value_dict: false,
|
|
212
|
-
name: 'current_resolution_l',
|
|
213
|
-
id: 0,
|
|
214
|
-
text: '屏幕宽度',
|
|
215
|
-
category: 'fixed',
|
|
216
|
-
type: 2,
|
|
217
|
-
alias_name: null
|
|
218
|
-
}];
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { AttrGroup } from '../targetConditionGroup/type';
|
|
3
|
-
interface AttrType {
|
|
4
|
-
attrId?: string;
|
|
5
|
-
[props: string]: any;
|
|
6
|
-
}
|
|
7
|
-
interface ValueType {
|
|
8
|
-
operate?: string;
|
|
9
|
-
attrs?: Array<AttrType>;
|
|
10
|
-
}
|
|
11
|
-
interface GlobalAttributeProps {
|
|
12
|
-
/**
|
|
13
|
-
* @description 默认值
|
|
14
|
-
* @default {}
|
|
15
|
-
*/
|
|
16
|
-
defaultValue?: AttrGroup;
|
|
17
|
-
/**
|
|
18
|
-
* @description 默认值
|
|
19
|
-
* @default {}
|
|
20
|
-
*/
|
|
21
|
-
value?: AttrGroup;
|
|
22
|
-
/**
|
|
23
|
-
* @description 数据化配置选项内容
|
|
24
|
-
* @description.zh-CN
|
|
25
|
-
* @default -
|
|
26
|
-
*/
|
|
27
|
-
options?: object;
|
|
28
|
-
/**
|
|
29
|
-
* @description 属性最多个数
|
|
30
|
-
* @description.zh-CN
|
|
31
|
-
* @default 3
|
|
32
|
-
*/
|
|
33
|
-
max?: number;
|
|
34
|
-
/**
|
|
35
|
-
* @description 如果是事件属性,则传事件id,多个用逗号隔开
|
|
36
|
-
* @default -
|
|
37
|
-
*/
|
|
38
|
-
eventIds?: string;
|
|
39
|
-
/**
|
|
40
|
-
* @description 参数改变回调
|
|
41
|
-
* @description.zh-CN
|
|
42
|
-
* @default
|
|
43
|
-
*/
|
|
44
|
-
onChange?: (data: ValueType) => void;
|
|
45
|
-
}
|
|
46
|
-
declare const BizGlobalAttributes: React.FC<GlobalAttributeProps>;
|
|
47
|
-
export default BizGlobalAttributes;
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
2
|
-
|
|
3
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
4
|
-
|
|
5
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
6
|
-
|
|
7
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
8
|
-
|
|
9
|
-
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; }
|
|
10
|
-
|
|
11
|
-
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; }
|
|
12
|
-
|
|
13
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
14
|
-
|
|
15
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
16
|
-
|
|
17
|
-
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."); }
|
|
18
|
-
|
|
19
|
-
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); }
|
|
20
|
-
|
|
21
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
22
|
-
|
|
23
|
-
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
24
|
-
|
|
25
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
26
|
-
|
|
27
|
-
import React, { useEffect, useState } from 'react';
|
|
28
|
-
import { BizConditionGroup } from '..';
|
|
29
|
-
import IconFont from '../components/iconFont';
|
|
30
|
-
|
|
31
|
-
var BizGlobalAttributes = function BizGlobalAttributes(props) {
|
|
32
|
-
var _props$defaultValue = props.defaultValue,
|
|
33
|
-
defaultValue = _props$defaultValue === void 0 ? {} : _props$defaultValue,
|
|
34
|
-
_props$value = props.value,
|
|
35
|
-
value = _props$value === void 0 ? {} : _props$value,
|
|
36
|
-
options = props.options,
|
|
37
|
-
_props$max = props.max,
|
|
38
|
-
max = _props$max === void 0 ? 10 : _props$max,
|
|
39
|
-
eventIds = props.eventIds,
|
|
40
|
-
_onChange = props.onChange;
|
|
41
|
-
|
|
42
|
-
var _useState = useState({}),
|
|
43
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
44
|
-
attrsData = _useState2[0],
|
|
45
|
-
setAttrsData = _useState2[1];
|
|
46
|
-
|
|
47
|
-
useEffect(function () {
|
|
48
|
-
var defaultAttrs = Object.keys(defaultValue).length > 0 ? defaultValue : value;
|
|
49
|
-
var arr = [];
|
|
50
|
-
var relation = defaultAttrs.relation,
|
|
51
|
-
conditions = defaultAttrs.conditions;
|
|
52
|
-
|
|
53
|
-
if (conditions) {
|
|
54
|
-
arr = conditions.map(function (item) {
|
|
55
|
-
var data = _objectSpread({}, item);
|
|
56
|
-
|
|
57
|
-
var attrId = Math.random().toString();
|
|
58
|
-
return _objectSpread({
|
|
59
|
-
key: attrId
|
|
60
|
-
}, item); // return { attrId, data };
|
|
61
|
-
});
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
setAttrsData(function (data) {
|
|
65
|
-
return {
|
|
66
|
-
relation: relation,
|
|
67
|
-
conditions: _toConsumableArray(arr)
|
|
68
|
-
};
|
|
69
|
-
});
|
|
70
|
-
}, []);
|
|
71
|
-
|
|
72
|
-
var _addAttribute = function _addAttribute() {
|
|
73
|
-
setAttrsData(function (data) {
|
|
74
|
-
var item = {
|
|
75
|
-
key: Math.random().toString()
|
|
76
|
-
};
|
|
77
|
-
|
|
78
|
-
if (!data.conditions) {
|
|
79
|
-
data.conditions = [item];
|
|
80
|
-
} else {
|
|
81
|
-
data.conditions.push(item);
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
return _objectSpread({}, data);
|
|
85
|
-
});
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(BizConditionGroup, {
|
|
89
|
-
defaultValue: attrsData,
|
|
90
|
-
options: options,
|
|
91
|
-
eventId: eventIds,
|
|
92
|
-
onChange: function onChange(data) {
|
|
93
|
-
setAttrsData(function () {
|
|
94
|
-
return _objectSpread({}, data);
|
|
95
|
-
});
|
|
96
|
-
_onChange && _onChange(_objectSpread({}, data));
|
|
97
|
-
}
|
|
98
|
-
}), attrsData.conditions && attrsData.conditions.length < max && /*#__PURE__*/React.createElement("div", {
|
|
99
|
-
className: "biz-icon-add",
|
|
100
|
-
style: {
|
|
101
|
-
marginTop: '16px'
|
|
102
|
-
},
|
|
103
|
-
onClick: _addAttribute
|
|
104
|
-
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
105
|
-
className: "biz-icon",
|
|
106
|
-
type: 'icon-tianjia1'
|
|
107
|
-
}), /*#__PURE__*/React.createElement("span", {
|
|
108
|
-
className: "biz-icon-text"
|
|
109
|
-
}, "\u6DFB\u52A0\u5C5E\u6027")));
|
|
110
|
-
};
|
|
111
|
-
|
|
112
|
-
export default BizGlobalAttributes;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import './index.less';
|
|
3
|
-
interface ConditionProps {
|
|
4
|
-
/**
|
|
5
|
-
* @description 若组件是表单选项,value就是form的initialValues,也是组件的默认选项
|
|
6
|
-
* @description.zh-CN
|
|
7
|
-
* @default -
|
|
8
|
-
*/
|
|
9
|
-
value?: Array<string | number>;
|
|
10
|
-
/**
|
|
11
|
-
* @description 默认选项
|
|
12
|
-
* @description.zh-CN
|
|
13
|
-
* @default -
|
|
14
|
-
*/
|
|
15
|
-
defaultValue?: Array<string | number>;
|
|
16
|
-
/**
|
|
17
|
-
* @description 数据化配置选项内容
|
|
18
|
-
* @description.zh-CN
|
|
19
|
-
* @default -
|
|
20
|
-
*/
|
|
21
|
-
options: Array<string | number>;
|
|
22
|
-
/**
|
|
23
|
-
* @description 选择框默认文本
|
|
24
|
-
* @description.zh-CN
|
|
25
|
-
* @default 请选择
|
|
26
|
-
*/
|
|
27
|
-
placeholder?: string;
|
|
28
|
-
/**
|
|
29
|
-
* @description 选中 option 时,调用此函数,返回value数组
|
|
30
|
-
* @description.zh-CN
|
|
31
|
-
* @default
|
|
32
|
-
*/
|
|
33
|
-
onChange?: (value: Array<string | number>) => void;
|
|
34
|
-
}
|
|
35
|
-
declare const BizMultipleSelector: React.FC<ConditionProps>;
|
|
36
|
-
export default BizMultipleSelector;
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
var _excluded = ["label"];
|
|
2
|
-
|
|
3
|
-
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; }
|
|
4
|
-
|
|
5
|
-
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; }
|
|
6
|
-
|
|
7
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
|
-
|
|
9
|
-
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
|
|
10
|
-
|
|
11
|
-
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
|
|
12
|
-
|
|
13
|
-
function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
|
|
14
|
-
|
|
15
|
-
function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
16
|
-
|
|
17
|
-
function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
|
|
18
|
-
|
|
19
|
-
function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
|
|
20
|
-
|
|
21
|
-
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
|
|
22
|
-
|
|
23
|
-
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."); }
|
|
24
|
-
|
|
25
|
-
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); }
|
|
26
|
-
|
|
27
|
-
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; }
|
|
28
|
-
|
|
29
|
-
function _iterableToArrayLimit(arr, i) { var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; if (_i == null) return; var _arr = []; var _n = true; var _d = false; var _s, _e; try { for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"] != null) _i["return"](); } finally { if (_d) throw _e; } } return _arr; }
|
|
30
|
-
|
|
31
|
-
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
32
|
-
|
|
33
|
-
import React, { useEffect, useState } from 'react';
|
|
34
|
-
import { Select } from 'antd';
|
|
35
|
-
import IconFont from '../components/iconFont';
|
|
36
|
-
import './index.less';
|
|
37
|
-
import Tag from 'antd/es/tag';
|
|
38
|
-
import Tooltip from 'antd/es/tooltip';
|
|
39
|
-
var Option = Select.Option;
|
|
40
|
-
|
|
41
|
-
var BizMultipleSelector = function BizMultipleSelector(props) {
|
|
42
|
-
var defaultValue = props.defaultValue,
|
|
43
|
-
value = props.value,
|
|
44
|
-
options = props.options,
|
|
45
|
-
_props$placeholder = props.placeholder,
|
|
46
|
-
placeholder = _props$placeholder === void 0 ? '请选择' : _props$placeholder,
|
|
47
|
-
_onChange = props.onChange; // 是否是聚焦状态
|
|
48
|
-
|
|
49
|
-
var _useState = useState(false),
|
|
50
|
-
_useState2 = _slicedToArray(_useState, 2),
|
|
51
|
-
focused = _useState2[0],
|
|
52
|
-
setFocused = _useState2[1];
|
|
53
|
-
|
|
54
|
-
var _useState3 = useState([]),
|
|
55
|
-
_useState4 = _slicedToArray(_useState3, 2),
|
|
56
|
-
multiValue = _useState4[0],
|
|
57
|
-
setMultiValue = _useState4[1];
|
|
58
|
-
|
|
59
|
-
useEffect(function () {
|
|
60
|
-
var data = defaultValue || value || [];
|
|
61
|
-
|
|
62
|
-
if (JSON.stringify(data) !== JSON.stringify(multiValue)) {
|
|
63
|
-
setMultiValue(function () {
|
|
64
|
-
return _toConsumableArray(data);
|
|
65
|
-
});
|
|
66
|
-
}
|
|
67
|
-
}, [defaultValue, value]);
|
|
68
|
-
|
|
69
|
-
var tagRender = function tagRender(props) {
|
|
70
|
-
var label = props.label,
|
|
71
|
-
res = _objectWithoutProperties(props, _excluded);
|
|
72
|
-
|
|
73
|
-
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
74
|
-
title: label,
|
|
75
|
-
overlayClassName: "biz-tooltip"
|
|
76
|
-
}, /*#__PURE__*/React.createElement(Tag, _objectSpread({
|
|
77
|
-
className: "ant-select-selection-item",
|
|
78
|
-
closeIcon: /*#__PURE__*/React.createElement(IconFont, {
|
|
79
|
-
type: "icon-qingchu"
|
|
80
|
-
})
|
|
81
|
-
}, res), /*#__PURE__*/React.createElement("span", {
|
|
82
|
-
className: "ant-select-selection-item-content"
|
|
83
|
-
}, label)));
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
return /*#__PURE__*/React.createElement("div", {
|
|
87
|
-
className: "biz-multi-container ".concat(focused ? 'active' : '')
|
|
88
|
-
}, /*#__PURE__*/React.createElement(Select, {
|
|
89
|
-
mode: "multiple",
|
|
90
|
-
dropdownClassName: "biz-multi-select",
|
|
91
|
-
style: {
|
|
92
|
-
width: '100%'
|
|
93
|
-
},
|
|
94
|
-
placeholder: placeholder,
|
|
95
|
-
value: multiValue,
|
|
96
|
-
menuItemSelectedIcon: null,
|
|
97
|
-
listHeight: 400,
|
|
98
|
-
onChange: function onChange(data) {
|
|
99
|
-
setMultiValue(function () {
|
|
100
|
-
return _toConsumableArray(data);
|
|
101
|
-
});
|
|
102
|
-
_onChange && _onChange(data);
|
|
103
|
-
},
|
|
104
|
-
optionLabelProp: "label",
|
|
105
|
-
tagRender: tagRender,
|
|
106
|
-
onFocus: function onFocus() {
|
|
107
|
-
setFocused(true);
|
|
108
|
-
},
|
|
109
|
-
onBlur: function onBlur() {
|
|
110
|
-
setFocused(false);
|
|
111
|
-
},
|
|
112
|
-
notFoundContent: '暂无数据'
|
|
113
|
-
}, options.map(function (item, index) {
|
|
114
|
-
return /*#__PURE__*/React.createElement(Option, {
|
|
115
|
-
key: index.toString(36) + index,
|
|
116
|
-
value: item,
|
|
117
|
-
label: item
|
|
118
|
-
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
119
|
-
className: "biz-icon-notcheck",
|
|
120
|
-
type: 'icon-a-Property1moren'
|
|
121
|
-
}), /*#__PURE__*/React.createElement(IconFont, {
|
|
122
|
-
className: "biz-icon-checked",
|
|
123
|
-
type: 'icon-a-Property1xuanzhong'
|
|
124
|
-
}), item);
|
|
125
|
-
})), /*#__PURE__*/React.createElement(IconFont, {
|
|
126
|
-
className: "biz-select-zhankai",
|
|
127
|
-
type: 'icon-xiangxia'
|
|
128
|
-
}));
|
|
129
|
-
};
|
|
130
|
-
|
|
131
|
-
export default BizMultipleSelector;
|