@web-utils/component 2.8.7 → 2.8.9
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/chat/index.mjs +1 -1
- package/chunk-file-uploader/index.mjs +5 -3
- package/chunks/FormTemp.a77c73c4.mjs +163 -0
- package/{icon-temp/index.mjs → chunks/IconTemp.a10129a6.mjs} +2 -2
- package/chunks/{dataformat.ab62230f.mjs → dataformat.4100726d.mjs} +8 -8
- package/chunks/{dic.7f13b573.mjs → dic.9e90e2a4.mjs} +1 -1
- package/chunks/{event.1ac32f1d.mjs → event.ebd9a3a6.mjs} +2 -2
- package/chunks/{init.47ce5ed9.mjs → init.27f6a0c4.mjs} +2 -2
- package/chunks/{util.505913d9.mjs → util.d691afb6.mjs} +17 -17
- package/dialog-form/index.mjs +1 -1
- package/egd-collapse-item/index.mjs +14 -12
- package/flow/index.mjs +1 -1
- package/flow-node/index.mjs +1 -1
- package/flow-viewer/index.mjs +33 -29
- package/fy-array/index.mjs +2 -2
- package/fy-cascader/index.mjs +1 -1
- package/fy-checkbox/index.mjs +1 -1
- package/fy-code/index.mjs +1 -1
- package/fy-curd/index.mjs +2504 -140
- package/fy-curd/style.css +1 -1
- package/fy-date/index.mjs +1 -1
- package/fy-draggable/index.mjs +1 -1
- package/fy-dynamic/index.mjs +2 -2
- package/fy-empty/index.mjs +1 -1
- package/fy-form/index.mjs +538 -333
- package/fy-form/style.css +1 -1
- package/fy-form-design/index.mjs +21 -21
- package/fy-form-design/style.css +1 -1
- package/fy-input/index.mjs +1 -1
- package/fy-input-color/index.mjs +1 -1
- package/fy-input-icon/index.mjs +14 -12
- package/fy-input-map/index.mjs +1 -1
- package/fy-input-number/index.mjs +1 -1
- package/fy-input-table/index.mjs +1 -1
- package/fy-input-tree/index.mjs +1 -1
- package/fy-radio/index.mjs +1 -1
- package/fy-rate/index.mjs +1 -1
- package/fy-select/index.mjs +3 -3
- package/fy-slider/index.mjs +2 -2
- package/fy-switch/index.mjs +1 -1
- package/fy-time/index.mjs +1 -1
- package/fy-title/index.mjs +1 -1
- package/fy-tree/index.mjs +1 -1
- package/fy-u-editor/index.mjs +1 -1
- package/fy-upload/index.mjs +2 -2
- package/image-cropper/index.mjs +1 -1
- package/image-preview/index.mjs +1 -1
- package/index.mjs +475 -552
- package/license/index.mjs +1 -1
- package/login/index.mjs +1 -1
- package/package.json +1 -1
- package/process-palette/index.mjs +190 -0
- package/process-palette/style.css +1 -0
- package/record-video/index.mjs +1 -1
- package/search/index.mjs +2 -2
- package/search-popover/index.mjs +1 -1
- package/sign/index.mjs +1 -1
- package/split-pane/index.mjs +104 -34
- package/text-ellipsis/index.mjs +1 -1
- package/tinymce-editor/index.mjs +846 -44
- package/tinymce-editor/style.css +1 -1
- package/verify/index.mjs +1 -1
- package/web-types.json +28 -658
- package/chunk-file-uploader-button/index.mjs +0 -60
- package/chunk-file-uploader-button/style.css +0 -1
- package/chunk-file-uploader-drop/index.mjs +0 -83
- package/chunk-file-uploader-drop/style.css +0 -1
- package/chunk-file-uploader-file/index.mjs +0 -311
- package/chunk-file-uploader-file/style.css +0 -1
- package/chunk-file-uploader-files/index.mjs +0 -49
- package/chunk-file-uploader-files/style.css +0 -1
- package/chunk-file-uploader-list/index.mjs +0 -50
- package/chunk-file-uploader-list/style.css +0 -1
- package/chunk-file-uploader-un-support/index.mjs +0 -51
- package/chunk-file-uploader-un-support/style.css +0 -1
- package/chunks/config.46422d7f.mjs +0 -73
- package/chunks/detail.6e46de33.mjs +0 -29
- package/chunks/mixins.5a78e0db.mjs +0 -16
- package/chunks/utils.97652d86.mjs +0 -26
- package/column/index.mjs +0 -115
- package/column-default/index.mjs +0 -106
- package/column-dynamic/index.mjs +0 -93
- package/column-menu/index.mjs +0 -288
- package/column-slot/index.mjs +0 -267
- package/dialog-column/index.mjs +0 -139
- package/dialog-excel/index.mjs +0 -211
- package/dialog-filter/index.mjs +0 -248
- package/form-group/index.mjs +0 -117
- package/form-group/style.css +0 -1
- package/form-temp/index.mjs +0 -137
- package/fy-dialog-form/index.mjs +0 -272
- package/fy-form-menu/index.mjs +0 -95
- package/header-menu/index.mjs +0 -238
- package/header-search/index.mjs +0 -255
- package/table-page/index.mjs +0 -130
- package/tinymce-wrapper/index.mjs +0 -821
- package/tinymce-wrapper/style.css +0 -1
- package/trigger/index.mjs +0 -71
package/license/index.mjs
CHANGED
package/login/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
import { assign as r } from "min-dash";
|
|
2
|
+
import { n as l } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
3
|
+
var i = function() {
|
|
4
|
+
var e = this, o = e.$createElement, n = e._self._c || o;
|
|
5
|
+
return n("div", {
|
|
6
|
+
staticClass: "my-process-palette"
|
|
7
|
+
}, [n("p", [e._v("palette")]), n("ElCollapse", [n("ElCollapseItem", {
|
|
8
|
+
attrs: {
|
|
9
|
+
title: "任务",
|
|
10
|
+
name: "1"
|
|
11
|
+
}
|
|
12
|
+
}, [n("div", {
|
|
13
|
+
staticClass: "custom-button",
|
|
14
|
+
on: {
|
|
15
|
+
click: function(t) {
|
|
16
|
+
return e.createElement(t, "Task");
|
|
17
|
+
},
|
|
18
|
+
mousedown: function(t) {
|
|
19
|
+
return e.createElement(t, "Task");
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}, [e._v(" 任务 ")]), n("div", {
|
|
23
|
+
staticClass: "custom-button",
|
|
24
|
+
on: {
|
|
25
|
+
click: function(t) {
|
|
26
|
+
return e.createElement(t, "UserTask");
|
|
27
|
+
},
|
|
28
|
+
mousedown: function(t) {
|
|
29
|
+
return e.createElement(t, "UserTask");
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}, [e._v(" 用户任务 ")]), n("div", {
|
|
33
|
+
staticClass: "custom-button",
|
|
34
|
+
on: {
|
|
35
|
+
click: function(t) {
|
|
36
|
+
return e.createElement(t, "SendTask");
|
|
37
|
+
},
|
|
38
|
+
mousedown: function(t) {
|
|
39
|
+
return e.createElement(t, "SendTask");
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}, [e._v(" 发送任务 ")]), n("div", {
|
|
43
|
+
staticClass: "custom-button",
|
|
44
|
+
on: {
|
|
45
|
+
click: function(t) {
|
|
46
|
+
return e.createElement(t, "ReceiveTask");
|
|
47
|
+
},
|
|
48
|
+
mousedown: function(t) {
|
|
49
|
+
return e.createElement(t, "ReceiveTask");
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}, [e._v(" 接收任务 ")]), n("div", {
|
|
53
|
+
staticClass: "custom-button",
|
|
54
|
+
on: {
|
|
55
|
+
click: function(t) {
|
|
56
|
+
return e.createElement(t, "ScriptTask");
|
|
57
|
+
},
|
|
58
|
+
mousedown: function(t) {
|
|
59
|
+
return e.createElement(t, "ScriptTask");
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}, [e._v(" 脚本任务 ")]), n("div", {
|
|
63
|
+
staticClass: "custom-button",
|
|
64
|
+
on: {
|
|
65
|
+
click: function(t) {
|
|
66
|
+
return e.createElement(t, "ServiceTask");
|
|
67
|
+
},
|
|
68
|
+
mousedown: function(t) {
|
|
69
|
+
return e.createElement(t, "ServiceTask");
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}, [e._v(" 服务任务 ")])]), n("ElCollapseItem", {
|
|
73
|
+
attrs: {
|
|
74
|
+
title: "网关",
|
|
75
|
+
name: "2"
|
|
76
|
+
}
|
|
77
|
+
}, [n("div", {
|
|
78
|
+
staticClass: "custom-button",
|
|
79
|
+
on: {
|
|
80
|
+
click: function(t) {
|
|
81
|
+
return e.createElement(t, "Gateway");
|
|
82
|
+
},
|
|
83
|
+
mousedown: function(t) {
|
|
84
|
+
return e.createElement(t, "Gateway");
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}, [e._v(" 网关 ")])]), n("ElCollapseItem", {
|
|
88
|
+
attrs: {
|
|
89
|
+
title: "开始",
|
|
90
|
+
name: "3"
|
|
91
|
+
}
|
|
92
|
+
}, [n("div", {
|
|
93
|
+
staticClass: "custom-button",
|
|
94
|
+
on: {
|
|
95
|
+
click: function(t) {
|
|
96
|
+
return e.createElement(t, "StartEvent");
|
|
97
|
+
},
|
|
98
|
+
mousedown: function(t) {
|
|
99
|
+
return e.createElement(t, "StartEvent");
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}, [e._v(" 开始 ")])]), n("ElCollapseItem", {
|
|
103
|
+
attrs: {
|
|
104
|
+
title: "结束",
|
|
105
|
+
name: "4"
|
|
106
|
+
}
|
|
107
|
+
}, [n("div", {
|
|
108
|
+
staticClass: "custom-button",
|
|
109
|
+
on: {
|
|
110
|
+
click: function(t) {
|
|
111
|
+
return e.createElement(t, "EndEvent");
|
|
112
|
+
},
|
|
113
|
+
mousedown: function(t) {
|
|
114
|
+
return e.createElement(t, "EndEvent");
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
}, [e._v(" 结束 ")])]), n("ElCollapseItem", {
|
|
118
|
+
attrs: {
|
|
119
|
+
title: "工具",
|
|
120
|
+
name: "5"
|
|
121
|
+
}
|
|
122
|
+
}, [n("div", {
|
|
123
|
+
staticClass: "custom-button",
|
|
124
|
+
on: {
|
|
125
|
+
click: function(t) {
|
|
126
|
+
return e.startTool(t, "handTool");
|
|
127
|
+
},
|
|
128
|
+
mousedown: function(t) {
|
|
129
|
+
return e.startTool(t, "handTool");
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
}, [e._v(" 手型工具 ")]), n("div", {
|
|
133
|
+
staticClass: "custom-button",
|
|
134
|
+
on: {
|
|
135
|
+
click: function(t) {
|
|
136
|
+
return e.startTool(t, "lassoTool");
|
|
137
|
+
},
|
|
138
|
+
mousedown: function(t) {
|
|
139
|
+
return e.startTool(t, "lassoTool");
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
}, [e._v(" 框选工具 ")]), n("div", {
|
|
143
|
+
staticClass: "custom-button",
|
|
144
|
+
on: {
|
|
145
|
+
click: function(t) {
|
|
146
|
+
return e.startTool(t, "connectTool");
|
|
147
|
+
},
|
|
148
|
+
mousedown: function(t) {
|
|
149
|
+
return e.startTool(t, "connectTool");
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}, [e._v(" 连线工具 ")])])], 1)], 1);
|
|
153
|
+
}, u = [];
|
|
154
|
+
const m = {
|
|
155
|
+
name: "ProcessPalette",
|
|
156
|
+
data() {
|
|
157
|
+
return {};
|
|
158
|
+
},
|
|
159
|
+
mounted() {
|
|
160
|
+
},
|
|
161
|
+
methods: {
|
|
162
|
+
createElement(e, o, n = {}) {
|
|
163
|
+
const t = window.bpmnInstances.elementFactory, a = window.bpmnInstances.modeler.get("create"), s = t.createShape(r({ type: `bpmn:${o}` }, n));
|
|
164
|
+
n && (s.businessObject.di.isExpanded = n.isExpanded), a.start(e, s);
|
|
165
|
+
},
|
|
166
|
+
startTool(e, o) {
|
|
167
|
+
o === "handTool" && window.bpmnInstances.modeler.get("handTool").activateHand(e), o === "lassoTool" && window.bpmnInstances.modeler.get("lassoTool").activateSelection(e), o === "connectTool" && window.bpmnInstances.modeler.get("globalConnect").toggle(e);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
}, c = {};
|
|
171
|
+
var d = /* @__PURE__ */ l(
|
|
172
|
+
m,
|
|
173
|
+
i,
|
|
174
|
+
u,
|
|
175
|
+
!1,
|
|
176
|
+
v,
|
|
177
|
+
null,
|
|
178
|
+
null,
|
|
179
|
+
null
|
|
180
|
+
);
|
|
181
|
+
function v(e) {
|
|
182
|
+
for (let o in c)
|
|
183
|
+
this[o] = c[o];
|
|
184
|
+
}
|
|
185
|
+
const E = /* @__PURE__ */ function() {
|
|
186
|
+
return d.exports;
|
|
187
|
+
}();
|
|
188
|
+
export {
|
|
189
|
+
E as default
|
|
190
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.my-process-palette{box-sizing:border-box;padding:8px}.my-process-palette .custom-button{box-sizing:border-box;margin-bottom:8px;padding:4px 8px;border:1px solid rgba(24,144,255,.8);border-radius:4px;cursor:pointer}.my-process-palette .custom-button:first-child{margin-top:8px}
|
package/record-video/index.mjs
CHANGED
package/search/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as n } from "../chunks/init.
|
|
1
|
+
import { a as i } from "../chunks/util.d691afb6.mjs";
|
|
2
|
+
import { i as n } from "../chunks/init.27f6a0c4.mjs";
|
|
3
3
|
import { isBlank as o } from "@web-utils/core";
|
|
4
4
|
import { n as l } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
5
5
|
var h = function() {
|
package/search-popover/index.mjs
CHANGED
|
@@ -16,7 +16,7 @@ var c = (t, r, e) => new Promise((s, o) => {
|
|
|
16
16
|
});
|
|
17
17
|
import { copy as d, isInContainer as p } from "@web-utils/core";
|
|
18
18
|
import v from "element-ui/lib/utils/clickoutside";
|
|
19
|
-
import { z as f } from "../chunks/util.
|
|
19
|
+
import { z as f } from "../chunks/util.d691afb6.mjs";
|
|
20
20
|
import { n as m } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
21
21
|
var w = function() {
|
|
22
22
|
var t = this, r = t.$createElement, e = t._self._c || r;
|
package/sign/index.mjs
CHANGED
package/split-pane/index.mjs
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var f = (t, e, s) => new Promise((n, i) => {
|
|
2
|
+
var o = (r) => {
|
|
3
3
|
try {
|
|
4
4
|
a(s.next(r));
|
|
5
|
-
} catch (
|
|
6
|
-
i(
|
|
5
|
+
} catch (l) {
|
|
6
|
+
i(l);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, g = (r) => {
|
|
9
9
|
try {
|
|
10
10
|
a(s.throw(r));
|
|
11
|
-
} catch (
|
|
12
|
-
i(
|
|
11
|
+
} catch (l) {
|
|
12
|
+
i(l);
|
|
13
13
|
}
|
|
14
|
-
}, a = (r) => r.done ?
|
|
14
|
+
}, a = (r) => r.done ? n(r.value) : Promise.resolve(r.value).then(o, g);
|
|
15
15
|
a((s = s.apply(t, e)).next());
|
|
16
16
|
});
|
|
17
|
-
import { n as
|
|
18
|
-
function
|
|
17
|
+
import { n as d } from "../chunks/vueComponentNormalizer.446f5dc4.mjs";
|
|
18
|
+
function v(t, e) {
|
|
19
19
|
for (let s = 0; s < e.length; s++)
|
|
20
20
|
if (t === e[s])
|
|
21
21
|
return !0;
|
|
22
22
|
return !1;
|
|
23
23
|
}
|
|
24
|
-
const
|
|
24
|
+
const h = function() {
|
|
25
25
|
return document.addEventListener ? function(t, e, s) {
|
|
26
26
|
t && e && s && t.addEventListener(e, s, !1);
|
|
27
27
|
} : function(t, e, s) {
|
|
28
28
|
t && e && s && t.attachEvent(`on${e}`, s);
|
|
29
29
|
};
|
|
30
|
-
}(),
|
|
30
|
+
}(), u = function() {
|
|
31
31
|
return document.removeEventListener ? function(t, e, s) {
|
|
32
32
|
t && e && t.removeEventListener(e, s, !1);
|
|
33
33
|
} : function(t, e, s) {
|
|
@@ -35,6 +35,73 @@ const l = function() {
|
|
|
35
35
|
};
|
|
36
36
|
}();
|
|
37
37
|
var m = function() {
|
|
38
|
+
var t = this, e = t.$createElement, s = t._self._c || e;
|
|
39
|
+
return s("div", {
|
|
40
|
+
class: t.classes
|
|
41
|
+
}, [t.showIcon ? s("div", {
|
|
42
|
+
class: t.barConClasses
|
|
43
|
+
}, t._m(0), 0) : t._e()]);
|
|
44
|
+
}, x = [function() {
|
|
45
|
+
var t = this, e = t.$createElement, s = t._self._c || e;
|
|
46
|
+
return t._l(8, function(n) {
|
|
47
|
+
return s("i", {
|
|
48
|
+
key: `trigger-${n}`,
|
|
49
|
+
class: `${t.prefix}-bar`
|
|
50
|
+
});
|
|
51
|
+
});
|
|
52
|
+
}];
|
|
53
|
+
const _ = {
|
|
54
|
+
name: "Trigger",
|
|
55
|
+
props: {
|
|
56
|
+
mode: String,
|
|
57
|
+
showIcon: Boolean,
|
|
58
|
+
line: {
|
|
59
|
+
type: Boolean,
|
|
60
|
+
default: !0
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
data() {
|
|
64
|
+
return {
|
|
65
|
+
prefix: "egd-split-trigger"
|
|
66
|
+
};
|
|
67
|
+
},
|
|
68
|
+
computed: {
|
|
69
|
+
isVertical() {
|
|
70
|
+
return this.mode === "vertical";
|
|
71
|
+
},
|
|
72
|
+
classes() {
|
|
73
|
+
return [
|
|
74
|
+
this.prefix,
|
|
75
|
+
this.line ? this.isVertical ? ` ${this.prefix}-vertical-line` : `${this.prefix}-horizontal-line` : "",
|
|
76
|
+
this.isVertical ? `${this.prefix}-vertical` : `${this.prefix}-horizontal`
|
|
77
|
+
];
|
|
78
|
+
},
|
|
79
|
+
barConClasses() {
|
|
80
|
+
return [
|
|
81
|
+
`${this.prefix}-bar-con`,
|
|
82
|
+
this.isVertical ? "vertical" : "horizontal"
|
|
83
|
+
];
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}, p = {};
|
|
87
|
+
var $ = /* @__PURE__ */ d(
|
|
88
|
+
_,
|
|
89
|
+
m,
|
|
90
|
+
x,
|
|
91
|
+
!1,
|
|
92
|
+
M,
|
|
93
|
+
null,
|
|
94
|
+
null,
|
|
95
|
+
null
|
|
96
|
+
);
|
|
97
|
+
function M(t) {
|
|
98
|
+
for (let e in p)
|
|
99
|
+
this[e] = p[e];
|
|
100
|
+
}
|
|
101
|
+
const z = /* @__PURE__ */ function() {
|
|
102
|
+
return $.exports;
|
|
103
|
+
}();
|
|
104
|
+
var O = function() {
|
|
38
105
|
var t = this, e = t.$createElement, s = t._self._c || e;
|
|
39
106
|
return s("div", {
|
|
40
107
|
ref: "outerWrapper",
|
|
@@ -103,9 +170,12 @@ var m = function() {
|
|
|
103
170
|
notify: t.resetOffset
|
|
104
171
|
}
|
|
105
172
|
})], 1);
|
|
106
|
-
},
|
|
107
|
-
const
|
|
173
|
+
}, S = [];
|
|
174
|
+
const w = {
|
|
108
175
|
name: "SplitPane",
|
|
176
|
+
components: {
|
|
177
|
+
Trigger: z
|
|
178
|
+
},
|
|
109
179
|
props: {
|
|
110
180
|
value: {
|
|
111
181
|
type: [Number, String],
|
|
@@ -113,7 +183,7 @@ const v = {
|
|
|
113
183
|
},
|
|
114
184
|
mode: {
|
|
115
185
|
validator(t) {
|
|
116
|
-
return
|
|
186
|
+
return v(t, ["horizontal", "vertical"]);
|
|
117
187
|
},
|
|
118
188
|
default: "horizontal"
|
|
119
189
|
},
|
|
@@ -172,7 +242,7 @@ const v = {
|
|
|
172
242
|
value: "resetOffset"
|
|
173
243
|
},
|
|
174
244
|
mounted() {
|
|
175
|
-
return
|
|
245
|
+
return f(this, null, function* () {
|
|
176
246
|
yield this.$nextTick(), this.resetOffset();
|
|
177
247
|
});
|
|
178
248
|
},
|
|
@@ -198,36 +268,36 @@ const v = {
|
|
|
198
268
|
return this.valueIsPx ? e = `${this.$refs.outerWrapper[this.offsetSize] - parseFloat(t)}px` : e = 1 - t, e;
|
|
199
269
|
},
|
|
200
270
|
handleMove(t) {
|
|
201
|
-
const s = (this.isHorizontal ? t.pageX : t.pageY) - this.initOffset,
|
|
202
|
-
let i = this.valueIsPx ? `${parseFloat(this.oldOffset) + s}px` : this.px2percent(
|
|
203
|
-
const
|
|
204
|
-
parseFloat(i) <= parseFloat(this.computedMin) && (i = this.getMax(i, this.computedMin)), parseFloat(
|
|
271
|
+
const s = (this.isHorizontal ? t.pageX : t.pageY) - this.initOffset, n = this.$refs.outerWrapper[this.offsetSize];
|
|
272
|
+
let i = this.valueIsPx ? `${parseFloat(this.oldOffset) + s}px` : this.px2percent(n * this.oldOffset + s, n);
|
|
273
|
+
const o = this.getAnotherOffset(i);
|
|
274
|
+
parseFloat(i) <= parseFloat(this.computedMin) && (i = this.getMax(i, this.computedMin)), parseFloat(o) <= parseFloat(this.computedMax) && (i = this.getAnotherOffset(this.getMax(o, this.computedMax))), t.atMin = this.value === this.computedMin, t.atMax = this.valueIsPx ? this.getAnotherOffset(this.value) === this.computedMax : this.getAnotherOffset(this.value).toFixed(5) === this.computedMax.toFixed(5), this.$emit("input", i), this.$emit("on-moving", t);
|
|
205
275
|
},
|
|
206
276
|
handleUp() {
|
|
207
|
-
this.isMoving = !1,
|
|
277
|
+
this.isMoving = !1, u(window, "mousemove", this.handleMove), u(window, "mouseup", this.handleUp), this.$emit("on-move-end");
|
|
208
278
|
},
|
|
209
279
|
handleMousedown(t) {
|
|
210
|
-
this.initOffset = this.isHorizontal ? t.pageX : t.pageY, this.oldOffset = this.value, this.isMoving = !0,
|
|
280
|
+
this.initOffset = this.isHorizontal ? t.pageX : t.pageY, this.oldOffset = this.value, this.isMoving = !0, h(window, "mousemove", this.handleMove), h(window, "mouseup", this.handleUp), this.$emit("on-move-start");
|
|
211
281
|
}
|
|
212
282
|
}
|
|
213
|
-
},
|
|
214
|
-
var
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
283
|
+
}, c = {};
|
|
284
|
+
var y = /* @__PURE__ */ d(
|
|
285
|
+
w,
|
|
286
|
+
O,
|
|
287
|
+
S,
|
|
218
288
|
!1,
|
|
219
|
-
|
|
289
|
+
F,
|
|
220
290
|
null,
|
|
221
291
|
null,
|
|
222
292
|
null
|
|
223
293
|
);
|
|
224
|
-
function
|
|
225
|
-
for (let e in
|
|
226
|
-
this[e] =
|
|
294
|
+
function F(t) {
|
|
295
|
+
for (let e in c)
|
|
296
|
+
this[e] = c[e];
|
|
227
297
|
}
|
|
228
|
-
const
|
|
229
|
-
return
|
|
298
|
+
const C = /* @__PURE__ */ function() {
|
|
299
|
+
return y.exports;
|
|
230
300
|
}();
|
|
231
301
|
export {
|
|
232
|
-
|
|
302
|
+
C as default
|
|
233
303
|
};
|
package/text-ellipsis/index.mjs
CHANGED