@web-utils/component 2.8.23 → 2.8.25
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/element-dialog/index.mjs +17 -5
- package/flow-designer/index.mjs +15 -5
- package/package.json +1 -1
- package/tag-render/index.mjs +2 -1
- package/tag-render/style.css +1 -1
- package/web-types.json +49 -1
package/element-dialog/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import i from "element-ui/lib/dialog";
|
|
2
|
-
import { dialogDrag as
|
|
2
|
+
import { dialogDrag as s } from "@web-utils/vue/directives/dialog-drag";
|
|
3
3
|
import { n } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
4
4
|
var r = function() {
|
|
5
5
|
var e = this, l = e.$createElement, t = e._self._c || l;
|
|
@@ -91,6 +91,18 @@ var r = function() {
|
|
|
91
91
|
}, d = [];
|
|
92
92
|
const u = {
|
|
93
93
|
props: {
|
|
94
|
+
visible: {
|
|
95
|
+
type: Boolean,
|
|
96
|
+
default: !1
|
|
97
|
+
},
|
|
98
|
+
openDelay: {},
|
|
99
|
+
closeDelay: {},
|
|
100
|
+
zIndex: {},
|
|
101
|
+
modalFade: {
|
|
102
|
+
type: Boolean,
|
|
103
|
+
default: !0
|
|
104
|
+
},
|
|
105
|
+
modalClass: {},
|
|
94
106
|
modal: {
|
|
95
107
|
type: Boolean,
|
|
96
108
|
default: !0
|
|
@@ -115,7 +127,7 @@ const u = {
|
|
|
115
127
|
}, c = {
|
|
116
128
|
name: "ElementDialog",
|
|
117
129
|
directives: {
|
|
118
|
-
dialogDrag:
|
|
130
|
+
dialogDrag: s
|
|
119
131
|
},
|
|
120
132
|
mixins: [...i.mixins || i.default.mixins, u],
|
|
121
133
|
props: {
|
|
@@ -226,7 +238,7 @@ const u = {
|
|
|
226
238
|
this.exitFullScreen(), this.$emit("closed");
|
|
227
239
|
}
|
|
228
240
|
}
|
|
229
|
-
},
|
|
241
|
+
}, a = {};
|
|
230
242
|
var p = /* @__PURE__ */ n(
|
|
231
243
|
c,
|
|
232
244
|
r,
|
|
@@ -238,8 +250,8 @@ var p = /* @__PURE__ */ n(
|
|
|
238
250
|
null
|
|
239
251
|
);
|
|
240
252
|
function h(e) {
|
|
241
|
-
for (let l in
|
|
242
|
-
this[l] =
|
|
253
|
+
for (let l in a)
|
|
254
|
+
this[l] = a[l];
|
|
243
255
|
}
|
|
244
256
|
const _ = /* @__PURE__ */ function() {
|
|
245
257
|
return p.exports;
|
package/flow-designer/index.mjs
CHANGED
|
@@ -4999,7 +4999,7 @@ var Un = function() {
|
|
|
4999
4999
|
})], 1), e.elementType === "Process" ? t("ElCollapseItem", {
|
|
5000
5000
|
key: "message",
|
|
5001
5001
|
attrs: {
|
|
5002
|
-
name: "
|
|
5002
|
+
name: "message"
|
|
5003
5003
|
},
|
|
5004
5004
|
scopedSlots: e._u([{
|
|
5005
5005
|
key: "title",
|
|
@@ -5043,7 +5043,7 @@ var Un = function() {
|
|
|
5043
5043
|
return [e.formVisible ? t("ElCollapseItem", {
|
|
5044
5044
|
key: "form",
|
|
5045
5045
|
attrs: {
|
|
5046
|
-
name: "
|
|
5046
|
+
name: "form"
|
|
5047
5047
|
},
|
|
5048
5048
|
scopedSlots: e._u([{
|
|
5049
5049
|
key: "title",
|
|
@@ -5220,8 +5220,9 @@ var Un = function() {
|
|
|
5220
5220
|
type: e.elementType
|
|
5221
5221
|
})], 2)], 1);
|
|
5222
5222
|
}, Nn = [];
|
|
5223
|
-
const ye = "base", Gn = {
|
|
5223
|
+
const ye = ["base", "task", "form", "multiInstance"], Gn = {
|
|
5224
5224
|
name: "PropertiesPanel",
|
|
5225
|
+
componentName: "MyPropertiesPanel",
|
|
5225
5226
|
components: {
|
|
5226
5227
|
UserTaskListeners: zn,
|
|
5227
5228
|
ElementForm: Pn,
|
|
@@ -5234,7 +5235,6 @@ const ye = "base", Gn = {
|
|
|
5234
5235
|
ElementOtherConfig: Tt,
|
|
5235
5236
|
ElementBaseInfo: vt
|
|
5236
5237
|
},
|
|
5237
|
-
componentName: "MyPropertiesPanel",
|
|
5238
5238
|
provide() {
|
|
5239
5239
|
return {
|
|
5240
5240
|
prefix: this.prefix,
|
|
@@ -5243,6 +5243,10 @@ const ye = "base", Gn = {
|
|
|
5243
5243
|
};
|
|
5244
5244
|
},
|
|
5245
5245
|
props: {
|
|
5246
|
+
tab: {
|
|
5247
|
+
type: Array,
|
|
5248
|
+
default: () => ["base", "task", "form", "multiInstance"]
|
|
5249
|
+
},
|
|
5246
5250
|
bpmnModeler: Object,
|
|
5247
5251
|
prefix: {
|
|
5248
5252
|
type: String,
|
|
@@ -5261,7 +5265,7 @@ const ye = "base", Gn = {
|
|
|
5261
5265
|
return {
|
|
5262
5266
|
element: {},
|
|
5263
5267
|
bpmnInstances: {},
|
|
5264
|
-
activeTab:
|
|
5268
|
+
activeTab: ["base"],
|
|
5265
5269
|
elementId: "",
|
|
5266
5270
|
elementType: "",
|
|
5267
5271
|
conditionFormVisible: !1,
|
|
@@ -5272,6 +5276,12 @@ const ye = "base", Gn = {
|
|
|
5272
5276
|
};
|
|
5273
5277
|
},
|
|
5274
5278
|
watch: {
|
|
5279
|
+
tab: {
|
|
5280
|
+
immediate: !0,
|
|
5281
|
+
handler() {
|
|
5282
|
+
this.activeTab = ye;
|
|
5283
|
+
}
|
|
5284
|
+
},
|
|
5275
5285
|
elementId: {
|
|
5276
5286
|
handler() {
|
|
5277
5287
|
this.activeTab = ye;
|
package/package.json
CHANGED
package/tag-render/index.mjs
CHANGED
|
@@ -20,6 +20,7 @@ var f = function() {
|
|
|
20
20
|
key: a,
|
|
21
21
|
attrs: {
|
|
22
22
|
closable: e.enable,
|
|
23
|
+
size: "medium",
|
|
23
24
|
"disable-transitions": ""
|
|
24
25
|
},
|
|
25
26
|
on: {
|
|
@@ -35,7 +36,7 @@ var f = function() {
|
|
|
35
36
|
}, [e._v("无")])], e.enable ? n("ElButton", {
|
|
36
37
|
staticClass: "add-tag",
|
|
37
38
|
attrs: {
|
|
38
|
-
size: "
|
|
39
|
+
size: "mini"
|
|
39
40
|
},
|
|
40
41
|
on: {
|
|
41
42
|
click: function(s) {
|
package/tag-render/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.tag-render{min-height:80px;overflow:hidden;background-color:#fff;border:1px solid #d7dae0;border-radius:4px;padding-top:4px;padding-right:4px}.tag-render .el-tag{margin-left:4px;margin-bottom:4px}.tag-render .add-tag{margin-left:4px}.tag-render .el-tag .el-tag__close:hover{background-color:#ee8677}.tag-render .tags-count{position:absolute;right:
|
|
1
|
+
.tag-render{line-height:0;min-height:80px;overflow:hidden;background-color:#fff;border:1px solid #d7dae0;border-radius:4px;padding-top:4px;padding-right:4px}.tag-render .el-tag{margin-left:4px;margin-bottom:4px}.tag-render .add-tag{margin-left:4px}.tag-render .el-tag .el-tag__close:hover{background-color:#ee8677}.tag-render .tags-count{position:absolute;right:6px;bottom:10px;color:#b7b7b7;font-size:.9em}
|
package/web-types.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"$schema": "https://json.schemastore.org/web-types",
|
|
3
3
|
"framework": "vue",
|
|
4
4
|
"name": "@web-utils/component",
|
|
5
|
-
"version": "2.8.
|
|
5
|
+
"version": "2.8.25",
|
|
6
6
|
"contributions": {
|
|
7
7
|
"html": {
|
|
8
8
|
"description-markup": "markdown",
|
|
@@ -1879,6 +1879,54 @@
|
|
|
1879
1879
|
"name": "ElementDialog",
|
|
1880
1880
|
"description": "",
|
|
1881
1881
|
"attributes": [
|
|
1882
|
+
{
|
|
1883
|
+
"name": "visible",
|
|
1884
|
+
"value": {
|
|
1885
|
+
"kind": "expression",
|
|
1886
|
+
"type": "boolean"
|
|
1887
|
+
},
|
|
1888
|
+
"default": "false"
|
|
1889
|
+
},
|
|
1890
|
+
{
|
|
1891
|
+
"name": "openDelay",
|
|
1892
|
+
"value": {
|
|
1893
|
+
"kind": "expression",
|
|
1894
|
+
"type": "any"
|
|
1895
|
+
},
|
|
1896
|
+
"default": ""
|
|
1897
|
+
},
|
|
1898
|
+
{
|
|
1899
|
+
"name": "closeDelay",
|
|
1900
|
+
"value": {
|
|
1901
|
+
"kind": "expression",
|
|
1902
|
+
"type": "any"
|
|
1903
|
+
},
|
|
1904
|
+
"default": ""
|
|
1905
|
+
},
|
|
1906
|
+
{
|
|
1907
|
+
"name": "zIndex",
|
|
1908
|
+
"value": {
|
|
1909
|
+
"kind": "expression",
|
|
1910
|
+
"type": "any"
|
|
1911
|
+
},
|
|
1912
|
+
"default": ""
|
|
1913
|
+
},
|
|
1914
|
+
{
|
|
1915
|
+
"name": "modalFade",
|
|
1916
|
+
"value": {
|
|
1917
|
+
"kind": "expression",
|
|
1918
|
+
"type": "boolean"
|
|
1919
|
+
},
|
|
1920
|
+
"default": "true"
|
|
1921
|
+
},
|
|
1922
|
+
{
|
|
1923
|
+
"name": "modalClass",
|
|
1924
|
+
"value": {
|
|
1925
|
+
"kind": "expression",
|
|
1926
|
+
"type": "any"
|
|
1927
|
+
},
|
|
1928
|
+
"default": ""
|
|
1929
|
+
},
|
|
1882
1930
|
{
|
|
1883
1931
|
"name": "modal",
|
|
1884
1932
|
"value": {
|