vxe-pc-ui 1.9.21 → 1.9.23
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/es/components.js +3 -3
- package/es/form-design/render/use-widget-form.js +2 -2
- package/es/icon/style.css +1 -1
- package/es/modal/index.js +14 -1
- package/es/modal/src/modal.js +51 -20
- package/es/modal/style.css +19 -10
- package/es/modal/style.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/tip/index.js +12 -0
- package/es/{tips/src/tips.js → tip/src/tip.js} +12 -12
- package/es/{tips → tip}/style.css +26 -26
- package/es/tip/style.min.css +1 -0
- package/es/ui/index.js +3 -3
- package/es/ui/src/log.js +1 -1
- package/es/vxe-modal/style.css +19 -10
- package/es/vxe-modal/style.min.css +1 -1
- package/es/vxe-tip/index.js +3 -0
- package/es/{vxe-tips → vxe-tip}/style.css +26 -26
- package/es/vxe-tip/style.min.css +1 -0
- package/helper/vetur/attributes.json +1 -1
- package/helper/vetur/tags.json +1 -1
- package/lib/components.js +5 -5
- package/lib/components.min.js +1 -1
- package/lib/form-design/render/use-widget-form.js +2 -2
- package/lib/form-design/render/use-widget-form.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +106 -44
- package/lib/index.umd.min.js +1 -1
- package/lib/modal/index.js +14 -1
- package/lib/modal/index.min.js +1 -1
- package/lib/modal/src/modal.js +59 -15
- package/lib/modal/src/modal.min.js +1 -1
- package/lib/modal/style/style.css +19 -10
- package/lib/modal/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/tip/index.js +19 -0
- package/lib/tip/index.min.js +1 -0
- package/lib/{tips/src/tips.js → tip/src/tip.js} +12 -12
- package/lib/tip/src/tip.min.js +1 -0
- package/lib/{vxe-tips → tip}/style/style.css +26 -26
- package/lib/tip/style/style.min.css +1 -0
- package/lib/ui/index.js +3 -3
- package/lib/ui/index.min.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/ui/src/log.min.js +1 -1
- package/lib/vxe-modal/style/style.css +19 -10
- package/lib/vxe-modal/style/style.min.css +1 -1
- package/lib/{vxe-tips → vxe-tip}/index.js +5 -5
- package/lib/vxe-tip/index.min.js +1 -0
- package/lib/{tips → vxe-tip}/style/style.css +26 -26
- package/lib/vxe-tip/style/style.min.css +1 -0
- package/package.json +1 -1
- package/packages/components.ts +3 -3
- package/packages/form-design/render/use-widget-form.ts +2 -2
- package/packages/modal/index.ts +15 -1
- package/packages/modal/src/modal.ts +55 -14
- package/packages/tip/index.ts +17 -0
- package/packages/{tips/src/tips.ts → tip/src/tip.ts} +22 -22
- package/packages/ui/index.ts +2 -2
- package/styles/all.scss +1 -1
- package/styles/components/modal.scss +19 -4
- package/styles/components/{tips.scss → tip.scss} +5 -5
- package/types/all.d.ts +3 -3
- package/types/components/modal.d.ts +15 -2
- package/types/components/table.d.ts +1 -1
- package/types/components/tip.d.ts +79 -0
- package/types/ui/global-config.d.ts +2 -2
- package/es/tips/index.js +0 -10
- package/es/tips/style.min.css +0 -1
- package/es/vxe-tips/index.js +0 -3
- package/es/vxe-tips/style.min.css +0 -1
- package/lib/tips/index.js +0 -17
- package/lib/tips/index.min.js +0 -1
- package/lib/tips/src/tips.min.js +0 -1
- package/lib/tips/style/style.min.css +0 -1
- package/lib/vxe-tips/index.min.js +0 -1
- package/lib/vxe-tips/style/style.min.css +0 -1
- package/packages/tips/index.ts +0 -14
- package/types/components/tips.d.ts +0 -79
- /package/es/icon/style/{iconfont.1717772085052.ttf → iconfont.1717851573434.ttf} +0 -0
- /package/es/icon/style/{iconfont.1717772085052.woff → iconfont.1717851573434.woff} +0 -0
- /package/es/icon/style/{iconfont.1717772085052.woff2 → iconfont.1717851573434.woff2} +0 -0
- /package/es/{iconfont.1717772085052.ttf → iconfont.1717851573434.ttf} +0 -0
- /package/es/{iconfont.1717772085052.woff → iconfont.1717851573434.woff} +0 -0
- /package/es/{iconfont.1717772085052.woff2 → iconfont.1717851573434.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1717772085052.ttf → iconfont.1717851573434.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1717772085052.woff → iconfont.1717851573434.woff} +0 -0
- /package/lib/icon/style/{iconfont.1717772085052.woff2 → iconfont.1717851573434.woff2} +0 -0
- /package/lib/{iconfont.1717772085052.ttf → iconfont.1717851573434.ttf} +0 -0
- /package/lib/{iconfont.1717772085052.woff → iconfont.1717851573434.woff} +0 -0
- /package/lib/{iconfont.1717772085052.woff2 → iconfont.1717851573434.woff2} +0 -0
- /package/lib/{tips → tip}/style/index.js +0 -0
- /package/lib/{vxe-tips → vxe-tip}/style/index.js +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -2338,7 +2338,8 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2338
2338
|
/* harmony export */ Tag: function() { return /* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_56__.vw; },
|
|
2339
2339
|
/* harmony export */ Text: function() { return /* reexport safe */ _text__WEBPACK_IMPORTED_MODULE_57__.EY; },
|
|
2340
2340
|
/* harmony export */ Textarea: function() { return /* reexport safe */ _textarea__WEBPACK_IMPORTED_MODULE_58__.TM; },
|
|
2341
|
-
/* harmony export */
|
|
2341
|
+
/* harmony export */ Tip: function() { return /* reexport safe */ _tip__WEBPACK_IMPORTED_MODULE_59__.Y6; },
|
|
2342
|
+
/* harmony export */ Tips: function() { return /* reexport safe */ _tip__WEBPACK_IMPORTED_MODULE_59__.Vt; },
|
|
2342
2343
|
/* harmony export */ Tooltip: function() { return /* reexport safe */ _tooltip__WEBPACK_IMPORTED_MODULE_60__.m_; },
|
|
2343
2344
|
/* harmony export */ Tree: function() { return /* reexport safe */ _tree__WEBPACK_IMPORTED_MODULE_61__.PH; },
|
|
2344
2345
|
/* harmony export */ TreeSelect: function() { return /* reexport safe */ _tree_select__WEBPACK_IMPORTED_MODULE_62__.f7; },
|
|
@@ -2400,7 +2401,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2400
2401
|
/* harmony export */ VxeTag: function() { return /* reexport safe */ _tag__WEBPACK_IMPORTED_MODULE_56__.UW; },
|
|
2401
2402
|
/* harmony export */ VxeText: function() { return /* reexport safe */ _text__WEBPACK_IMPORTED_MODULE_57__.pQ; },
|
|
2402
2403
|
/* harmony export */ VxeTextarea: function() { return /* reexport safe */ _textarea__WEBPACK_IMPORTED_MODULE_58__.e6; },
|
|
2403
|
-
/* harmony export */
|
|
2404
|
+
/* harmony export */ VxeTip: function() { return /* reexport safe */ _tip__WEBPACK_IMPORTED_MODULE_59__.Hm; },
|
|
2404
2405
|
/* harmony export */ VxeTooltip: function() { return /* reexport safe */ _tooltip__WEBPACK_IMPORTED_MODULE_60__.D9; },
|
|
2405
2406
|
/* harmony export */ VxeTree: function() { return /* reexport safe */ _tree__WEBPACK_IMPORTED_MODULE_61__.W$; },
|
|
2406
2407
|
/* harmony export */ VxeTreeSelect: function() { return /* reexport safe */ _tree_select__WEBPACK_IMPORTED_MODULE_62__.G7; },
|
|
@@ -2471,7 +2472,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2471
2472
|
/* harmony import */ var _tag__WEBPACK_IMPORTED_MODULE_56__ = __webpack_require__(9579);
|
|
2472
2473
|
/* harmony import */ var _text__WEBPACK_IMPORTED_MODULE_57__ = __webpack_require__(4213);
|
|
2473
2474
|
/* harmony import */ var _textarea__WEBPACK_IMPORTED_MODULE_58__ = __webpack_require__(6460);
|
|
2474
|
-
/* harmony import */ var
|
|
2475
|
+
/* harmony import */ var _tip__WEBPACK_IMPORTED_MODULE_59__ = __webpack_require__(7043);
|
|
2475
2476
|
/* harmony import */ var _tooltip__WEBPACK_IMPORTED_MODULE_60__ = __webpack_require__(3033);
|
|
2476
2477
|
/* harmony import */ var _tree__WEBPACK_IMPORTED_MODULE_61__ = __webpack_require__(3629);
|
|
2477
2478
|
/* harmony import */ var _tree_select__WEBPACK_IMPORTED_MODULE_62__ = __webpack_require__(2616);
|
|
@@ -2546,7 +2547,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
2546
2547
|
|
|
2547
2548
|
|
|
2548
2549
|
|
|
2549
|
-
const components = [_alert__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Ay, _anchor__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Ay, _anchor_link__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Ay, _breadcrumb__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Ay, _breadcrumb_item__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Ay, _button__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Ay, _button_group__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Ay, _calendar__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Ay, _card__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Ay, _carousel__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Ay, _checkbox__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Ay, _checkbox_group__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Ay, _col__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Ay, _collapse__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Ay, _collapse_pane__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Ay, _date_input__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Ay, _drawer__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Ay, _form__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Ay, _form_design__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Ay, _form_gather__WEBPACK_IMPORTED_MODULE_21__/* ["default"] */ .Ay, _form_item__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Ay, _form_view__WEBPACK_IMPORTED_MODULE_23__/* ["default"] */ .Ay, _icon__WEBPACK_IMPORTED_MODULE_24__/* ["default"] */ .Ay, _image__WEBPACK_IMPORTED_MODULE_25__/* ["default"] */ .Ay, _image_preview__WEBPACK_IMPORTED_MODULE_26__/* ["default"] */ .Ay, _input__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Ay, _layout_aside__WEBPACK_IMPORTED_MODULE_28__/* ["default"] */ .Ay, _layout_body__WEBPACK_IMPORTED_MODULE_29__/* ["default"] */ .Ay, _layout_container__WEBPACK_IMPORTED_MODULE_30__/* ["default"] */ .Ay, _layout_footer__WEBPACK_IMPORTED_MODULE_31__/* ["default"] */ .Ay, _layout_header__WEBPACK_IMPORTED_MODULE_32__/* ["default"] */ .Ay, _link__WEBPACK_IMPORTED_MODULE_33__/* ["default"] */ .Ay, _list_design__WEBPACK_IMPORTED_MODULE_34__/* ["default"] */ .Ay, _list_view__WEBPACK_IMPORTED_MODULE_35__/* ["default"] */ .Ay, _list__WEBPACK_IMPORTED_MODULE_36__/* ["default"] */ .Ay, _loading__WEBPACK_IMPORTED_MODULE_37__/* ["default"] */ .Ay, _menu__WEBPACK_IMPORTED_MODULE_38__/* ["default"] */ .Ay, _modal__WEBPACK_IMPORTED_MODULE_39__/* ["default"] */ .Ay, _number_input__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Ay, _optgroup__WEBPACK_IMPORTED_MODULE_41__/* ["default"] */ .Ay, _option__WEBPACK_IMPORTED_MODULE_42__/* ["default"] */ .Ay, _pager__WEBPACK_IMPORTED_MODULE_43__/* ["default"] */ .Ay, _password_input__WEBPACK_IMPORTED_MODULE_44__/* ["default"] */ .Ay, _print_page_break__WEBPACK_IMPORTED_MODULE_45__/* ["default"] */ .Ay, _print__WEBPACK_IMPORTED_MODULE_46__/* ["default"] */ .Ay, _pulldown__WEBPACK_IMPORTED_MODULE_47__/* ["default"] */ .Ay, _radio__WEBPACK_IMPORTED_MODULE_48__/* ["default"] */ .Ay, _radio_button__WEBPACK_IMPORTED_MODULE_49__/* ["default"] */ .Ay, _radio_group__WEBPACK_IMPORTED_MODULE_50__/* ["default"] */ .Ay, _row__WEBPACK_IMPORTED_MODULE_51__/* ["default"] */ .Ay, _select__WEBPACK_IMPORTED_MODULE_52__/* ["default"] */ .Ay, _switch__WEBPACK_IMPORTED_MODULE_53__/* ["default"] */ .Ay, _tab_pane__WEBPACK_IMPORTED_MODULE_54__/* ["default"] */ .Ay, _tabs__WEBPACK_IMPORTED_MODULE_55__/* ["default"] */ .Ay, _tag__WEBPACK_IMPORTED_MODULE_56__/* ["default"] */ .Ay, _text__WEBPACK_IMPORTED_MODULE_57__/* ["default"] */ .Ay, _textarea__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Ay,
|
|
2550
|
+
const components = [_alert__WEBPACK_IMPORTED_MODULE_2__/* ["default"] */ .Ay, _anchor__WEBPACK_IMPORTED_MODULE_3__/* ["default"] */ .Ay, _anchor_link__WEBPACK_IMPORTED_MODULE_4__/* ["default"] */ .Ay, _breadcrumb__WEBPACK_IMPORTED_MODULE_5__/* ["default"] */ .Ay, _breadcrumb_item__WEBPACK_IMPORTED_MODULE_6__/* ["default"] */ .Ay, _button__WEBPACK_IMPORTED_MODULE_7__/* ["default"] */ .Ay, _button_group__WEBPACK_IMPORTED_MODULE_8__/* ["default"] */ .Ay, _calendar__WEBPACK_IMPORTED_MODULE_9__/* ["default"] */ .Ay, _card__WEBPACK_IMPORTED_MODULE_10__/* ["default"] */ .Ay, _carousel__WEBPACK_IMPORTED_MODULE_11__/* ["default"] */ .Ay, _checkbox__WEBPACK_IMPORTED_MODULE_12__/* ["default"] */ .Ay, _checkbox_group__WEBPACK_IMPORTED_MODULE_13__/* ["default"] */ .Ay, _col__WEBPACK_IMPORTED_MODULE_14__/* ["default"] */ .Ay, _collapse__WEBPACK_IMPORTED_MODULE_15__/* ["default"] */ .Ay, _collapse_pane__WEBPACK_IMPORTED_MODULE_16__/* ["default"] */ .Ay, _date_input__WEBPACK_IMPORTED_MODULE_17__/* ["default"] */ .Ay, _drawer__WEBPACK_IMPORTED_MODULE_18__/* ["default"] */ .Ay, _form__WEBPACK_IMPORTED_MODULE_19__/* ["default"] */ .Ay, _form_design__WEBPACK_IMPORTED_MODULE_20__/* ["default"] */ .Ay, _form_gather__WEBPACK_IMPORTED_MODULE_21__/* ["default"] */ .Ay, _form_item__WEBPACK_IMPORTED_MODULE_22__/* ["default"] */ .Ay, _form_view__WEBPACK_IMPORTED_MODULE_23__/* ["default"] */ .Ay, _icon__WEBPACK_IMPORTED_MODULE_24__/* ["default"] */ .Ay, _image__WEBPACK_IMPORTED_MODULE_25__/* ["default"] */ .Ay, _image_preview__WEBPACK_IMPORTED_MODULE_26__/* ["default"] */ .Ay, _input__WEBPACK_IMPORTED_MODULE_27__/* ["default"] */ .Ay, _layout_aside__WEBPACK_IMPORTED_MODULE_28__/* ["default"] */ .Ay, _layout_body__WEBPACK_IMPORTED_MODULE_29__/* ["default"] */ .Ay, _layout_container__WEBPACK_IMPORTED_MODULE_30__/* ["default"] */ .Ay, _layout_footer__WEBPACK_IMPORTED_MODULE_31__/* ["default"] */ .Ay, _layout_header__WEBPACK_IMPORTED_MODULE_32__/* ["default"] */ .Ay, _link__WEBPACK_IMPORTED_MODULE_33__/* ["default"] */ .Ay, _list_design__WEBPACK_IMPORTED_MODULE_34__/* ["default"] */ .Ay, _list_view__WEBPACK_IMPORTED_MODULE_35__/* ["default"] */ .Ay, _list__WEBPACK_IMPORTED_MODULE_36__/* ["default"] */ .Ay, _loading__WEBPACK_IMPORTED_MODULE_37__/* ["default"] */ .Ay, _menu__WEBPACK_IMPORTED_MODULE_38__/* ["default"] */ .Ay, _modal__WEBPACK_IMPORTED_MODULE_39__/* ["default"] */ .Ay, _number_input__WEBPACK_IMPORTED_MODULE_40__/* ["default"] */ .Ay, _optgroup__WEBPACK_IMPORTED_MODULE_41__/* ["default"] */ .Ay, _option__WEBPACK_IMPORTED_MODULE_42__/* ["default"] */ .Ay, _pager__WEBPACK_IMPORTED_MODULE_43__/* ["default"] */ .Ay, _password_input__WEBPACK_IMPORTED_MODULE_44__/* ["default"] */ .Ay, _print_page_break__WEBPACK_IMPORTED_MODULE_45__/* ["default"] */ .Ay, _print__WEBPACK_IMPORTED_MODULE_46__/* ["default"] */ .Ay, _pulldown__WEBPACK_IMPORTED_MODULE_47__/* ["default"] */ .Ay, _radio__WEBPACK_IMPORTED_MODULE_48__/* ["default"] */ .Ay, _radio_button__WEBPACK_IMPORTED_MODULE_49__/* ["default"] */ .Ay, _radio_group__WEBPACK_IMPORTED_MODULE_50__/* ["default"] */ .Ay, _row__WEBPACK_IMPORTED_MODULE_51__/* ["default"] */ .Ay, _select__WEBPACK_IMPORTED_MODULE_52__/* ["default"] */ .Ay, _switch__WEBPACK_IMPORTED_MODULE_53__/* ["default"] */ .Ay, _tab_pane__WEBPACK_IMPORTED_MODULE_54__/* ["default"] */ .Ay, _tabs__WEBPACK_IMPORTED_MODULE_55__/* ["default"] */ .Ay, _tag__WEBPACK_IMPORTED_MODULE_56__/* ["default"] */ .Ay, _text__WEBPACK_IMPORTED_MODULE_57__/* ["default"] */ .Ay, _textarea__WEBPACK_IMPORTED_MODULE_58__/* ["default"] */ .Ay, _tip__WEBPACK_IMPORTED_MODULE_59__/* ["default"] */ .Ay, _tooltip__WEBPACK_IMPORTED_MODULE_60__/* ["default"] */ .Ay, _tree__WEBPACK_IMPORTED_MODULE_61__/* ["default"] */ .Ay, _tree_select__WEBPACK_IMPORTED_MODULE_62__/* ["default"] */ .Ay, _upload__WEBPACK_IMPORTED_MODULE_63__/* ["default"] */ .Ay];
|
|
2550
2551
|
function install(app, options) {
|
|
2551
2552
|
(0,_vxe_ui_core__WEBPACK_IMPORTED_MODULE_0__.setConfig)(options);
|
|
2552
2553
|
components.forEach(component => app.use(component));
|
|
@@ -7940,8 +7941,8 @@ const getWidgetSelectConfig = () => {
|
|
|
7940
7941
|
};
|
|
7941
7942
|
// EXTERNAL MODULE: ./packages/textarea/src/textarea.ts
|
|
7942
7943
|
var src_textarea = __webpack_require__(5911);
|
|
7943
|
-
// EXTERNAL MODULE: ./packages/
|
|
7944
|
-
var
|
|
7944
|
+
// EXTERNAL MODULE: ./packages/tip/src/tip.ts
|
|
7945
|
+
var tip = __webpack_require__(9031);
|
|
7945
7946
|
;// CONCATENATED MODULE: ./packages/form-design/render/use-widget-form.ts
|
|
7946
7947
|
|
|
7947
7948
|
|
|
@@ -8073,7 +8074,7 @@ function useWidgetPropDataSource(props, isSubOption) {
|
|
|
8073
8074
|
default() {
|
|
8074
8075
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
8075
8076
|
class: 'vxe-form-design--widget-form-item-data-source-popup'
|
|
8076
|
-
}, [isSubOption ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(
|
|
8077
|
+
}, [isSubOption ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(tip/* default */.A, {
|
|
8077
8078
|
status: 'primary',
|
|
8078
8079
|
title: '',
|
|
8079
8080
|
content: '每行对应一个选项,如果是分组,子项可以是空格或制表键开头,可从 Excel 或 WPS 中复制。'
|
|
@@ -18903,6 +18904,7 @@ var log = __webpack_require__(5719);
|
|
|
18903
18904
|
|
|
18904
18905
|
const allActiveModals = [];
|
|
18905
18906
|
const msgQueue = [];
|
|
18907
|
+
const notifyQueue = [];
|
|
18906
18908
|
/* harmony default export */ var modal = ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
18907
18909
|
name: 'VxeModal',
|
|
18908
18910
|
props: {
|
|
@@ -19082,7 +19084,7 @@ const msgQueue = [];
|
|
|
19082
19084
|
};
|
|
19083
19085
|
let modalMethods = {};
|
|
19084
19086
|
const computeIsMsg = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.computed)(() => {
|
|
19085
|
-
return props.type === 'message';
|
|
19087
|
+
return props.type === 'message' || props.type === 'notification';
|
|
19086
19088
|
});
|
|
19087
19089
|
const getBox = () => {
|
|
19088
19090
|
const boxElem = refModalBox.value;
|
|
@@ -19148,8 +19150,12 @@ const msgQueue = [];
|
|
|
19148
19150
|
};
|
|
19149
19151
|
const updateStyle = () => {
|
|
19150
19152
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
|
|
19153
|
+
const {
|
|
19154
|
+
type
|
|
19155
|
+
} = props;
|
|
19156
|
+
const queueList = type === 'notification' ? notifyQueue : msgQueue;
|
|
19151
19157
|
let offsetTop = 0;
|
|
19152
|
-
|
|
19158
|
+
queueList.forEach(comp => {
|
|
19153
19159
|
const boxElem = comp.getBox();
|
|
19154
19160
|
offsetTop += external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(comp.props.top);
|
|
19155
19161
|
comp.reactData.modalTop = offsetTop;
|
|
@@ -19158,8 +19164,12 @@ const msgQueue = [];
|
|
|
19158
19164
|
});
|
|
19159
19165
|
};
|
|
19160
19166
|
const removeMsgQueue = () => {
|
|
19161
|
-
|
|
19162
|
-
|
|
19167
|
+
const {
|
|
19168
|
+
type
|
|
19169
|
+
} = props;
|
|
19170
|
+
const queueList = type === 'notification' ? notifyQueue : msgQueue;
|
|
19171
|
+
if (queueList.indexOf($xeModal) > -1) {
|
|
19172
|
+
external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().remove(queueList, comp => comp === $xeModal);
|
|
19163
19173
|
}
|
|
19164
19174
|
updateStyle();
|
|
19165
19175
|
};
|
|
@@ -19270,8 +19280,12 @@ const msgQueue = [];
|
|
|
19270
19280
|
}
|
|
19271
19281
|
};
|
|
19272
19282
|
const addMsgQueue = () => {
|
|
19273
|
-
|
|
19274
|
-
|
|
19283
|
+
const {
|
|
19284
|
+
type
|
|
19285
|
+
} = props;
|
|
19286
|
+
const queueList = type === 'notification' ? notifyQueue : msgQueue;
|
|
19287
|
+
if (queueList.indexOf($xeModal) === -1) {
|
|
19288
|
+
queueList.push($xeModal);
|
|
19275
19289
|
}
|
|
19276
19290
|
updateStyle();
|
|
19277
19291
|
};
|
|
@@ -19317,9 +19331,17 @@ const msgQueue = [];
|
|
|
19317
19331
|
}
|
|
19318
19332
|
});
|
|
19319
19333
|
};
|
|
19334
|
+
let msgTimeout = null;
|
|
19335
|
+
const handleMsgAutoClose = () => {
|
|
19336
|
+
const {
|
|
19337
|
+
duration
|
|
19338
|
+
} = props;
|
|
19339
|
+
if (duration !== -1) {
|
|
19340
|
+
msgTimeout = setTimeout(() => closeModal('close'), external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(duration));
|
|
19341
|
+
}
|
|
19342
|
+
};
|
|
19320
19343
|
const openModal = () => {
|
|
19321
19344
|
const {
|
|
19322
|
-
duration,
|
|
19323
19345
|
remember,
|
|
19324
19346
|
showFooter
|
|
19325
19347
|
} = props;
|
|
@@ -19360,9 +19382,7 @@ const msgQueue = [];
|
|
|
19360
19382
|
}, 10);
|
|
19361
19383
|
if (isMsg) {
|
|
19362
19384
|
addMsgQueue();
|
|
19363
|
-
|
|
19364
|
-
setTimeout(() => closeModal('close'), external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(duration));
|
|
19365
|
-
}
|
|
19385
|
+
handleMsgAutoClose();
|
|
19366
19386
|
} else {
|
|
19367
19387
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.nextTick)(() => {
|
|
19368
19388
|
const {
|
|
@@ -19400,6 +19420,24 @@ const msgQueue = [];
|
|
|
19400
19420
|
closeModal(type);
|
|
19401
19421
|
}
|
|
19402
19422
|
};
|
|
19423
|
+
const selfMouseoverEvent = () => {
|
|
19424
|
+
if (msgTimeout === null) {
|
|
19425
|
+
return;
|
|
19426
|
+
}
|
|
19427
|
+
const isMsg = computeIsMsg.value;
|
|
19428
|
+
if (isMsg) {
|
|
19429
|
+
clearTimeout(msgTimeout);
|
|
19430
|
+
msgTimeout = null;
|
|
19431
|
+
}
|
|
19432
|
+
};
|
|
19433
|
+
const selfMouseoutEvent = () => {
|
|
19434
|
+
if (msgTimeout === null) {
|
|
19435
|
+
const isMsg = computeIsMsg.value;
|
|
19436
|
+
if (isMsg) {
|
|
19437
|
+
handleMsgAutoClose();
|
|
19438
|
+
}
|
|
19439
|
+
}
|
|
19440
|
+
};
|
|
19403
19441
|
const handleGlobalKeydownEvent = evnt => {
|
|
19404
19442
|
const isEsc = ui.globalEvents.hasKey(evnt, ui.GLOBAL_EVENT_KEYS.ESCAPE);
|
|
19405
19443
|
if (isEsc) {
|
|
@@ -19892,6 +19930,7 @@ const msgQueue = [];
|
|
|
19892
19930
|
className,
|
|
19893
19931
|
type,
|
|
19894
19932
|
animat,
|
|
19933
|
+
position,
|
|
19895
19934
|
loading,
|
|
19896
19935
|
status,
|
|
19897
19936
|
lockScroll,
|
|
@@ -19908,12 +19947,18 @@ const msgQueue = [];
|
|
|
19908
19947
|
visible
|
|
19909
19948
|
} = reactData;
|
|
19910
19949
|
const vSize = computeSize.value;
|
|
19950
|
+
const isMsg = computeIsMsg.value;
|
|
19951
|
+
const ons = {};
|
|
19952
|
+
if (isMsg) {
|
|
19953
|
+
ons.onMouseover = selfMouseoverEvent;
|
|
19954
|
+
ons.onMouseout = selfMouseoutEvent;
|
|
19955
|
+
}
|
|
19911
19956
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)(external_commonjs_vue_commonjs2_vue_root_Vue_.Teleport, {
|
|
19912
19957
|
to: 'body',
|
|
19913
19958
|
disabled: props.transfer ? !inited : true
|
|
19914
19959
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19915
19960
|
ref: refElem,
|
|
19916
|
-
class: ['vxe-modal--wrapper', `type--${type}`, className || '', {
|
|
19961
|
+
class: ['vxe-modal--wrapper', `type--${type}`, className || '', position ? `pos--${position}` : '', {
|
|
19917
19962
|
[`size--${vSize}`]: vSize,
|
|
19918
19963
|
[`status--${status}`]: status,
|
|
19919
19964
|
'is--padding': padding,
|
|
@@ -19931,7 +19976,8 @@ const msgQueue = [];
|
|
|
19931
19976
|
zIndex: reactData.modalZindex,
|
|
19932
19977
|
top: modalTop ? `${modalTop}px` : null
|
|
19933
19978
|
},
|
|
19934
|
-
onClick: selfClickEvent
|
|
19979
|
+
onClick: selfClickEvent,
|
|
19980
|
+
...ons
|
|
19935
19981
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.h)('div', {
|
|
19936
19982
|
ref: refModalBox,
|
|
19937
19983
|
class: 'vxe-modal--box',
|
|
@@ -20043,6 +20089,7 @@ function handleOpen(defOpts, content, title, options) {
|
|
|
20043
20089
|
function openAlert(content, title, options) {
|
|
20044
20090
|
return handleOpen({
|
|
20045
20091
|
type: 'alert',
|
|
20092
|
+
showHeader: true,
|
|
20046
20093
|
showFooter: true
|
|
20047
20094
|
}, content, title, options);
|
|
20048
20095
|
}
|
|
@@ -20050,6 +20097,7 @@ function openConfirm(content, title, options) {
|
|
|
20050
20097
|
return handleOpen({
|
|
20051
20098
|
type: 'confirm',
|
|
20052
20099
|
status: 'question',
|
|
20100
|
+
showHeader: true,
|
|
20053
20101
|
showFooter: true
|
|
20054
20102
|
}, content, title, options);
|
|
20055
20103
|
}
|
|
@@ -20061,13 +20109,24 @@ function openMessage(content, options) {
|
|
|
20061
20109
|
showHeader: false
|
|
20062
20110
|
}, content, '', options);
|
|
20063
20111
|
}
|
|
20112
|
+
function openNotification(content, options) {
|
|
20113
|
+
return handleOpen({
|
|
20114
|
+
type: 'notification',
|
|
20115
|
+
mask: false,
|
|
20116
|
+
lockView: false,
|
|
20117
|
+
showHeader: true,
|
|
20118
|
+
draggable: false,
|
|
20119
|
+
position: 'top-right'
|
|
20120
|
+
}, content, '', options);
|
|
20121
|
+
}
|
|
20064
20122
|
const ModalController = {
|
|
20065
20123
|
get: getModal,
|
|
20066
20124
|
close: closeModal,
|
|
20067
20125
|
open: openModal,
|
|
20068
20126
|
alert: openAlert,
|
|
20069
20127
|
confirm: openConfirm,
|
|
20070
|
-
message: openMessage
|
|
20128
|
+
message: openMessage,
|
|
20129
|
+
notification: openNotification
|
|
20071
20130
|
};
|
|
20072
20131
|
const VxeModal = Object.assign(modal, {
|
|
20073
20132
|
install: function (app) {
|
|
@@ -25946,29 +26005,32 @@ let autoTxtElem;
|
|
|
25946
26005
|
|
|
25947
26006
|
/***/ }),
|
|
25948
26007
|
|
|
25949
|
-
/***/
|
|
26008
|
+
/***/ 7043:
|
|
25950
26009
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
25951
26010
|
|
|
25952
26011
|
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
|
|
26012
|
+
/* harmony export */ Hm: function() { return /* binding */ VxeTip; },
|
|
25953
26013
|
/* harmony export */ Vt: function() { return /* binding */ Tips; },
|
|
25954
|
-
/* harmony export */
|
|
26014
|
+
/* harmony export */ Y6: function() { return /* binding */ Tip; }
|
|
25955
26015
|
/* harmony export */ });
|
|
25956
|
-
/* harmony import */ var
|
|
26016
|
+
/* harmony import */ var _src_tip__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9031);
|
|
25957
26017
|
/* harmony import */ var _dynamics__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(8088);
|
|
25958
26018
|
|
|
25959
26019
|
|
|
25960
|
-
const
|
|
26020
|
+
const VxeTip = Object.assign({}, _src_tip__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A, {
|
|
25961
26021
|
install(app) {
|
|
25962
|
-
app.component(
|
|
26022
|
+
app.component(_src_tip__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.name, _src_tip__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A);
|
|
26023
|
+
app.component('VxeTipsComponent', _src_tip__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A);
|
|
25963
26024
|
}
|
|
25964
26025
|
});
|
|
25965
|
-
_dynamics__WEBPACK_IMPORTED_MODULE_1__/* .dynamicApp */ .DR.component(
|
|
25966
|
-
const Tips =
|
|
25967
|
-
|
|
26026
|
+
_dynamics__WEBPACK_IMPORTED_MODULE_1__/* .dynamicApp */ .DR.component(_src_tip__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A.name, _src_tip__WEBPACK_IMPORTED_MODULE_0__/* ["default"] */ .A);
|
|
26027
|
+
const Tips = VxeTip;
|
|
26028
|
+
const Tip = VxeTip;
|
|
26029
|
+
/* harmony default export */ __webpack_exports__.Ay = (VxeTip);
|
|
25968
26030
|
|
|
25969
26031
|
/***/ }),
|
|
25970
26032
|
|
|
25971
|
-
/***/
|
|
26033
|
+
/***/ 9031:
|
|
25972
26034
|
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
|
|
25973
26035
|
|
|
25974
26036
|
/* harmony import */ var vue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(9274);
|
|
@@ -25982,17 +26044,17 @@ const Tips = VxeTips;
|
|
|
25982
26044
|
|
|
25983
26045
|
|
|
25984
26046
|
/* harmony default export */ __webpack_exports__.A = ((0,vue__WEBPACK_IMPORTED_MODULE_0__.defineComponent)({
|
|
25985
|
-
name: '
|
|
26047
|
+
name: 'VxeTip',
|
|
25986
26048
|
props: {
|
|
25987
26049
|
title: {
|
|
25988
26050
|
type: [String, Number],
|
|
25989
|
-
default: () => (0,_ui__WEBPACK_IMPORTED_MODULE_2__.getConfig)().
|
|
26051
|
+
default: () => (0,_ui__WEBPACK_IMPORTED_MODULE_2__.getConfig)().tip.title
|
|
25990
26052
|
},
|
|
25991
26053
|
content: [String, Number],
|
|
25992
26054
|
status: String,
|
|
25993
26055
|
icon: {
|
|
25994
26056
|
type: String,
|
|
25995
|
-
default: () => (0,_ui__WEBPACK_IMPORTED_MODULE_2__.getConfig)().
|
|
26057
|
+
default: () => (0,_ui__WEBPACK_IMPORTED_MODULE_2__.getConfig)().tip.icon
|
|
25996
26058
|
}
|
|
25997
26059
|
},
|
|
25998
26060
|
emits: [],
|
|
@@ -26007,7 +26069,7 @@ const Tips = VxeTips;
|
|
|
26007
26069
|
refElem
|
|
26008
26070
|
};
|
|
26009
26071
|
const computeMaps = {};
|
|
26010
|
-
const $
|
|
26072
|
+
const $xeTip = {
|
|
26011
26073
|
xID,
|
|
26012
26074
|
props,
|
|
26013
26075
|
context,
|
|
@@ -26027,23 +26089,23 @@ const Tips = VxeTips;
|
|
|
26027
26089
|
const iconSlot = slots.icon;
|
|
26028
26090
|
return (0,vue__WEBPACK_IMPORTED_MODULE_0__.h)('div', {
|
|
26029
26091
|
ref: refElem,
|
|
26030
|
-
class: ['vxe-
|
|
26092
|
+
class: ['vxe-tip', {
|
|
26031
26093
|
[`theme--${status}`]: status
|
|
26032
26094
|
}]
|
|
26033
26095
|
}, [iconSlot || icon ? (0,vue__WEBPACK_IMPORTED_MODULE_0__.h)('div', {
|
|
26034
|
-
class: 'vxe-
|
|
26096
|
+
class: 'vxe-tip--icon'
|
|
26035
26097
|
}, iconSlot ? (0,_ui_src_vn__WEBPACK_IMPORTED_MODULE_3__/* .getSlotVNs */ .OW)(iconSlot({})) : [(0,vue__WEBPACK_IMPORTED_MODULE_0__.h)('i', {
|
|
26036
26098
|
class: icon
|
|
26037
26099
|
})]) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.h)('div', {
|
|
26038
|
-
class: 'vxe-
|
|
26100
|
+
class: 'vxe-tip--body'
|
|
26039
26101
|
}, [titleSlot || title ? (0,vue__WEBPACK_IMPORTED_MODULE_0__.h)('div', {
|
|
26040
|
-
class: 'vxe-
|
|
26102
|
+
class: 'vxe-tip--title'
|
|
26041
26103
|
}, titleSlot ? (0,_ui_src_vn__WEBPACK_IMPORTED_MODULE_3__/* .getSlotVNs */ .OW)(titleSlot({})) : xe_utils__WEBPACK_IMPORTED_MODULE_1___default().toValueString(title)) : (0,vue__WEBPACK_IMPORTED_MODULE_0__.createCommentVNode)(), (0,vue__WEBPACK_IMPORTED_MODULE_0__.h)('div', {
|
|
26042
|
-
class: 'vxe-
|
|
26104
|
+
class: 'vxe-tip--content'
|
|
26043
26105
|
}, defaultSlot ? (0,_ui_src_vn__WEBPACK_IMPORTED_MODULE_3__/* .getSlotVNs */ .OW)(defaultSlot({})) : xe_utils__WEBPACK_IMPORTED_MODULE_1___default().toValueString(content))])]);
|
|
26044
26106
|
};
|
|
26045
|
-
$
|
|
26046
|
-
return $
|
|
26107
|
+
$xeTip.renderVN = renderVN;
|
|
26108
|
+
return $xeTip;
|
|
26047
26109
|
},
|
|
26048
26110
|
render() {
|
|
26049
26111
|
return this.renderVN();
|
|
@@ -27271,7 +27333,7 @@ __webpack_require__.r(__webpack_exports__);
|
|
|
27271
27333
|
|
|
27272
27334
|
|
|
27273
27335
|
|
|
27274
|
-
_vxe_ui_core__WEBPACK_IMPORTED_MODULE_0__.VxeUI.uiVersion = "1.9.
|
|
27336
|
+
_vxe_ui_core__WEBPACK_IMPORTED_MODULE_0__.VxeUI.uiVersion = "1.9.23";
|
|
27275
27337
|
_vxe_ui_core__WEBPACK_IMPORTED_MODULE_0__.VxeUI.tableVersion = '';
|
|
27276
27338
|
_vxe_ui_core__WEBPACK_IMPORTED_MODULE_0__.VxeUI.t = _vxe_ui_core__WEBPACK_IMPORTED_MODULE_0__.VxeUI.getI18n;
|
|
27277
27339
|
_vxe_ui_core__WEBPACK_IMPORTED_MODULE_0__.VxeUI._t = _src_utils__WEBPACK_IMPORTED_MODULE_2__/* .getFuncText */ .Mw;
|
|
@@ -27383,7 +27445,7 @@ _vxe_ui_core__WEBPACK_IMPORTED_MODULE_0__.VxeUI.globalStore = globalStore;
|
|
|
27383
27445
|
loading: {},
|
|
27384
27446
|
modal: {
|
|
27385
27447
|
// size: null,
|
|
27386
|
-
top:
|
|
27448
|
+
top: 16,
|
|
27387
27449
|
showHeader: true,
|
|
27388
27450
|
minWidth: 340,
|
|
27389
27451
|
minHeight: 140,
|
|
@@ -27436,7 +27498,7 @@ _vxe_ui_core__WEBPACK_IMPORTED_MODULE_0__.VxeUI.globalStore = globalStore;
|
|
|
27436
27498
|
tabs: {},
|
|
27437
27499
|
textarea: {},
|
|
27438
27500
|
toolbar: {},
|
|
27439
|
-
|
|
27501
|
+
tip: {},
|
|
27440
27502
|
tooltip: {
|
|
27441
27503
|
// size: null,
|
|
27442
27504
|
trigger: 'hover',
|
|
@@ -27729,7 +27791,7 @@ function isNodeElement(elem) {
|
|
|
27729
27791
|
/* harmony import */ var _vxe_ui_core__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(8514);
|
|
27730
27792
|
/* harmony import */ var _vxe_ui_core__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_vxe_ui_core__WEBPACK_IMPORTED_MODULE_0__);
|
|
27731
27793
|
|
|
27732
|
-
const version = `ui v${"1.9.
|
|
27794
|
+
const version = `ui v${"1.9.23"}`;
|
|
27733
27795
|
const warnLog = _vxe_ui_core__WEBPACK_IMPORTED_MODULE_0__.log.create('warn', version);
|
|
27734
27796
|
const errLog = _vxe_ui_core__WEBPACK_IMPORTED_MODULE_0__.log.create('error', version);
|
|
27735
27797
|
|