eoss-ui 0.4.79-beta.0 → 0.4.79
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 +435 -194
- 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 +54 -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 +2 -2
- package/lib/layout.js +182 -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 +20 -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 +2 -2
- 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/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/layout.css +1 -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;
|
|
3462
|
-
}
|
|
3463
|
-
});
|
|
3464
|
-
if (flag) {
|
|
3465
|
-
fields = this.required;
|
|
3466
|
-
if (models[this.required] == null || models[this.required] == undefined || models[this.required] == '') {
|
|
3467
|
-
param[this.required] = models[this.required];
|
|
3454
|
+
if (flag) {
|
|
3455
|
+
fields = this.required;
|
|
3456
|
+
this.required.forEach(function (item) {
|
|
3457
|
+
param[item] = models[item];
|
|
3458
|
+
});
|
|
3468
3459
|
}
|
|
3469
|
-
}
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
var empty = [];
|
|
3474
|
-
if (Array.isArray(this.fields)) {
|
|
3475
|
-
this.fields.forEach(function (item) {
|
|
3476
|
-
if (models[item] == undefined || models[item] == '') {
|
|
3477
|
-
empty.push(item);
|
|
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]];
|
|
3478
3464
|
}
|
|
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
|
-
}
|
|
3488
|
-
} else {
|
|
3489
|
-
if (models[this.fields] == undefined || models[this.fields] == '') {
|
|
3490
|
-
empty.push(this.fields);
|
|
3491
3486
|
}
|
|
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=f98330c8&
|
|
12528
|
+
var mainvue_type_template_id_f98330c8_render = function () {
|
|
12512
12529
|
var _vm = this
|
|
12513
12530
|
var _h = _vm.$createElement
|
|
12514
12531
|
var _c = _vm._self._c || _h
|
|
@@ -14343,6 +14360,16 @@ var mainvue_type_template_id_7c42d088_render = function () {
|
|
|
14343
14360
|
_vm.disabled ||
|
|
14344
14361
|
inline.disabled,
|
|
14345
14362
|
},
|
|
14363
|
+
on: {
|
|
14364
|
+
click:
|
|
14365
|
+
function (
|
|
14366
|
+
$event
|
|
14367
|
+
) {
|
|
14368
|
+
_vm.handleClick(
|
|
14369
|
+
inline
|
|
14370
|
+
)
|
|
14371
|
+
},
|
|
14372
|
+
},
|
|
14346
14373
|
},
|
|
14347
14374
|
"es-button",
|
|
14348
14375
|
_vm.handleExclAttribute(
|
|
@@ -14351,6 +14378,7 @@ var mainvue_type_template_id_7c42d088_render = function () {
|
|
|
14351
14378
|
attrs:
|
|
14352
14379
|
[
|
|
14353
14380
|
"disabled",
|
|
14381
|
+
"type",
|
|
14354
14382
|
],
|
|
14355
14383
|
}
|
|
14356
14384
|
),
|
|
@@ -16772,6 +16800,16 @@ var mainvue_type_template_id_7c42d088_render = function () {
|
|
|
16772
16800
|
_vm.disabled ||
|
|
16773
16801
|
inline.disabled,
|
|
16774
16802
|
},
|
|
16803
|
+
on: {
|
|
16804
|
+
click:
|
|
16805
|
+
function (
|
|
16806
|
+
$event
|
|
16807
|
+
) {
|
|
16808
|
+
_vm.handleClick(
|
|
16809
|
+
inline
|
|
16810
|
+
)
|
|
16811
|
+
},
|
|
16812
|
+
},
|
|
16775
16813
|
},
|
|
16776
16814
|
"es-button",
|
|
16777
16815
|
_vm.handleExclAttribute(
|
|
@@ -16780,6 +16818,7 @@ var mainvue_type_template_id_7c42d088_render = function () {
|
|
|
16780
16818
|
attrs:
|
|
16781
16819
|
[
|
|
16782
16820
|
"disabled",
|
|
16821
|
+
"type",
|
|
16783
16822
|
],
|
|
16784
16823
|
}
|
|
16785
16824
|
),
|
|
@@ -19695,6 +19734,16 @@ var mainvue_type_template_id_7c42d088_render = function () {
|
|
|
19695
19734
|
_vm.disabled ||
|
|
19696
19735
|
inline.disabled,
|
|
19697
19736
|
},
|
|
19737
|
+
on: {
|
|
19738
|
+
click:
|
|
19739
|
+
function (
|
|
19740
|
+
$event
|
|
19741
|
+
) {
|
|
19742
|
+
_vm.handleClick(
|
|
19743
|
+
inline
|
|
19744
|
+
)
|
|
19745
|
+
},
|
|
19746
|
+
},
|
|
19698
19747
|
},
|
|
19699
19748
|
"es-button",
|
|
19700
19749
|
_vm.handleExclAttribute(
|
|
@@ -19703,6 +19752,7 @@ var mainvue_type_template_id_7c42d088_render = function () {
|
|
|
19703
19752
|
attrs:
|
|
19704
19753
|
[
|
|
19705
19754
|
"disabled",
|
|
19755
|
+
"type",
|
|
19706
19756
|
],
|
|
19707
19757
|
}
|
|
19708
19758
|
),
|
|
@@ -21931,6 +21981,16 @@ var mainvue_type_template_id_7c42d088_render = function () {
|
|
|
21931
21981
|
_vm.disabled ||
|
|
21932
21982
|
inline.disabled,
|
|
21933
21983
|
},
|
|
21984
|
+
on: {
|
|
21985
|
+
click:
|
|
21986
|
+
function (
|
|
21987
|
+
$event
|
|
21988
|
+
) {
|
|
21989
|
+
_vm.handleClick(
|
|
21990
|
+
inline
|
|
21991
|
+
)
|
|
21992
|
+
},
|
|
21993
|
+
},
|
|
21934
21994
|
},
|
|
21935
21995
|
"es-button",
|
|
21936
21996
|
_vm.handleExclAttribute(
|
|
@@ -21939,6 +21999,7 @@ var mainvue_type_template_id_7c42d088_render = function () {
|
|
|
21939
21999
|
attrs:
|
|
21940
22000
|
[
|
|
21941
22001
|
"disabled",
|
|
22002
|
+
"type",
|
|
21942
22003
|
],
|
|
21943
22004
|
}
|
|
21944
22005
|
),
|
|
@@ -23274,11 +23335,11 @@ var mainvue_type_template_id_7c42d088_render = function () {
|
|
|
23274
23335
|
)
|
|
23275
23336
|
: _vm._e()
|
|
23276
23337
|
}
|
|
23277
|
-
var
|
|
23278
|
-
|
|
23338
|
+
var mainvue_type_template_id_f98330c8_staticRenderFns = []
|
|
23339
|
+
mainvue_type_template_id_f98330c8_render._withStripped = true
|
|
23279
23340
|
|
|
23280
23341
|
|
|
23281
|
-
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=
|
|
23342
|
+
// CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=f98330c8&
|
|
23282
23343
|
|
|
23283
23344
|
// CONCATENATED MODULE: ./src/utils/rules.js
|
|
23284
23345
|
// 手机号
|
|
@@ -27120,6 +27181,10 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
27120
27181
|
//
|
|
27121
27182
|
//
|
|
27122
27183
|
//
|
|
27184
|
+
//
|
|
27185
|
+
//
|
|
27186
|
+
//
|
|
27187
|
+
//
|
|
27123
27188
|
|
|
27124
27189
|
|
|
27125
27190
|
|
|
@@ -27769,7 +27834,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
27769
27834
|
switch (_context.prev = _context.next) {
|
|
27770
27835
|
case 0:
|
|
27771
27836
|
if (valid) {
|
|
27772
|
-
res.event(res, _this7.models);
|
|
27837
|
+
res.event(res, _this7.models, index);
|
|
27773
27838
|
} else {
|
|
27774
27839
|
_this7.setScroll(valid, triggers, _this7.$refs.scrollbar);
|
|
27775
27840
|
}
|
|
@@ -27787,7 +27852,7 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
27787
27852
|
};
|
|
27788
27853
|
}());
|
|
27789
27854
|
} else {
|
|
27790
|
-
res.event(res, this.models);
|
|
27855
|
+
res.event(res, this.models, index);
|
|
27791
27856
|
}
|
|
27792
27857
|
} else if (res.type === 'step') {
|
|
27793
27858
|
if (this.stepActive < index) {
|
|
@@ -28330,8 +28395,8 @@ function src_mainvue_type_script_lang_js_asyncToGenerator(fn) { return function
|
|
|
28330
28395
|
|
|
28331
28396
|
var form_src_main_component = normalizeComponent(
|
|
28332
28397
|
packages_form_src_mainvue_type_script_lang_js_,
|
|
28333
|
-
|
|
28334
|
-
|
|
28398
|
+
mainvue_type_template_id_f98330c8_render,
|
|
28399
|
+
mainvue_type_template_id_f98330c8_staticRenderFns,
|
|
28335
28400
|
false,
|
|
28336
28401
|
null,
|
|
28337
28402
|
null,
|
|
@@ -43026,7 +43091,7 @@ mainvue_type_template_id_32c03886_render._withStripped = true
|
|
|
43026
43091
|
// CONCATENATED MODULE: ./packages/icons/src/main.vue?vue&type=template&id=32c03886&
|
|
43027
43092
|
|
|
43028
43093
|
// EXTERNAL MODULE: ./packages/icons/src/icon.json
|
|
43029
|
-
var icon = __webpack_require__(
|
|
43094
|
+
var icon = __webpack_require__(11);
|
|
43030
43095
|
|
|
43031
43096
|
// 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
43097
|
//
|
|
@@ -43795,25 +43860,189 @@ label_src_main.install = function (Vue) {
|
|
|
43795
43860
|
};
|
|
43796
43861
|
|
|
43797
43862
|
/* 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
|
|
43863
|
+
// 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=68e24f92&
|
|
43864
|
+
var mainvue_type_template_id_68e24f92_render = function () {
|
|
43800
43865
|
var _vm = this
|
|
43801
43866
|
var _h = _vm.$createElement
|
|
43802
43867
|
var _c = _vm._self._c || _h
|
|
43803
|
-
return _c("div")
|
|
43868
|
+
return _c("div", { staticClass: "es-layout" }, [_c("layout-item")], 1)
|
|
43804
43869
|
}
|
|
43805
|
-
var
|
|
43806
|
-
|
|
43870
|
+
var mainvue_type_template_id_68e24f92_staticRenderFns = []
|
|
43871
|
+
mainvue_type_template_id_68e24f92_render._withStripped = true
|
|
43807
43872
|
|
|
43808
43873
|
|
|
43809
|
-
// CONCATENATED MODULE: ./packages/layout/src/main.vue?vue&type=template&id=
|
|
43874
|
+
// CONCATENATED MODULE: ./packages/layout/src/main.vue?vue&type=template&id=68e24f92&
|
|
43810
43875
|
|
|
43876
|
+
// 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=c06ad538&
|
|
43877
|
+
var itemvue_type_template_id_c06ad538_render = function () {
|
|
43878
|
+
var _vm = this
|
|
43879
|
+
var _h = _vm.$createElement
|
|
43880
|
+
var _c = _vm._self._c || _h
|
|
43881
|
+
return _c(
|
|
43882
|
+
"div",
|
|
43883
|
+
{ ref: "move", staticClass: "es-layout-item", style: _vm.defaultaStyle },
|
|
43884
|
+
[
|
|
43885
|
+
_c("es-card"),
|
|
43886
|
+
_c("div", { staticClass: "es-layout-resizable-width" }),
|
|
43887
|
+
_c("div", { staticClass: "es-layout-resizable-height" }),
|
|
43888
|
+
_c("div", { staticClass: "es-layout-resizable" }),
|
|
43889
|
+
],
|
|
43890
|
+
1
|
|
43891
|
+
)
|
|
43892
|
+
}
|
|
43893
|
+
var itemvue_type_template_id_c06ad538_staticRenderFns = []
|
|
43894
|
+
itemvue_type_template_id_c06ad538_render._withStripped = true
|
|
43895
|
+
|
|
43896
|
+
|
|
43897
|
+
// CONCATENATED MODULE: ./packages/layout/src/item.vue?vue&type=template&id=c06ad538&
|
|
43898
|
+
|
|
43899
|
+
// EXTERNAL MODULE: external "interactjs"
|
|
43900
|
+
var external_interactjs_ = __webpack_require__(6);
|
|
43901
|
+
var external_interactjs_default = /*#__PURE__*/__webpack_require__.n(external_interactjs_);
|
|
43902
|
+
|
|
43903
|
+
// 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&
|
|
43904
|
+
//
|
|
43905
|
+
//
|
|
43906
|
+
//
|
|
43907
|
+
//
|
|
43908
|
+
//
|
|
43909
|
+
//
|
|
43910
|
+
//
|
|
43911
|
+
//
|
|
43912
|
+
|
|
43913
|
+
// import '@interactjs/auto-start';
|
|
43914
|
+
// import '@interactjs/auto-scroll';
|
|
43915
|
+
// import '@interactjs/actions/drag';
|
|
43916
|
+
// import '@interactjs/actions/resize';
|
|
43917
|
+
// import '@interactjs/modifiers';
|
|
43918
|
+
// import '@interactjs/dev-tools';
|
|
43919
|
+
|
|
43920
|
+
/* harmony default export */ var itemvue_type_script_lang_js_ = ({
|
|
43921
|
+
name: 'LayoutItem',
|
|
43922
|
+
components: {},
|
|
43923
|
+
props: {
|
|
43924
|
+
redact: {
|
|
43925
|
+
type: Boolean,
|
|
43926
|
+
default: true
|
|
43927
|
+
},
|
|
43928
|
+
width: {
|
|
43929
|
+
type: String,
|
|
43930
|
+
default: '100%'
|
|
43931
|
+
},
|
|
43932
|
+
height: {
|
|
43933
|
+
type: String,
|
|
43934
|
+
default: '100px'
|
|
43935
|
+
},
|
|
43936
|
+
left: String,
|
|
43937
|
+
top: String
|
|
43938
|
+
},
|
|
43939
|
+
computed: {
|
|
43940
|
+
defaultaStyle: function defaultaStyle() {
|
|
43941
|
+
return {
|
|
43942
|
+
width: this.width,
|
|
43943
|
+
height: this.height,
|
|
43944
|
+
left: this.left,
|
|
43945
|
+
top: this.top
|
|
43946
|
+
};
|
|
43947
|
+
},
|
|
43948
|
+
cardStyle: function cardStyle() {
|
|
43949
|
+
return {
|
|
43950
|
+
width: this.width,
|
|
43951
|
+
height: this.height
|
|
43952
|
+
};
|
|
43953
|
+
}
|
|
43954
|
+
},
|
|
43955
|
+
watch: {},
|
|
43956
|
+
data: function data() {
|
|
43957
|
+
return {
|
|
43958
|
+
position: { x: 0, y: 0 },
|
|
43959
|
+
move: null
|
|
43960
|
+
};
|
|
43961
|
+
},
|
|
43962
|
+
created: function created() {
|
|
43963
|
+
this.position = {
|
|
43964
|
+
x: parseInt(this.left) || 0,
|
|
43965
|
+
y: parseInt(this.top) || 0
|
|
43966
|
+
};
|
|
43967
|
+
console.log(this.position);
|
|
43968
|
+
},
|
|
43969
|
+
mounted: function mounted() {
|
|
43970
|
+
var _this = this;
|
|
43971
|
+
|
|
43972
|
+
console.log(external_interactjs_default.a, this.$refs.move);
|
|
43973
|
+
this.move = external_interactjs_default()(this.$refs.move);
|
|
43974
|
+
this.move.draggable({
|
|
43975
|
+
listeners: {
|
|
43976
|
+
start: function start(event) {
|
|
43977
|
+
console.log(event.type, event.target);
|
|
43978
|
+
},
|
|
43979
|
+
move: function move(event) {
|
|
43980
|
+
_this.position.x += event.dx;
|
|
43981
|
+
_this.position.y += event.dy;
|
|
43982
|
+
event.target.style.transform = 'translate(' + _this.position.x + 'px, ' + _this.position.y + 'px)';
|
|
43983
|
+
}
|
|
43984
|
+
}
|
|
43985
|
+
});
|
|
43986
|
+
this.move.resizable({
|
|
43987
|
+
edges: { top: true, left: true, bottom: true, right: true },
|
|
43988
|
+
listeners: {
|
|
43989
|
+
move: function move(event) {
|
|
43990
|
+
var _event$target$dataset = event.target.dataset,
|
|
43991
|
+
x = _event$target$dataset.x,
|
|
43992
|
+
y = _event$target$dataset.y;
|
|
43993
|
+
|
|
43994
|
+
|
|
43995
|
+
x = (parseFloat(x) || 0) + event.deltaRect.left;
|
|
43996
|
+
y = (parseFloat(y) || 0) + event.deltaRect.top;
|
|
43997
|
+
|
|
43998
|
+
Object.assign(event.target.style, {
|
|
43999
|
+
width: event.rect.width + 'px',
|
|
44000
|
+
height: event.rect.height + 'px',
|
|
44001
|
+
transform: 'translate(' + x + 'px, ' + y + 'px)'
|
|
44002
|
+
});
|
|
44003
|
+
|
|
44004
|
+
Object.assign(event.target.dataset, { x: x, y: y });
|
|
44005
|
+
}
|
|
44006
|
+
}
|
|
44007
|
+
});
|
|
44008
|
+
},
|
|
44009
|
+
|
|
44010
|
+
methods: {},
|
|
44011
|
+
beforeDestroy: function beforeDestroy() {}
|
|
44012
|
+
});
|
|
44013
|
+
// CONCATENATED MODULE: ./packages/layout/src/item.vue?vue&type=script&lang=js&
|
|
44014
|
+
/* harmony default export */ var src_itemvue_type_script_lang_js_ = (itemvue_type_script_lang_js_);
|
|
44015
|
+
// CONCATENATED MODULE: ./packages/layout/src/item.vue
|
|
44016
|
+
|
|
44017
|
+
|
|
44018
|
+
|
|
44019
|
+
|
|
44020
|
+
|
|
44021
|
+
/* normalize component */
|
|
44022
|
+
|
|
44023
|
+
var item_component = normalizeComponent(
|
|
44024
|
+
src_itemvue_type_script_lang_js_,
|
|
44025
|
+
itemvue_type_template_id_c06ad538_render,
|
|
44026
|
+
itemvue_type_template_id_c06ad538_staticRenderFns,
|
|
44027
|
+
false,
|
|
44028
|
+
null,
|
|
44029
|
+
null,
|
|
44030
|
+
null
|
|
44031
|
+
|
|
44032
|
+
)
|
|
44033
|
+
|
|
44034
|
+
/* harmony default export */ var src_item = (item_component.exports);
|
|
43811
44035
|
// 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
44036
|
//
|
|
44037
|
+
//
|
|
44038
|
+
//
|
|
44039
|
+
//
|
|
44040
|
+
//
|
|
44041
|
+
|
|
43813
44042
|
|
|
43814
44043
|
/* harmony default export */ var layout_src_mainvue_type_script_lang_js_ = ({
|
|
43815
44044
|
name: 'EsLayout',
|
|
43816
|
-
components: {},
|
|
44045
|
+
components: { layoutItem: src_item },
|
|
43817
44046
|
props: {},
|
|
43818
44047
|
computed: {},
|
|
43819
44048
|
watch: {},
|
|
@@ -43838,8 +44067,8 @@ mainvue_type_template_id_32d774ac_render._withStripped = true
|
|
|
43838
44067
|
|
|
43839
44068
|
var layout_src_main_component = normalizeComponent(
|
|
43840
44069
|
packages_layout_src_mainvue_type_script_lang_js_,
|
|
43841
|
-
|
|
43842
|
-
|
|
44070
|
+
mainvue_type_template_id_68e24f92_render,
|
|
44071
|
+
mainvue_type_template_id_68e24f92_staticRenderFns,
|
|
43843
44072
|
false,
|
|
43844
44073
|
null,
|
|
43845
44074
|
null,
|
|
@@ -48528,7 +48757,7 @@ async_componentvue_type_template_id_51f0233c_scoped_true_render._withStripped =
|
|
|
48528
48757
|
// CONCATENATED MODULE: ./packages/main/src/async-component/index.vue?vue&type=template&id=51f0233c&scoped=true&
|
|
48529
48758
|
|
|
48530
48759
|
// EXTERNAL MODULE: external "runtime-import"
|
|
48531
|
-
var external_runtime_import_ = __webpack_require__(
|
|
48760
|
+
var external_runtime_import_ = __webpack_require__(12);
|
|
48532
48761
|
|
|
48533
48762
|
// 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
48763
|
|
|
@@ -48680,11 +48909,11 @@ var async_component_component = normalizeComponent(
|
|
|
48680
48909
|
|
|
48681
48910
|
/* harmony default export */ var async_component = (async_component_component.exports);
|
|
48682
48911
|
// EXTERNAL MODULE: external "sockjs-client"
|
|
48683
|
-
var external_sockjs_client_ = __webpack_require__(
|
|
48912
|
+
var external_sockjs_client_ = __webpack_require__(13);
|
|
48684
48913
|
var external_sockjs_client_default = /*#__PURE__*/__webpack_require__.n(external_sockjs_client_);
|
|
48685
48914
|
|
|
48686
48915
|
// EXTERNAL MODULE: external "stompjs"
|
|
48687
|
-
var external_stompjs_ = __webpack_require__(
|
|
48916
|
+
var external_stompjs_ = __webpack_require__(14);
|
|
48688
48917
|
var external_stompjs_default = /*#__PURE__*/__webpack_require__.n(external_stompjs_);
|
|
48689
48918
|
|
|
48690
48919
|
// 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 +52754,15 @@ mainvue_type_template_id_29c1659e_render._withStripped = true
|
|
|
52525
52754
|
// CONCATENATED MODULE: ./packages/player/src/main.vue?vue&type=template&id=29c1659e&
|
|
52526
52755
|
|
|
52527
52756
|
// EXTERNAL MODULE: external "video.js"
|
|
52528
|
-
var external_video_js_ = __webpack_require__(
|
|
52757
|
+
var external_video_js_ = __webpack_require__(7);
|
|
52529
52758
|
var external_video_js_default = /*#__PURE__*/__webpack_require__.n(external_video_js_);
|
|
52530
52759
|
|
|
52531
52760
|
// EXTERNAL MODULE: external "video.js/dist/lang/zh-CN.json"
|
|
52532
|
-
var zh_CN_json_ = __webpack_require__(
|
|
52761
|
+
var zh_CN_json_ = __webpack_require__(15);
|
|
52533
52762
|
var zh_CN_json_default = /*#__PURE__*/__webpack_require__.n(zh_CN_json_);
|
|
52534
52763
|
|
|
52535
52764
|
// EXTERNAL MODULE: external "video.js/dist/video-js.css"
|
|
52536
|
-
var video_js_css_ = __webpack_require__(
|
|
52765
|
+
var video_js_css_ = __webpack_require__(20);
|
|
52537
52766
|
|
|
52538
52767
|
// 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
52768
|
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 +53053,7 @@ mainvue_type_template_id_31151606_render._withStripped = true
|
|
|
52824
53053
|
//
|
|
52825
53054
|
|
|
52826
53055
|
|
|
52827
|
-
var QRCode = __webpack_require__(
|
|
53056
|
+
var QRCode = __webpack_require__(21);
|
|
52828
53057
|
/* harmony default export */ var qr_code_src_mainvue_type_script_lang_js_ = ({
|
|
52829
53058
|
name: 'EsQrCode',
|
|
52830
53059
|
props: {
|
|
@@ -53908,7 +54137,7 @@ retrial_auth_src_main.install = function (Vue) {
|
|
|
53908
54137
|
|
|
53909
54138
|
/* harmony default export */ var retrial_auth = (retrial_auth_src_main);
|
|
53910
54139
|
// EXTERNAL MODULE: external "slate"
|
|
53911
|
-
var external_slate_ = __webpack_require__(
|
|
54140
|
+
var external_slate_ = __webpack_require__(22);
|
|
53912
54141
|
|
|
53913
54142
|
// 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
54143
|
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 +55932,7 @@ mainvue_type_template_id_71e1a8ee_render._withStripped = true
|
|
|
55703
55932
|
// CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=71e1a8ee&
|
|
55704
55933
|
|
|
55705
55934
|
// EXTERNAL MODULE: external "eoss-element/src/utils/clickoutside"
|
|
55706
|
-
var clickoutside_ = __webpack_require__(
|
|
55935
|
+
var clickoutside_ = __webpack_require__(16);
|
|
55707
55936
|
var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_);
|
|
55708
55937
|
|
|
55709
55938
|
// 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 +57237,7 @@ selectionvue_type_template_id_66e09547_render._withStripped = true
|
|
|
57008
57237
|
// CONCATENATED MODULE: ./packages/selector-panel/src/selection.vue?vue&type=template&id=66e09547&
|
|
57009
57238
|
|
|
57010
57239
|
// EXTERNAL MODULE: external "sortablejs"
|
|
57011
|
-
var external_sortablejs_ = __webpack_require__(
|
|
57240
|
+
var external_sortablejs_ = __webpack_require__(17);
|
|
57012
57241
|
var external_sortablejs_default = /*#__PURE__*/__webpack_require__.n(external_sortablejs_);
|
|
57013
57242
|
|
|
57014
57243
|
// 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&
|
|
@@ -63703,8 +63932,8 @@ toolbar_src_main.install = function (Vue) {
|
|
|
63703
63932
|
};
|
|
63704
63933
|
|
|
63705
63934
|
/* 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
|
|
63935
|
+
// 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=2be2a316&
|
|
63936
|
+
var tablevue_type_template_id_2be2a316_render = function () {
|
|
63708
63937
|
var _vm = this
|
|
63709
63938
|
var _h = _vm.$createElement
|
|
63710
63939
|
var _c = _vm._self._c || _h
|
|
@@ -64886,6 +65115,16 @@ var tablevue_type_template_id_ccea08f4_render = function () {
|
|
|
64886
65115
|
_vm.isDisabled ||
|
|
64887
65116
|
inline.disabled,
|
|
64888
65117
|
},
|
|
65118
|
+
on: {
|
|
65119
|
+
click:
|
|
65120
|
+
function (
|
|
65121
|
+
$event
|
|
65122
|
+
) {
|
|
65123
|
+
_vm.handleClick(
|
|
65124
|
+
inline
|
|
65125
|
+
)
|
|
65126
|
+
},
|
|
65127
|
+
},
|
|
64889
65128
|
},
|
|
64890
65129
|
"es-button",
|
|
64891
65130
|
_vm.handleExclAttribute(
|
|
@@ -64894,6 +65133,7 @@ var tablevue_type_template_id_ccea08f4_render = function () {
|
|
|
64894
65133
|
attrs:
|
|
64895
65134
|
[
|
|
64896
65135
|
"disabled",
|
|
65136
|
+
"type",
|
|
64897
65137
|
],
|
|
64898
65138
|
}
|
|
64899
65139
|
),
|
|
@@ -66317,11 +66557,11 @@ var tablevue_type_template_id_ccea08f4_render = function () {
|
|
|
66317
66557
|
2
|
|
66318
66558
|
)
|
|
66319
66559
|
}
|
|
66320
|
-
var
|
|
66321
|
-
|
|
66560
|
+
var tablevue_type_template_id_2be2a316_staticRenderFns = []
|
|
66561
|
+
tablevue_type_template_id_2be2a316_render._withStripped = true
|
|
66322
66562
|
|
|
66323
66563
|
|
|
66324
|
-
// CONCATENATED MODULE: ./packages/form/src/table.vue?vue&type=template&id=
|
|
66564
|
+
// CONCATENATED MODULE: ./packages/form/src/table.vue?vue&type=template&id=2be2a316&
|
|
66325
66565
|
|
|
66326
66566
|
// 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
66567
|
//
|
|
@@ -67368,6 +67608,7 @@ tablevue_type_template_id_ccea08f4_render._withStripped = true
|
|
|
67368
67608
|
//
|
|
67369
67609
|
//
|
|
67370
67610
|
//
|
|
67611
|
+
//
|
|
67371
67612
|
|
|
67372
67613
|
|
|
67373
67614
|
|
|
@@ -67605,7 +67846,7 @@ tablevue_type_template_id_ccea08f4_render._withStripped = true
|
|
|
67605
67846
|
this.cols = widths;
|
|
67606
67847
|
},
|
|
67607
67848
|
handleClick: function handleClick(res) {
|
|
67608
|
-
this.$emit('
|
|
67849
|
+
this.$emit('btnClick', res, this.models);
|
|
67609
67850
|
},
|
|
67610
67851
|
handleChange: function handleChange(res, value, data) {
|
|
67611
67852
|
if (res.events && res.events.change) {
|
|
@@ -67664,8 +67905,8 @@ tablevue_type_template_id_ccea08f4_render._withStripped = true
|
|
|
67664
67905
|
|
|
67665
67906
|
var form_src_table_component = normalizeComponent(
|
|
67666
67907
|
packages_form_src_tablevue_type_script_lang_js_,
|
|
67667
|
-
|
|
67668
|
-
|
|
67908
|
+
tablevue_type_template_id_2be2a316_render,
|
|
67909
|
+
tablevue_type_template_id_2be2a316_staticRenderFns,
|
|
67669
67910
|
false,
|
|
67670
67911
|
null,
|
|
67671
67912
|
null,
|
|
@@ -69587,7 +69828,7 @@ if (typeof window !== 'undefined' && window.Vue) {
|
|
|
69587
69828
|
}
|
|
69588
69829
|
|
|
69589
69830
|
/* harmony default export */ var src_0 = __webpack_exports__["default"] = ({
|
|
69590
|
-
version: '0.4.
|
|
69831
|
+
version: '0.4.79',
|
|
69591
69832
|
install: install,
|
|
69592
69833
|
Button: packages_button,
|
|
69593
69834
|
ButtonGroup: button_group,
|