eoss-ui 0.4.79-beta.0 → 0.4.80
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/button-group.js +2 -2
- package/lib/button.js +147 -136
- package/lib/card.js +2 -2
- package/lib/cascader.js +2 -2
- package/lib/checkbox-group.js +2 -2
- package/lib/clients.js +2 -2
- package/lib/data-table-form.js +3 -2
- package/lib/data-table.js +3 -2
- package/lib/date-picker.js +2 -2
- package/lib/dialog.js +7 -5
- package/lib/enterprise.js +2 -2
- package/lib/eoss-ui.common.js +629 -217
- package/lib/error-page.js +2 -2
- package/lib/flow-group.js +2 -2
- package/lib/flow-list.js +2 -2
- package/lib/flow.js +3 -2
- package/lib/form.js +101 -6
- package/lib/handle-user.js +2 -2
- package/lib/handler.js +2 -2
- package/lib/icons.js +4 -4
- package/lib/index.js +1 -1
- package/lib/input-number.js +2 -2
- package/lib/input.js +9 -9
- package/lib/label.js +92 -18
- package/lib/layout.js +218 -11
- package/lib/login.js +4 -2
- package/lib/main.js +10 -9
- package/lib/menu.js +2 -2
- package/lib/nav.js +2 -2
- package/lib/notify.js +2 -2
- package/lib/page.js +2 -2
- package/lib/pagination.js +2 -2
- package/lib/player.js +8 -8
- package/lib/qr-code.js +4 -4
- package/lib/radio-group.js +2 -2
- package/lib/retrial-auth.js +2 -2
- package/lib/select-ganged.js +2 -2
- package/lib/select.js +4 -4
- package/lib/selector-panel.js +44 -54
- package/lib/selector.js +4 -4
- package/lib/sizer.js +2 -2
- package/lib/steps.js +2 -2
- package/lib/switch.js +2 -2
- package/lib/table-form.js +28 -8
- package/lib/tabs-panel.js +2 -2
- package/lib/tabs.js +2 -2
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/layout.css +1 -0
- package/lib/tips.js +10 -4
- package/lib/toolbar.js +2 -2
- package/lib/tree-group.js +2 -2
- package/lib/tree.js +2 -2
- package/lib/upload.js +2 -2
- package/lib/wujie.js +2 -2
- package/lib/wxlogin.js +2 -2
- package/package.json +1 -1
- package/packages/form/src/main.vue +12 -0
- package/packages/form/src/table.vue +4 -0
- package/packages/label/src/main.vue +130 -18
- package/packages/layout/src/item.vue +37 -8
- package/packages/layout/src/main.vue +1 -0
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/layout.css +1 -0
- package/packages/theme-chalk/src/layout.scss +3 -1
- package/packages/tips/src/main.vue +5 -0
- package/src/index.js +1 -1
package/lib/input-number.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 71);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -3366,7 +3366,7 @@ module.exports = require("sm-crypto");
|
|
|
3366
3366
|
|
|
3367
3367
|
/***/ }),
|
|
3368
3368
|
|
|
3369
|
-
/***/
|
|
3369
|
+
/***/ 71:
|
|
3370
3370
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3371
3371
|
|
|
3372
3372
|
"use strict";
|
package/lib/input.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 70);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -3384,7 +3384,14 @@ module.exports = require("json-bigint");
|
|
|
3384
3384
|
|
|
3385
3385
|
/***/ }),
|
|
3386
3386
|
|
|
3387
|
-
/***/
|
|
3387
|
+
/***/ 7:
|
|
3388
|
+
/***/ (function(module, exports) {
|
|
3389
|
+
|
|
3390
|
+
module.exports = require("sm-crypto");
|
|
3391
|
+
|
|
3392
|
+
/***/ }),
|
|
3393
|
+
|
|
3394
|
+
/***/ 70:
|
|
3388
3395
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3389
3396
|
|
|
3390
3397
|
"use strict";
|
|
@@ -3703,13 +3710,6 @@ main.install = function (Vue) {
|
|
|
3703
3710
|
|
|
3704
3711
|
/* harmony default export */ var input = __webpack_exports__["default"] = (main);
|
|
3705
3712
|
|
|
3706
|
-
/***/ }),
|
|
3707
|
-
|
|
3708
|
-
/***/ 7:
|
|
3709
|
-
/***/ (function(module, exports) {
|
|
3710
|
-
|
|
3711
|
-
module.exports = require("sm-crypto");
|
|
3712
|
-
|
|
3713
3713
|
/***/ })
|
|
3714
3714
|
|
|
3715
3715
|
/******/ });
|
package/lib/label.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 72);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -192,7 +192,7 @@ function normalizeComponent(
|
|
|
192
192
|
|
|
193
193
|
/***/ }),
|
|
194
194
|
|
|
195
|
-
/***/
|
|
195
|
+
/***/ 72:
|
|
196
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
197
|
|
|
198
198
|
"use strict";
|
|
@@ -247,7 +247,9 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
247
247
|
type: String,
|
|
248
248
|
default: '120px'
|
|
249
249
|
},
|
|
250
|
-
plain: Boolean
|
|
250
|
+
plain: Boolean,
|
|
251
|
+
events: Object,
|
|
252
|
+
event: Function
|
|
251
253
|
},
|
|
252
254
|
computed: {
|
|
253
255
|
isRequired: function isRequired() {
|
|
@@ -273,7 +275,27 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
273
275
|
};
|
|
274
276
|
},
|
|
275
277
|
mounted: function mounted() {},
|
|
278
|
+
|
|
279
|
+
methods: {
|
|
280
|
+
handleClick: function handleClick(e, type, obj) {
|
|
281
|
+
e.stopPropagation();
|
|
282
|
+
e.preventDefault();
|
|
283
|
+
if (type) {
|
|
284
|
+
if (this.events && this.events[type] && typeof this.events[type] === 'function') {
|
|
285
|
+
var _events;
|
|
286
|
+
|
|
287
|
+
var params = obj ? [obj, e] : [e];
|
|
288
|
+
(_events = this.events)[type].apply(_events, params);
|
|
289
|
+
}
|
|
290
|
+
} else {
|
|
291
|
+
this.event && this.event(this, e);
|
|
292
|
+
this.$emit('click', this, e);
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
},
|
|
276
296
|
render: function render(h) {
|
|
297
|
+
var _this = this;
|
|
298
|
+
|
|
277
299
|
var i = 0;
|
|
278
300
|
var doms = [];
|
|
279
301
|
if (!this.hide) {
|
|
@@ -287,21 +309,43 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
287
309
|
if (this.icon) {
|
|
288
310
|
if (this.icon.indexOf('es-icon-') > -1 || this.icon.indexOf('el-icon-') > -1) {
|
|
289
311
|
doms.push(h('i', {
|
|
290
|
-
class: this.icon
|
|
312
|
+
class: [this.icon, this.events && this.events['icon'] ? 'es-pointer' : ''],
|
|
313
|
+
on: {
|
|
314
|
+
click: function click(e) {
|
|
315
|
+
_this.handleClick(e, 'icon');
|
|
316
|
+
}
|
|
317
|
+
}
|
|
291
318
|
}));
|
|
292
319
|
} else if (this.icon.indexOf('&#') > -1) {
|
|
293
|
-
doms.push(h('i', {
|
|
320
|
+
doms.push(h('i', {
|
|
321
|
+
class: ['es-label-icon', 'es-icons', this.events && this.events['icon'] ? 'es-pointer' : ''],
|
|
322
|
+
on: {
|
|
323
|
+
click: function click(e) {
|
|
324
|
+
_this.handleClick(e, 'icon');
|
|
325
|
+
}
|
|
326
|
+
}
|
|
327
|
+
}, [this.icon]));
|
|
294
328
|
} else {
|
|
295
329
|
doms.push(h('el-icon', {
|
|
296
|
-
class: 'es-label-icon',
|
|
297
|
-
props: { name: this.icon }
|
|
330
|
+
class: ['es-label-icon', this.events && this.events['icon'] ? 'es-pointer' : ''],
|
|
331
|
+
props: { name: this.icon },
|
|
332
|
+
on: {
|
|
333
|
+
click: function click(e) {
|
|
334
|
+
_this.handleClick(e, 'icon');
|
|
335
|
+
}
|
|
336
|
+
}
|
|
298
337
|
}));
|
|
299
338
|
}
|
|
300
339
|
}
|
|
301
340
|
if (this.image || this.img) {
|
|
302
341
|
doms.push(h('img', {
|
|
303
|
-
class: 'es-label-img',
|
|
304
|
-
attrs: { src: this.image || this.img }
|
|
342
|
+
class: ['es-label-img', this.events && (this.events['image'] || this.events['img']) ? 'es-pointer' : ''],
|
|
343
|
+
attrs: { src: this.image || this.img },
|
|
344
|
+
on: {
|
|
345
|
+
click: function click(e) {
|
|
346
|
+
_this.handleClick(e, _this.image ? 'image' : 'img');
|
|
347
|
+
}
|
|
348
|
+
}
|
|
305
349
|
}));
|
|
306
350
|
}
|
|
307
351
|
if (this.tips) {
|
|
@@ -338,27 +382,54 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
338
382
|
case 'icon':
|
|
339
383
|
if (this.contents[_i].indexOf('es-icon-') > -1 || this.contents[_i].indexOf('el-icon-') > -1) {
|
|
340
384
|
doms.push(h('i', {
|
|
341
|
-
class: this.contents[_i]
|
|
385
|
+
class: [this.contents[_i], this.events && this.events['icon'] ? 'es-pointer' : ''],
|
|
386
|
+
on: {
|
|
387
|
+
click: function click(e) {
|
|
388
|
+
_this.handleClick(e, 'icon');
|
|
389
|
+
}
|
|
390
|
+
}
|
|
342
391
|
}));
|
|
343
392
|
} else if (this.contents[_i].indexOf('&#') > -1) {
|
|
344
|
-
doms.push(h('i', {
|
|
393
|
+
doms.push(h('i', {
|
|
394
|
+
class: ['es-label-icon', 'es-icons', this.events && this.events['icon'] ? 'es-pointer' : ''],
|
|
395
|
+
on: {
|
|
396
|
+
click: function click(e) {
|
|
397
|
+
_this.handleClick(e, 'icon');
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
}, [this.contents[_i]]));
|
|
345
401
|
} else {
|
|
346
402
|
doms.push(h('el-icon', {
|
|
347
|
-
class: 'es-label-icon',
|
|
348
|
-
props: { name: this.contents[_i] }
|
|
403
|
+
class: ['es-label-icon', this.events && this.events['icon'] ? 'es-pointer' : ''],
|
|
404
|
+
props: { name: this.contents[_i] },
|
|
405
|
+
on: {
|
|
406
|
+
click: function click(e) {
|
|
407
|
+
_this.handleClick(e, 'icon');
|
|
408
|
+
}
|
|
409
|
+
}
|
|
349
410
|
}));
|
|
350
411
|
}
|
|
351
412
|
break;
|
|
352
413
|
case 'img':
|
|
353
414
|
doms.push(h('img', {
|
|
354
|
-
class: 'es-label-img',
|
|
355
|
-
attrs: { src: this.contents[_i] }
|
|
415
|
+
class: ['es-label-img', this.events && this.events['img'] ? 'es-pointer' : ''],
|
|
416
|
+
attrs: { src: this.contents[_i] },
|
|
417
|
+
on: {
|
|
418
|
+
click: function click(e) {
|
|
419
|
+
_this.handleClick(e, 'img');
|
|
420
|
+
}
|
|
421
|
+
}
|
|
356
422
|
}));
|
|
357
423
|
break;
|
|
358
424
|
case 'image':
|
|
359
425
|
doms.push(h('img', {
|
|
360
|
-
class: 'es-label-img',
|
|
361
|
-
attrs: { src: this.contents[_i] }
|
|
426
|
+
class: ['es-label-img', this.events && this.events['image'] ? 'es-pointer' : ''],
|
|
427
|
+
attrs: { src: this.contents[_i] },
|
|
428
|
+
on: {
|
|
429
|
+
click: function click(e) {
|
|
430
|
+
_this.handleClick(e, 'img');
|
|
431
|
+
}
|
|
432
|
+
}
|
|
362
433
|
}));
|
|
363
434
|
break;
|
|
364
435
|
case 'tips':
|
|
@@ -399,7 +470,10 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
|
|
|
399
470
|
if (this.plain) {
|
|
400
471
|
doms.push(':');
|
|
401
472
|
}
|
|
402
|
-
return h('span', {
|
|
473
|
+
return h('span', {
|
|
474
|
+
class: { 'es-label': true, 'es-is-required': this.isRequired },
|
|
475
|
+
on: { click: this.handleClick }
|
|
476
|
+
}, doms);
|
|
403
477
|
} else {
|
|
404
478
|
return '';
|
|
405
479
|
}
|
package/lib/layout.js
CHANGED
|
@@ -82,11 +82,18 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 32);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
89
89
|
|
|
90
|
+
/***/ 14:
|
|
91
|
+
/***/ (function(module, exports) {
|
|
92
|
+
|
|
93
|
+
module.exports = require("interactjs");
|
|
94
|
+
|
|
95
|
+
/***/ }),
|
|
96
|
+
|
|
90
97
|
/***/ 2:
|
|
91
98
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
92
99
|
|
|
@@ -192,32 +199,235 @@ function normalizeComponent(
|
|
|
192
199
|
|
|
193
200
|
/***/ }),
|
|
194
201
|
|
|
195
|
-
/***/
|
|
202
|
+
/***/ 32:
|
|
196
203
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
204
|
|
|
198
205
|
"use strict";
|
|
199
206
|
// ESM COMPAT FLAG
|
|
200
207
|
__webpack_require__.r(__webpack_exports__);
|
|
201
208
|
|
|
202
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/layout/src/main.vue?vue&type=template&id=
|
|
209
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/layout/src/main.vue?vue&type=template&id=6868aa00&
|
|
203
210
|
var render = function () {
|
|
204
211
|
var _vm = this
|
|
205
212
|
var _h = _vm.$createElement
|
|
206
213
|
var _c = _vm._self._c || _h
|
|
207
|
-
return _c(
|
|
214
|
+
return _c(
|
|
215
|
+
"div",
|
|
216
|
+
{ staticClass: "es-layout" },
|
|
217
|
+
[_c("layout-item"), _c("layout-item", { attrs: { top: "100px" } })],
|
|
218
|
+
1
|
|
219
|
+
)
|
|
208
220
|
}
|
|
209
221
|
var staticRenderFns = []
|
|
210
222
|
render._withStripped = true
|
|
211
223
|
|
|
212
224
|
|
|
213
|
-
// CONCATENATED MODULE: ./packages/layout/src/main.vue?vue&type=template&id=
|
|
225
|
+
// CONCATENATED MODULE: ./packages/layout/src/main.vue?vue&type=template&id=6868aa00&
|
|
226
|
+
|
|
227
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/layout/src/item.vue?vue&type=template&id=4b100112&
|
|
228
|
+
var itemvue_type_template_id_4b100112_render = function () {
|
|
229
|
+
var _vm = this
|
|
230
|
+
var _h = _vm.$createElement
|
|
231
|
+
var _c = _vm._self._c || _h
|
|
232
|
+
return _c(
|
|
233
|
+
"div",
|
|
234
|
+
{
|
|
235
|
+
ref: "move",
|
|
236
|
+
staticClass: "es-layout-item",
|
|
237
|
+
class: _vm.defaultClasss,
|
|
238
|
+
style: _vm.defaultaStyle,
|
|
239
|
+
},
|
|
240
|
+
[
|
|
241
|
+
_c("es-card"),
|
|
242
|
+
_c("div", { staticClass: "es-layout-resizable-width" }),
|
|
243
|
+
_c("div", { staticClass: "es-layout-resizable-height" }),
|
|
244
|
+
_c("div", { staticClass: "es-layout-resizable" }),
|
|
245
|
+
],
|
|
246
|
+
1
|
|
247
|
+
)
|
|
248
|
+
}
|
|
249
|
+
var itemvue_type_template_id_4b100112_staticRenderFns = []
|
|
250
|
+
itemvue_type_template_id_4b100112_render._withStripped = true
|
|
251
|
+
|
|
214
252
|
|
|
253
|
+
// CONCATENATED MODULE: ./packages/layout/src/item.vue?vue&type=template&id=4b100112&
|
|
254
|
+
|
|
255
|
+
// EXTERNAL MODULE: external "interactjs"
|
|
256
|
+
var external_interactjs_ = __webpack_require__(14);
|
|
257
|
+
var external_interactjs_default = /*#__PURE__*/__webpack_require__.n(external_interactjs_);
|
|
258
|
+
|
|
259
|
+
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/layout/src/item.vue?vue&type=script&lang=js&
|
|
260
|
+
//
|
|
261
|
+
//
|
|
262
|
+
//
|
|
263
|
+
//
|
|
264
|
+
//
|
|
265
|
+
//
|
|
266
|
+
//
|
|
267
|
+
//
|
|
268
|
+
//
|
|
269
|
+
//
|
|
270
|
+
//
|
|
271
|
+
//
|
|
272
|
+
//
|
|
273
|
+
|
|
274
|
+
// import '@interactjs/auto-start';
|
|
275
|
+
// import '@interactjs/auto-scroll';
|
|
276
|
+
// import '@interactjs/actions/drag';
|
|
277
|
+
// import '@interactjs/actions/resize';
|
|
278
|
+
// import '@interactjs/modifiers';
|
|
279
|
+
// import '@interactjs/dev-tools';
|
|
280
|
+
|
|
281
|
+
/* harmony default export */ var itemvue_type_script_lang_js_ = ({
|
|
282
|
+
name: 'LayoutItem',
|
|
283
|
+
components: {},
|
|
284
|
+
props: {
|
|
285
|
+
redact: {
|
|
286
|
+
type: Boolean,
|
|
287
|
+
default: true
|
|
288
|
+
},
|
|
289
|
+
width: {
|
|
290
|
+
type: String,
|
|
291
|
+
default: '100%'
|
|
292
|
+
},
|
|
293
|
+
height: {
|
|
294
|
+
type: String,
|
|
295
|
+
default: '100px'
|
|
296
|
+
},
|
|
297
|
+
left: String,
|
|
298
|
+
top: String,
|
|
299
|
+
index: Number
|
|
300
|
+
},
|
|
301
|
+
computed: {
|
|
302
|
+
defaultClasss: function defaultClasss() {
|
|
303
|
+
return {
|
|
304
|
+
'es-dragging': this.dragging
|
|
305
|
+
};
|
|
306
|
+
},
|
|
307
|
+
defaultaStyle: function defaultaStyle() {
|
|
308
|
+
return {
|
|
309
|
+
width: this.width,
|
|
310
|
+
height: this.height,
|
|
311
|
+
left: this.left,
|
|
312
|
+
top: this.top
|
|
313
|
+
};
|
|
314
|
+
},
|
|
315
|
+
cardStyle: function cardStyle() {
|
|
316
|
+
return {
|
|
317
|
+
width: this.width,
|
|
318
|
+
height: this.height
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
},
|
|
322
|
+
watch: {},
|
|
323
|
+
data: function data() {
|
|
324
|
+
return {
|
|
325
|
+
position: { x: 0, y: 0 },
|
|
326
|
+
interaction: null,
|
|
327
|
+
dragging: false
|
|
328
|
+
};
|
|
329
|
+
},
|
|
330
|
+
created: function created() {
|
|
331
|
+
this.position = {
|
|
332
|
+
x: parseInt(this.left) || 0,
|
|
333
|
+
y: parseInt(this.top) || 0
|
|
334
|
+
};
|
|
335
|
+
console.log(this.position);
|
|
336
|
+
},
|
|
337
|
+
mounted: function mounted() {
|
|
338
|
+
var _this = this;
|
|
339
|
+
|
|
340
|
+
console.log(this.$parent.$el.offsetWidth);
|
|
341
|
+
this.interaction = external_interactjs_default()(this.$refs.move);
|
|
342
|
+
this.interaction.draggable({
|
|
343
|
+
modifiers: [external_interactjs_default.a.modifiers.restrictRect({
|
|
344
|
+
restriction: 'parent',
|
|
345
|
+
endOnly: false
|
|
346
|
+
})],
|
|
347
|
+
listeners: {
|
|
348
|
+
start: function start(event) {
|
|
349
|
+
_this.dragging = true;
|
|
350
|
+
console.log(event.type, event.target, 111);
|
|
351
|
+
},
|
|
352
|
+
move: function move(event) {
|
|
353
|
+
_this.position.x += event.dx;
|
|
354
|
+
_this.position.y += event.dy;
|
|
355
|
+
event.target.style.transform = 'translate(' + _this.position.x + 'px, ' + _this.position.y + 'px)';
|
|
356
|
+
},
|
|
357
|
+
end: function end(event) {
|
|
358
|
+
_this.dragging = false;
|
|
359
|
+
console.log(event.type, event.target, 222);
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
});
|
|
363
|
+
this.interaction.resizable({
|
|
364
|
+
modifiers: [external_interactjs_default.a.modifiers.restrictSize({
|
|
365
|
+
min: { width: 100, height: 100 },
|
|
366
|
+
max: { width: this.$parent.$el.offsetWidth }
|
|
367
|
+
})],
|
|
368
|
+
edges: { top: true, left: true, bottom: true, right: true },
|
|
369
|
+
listeners: {
|
|
370
|
+
move: function move(event) {
|
|
371
|
+
var _event$target$dataset = event.target.dataset,
|
|
372
|
+
x = _event$target$dataset.x,
|
|
373
|
+
y = _event$target$dataset.y;
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
x = (parseFloat(x) || 0) + event.deltaRect.left;
|
|
377
|
+
y = (parseFloat(y) || 0) + event.deltaRect.top;
|
|
378
|
+
|
|
379
|
+
Object.assign(event.target.style, {
|
|
380
|
+
width: event.rect.width + 'px',
|
|
381
|
+
height: event.rect.height + 'px',
|
|
382
|
+
transform: 'translate(' + x + 'px, ' + y + 'px)'
|
|
383
|
+
});
|
|
384
|
+
|
|
385
|
+
Object.assign(event.target.dataset, { x: x, y: y });
|
|
386
|
+
}
|
|
387
|
+
}
|
|
388
|
+
});
|
|
389
|
+
},
|
|
390
|
+
|
|
391
|
+
methods: {},
|
|
392
|
+
beforeDestroy: function beforeDestroy() {}
|
|
393
|
+
});
|
|
394
|
+
// CONCATENATED MODULE: ./packages/layout/src/item.vue?vue&type=script&lang=js&
|
|
395
|
+
/* harmony default export */ var src_itemvue_type_script_lang_js_ = (itemvue_type_script_lang_js_);
|
|
396
|
+
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
397
|
+
var componentNormalizer = __webpack_require__(2);
|
|
398
|
+
|
|
399
|
+
// CONCATENATED MODULE: ./packages/layout/src/item.vue
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
/* normalize component */
|
|
406
|
+
|
|
407
|
+
var component = Object(componentNormalizer["a" /* default */])(
|
|
408
|
+
src_itemvue_type_script_lang_js_,
|
|
409
|
+
itemvue_type_template_id_4b100112_render,
|
|
410
|
+
itemvue_type_template_id_4b100112_staticRenderFns,
|
|
411
|
+
false,
|
|
412
|
+
null,
|
|
413
|
+
null,
|
|
414
|
+
null
|
|
415
|
+
|
|
416
|
+
)
|
|
417
|
+
|
|
418
|
+
/* harmony default export */ var item = (component.exports);
|
|
215
419
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/layout/src/main.vue?vue&type=script&lang=js&
|
|
216
420
|
//
|
|
421
|
+
//
|
|
422
|
+
//
|
|
423
|
+
//
|
|
424
|
+
//
|
|
425
|
+
//
|
|
426
|
+
|
|
217
427
|
|
|
218
428
|
/* harmony default export */ var mainvue_type_script_lang_js_ = ({
|
|
219
429
|
name: 'EsLayout',
|
|
220
|
-
components: {},
|
|
430
|
+
components: { layoutItem: item },
|
|
221
431
|
props: {},
|
|
222
432
|
computed: {},
|
|
223
433
|
watch: {},
|
|
@@ -232,9 +442,6 @@ render._withStripped = true
|
|
|
232
442
|
});
|
|
233
443
|
// CONCATENATED MODULE: ./packages/layout/src/main.vue?vue&type=script&lang=js&
|
|
234
444
|
/* harmony default export */ var src_mainvue_type_script_lang_js_ = (mainvue_type_script_lang_js_);
|
|
235
|
-
// EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js
|
|
236
|
-
var componentNormalizer = __webpack_require__(2);
|
|
237
|
-
|
|
238
445
|
// CONCATENATED MODULE: ./packages/layout/src/main.vue
|
|
239
446
|
|
|
240
447
|
|
|
@@ -243,7 +450,7 @@ var componentNormalizer = __webpack_require__(2);
|
|
|
243
450
|
|
|
244
451
|
/* normalize component */
|
|
245
452
|
|
|
246
|
-
var
|
|
453
|
+
var main_component = Object(componentNormalizer["a" /* default */])(
|
|
247
454
|
src_mainvue_type_script_lang_js_,
|
|
248
455
|
render,
|
|
249
456
|
staticRenderFns,
|
|
@@ -254,7 +461,7 @@ var component = Object(componentNormalizer["a" /* default */])(
|
|
|
254
461
|
|
|
255
462
|
)
|
|
256
463
|
|
|
257
|
-
/* harmony default export */ var main = (
|
|
464
|
+
/* harmony default export */ var main = (main_component.exports);
|
|
258
465
|
// CONCATENATED MODULE: ./packages/layout/index.js
|
|
259
466
|
|
|
260
467
|
|
package/lib/login.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 33);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ([
|
|
@@ -3429,7 +3429,9 @@ var bankCard = { pattern: new RegExp('^([1-9]{1})(\\d{14}|\\d{18})$'), message:
|
|
|
3429
3429
|
/* 28 */,
|
|
3430
3430
|
/* 29 */,
|
|
3431
3431
|
/* 30 */,
|
|
3432
|
-
/* 31
|
|
3432
|
+
/* 31 */,
|
|
3433
|
+
/* 32 */,
|
|
3434
|
+
/* 33 */
|
|
3433
3435
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3434
3436
|
|
|
3435
3437
|
"use strict";
|
package/lib/main.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 29);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ([
|
|
@@ -3397,25 +3397,25 @@ module.exports = require("babel-runtime/regenerator");
|
|
|
3397
3397
|
/* 14 */,
|
|
3398
3398
|
/* 15 */,
|
|
3399
3399
|
/* 16 */,
|
|
3400
|
-
/* 17
|
|
3400
|
+
/* 17 */,
|
|
3401
|
+
/* 18 */
|
|
3401
3402
|
/***/ (function(module, exports) {
|
|
3402
3403
|
|
|
3403
3404
|
module.exports = require("runtime-import");
|
|
3404
3405
|
|
|
3405
3406
|
/***/ }),
|
|
3406
|
-
/*
|
|
3407
|
+
/* 19 */
|
|
3407
3408
|
/***/ (function(module, exports) {
|
|
3408
3409
|
|
|
3409
3410
|
module.exports = require("sockjs-client");
|
|
3410
3411
|
|
|
3411
3412
|
/***/ }),
|
|
3412
|
-
/*
|
|
3413
|
+
/* 20 */
|
|
3413
3414
|
/***/ (function(module, exports) {
|
|
3414
3415
|
|
|
3415
3416
|
module.exports = require("stompjs");
|
|
3416
3417
|
|
|
3417
3418
|
/***/ }),
|
|
3418
|
-
/* 20 */,
|
|
3419
3419
|
/* 21 */,
|
|
3420
3420
|
/* 22 */,
|
|
3421
3421
|
/* 23 */,
|
|
@@ -3423,7 +3423,8 @@ module.exports = require("stompjs");
|
|
|
3423
3423
|
/* 25 */,
|
|
3424
3424
|
/* 26 */,
|
|
3425
3425
|
/* 27 */,
|
|
3426
|
-
/* 28
|
|
3426
|
+
/* 28 */,
|
|
3427
|
+
/* 29 */
|
|
3427
3428
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3428
3429
|
|
|
3429
3430
|
"use strict";
|
|
@@ -5510,7 +5511,7 @@ var regenerator_ = __webpack_require__(9);
|
|
|
5510
5511
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator_);
|
|
5511
5512
|
|
|
5512
5513
|
// EXTERNAL MODULE: external "runtime-import"
|
|
5513
|
-
var external_runtime_import_ = __webpack_require__(
|
|
5514
|
+
var external_runtime_import_ = __webpack_require__(18);
|
|
5514
5515
|
|
|
5515
5516
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/async-component/index.vue?vue&type=script&lang=js&
|
|
5516
5517
|
|
|
@@ -5662,11 +5663,11 @@ var async_component_component = Object(componentNormalizer["a" /* default */])(
|
|
|
5662
5663
|
|
|
5663
5664
|
/* harmony default export */ var async_component = (async_component_component.exports);
|
|
5664
5665
|
// EXTERNAL MODULE: external "sockjs-client"
|
|
5665
|
-
var external_sockjs_client_ = __webpack_require__(
|
|
5666
|
+
var external_sockjs_client_ = __webpack_require__(19);
|
|
5666
5667
|
var external_sockjs_client_default = /*#__PURE__*/__webpack_require__.n(external_sockjs_client_);
|
|
5667
5668
|
|
|
5668
5669
|
// EXTERNAL MODULE: external "stompjs"
|
|
5669
|
-
var external_stompjs_ = __webpack_require__(
|
|
5670
|
+
var external_stompjs_ = __webpack_require__(20);
|
|
5670
5671
|
var external_stompjs_default = /*#__PURE__*/__webpack_require__.n(external_stompjs_);
|
|
5671
5672
|
|
|
5672
5673
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/main/src/main.vue?vue&type=script&lang=js&
|
package/lib/menu.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 73);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -192,7 +192,7 @@ function normalizeComponent(
|
|
|
192
192
|
|
|
193
193
|
/***/ }),
|
|
194
194
|
|
|
195
|
-
/***/
|
|
195
|
+
/***/ 73:
|
|
196
196
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
197
197
|
|
|
198
198
|
"use strict";
|
package/lib/nav.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 48);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -3345,7 +3345,7 @@ module.exports = require("axios");
|
|
|
3345
3345
|
|
|
3346
3346
|
/***/ }),
|
|
3347
3347
|
|
|
3348
|
-
/***/
|
|
3348
|
+
/***/ 48:
|
|
3349
3349
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3350
3350
|
|
|
3351
3351
|
"use strict";
|
package/lib/notify.js
CHANGED
|
@@ -82,7 +82,7 @@ module.exports =
|
|
|
82
82
|
/******/
|
|
83
83
|
/******/
|
|
84
84
|
/******/ // Load entry module and return exports
|
|
85
|
-
/******/ return __webpack_require__(__webpack_require__.s =
|
|
85
|
+
/******/ return __webpack_require__(__webpack_require__.s = 49);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ({
|
|
@@ -532,7 +532,7 @@ function normalizeComponent(
|
|
|
532
532
|
|
|
533
533
|
/***/ }),
|
|
534
534
|
|
|
535
|
-
/***/
|
|
535
|
+
/***/ 49:
|
|
536
536
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
537
537
|
|
|
538
538
|
"use strict";
|