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/eoss-ui.common.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 = 18);
|
|
86
86
|
/******/ })
|
|
87
87
|
/************************************************************************/
|
|
88
88
|
/******/ ([
|
|
@@ -95,7 +95,7 @@ module.exports =
|
|
|
95
95
|
/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_1__);
|
|
96
96
|
/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(3);
|
|
97
97
|
/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(qs__WEBPACK_IMPORTED_MODULE_2__);
|
|
98
|
-
/* harmony import */ var json_bigint__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(
|
|
98
|
+
/* harmony import */ var json_bigint__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(8);
|
|
99
99
|
/* harmony import */ var json_bigint__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(json_bigint__WEBPACK_IMPORTED_MODULE_3__);
|
|
100
100
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(5);
|
|
101
101
|
/* harmony import */ var eoss_element__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(eoss_element__WEBPACK_IMPORTED_MODULE_4__);
|
|
@@ -109,7 +109,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
109
109
|
**/
|
|
110
110
|
|
|
111
111
|
/* eslint-disable indent */
|
|
112
|
-
var sm2 = __webpack_require__(
|
|
112
|
+
var sm2 = __webpack_require__(19).sm2;
|
|
113
113
|
|
|
114
114
|
|
|
115
115
|
|
|
@@ -3250,101 +3250,107 @@ module.exports = require("eoss-element");
|
|
|
3250
3250
|
/* 6 */
|
|
3251
3251
|
/***/ (function(module, exports) {
|
|
3252
3252
|
|
|
3253
|
-
module.exports = require("
|
|
3253
|
+
module.exports = require("interactjs");
|
|
3254
3254
|
|
|
3255
3255
|
/***/ }),
|
|
3256
3256
|
/* 7 */
|
|
3257
3257
|
/***/ (function(module, exports) {
|
|
3258
3258
|
|
|
3259
|
-
module.exports = require("
|
|
3259
|
+
module.exports = require("video.js");
|
|
3260
3260
|
|
|
3261
3261
|
/***/ }),
|
|
3262
3262
|
/* 8 */
|
|
3263
3263
|
/***/ (function(module, exports) {
|
|
3264
3264
|
|
|
3265
|
-
module.exports = require("
|
|
3265
|
+
module.exports = require("json-bigint");
|
|
3266
3266
|
|
|
3267
3267
|
/***/ }),
|
|
3268
3268
|
/* 9 */
|
|
3269
3269
|
/***/ (function(module, exports) {
|
|
3270
3270
|
|
|
3271
|
-
module.exports = require("
|
|
3271
|
+
module.exports = require("vue");
|
|
3272
3272
|
|
|
3273
3273
|
/***/ }),
|
|
3274
3274
|
/* 10 */
|
|
3275
|
+
/***/ (function(module, exports) {
|
|
3276
|
+
|
|
3277
|
+
module.exports = require("wujie-vue2");
|
|
3278
|
+
|
|
3279
|
+
/***/ }),
|
|
3280
|
+
/* 11 */
|
|
3275
3281
|
/***/ (function(module) {
|
|
3276
3282
|
|
|
3277
3283
|
module.exports = JSON.parse("[\"zuomian\",\"monitor\",\"maximize\",\"pointer-up\",\"pointer-left\",\"pointer-down\",\"tri-down\",\"retrograde\",\"rainfall\",\"caveat\",\"print\",\"alarm\",\"table\",\"duigouquan\",\"bumen\",\"mm\",\"accelerate\",\"quanping\",\"password\",\"qing\",\"kaifa\",\"daoru\",\"piaochongicon\",\"instructions\",\"notice\",\"wifi\",\"tishicuo\",\"minganciguanli\",\"switch-off\",\"switch-on\",\"narrow\",\"yidongduan\",\"web\",\"upload\",\"message\",\"go-back\",\"close\",\"shujutongji\",\"folder\",\"edit\",\"enter\",\"dian\",\"wendu\",\"shangwu\",\"shenbao\",\"magnifier\",\"project-add\",\"xiexian\",\"caidan\",\"tupian\",\"home\",\"yinyu\",\"wenhao\",\"template\",\"daiban\",\"set\",\"zhengwen\",\"cuowu\",\"chenggong\",\"indent\",\"increase\",\"ziliaoku\",\"tuichu\",\"quit\",\"leaf\",\"refresh\",\"statistic\",\"gengduo\",\"lvyou\",\"mail\",\"user\",\"zhishi\",\"weizhi\",\"jinggao\",\"zuzhijigou\",\"xue\",\"fenxiang\",\"jinrong\",\"shanchu\",\"jianhao\",\"jiahao\",\"yinzhang\",\"renyuanqiehuan\",\"gouxuanzhong1\",\"circle\",\"fuxuankuang1\",\"fangkuang\",\"application\",\"wenjianjia\",\"jiaren\",\"xiugai\",\"duanxinguanli\",\"workbench\",\"rizhi\",\"gongwen\",\"qingshi\",\"shiwu\",\"official\",\"baogao\",\"document\",\"wodeyouxiang\",\"ziliaojiaohuan\",\"denglu\",\"podium\",\"fangkuai\",\"xuewei\",\"duoyun\",\"pm\",\"xiajia\",\"huanbao\",\"dunpai\",\"shu\",\"gongzuozheng\",\"more\",\"fenlei\",\"delete\",\"fengsu\",\"bar\",\"yuanqu\",\"duomeiti\",\"youjian\",\"qiye\",\"zuixinzixun\",\"biaoge\",\"omit\",\"diaotou\",\"jiantou-left\",\"jiantou-right\",\"jiantou-up\",\"roles\",\"jiantou-next\",\"chijiuhuacunchu\",\"zhuanhuan\",\"cloudy\",\"form\",\"wuye\",\"tri-up\",\"pointer-right\",\"bianji\",\"tri-right\",\"tri-left\",\"daimaguanli\",\"jiankong\",\"kaifazhong\",\"fujian\",\"bingtu\",\"zhuzhuangtu\",\"lose\",\"rmb\",\"move\",\"xiazai\",\"yiban\",\"laoshi\",\"clear\",\"jinyong\",\"yunxing\",\"weihu\",\"chakan\",\"pifu\",\"ren\",\"gouwuche\",\"loading2\",\"yulan\",\"ziliao\",\"yidong\",\"fenxiang11\",\"kaoqin\",\"change\",\"shidu\",\"portfolio\",\"info\",\"yanjing\",\"laba\",\"camera\",\"xitongxiaoxi\",\"xitongguanli\",\"webduan\",\"wagnz\",\"group\",\"shengqian\",\"jiantou-prev\",\"attention\",\"look\",\"guanzhu\",\"daikuan\",\"tubiao\",\"duigou\",\"star\",\"dayin\",\"xinzeng\",\"reduce\",\"goup\",\"calendar\",\"tree\",\"yingyong\",\"caution\",\"zhuanfa\",\"add\",\"zongtiqixian\",\"daochu\",\"gongwu\",\"ihouse\",\"chilun\",\"weixiu\",\"chengguo\",\"trophy\",\"duiwu\",\"qiehuanjiaose\",\"door\",\"shebei\",\"fangjian\",\"microscope\",\"huaxue\",\"shiyanshianquan\",\"shiyan\",\"qiyexinxi\",\"yewuxinxi\",\"lab\",\"shiyanguanli\",\"yuqing\",\"big-screen\",\"signal-search\",\"database\",\"star-mark\",\"cng\",\"professor\",\"informatization\",\"code\",\"science\",\"price\",\"xunhuan\",\"savings\",\"administration\",\"aid\",\"biao\",\"line\",\"xietong\",\"jingzheng\",\"enterprise\",\"datatable\",\"toubiao\",\"bingdu\",\"keji2\",\"qiyeku5\",\"touzi5\",\"zijinliu\",\"zhishichanquan3\",\"kejifuwu2\",\"zhishichanquan2\",\"zijinanquan\",\"kejifuwu1\",\"geju\",\"yiqingfangkong\",\"kejifuwu\",\"anquanfangkong\",\"shujufuwu\",\"shujuceng\",\"shujugongxiang\",\"flows\",\"setup\",\"shujulian\",\"caiwujianguan\",\"caiwuliushui\",\"mubiaogeju\",\"juxing\",\"fuwuqi\",\"touzijigou\",\"xiezilou\",\"jianzhu\",\"logo\",\"touzhi\",\"zijin\",\"fintech\",\"touzixiangmu\",\"library\",\"touziguanli\",\"zhongda\",\"ziyuan\",\"shujutai\",\"shujudongtai\",\"bank\",\"shujuzhongxin\",\"zhongyaomubiao\",\"touzishijian\",\"caiwuguanli\",\"mingzhong\",\"touzishenpi\",\"jingzhenggeju\",\"property\",\"keji\",\"qiyeku\",\"zhongyaojihui\",\"touzilicai\",\"zhishichanquan\",\"touzi\",\"tzz\",\"menu\",\"xiangmushu\",\"pdf\",\"jiazai\",\"gongsi\",\"rise\",\"jbxx\",\"zwxx\",\"jypx\",\"jcgl\",\"ndkh\",\"grjl\",\"shgx\",\"gou\",\"shijian\",\"fukuan\",\"guoji\",\"shoukuan\",\"down\",\"gongzuotai\",\"gaigedongtai\",\"xitongshezhi\",\"relation\",\"zuzhirenshi\",\"kaohepingjia\",\"caiwujiandu\",\"sanzhongyida\",\"mima\",\"xianshi\",\"zhanghao\",\"bangongshi\",\"checked\",\"checke\",\"help\",\"kuoda\",\"banli\",\"xiaoxi\",\"shouqicaidan\",\"shouqicaidan-right\",\"smile\",\"tongzhi\",\"guanji\",\"shuaxin\",\"guiji\",\"tianjiawenjianjia\",\"yunxiazai\",\"del\",\"touzifangan\",\"zongheguanli\",\"sanzhongyida_mian\",\"gongwenguanli1\",\"heguiguanli\",\"jingyingfenxi\",\"txl\",\"diannao\",\"renliziyuan\",\"caiwuxitong\",\"shiwuguanli\",\"shouye\",\"bangongyongpin\",\"sidebar\",\"zhidulashi\",\"log\",\"fawenguanli\",\"huiyiguanli\",\"zuzhishishi\",\"gongwenqianshou\",\"jinxiupeixun\",\"gongwenbao\",\"jiaohuan\",\"daibanshixiang\",\"richeng\",\"tongxunlu\",\"yongche\",\"yanzheng\",\"daibanxinxi\",\"shuben\",\"fanfu\",\"guangbo\",\"shuzhuangtu\",\"bengqiye\",\"tongguo\",\"dengdai\",\"cross\",\"daichuli\",\"zhenggai\",\"shouli\",\"shujuhecha\",\"guanli\",\"paper-file\",\"wenjian\",\"dakaiwenjian\",\"yewu\",\"jiance\",\"jiheguanli\",\"jinru\",\"arrow-right\",\"lingdao\",\"rencai\",\"prev\",\"next\",\"jianpan\",\"qrcode\",\"bohui\",\"homepage\",\"download\",\"gantanhao\",\"dingding\",\"weixin\",\"pad\",\"ios\",\"android\",\"txt\",\"doc\",\"audioo\",\"video\",\"zip\",\"shuru\",\"duanxin\",\"saoma\",\"youxiang\",\"word\",\"excel\",\"fileword\",\"picture\",\"ppt\",\"ca\",\"usb-key\"]");
|
|
3278
3284
|
|
|
3279
3285
|
/***/ }),
|
|
3280
|
-
/*
|
|
3286
|
+
/* 12 */
|
|
3281
3287
|
/***/ (function(module, exports) {
|
|
3282
3288
|
|
|
3283
3289
|
module.exports = require("runtime-import");
|
|
3284
3290
|
|
|
3285
3291
|
/***/ }),
|
|
3286
|
-
/*
|
|
3292
|
+
/* 13 */
|
|
3287
3293
|
/***/ (function(module, exports) {
|
|
3288
3294
|
|
|
3289
3295
|
module.exports = require("sockjs-client");
|
|
3290
3296
|
|
|
3291
3297
|
/***/ }),
|
|
3292
|
-
/*
|
|
3298
|
+
/* 14 */
|
|
3293
3299
|
/***/ (function(module, exports) {
|
|
3294
3300
|
|
|
3295
3301
|
module.exports = require("stompjs");
|
|
3296
3302
|
|
|
3297
3303
|
/***/ }),
|
|
3298
|
-
/*
|
|
3304
|
+
/* 15 */
|
|
3299
3305
|
/***/ (function(module, exports) {
|
|
3300
3306
|
|
|
3301
3307
|
module.exports = require("video.js/dist/lang/zh-CN.json");
|
|
3302
3308
|
|
|
3303
3309
|
/***/ }),
|
|
3304
|
-
/*
|
|
3310
|
+
/* 16 */
|
|
3305
3311
|
/***/ (function(module, exports) {
|
|
3306
3312
|
|
|
3307
3313
|
module.exports = require("eoss-element/src/utils/clickoutside");
|
|
3308
3314
|
|
|
3309
3315
|
/***/ }),
|
|
3310
|
-
/*
|
|
3316
|
+
/* 17 */
|
|
3311
3317
|
/***/ (function(module, exports) {
|
|
3312
3318
|
|
|
3313
3319
|
module.exports = require("sortablejs");
|
|
3314
3320
|
|
|
3315
3321
|
/***/ }),
|
|
3316
|
-
/*
|
|
3322
|
+
/* 18 */
|
|
3317
3323
|
/***/ (function(module, exports, __webpack_require__) {
|
|
3318
3324
|
|
|
3319
|
-
module.exports = __webpack_require__(
|
|
3325
|
+
module.exports = __webpack_require__(23);
|
|
3320
3326
|
|
|
3321
3327
|
|
|
3322
3328
|
/***/ }),
|
|
3323
|
-
/*
|
|
3329
|
+
/* 19 */
|
|
3324
3330
|
/***/ (function(module, exports) {
|
|
3325
3331
|
|
|
3326
3332
|
module.exports = require("sm-crypto");
|
|
3327
3333
|
|
|
3328
3334
|
/***/ }),
|
|
3329
|
-
/*
|
|
3335
|
+
/* 20 */
|
|
3330
3336
|
/***/ (function(module, exports) {
|
|
3331
3337
|
|
|
3332
3338
|
module.exports = require("video.js/dist/video-js.css");
|
|
3333
3339
|
|
|
3334
3340
|
/***/ }),
|
|
3335
|
-
/*
|
|
3341
|
+
/* 21 */
|
|
3336
3342
|
/***/ (function(module, exports) {
|
|
3337
3343
|
|
|
3338
3344
|
module.exports = require("qrcode");
|
|
3339
3345
|
|
|
3340
3346
|
/***/ }),
|
|
3341
|
-
/*
|
|
3347
|
+
/* 22 */
|
|
3342
3348
|
/***/ (function(module, exports) {
|
|
3343
3349
|
|
|
3344
3350
|
module.exports = require("slate");
|
|
3345
3351
|
|
|
3346
3352
|
/***/ }),
|
|
3347
|
-
/*
|
|
3353
|
+
/* 23 */
|
|
3348
3354
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
3349
3355
|
|
|
3350
3356
|
"use strict";
|
|
@@ -3386,6 +3392,7 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
3386
3392
|
hide: Boolean,
|
|
3387
3393
|
param: Object,
|
|
3388
3394
|
type: String,
|
|
3395
|
+
mold: String,
|
|
3389
3396
|
size: String,
|
|
3390
3397
|
open: Boolean,
|
|
3391
3398
|
reload: Boolean,
|
|
@@ -3403,7 +3410,13 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
3403
3410
|
closed: Function,
|
|
3404
3411
|
stop: Boolean,
|
|
3405
3412
|
syncKeys: Object,
|
|
3406
|
-
text: String
|
|
3413
|
+
text: String,
|
|
3414
|
+
onClick: Function
|
|
3415
|
+
},
|
|
3416
|
+
computed: {
|
|
3417
|
+
_type: function _type() {
|
|
3418
|
+
return ['default', 'primary', 'success', 'info', 'warning', 'danger'].includes(this.type) ? this.type : this.mold;
|
|
3419
|
+
}
|
|
3407
3420
|
},
|
|
3408
3421
|
data: function data() {
|
|
3409
3422
|
return {};
|
|
@@ -3413,160 +3426,164 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
3413
3426
|
handleClick: function handleClick(evt) {
|
|
3414
3427
|
var _this = this;
|
|
3415
3428
|
|
|
3416
|
-
if (this.
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
var
|
|
3427
|
-
var
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
this.required.forEach(function (item) {
|
|
3441
|
-
param[item] = models[item];
|
|
3429
|
+
if (this.onClick) {
|
|
3430
|
+
this.onClick(evt);
|
|
3431
|
+
} else {
|
|
3432
|
+
if (this.open && this.link) {
|
|
3433
|
+
var windows = void 0;
|
|
3434
|
+
var fields = [];
|
|
3435
|
+
var param = this.param ? this.param : {};
|
|
3436
|
+
evt.stopPropagation();
|
|
3437
|
+
evt.preventDefault();
|
|
3438
|
+
var width = utils_util["a" /* default */].win.top.screen.availWidth - 10;
|
|
3439
|
+
var height = utils_util["a" /* default */].win.top.screen.availHeight - 60;
|
|
3440
|
+
var flag = true;
|
|
3441
|
+
if (this.esForm) {
|
|
3442
|
+
var params = utils_util["a" /* default */].getParams({ url: this.link });
|
|
3443
|
+
var modal = this.esForm.models;
|
|
3444
|
+
var models = utils_util["a" /* default */].extend({}, params || {}, modal);
|
|
3445
|
+
if (this.required) {
|
|
3446
|
+
if (Array.isArray(this.required)) {
|
|
3447
|
+
this.esForm.validateField(this.required, function (res) {
|
|
3448
|
+
if (res) {
|
|
3449
|
+
flag = false;
|
|
3450
|
+
} else {
|
|
3451
|
+
flag = true;
|
|
3452
|
+
}
|
|
3442
3453
|
});
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
}
|
|
3449
|
-
this.esForm.validateField(fields, function (res) {
|
|
3450
|
-
if (res) {
|
|
3451
|
-
flag = false;
|
|
3452
|
-
} else {
|
|
3453
|
-
flag = true;
|
|
3454
|
-
}
|
|
3455
|
-
});
|
|
3456
|
-
} else {
|
|
3457
|
-
this.esForm.validateField(this.required, function (res) {
|
|
3458
|
-
if (res) {
|
|
3459
|
-
flag = false;
|
|
3460
|
-
} else {
|
|
3461
|
-
flag = true;
|
|
3454
|
+
if (flag) {
|
|
3455
|
+
fields = this.required;
|
|
3456
|
+
this.required.forEach(function (item) {
|
|
3457
|
+
param[item] = models[item];
|
|
3458
|
+
});
|
|
3462
3459
|
}
|
|
3463
|
-
})
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
param[this.required] = models[this.required];
|
|
3460
|
+
} else if (_typeof(this.required) === 'object') {
|
|
3461
|
+
for (var i in this.required) {
|
|
3462
|
+
fields.push(this.required[i]);
|
|
3463
|
+
param[i] = models[this.required[i]];
|
|
3468
3464
|
}
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3465
|
+
this.esForm.validateField(fields, function (res) {
|
|
3466
|
+
if (res) {
|
|
3467
|
+
flag = false;
|
|
3468
|
+
} else {
|
|
3469
|
+
flag = true;
|
|
3470
|
+
}
|
|
3471
|
+
});
|
|
3472
|
+
} else {
|
|
3473
|
+
this.esForm.validateField(this.required, function (res) {
|
|
3474
|
+
if (res) {
|
|
3475
|
+
flag = false;
|
|
3476
|
+
} else {
|
|
3477
|
+
flag = true;
|
|
3478
|
+
}
|
|
3479
|
+
});
|
|
3480
|
+
if (flag) {
|
|
3481
|
+
fields = this.required;
|
|
3482
|
+
if (models[this.required] == null || models[this.required] == undefined || models[this.required] == '') {
|
|
3483
|
+
param[this.required] = models[this.required];
|
|
3484
|
+
}
|
|
3485
3485
|
}
|
|
3486
|
-
param[_i] = models[this.fields[_i]];
|
|
3487
3486
|
}
|
|
3488
|
-
} else {
|
|
3489
|
-
if (models[this.fields] == undefined || models[this.fields] == '') {
|
|
3490
|
-
empty.push(this.fields);
|
|
3491
|
-
}
|
|
3492
|
-
param[this.fields] = models[this.fields];
|
|
3493
3487
|
}
|
|
3494
|
-
if (
|
|
3495
|
-
var
|
|
3496
|
-
if (this.
|
|
3497
|
-
|
|
3498
|
-
|
|
3488
|
+
if (this.fields) {
|
|
3489
|
+
var empty = [];
|
|
3490
|
+
if (Array.isArray(this.fields)) {
|
|
3491
|
+
this.fields.forEach(function (item) {
|
|
3492
|
+
if (models[item] == undefined || models[item] == '') {
|
|
3493
|
+
empty.push(item);
|
|
3494
|
+
}
|
|
3495
|
+
param[item] = models[item];
|
|
3499
3496
|
});
|
|
3497
|
+
} else if (_typeof(this.fields) === 'object') {
|
|
3498
|
+
for (var _i in this.fields) {
|
|
3499
|
+
if (models[this.fields[_i]] == undefined || models[this.fields[_i]] == '') {
|
|
3500
|
+
empty.push(this.fields[_i]);
|
|
3501
|
+
}
|
|
3502
|
+
param[_i] = models[this.fields[_i]];
|
|
3503
|
+
}
|
|
3500
3504
|
} else {
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
if (this.message) {
|
|
3504
|
-
flag = false;
|
|
3505
|
-
if (typeof this.message == 'boolean') {
|
|
3506
|
-
this.$message.error(msg.join(',') + '不能为空!');
|
|
3507
|
-
} else {
|
|
3508
|
-
var message = msg.join(',') + (this.message.message || '不能为空!');
|
|
3509
|
-
this.$message(_extends({
|
|
3510
|
-
type: 'error'
|
|
3511
|
-
}, this.message, {
|
|
3512
|
-
message: message
|
|
3513
|
-
}));
|
|
3505
|
+
if (models[this.fields] == undefined || models[this.fields] == '') {
|
|
3506
|
+
empty.push(this.fields);
|
|
3514
3507
|
}
|
|
3508
|
+
param[this.fields] = models[this.fields];
|
|
3515
3509
|
}
|
|
3516
|
-
if (
|
|
3517
|
-
|
|
3518
|
-
if (
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
}).catch();
|
|
3510
|
+
if (empty.length) {
|
|
3511
|
+
var msg = [];
|
|
3512
|
+
if (this.mapFields) {
|
|
3513
|
+
empty.forEach(function (item) {
|
|
3514
|
+
msg.push(_this.mapFields[item]);
|
|
3515
|
+
});
|
|
3523
3516
|
} else {
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3517
|
+
msg = empty;
|
|
3518
|
+
}
|
|
3519
|
+
if (this.message) {
|
|
3520
|
+
flag = false;
|
|
3521
|
+
if (typeof this.message == 'boolean') {
|
|
3522
|
+
this.$message.error(msg.join(',') + '不能为空!');
|
|
3523
|
+
} else {
|
|
3524
|
+
var message = msg.join(',') + (this.message.message || '不能为空!');
|
|
3525
|
+
this.$message(_extends({
|
|
3526
|
+
type: 'error'
|
|
3527
|
+
}, this.message, {
|
|
3528
|
+
message: message
|
|
3529
|
+
}));
|
|
3530
|
+
}
|
|
3531
|
+
}
|
|
3532
|
+
if (this.alert) {
|
|
3533
|
+
flag = false;
|
|
3534
|
+
if (typeof this.alert == 'boolean') {
|
|
3535
|
+
this.$alert(msg.join(',') + '不能为空!', '提示', {
|
|
3536
|
+
type: 'error',
|
|
3537
|
+
confirmButtonText: '确定'
|
|
3538
|
+
}).catch();
|
|
3539
|
+
} else {
|
|
3540
|
+
var _message = msg.join(',') + (this.alert.message || '不能为空!');
|
|
3541
|
+
this.$alert(_message, this.alert.titl || '提示', this.alert.config || {
|
|
3542
|
+
type: 'error',
|
|
3543
|
+
confirmButtonText: '确定'
|
|
3544
|
+
}).catch();
|
|
3545
|
+
}
|
|
3529
3546
|
}
|
|
3530
3547
|
}
|
|
3531
3548
|
}
|
|
3532
3549
|
}
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3550
|
+
if (this.btnGroup && this.syncKeys) {
|
|
3551
|
+
var data = this.btnGroup.data;
|
|
3552
|
+
if (data && Object.keys(data).length && Object.keys(this.syncKeys).length) {
|
|
3553
|
+
for (var _i2 in this.syncKeys) {
|
|
3554
|
+
param[_i2] = data[this.syncKeys[_i2]];
|
|
3555
|
+
}
|
|
3539
3556
|
}
|
|
3540
3557
|
}
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3558
|
+
if (flag) {
|
|
3559
|
+
if (this.specs) {
|
|
3560
|
+
if (typeof this.specs === 'boolean') {
|
|
3561
|
+
windows = utils_util["a" /* default */].win.top.open(utils_util["a" /* default */].urlJoinParams({ url: this.link, param: param }), this.name, 'width=' + width + 'px,height=' + height + 'px,resizable=yes,status=yes,menubar=no,scrollbars=yes');
|
|
3562
|
+
} else {
|
|
3563
|
+
windows = utils_util["a" /* default */].win.top.open(utils_util["a" /* default */].urlJoinParams({ url: this.link, param: param }), this.name, this.specs);
|
|
3564
|
+
}
|
|
3546
3565
|
} else {
|
|
3547
|
-
windows = utils_util["a" /* default */].win.top.open(utils_util["a" /* default */].urlJoinParams({ url: this.link, param: param })
|
|
3566
|
+
windows = utils_util["a" /* default */].win.top.open(utils_util["a" /* default */].urlJoinParams({ url: this.link, param: param }));
|
|
3548
3567
|
}
|
|
3549
|
-
} else {
|
|
3550
|
-
windows = utils_util["a" /* default */].win.top.open(utils_util["a" /* default */].urlJoinParams({ url: this.link, param: param }));
|
|
3551
3568
|
}
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3569
|
+
if (windows) {
|
|
3570
|
+
var times = setInterval(function () {
|
|
3571
|
+
if (windows.closed) {
|
|
3572
|
+
clearInterval(times);
|
|
3573
|
+
_this.closed && _this.closed(param);
|
|
3574
|
+
if (_this.reload) {
|
|
3575
|
+
_this.esSelect && _this.esSelect.reload(null, param, true);
|
|
3576
|
+
_this.esTable && _this.esTable.reload(param);
|
|
3577
|
+
}
|
|
3561
3578
|
}
|
|
3562
|
-
}
|
|
3563
|
-
}
|
|
3579
|
+
}, 1000);
|
|
3580
|
+
}
|
|
3581
|
+
} else if (this.stop) {
|
|
3582
|
+
evt.stopPropagation();
|
|
3583
|
+
evt.preventDefault();
|
|
3564
3584
|
}
|
|
3565
|
-
|
|
3566
|
-
evt.stopPropagation();
|
|
3567
|
-
evt.preventDefault();
|
|
3585
|
+
this.$emit('click', evt);
|
|
3568
3586
|
}
|
|
3569
|
-
this.$emit('click', evt);
|
|
3570
3587
|
}
|
|
3571
3588
|
},
|
|
3572
3589
|
render: function render(h) {
|
|
@@ -3578,13 +3595,13 @@ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol
|
|
|
3578
3595
|
}
|
|
3579
3596
|
var tag = 'el-button';
|
|
3580
3597
|
var clas = ['es-button'];
|
|
3581
|
-
var props = { type: this.
|
|
3598
|
+
var props = { type: this._type, size: this.size };
|
|
3582
3599
|
var attrs = {};
|
|
3583
3600
|
if (this.link && !this.open) {
|
|
3584
3601
|
var link = this.param ? utils_util["a" /* default */].urlJoinParams({ url: this.link, param: this.param }) : this.link;
|
|
3585
3602
|
attrs = { href: link };
|
|
3586
3603
|
tag = 'a';
|
|
3587
|
-
clas = clas.concat(['el-button', this.
|
|
3604
|
+
clas = clas.concat(['el-button', this._type ? 'el-button--' + this._type : 'el-button--default', this.size ? 'el-button--' + this.size : '']);
|
|
3588
3605
|
}
|
|
3589
3606
|
return h(tag, {
|
|
3590
3607
|
class: clas,
|
|
@@ -7863,7 +7880,7 @@ var sizer_component = normalizeComponent(
|
|
|
7863
7880
|
|
|
7864
7881
|
/* harmony default export */ var sizer = (sizer_component.exports);
|
|
7865
7882
|
// EXTERNAL MODULE: external "vue"
|
|
7866
|
-
var external_vue_ = __webpack_require__(
|
|
7883
|
+
var external_vue_ = __webpack_require__(9);
|
|
7867
7884
|
var external_vue_default = /*#__PURE__*/__webpack_require__.n(external_vue_);
|
|
7868
7885
|
|
|
7869
7886
|
// CONCATENATED MODULE: ./src/utils/bus.js
|
|
@@ -11693,7 +11710,7 @@ mainvue_type_template_id_19392db6_render._withStripped = true
|
|
|
11693
11710
|
// CONCATENATED MODULE: ./packages/dialog/src/main.vue?vue&type=template&id=19392db6&
|
|
11694
11711
|
|
|
11695
11712
|
// EXTERNAL MODULE: external "wujie-vue2"
|
|
11696
|
-
var external_wujie_vue2_ = __webpack_require__(
|
|
11713
|
+
var external_wujie_vue2_ = __webpack_require__(10);
|
|
11697
11714
|
var external_wujie_vue2_default = /*#__PURE__*/__webpack_require__.n(external_wujie_vue2_);
|
|
11698
11715
|
|
|
11699
11716
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/main.vue?vue&type=script&lang=js&
|
|
@@ -12507,8 +12524,8 @@ error_page_src_main.install = function (Vue) {
|
|
|
12507
12524
|
};
|
|
12508
12525
|
|
|
12509
12526
|
/* harmony default export */ var error_page = (error_page_src_main);
|
|
12510
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=
|
|
12511
|
-
var
|
|
12527
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=34321f7c&
|
|
12528
|
+
var mainvue_type_template_id_34321f7c_render = function () {
|
|
12512
12529
|
var _vm = this
|
|
12513
12530
|
var _h = _vm.$createElement
|
|
12514
12531
|
var _c = _vm._self._c || _h
|
|
@@ -12686,6 +12703,14 @@ var mainvue_type_template_id_7c42d088_render = function () {
|
|
|
12686
12703
|
{
|
|
12687
12704
|
contents:
|
|
12688
12705
|
item.label,
|
|
12706
|
+
event:
|
|
12707
|
+
item
|
|
12708
|
+
.label
|
|
12709
|
+
.event,
|
|
12710
|
+
events:
|
|
12711
|
+
item
|
|
12712
|
+
.label
|
|
12713
|
+
.events,
|
|
12689
12714
|
},
|
|
12690
12715
|
}
|
|
12691
12716
|
)
|
|
@@ -13193,6 +13218,14 @@ var mainvue_type_template_id_7c42d088_render = function () {
|
|
|
13193
13218
|
slot: "label",
|
|
13194
13219
|
contents:
|
|
13195
13220
|
item.label,
|
|
13221
|
+
event:
|
|
13222
|
+
item
|
|
13223
|
+
.label
|
|
13224
|
+
.event,
|
|
13225
|
+
events:
|
|
13226
|
+
item
|
|
13227
|
+
.label
|
|
13228
|
+
.events,
|
|
13196
13229
|
plain:
|
|
13197
13230
|
item.plain ||
|
|
13198
13231
|
item.name ===
|
|
@@ -14343,6 +14376,16 @@ var mainvue_type_template_id_7c42d088_render = function () {
|
|
|
14343
14376
|
_vm.disabled ||
|
|
14344
14377
|
inline.disabled,
|
|
14345
14378
|
},
|
|
14379
|
+
on: {
|
|
14380
|
+
click:
|
|
14381
|
+
function (
|
|
14382
|
+
$event
|
|
14383
|
+
) {
|
|
14384
|
+
_vm.handleClick(
|
|
14385
|
+
inline
|
|
14386
|
+
)
|
|
14387
|
+
},
|
|
14388
|
+
},
|
|
14346
14389
|
},
|
|
14347
14390
|
"es-button",
|
|
14348
14391
|
_vm.handleExclAttribute(
|
|
@@ -14351,6 +14394,7 @@ var mainvue_type_template_id_7c42d088_render = function () {
|
|
|
14351
14394
|
attrs:
|
|
14352
14395
|
[
|
|
14353
14396
|
"disabled",
|
|
14397
|
+
"type",
|
|
14354
14398
|
],
|
|
14355
14399
|
}
|
|
14356
14400
|
),
|
|
@@ -15808,6 +15852,9 @@ var mainvue_type_template_id_7c42d088_render = function () {
|
|
|
15808
15852
|
attrs: {
|
|
15809
15853
|
slot: "label",
|
|
15810
15854
|
contents: item.label,
|
|
15855
|
+
event: item.label.event,
|
|
15856
|
+
events:
|
|
15857
|
+
item.label.events,
|
|
15811
15858
|
plain:
|
|
15812
15859
|
item.plain ||
|
|
15813
15860
|
item.name ===
|
|
@@ -16772,6 +16819,16 @@ var mainvue_type_template_id_7c42d088_render = function () {
|
|
|
16772
16819
|
_vm.disabled ||
|
|
16773
16820
|
inline.disabled,
|
|
16774
16821
|
},
|
|
16822
|
+
on: {
|
|
16823
|
+
click:
|
|
16824
|
+
function (
|
|
16825
|
+
$event
|
|
16826
|
+
) {
|
|
16827
|
+
_vm.handleClick(
|
|
16828
|
+
inline
|
|
16829
|
+
)
|
|
16830
|
+
},
|
|
16831
|
+
},
|
|
16775
16832
|
},
|
|
16776
16833
|
"es-button",
|
|
16777
16834
|
_vm.handleExclAttribute(
|
|
@@ -16780,6 +16837,7 @@ var mainvue_type_template_id_7c42d088_render = function () {
|
|
|
16780
16837
|
attrs:
|
|
16781
16838
|
[
|
|
16782
16839
|
"disabled",
|
|
16840
|
+
"type",
|
|
16783
16841
|
],
|
|
16784
16842
|
}
|
|
16785
16843
|
),
|
|
@@ -18144,6 +18202,14 @@ var mainvue_type_template_id_7c42d088_render = function () {
|
|
|
18144
18202
|
attrs: {
|
|
18145
18203
|
contents:
|
|
18146
18204
|
item.label,
|
|
18205
|
+
event:
|
|
18206
|
+
item
|
|
18207
|
+
.label
|
|
18208
|
+
.event,
|
|
18209
|
+
events:
|
|
18210
|
+
item
|
|
18211
|
+
.label
|
|
18212
|
+
.events,
|
|
18147
18213
|
},
|
|
18148
18214
|
}
|
|
18149
18215
|
)
|
|
@@ -18633,6 +18699,12 @@ var mainvue_type_template_id_7c42d088_render = function () {
|
|
|
18633
18699
|
slot: "label",
|
|
18634
18700
|
contents:
|
|
18635
18701
|
item.label,
|
|
18702
|
+
event:
|
|
18703
|
+
item.label
|
|
18704
|
+
.event,
|
|
18705
|
+
events:
|
|
18706
|
+
item.label
|
|
18707
|
+
.events,
|
|
18636
18708
|
plain:
|
|
18637
18709
|
item.plain ||
|
|
18638
18710
|
item.name ===
|
|
@@ -19695,6 +19767,16 @@ var mainvue_type_template_id_7c42d088_render = function () {
|
|
|
19695
19767
|
_vm.disabled ||
|
|
19696
19768
|
inline.disabled,
|
|
19697
19769
|
},
|
|
19770
|
+
on: {
|
|
19771
|
+
click:
|
|
19772
|
+
function (
|
|
19773
|
+
$event
|
|
19774
|
+
) {
|
|
19775
|
+
_vm.handleClick(
|
|
19776
|
+
inline
|
|
19777
|
+
)
|
|
19778
|
+
},
|
|
19779
|
+
},
|
|
19698
19780
|
},
|
|
19699
19781
|
"es-button",
|
|
19700
19782
|
_vm.handleExclAttribute(
|
|
@@ -19703,6 +19785,7 @@ var mainvue_type_template_id_7c42d088_render = function () {
|
|
|
19703
19785
|
attrs:
|
|
19704
19786
|
[
|
|
19705
19787
|
"disabled",
|
|
19788
|
+
"type",
|
|
19706
19789
|
],
|
|
19707
19790
|
}
|
|
19708
19791
|
),
|
|
@@ -21084,6 +21167,8 @@ var mainvue_type_template_id_7c42d088_render = function () {
|
|
|
21084
21167
|
attrs: {
|
|
21085
21168
|
slot: "label",
|
|
21086
21169
|
contents: item.label,
|
|
21170
|
+
event: item.label.event,
|
|
21171
|
+
events: item.label.events,
|
|
21087
21172
|
plain:
|
|
21088
21173
|
item.plain ||
|
|
21089
21174
|
item.name === undefined,
|
|
@@ -21931,6 +22016,16 @@ var mainvue_type_template_id_7c42d088_render = function () {
|
|
|
21931
22016
|
_vm.disabled ||
|
|
21932
22017
|
inline.disabled,
|
|
21933
22018
|
},
|
|
22019
|
+
on: {
|
|
22020
|
+
click:
|
|
22021
|
+
function (
|
|
22022
|
+
$event
|
|
22023
|
+
) {
|
|
22024
|
+
_vm.handleClick(
|
|
22025
|
+
inline
|
|
22026
|
+
)
|
|
22027
|
+
},
|
|
22028
|
+
},
|
|
21934
22029
|
},
|
|
21935
22030
|
"es-button",
|
|
21936
22031
|
_vm.handleExclAttribute(
|
|
@@ -21939,6 +22034,7 @@ var mainvue_type_template_id_7c42d088_render = function () {
|
|
|
21939
22034
|
attrs:
|
|
21940
22035
|
[
|
|
21941
22036
|
"disabled",
|
|
22037
|
+
"type",
|
|
21942
22038
|
],
|
|
21943
22039
|
}
|
|
21944
22040
|
),
|
|
@@ -23274,11 +23370,11 @@ var mainvue_type_template_id_7c42d088_render = function () {
|
|
|
23274
23370
|
)
|
|
23275
23371
|
: _vm._e()
|
|
23276
23372
|
}
|
|
23277
|
-
var
|
|
23278
|
-
|
|
23373
|
+
var mainvue_type_template_id_34321f7c_staticRenderFns = []
|
|
23374
|
+
mainvue_type_template_id_34321f7c_render._withStripped = true
|
|
23279
23375
|
|
|
23280
23376
|
|
|
23281
|
-
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=
|
|
23377
|
+
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=34321f7c&
|
|
23282
23378
|
|
|
23283
23379
|
// CONCATENATED MODULE: ./src/utils/rules.js
|
|
23284
23380
|
// 手机号
|
|
@@ -27120,6 +27216,22 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
27120
27216
|
//
|
|
27121
27217
|
//
|
|
27122
27218
|
//
|
|
27219
|
+
//
|
|
27220
|
+
//
|
|
27221
|
+
//
|
|
27222
|
+
//
|
|
27223
|
+
//
|
|
27224
|
+
//
|
|
27225
|
+
//
|
|
27226
|
+
//
|
|
27227
|
+
//
|
|
27228
|
+
//
|
|
27229
|
+
//
|
|
27230
|
+
//
|
|
27231
|
+
//
|
|
27232
|
+
//
|
|
27233
|
+
//
|
|
27234
|
+
//
|
|
27123
27235
|
|
|
27124
27236
|
|
|
27125
27237
|
|
|
@@ -27769,7 +27881,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
27769
27881
|
switch (_context.prev = _context.next) {
|
|
27770
27882
|
case 0:
|
|
27771
27883
|
if (valid) {
|
|
27772
|
-
res.event(res, _this7.models);
|
|
27884
|
+
res.event(res, _this7.models, index);
|
|
27773
27885
|
} else {
|
|
27774
27886
|
_this7.setScroll(valid, triggers, _this7.$refs.scrollbar);
|
|
27775
27887
|
}
|
|
@@ -27787,7 +27899,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
27787
27899
|
};
|
|
27788
27900
|
}());
|
|
27789
27901
|
} else {
|
|
27790
|
-
res.event(res, this.models);
|
|
27902
|
+
res.event(res, this.models, index);
|
|
27791
27903
|
}
|
|
27792
27904
|
} else if (res.type === 'step') {
|
|
27793
27905
|
if (this.stepActive < index) {
|
|
@@ -28330,8 +28442,8 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
28330
28442
|
|
|
28331
28443
|
var form_src_main_component = normalizeComponent(
|
|
28332
28444
|
packages_form_src_mainvue_type_script_lang_js_,
|
|
28333
|
-
|
|
28334
|
-
|
|
28445
|
+
mainvue_type_template_id_34321f7c_render,
|
|
28446
|
+
mainvue_type_template_id_34321f7c_staticRenderFns,
|
|
28335
28447
|
false,
|
|
28336
28448
|
null,
|
|
28337
28449
|
null,
|
|
@@ -43026,7 +43138,7 @@ mainvue_type_template_id_32c03886_render._withStripped = true
|
|
|
43026
43138
|
// CONCATENATED MODULE: ./packages/icons/src/main.vue?vue&type=template&id=32c03886&
|
|
43027
43139
|
|
|
43028
43140
|
// EXTERNAL MODULE: ./packages/icons/src/icon.json
|
|
43029
|
-
var icon = __webpack_require__(
|
|
43141
|
+
var icon = __webpack_require__(11);
|
|
43030
43142
|
|
|
43031
43143
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/icons/src/main.vue?vue&type=script&lang=js&
|
|
43032
43144
|
//
|
|
@@ -43607,7 +43719,9 @@ var label_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
43607
43719
|
type: String,
|
|
43608
43720
|
default: '120px'
|
|
43609
43721
|
},
|
|
43610
|
-
plain: Boolean
|
|
43722
|
+
plain: Boolean,
|
|
43723
|
+
events: Object,
|
|
43724
|
+
event: Function
|
|
43611
43725
|
},
|
|
43612
43726
|
computed: {
|
|
43613
43727
|
isRequired: function isRequired() {
|
|
@@ -43633,7 +43747,27 @@ var label_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
43633
43747
|
};
|
|
43634
43748
|
},
|
|
43635
43749
|
mounted: function mounted() {},
|
|
43750
|
+
|
|
43751
|
+
methods: {
|
|
43752
|
+
handleClick: function handleClick(e, type, obj) {
|
|
43753
|
+
e.stopPropagation();
|
|
43754
|
+
e.preventDefault();
|
|
43755
|
+
if (type) {
|
|
43756
|
+
if (this.events && this.events[type] && typeof this.events[type] === 'function') {
|
|
43757
|
+
var _events;
|
|
43758
|
+
|
|
43759
|
+
var params = obj ? [obj, e] : [e];
|
|
43760
|
+
(_events = this.events)[type].apply(_events, params);
|
|
43761
|
+
}
|
|
43762
|
+
} else {
|
|
43763
|
+
this.event && this.event(this, e);
|
|
43764
|
+
this.$emit('click', this, e);
|
|
43765
|
+
}
|
|
43766
|
+
}
|
|
43767
|
+
},
|
|
43636
43768
|
render: function render(h) {
|
|
43769
|
+
var _this = this;
|
|
43770
|
+
|
|
43637
43771
|
var i = 0;
|
|
43638
43772
|
var doms = [];
|
|
43639
43773
|
if (!this.hide) {
|
|
@@ -43647,21 +43781,43 @@ var label_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
43647
43781
|
if (this.icon) {
|
|
43648
43782
|
if (this.icon.indexOf('es-icon-') > -1 || this.icon.indexOf('el-icon-') > -1) {
|
|
43649
43783
|
doms.push(h('i', {
|
|
43650
|
-
class: this.icon
|
|
43784
|
+
class: [this.icon, this.events && this.events['icon'] ? 'es-pointer' : ''],
|
|
43785
|
+
on: {
|
|
43786
|
+
click: function click(e) {
|
|
43787
|
+
_this.handleClick(e, 'icon');
|
|
43788
|
+
}
|
|
43789
|
+
}
|
|
43651
43790
|
}));
|
|
43652
43791
|
} else if (this.icon.indexOf('&#') > -1) {
|
|
43653
|
-
doms.push(h('i', {
|
|
43792
|
+
doms.push(h('i', {
|
|
43793
|
+
class: ['es-label-icon', 'es-icons', this.events && this.events['icon'] ? 'es-pointer' : ''],
|
|
43794
|
+
on: {
|
|
43795
|
+
click: function click(e) {
|
|
43796
|
+
_this.handleClick(e, 'icon');
|
|
43797
|
+
}
|
|
43798
|
+
}
|
|
43799
|
+
}, [this.icon]));
|
|
43654
43800
|
} else {
|
|
43655
43801
|
doms.push(h('el-icon', {
|
|
43656
|
-
class: 'es-label-icon',
|
|
43657
|
-
props: { name: this.icon }
|
|
43802
|
+
class: ['es-label-icon', this.events && this.events['icon'] ? 'es-pointer' : ''],
|
|
43803
|
+
props: { name: this.icon },
|
|
43804
|
+
on: {
|
|
43805
|
+
click: function click(e) {
|
|
43806
|
+
_this.handleClick(e, 'icon');
|
|
43807
|
+
}
|
|
43808
|
+
}
|
|
43658
43809
|
}));
|
|
43659
43810
|
}
|
|
43660
43811
|
}
|
|
43661
43812
|
if (this.image || this.img) {
|
|
43662
43813
|
doms.push(h('img', {
|
|
43663
|
-
class: 'es-label-img',
|
|
43664
|
-
attrs: { src: this.image || this.img }
|
|
43814
|
+
class: ['es-label-img', this.events && (this.events['image'] || this.events['img']) ? 'es-pointer' : ''],
|
|
43815
|
+
attrs: { src: this.image || this.img },
|
|
43816
|
+
on: {
|
|
43817
|
+
click: function click(e) {
|
|
43818
|
+
_this.handleClick(e, _this.image ? 'image' : 'img');
|
|
43819
|
+
}
|
|
43820
|
+
}
|
|
43665
43821
|
}));
|
|
43666
43822
|
}
|
|
43667
43823
|
if (this.tips) {
|
|
@@ -43698,27 +43854,54 @@ var label_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
43698
43854
|
case 'icon':
|
|
43699
43855
|
if (this.contents[_i].indexOf('es-icon-') > -1 || this.contents[_i].indexOf('el-icon-') > -1) {
|
|
43700
43856
|
doms.push(h('i', {
|
|
43701
|
-
class: this.contents[_i]
|
|
43857
|
+
class: [this.contents[_i], this.events && this.events['icon'] ? 'es-pointer' : ''],
|
|
43858
|
+
on: {
|
|
43859
|
+
click: function click(e) {
|
|
43860
|
+
_this.handleClick(e, 'icon');
|
|
43861
|
+
}
|
|
43862
|
+
}
|
|
43702
43863
|
}));
|
|
43703
43864
|
} else if (this.contents[_i].indexOf('&#') > -1) {
|
|
43704
|
-
doms.push(h('i', {
|
|
43865
|
+
doms.push(h('i', {
|
|
43866
|
+
class: ['es-label-icon', 'es-icons', this.events && this.events['icon'] ? 'es-pointer' : ''],
|
|
43867
|
+
on: {
|
|
43868
|
+
click: function click(e) {
|
|
43869
|
+
_this.handleClick(e, 'icon');
|
|
43870
|
+
}
|
|
43871
|
+
}
|
|
43872
|
+
}, [this.contents[_i]]));
|
|
43705
43873
|
} else {
|
|
43706
43874
|
doms.push(h('el-icon', {
|
|
43707
|
-
class: 'es-label-icon',
|
|
43708
|
-
props: { name: this.contents[_i] }
|
|
43875
|
+
class: ['es-label-icon', this.events && this.events['icon'] ? 'es-pointer' : ''],
|
|
43876
|
+
props: { name: this.contents[_i] },
|
|
43877
|
+
on: {
|
|
43878
|
+
click: function click(e) {
|
|
43879
|
+
_this.handleClick(e, 'icon');
|
|
43880
|
+
}
|
|
43881
|
+
}
|
|
43709
43882
|
}));
|
|
43710
43883
|
}
|
|
43711
43884
|
break;
|
|
43712
43885
|
case 'img':
|
|
43713
43886
|
doms.push(h('img', {
|
|
43714
|
-
class: 'es-label-img',
|
|
43715
|
-
attrs: { src: this.contents[_i] }
|
|
43887
|
+
class: ['es-label-img', this.events && this.events['img'] ? 'es-pointer' : ''],
|
|
43888
|
+
attrs: { src: this.contents[_i] },
|
|
43889
|
+
on: {
|
|
43890
|
+
click: function click(e) {
|
|
43891
|
+
_this.handleClick(e, 'img');
|
|
43892
|
+
}
|
|
43893
|
+
}
|
|
43716
43894
|
}));
|
|
43717
43895
|
break;
|
|
43718
43896
|
case 'image':
|
|
43719
43897
|
doms.push(h('img', {
|
|
43720
|
-
class: 'es-label-img',
|
|
43721
|
-
attrs: { src: this.contents[_i] }
|
|
43898
|
+
class: ['es-label-img', this.events && this.events['image'] ? 'es-pointer' : ''],
|
|
43899
|
+
attrs: { src: this.contents[_i] },
|
|
43900
|
+
on: {
|
|
43901
|
+
click: function click(e) {
|
|
43902
|
+
_this.handleClick(e, 'img');
|
|
43903
|
+
}
|
|
43904
|
+
}
|
|
43722
43905
|
}));
|
|
43723
43906
|
break;
|
|
43724
43907
|
case 'tips':
|
|
@@ -43759,7 +43942,10 @@ var label_src_mainvue_type_script_lang_js_extends = Object.assign || function (t
|
|
|
43759
43942
|
if (this.plain) {
|
|
43760
43943
|
doms.push(':');
|
|
43761
43944
|
}
|
|
43762
|
-
return h('span', {
|
|
43945
|
+
return h('span', {
|
|
43946
|
+
class: { 'es-label': true, 'es-is-required': this.isRequired },
|
|
43947
|
+
on: { click: this.handleClick }
|
|
43948
|
+
}, doms);
|
|
43763
43949
|
} else {
|
|
43764
43950
|
return '';
|
|
43765
43951
|
}
|
|
@@ -43795,25 +43981,225 @@ label_src_main.install = function (Vue) {
|
|
|
43795
43981
|
};
|
|
43796
43982
|
|
|
43797
43983
|
/* harmony default export */ var packages_label = (label_src_main);
|
|
43798
|
-
// 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=
|
|
43799
|
-
var
|
|
43984
|
+
// 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&
|
|
43985
|
+
var mainvue_type_template_id_6868aa00_render = function () {
|
|
43800
43986
|
var _vm = this
|
|
43801
43987
|
var _h = _vm.$createElement
|
|
43802
43988
|
var _c = _vm._self._c || _h
|
|
43803
|
-
return _c(
|
|
43989
|
+
return _c(
|
|
43990
|
+
"div",
|
|
43991
|
+
{ staticClass: "es-layout" },
|
|
43992
|
+
[_c("layout-item"), _c("layout-item", { attrs: { top: "100px" } })],
|
|
43993
|
+
1
|
|
43994
|
+
)
|
|
43995
|
+
}
|
|
43996
|
+
var mainvue_type_template_id_6868aa00_staticRenderFns = []
|
|
43997
|
+
mainvue_type_template_id_6868aa00_render._withStripped = true
|
|
43998
|
+
|
|
43999
|
+
|
|
44000
|
+
// CONCATENATED MODULE: ./packages/layout/src/main.vue?vue&type=template&id=6868aa00&
|
|
44001
|
+
|
|
44002
|
+
// 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&
|
|
44003
|
+
var itemvue_type_template_id_4b100112_render = function () {
|
|
44004
|
+
var _vm = this
|
|
44005
|
+
var _h = _vm.$createElement
|
|
44006
|
+
var _c = _vm._self._c || _h
|
|
44007
|
+
return _c(
|
|
44008
|
+
"div",
|
|
44009
|
+
{
|
|
44010
|
+
ref: "move",
|
|
44011
|
+
staticClass: "es-layout-item",
|
|
44012
|
+
class: _vm.defaultClasss,
|
|
44013
|
+
style: _vm.defaultaStyle,
|
|
44014
|
+
},
|
|
44015
|
+
[
|
|
44016
|
+
_c("es-card"),
|
|
44017
|
+
_c("div", { staticClass: "es-layout-resizable-width" }),
|
|
44018
|
+
_c("div", { staticClass: "es-layout-resizable-height" }),
|
|
44019
|
+
_c("div", { staticClass: "es-layout-resizable" }),
|
|
44020
|
+
],
|
|
44021
|
+
1
|
|
44022
|
+
)
|
|
43804
44023
|
}
|
|
43805
|
-
var
|
|
43806
|
-
|
|
44024
|
+
var itemvue_type_template_id_4b100112_staticRenderFns = []
|
|
44025
|
+
itemvue_type_template_id_4b100112_render._withStripped = true
|
|
44026
|
+
|
|
44027
|
+
|
|
44028
|
+
// CONCATENATED MODULE: ./packages/layout/src/item.vue?vue&type=template&id=4b100112&
|
|
44029
|
+
|
|
44030
|
+
// EXTERNAL MODULE: external "interactjs"
|
|
44031
|
+
var external_interactjs_ = __webpack_require__(6);
|
|
44032
|
+
var external_interactjs_default = /*#__PURE__*/__webpack_require__.n(external_interactjs_);
|
|
44033
|
+
|
|
44034
|
+
// 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&
|
|
44035
|
+
//
|
|
44036
|
+
//
|
|
44037
|
+
//
|
|
44038
|
+
//
|
|
44039
|
+
//
|
|
44040
|
+
//
|
|
44041
|
+
//
|
|
44042
|
+
//
|
|
44043
|
+
//
|
|
44044
|
+
//
|
|
44045
|
+
//
|
|
44046
|
+
//
|
|
44047
|
+
//
|
|
43807
44048
|
|
|
44049
|
+
// import '@interactjs/auto-start';
|
|
44050
|
+
// import '@interactjs/auto-scroll';
|
|
44051
|
+
// import '@interactjs/actions/drag';
|
|
44052
|
+
// import '@interactjs/actions/resize';
|
|
44053
|
+
// import '@interactjs/modifiers';
|
|
44054
|
+
// import '@interactjs/dev-tools';
|
|
43808
44055
|
|
|
43809
|
-
|
|
44056
|
+
/* harmony default export */ var itemvue_type_script_lang_js_ = ({
|
|
44057
|
+
name: 'LayoutItem',
|
|
44058
|
+
components: {},
|
|
44059
|
+
props: {
|
|
44060
|
+
redact: {
|
|
44061
|
+
type: Boolean,
|
|
44062
|
+
default: true
|
|
44063
|
+
},
|
|
44064
|
+
width: {
|
|
44065
|
+
type: String,
|
|
44066
|
+
default: '100%'
|
|
44067
|
+
},
|
|
44068
|
+
height: {
|
|
44069
|
+
type: String,
|
|
44070
|
+
default: '100px'
|
|
44071
|
+
},
|
|
44072
|
+
left: String,
|
|
44073
|
+
top: String,
|
|
44074
|
+
index: Number
|
|
44075
|
+
},
|
|
44076
|
+
computed: {
|
|
44077
|
+
defaultClasss: function defaultClasss() {
|
|
44078
|
+
return {
|
|
44079
|
+
'es-dragging': this.dragging
|
|
44080
|
+
};
|
|
44081
|
+
},
|
|
44082
|
+
defaultaStyle: function defaultaStyle() {
|
|
44083
|
+
return {
|
|
44084
|
+
width: this.width,
|
|
44085
|
+
height: this.height,
|
|
44086
|
+
left: this.left,
|
|
44087
|
+
top: this.top
|
|
44088
|
+
};
|
|
44089
|
+
},
|
|
44090
|
+
cardStyle: function cardStyle() {
|
|
44091
|
+
return {
|
|
44092
|
+
width: this.width,
|
|
44093
|
+
height: this.height
|
|
44094
|
+
};
|
|
44095
|
+
}
|
|
44096
|
+
},
|
|
44097
|
+
watch: {},
|
|
44098
|
+
data: function data() {
|
|
44099
|
+
return {
|
|
44100
|
+
position: { x: 0, y: 0 },
|
|
44101
|
+
interaction: null,
|
|
44102
|
+
dragging: false
|
|
44103
|
+
};
|
|
44104
|
+
},
|
|
44105
|
+
created: function created() {
|
|
44106
|
+
this.position = {
|
|
44107
|
+
x: parseInt(this.left) || 0,
|
|
44108
|
+
y: parseInt(this.top) || 0
|
|
44109
|
+
};
|
|
44110
|
+
console.log(this.position);
|
|
44111
|
+
},
|
|
44112
|
+
mounted: function mounted() {
|
|
44113
|
+
var _this = this;
|
|
44114
|
+
|
|
44115
|
+
console.log(this.$parent.$el.offsetWidth);
|
|
44116
|
+
this.interaction = external_interactjs_default()(this.$refs.move);
|
|
44117
|
+
this.interaction.draggable({
|
|
44118
|
+
modifiers: [external_interactjs_default.a.modifiers.restrictRect({
|
|
44119
|
+
restriction: 'parent',
|
|
44120
|
+
endOnly: false
|
|
44121
|
+
})],
|
|
44122
|
+
listeners: {
|
|
44123
|
+
start: function start(event) {
|
|
44124
|
+
_this.dragging = true;
|
|
44125
|
+
console.log(event.type, event.target, 111);
|
|
44126
|
+
},
|
|
44127
|
+
move: function move(event) {
|
|
44128
|
+
_this.position.x += event.dx;
|
|
44129
|
+
_this.position.y += event.dy;
|
|
44130
|
+
event.target.style.transform = 'translate(' + _this.position.x + 'px, ' + _this.position.y + 'px)';
|
|
44131
|
+
},
|
|
44132
|
+
end: function end(event) {
|
|
44133
|
+
_this.dragging = false;
|
|
44134
|
+
console.log(event.type, event.target, 222);
|
|
44135
|
+
}
|
|
44136
|
+
}
|
|
44137
|
+
});
|
|
44138
|
+
this.interaction.resizable({
|
|
44139
|
+
modifiers: [external_interactjs_default.a.modifiers.restrictSize({
|
|
44140
|
+
min: { width: 100, height: 100 },
|
|
44141
|
+
max: { width: this.$parent.$el.offsetWidth }
|
|
44142
|
+
})],
|
|
44143
|
+
edges: { top: true, left: true, bottom: true, right: true },
|
|
44144
|
+
listeners: {
|
|
44145
|
+
move: function move(event) {
|
|
44146
|
+
var _event$target$dataset = event.target.dataset,
|
|
44147
|
+
x = _event$target$dataset.x,
|
|
44148
|
+
y = _event$target$dataset.y;
|
|
44149
|
+
|
|
44150
|
+
|
|
44151
|
+
x = (parseFloat(x) || 0) + event.deltaRect.left;
|
|
44152
|
+
y = (parseFloat(y) || 0) + event.deltaRect.top;
|
|
44153
|
+
|
|
44154
|
+
Object.assign(event.target.style, {
|
|
44155
|
+
width: event.rect.width + 'px',
|
|
44156
|
+
height: event.rect.height + 'px',
|
|
44157
|
+
transform: 'translate(' + x + 'px, ' + y + 'px)'
|
|
44158
|
+
});
|
|
43810
44159
|
|
|
44160
|
+
Object.assign(event.target.dataset, { x: x, y: y });
|
|
44161
|
+
}
|
|
44162
|
+
}
|
|
44163
|
+
});
|
|
44164
|
+
},
|
|
44165
|
+
|
|
44166
|
+
methods: {},
|
|
44167
|
+
beforeDestroy: function beforeDestroy() {}
|
|
44168
|
+
});
|
|
44169
|
+
// CONCATENATED MODULE: ./packages/layout/src/item.vue?vue&type=script&lang=js&
|
|
44170
|
+
/* harmony default export */ var src_itemvue_type_script_lang_js_ = (itemvue_type_script_lang_js_);
|
|
44171
|
+
// CONCATENATED MODULE: ./packages/layout/src/item.vue
|
|
44172
|
+
|
|
44173
|
+
|
|
44174
|
+
|
|
44175
|
+
|
|
44176
|
+
|
|
44177
|
+
/* normalize component */
|
|
44178
|
+
|
|
44179
|
+
var item_component = normalizeComponent(
|
|
44180
|
+
src_itemvue_type_script_lang_js_,
|
|
44181
|
+
itemvue_type_template_id_4b100112_render,
|
|
44182
|
+
itemvue_type_template_id_4b100112_staticRenderFns,
|
|
44183
|
+
false,
|
|
44184
|
+
null,
|
|
44185
|
+
null,
|
|
44186
|
+
null
|
|
44187
|
+
|
|
44188
|
+
)
|
|
44189
|
+
|
|
44190
|
+
/* harmony default export */ var src_item = (item_component.exports);
|
|
43811
44191
|
// 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&
|
|
43812
44192
|
//
|
|
44193
|
+
//
|
|
44194
|
+
//
|
|
44195
|
+
//
|
|
44196
|
+
//
|
|
44197
|
+
//
|
|
44198
|
+
|
|
43813
44199
|
|
|
43814
44200
|
/* harmony default export */ var layout_src_mainvue_type_script_lang_js_ = ({
|
|
43815
44201
|
name: 'EsLayout',
|
|
43816
|
-
components: {},
|
|
44202
|
+
components: { layoutItem: src_item },
|
|
43817
44203
|
props: {},
|
|
43818
44204
|
computed: {},
|
|
43819
44205
|
watch: {},
|
|
@@ -43838,8 +44224,8 @@ mainvue_type_template_id_32d774ac_render._withStripped = true
|
|
|
43838
44224
|
|
|
43839
44225
|
var layout_src_main_component = normalizeComponent(
|
|
43840
44226
|
packages_layout_src_mainvue_type_script_lang_js_,
|
|
43841
|
-
|
|
43842
|
-
|
|
44227
|
+
mainvue_type_template_id_6868aa00_render,
|
|
44228
|
+
mainvue_type_template_id_6868aa00_staticRenderFns,
|
|
43843
44229
|
false,
|
|
43844
44230
|
null,
|
|
43845
44231
|
null,
|
|
@@ -48528,7 +48914,7 @@ async_componentvue_type_template_id_51f0233c_scoped_true_render._withStripped =
|
|
|
48528
48914
|
// CONCATENATED MODULE: ./packages/main/src/async-component/index.vue?vue&type=template&id=51f0233c&scoped=true&
|
|
48529
48915
|
|
|
48530
48916
|
// EXTERNAL MODULE: external "runtime-import"
|
|
48531
|
-
var external_runtime_import_ = __webpack_require__(
|
|
48917
|
+
var external_runtime_import_ = __webpack_require__(12);
|
|
48532
48918
|
|
|
48533
48919
|
// 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&
|
|
48534
48920
|
|
|
@@ -48680,11 +49066,11 @@ var async_component_component = normalizeComponent(
|
|
|
48680
49066
|
|
|
48681
49067
|
/* harmony default export */ var async_component = (async_component_component.exports);
|
|
48682
49068
|
// EXTERNAL MODULE: external "sockjs-client"
|
|
48683
|
-
var external_sockjs_client_ = __webpack_require__(
|
|
49069
|
+
var external_sockjs_client_ = __webpack_require__(13);
|
|
48684
49070
|
var external_sockjs_client_default = /*#__PURE__*/__webpack_require__.n(external_sockjs_client_);
|
|
48685
49071
|
|
|
48686
49072
|
// EXTERNAL MODULE: external "stompjs"
|
|
48687
|
-
var external_stompjs_ = __webpack_require__(
|
|
49073
|
+
var external_stompjs_ = __webpack_require__(14);
|
|
48688
49074
|
var external_stompjs_default = /*#__PURE__*/__webpack_require__.n(external_stompjs_);
|
|
48689
49075
|
|
|
48690
49076
|
// 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&
|
|
@@ -52525,15 +52911,15 @@ mainvue_type_template_id_29c1659e_render._withStripped = true
|
|
|
52525
52911
|
// CONCATENATED MODULE: ./packages/player/src/main.vue?vue&type=template&id=29c1659e&
|
|
52526
52912
|
|
|
52527
52913
|
// EXTERNAL MODULE: external "video.js"
|
|
52528
|
-
var external_video_js_ = __webpack_require__(
|
|
52914
|
+
var external_video_js_ = __webpack_require__(7);
|
|
52529
52915
|
var external_video_js_default = /*#__PURE__*/__webpack_require__.n(external_video_js_);
|
|
52530
52916
|
|
|
52531
52917
|
// EXTERNAL MODULE: external "video.js/dist/lang/zh-CN.json"
|
|
52532
|
-
var zh_CN_json_ = __webpack_require__(
|
|
52918
|
+
var zh_CN_json_ = __webpack_require__(15);
|
|
52533
52919
|
var zh_CN_json_default = /*#__PURE__*/__webpack_require__.n(zh_CN_json_);
|
|
52534
52920
|
|
|
52535
52921
|
// EXTERNAL MODULE: external "video.js/dist/video-js.css"
|
|
52536
|
-
var video_js_css_ = __webpack_require__(
|
|
52922
|
+
var video_js_css_ = __webpack_require__(20);
|
|
52537
52923
|
|
|
52538
52924
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/player/src/main.vue?vue&type=script&lang=js&
|
|
52539
52925
|
var player_src_mainvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
@@ -52824,7 +53210,7 @@ mainvue_type_template_id_31151606_render._withStripped = true
|
|
|
52824
53210
|
//
|
|
52825
53211
|
|
|
52826
53212
|
|
|
52827
|
-
var QRCode = __webpack_require__(
|
|
53213
|
+
var QRCode = __webpack_require__(21);
|
|
52828
53214
|
/* harmony default export */ var qr_code_src_mainvue_type_script_lang_js_ = ({
|
|
52829
53215
|
name: 'EsQrCode',
|
|
52830
53216
|
props: {
|
|
@@ -53908,7 +54294,7 @@ retrial_auth_src_main.install = function (Vue) {
|
|
|
53908
54294
|
|
|
53909
54295
|
/* harmony default export */ var retrial_auth = (retrial_auth_src_main);
|
|
53910
54296
|
// EXTERNAL MODULE: external "slate"
|
|
53911
|
-
var external_slate_ = __webpack_require__(
|
|
54297
|
+
var external_slate_ = __webpack_require__(22);
|
|
53912
54298
|
|
|
53913
54299
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/select/src/main.vue?vue&type=script&lang=js&
|
|
53914
54300
|
var select_src_mainvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
@@ -55703,7 +56089,7 @@ mainvue_type_template_id_71e1a8ee_render._withStripped = true
|
|
|
55703
56089
|
// CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=71e1a8ee&
|
|
55704
56090
|
|
|
55705
56091
|
// EXTERNAL MODULE: external "eoss-element/src/utils/clickoutside"
|
|
55706
|
-
var clickoutside_ = __webpack_require__(
|
|
56092
|
+
var clickoutside_ = __webpack_require__(16);
|
|
55707
56093
|
var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
55708
56094
|
|
|
55709
56095
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/main.vue?vue&type=script&lang=js&
|
|
@@ -57008,7 +57394,7 @@ selectionvue_type_template_id_66e09547_render._withStripped = true
|
|
|
57008
57394
|
// CONCATENATED MODULE: ./packages/selector-panel/src/selection.vue?vue&type=template&id=66e09547&
|
|
57009
57395
|
|
|
57010
57396
|
// EXTERNAL MODULE: external "sortablejs"
|
|
57011
|
-
var external_sortablejs_ = __webpack_require__(
|
|
57397
|
+
var external_sortablejs_ = __webpack_require__(17);
|
|
57012
57398
|
var external_sortablejs_default = /*#__PURE__*/__webpack_require__.n(external_sortablejs_);
|
|
57013
57399
|
|
|
57014
57400
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector-panel/src/selection.vue?vue&type=script&lang=js&
|
|
@@ -61480,8 +61866,8 @@ tabs_panel_src_main.install = function (Vue) {
|
|
|
61480
61866
|
};
|
|
61481
61867
|
|
|
61482
61868
|
/* harmony default export */ var tabs_panel = (tabs_panel_src_main);
|
|
61483
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tips/src/main.vue?vue&type=template&id=
|
|
61484
|
-
var
|
|
61869
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/tips/src/main.vue?vue&type=template&id=33945f34&
|
|
61870
|
+
var mainvue_type_template_id_33945f34_render = function () {
|
|
61485
61871
|
var _vm = this
|
|
61486
61872
|
var _h = _vm.$createElement
|
|
61487
61873
|
var _c = _vm._self._c || _h
|
|
@@ -61512,17 +61898,18 @@ var mainvue_type_template_id_f9dec32c_render = function () {
|
|
|
61512
61898
|
_vm.icon,
|
|
61513
61899
|
"es-tips" + (_vm.position ? "-" + _vm.position : _vm.position),
|
|
61514
61900
|
],
|
|
61901
|
+
on: { click: _vm.handleClick },
|
|
61515
61902
|
}),
|
|
61516
61903
|
]),
|
|
61517
61904
|
],
|
|
61518
61905
|
2
|
|
61519
61906
|
)
|
|
61520
61907
|
}
|
|
61521
|
-
var
|
|
61522
|
-
|
|
61908
|
+
var mainvue_type_template_id_33945f34_staticRenderFns = []
|
|
61909
|
+
mainvue_type_template_id_33945f34_render._withStripped = true
|
|
61523
61910
|
|
|
61524
61911
|
|
|
61525
|
-
// CONCATENATED MODULE: ./packages/tips/src/main.vue?vue&type=template&id=
|
|
61912
|
+
// CONCATENATED MODULE: ./packages/tips/src/main.vue?vue&type=template&id=33945f34&
|
|
61526
61913
|
|
|
61527
61914
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/tips/src/main.vue?vue&type=script&lang=js&
|
|
61528
61915
|
//
|
|
@@ -61541,6 +61928,7 @@ mainvue_type_template_id_f9dec32c_render._withStripped = true
|
|
|
61541
61928
|
//
|
|
61542
61929
|
//
|
|
61543
61930
|
//
|
|
61931
|
+
//
|
|
61544
61932
|
|
|
61545
61933
|
|
|
61546
61934
|
|
|
@@ -61653,6 +62041,10 @@ mainvue_type_template_id_f9dec32c_render._withStripped = true
|
|
|
61653
62041
|
_this2.$message.error(err.message);
|
|
61654
62042
|
}
|
|
61655
62043
|
});
|
|
62044
|
+
},
|
|
62045
|
+
handleClick: function handleClick(e) {
|
|
62046
|
+
e.stopPropagation();
|
|
62047
|
+
e.preventDefault();
|
|
61656
62048
|
}
|
|
61657
62049
|
}
|
|
61658
62050
|
});
|
|
@@ -61668,8 +62060,8 @@ mainvue_type_template_id_f9dec32c_render._withStripped = true
|
|
|
61668
62060
|
|
|
61669
62061
|
var tips_src_main_component = normalizeComponent(
|
|
61670
62062
|
packages_tips_src_mainvue_type_script_lang_js_,
|
|
61671
|
-
|
|
61672
|
-
|
|
62063
|
+
mainvue_type_template_id_33945f34_render,
|
|
62064
|
+
mainvue_type_template_id_33945f34_staticRenderFns,
|
|
61673
62065
|
false,
|
|
61674
62066
|
null,
|
|
61675
62067
|
null,
|
|
@@ -63703,8 +64095,8 @@ toolbar_src_main.install = function (Vue) {
|
|
|
63703
64095
|
};
|
|
63704
64096
|
|
|
63705
64097
|
/* harmony default export */ var packages_toolbar = (toolbar_src_main);
|
|
63706
|
-
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/table.vue?vue&type=template&id=
|
|
63707
|
-
var
|
|
64098
|
+
// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/table.vue?vue&type=template&id=53078cb5&
|
|
64099
|
+
var tablevue_type_template_id_53078cb5_render = function () {
|
|
63708
64100
|
var _vm = this
|
|
63709
64101
|
var _h = _vm.$createElement
|
|
63710
64102
|
var _c = _vm._self._c || _h
|
|
@@ -63890,6 +64282,8 @@ var tablevue_type_template_id_ccea08f4_render = function () {
|
|
|
63890
64282
|
? _c("es-label", {
|
|
63891
64283
|
attrs: {
|
|
63892
64284
|
contents: item.label,
|
|
64285
|
+
event: item.label.event,
|
|
64286
|
+
events: item.label.events,
|
|
63893
64287
|
plain: item.plain,
|
|
63894
64288
|
rules: item.rules,
|
|
63895
64289
|
},
|
|
@@ -63945,6 +64339,8 @@ var tablevue_type_template_id_ccea08f4_render = function () {
|
|
|
63945
64339
|
? _c("es-label", {
|
|
63946
64340
|
attrs: {
|
|
63947
64341
|
contents: item.text,
|
|
64342
|
+
event: item.label.event,
|
|
64343
|
+
events: item.label.events,
|
|
63948
64344
|
},
|
|
63949
64345
|
})
|
|
63950
64346
|
: _c(
|
|
@@ -64886,6 +65282,16 @@ var tablevue_type_template_id_ccea08f4_render = function () {
|
|
|
64886
65282
|
_vm.isDisabled ||
|
|
64887
65283
|
inline.disabled,
|
|
64888
65284
|
},
|
|
65285
|
+
on: {
|
|
65286
|
+
click:
|
|
65287
|
+
function (
|
|
65288
|
+
$event
|
|
65289
|
+
) {
|
|
65290
|
+
_vm.handleClick(
|
|
65291
|
+
inline
|
|
65292
|
+
)
|
|
65293
|
+
},
|
|
65294
|
+
},
|
|
64889
65295
|
},
|
|
64890
65296
|
"es-button",
|
|
64891
65297
|
_vm.handleExclAttribute(
|
|
@@ -64894,6 +65300,7 @@ var tablevue_type_template_id_ccea08f4_render = function () {
|
|
|
64894
65300
|
attrs:
|
|
64895
65301
|
[
|
|
64896
65302
|
"disabled",
|
|
65303
|
+
"type",
|
|
64897
65304
|
],
|
|
64898
65305
|
}
|
|
64899
65306
|
),
|
|
@@ -66317,11 +66724,11 @@ var tablevue_type_template_id_ccea08f4_render = function () {
|
|
|
66317
66724
|
2
|
|
66318
66725
|
)
|
|
66319
66726
|
}
|
|
66320
|
-
var
|
|
66321
|
-
|
|
66727
|
+
var tablevue_type_template_id_53078cb5_staticRenderFns = []
|
|
66728
|
+
tablevue_type_template_id_53078cb5_render._withStripped = true
|
|
66322
66729
|
|
|
66323
66730
|
|
|
66324
|
-
// CONCATENATED MODULE: ./packages/form/src/table.vue?vue&type=template&id=
|
|
66731
|
+
// CONCATENATED MODULE: ./packages/form/src/table.vue?vue&type=template&id=53078cb5&
|
|
66325
66732
|
|
|
66326
66733
|
// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/table.vue?vue&type=script&lang=js&
|
|
66327
66734
|
//
|
|
@@ -67368,6 +67775,11 @@ tablevue_type_template_id_ccea08f4_render._withStripped = true
|
|
|
67368
67775
|
//
|
|
67369
67776
|
//
|
|
67370
67777
|
//
|
|
67778
|
+
//
|
|
67779
|
+
//
|
|
67780
|
+
//
|
|
67781
|
+
//
|
|
67782
|
+
//
|
|
67371
67783
|
|
|
67372
67784
|
|
|
67373
67785
|
|
|
@@ -67605,7 +68017,7 @@ tablevue_type_template_id_ccea08f4_render._withStripped = true
|
|
|
67605
68017
|
this.cols = widths;
|
|
67606
68018
|
},
|
|
67607
68019
|
handleClick: function handleClick(res) {
|
|
67608
|
-
this.$emit('
|
|
68020
|
+
this.$emit('btnClick', res, this.models);
|
|
67609
68021
|
},
|
|
67610
68022
|
handleChange: function handleChange(res, value, data) {
|
|
67611
68023
|
if (res.events && res.events.change) {
|
|
@@ -67664,8 +68076,8 @@ tablevue_type_template_id_ccea08f4_render._withStripped = true
|
|
|
67664
68076
|
|
|
67665
68077
|
var form_src_table_component = normalizeComponent(
|
|
67666
68078
|
packages_form_src_tablevue_type_script_lang_js_,
|
|
67667
|
-
|
|
67668
|
-
|
|
68079
|
+
tablevue_type_template_id_53078cb5_render,
|
|
68080
|
+
tablevue_type_template_id_53078cb5_staticRenderFns,
|
|
67669
68081
|
false,
|
|
67670
68082
|
null,
|
|
67671
68083
|
null,
|
|
@@ -69587,7 +69999,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
69587
69999
|
}
|
|
69588
70000
|
|
|
69589
70001
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
69590
|
-
version: '0.4.
|
|
70002
|
+
version: '0.4.80',
|
|
69591
70003
|
install: install,
|
|
69592
70004
|
Button: packages_button,
|
|
69593
70005
|
ButtonGroup: button_group,
|