cloud-web-corejs 1.0.54-dev.743 → 1.0.54-dev.744
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/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
<li v-for="(ctn, index) in containers" :key="index" class="container-widget-item"
|
|
15
15
|
:title="ctn.displayName"
|
|
16
16
|
@dblclick="addContainerByDbClick(ctn)">
|
|
17
|
-
<span><
|
|
17
|
+
<span><widget-icon :icon="ctn.icon"/>
|
|
18
18
|
<span>{{ i18n2t(`designer.widgetLabel.${ctn.type}`, `extension.widgetLabel.${ctn.type}`) }}</span>
|
|
19
19
|
</span>
|
|
20
20
|
</li>
|
|
@@ -27,8 +27,7 @@
|
|
|
27
27
|
:clone="handleFieldWidgetClone" ghost-class="ghost" :sort="false">
|
|
28
28
|
<li v-for="(fld, index) in basicFields" :key="index" class="field-widget-item" :title="fld.displayName"
|
|
29
29
|
@dblclick="addFieldByDbClick(fld)">
|
|
30
|
-
<span><
|
|
31
|
-
class-name="color-svg-icon"/><span>{{
|
|
30
|
+
<span><widget-icon :icon="fld.icon"/><span>{{
|
|
32
31
|
i18n2t(`designer.widgetLabel.${fld.type}`, `extension.widgetLabel.${fld.type}`)
|
|
33
32
|
}}</span></span>
|
|
34
33
|
</li>
|
|
@@ -42,7 +41,7 @@
|
|
|
42
41
|
<li v-for="(fld, index) in advancedFields" :key="index" class="field-widget-item"
|
|
43
42
|
:title="fld.displayName"
|
|
44
43
|
@dblclick="addFieldByDbClick(fld)">
|
|
45
|
-
<span><
|
|
44
|
+
<span><widget-icon :icon="fld.icon"/>
|
|
46
45
|
<span>{{ i18n2t(`designer.widgetLabel.${fld.type}`, `extension.widgetLabel.${fld.type}`) }}</span>
|
|
47
46
|
</span>
|
|
48
47
|
</li>
|
|
@@ -57,7 +56,7 @@
|
|
|
57
56
|
<li v-for="(fld, index) in customFields" :key="index" class="field-widget-item" :title="fld.displayName"
|
|
58
57
|
@dblclick="addFieldByDbClick(fld)">
|
|
59
58
|
<span>
|
|
60
|
-
<
|
|
59
|
+
<widget-icon :icon="fld.icon"/>
|
|
61
60
|
<span>{{ i18n2t(`designer.widgetLabel.${fld.type}`, `extension.widgetLabel.${fld.type}`) }}</span>
|
|
62
61
|
</span>
|
|
63
62
|
</li>
|
|
@@ -80,7 +79,7 @@
|
|
|
80
79
|
<li v-for="(ctn, index) in commonContainers" :key="index" class="container-widget-item"
|
|
81
80
|
:title="ctn.displayName"
|
|
82
81
|
@dblclick="addContainerByDbClick(ctn)">
|
|
83
|
-
<span><
|
|
82
|
+
<span><widget-icon :icon="ctn.icon"/>
|
|
84
83
|
<span>{{ i18n2t(`designer.widgetLabel.${ctn.type}`, `extension.widgetLabel.${ctn.type}`) }}</span>
|
|
85
84
|
</span>
|
|
86
85
|
</li>
|
|
@@ -92,8 +91,7 @@
|
|
|
92
91
|
:clone="handleFieldWidgetClone" ghost-class="ghost" :sort="false">
|
|
93
92
|
<li v-for="(fld, index) in basicFields" :key="index" class="field-widget-item" :title="fld.displayName"
|
|
94
93
|
@dblclick="addFieldByDbClick(fld)">
|
|
95
|
-
<span><
|
|
96
|
-
class-name="color-svg-icon"/><span>{{
|
|
94
|
+
<span><widget-icon :icon="fld.icon"/><span>{{
|
|
97
95
|
i18n2t(`designer.widgetLabel.${fld.type}`, `extension.widgetLabel.${fld.type}`)
|
|
98
96
|
}}</span></span>
|
|
99
97
|
</li>
|
|
@@ -106,7 +104,7 @@
|
|
|
106
104
|
<li v-for="(fld, index) in commonAdvancedFields" :key="index" class="field-widget-item"
|
|
107
105
|
:title="fld.displayName"
|
|
108
106
|
@dblclick="addFieldByDbClick(fld)">
|
|
109
|
-
<span><
|
|
107
|
+
<span><widget-icon :icon="fld.icon"/>
|
|
110
108
|
<span>{{ i18n2t(`designer.widgetLabel.${fld.type}`, `extension.widgetLabel.${fld.type}`) }}</span>
|
|
111
109
|
</span>
|
|
112
110
|
</li>
|
|
@@ -123,8 +121,7 @@
|
|
|
123
121
|
<li v-for="(fld, index) in metaFields.main.fieldList" :key="index" class="field-widget-item"
|
|
124
122
|
:title="fld.displayName"
|
|
125
123
|
@dblclick="addFieldByDbClick(fld)">
|
|
126
|
-
<span><
|
|
127
|
-
class-name="color-svg-icon"/><span>{{ getMetaFieldLabel(fld) }}</span></span>
|
|
124
|
+
<span><widget-icon :icon="fld.icon"/><span>{{ getMetaFieldLabel(fld) }}</span></span>
|
|
128
125
|
</li>
|
|
129
126
|
</draggable>
|
|
130
127
|
</el-collapse-item>
|
|
@@ -138,7 +135,7 @@
|
|
|
138
135
|
<li v-for="(fld, index) in item.fieldList" :key="index" class="field-widget-item"
|
|
139
136
|
:title="fld.displayName"
|
|
140
137
|
@dblclick="addFieldByDbClick(fld)">
|
|
141
|
-
<span><
|
|
138
|
+
<span><widget-icon :icon="fld.icon"/>
|
|
142
139
|
<span>{{ getMetaFieldLabel(fld) }}</span>
|
|
143
140
|
</span>
|
|
144
141
|
</li>
|
|
@@ -157,7 +154,7 @@
|
|
|
157
154
|
<li v-for="(fld, index) in businessFields" :key="index" class="field-widget-item"
|
|
158
155
|
:title="fld.displayName"
|
|
159
156
|
@dblclick="addFieldByDbClick(fld)">
|
|
160
|
-
<span><
|
|
157
|
+
<span><widget-icon :icon="fld.icon"/>
|
|
161
158
|
<span>{{ i18n2t(`designer.widgetLabel.${fld.type}`, `extension.widgetLabel.${fld.type}`) }}</span>
|
|
162
159
|
</span>
|
|
163
160
|
</li>
|
|
@@ -170,7 +167,7 @@
|
|
|
170
167
|
<li v-for="(fld, index) in compareFields" :key="index" class="field-widget-item"
|
|
171
168
|
:title="fld.displayName"
|
|
172
169
|
@dblclick="addFieldByDbClick(fld)">
|
|
173
|
-
<span><
|
|
170
|
+
<span><widget-icon :icon="fld.icon"/>
|
|
174
171
|
<span>{{ i18n2t(`designer.widgetLabel.${fld.type}`, `extension.widgetLabel.${fld.type}`) }}</span>
|
|
175
172
|
</span>
|
|
176
173
|
</li>
|
|
@@ -212,6 +209,21 @@ export default {
|
|
|
212
209
|
mixins: [indexMixin],
|
|
213
210
|
components: {
|
|
214
211
|
Draggable,
|
|
212
|
+
/* 面板组件图标:el-icon- 前缀渲染 element 字体图标,否则渲染 svg-icon */
|
|
213
|
+
WidgetIcon: {
|
|
214
|
+
name: "WidgetIcon",
|
|
215
|
+
functional: true,
|
|
216
|
+
props: { icon: String },
|
|
217
|
+
render(h, ctx) {
|
|
218
|
+
const icon = ctx.props.icon || "";
|
|
219
|
+
if (icon.indexOf("el-icon-") === 0) {
|
|
220
|
+
return h("i", { class: [icon, "color-svg-icon", "panel-el-icon"] });
|
|
221
|
+
}
|
|
222
|
+
return h("svg-icon", {
|
|
223
|
+
props: { iconClass: icon, className: "color-svg-icon" },
|
|
224
|
+
});
|
|
225
|
+
},
|
|
226
|
+
},
|
|
215
227
|
},
|
|
216
228
|
data() {
|
|
217
229
|
return {
|
|
@@ -310,6 +322,13 @@ export default {
|
|
|
310
322
|
|
|
311
323
|
}
|
|
312
324
|
|
|
325
|
+
i.panel-el-icon {
|
|
326
|
+
display: inline-block;
|
|
327
|
+
font-size: 1.25em;
|
|
328
|
+
vertical-align: middle;
|
|
329
|
+
margin-right: 5px;
|
|
330
|
+
}
|
|
331
|
+
|
|
313
332
|
span > span {
|
|
314
333
|
vertical-align: middle;
|
|
315
334
|
}
|
|
@@ -1188,7 +1188,7 @@ export const basicFields = [
|
|
|
1188
1188
|
},
|
|
1189
1189
|
{
|
|
1190
1190
|
type: "script-input",
|
|
1191
|
-
icon: "
|
|
1191
|
+
icon: "component",
|
|
1192
1192
|
commonFlag: !0,
|
|
1193
1193
|
formItemFlag: !0,
|
|
1194
1194
|
columnFlag: true,
|
|
@@ -3008,7 +3008,7 @@ export const advancedFields = [
|
|
|
3008
3008
|
},
|
|
3009
3009
|
{
|
|
3010
3010
|
type: "autocomplete",
|
|
3011
|
-
icon: "
|
|
3011
|
+
icon: "message",
|
|
3012
3012
|
commonFlag: !0,
|
|
3013
3013
|
columnFlag: true,
|
|
3014
3014
|
formItemFlag: !0,
|
|
@@ -3019,7 +3019,7 @@ export const advancedFields = [
|
|
|
3019
3019
|
},
|
|
3020
3020
|
{
|
|
3021
3021
|
type: "search_button",
|
|
3022
|
-
icon: "search",
|
|
3022
|
+
icon: "el-icon-search",
|
|
3023
3023
|
commonFlag: !0,
|
|
3024
3024
|
columnFlag: true,
|
|
3025
3025
|
formItemFlag: !1,
|
|
@@ -3064,7 +3064,7 @@ export const advancedFields = [
|
|
|
3064
3064
|
{
|
|
3065
3065
|
type: "save_button",
|
|
3066
3066
|
targetType: "button",
|
|
3067
|
-
icon: "
|
|
3067
|
+
icon: "el-icon-check",
|
|
3068
3068
|
commonFlag: !0,
|
|
3069
3069
|
columnFlag: true,
|
|
3070
3070
|
formItemFlag: !1,
|
|
@@ -3105,7 +3105,7 @@ export const advancedFields = [
|
|
|
3105
3105
|
{
|
|
3106
3106
|
type: "reset_button",
|
|
3107
3107
|
targetType: "button",
|
|
3108
|
-
icon: "
|
|
3108
|
+
icon: "el-icon-refresh-right",
|
|
3109
3109
|
commonFlag: !0,
|
|
3110
3110
|
columnFlag: true,
|
|
3111
3111
|
formItemFlag: !1,
|
|
@@ -3141,7 +3141,7 @@ export const advancedFields = [
|
|
|
3141
3141
|
},
|
|
3142
3142
|
{
|
|
3143
3143
|
type: "table-export-button",
|
|
3144
|
-
icon: "
|
|
3144
|
+
icon: "el-icon-upload",
|
|
3145
3145
|
formItemFlag: !1,
|
|
3146
3146
|
commonFlag: !0,
|
|
3147
3147
|
columnFlag: true,
|
|
@@ -3170,7 +3170,7 @@ export const advancedFields = [
|
|
|
3170
3170
|
},
|
|
3171
3171
|
{
|
|
3172
3172
|
type: "select-export-button",
|
|
3173
|
-
icon: "
|
|
3173
|
+
icon: "el-icon-upload",
|
|
3174
3174
|
formItemFlag: !1,
|
|
3175
3175
|
commonFlag: !0,
|
|
3176
3176
|
columnFlag: true,
|
|
@@ -3201,7 +3201,7 @@ export const advancedFields = [
|
|
|
3201
3201
|
},
|
|
3202
3202
|
{
|
|
3203
3203
|
type: "select-export-item-button",
|
|
3204
|
-
icon: "
|
|
3204
|
+
icon: "el-icon-upload",
|
|
3205
3205
|
formItemFlag: !1,
|
|
3206
3206
|
commonFlag: !0,
|
|
3207
3207
|
columnFlag: true,
|
|
@@ -3233,7 +3233,7 @@ export const advancedFields = [
|
|
|
3233
3233
|
{
|
|
3234
3234
|
type: "add_button",
|
|
3235
3235
|
targetType: "button",
|
|
3236
|
-
icon: "
|
|
3236
|
+
icon: "el-icon-plus",
|
|
3237
3237
|
commonFlag: !0,
|
|
3238
3238
|
columnFlag: true,
|
|
3239
3239
|
formItemFlag: !1,
|
|
@@ -3269,7 +3269,7 @@ export const advancedFields = [
|
|
|
3269
3269
|
},
|
|
3270
3270
|
{
|
|
3271
3271
|
type: "import-button",
|
|
3272
|
-
icon: "
|
|
3272
|
+
icon: "el-icon-download",
|
|
3273
3273
|
commonFlag: !0,
|
|
3274
3274
|
columnFlag: true,
|
|
3275
3275
|
formItemFlag: !1,
|
|
@@ -3321,7 +3321,7 @@ export const advancedFields = [
|
|
|
3321
3321
|
},
|
|
3322
3322
|
{
|
|
3323
3323
|
type: "import2-button",
|
|
3324
|
-
icon: "
|
|
3324
|
+
icon: "el-icon-download",
|
|
3325
3325
|
commonFlag: !0,
|
|
3326
3326
|
columnFlag: true,
|
|
3327
3327
|
formItemFlag: !1,
|
|
@@ -3369,7 +3369,7 @@ export const advancedFields = [
|
|
|
3369
3369
|
},
|
|
3370
3370
|
{
|
|
3371
3371
|
type: "print-button",
|
|
3372
|
-
icon: "
|
|
3372
|
+
icon: "el-icon-printer",
|
|
3373
3373
|
commonFlag: !0,
|
|
3374
3374
|
columnFlag: true,
|
|
3375
3375
|
formItemFlag: !1,
|
|
@@ -3410,7 +3410,7 @@ export const advancedFields = [
|
|
|
3410
3410
|
},
|
|
3411
3411
|
{
|
|
3412
3412
|
type: "print-detail-button",
|
|
3413
|
-
icon: "
|
|
3413
|
+
icon: "el-icon-printer",
|
|
3414
3414
|
commonFlag: !0,
|
|
3415
3415
|
columnFlag: false,
|
|
3416
3416
|
formItemFlag: !1,
|
|
@@ -3573,7 +3573,7 @@ export const advancedFields = [
|
|
|
3573
3573
|
|
|
3574
3574
|
{
|
|
3575
3575
|
type: "project-tag",
|
|
3576
|
-
icon: "
|
|
3576
|
+
icon: "star",
|
|
3577
3577
|
commonFlag: !0,
|
|
3578
3578
|
columnFlag: true,
|
|
3579
3579
|
formItemFlag: !0,
|
|
@@ -3612,7 +3612,7 @@ export const advancedFields = [
|
|
|
3612
3612
|
},
|
|
3613
3613
|
{
|
|
3614
3614
|
type: "dropdown",
|
|
3615
|
-
icon: "
|
|
3615
|
+
icon: "el-icon-arrow-down",
|
|
3616
3616
|
commonFlag: !0,
|
|
3617
3617
|
// columnFlag: true,
|
|
3618
3618
|
widgetList: [],
|
|
@@ -3684,7 +3684,7 @@ export const advancedFields = [
|
|
|
3684
3684
|
|
|
3685
3685
|
{
|
|
3686
3686
|
type: "download-button",
|
|
3687
|
-
icon: "download",
|
|
3687
|
+
icon: "el-icon-download",
|
|
3688
3688
|
commonFlag: !0,
|
|
3689
3689
|
columnFlag: true,
|
|
3690
3690
|
formItemFlag: !1,
|
|
@@ -3990,7 +3990,7 @@ export const businessFields = [
|
|
|
3990
3990
|
{
|
|
3991
3991
|
type: "saleOrg-vabsearch",
|
|
3992
3992
|
targetType: "singerSearch",
|
|
3993
|
-
icon: "
|
|
3993
|
+
icon: "tree",
|
|
3994
3994
|
commonFlag: !0,
|
|
3995
3995
|
columnFlag: true,
|
|
3996
3996
|
formItemFlag: !0,
|
|
@@ -4035,7 +4035,7 @@ export const businessFields = [
|
|
|
4035
4035
|
{
|
|
4036
4036
|
type: "saleOrg-project-tag",
|
|
4037
4037
|
targetType: "project-tag",
|
|
4038
|
-
icon: "
|
|
4038
|
+
icon: "tree",
|
|
4039
4039
|
commonFlag: !0,
|
|
4040
4040
|
columnFlag: true,
|
|
4041
4041
|
formItemFlag: !0,
|
|
@@ -4056,7 +4056,7 @@ export const businessFields = [
|
|
|
4056
4056
|
{
|
|
4057
4057
|
type: "save_submit_wf_button",
|
|
4058
4058
|
targetType: "button",
|
|
4059
|
-
icon: "
|
|
4059
|
+
icon: "el-icon-video-play",
|
|
4060
4060
|
commonFlag: !0,
|
|
4061
4061
|
columnFlag: true,
|
|
4062
4062
|
formItemFlag: !1,
|
|
@@ -4094,7 +4094,7 @@ export const businessFields = [
|
|
|
4094
4094
|
},
|
|
4095
4095
|
{
|
|
4096
4096
|
type: "copy_button",
|
|
4097
|
-
icon: "
|
|
4097
|
+
icon: "el-icon-document-copy",
|
|
4098
4098
|
commonFlag: !0,
|
|
4099
4099
|
columnFlag: true,
|
|
4100
4100
|
formItemFlag: !1,
|
|
@@ -4277,7 +4277,7 @@ export const compareFields = [
|
|
|
4277
4277
|
{
|
|
4278
4278
|
type: "compare-button",
|
|
4279
4279
|
targetType: "button",
|
|
4280
|
-
icon: "
|
|
4280
|
+
icon: "fullscreen",
|
|
4281
4281
|
commonFlag: !0,
|
|
4282
4282
|
formItemFlag: !1,
|
|
4283
4283
|
columnFlag: true,
|