@deanwu/vue-component-library 1.3.170 → 1.3.172
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vue-component-library.common.js +99 -74
- package/dist/vue-component-library.common.js.map +1 -1
- package/dist/vue-component-library.css +1 -1
- package/dist/vue-component-library.umd.js +99 -74
- package/dist/vue-component-library.umd.js.map +1 -1
- package/dist/vue-component-library.umd.min.js +3 -3
- package/dist/vue-component-library.umd.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -1469,6 +1469,17 @@ if (true) {
|
|
|
1469
1469
|
|
|
1470
1470
|
}));
|
|
1471
1471
|
|
|
1472
|
+
/***/ }),
|
|
1473
|
+
|
|
1474
|
+
/***/ "13cb":
|
|
1475
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1476
|
+
|
|
1477
|
+
"use strict";
|
|
1478
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_window_vue_vue_type_style_index_0_id_1a12c054_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f534");
|
|
1479
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_window_vue_vue_type_style_index_0_id_1a12c054_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_window_vue_vue_type_style_index_0_id_1a12c054_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
1480
|
+
/* unused harmony reexport * */
|
|
1481
|
+
|
|
1482
|
+
|
|
1472
1483
|
/***/ }),
|
|
1473
1484
|
|
|
1474
1485
|
/***/ "13d2":
|
|
@@ -7063,13 +7074,6 @@ module.exports = function (argument) {
|
|
|
7063
7074
|
|
|
7064
7075
|
/***/ }),
|
|
7065
7076
|
|
|
7066
|
-
/***/ "5a3c":
|
|
7067
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
7068
|
-
|
|
7069
|
-
// extracted by mini-css-extract-plugin
|
|
7070
|
-
|
|
7071
|
-
/***/ }),
|
|
7072
|
-
|
|
7073
7077
|
/***/ "5aa3":
|
|
7074
7078
|
/***/ (function(module, exports, __webpack_require__) {
|
|
7075
7079
|
|
|
@@ -7206,6 +7210,13 @@ $({ target: 'String', proto: true }, {
|
|
|
7206
7210
|
});
|
|
7207
7211
|
|
|
7208
7212
|
|
|
7213
|
+
/***/ }),
|
|
7214
|
+
|
|
7215
|
+
/***/ "5b91":
|
|
7216
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7217
|
+
|
|
7218
|
+
// extracted by mini-css-extract-plugin
|
|
7219
|
+
|
|
7209
7220
|
/***/ }),
|
|
7210
7221
|
|
|
7211
7222
|
/***/ "5bd0":
|
|
@@ -7534,12 +7545,12 @@ module.exports = {
|
|
|
7534
7545
|
|
|
7535
7546
|
/***/ }),
|
|
7536
7547
|
|
|
7537
|
-
/***/ "
|
|
7548
|
+
/***/ "6ae4":
|
|
7538
7549
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7539
7550
|
|
|
7540
7551
|
"use strict";
|
|
7541
|
-
/* harmony import */ var
|
|
7542
|
-
/* harmony import */ var
|
|
7552
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_dialog_vue_vue_type_style_index_0_id_5bcd3a66_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5b91");
|
|
7553
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_dialog_vue_vue_type_style_index_0_id_5bcd3a66_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_dialog_vue_vue_type_style_index_0_id_5bcd3a66_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
7543
7554
|
/* unused harmony reexport * */
|
|
7544
7555
|
|
|
7545
7556
|
|
|
@@ -26171,13 +26182,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26171
26182
|
/* unused harmony reexport * */
|
|
26172
26183
|
|
|
26173
26184
|
|
|
26174
|
-
/***/ }),
|
|
26175
|
-
|
|
26176
|
-
/***/ "8128":
|
|
26177
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
26178
|
-
|
|
26179
|
-
// extracted by mini-css-extract-plugin
|
|
26180
|
-
|
|
26181
26185
|
/***/ }),
|
|
26182
26186
|
|
|
26183
26187
|
/***/ "81bf":
|
|
@@ -26965,17 +26969,6 @@ module.exports = isForced;
|
|
|
26965
26969
|
|
|
26966
26970
|
}));
|
|
26967
26971
|
|
|
26968
|
-
/***/ }),
|
|
26969
|
-
|
|
26970
|
-
/***/ "9545":
|
|
26971
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
26972
|
-
|
|
26973
|
-
"use strict";
|
|
26974
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_dialog_vue_vue_type_style_index_0_id_1707dd2d_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("5a3c");
|
|
26975
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_dialog_vue_vue_type_style_index_0_id_1707dd2d_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_12_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_12_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_12_oneOf_1_2_node_modules_stylus_loader_index_js_ref_12_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_dialog_vue_vue_type_style_index_0_id_1707dd2d_prod_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
26976
|
-
/* unused harmony reexport * */
|
|
26977
|
-
|
|
26978
|
-
|
|
26979
26972
|
/***/ }),
|
|
26980
26973
|
|
|
26981
26974
|
/***/ "9582":
|
|
@@ -31753,7 +31746,7 @@ exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
31753
31746
|
|
|
31754
31747
|
"use strict";
|
|
31755
31748
|
__webpack_require__.r(__webpack_exports__);
|
|
31756
|
-
/* harmony default export */ __webpack_exports__["default"] = ("## 示例代码\n\n```\n<c-window ref=\"window\">\n\t<div>窗口内容</div>\n\n\t<template #
|
|
31749
|
+
/* harmony default export */ __webpack_exports__["default"] = ("## 示例代码\n\n```\n<c-window ref=\"window\">\n\t<div>窗口内容</div>\n\n\t<template #foot>\n\t\t底部内容\n\t</template>\n\t\n\t<template #button>\n\t\t<c-button>按钮名称</c-button>\n\t</template>\n</c-window>\n\nthis.$refs.window.show(follow, position, align) // 显示悬浮窗口,follow:跟随的目标节点,position:跟随位置(top、bottom、left、right),align:对齐方向(start、end)\nthis.$refs.window.hide() // 隐藏悬浮窗口\n```\n\n## 属性配置\n\n属性 | 类型 | 默认值 | 说明\n---- | ---- | ---- | ----\ntitle | String | - | 悬浮窗口标题\nwidth | Number \\| String | 400 | 悬浮窗口宽度\nheight | Number \\| String | auto | 悬浮窗口内容区域高度\nposition | String | bottom | 跟随位置<br>**bottom**: 底部<br>**top**: 顶部<br>**left**: 左侧<br>**right**: 右侧\nalign | String | start | 对齐方向<br>**start**: 起始方向<br>**end**: 结束方向\n@close | Function | - | 点击关闭图标时触发");
|
|
31757
31750
|
|
|
31758
31751
|
/***/ }),
|
|
31759
31752
|
|
|
@@ -33628,6 +33621,13 @@ module.exports = function (target, name, descriptor) {
|
|
|
33628
33621
|
|
|
33629
33622
|
/***/ }),
|
|
33630
33623
|
|
|
33624
|
+
/***/ "f534":
|
|
33625
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
33626
|
+
|
|
33627
|
+
// extracted by mini-css-extract-plugin
|
|
33628
|
+
|
|
33629
|
+
/***/ }),
|
|
33630
|
+
|
|
33631
33631
|
/***/ "f591":
|
|
33632
33632
|
/***/ (function(module, exports, __webpack_require__) {
|
|
33633
33633
|
|
|
@@ -36389,8 +36389,8 @@ var dialog_component = normalizeComponent(
|
|
|
36389
36389
|
)
|
|
36390
36390
|
|
|
36391
36391
|
/* harmony default export */ var dialog = (dialog_component.exports);
|
|
36392
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a4936e4-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/api/window.vue?vue&type=template&id=
|
|
36393
|
-
var
|
|
36392
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a4936e4-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/api/window.vue?vue&type=template&id=7c86bf5a&scoped=true&
|
|
36393
|
+
var windowvue_type_template_id_7c86bf5a_scoped_true_render = function render() {
|
|
36394
36394
|
var _vm = this,
|
|
36395
36395
|
_c = _vm._self._c;
|
|
36396
36396
|
return _c('div', [_c('div', [_c('c-button', {
|
|
@@ -36403,10 +36403,11 @@ var windowvue_type_template_id_7c9c33d0_scoped_true_render = function render() {
|
|
|
36403
36403
|
}, [_vm._v("显示窗口")]), _c('c-window', {
|
|
36404
36404
|
ref: "window",
|
|
36405
36405
|
attrs: {
|
|
36406
|
-
"title": "测试"
|
|
36406
|
+
"title": "测试",
|
|
36407
|
+
"mask-close": ""
|
|
36407
36408
|
},
|
|
36408
36409
|
scopedSlots: _vm._u([{
|
|
36409
|
-
key: "
|
|
36410
|
+
key: "foot",
|
|
36410
36411
|
fn: function () {
|
|
36411
36412
|
return [_vm._v(" 自定义内容 ")];
|
|
36412
36413
|
},
|
|
@@ -36429,9 +36430,9 @@ var windowvue_type_template_id_7c9c33d0_scoped_true_render = function render() {
|
|
|
36429
36430
|
}
|
|
36430
36431
|
})]);
|
|
36431
36432
|
};
|
|
36432
|
-
var
|
|
36433
|
+
var windowvue_type_template_id_7c86bf5a_scoped_true_staticRenderFns = [];
|
|
36433
36434
|
|
|
36434
|
-
// CONCATENATED MODULE: ./src/api/window.vue?vue&type=template&id=
|
|
36435
|
+
// CONCATENATED MODULE: ./src/api/window.vue?vue&type=template&id=7c86bf5a&scoped=true&
|
|
36435
36436
|
|
|
36436
36437
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/api/window.vue?vue&type=script&lang=js&
|
|
36437
36438
|
/* harmony default export */ var windowvue_type_script_lang_js_ = ({
|
|
@@ -36453,11 +36454,11 @@ var windowvue_type_template_id_7c9c33d0_scoped_true_staticRenderFns = [];
|
|
|
36453
36454
|
|
|
36454
36455
|
var window_component = normalizeComponent(
|
|
36455
36456
|
api_windowvue_type_script_lang_js_,
|
|
36456
|
-
|
|
36457
|
-
|
|
36457
|
+
windowvue_type_template_id_7c86bf5a_scoped_true_render,
|
|
36458
|
+
windowvue_type_template_id_7c86bf5a_scoped_true_staticRenderFns,
|
|
36458
36459
|
false,
|
|
36459
36460
|
null,
|
|
36460
|
-
"
|
|
36461
|
+
"7c86bf5a",
|
|
36461
36462
|
null
|
|
36462
36463
|
|
|
36463
36464
|
)
|
|
@@ -41634,8 +41635,8 @@ var unit_editor_component = normalizeComponent(
|
|
|
41634
41635
|
)
|
|
41635
41636
|
|
|
41636
41637
|
/* harmony default export */ var unit_editor = (unit_editor_component.exports);
|
|
41637
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a4936e4-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/popup/dialog.vue?vue&type=template&id=
|
|
41638
|
-
var
|
|
41638
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a4936e4-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/popup/dialog.vue?vue&type=template&id=5bcd3a66&scoped=true&
|
|
41639
|
+
var dialogvue_type_template_id_5bcd3a66_scoped_true_render = function render() {
|
|
41639
41640
|
var _vm = this,
|
|
41640
41641
|
_c = _vm._self._c;
|
|
41641
41642
|
return _c('div', {
|
|
@@ -41686,7 +41687,9 @@ var dialogvue_type_template_id_1707dd2d_scoped_true_render = function render() {
|
|
|
41686
41687
|
on: {
|
|
41687
41688
|
"mousedown": _vm.moveHandle
|
|
41688
41689
|
}
|
|
41689
|
-
}, [
|
|
41690
|
+
}, [_vm.options.title ? _c('p', {
|
|
41691
|
+
staticClass: "c-dialog-title"
|
|
41692
|
+
}, [_vm._v(_vm._s(_vm.$t(_vm.options.title)))]) : _vm._e(), _vm._t("head")], 2) : _vm._e(), _c('div', {
|
|
41690
41693
|
staticClass: "flex c-dialog-handle"
|
|
41691
41694
|
}, [_vm.compResizeButton ? [_vm.compResizeButton.includes('min') ? _c('div', {
|
|
41692
41695
|
staticClass: "c-dialog-handle-item flex-center",
|
|
@@ -41722,7 +41725,11 @@ var dialogvue_type_template_id_1707dd2d_scoped_true_render = function render() {
|
|
|
41722
41725
|
'overflow': _vm.compHeight == 'auto' ? '' : 'auto'
|
|
41723
41726
|
}
|
|
41724
41727
|
}, [_vm._t("default")], 2), _vm.options.button ? _c('div', {
|
|
41725
|
-
staticClass: "c-dialog-
|
|
41728
|
+
staticClass: "c-dialog-foot flex-between-center"
|
|
41729
|
+
}, [_c('div', {
|
|
41730
|
+
staticClass: "flex-grow flex-start-center"
|
|
41731
|
+
}, [_vm._t("foot")], 2), _c('div', {
|
|
41732
|
+
staticClass: "flex-center"
|
|
41726
41733
|
}, [_vm.$slots.button ? _vm._t("button") : [_c('c-button', {
|
|
41727
41734
|
attrs: {
|
|
41728
41735
|
"size": "dialog",
|
|
@@ -41742,11 +41749,11 @@ var dialogvue_type_template_id_1707dd2d_scoped_true_render = function render() {
|
|
|
41742
41749
|
return _vm.buttonHandle('cancel');
|
|
41743
41750
|
}
|
|
41744
41751
|
}
|
|
41745
|
-
}, [_vm._v(_vm._s(_vm.$t(_vm.options.cancelButtonName)))]) : _vm._e()]], 2) : _vm._e()])])]);
|
|
41752
|
+
}, [_vm._v(_vm._s(_vm.$t(_vm.options.cancelButtonName)))]) : _vm._e()]], 2)]) : _vm._e()])])]);
|
|
41746
41753
|
};
|
|
41747
|
-
var
|
|
41754
|
+
var dialogvue_type_template_id_5bcd3a66_scoped_true_staticRenderFns = [];
|
|
41748
41755
|
|
|
41749
|
-
// CONCATENATED MODULE: ./src/components/popup/dialog.vue?vue&type=template&id=
|
|
41756
|
+
// CONCATENATED MODULE: ./src/components/popup/dialog.vue?vue&type=template&id=5bcd3a66&scoped=true&
|
|
41750
41757
|
|
|
41751
41758
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/popup/dialog.vue?vue&type=script&lang=js&
|
|
41752
41759
|
/* harmony default export */ var popup_dialogvue_type_script_lang_js_ = ({
|
|
@@ -42064,8 +42071,8 @@ var dialogvue_type_template_id_1707dd2d_scoped_true_staticRenderFns = [];
|
|
|
42064
42071
|
});
|
|
42065
42072
|
// CONCATENATED MODULE: ./src/components/popup/dialog.vue?vue&type=script&lang=js&
|
|
42066
42073
|
/* harmony default export */ var components_popup_dialogvue_type_script_lang_js_ = (popup_dialogvue_type_script_lang_js_);
|
|
42067
|
-
// EXTERNAL MODULE: ./src/components/popup/dialog.vue?vue&type=style&index=0&id=
|
|
42068
|
-
var
|
|
42074
|
+
// EXTERNAL MODULE: ./src/components/popup/dialog.vue?vue&type=style&index=0&id=5bcd3a66&prod&lang=stylus&scoped=true&
|
|
42075
|
+
var dialogvue_type_style_index_0_id_5bcd3a66_prod_lang_stylus_scoped_true_ = __webpack_require__("6ae4");
|
|
42069
42076
|
|
|
42070
42077
|
// CONCATENATED MODULE: ./src/components/popup/dialog.vue
|
|
42071
42078
|
|
|
@@ -42078,58 +42085,67 @@ var dialogvue_type_style_index_0_id_1707dd2d_prod_lang_stylus_scoped_true_ = __w
|
|
|
42078
42085
|
|
|
42079
42086
|
var popup_dialog_component = normalizeComponent(
|
|
42080
42087
|
components_popup_dialogvue_type_script_lang_js_,
|
|
42081
|
-
|
|
42082
|
-
|
|
42088
|
+
dialogvue_type_template_id_5bcd3a66_scoped_true_render,
|
|
42089
|
+
dialogvue_type_template_id_5bcd3a66_scoped_true_staticRenderFns,
|
|
42083
42090
|
false,
|
|
42084
42091
|
null,
|
|
42085
|
-
"
|
|
42092
|
+
"5bcd3a66",
|
|
42086
42093
|
null
|
|
42087
42094
|
|
|
42088
42095
|
)
|
|
42089
42096
|
|
|
42090
42097
|
/* harmony default export */ var popup_dialog = (popup_dialog_component.exports);
|
|
42091
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a4936e4-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/popup/window.vue?vue&type=template&id=
|
|
42092
|
-
var
|
|
42098
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"1a4936e4-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/popup/window.vue?vue&type=template&id=1a12c054&scoped=true&
|
|
42099
|
+
var windowvue_type_template_id_1a12c054_scoped_true_render = function render() {
|
|
42093
42100
|
var _vm = this,
|
|
42094
42101
|
_c = _vm._self._c;
|
|
42095
|
-
return _c('
|
|
42102
|
+
return _c('div', [_vm.maskClose && _vm.active ? _c('div', {
|
|
42103
|
+
staticClass: "c-window-mask",
|
|
42104
|
+
on: {
|
|
42105
|
+
"click": _vm.hide
|
|
42106
|
+
}
|
|
42107
|
+
}) : _vm._e(), _c('div', {
|
|
42096
42108
|
directives: [{
|
|
42097
42109
|
name: "show",
|
|
42098
42110
|
rawName: "v-show",
|
|
42099
42111
|
value: _vm.active,
|
|
42100
42112
|
expression: "active"
|
|
42101
42113
|
}],
|
|
42114
|
+
ref: "window",
|
|
42102
42115
|
staticClass: "c-window",
|
|
42103
42116
|
style: _vm.compStyle
|
|
42104
|
-
}, [_c('
|
|
42105
|
-
staticClass: "flex-between-center"
|
|
42117
|
+
}, [_vm.title !== false ? _c('div', {
|
|
42118
|
+
staticClass: "c-window-head flex-between-center"
|
|
42106
42119
|
}, [_c('p', [_vm._v(_vm._s(_vm.$t(_vm.title)))]), _c('a', {
|
|
42107
42120
|
on: {
|
|
42108
42121
|
"click": _vm.hideHandle
|
|
42109
42122
|
}
|
|
42110
42123
|
}, [_c('i', {
|
|
42111
42124
|
staticClass: "c-icon-cross"
|
|
42112
|
-
})])]), _c('
|
|
42125
|
+
})])]) : _vm._e(), _c('div', {
|
|
42113
42126
|
ref: "content",
|
|
42127
|
+
staticClass: "c-window-body",
|
|
42114
42128
|
style: {
|
|
42115
42129
|
'height': _vm.parsePixel(this.height, true)
|
|
42116
42130
|
}
|
|
42117
|
-
}, [_vm._t("default")], 2), _vm.$scopedSlots.button ? _c('
|
|
42118
|
-
staticClass: "flex-between-center"
|
|
42119
|
-
}, [_c('div',
|
|
42120
|
-
staticClass: "
|
|
42121
|
-
}, [_vm._t("
|
|
42131
|
+
}, [_vm._t("default")], 2), _vm.$scopedSlots.button ? _c('div', {
|
|
42132
|
+
staticClass: "c-window-foot flex-between-center"
|
|
42133
|
+
}, [_c('div', {
|
|
42134
|
+
staticClass: "flex-grow flex-start-center"
|
|
42135
|
+
}, [_vm._t("foot")], 2), _c('div', {
|
|
42136
|
+
staticClass: "c-window-button flex-center"
|
|
42137
|
+
}, [_vm._t("button")], 2)]) : _vm._e()])]);
|
|
42122
42138
|
};
|
|
42123
|
-
var
|
|
42139
|
+
var windowvue_type_template_id_1a12c054_scoped_true_staticRenderFns = [];
|
|
42124
42140
|
|
|
42125
|
-
// CONCATENATED MODULE: ./src/components/popup/window.vue?vue&type=template&id=
|
|
42141
|
+
// CONCATENATED MODULE: ./src/components/popup/window.vue?vue&type=template&id=1a12c054&scoped=true&
|
|
42126
42142
|
|
|
42127
42143
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/popup/window.vue?vue&type=script&lang=js&
|
|
42128
42144
|
|
|
42129
42145
|
/* harmony default export */ var popup_windowvue_type_script_lang_js_ = ({
|
|
42130
42146
|
name: 'cWindow',
|
|
42131
42147
|
props: {
|
|
42132
|
-
title: String,
|
|
42148
|
+
title: [String, Boolean],
|
|
42133
42149
|
width: {
|
|
42134
42150
|
type: [Number, String],
|
|
42135
42151
|
default: 400
|
|
@@ -42145,6 +42161,12 @@ var windowvue_type_template_id_3d87fc16_scoped_true_staticRenderFns = [];
|
|
|
42145
42161
|
align: {
|
|
42146
42162
|
type: String,
|
|
42147
42163
|
default: 'start'
|
|
42164
|
+
},
|
|
42165
|
+
maskClose: {
|
|
42166
|
+
type: Boolean,
|
|
42167
|
+
default() {
|
|
42168
|
+
return this.$compsConfig.config.window.maskClose;
|
|
42169
|
+
}
|
|
42148
42170
|
}
|
|
42149
42171
|
},
|
|
42150
42172
|
data() {
|
|
@@ -42175,15 +42197,15 @@ var windowvue_type_template_id_3d87fc16_scoped_true_staticRenderFns = [];
|
|
|
42175
42197
|
this._updatePosition = () => {
|
|
42176
42198
|
let rect = follow.getBoundingClientRect();
|
|
42177
42199
|
let top = rect.top + ({
|
|
42178
|
-
top: -this.$
|
|
42200
|
+
top: -this.$refs.window.offsetHeight,
|
|
42179
42201
|
bottom: rect.height
|
|
42180
|
-
}[position] || 0) + (side && align != 'start' ? rect.height - this.$
|
|
42202
|
+
}[position] || 0) + (side && align != 'start' ? rect.height - this.$refs.window.offsetHeight : 0);
|
|
42181
42203
|
this.positionStyle = {
|
|
42182
42204
|
left: rect.left + ({
|
|
42183
|
-
left: -this.$
|
|
42205
|
+
left: -this.$refs.window.offsetWidth,
|
|
42184
42206
|
right: rect.width
|
|
42185
|
-
}[position] || 0) + (['top', 'bottom'].includes(position) && align != 'start' ? rect.width - this.$
|
|
42186
|
-
top: Math.max(Math.min(top, window.innerHeight - this.$
|
|
42207
|
+
}[position] || 0) + (['top', 'bottom'].includes(position) && align != 'start' ? rect.width - this.$refs.window.offsetWidth : 0) + 'px',
|
|
42208
|
+
top: Math.max(Math.min(top, window.innerHeight - this.$refs.window.offsetHeight), 0) + 'px'
|
|
42187
42209
|
};
|
|
42188
42210
|
};
|
|
42189
42211
|
this._removeEvent = () => {
|
|
@@ -42213,8 +42235,8 @@ var windowvue_type_template_id_3d87fc16_scoped_true_staticRenderFns = [];
|
|
|
42213
42235
|
});
|
|
42214
42236
|
// CONCATENATED MODULE: ./src/components/popup/window.vue?vue&type=script&lang=js&
|
|
42215
42237
|
/* harmony default export */ var components_popup_windowvue_type_script_lang_js_ = (popup_windowvue_type_script_lang_js_);
|
|
42216
|
-
// EXTERNAL MODULE: ./src/components/popup/window.vue?vue&type=style&index=0&id=
|
|
42217
|
-
var
|
|
42238
|
+
// EXTERNAL MODULE: ./src/components/popup/window.vue?vue&type=style&index=0&id=1a12c054&prod&lang=stylus&scoped=true&
|
|
42239
|
+
var windowvue_type_style_index_0_id_1a12c054_prod_lang_stylus_scoped_true_ = __webpack_require__("13cb");
|
|
42218
42240
|
|
|
42219
42241
|
// CONCATENATED MODULE: ./src/components/popup/window.vue
|
|
42220
42242
|
|
|
@@ -42227,11 +42249,11 @@ var windowvue_type_style_index_0_id_3d87fc16_prod_lang_stylus_scoped_true_ = __w
|
|
|
42227
42249
|
|
|
42228
42250
|
var popup_window_component = normalizeComponent(
|
|
42229
42251
|
components_popup_windowvue_type_script_lang_js_,
|
|
42230
|
-
|
|
42231
|
-
|
|
42252
|
+
windowvue_type_template_id_1a12c054_scoped_true_render,
|
|
42253
|
+
windowvue_type_template_id_1a12c054_scoped_true_staticRenderFns,
|
|
42232
42254
|
false,
|
|
42233
42255
|
null,
|
|
42234
|
-
"
|
|
42256
|
+
"1a12c054",
|
|
42235
42257
|
null
|
|
42236
42258
|
|
|
42237
42259
|
)
|
|
@@ -58139,6 +58161,9 @@ const SHORTCUTS = {
|
|
|
58139
58161
|
dialog: {
|
|
58140
58162
|
maskClose: true,
|
|
58141
58163
|
maskCloseEvent: 'dblclick'
|
|
58164
|
+
},
|
|
58165
|
+
window: {
|
|
58166
|
+
maskClose: false
|
|
58142
58167
|
}
|
|
58143
58168
|
},
|
|
58144
58169
|
validate: {
|