@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
|
@@ -1478,6 +1478,17 @@ if (true) {
|
|
|
1478
1478
|
|
|
1479
1479
|
}));
|
|
1480
1480
|
|
|
1481
|
+
/***/ }),
|
|
1482
|
+
|
|
1483
|
+
/***/ "13cb":
|
|
1484
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
1485
|
+
|
|
1486
|
+
"use strict";
|
|
1487
|
+
/* 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");
|
|
1488
|
+
/* 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__);
|
|
1489
|
+
/* unused harmony reexport * */
|
|
1490
|
+
|
|
1491
|
+
|
|
1481
1492
|
/***/ }),
|
|
1482
1493
|
|
|
1483
1494
|
/***/ "13d2":
|
|
@@ -7072,13 +7083,6 @@ module.exports = function (argument) {
|
|
|
7072
7083
|
|
|
7073
7084
|
/***/ }),
|
|
7074
7085
|
|
|
7075
|
-
/***/ "5a3c":
|
|
7076
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
7077
|
-
|
|
7078
|
-
// extracted by mini-css-extract-plugin
|
|
7079
|
-
|
|
7080
|
-
/***/ }),
|
|
7081
|
-
|
|
7082
7086
|
/***/ "5aa3":
|
|
7083
7087
|
/***/ (function(module, exports, __webpack_require__) {
|
|
7084
7088
|
|
|
@@ -7215,6 +7219,13 @@ $({ target: 'String', proto: true }, {
|
|
|
7215
7219
|
});
|
|
7216
7220
|
|
|
7217
7221
|
|
|
7222
|
+
/***/ }),
|
|
7223
|
+
|
|
7224
|
+
/***/ "5b91":
|
|
7225
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
7226
|
+
|
|
7227
|
+
// extracted by mini-css-extract-plugin
|
|
7228
|
+
|
|
7218
7229
|
/***/ }),
|
|
7219
7230
|
|
|
7220
7231
|
/***/ "5bd0":
|
|
@@ -7543,12 +7554,12 @@ module.exports = {
|
|
|
7543
7554
|
|
|
7544
7555
|
/***/ }),
|
|
7545
7556
|
|
|
7546
|
-
/***/ "
|
|
7557
|
+
/***/ "6ae4":
|
|
7547
7558
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
7548
7559
|
|
|
7549
7560
|
"use strict";
|
|
7550
|
-
/* harmony import */ var
|
|
7551
|
-
/* harmony import */ var
|
|
7561
|
+
/* 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");
|
|
7562
|
+
/* 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__);
|
|
7552
7563
|
/* unused harmony reexport * */
|
|
7553
7564
|
|
|
7554
7565
|
|
|
@@ -26180,13 +26191,6 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
26180
26191
|
/* unused harmony reexport * */
|
|
26181
26192
|
|
|
26182
26193
|
|
|
26183
|
-
/***/ }),
|
|
26184
|
-
|
|
26185
|
-
/***/ "8128":
|
|
26186
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
26187
|
-
|
|
26188
|
-
// extracted by mini-css-extract-plugin
|
|
26189
|
-
|
|
26190
26194
|
/***/ }),
|
|
26191
26195
|
|
|
26192
26196
|
/***/ "81bf":
|
|
@@ -26974,17 +26978,6 @@ module.exports = isForced;
|
|
|
26974
26978
|
|
|
26975
26979
|
}));
|
|
26976
26980
|
|
|
26977
|
-
/***/ }),
|
|
26978
|
-
|
|
26979
|
-
/***/ "9545":
|
|
26980
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
26981
|
-
|
|
26982
|
-
"use strict";
|
|
26983
|
-
/* 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");
|
|
26984
|
-
/* 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__);
|
|
26985
|
-
/* unused harmony reexport * */
|
|
26986
|
-
|
|
26987
|
-
|
|
26988
26981
|
/***/ }),
|
|
26989
26982
|
|
|
26990
26983
|
/***/ "9582":
|
|
@@ -31762,7 +31755,7 @@ exports.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
31762
31755
|
|
|
31763
31756
|
"use strict";
|
|
31764
31757
|
__webpack_require__.r(__webpack_exports__);
|
|
31765
|
-
/* harmony default export */ __webpack_exports__["default"] = ("## 示例代码\n\n```\n<c-window ref=\"window\">\n\t<div>窗口内容</div>\n\n\t<template #
|
|
31758
|
+
/* 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 | - | 点击关闭图标时触发");
|
|
31766
31759
|
|
|
31767
31760
|
/***/ }),
|
|
31768
31761
|
|
|
@@ -33637,6 +33630,13 @@ module.exports = function (target, name, descriptor) {
|
|
|
33637
33630
|
|
|
33638
33631
|
/***/ }),
|
|
33639
33632
|
|
|
33633
|
+
/***/ "f534":
|
|
33634
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
33635
|
+
|
|
33636
|
+
// extracted by mini-css-extract-plugin
|
|
33637
|
+
|
|
33638
|
+
/***/ }),
|
|
33639
|
+
|
|
33640
33640
|
/***/ "f591":
|
|
33641
33641
|
/***/ (function(module, exports, __webpack_require__) {
|
|
33642
33642
|
|
|
@@ -36398,8 +36398,8 @@ var dialog_component = normalizeComponent(
|
|
|
36398
36398
|
)
|
|
36399
36399
|
|
|
36400
36400
|
/* harmony default export */ var dialog = (dialog_component.exports);
|
|
36401
|
-
// 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=
|
|
36402
|
-
var
|
|
36401
|
+
// 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&
|
|
36402
|
+
var windowvue_type_template_id_7c86bf5a_scoped_true_render = function render() {
|
|
36403
36403
|
var _vm = this,
|
|
36404
36404
|
_c = _vm._self._c;
|
|
36405
36405
|
return _c('div', [_c('div', [_c('c-button', {
|
|
@@ -36412,10 +36412,11 @@ var windowvue_type_template_id_7c9c33d0_scoped_true_render = function render() {
|
|
|
36412
36412
|
}, [_vm._v("显示窗口")]), _c('c-window', {
|
|
36413
36413
|
ref: "window",
|
|
36414
36414
|
attrs: {
|
|
36415
|
-
"title": "测试"
|
|
36415
|
+
"title": "测试",
|
|
36416
|
+
"mask-close": ""
|
|
36416
36417
|
},
|
|
36417
36418
|
scopedSlots: _vm._u([{
|
|
36418
|
-
key: "
|
|
36419
|
+
key: "foot",
|
|
36419
36420
|
fn: function () {
|
|
36420
36421
|
return [_vm._v(" 自定义内容 ")];
|
|
36421
36422
|
},
|
|
@@ -36438,9 +36439,9 @@ var windowvue_type_template_id_7c9c33d0_scoped_true_render = function render() {
|
|
|
36438
36439
|
}
|
|
36439
36440
|
})]);
|
|
36440
36441
|
};
|
|
36441
|
-
var
|
|
36442
|
+
var windowvue_type_template_id_7c86bf5a_scoped_true_staticRenderFns = [];
|
|
36442
36443
|
|
|
36443
|
-
// CONCATENATED MODULE: ./src/api/window.vue?vue&type=template&id=
|
|
36444
|
+
// CONCATENATED MODULE: ./src/api/window.vue?vue&type=template&id=7c86bf5a&scoped=true&
|
|
36444
36445
|
|
|
36445
36446
|
// 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&
|
|
36446
36447
|
/* harmony default export */ var windowvue_type_script_lang_js_ = ({
|
|
@@ -36462,11 +36463,11 @@ var windowvue_type_template_id_7c9c33d0_scoped_true_staticRenderFns = [];
|
|
|
36462
36463
|
|
|
36463
36464
|
var window_component = normalizeComponent(
|
|
36464
36465
|
api_windowvue_type_script_lang_js_,
|
|
36465
|
-
|
|
36466
|
-
|
|
36466
|
+
windowvue_type_template_id_7c86bf5a_scoped_true_render,
|
|
36467
|
+
windowvue_type_template_id_7c86bf5a_scoped_true_staticRenderFns,
|
|
36467
36468
|
false,
|
|
36468
36469
|
null,
|
|
36469
|
-
"
|
|
36470
|
+
"7c86bf5a",
|
|
36470
36471
|
null
|
|
36471
36472
|
|
|
36472
36473
|
)
|
|
@@ -41643,8 +41644,8 @@ var unit_editor_component = normalizeComponent(
|
|
|
41643
41644
|
)
|
|
41644
41645
|
|
|
41645
41646
|
/* harmony default export */ var unit_editor = (unit_editor_component.exports);
|
|
41646
|
-
// 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=
|
|
41647
|
-
var
|
|
41647
|
+
// 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&
|
|
41648
|
+
var dialogvue_type_template_id_5bcd3a66_scoped_true_render = function render() {
|
|
41648
41649
|
var _vm = this,
|
|
41649
41650
|
_c = _vm._self._c;
|
|
41650
41651
|
return _c('div', {
|
|
@@ -41695,7 +41696,9 @@ var dialogvue_type_template_id_1707dd2d_scoped_true_render = function render() {
|
|
|
41695
41696
|
on: {
|
|
41696
41697
|
"mousedown": _vm.moveHandle
|
|
41697
41698
|
}
|
|
41698
|
-
}, [
|
|
41699
|
+
}, [_vm.options.title ? _c('p', {
|
|
41700
|
+
staticClass: "c-dialog-title"
|
|
41701
|
+
}, [_vm._v(_vm._s(_vm.$t(_vm.options.title)))]) : _vm._e(), _vm._t("head")], 2) : _vm._e(), _c('div', {
|
|
41699
41702
|
staticClass: "flex c-dialog-handle"
|
|
41700
41703
|
}, [_vm.compResizeButton ? [_vm.compResizeButton.includes('min') ? _c('div', {
|
|
41701
41704
|
staticClass: "c-dialog-handle-item flex-center",
|
|
@@ -41731,7 +41734,11 @@ var dialogvue_type_template_id_1707dd2d_scoped_true_render = function render() {
|
|
|
41731
41734
|
'overflow': _vm.compHeight == 'auto' ? '' : 'auto'
|
|
41732
41735
|
}
|
|
41733
41736
|
}, [_vm._t("default")], 2), _vm.options.button ? _c('div', {
|
|
41734
|
-
staticClass: "c-dialog-
|
|
41737
|
+
staticClass: "c-dialog-foot flex-between-center"
|
|
41738
|
+
}, [_c('div', {
|
|
41739
|
+
staticClass: "flex-grow flex-start-center"
|
|
41740
|
+
}, [_vm._t("foot")], 2), _c('div', {
|
|
41741
|
+
staticClass: "flex-center"
|
|
41735
41742
|
}, [_vm.$slots.button ? _vm._t("button") : [_c('c-button', {
|
|
41736
41743
|
attrs: {
|
|
41737
41744
|
"size": "dialog",
|
|
@@ -41751,11 +41758,11 @@ var dialogvue_type_template_id_1707dd2d_scoped_true_render = function render() {
|
|
|
41751
41758
|
return _vm.buttonHandle('cancel');
|
|
41752
41759
|
}
|
|
41753
41760
|
}
|
|
41754
|
-
}, [_vm._v(_vm._s(_vm.$t(_vm.options.cancelButtonName)))]) : _vm._e()]], 2) : _vm._e()])])]);
|
|
41761
|
+
}, [_vm._v(_vm._s(_vm.$t(_vm.options.cancelButtonName)))]) : _vm._e()]], 2)]) : _vm._e()])])]);
|
|
41755
41762
|
};
|
|
41756
|
-
var
|
|
41763
|
+
var dialogvue_type_template_id_5bcd3a66_scoped_true_staticRenderFns = [];
|
|
41757
41764
|
|
|
41758
|
-
// CONCATENATED MODULE: ./src/components/popup/dialog.vue?vue&type=template&id=
|
|
41765
|
+
// CONCATENATED MODULE: ./src/components/popup/dialog.vue?vue&type=template&id=5bcd3a66&scoped=true&
|
|
41759
41766
|
|
|
41760
41767
|
// 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&
|
|
41761
41768
|
/* harmony default export */ var popup_dialogvue_type_script_lang_js_ = ({
|
|
@@ -42073,8 +42080,8 @@ var dialogvue_type_template_id_1707dd2d_scoped_true_staticRenderFns = [];
|
|
|
42073
42080
|
});
|
|
42074
42081
|
// CONCATENATED MODULE: ./src/components/popup/dialog.vue?vue&type=script&lang=js&
|
|
42075
42082
|
/* harmony default export */ var components_popup_dialogvue_type_script_lang_js_ = (popup_dialogvue_type_script_lang_js_);
|
|
42076
|
-
// EXTERNAL MODULE: ./src/components/popup/dialog.vue?vue&type=style&index=0&id=
|
|
42077
|
-
var
|
|
42083
|
+
// EXTERNAL MODULE: ./src/components/popup/dialog.vue?vue&type=style&index=0&id=5bcd3a66&prod&lang=stylus&scoped=true&
|
|
42084
|
+
var dialogvue_type_style_index_0_id_5bcd3a66_prod_lang_stylus_scoped_true_ = __webpack_require__("6ae4");
|
|
42078
42085
|
|
|
42079
42086
|
// CONCATENATED MODULE: ./src/components/popup/dialog.vue
|
|
42080
42087
|
|
|
@@ -42087,58 +42094,67 @@ var dialogvue_type_style_index_0_id_1707dd2d_prod_lang_stylus_scoped_true_ = __w
|
|
|
42087
42094
|
|
|
42088
42095
|
var popup_dialog_component = normalizeComponent(
|
|
42089
42096
|
components_popup_dialogvue_type_script_lang_js_,
|
|
42090
|
-
|
|
42091
|
-
|
|
42097
|
+
dialogvue_type_template_id_5bcd3a66_scoped_true_render,
|
|
42098
|
+
dialogvue_type_template_id_5bcd3a66_scoped_true_staticRenderFns,
|
|
42092
42099
|
false,
|
|
42093
42100
|
null,
|
|
42094
|
-
"
|
|
42101
|
+
"5bcd3a66",
|
|
42095
42102
|
null
|
|
42096
42103
|
|
|
42097
42104
|
)
|
|
42098
42105
|
|
|
42099
42106
|
/* harmony default export */ var popup_dialog = (popup_dialog_component.exports);
|
|
42100
|
-
// 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=
|
|
42101
|
-
var
|
|
42107
|
+
// 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&
|
|
42108
|
+
var windowvue_type_template_id_1a12c054_scoped_true_render = function render() {
|
|
42102
42109
|
var _vm = this,
|
|
42103
42110
|
_c = _vm._self._c;
|
|
42104
|
-
return _c('
|
|
42111
|
+
return _c('div', [_vm.maskClose && _vm.active ? _c('div', {
|
|
42112
|
+
staticClass: "c-window-mask",
|
|
42113
|
+
on: {
|
|
42114
|
+
"click": _vm.hide
|
|
42115
|
+
}
|
|
42116
|
+
}) : _vm._e(), _c('div', {
|
|
42105
42117
|
directives: [{
|
|
42106
42118
|
name: "show",
|
|
42107
42119
|
rawName: "v-show",
|
|
42108
42120
|
value: _vm.active,
|
|
42109
42121
|
expression: "active"
|
|
42110
42122
|
}],
|
|
42123
|
+
ref: "window",
|
|
42111
42124
|
staticClass: "c-window",
|
|
42112
42125
|
style: _vm.compStyle
|
|
42113
|
-
}, [_c('
|
|
42114
|
-
staticClass: "flex-between-center"
|
|
42126
|
+
}, [_vm.title !== false ? _c('div', {
|
|
42127
|
+
staticClass: "c-window-head flex-between-center"
|
|
42115
42128
|
}, [_c('p', [_vm._v(_vm._s(_vm.$t(_vm.title)))]), _c('a', {
|
|
42116
42129
|
on: {
|
|
42117
42130
|
"click": _vm.hideHandle
|
|
42118
42131
|
}
|
|
42119
42132
|
}, [_c('i', {
|
|
42120
42133
|
staticClass: "c-icon-cross"
|
|
42121
|
-
})])]), _c('
|
|
42134
|
+
})])]) : _vm._e(), _c('div', {
|
|
42122
42135
|
ref: "content",
|
|
42136
|
+
staticClass: "c-window-body",
|
|
42123
42137
|
style: {
|
|
42124
42138
|
'height': _vm.parsePixel(this.height, true)
|
|
42125
42139
|
}
|
|
42126
|
-
}, [_vm._t("default")], 2), _vm.$scopedSlots.button ? _c('
|
|
42127
|
-
staticClass: "flex-between-center"
|
|
42128
|
-
}, [_c('div',
|
|
42129
|
-
staticClass: "
|
|
42130
|
-
}, [_vm._t("
|
|
42140
|
+
}, [_vm._t("default")], 2), _vm.$scopedSlots.button ? _c('div', {
|
|
42141
|
+
staticClass: "c-window-foot flex-between-center"
|
|
42142
|
+
}, [_c('div', {
|
|
42143
|
+
staticClass: "flex-grow flex-start-center"
|
|
42144
|
+
}, [_vm._t("foot")], 2), _c('div', {
|
|
42145
|
+
staticClass: "c-window-button flex-center"
|
|
42146
|
+
}, [_vm._t("button")], 2)]) : _vm._e()])]);
|
|
42131
42147
|
};
|
|
42132
|
-
var
|
|
42148
|
+
var windowvue_type_template_id_1a12c054_scoped_true_staticRenderFns = [];
|
|
42133
42149
|
|
|
42134
|
-
// CONCATENATED MODULE: ./src/components/popup/window.vue?vue&type=template&id=
|
|
42150
|
+
// CONCATENATED MODULE: ./src/components/popup/window.vue?vue&type=template&id=1a12c054&scoped=true&
|
|
42135
42151
|
|
|
42136
42152
|
// 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&
|
|
42137
42153
|
|
|
42138
42154
|
/* harmony default export */ var popup_windowvue_type_script_lang_js_ = ({
|
|
42139
42155
|
name: 'cWindow',
|
|
42140
42156
|
props: {
|
|
42141
|
-
title: String,
|
|
42157
|
+
title: [String, Boolean],
|
|
42142
42158
|
width: {
|
|
42143
42159
|
type: [Number, String],
|
|
42144
42160
|
default: 400
|
|
@@ -42154,6 +42170,12 @@ var windowvue_type_template_id_3d87fc16_scoped_true_staticRenderFns = [];
|
|
|
42154
42170
|
align: {
|
|
42155
42171
|
type: String,
|
|
42156
42172
|
default: 'start'
|
|
42173
|
+
},
|
|
42174
|
+
maskClose: {
|
|
42175
|
+
type: Boolean,
|
|
42176
|
+
default() {
|
|
42177
|
+
return this.$compsConfig.config.window.maskClose;
|
|
42178
|
+
}
|
|
42157
42179
|
}
|
|
42158
42180
|
},
|
|
42159
42181
|
data() {
|
|
@@ -42184,15 +42206,15 @@ var windowvue_type_template_id_3d87fc16_scoped_true_staticRenderFns = [];
|
|
|
42184
42206
|
this._updatePosition = () => {
|
|
42185
42207
|
let rect = follow.getBoundingClientRect();
|
|
42186
42208
|
let top = rect.top + ({
|
|
42187
|
-
top: -this.$
|
|
42209
|
+
top: -this.$refs.window.offsetHeight,
|
|
42188
42210
|
bottom: rect.height
|
|
42189
|
-
}[position] || 0) + (side && align != 'start' ? rect.height - this.$
|
|
42211
|
+
}[position] || 0) + (side && align != 'start' ? rect.height - this.$refs.window.offsetHeight : 0);
|
|
42190
42212
|
this.positionStyle = {
|
|
42191
42213
|
left: rect.left + ({
|
|
42192
|
-
left: -this.$
|
|
42214
|
+
left: -this.$refs.window.offsetWidth,
|
|
42193
42215
|
right: rect.width
|
|
42194
|
-
}[position] || 0) + (['top', 'bottom'].includes(position) && align != 'start' ? rect.width - this.$
|
|
42195
|
-
top: Math.max(Math.min(top, window.innerHeight - this.$
|
|
42216
|
+
}[position] || 0) + (['top', 'bottom'].includes(position) && align != 'start' ? rect.width - this.$refs.window.offsetWidth : 0) + 'px',
|
|
42217
|
+
top: Math.max(Math.min(top, window.innerHeight - this.$refs.window.offsetHeight), 0) + 'px'
|
|
42196
42218
|
};
|
|
42197
42219
|
};
|
|
42198
42220
|
this._removeEvent = () => {
|
|
@@ -42222,8 +42244,8 @@ var windowvue_type_template_id_3d87fc16_scoped_true_staticRenderFns = [];
|
|
|
42222
42244
|
});
|
|
42223
42245
|
// CONCATENATED MODULE: ./src/components/popup/window.vue?vue&type=script&lang=js&
|
|
42224
42246
|
/* harmony default export */ var components_popup_windowvue_type_script_lang_js_ = (popup_windowvue_type_script_lang_js_);
|
|
42225
|
-
// EXTERNAL MODULE: ./src/components/popup/window.vue?vue&type=style&index=0&id=
|
|
42226
|
-
var
|
|
42247
|
+
// EXTERNAL MODULE: ./src/components/popup/window.vue?vue&type=style&index=0&id=1a12c054&prod&lang=stylus&scoped=true&
|
|
42248
|
+
var windowvue_type_style_index_0_id_1a12c054_prod_lang_stylus_scoped_true_ = __webpack_require__("13cb");
|
|
42227
42249
|
|
|
42228
42250
|
// CONCATENATED MODULE: ./src/components/popup/window.vue
|
|
42229
42251
|
|
|
@@ -42236,11 +42258,11 @@ var windowvue_type_style_index_0_id_3d87fc16_prod_lang_stylus_scoped_true_ = __w
|
|
|
42236
42258
|
|
|
42237
42259
|
var popup_window_component = normalizeComponent(
|
|
42238
42260
|
components_popup_windowvue_type_script_lang_js_,
|
|
42239
|
-
|
|
42240
|
-
|
|
42261
|
+
windowvue_type_template_id_1a12c054_scoped_true_render,
|
|
42262
|
+
windowvue_type_template_id_1a12c054_scoped_true_staticRenderFns,
|
|
42241
42263
|
false,
|
|
42242
42264
|
null,
|
|
42243
|
-
"
|
|
42265
|
+
"1a12c054",
|
|
42244
42266
|
null
|
|
42245
42267
|
|
|
42246
42268
|
)
|
|
@@ -58148,6 +58170,9 @@ const SHORTCUTS = {
|
|
|
58148
58170
|
dialog: {
|
|
58149
58171
|
maskClose: true,
|
|
58150
58172
|
maskCloseEvent: 'dblclick'
|
|
58173
|
+
},
|
|
58174
|
+
window: {
|
|
58175
|
+
maskClose: false
|
|
58151
58176
|
}
|
|
58152
58177
|
},
|
|
58153
58178
|
validate: {
|