gds-plus-design-vue 1.1.77 → 1.1.78
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/lib/gd-initial.js +2 -3
- package/lib/gd-initial.mjs +81 -32
- package/lib/style.css +1 -1
- package/package.json +1 -1
package/lib/gd-initial.mjs
CHANGED
|
@@ -22730,7 +22730,7 @@ const GDpackage$c = __component__$3P.exports;
|
|
|
22730
22730
|
GDpackage$c.install = function(i) {
|
|
22731
22731
|
i.component(GDpackage$c.name, GDpackage$c);
|
|
22732
22732
|
};
|
|
22733
|
-
const
|
|
22733
|
+
const main_vue_vue_type_style_index_0_scoped_1c446424_lang = "", _sfc_main$3O = {
|
|
22734
22734
|
name: "GdUploadFile",
|
|
22735
22735
|
props: {
|
|
22736
22736
|
record: {
|
|
@@ -22771,7 +22771,8 @@ const main_vue_vue_type_style_index_0_scoped_c0a98f37_lang = "", _sfc_main$3O =
|
|
|
22771
22771
|
fileListFile: [],
|
|
22772
22772
|
uid: "",
|
|
22773
22773
|
imgList: [],
|
|
22774
|
-
currentImg: ""
|
|
22774
|
+
currentImg: "",
|
|
22775
|
+
leg: 0
|
|
22775
22776
|
};
|
|
22776
22777
|
},
|
|
22777
22778
|
computed: {
|
|
@@ -22814,7 +22815,7 @@ const main_vue_vue_type_style_index_0_scoped_c0a98f37_lang = "", _sfc_main$3O =
|
|
|
22814
22815
|
fileId: l,
|
|
22815
22816
|
url: o.url ? o.url : o.filepath
|
|
22816
22817
|
}), l && a.push(l);
|
|
22817
|
-
}), this.fileListFile = [...s], this.record.sourceData = JSON.stringify(s), this.model[this.prop] = a.join(",");
|
|
22818
|
+
}), this.fileListFile = [...s], this.leg = s.length, this.record.sourceData = JSON.stringify(s), this.model[this.prop] = a.join(",");
|
|
22818
22819
|
},
|
|
22819
22820
|
previewFile(i) {
|
|
22820
22821
|
let t = "", s = "";
|
|
@@ -22848,7 +22849,7 @@ const main_vue_vue_type_style_index_0_scoped_c0a98f37_lang = "", _sfc_main$3O =
|
|
|
22848
22849
|
fileId: o.fileId ? o.fileId : o.id,
|
|
22849
22850
|
url: o.url ? o.url : o.filepath
|
|
22850
22851
|
}));
|
|
22851
|
-
}), this.record.sourceData = JSON.stringify(a), this.model[this.prop] = s.join(","), this.handleChange();
|
|
22852
|
+
}), this.record.sourceData = JSON.stringify(a), this.model[this.prop] = s.join(","), this.leg = s.length, this.handleChange();
|
|
22852
22853
|
},
|
|
22853
22854
|
uploadFile(i) {
|
|
22854
22855
|
if (!this.fileAccept.includes(i.file.type)) {
|
|
@@ -22886,7 +22887,7 @@ const main_vue_vue_type_style_index_0_scoped_c0a98f37_lang = "", _sfc_main$3O =
|
|
|
22886
22887
|
fileId: d.fileId ? d.fileId : d.id,
|
|
22887
22888
|
url: d.url ? d.url : d.filepath
|
|
22888
22889
|
});
|
|
22889
|
-
}), this.record.sourceData = JSON.stringify(r), this.handleChange();
|
|
22890
|
+
}), this.leg = l.length, this.record.sourceData = JSON.stringify(r), this.handleChange();
|
|
22890
22891
|
},
|
|
22891
22892
|
handleChange() {
|
|
22892
22893
|
this.$emit("change", this.record);
|
|
@@ -22909,7 +22910,7 @@ var _sfc_render$3O = function() {
|
|
|
22909
22910
|
_sfc_staticRenderFns$3O,
|
|
22910
22911
|
!1,
|
|
22911
22912
|
null,
|
|
22912
|
-
"
|
|
22913
|
+
"1c446424",
|
|
22913
22914
|
null,
|
|
22914
22915
|
null
|
|
22915
22916
|
);
|
|
@@ -41860,6 +41861,8 @@ const operationMenus = __component__$2t.exports, abilityItems = [{
|
|
|
41860
41861
|
icon: "gd-icon-lianjie",
|
|
41861
41862
|
transKey: "gd.basiccomponents.link",
|
|
41862
41863
|
options: {
|
|
41864
|
+
flexWidth: 100,
|
|
41865
|
+
flexUnit: "%",
|
|
41863
41866
|
title: "\u94FE\u63A5",
|
|
41864
41867
|
transKey: null,
|
|
41865
41868
|
linkUrl: "",
|
|
@@ -41870,13 +41873,19 @@ const operationMenus = __component__$2t.exports, abilityItems = [{
|
|
|
41870
41873
|
margin: [0, 0, 0, 0],
|
|
41871
41874
|
radius: [0, 0, 0, 0],
|
|
41872
41875
|
align: "left",
|
|
41873
|
-
fontSize:
|
|
41876
|
+
fontSize: 14,
|
|
41874
41877
|
fontStyle: "normal",
|
|
41875
41878
|
textDecoration: "none",
|
|
41876
41879
|
bjColor: "transparent",
|
|
41877
41880
|
color: "#1456f0",
|
|
41878
41881
|
radius: [0, 0, 0, 0]
|
|
41879
41882
|
},
|
|
41883
|
+
interac: {
|
|
41884
|
+
formMode: "componentMethod",
|
|
41885
|
+
componentKey: "",
|
|
41886
|
+
componentFunction: "",
|
|
41887
|
+
formModeDisable: !0
|
|
41888
|
+
},
|
|
41880
41889
|
fieldContext: [],
|
|
41881
41890
|
customCss: "",
|
|
41882
41891
|
customClass: "",
|
|
@@ -45357,12 +45366,16 @@ var _sfc_render$2c = function() {
|
|
|
45357
45366
|
null,
|
|
45358
45367
|
null
|
|
45359
45368
|
);
|
|
45360
|
-
const textContent = __component__$2c.exports,
|
|
45369
|
+
const textContent = __component__$2c.exports, title_vue_vue_type_style_index_0_scoped_5b75e015_lang = "", _sfc_main$2b = {
|
|
45361
45370
|
props: {
|
|
45362
45371
|
record: {
|
|
45363
45372
|
type: Object,
|
|
45364
45373
|
required: !0
|
|
45365
45374
|
},
|
|
45375
|
+
develop: {
|
|
45376
|
+
type: [Number, String],
|
|
45377
|
+
default: 1
|
|
45378
|
+
},
|
|
45366
45379
|
itemData: {
|
|
45367
45380
|
type: Object,
|
|
45368
45381
|
default: () => ({})
|
|
@@ -45385,6 +45398,9 @@ const textContent = __component__$2c.exports, title_vue_vue_type_style_index_0_s
|
|
|
45385
45398
|
}
|
|
45386
45399
|
},
|
|
45387
45400
|
computed: {
|
|
45401
|
+
gclass() {
|
|
45402
|
+
return this.develop == 1 ? "" : this.record.customClass ? `${this.record.customClass}` : "";
|
|
45403
|
+
},
|
|
45388
45404
|
options() {
|
|
45389
45405
|
return this.record.options;
|
|
45390
45406
|
},
|
|
@@ -45423,14 +45439,14 @@ const textContent = __component__$2c.exports, title_vue_vue_type_style_index_0_s
|
|
|
45423
45439
|
};
|
|
45424
45440
|
var _sfc_render$2b = function() {
|
|
45425
45441
|
var t = this, s = t._self._c;
|
|
45426
|
-
return s("div", { staticClass: "gd-title-sbu", style: t.style, on: { click: t.search } }, [s("div", { staticClass: "title-heading" }, [t._v(t._s(t.$i18nt(`Dynamics.${t.options.transKey}`, t.options.title)))]), s("div", { staticClass: "title-subtitle", style: t.sstyle }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${t.options.subtransKey}`, t.options.subtitle)) + " ")]), t.options.iconShow ? s("div", { staticClass: "jiant" }, [s("i", { staticClass: "el-icon-arrow-right" })]) : t._e()]);
|
|
45442
|
+
return s("div", { staticClass: "gd-title-sbu", class: t.gclass, style: t.style, on: { click: t.search } }, [s("div", { staticClass: "title-heading" }, [t._v(t._s(t.$i18nt(`Dynamics.${t.options.transKey}`, t.options.title)))]), s("div", { staticClass: "title-subtitle", style: t.sstyle }, [t._v(" " + t._s(t.$i18nt(`Dynamics.${t.options.subtransKey}`, t.options.subtitle)) + " ")]), t.options.iconShow ? s("div", { staticClass: "jiant" }, [s("i", { staticClass: "el-icon-arrow-right" })]) : t._e()]);
|
|
45427
45443
|
}, _sfc_staticRenderFns$2b = [], __component__$2b = /* @__PURE__ */ normalizeComponent(
|
|
45428
45444
|
_sfc_main$2b,
|
|
45429
45445
|
_sfc_render$2b,
|
|
45430
45446
|
_sfc_staticRenderFns$2b,
|
|
45431
45447
|
!1,
|
|
45432
45448
|
null,
|
|
45433
|
-
"
|
|
45449
|
+
"5b75e015",
|
|
45434
45450
|
null,
|
|
45435
45451
|
null
|
|
45436
45452
|
);
|
|
@@ -46075,53 +46091,86 @@ var _sfc_render$27 = function() {
|
|
|
46075
46091
|
null,
|
|
46076
46092
|
null
|
|
46077
46093
|
);
|
|
46078
|
-
const imageFile = __component__$27.exports,
|
|
46094
|
+
const imageFile = __component__$27.exports, linkItem_vue_vue_type_style_index_0_scoped_5caa9b9a_lang = "", _sfc_main$26 = {
|
|
46079
46095
|
props: {
|
|
46080
46096
|
record: {
|
|
46081
46097
|
type: Object,
|
|
46082
46098
|
required: !0
|
|
46099
|
+
},
|
|
46100
|
+
develop: {
|
|
46101
|
+
type: [Number, String],
|
|
46102
|
+
default: 1
|
|
46103
|
+
},
|
|
46104
|
+
itemData: {
|
|
46105
|
+
type: Object,
|
|
46106
|
+
default: () => ({})
|
|
46107
|
+
},
|
|
46108
|
+
fieldContext: {
|
|
46109
|
+
type: Array,
|
|
46110
|
+
default: () => []
|
|
46083
46111
|
}
|
|
46084
46112
|
},
|
|
46085
46113
|
data() {
|
|
46086
46114
|
return {};
|
|
46087
46115
|
},
|
|
46116
|
+
watch: {
|
|
46117
|
+
fieldContext: {
|
|
46118
|
+
handler(i) {
|
|
46119
|
+
this.fieldContext.length > 0 && (this.record.fieldContext = this.fieldContext);
|
|
46120
|
+
},
|
|
46121
|
+
deep: !0,
|
|
46122
|
+
immediate: !0
|
|
46123
|
+
}
|
|
46124
|
+
},
|
|
46088
46125
|
computed: {
|
|
46126
|
+
columnName() {
|
|
46127
|
+
const i = this.options.columnContextName ? this.options.columnContextName : [];
|
|
46128
|
+
return i[i.length - 1];
|
|
46129
|
+
},
|
|
46130
|
+
title() {
|
|
46131
|
+
let i = this.options.title;
|
|
46132
|
+
return this.columnName ? i = this.develop === 1 ? this.options.title : this.options.transKey ? this.$i18nt(`${this.options.transKey}`, this.options.title) : this.itemData[this.columnName] : i = this.options.transKey ? this.$i18nt(`${this.options.transKey}`, this.options.title) : this.options.linkUrl, i;
|
|
46133
|
+
},
|
|
46134
|
+
gclass() {
|
|
46135
|
+
return this.develop == 1 ? "" : this.record.customClass ? `${this.record.customClass}` : "";
|
|
46136
|
+
},
|
|
46089
46137
|
options() {
|
|
46090
46138
|
return this.record.options;
|
|
46091
46139
|
},
|
|
46092
|
-
cstyle() {
|
|
46093
|
-
let i = this.record.css;
|
|
46094
|
-
return `color:${i.color};font-size:${i.fontSize}px;text-decoration:${i.textDecoration};
|
|
46095
|
-
font-style:${i.fontStyle};`;
|
|
46096
|
-
},
|
|
46097
46140
|
style() {
|
|
46098
|
-
|
|
46099
|
-
|
|
46100
|
-
|
|
46101
|
-
}), i.margin && i.margin.forEach((l) => {
|
|
46102
|
-
s.push(l + "px");
|
|
46103
|
-
});
|
|
46104
|
-
let a = `padding:${t.join(" ")}`, o = `margin:${s.join(" ")}`;
|
|
46105
|
-
return `background:${i.bjColor};${a};${o};text-align:${i.align};border-radius:${i.radius}px;`;
|
|
46106
|
-
},
|
|
46107
|
-
...mapGetters(["primaryColor"])
|
|
46141
|
+
const i = this.develop == 1 ? "" : `${getCss(this.options)}max-width:100%;`, t = this.record.customCss ? this.record.customCss : "", s = this.record.css;
|
|
46142
|
+
return `cursor: pointer;overflow: hidden;${i}${getCss(s)}${t}`;
|
|
46143
|
+
}
|
|
46108
46144
|
},
|
|
46109
46145
|
methods: {
|
|
46110
46146
|
dropDown() {
|
|
46111
|
-
|
|
46147
|
+
const i = this.record.interac;
|
|
46148
|
+
let t = this.options.linkUrl;
|
|
46149
|
+
this.columnName && (t = this.itemData[this.columnName]), !(t === "" || t === null || t === void 0) && this.record.doEvent({
|
|
46150
|
+
key: i.componentKey,
|
|
46151
|
+
functionName: i.componentFunction,
|
|
46152
|
+
data: t,
|
|
46153
|
+
source: this.record,
|
|
46154
|
+
callback: !1,
|
|
46155
|
+
callbackComponents: "",
|
|
46156
|
+
callbackFunction: ""
|
|
46157
|
+
});
|
|
46112
46158
|
}
|
|
46159
|
+
},
|
|
46160
|
+
mounted() {
|
|
46161
|
+
this.fieldContext.length > 0 && (this.record.fieldContext = this.fieldContext);
|
|
46113
46162
|
}
|
|
46114
46163
|
};
|
|
46115
46164
|
var _sfc_render$26 = function() {
|
|
46116
46165
|
var t = this, s = t._self._c;
|
|
46117
|
-
return s("div", {
|
|
46166
|
+
return s("div", { staticClass: "gd-link", class: t.gclass, style: t.style, on: { click: t.dropDown } }, [t._v(" " + t._s(t.title) + " ")]);
|
|
46118
46167
|
}, _sfc_staticRenderFns$26 = [], __component__$26 = /* @__PURE__ */ normalizeComponent(
|
|
46119
46168
|
_sfc_main$26,
|
|
46120
46169
|
_sfc_render$26,
|
|
46121
46170
|
_sfc_staticRenderFns$26,
|
|
46122
46171
|
!1,
|
|
46123
46172
|
null,
|
|
46124
|
-
"
|
|
46173
|
+
"5caa9b9a",
|
|
46125
46174
|
null,
|
|
46126
46175
|
null
|
|
46127
46176
|
);
|
|
@@ -47829,7 +47878,7 @@ var _sfc_render$23 = function() {
|
|
|
47829
47878
|
null,
|
|
47830
47879
|
null
|
|
47831
47880
|
);
|
|
47832
|
-
const currentTime = __component__$23.exports,
|
|
47881
|
+
const currentTime = __component__$23.exports, currentUser_vue_vue_type_style_index_0_scoped_eade0558_lang = "", _sfc_main$22 = {
|
|
47833
47882
|
props: {
|
|
47834
47883
|
record: {
|
|
47835
47884
|
type: Object,
|
|
@@ -47863,7 +47912,7 @@ const currentTime = __component__$23.exports, currentUser_vue_vue_type_style_ind
|
|
|
47863
47912
|
methods: {
|
|
47864
47913
|
linkUrl() {
|
|
47865
47914
|
const i = this.record.interac ? this.record.interac : {};
|
|
47866
|
-
if (
|
|
47915
|
+
if (!(!i.componentKey || !i.componentFunction)) {
|
|
47867
47916
|
if (i.componentKey === "GdFilePreview" && i.componentFunction === "gd-file-preview") {
|
|
47868
47917
|
this.seeImg();
|
|
47869
47918
|
return;
|
|
@@ -47913,7 +47962,7 @@ var _sfc_render$22 = function() {
|
|
|
47913
47962
|
_sfc_staticRenderFns$22,
|
|
47914
47963
|
!1,
|
|
47915
47964
|
null,
|
|
47916
|
-
"
|
|
47965
|
+
"eade0558",
|
|
47917
47966
|
null,
|
|
47918
47967
|
null
|
|
47919
47968
|
);
|