@web-utils/component 2.7.29 → 2.7.30
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/dist/components/dialog-form/index.js +2 -81
- package/dist/components/{dialog-form → fy-dialog-form}/style.css +0 -0
- package/dist/components/image-cropper/index.js +2 -111
- package/dist/components/image-preview/index.js +2 -125
- package/dist/index.es.js +7 -61
- package/package.json +1 -1
- package/web-types.json +1 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { isEmpty } from "@web-utils/core";
|
|
2
2
|
import { d as deepClone } from "../../chunks/util.89913643.js";
|
|
3
|
-
import Vue from "vue";
|
|
4
3
|
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.77ec6792.js";
|
|
5
4
|
var render = function() {
|
|
6
5
|
var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
|
|
@@ -63,87 +62,9 @@ var render = function() {
|
|
|
63
62
|
}
|
|
64
63
|
}, [_vm._v(_vm._s(_vm.option.emptyText))]) : _vm._e()], 1) : _vm._e()], 1);
|
|
65
64
|
}, staticRenderFns = [];
|
|
66
|
-
const __vue2_script
|
|
65
|
+
const __vue2_script = {
|
|
67
66
|
name: "DialogForm",
|
|
68
|
-
showForm,
|
|
69
|
-
data() {
|
|
70
|
-
return {
|
|
71
|
-
opt: {},
|
|
72
|
-
disabled: !1,
|
|
73
|
-
callback: null,
|
|
74
|
-
visible: !1,
|
|
75
|
-
dialog: {
|
|
76
|
-
closeOnClickModal: !1
|
|
77
|
-
},
|
|
78
|
-
isDrawer: !1,
|
|
79
|
-
option: {
|
|
80
|
-
submitText: "提交",
|
|
81
|
-
emptyText: "关闭",
|
|
82
|
-
submitIcon: "el-icon-check",
|
|
83
|
-
emptyIcon: "el-icon-close",
|
|
84
|
-
column: []
|
|
85
|
-
},
|
|
86
|
-
data: {}
|
|
87
|
-
};
|
|
88
|
-
},
|
|
89
|
-
computed: {
|
|
90
|
-
dialogType() {
|
|
91
|
-
return this.isDrawer ? "ElDrawer" : "ElementDialog";
|
|
92
|
-
},
|
|
93
|
-
menuPosition() {
|
|
94
|
-
return this.opt.menuPosition || "center";
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
methods: {
|
|
98
|
-
isEmpty,
|
|
99
|
-
deepClone,
|
|
100
|
-
submit() {
|
|
101
|
-
this.$refs.form.submit();
|
|
102
|
-
},
|
|
103
|
-
reset() {
|
|
104
|
-
this.$refs.form.resetForm();
|
|
105
|
-
},
|
|
106
|
-
beforeClose(done) {
|
|
107
|
-
done(), this.close();
|
|
108
|
-
},
|
|
109
|
-
show(opt) {
|
|
110
|
-
this.opt = opt, this.callback = opt.callback;
|
|
111
|
-
const dialog = this.deepClone(opt);
|
|
112
|
-
["callback", "option", "data"].forEach((ele) => delete dialog[ele]), this.dialog = Object.assign(this.dialog, dialog), this.dialog.size = this.dialog.width, this.isDrawer = this.dialog.type === "drawer", this.option = Object.assign(this.option, opt.option), this.data = opt.data, this.visible = !0;
|
|
113
|
-
},
|
|
114
|
-
close() {
|
|
115
|
-
const callback = () => {
|
|
116
|
-
this.visible = !1, this.$destroy(), this.$el.remove();
|
|
117
|
-
};
|
|
118
|
-
typeof this.dialog.beforeClose == "function" ? this.dialog.beforeClose(callback) : callback();
|
|
119
|
-
},
|
|
120
|
-
handleSubmit(data, done) {
|
|
121
|
-
this.callback && this.callback({ data, close: this.close, done });
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
}, __cssModules$1 = {};
|
|
125
|
-
var __component__$1 = /* @__PURE__ */ normalizeComponent(
|
|
126
|
-
__vue2_script$1,
|
|
127
|
-
render,
|
|
128
|
-
staticRenderFns,
|
|
129
|
-
!1,
|
|
130
|
-
__vue2_injectStyles$1,
|
|
131
|
-
null,
|
|
132
|
-
null,
|
|
133
|
-
null
|
|
134
|
-
);
|
|
135
|
-
function __vue2_injectStyles$1(context) {
|
|
136
|
-
for (let o in __cssModules$1)
|
|
137
|
-
this[o] = __cssModules$1[o];
|
|
138
|
-
}
|
|
139
|
-
const DialogFormConstructor = /* @__PURE__ */ function() {
|
|
140
|
-
return __component__$1.exports;
|
|
141
|
-
}(), showForm = (opt) => {
|
|
142
|
-
const DialogConstructor = Vue.extend(DialogFormConstructor), instance = new DialogConstructor().$mount();
|
|
143
|
-
return document.body.appendChild(instance.$el), instance.show(opt), instance;
|
|
144
|
-
}, __vue2_script = {
|
|
145
|
-
name: "DialogForm",
|
|
146
|
-
showForm,
|
|
67
|
+
// showForm,
|
|
147
68
|
data() {
|
|
148
69
|
return {
|
|
149
70
|
opt: {},
|
|
File without changes
|
|
@@ -1,18 +1,6 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty, __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: !0, configurable: !0, writable: !0, value }) : obj[key] = value, __spreadValues = (a, b) => {
|
|
5
|
-
for (var prop in b || (b = {}))
|
|
6
|
-
__hasOwnProp.call(b, prop) && __defNormalProp(a, prop, b[prop]);
|
|
7
|
-
if (__getOwnPropSymbols)
|
|
8
|
-
for (var prop of __getOwnPropSymbols(b))
|
|
9
|
-
__propIsEnum.call(b, prop) && __defNormalProp(a, prop, b[prop]);
|
|
10
|
-
return a;
|
|
11
|
-
};
|
|
12
1
|
import { z as dataURLtoFile } from "../../chunks/util.89913643.js";
|
|
13
2
|
import { VueCropper } from "vue-cropper";
|
|
14
3
|
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.77ec6792.js";
|
|
15
|
-
import Vue from "vue";
|
|
16
4
|
var render = function() {
|
|
17
5
|
var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
|
|
18
6
|
return _c("ElementDialog", {
|
|
@@ -145,106 +133,9 @@ var render = function() {
|
|
|
145
133
|
}
|
|
146
134
|
})])])])]);
|
|
147
135
|
}, staticRenderFns = [];
|
|
148
|
-
const __vue2_script
|
|
149
|
-
name: "ImageCropper",
|
|
150
|
-
imageCropper,
|
|
151
|
-
components: {
|
|
152
|
-
VueCropper
|
|
153
|
-
},
|
|
154
|
-
data() {
|
|
155
|
-
return {
|
|
156
|
-
visible: !1,
|
|
157
|
-
previews: {},
|
|
158
|
-
option: {}
|
|
159
|
-
};
|
|
160
|
-
},
|
|
161
|
-
methods: {
|
|
162
|
-
show() {
|
|
163
|
-
this.visible = !0;
|
|
164
|
-
},
|
|
165
|
-
// 图片缩放
|
|
166
|
-
changeScale(num) {
|
|
167
|
-
num = num || 1, this.$refs.cropper.changeScale(num);
|
|
168
|
-
},
|
|
169
|
-
// 向左旋转
|
|
170
|
-
rotateLeft() {
|
|
171
|
-
this.$refs.cropper.rotateLeft();
|
|
172
|
-
},
|
|
173
|
-
// 向右旋转
|
|
174
|
-
rotateRight() {
|
|
175
|
-
this.$refs.cropper.rotateRight();
|
|
176
|
-
},
|
|
177
|
-
// 实时预览函数
|
|
178
|
-
realTime(data) {
|
|
179
|
-
this.previews = data;
|
|
180
|
-
},
|
|
181
|
-
submit() {
|
|
182
|
-
this.visible = !1, this.$refs.cropper.getCropData((data) => {
|
|
183
|
-
let result = data;
|
|
184
|
-
this.option.type === "file" && (result = dataURLtoFile(data, `${new Date().getTime()}.${this.option.outputType}`)), this.option.callback && this.option.callback(result);
|
|
185
|
-
});
|
|
186
|
-
},
|
|
187
|
-
cancel(done) {
|
|
188
|
-
done && done(), this.visible = !1, this.option.cancel && this.option.cancel(), typeof this.option.beforeClose == "function" && this.option.beforeClose(), this.$destroy(), this.$el.remove();
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
}, __cssModules$1 = {};
|
|
192
|
-
var __component__$1 = /* @__PURE__ */ normalizeComponent(
|
|
193
|
-
__vue2_script$1,
|
|
194
|
-
render,
|
|
195
|
-
staticRenderFns,
|
|
196
|
-
!1,
|
|
197
|
-
__vue2_injectStyles$1,
|
|
198
|
-
null,
|
|
199
|
-
null,
|
|
200
|
-
null
|
|
201
|
-
);
|
|
202
|
-
function __vue2_injectStyles$1(context) {
|
|
203
|
-
for (let o in __cssModules$1)
|
|
204
|
-
this[o] = __cssModules$1[o];
|
|
205
|
-
}
|
|
206
|
-
const ImageCropper$1 = /* @__PURE__ */ function() {
|
|
207
|
-
return __component__$1.exports;
|
|
208
|
-
}(), imageCropper = (ops = {}) => {
|
|
209
|
-
const ImageCropperConstructor = Vue.extend(ImageCropper$1), option = __spreadValues({
|
|
210
|
-
outputSize: 1,
|
|
211
|
-
// 裁剪生成图片的质量(可选0.1 - 1)
|
|
212
|
-
outputType: "jpeg",
|
|
213
|
-
// 裁剪生成图片的格式(jpeg || png || webp)
|
|
214
|
-
info: !0,
|
|
215
|
-
// 图片大小信息
|
|
216
|
-
canScale: !0,
|
|
217
|
-
// 图片是否允许滚轮缩放
|
|
218
|
-
autoCrop: !0,
|
|
219
|
-
// 是否默认生成截图框
|
|
220
|
-
fixed: !1,
|
|
221
|
-
// 是否开启截图框宽高固定比例
|
|
222
|
-
full: !1,
|
|
223
|
-
// false按原比例裁切图片,不失真
|
|
224
|
-
fixedBox: !1,
|
|
225
|
-
// 固定截图框大小,不允许改变
|
|
226
|
-
canMove: !0,
|
|
227
|
-
// 上传图片是否可以移动
|
|
228
|
-
canMoveBox: !0,
|
|
229
|
-
// 截图框能否拖动
|
|
230
|
-
original: !1,
|
|
231
|
-
// 上传图片按照原始比例渲染
|
|
232
|
-
centerBox: !1,
|
|
233
|
-
// 截图框是否被限制在图片里面
|
|
234
|
-
height: !0,
|
|
235
|
-
// 是否按照设备的dpr 输出等比例图片
|
|
236
|
-
infoTrue: !1,
|
|
237
|
-
// true为展示真实输出图片宽高,false展示看到的截图框宽高
|
|
238
|
-
enlarge: 1
|
|
239
|
-
}, ops), instance = new ImageCropperConstructor({
|
|
240
|
-
data: {
|
|
241
|
-
option
|
|
242
|
-
}
|
|
243
|
-
}).$mount();
|
|
244
|
-
return document.body.appendChild(instance.$el), instance.show(), instance;
|
|
245
|
-
}, __vue2_script = {
|
|
136
|
+
const __vue2_script = {
|
|
246
137
|
name: "ImageCropper",
|
|
247
|
-
imageCropper,
|
|
138
|
+
// imageCropper,
|
|
248
139
|
components: {
|
|
249
140
|
VueCropper
|
|
250
141
|
},
|
|
@@ -1,18 +1,6 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
3
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty, __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
4
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: !0, configurable: !0, writable: !0, value }) : obj[key] = value, __spreadValues = (a, b) => {
|
|
5
|
-
for (var prop in b || (b = {}))
|
|
6
|
-
__hasOwnProp.call(b, prop) && __defNormalProp(a, prop, b[prop]);
|
|
7
|
-
if (__getOwnPropSymbols)
|
|
8
|
-
for (var prop of __getOwnPropSymbols(b))
|
|
9
|
-
__propIsEnum.call(b, prop) && __defNormalProp(a, prop, b[prop]);
|
|
10
|
-
return a;
|
|
11
|
-
};
|
|
12
1
|
import { i as isMediaType } from "../../chunks/util.89913643.js";
|
|
13
2
|
import { setPx } from "@web-utils/core";
|
|
14
3
|
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.77ec6792.js";
|
|
15
|
-
import Vue from "vue";
|
|
16
4
|
var render = function() {
|
|
17
5
|
var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
|
|
18
6
|
return _vm.isShow ? _c("div", {
|
|
@@ -142,120 +130,9 @@ var render = function() {
|
|
|
142
130
|
}
|
|
143
131
|
})])])]) : _vm._e();
|
|
144
132
|
}, staticRenderFns = [];
|
|
145
|
-
const __vue2_script
|
|
146
|
-
name: "ImagePreview",
|
|
147
|
-
imagePreview,
|
|
148
|
-
data() {
|
|
149
|
-
return {
|
|
150
|
-
left: 0,
|
|
151
|
-
top: 0,
|
|
152
|
-
scale: 1,
|
|
153
|
-
datas: [],
|
|
154
|
-
rotate: 0,
|
|
155
|
-
isShow: !1,
|
|
156
|
-
index: 0,
|
|
157
|
-
ops: {}
|
|
158
|
-
};
|
|
159
|
-
},
|
|
160
|
-
computed: {
|
|
161
|
-
styleBoxName() {
|
|
162
|
-
return {
|
|
163
|
-
marginLeft: setPx(this.left),
|
|
164
|
-
marginTop: setPx(this.top)
|
|
165
|
-
};
|
|
166
|
-
},
|
|
167
|
-
styleName() {
|
|
168
|
-
return {
|
|
169
|
-
transform: `scale(${this.scale}) rotate(${this.rotate}deg)`,
|
|
170
|
-
maxWidth: "100%",
|
|
171
|
-
maxHeight: "100%"
|
|
172
|
-
};
|
|
173
|
-
},
|
|
174
|
-
isRrrow() {
|
|
175
|
-
return this.datas.length > 1;
|
|
176
|
-
}
|
|
177
|
-
},
|
|
178
|
-
methods: {
|
|
179
|
-
getName(url) {
|
|
180
|
-
return url.substring(url.lastIndexOf("/") + 1);
|
|
181
|
-
},
|
|
182
|
-
handlePrint() {
|
|
183
|
-
this.$Print(`#avue-image-preview__${this.index}`);
|
|
184
|
-
},
|
|
185
|
-
handlePrev() {
|
|
186
|
-
this.$refs.carousel.prev(), this.index = this.$refs.carousel.activeIndex, this.stopItem();
|
|
187
|
-
},
|
|
188
|
-
handleNext() {
|
|
189
|
-
this.$refs.carousel.next(), this.index = this.$refs.carousel.activeIndex, this.stopItem();
|
|
190
|
-
},
|
|
191
|
-
stopItem() {
|
|
192
|
-
this.left = 0, this.top = 0, this.$refs.item.forEach((ele) => {
|
|
193
|
-
ele.pause && ele.pause();
|
|
194
|
-
});
|
|
195
|
-
},
|
|
196
|
-
isMediaType(item) {
|
|
197
|
-
return isMediaType(item.url, item.type);
|
|
198
|
-
},
|
|
199
|
-
subScale() {
|
|
200
|
-
this.scale !== 0.2 && (this.scale = parseFloat((this.scale - 0.2).toFixed(2)));
|
|
201
|
-
},
|
|
202
|
-
addScale() {
|
|
203
|
-
this.scale = parseFloat((this.scale + 0.2).toFixed(2));
|
|
204
|
-
},
|
|
205
|
-
handleChange() {
|
|
206
|
-
this.scale = 1, this.rotate = 0;
|
|
207
|
-
},
|
|
208
|
-
move(e) {
|
|
209
|
-
let disX = e.clientX, disY = e.clientY;
|
|
210
|
-
const scale = 2;
|
|
211
|
-
document.onmousemove = (e2) => {
|
|
212
|
-
const left = e2.clientX - disX, top = e2.clientY - disY;
|
|
213
|
-
disX = e2.clientX, disY = e2.clientY, this.left = this.left + left * scale, this.top = this.top + top * scale;
|
|
214
|
-
}, document.onmouseup = () => {
|
|
215
|
-
document.onmousemove = null, document.onmouseup = null;
|
|
216
|
-
};
|
|
217
|
-
},
|
|
218
|
-
handleClick(item, index, df = !1) {
|
|
219
|
-
typeof this.ops.click == "function" ? this.ops.click(item, index) : df && window.open(item.url);
|
|
220
|
-
},
|
|
221
|
-
close() {
|
|
222
|
-
this.isShow = !1, typeof this.ops.beforeClose == "function" && this.ops.beforeClose(this.datas, this.index), this.$destroy(), this.$el.remove();
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
}, __cssModules$1 = {};
|
|
226
|
-
var __component__$1 = /* @__PURE__ */ normalizeComponent(
|
|
227
|
-
__vue2_script$1,
|
|
228
|
-
render,
|
|
229
|
-
staticRenderFns,
|
|
230
|
-
!1,
|
|
231
|
-
__vue2_injectStyles$1,
|
|
232
|
-
null,
|
|
233
|
-
null,
|
|
234
|
-
null
|
|
235
|
-
);
|
|
236
|
-
function __vue2_injectStyles$1(context) {
|
|
237
|
-
for (let o in __cssModules$1)
|
|
238
|
-
this[o] = __cssModules$1[o];
|
|
239
|
-
}
|
|
240
|
-
const ImagePreview$1 = /* @__PURE__ */ function() {
|
|
241
|
-
return __component__$1.exports;
|
|
242
|
-
}(), imagePreview = (datas = [], index = 0, ops = {}) => {
|
|
243
|
-
const ImagePreviewConstructor = Vue.extend(ImagePreview$1), options = {
|
|
244
|
-
datas,
|
|
245
|
-
index,
|
|
246
|
-
ops: __spreadValues({
|
|
247
|
-
closeOnClickModal: !1,
|
|
248
|
-
beforeClose: null,
|
|
249
|
-
click: null,
|
|
250
|
-
modal: !0
|
|
251
|
-
}, ops)
|
|
252
|
-
}, instance = new ImagePreviewConstructor({
|
|
253
|
-
data: options
|
|
254
|
-
}).$mount();
|
|
255
|
-
return document.body.appendChild(instance.$el), instance.isShow = !0, instance;
|
|
256
|
-
}, __vue2_script = {
|
|
133
|
+
const __vue2_script = {
|
|
257
134
|
name: "ImagePreview",
|
|
258
|
-
imagePreview,
|
|
135
|
+
// imagePreview,
|
|
259
136
|
data() {
|
|
260
137
|
return {
|
|
261
138
|
left: 0,
|
package/dist/index.es.js
CHANGED
|
@@ -6631,10 +6631,7 @@ function __vue2_injectStyles$2H(context) {
|
|
|
6631
6631
|
}
|
|
6632
6632
|
const DialogFilter = /* @__PURE__ */ function() {
|
|
6633
6633
|
return __component__$2H.exports;
|
|
6634
|
-
}()
|
|
6635
|
-
const DialogConstructor = Vue.extend(DialogForm), instance = new DialogConstructor().$mount();
|
|
6636
|
-
return document.body.appendChild(instance.$el), instance.show(opt), instance;
|
|
6637
|
-
};
|
|
6634
|
+
}();
|
|
6638
6635
|
var render$2u = function() {
|
|
6639
6636
|
var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
|
|
6640
6637
|
return _c(_vm.dialogType, _vm._b({
|
|
@@ -6698,7 +6695,7 @@ var render$2u = function() {
|
|
|
6698
6695
|
}, staticRenderFns$2u = [];
|
|
6699
6696
|
const DialogForm_vue_vue_type_style_index_0_lang = "", __vue2_script$2G = {
|
|
6700
6697
|
name: "DialogForm",
|
|
6701
|
-
showForm,
|
|
6698
|
+
// showForm,
|
|
6702
6699
|
data() {
|
|
6703
6700
|
return {
|
|
6704
6701
|
opt: {},
|
|
@@ -28058,44 +28055,7 @@ function __vue2_injectStyles$11(context) {
|
|
|
28058
28055
|
}
|
|
28059
28056
|
const IframeWindow = /* @__PURE__ */ function() {
|
|
28060
28057
|
return __component__$11.exports;
|
|
28061
|
-
}()
|
|
28062
|
-
const ImageCropperConstructor = Vue.extend(ImageCropper), option = __spreadValues({
|
|
28063
|
-
outputSize: 1,
|
|
28064
|
-
// 裁剪生成图片的质量(可选0.1 - 1)
|
|
28065
|
-
outputType: "jpeg",
|
|
28066
|
-
// 裁剪生成图片的格式(jpeg || png || webp)
|
|
28067
|
-
info: !0,
|
|
28068
|
-
// 图片大小信息
|
|
28069
|
-
canScale: !0,
|
|
28070
|
-
// 图片是否允许滚轮缩放
|
|
28071
|
-
autoCrop: !0,
|
|
28072
|
-
// 是否默认生成截图框
|
|
28073
|
-
fixed: !1,
|
|
28074
|
-
// 是否开启截图框宽高固定比例
|
|
28075
|
-
full: !1,
|
|
28076
|
-
// false按原比例裁切图片,不失真
|
|
28077
|
-
fixedBox: !1,
|
|
28078
|
-
// 固定截图框大小,不允许改变
|
|
28079
|
-
canMove: !0,
|
|
28080
|
-
// 上传图片是否可以移动
|
|
28081
|
-
canMoveBox: !0,
|
|
28082
|
-
// 截图框能否拖动
|
|
28083
|
-
original: !1,
|
|
28084
|
-
// 上传图片按照原始比例渲染
|
|
28085
|
-
centerBox: !1,
|
|
28086
|
-
// 截图框是否被限制在图片里面
|
|
28087
|
-
height: !0,
|
|
28088
|
-
// 是否按照设备的dpr 输出等比例图片
|
|
28089
|
-
infoTrue: !1,
|
|
28090
|
-
// true为展示真实输出图片宽高,false展示看到的截图框宽高
|
|
28091
|
-
enlarge: 1
|
|
28092
|
-
}, ops), instance = new ImageCropperConstructor({
|
|
28093
|
-
data: {
|
|
28094
|
-
option
|
|
28095
|
-
}
|
|
28096
|
-
}).$mount();
|
|
28097
|
-
return document.body.appendChild(instance.$el), instance.show(), instance;
|
|
28098
|
-
};
|
|
28058
|
+
}();
|
|
28099
28059
|
var render$X = function() {
|
|
28100
28060
|
var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
|
|
28101
28061
|
return _c("ElementDialog", {
|
|
@@ -28230,7 +28190,7 @@ var render$X = function() {
|
|
|
28230
28190
|
}, staticRenderFns$X = [];
|
|
28231
28191
|
const ImageCropper_vue_vue_type_style_index_0_lang = "", __vue2_script$10 = {
|
|
28232
28192
|
name: "ImageCropper",
|
|
28233
|
-
imageCropper,
|
|
28193
|
+
// imageCropper,
|
|
28234
28194
|
components: {
|
|
28235
28195
|
VueCropper
|
|
28236
28196
|
},
|
|
@@ -28288,21 +28248,7 @@ function __vue2_injectStyles$10(context) {
|
|
|
28288
28248
|
}
|
|
28289
28249
|
const ImageCropper = /* @__PURE__ */ function() {
|
|
28290
28250
|
return __component__$10.exports;
|
|
28291
|
-
}()
|
|
28292
|
-
const ImagePreviewConstructor = Vue.extend(ImagePreview), options2 = {
|
|
28293
|
-
datas,
|
|
28294
|
-
index: index2,
|
|
28295
|
-
ops: __spreadValues({
|
|
28296
|
-
closeOnClickModal: !1,
|
|
28297
|
-
beforeClose: null,
|
|
28298
|
-
click: null,
|
|
28299
|
-
modal: !0
|
|
28300
|
-
}, ops)
|
|
28301
|
-
}, instance = new ImagePreviewConstructor({
|
|
28302
|
-
data: options2
|
|
28303
|
-
}).$mount();
|
|
28304
|
-
return document.body.appendChild(instance.$el), instance.isShow = !0, instance;
|
|
28305
|
-
};
|
|
28251
|
+
}();
|
|
28306
28252
|
var render$W = function() {
|
|
28307
28253
|
var _vm = this, _h = _vm.$createElement, _c = _vm._self._c || _h;
|
|
28308
28254
|
return _vm.isShow ? _c("div", {
|
|
@@ -28434,7 +28380,7 @@ var render$W = function() {
|
|
|
28434
28380
|
}, staticRenderFns$W = [];
|
|
28435
28381
|
const ImagePreview_vue_vue_type_style_index_0_lang = "", __vue2_script$$ = {
|
|
28436
28382
|
name: "ImagePreview",
|
|
28437
|
-
imagePreview,
|
|
28383
|
+
// imagePreview,
|
|
28438
28384
|
data() {
|
|
28439
28385
|
return {
|
|
28440
28386
|
left: 0,
|
|
@@ -45695,7 +45641,7 @@ function __vue2_injectStyles(context) {
|
|
|
45695
45641
|
}
|
|
45696
45642
|
const Watermark = /* @__PURE__ */ function() {
|
|
45697
45643
|
return __component__.exports;
|
|
45698
|
-
}(), version = "2.7.
|
|
45644
|
+
}(), version = "2.7.30";
|
|
45699
45645
|
function index(Vue2) {
|
|
45700
45646
|
Vue2.component(AddressInput.name, AddressInput), Vue2.component(Affix.name, Affix), Vue2.component(AsideMenu.name, AsideMenu), Vue2.component(Avatar.name, Avatar), Vue2.component(AwesomeButton.name, AwesomeButton), Vue2.component(CapsuleTab.name, CapsuleTab), Vue2.component(Card.name, Card), Vue2.component(Carousel.name, Carousel), Vue2.component(Chat.name, Chat), Vue2.component(ChunkFileUploader.name, ChunkFileUploader), Vue2.component(ChunkFileUploaderButton.name, ChunkFileUploaderButton), Vue2.component(ChunkFileUploaderDrop.name, ChunkFileUploaderDrop), Vue2.component(ChunkFileUploaderFile.name, ChunkFileUploaderFile), Vue2.component(ChunkFileUploaderFiles.name, ChunkFileUploaderFiles), Vue2.component(ChunkFileUploaderList.name, ChunkFileUploaderList), Vue2.component(ChunkFileUploaderUnSupport.name, ChunkFileUploaderUnSupport), Vue2.component(CodeMirrorEditor.name, CodeMirrorEditor), Vue2.component(ColorPicker.name, ColorPicker), Vue2.component(Column.name, Column), Vue2.component(ColumnDefault.name, ColumnDefault), Vue2.component(ColumnDynamic.name, ColumnDynamic), Vue2.component(ColumnMenu.name, ColumnMenu), Vue2.component(ColumnSlot.name, ColumnSlot), Vue2.component(Comment.name, Comment), Vue2.component(Confirmable.name, Confirmable), Vue2.component(ConfirmButton.name, ConfirmButton), Vue2.component(ContextMenu.name, ContextMenu), Vue2.component(CountUp.name, CountUp), Vue2.component(CustomScrollbar.name, CustomScrollbar), Vue2.component(DataBox.name, DataBox), Vue2.component(DataCard.name, DataCard), Vue2.component(DataCardtext.name, DataCardtext), Vue2.component(DataDisplay.name, DataDisplay), Vue2.component(DataIcons.name, DataIcons), Vue2.component(DataImgtext.name, DataImgtext), Vue2.component(DataOperatext.name, DataOperatext), Vue2.component(DataPanel.name, DataPanel), Vue2.component(DataPay.name, DataPay), Vue2.component(DataPrice.name, DataPrice), Vue2.component(DataProgress.name, DataProgress), Vue2.component(DataRotate.name, DataRotate), Vue2.component(DataTablePicker.name, DataTablePicker), Vue2.component(DataTabs.name, DataTabs), Vue2.component(DialogColumn.name, DialogColumn), Vue2.component(DialogExcel.name, DialogExcel), Vue2.component(DialogFilter.name, DialogFilter), Vue2.component(DialogForm.name, DialogForm), Vue2.component(DynamicTable.name, DynamicTable), Vue2.component(EasyPopup.name, EasyPopup), Vue2.component(ECharts.name, ECharts), Vue2.component(EditableProgress.name, EditableProgress), Vue2.component(EditableTree.name, EditableTree), Vue2.component(EgdCollapse.name, EgdCollapse), Vue2.component(EgdCollapseItem.name, EgdCollapseItem), Vue2.component(ElementDialog.name, ElementDialog), Vue2.component(EmptyView.name, EmptyView), Vue2.component(ErrorView.name, ErrorView), Vue2.component(FlexColumn.name, FlexColumn), Vue2.component(FlexItem.name, FlexItem), Vue2.component(FlexRow.name, FlexRow), Vue2.component(FlexScroller.name, FlexScroller), Vue2.component(Flow.name, Flow), Vue2.component(FlowNode.name, FlowNode), Vue2.component(FlowViewer.name, FlowViewer), Vue2.component(FormButton.name, FormButton), Vue2.component(FormCascader.name, FormCascader), Vue2.component(FormCheckboxGroup.name, FormCheckboxGroup), Vue2.component(FormDatePicker.name, FormDatePicker), Vue2.component(FormGroup.name, FormGroup), Vue2.component(FormHolder.name, FormHolder), Vue2.component(FormInput.name, FormInput), Vue2.component(FormInputEmail.name, FormInputEmail), Vue2.component(FormInputIdCard.name, FormInputIdCard), Vue2.component(FormInputNumber.name, FormInputNumber), Vue2.component(FormInputPhoneNumber.name, FormInputPhoneNumber), Vue2.component(FormInputTime.name, FormInputTime), Vue2.component(FormItem.name, FormItem), Vue2.component(FormItemConfigProvider.name, FormItemConfigProvider), Vue2.component(FormItemGroup.name, FormItemGroup), Vue2.component(FormRadioGroup.name, FormRadioGroup), Vue2.component(FormSelect.name, FormSelect), Vue2.component(FormSwitch.name, FormSwitch), Vue2.component(FormTemp.name, FormTemp), Vue2.component(FormTextarea.name, FormTextarea), Vue2.component(FormView.name, FormView), Vue2.component(FyArray.name, FyArray), Vue2.component(FyArticle.name, FyArticle), Vue2.component(FyCascader.name, FyCascader), Vue2.component(FyCheckbox.name, FyCheckbox), Vue2.component(FyCode.name, FyCode), Vue2.component(FyCurd.name, FyCurd), Vue2.component(FyDate.name, FyDate), Vue2.component(FyDialogForm.name, FyDialogForm), Vue2.component(FyDraggable.name, FyDraggable), Vue2.component(FyDynamic.name, FyDynamic), Vue2.component(FyEmpty.name, FyEmpty), Vue2.component(FyForm.name, FyForm), Vue2.component(FyFormDesign.name, FyFormDesign), Vue2.component(FyFormMenu.name, FyFormMenu), Vue2.component(FyInput.name, FyInput), Vue2.component(FyInputColor.name, FyInputColor), Vue2.component(FyInputIcon.name, FyInputIcon), Vue2.component(FyInputMap.name, FyInputMap), Vue2.component(FyInputNumber.name, FyInputNumber), Vue2.component(FyInputTable.name, FyInputTable), Vue2.component(FyInputTree.name, FyInputTree), Vue2.component(FyProgress.name, FyProgress), Vue2.component(FyRadio.name, FyRadio), Vue2.component(FyRate.name, FyRate), Vue2.component(FySelect.name, FySelect), Vue2.component(FySlider.name, FySlider), Vue2.component(FySwitch.name, FySwitch), Vue2.component(FyTabs.name, FyTabs), Vue2.component(FyTime.name, FyTime), Vue2.component(FyTitle.name, FyTitle), Vue2.component(FyTree.name, FyTree), Vue2.component(FyUEditor.name, FyUEditor), Vue2.component(FyUpload.name, FyUpload), Vue2.component(GuideSteps.name, GuideSteps), Vue2.component(HeaderMenu.name, HeaderMenu), Vue2.component(HeaderSearch.name, HeaderSearch), Vue2.component(HighlightJS.name, HighlightJS), Vue2.component(IconCard.name, IconCard), Vue2.component(IconTemp.name, IconTemp), Vue2.component(IframeWindow.name, IframeWindow), Vue2.component(ImageCropper.name, ImageCropper), Vue2.component(ImagePreview.name, ImagePreview), Vue2.component(ImageViewer.name, ImageViewer), Vue2.component(InputNumber.name, InputNumber), Vue2.component(InputNumberRange.name, InputNumberRange), Vue2.component(JSXComponent.name, JSXComponent), Vue2.component(KeepViewAlive.name, KeepViewAlive), Vue2.component(Keyboard.name, Keyboard), Vue2.component(License.name, License), Vue2.component(LoadingView.name, LoadingView), Vue2.component(Login.name, Login), Vue2.component(NameAvatar.name, NameAvatar), Vue2.component(NavBar.name, NavBar), Vue2.component(Notice.name, Notice), Vue2.component(NotImplement.name, NotImplement), Vue2.component(Page.name, Page), Vue2.component(PageableTable.name, PageableTable), Vue2.component(PageableView.name, PageableView), Vue2.component(PageHeader.name, PageHeader), Vue2.component(PageIndex.name, PageIndex), Vue2.component(PageIndexTop.name, PageIndexTop), Vue2.component(PageSkeleton.name, PageSkeleton), Vue2.component(PageSkeletonNew.name, PageSkeletonNew), Vue2.component(PhotoSwipe.name, PhotoSwipe), Vue2.component(ProcessDesigner.name, ProcessDesigner), Vue2.component(PropertiesPanel.name, PropertiesPanel), Vue2.component(Queue.name, Queue), Vue2.component(RecordVideo.name, RecordVideo), Vue2.component(ResizeObserver.name, ResizeObserver), Vue2.component(Search.name, Search), Vue2.component(SearchPopover.name, SearchPopover), Vue2.component(Sign.name, Sign), Vue2.component(SignPanel.name, SignPanel), Vue2.component(Skeleton.name, Skeleton), Vue2.component(SplitPane.name, SplitPane), Vue2.component(Stateful.name, Stateful), Vue2.component(StaticPageableTable.name, StaticPageableTable), Vue2.component(Swiper.name, Swiper), Vue2.component(Tab.name, Tab), Vue2.component(TabItem.name, TabItem), Vue2.component(TableColumn.name, TableColumn), Vue2.component(TablePage.name, TablePage), Vue2.component(TableView.name, TableView), Vue2.component(TagRender.name, TagRender), Vue2.component(TextEllipsis.name, TextEllipsis), Vue2.component(TinymceEditor.name, TinymceEditor), Vue2.component(TinymceWrapper.name, TinymceWrapper), Vue2.component(Toolbar.name, Toolbar), Vue2.component(ToolbarButton.name, ToolbarButton), Vue2.component(Trigger.name, Trigger), Vue2.component(Verify.name, Verify), Vue2.component(VueTagsInput.name, VueTagsInput), Vue2.component(Watermark.name, Watermark);
|
|
45701
45647
|
}
|
package/package.json
CHANGED