bkui-vue 1.0.3-beta.62.dialog.1 → 1.0.3-beta.64
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/index.cjs.js +69 -69
- package/dist/index.esm.js +17803 -18626
- package/dist/index.umd.js +69 -69
- package/dist/style.css +1 -1
- package/dist/style.variable.css +1 -1
- package/lib/affix/index.js +1 -1
- package/lib/alert/index.js +1 -1
- package/lib/animate-number/index.js +8 -7
- package/lib/badge/index.js +1 -1
- package/lib/breadcrumb/index.js +1 -1
- package/lib/button/index.js +1 -1
- package/lib/card/index.js +1 -1
- package/lib/cascader/index.js +42 -38
- package/lib/checkbox/index.js +11 -10
- package/lib/collapse/index.js +12 -11
- package/lib/collapse-transition/index.js +4 -3
- package/lib/color-picker/index.js +13 -10
- package/lib/components.d.ts +0 -1
- package/lib/components.js +0 -1
- package/lib/config-provider/index.js +1 -1
- package/lib/container/index.js +12 -10
- package/lib/date-picker/index.js +1 -1
- package/lib/dialog/dialog.css +77 -139
- package/lib/dialog/dialog.d.ts +121 -41
- package/lib/dialog/dialog.less +65 -10
- package/lib/dialog/dialog.variable.css +77 -139
- package/lib/dialog/index.d.ts +272 -105
- package/lib/dialog/index.js +104 -95
- package/lib/dialog/props.d.ts +48 -8
- package/lib/directives/index.js +1 -1
- package/lib/divider/index.js +3 -2
- package/lib/dropdown/index.js +8 -6
- package/lib/exception/index.js +1 -1
- package/lib/fixed-navbar/index.js +3 -2
- package/lib/form/index.js +1 -1
- package/lib/icon/angle-double-down-line.js +1 -1
- package/lib/icon/angle-double-left-line.js +1 -1
- package/lib/icon/angle-double-left.js +1 -1
- package/lib/icon/angle-double-right-line.js +1 -1
- package/lib/icon/angle-double-right.js +1 -1
- package/lib/icon/angle-double-up-line.js +1 -1
- package/lib/icon/angle-down-fill.js +1 -1
- package/lib/icon/angle-down-line.js +1 -1
- package/lib/icon/angle-down.js +1 -1
- package/lib/icon/angle-left.js +1 -1
- package/lib/icon/angle-right.js +1 -1
- package/lib/icon/angle-up-fill.js +1 -1
- package/lib/icon/angle-up.js +1 -1
- package/lib/icon/archive-fill.js +1 -1
- package/lib/icon/arrows-left.js +1 -1
- package/lib/icon/arrows-right.js +1 -1
- package/lib/icon/assistant.js +1 -1
- package/lib/icon/audio-fill.js +1 -1
- package/lib/icon/bk.js +1 -1
- package/lib/icon/circle.js +1 -1
- package/lib/icon/close-line.js +1 -1
- package/lib/icon/close.js +1 -1
- package/lib/icon/code.js +1 -1
- package/lib/icon/cog-shape.js +1 -1
- package/lib/icon/collapse-left.js +1 -1
- package/lib/icon/copy-shape.js +1 -1
- package/lib/icon/copy.js +1 -1
- package/lib/icon/data-shape.js +1 -1
- package/lib/icon/del.js +1 -1
- package/lib/icon/doc-fill.js +1 -1
- package/lib/icon/done.js +1 -1
- package/lib/icon/down-shape.js +1 -1
- package/lib/icon/down-small.js +1 -1
- package/lib/icon/edit-line.js +1 -1
- package/lib/icon/ellipsis.js +1 -1
- package/lib/icon/enlarge-line.js +1 -1
- package/lib/icon/error.js +1 -1
- package/lib/icon/excel-fill.js +1 -1
- package/lib/icon/exclamation-circle-shape.js +1 -1
- package/lib/icon/eye.js +1 -1
- package/lib/icon/filliscreen-line.js +1 -1
- package/lib/icon/fix-line.js +1 -1
- package/lib/icon/fix-shape.js +1 -1
- package/lib/icon/folder-open.js +1 -1
- package/lib/icon/folder-shape-open.js +1 -1
- package/lib/icon/folder-shape.js +1 -1
- package/lib/icon/folder.js +1 -1
- package/lib/icon/funnel.js +1 -1
- package/lib/icon/grag-fill.js +1 -1
- package/lib/icon/help-document-fill.js +1 -1
- package/lib/icon/help-fill.js +1 -1
- package/lib/icon/help.js +1 -1
- package/lib/icon/image-fill.js +1 -1
- package/lib/icon/img-error.js +1 -1
- package/lib/icon/img-placehoulder.js +1 -1
- package/lib/icon/info-line.js +1 -1
- package/lib/icon/info.js +1 -1
- package/lib/icon/left-shape.js +1 -1
- package/lib/icon/left-turn-line.js +1 -1
- package/lib/icon/loading.js +1 -1
- package/lib/icon/narrow-line.js +1 -1
- package/lib/icon/original.js +1 -1
- package/lib/icon/pdf-fill.js +1 -1
- package/lib/icon/play-shape.js +1 -1
- package/lib/icon/plus.js +1 -1
- package/lib/icon/ppt-fill.js +1 -1
- package/lib/icon/qq.js +1 -1
- package/lib/icon/right-shape.js +1 -1
- package/lib/icon/right-turn-line.js +1 -1
- package/lib/icon/search.js +1 -1
- package/lib/icon/share.js +1 -1
- package/lib/icon/spinner.js +1 -1
- package/lib/icon/success.js +1 -1
- package/lib/icon/switcher-loading.js +1 -1
- package/lib/icon/text-all.js +1 -1
- package/lib/icon/text-file.js +1 -1
- package/lib/icon/text-fill.js +1 -1
- package/lib/icon/transfer.js +1 -1
- package/lib/icon/tree-application-shape.js +1 -1
- package/lib/icon/unfull-screen.js +1 -1
- package/lib/icon/unvisible.js +1 -1
- package/lib/icon/up-shape.js +1 -1
- package/lib/icon/upload.js +1 -1
- package/lib/icon/video-fill.js +1 -1
- package/lib/icon/warn.js +1 -1
- package/lib/icon/weixin-pro.js +1 -1
- package/lib/icon/weixin.js +1 -1
- package/lib/image/index.js +11 -10
- package/lib/info-box/index.d.ts +2 -2
- package/lib/info-box/index.js +177 -316
- package/lib/info-box/info-box.css +7 -63
- package/lib/info-box/info-box.d.ts +16 -17
- package/lib/info-box/info-box.less +14 -76
- package/lib/info-box/info-box.variable.css +7 -63
- package/lib/input/index.js +4 -4
- package/lib/link/index.js +2 -2
- package/lib/loading/index.js +12 -11
- package/lib/menu/index.js +3 -2
- package/lib/message/index.js +1 -1
- package/lib/modal/index.d.ts +325 -45
- package/lib/modal/index.js +667 -188
- package/lib/modal/modal.css +31 -131
- package/lib/modal/modal.d.ts +126 -16
- package/lib/modal/modal.less +28 -84
- package/lib/modal/modal.variable.css +31 -131
- package/lib/modal/props.mixin.d.ts +53 -2
- package/lib/navigation/index.js +9 -7
- package/lib/notify/index.js +1 -1
- package/lib/overflow-title/index.js +10 -9
- package/lib/pagination/index.js +1 -1
- package/lib/plugin-popover/index.js +30 -26
- package/lib/pop-confirm/index.js +5 -4
- package/lib/popover/index.js +30 -26
- package/lib/popover2/index.js +2 -2
- package/lib/process/index.js +4 -4
- package/lib/progress/index.js +6 -5
- package/lib/radio/index.js +12 -11
- package/lib/rate/index.js +1 -1
- package/lib/resize-layout/index.js +1 -1
- package/lib/search-select/index.js +14 -11
- package/lib/select/index.d.ts +33 -0
- package/lib/select/index.js +9 -6
- package/lib/select/select.css +19 -5
- package/lib/select/select.d.ts +11 -0
- package/lib/select/select.less +26 -6
- package/lib/select/select.variable.css +19 -5
- package/lib/select/selectTagInput.d.ts +7 -0
- package/lib/shared/index.d.ts +1 -0
- package/lib/shared/index.js +56 -6
- package/lib/shared/mask.d.ts +11 -0
- package/lib/sideslider/index.d.ts +222 -31
- package/lib/sideslider/index.js +40 -53
- package/lib/sideslider/sideslider.css +42 -4
- package/lib/sideslider/sideslider.d.ts +105 -14
- package/lib/sideslider/sideslider.less +58 -13
- package/lib/sideslider/sideslider.variable.css +42 -4
- package/lib/slider/index.js +20 -19
- package/lib/steps/index.js +4 -4
- package/lib/swiper/index.js +1 -1
- package/lib/switcher/index.js +1 -1
- package/lib/tab/index.js +4 -3
- package/lib/table/const.d.ts +1 -1
- package/lib/table/index.d.ts +0 -23
- package/lib/table/index.js +51 -182
- package/lib/table/plugins/use-fixed-column.d.ts +1 -1
- package/lib/table/plugins/use-pagination.d.ts +1 -3
- package/lib/table/props.d.ts +0 -8
- package/lib/table/table.css +42 -97
- package/lib/table/table.d.ts +0 -11
- package/lib/table/table.less +58 -43
- package/lib/table/table.variable.css +42 -97
- package/lib/table/use-attributes.d.ts +0 -1
- package/lib/table/use-render.d.ts +1 -1
- package/lib/table-column/index.js +3 -7
- package/lib/tag/index.js +1 -1
- package/lib/tag-input/index.js +4 -3
- package/lib/tree/index.d.ts +0 -23
- package/lib/tree/index.js +15 -19
- package/lib/tree/props.d.ts +0 -8
- package/lib/tree/tree.css +2 -75
- package/lib/tree/tree.d.ts +0 -11
- package/lib/tree/tree.variable.css +2 -75
- package/lib/upload/index.js +4 -4
- package/lib/virtual-render/index.d.ts +0 -4
- package/lib/virtual-render/index.js +55 -255
- package/lib/virtual-render/props.d.ts +0 -7
- package/lib/virtual-render/use-fix-top.d.ts +7 -2
- package/lib/virtual-render/v-virtual-render.d.ts +1 -2
- package/lib/virtual-render/virtual-render.css +2 -75
- package/lib/virtual-render/virtual-render.d.ts +0 -2
- package/lib/virtual-render/virtual-render.less +3 -3
- package/lib/virtual-render/virtual-render.variable.css +2 -75
- package/package.json +1 -1
- package/lib/info-box/render-component.d.ts +0 -4
- package/lib/modal/mask.d.ts +0 -6
- package/lib/scrollbar/index.d.ts +0 -14
- package/lib/scrollbar/index.js +0 -18737
- package/lib/scrollbar/scrollbar-core/can-use-dom.d.ts +0 -2
- package/lib/scrollbar/scrollbar-core/helpers.d.ts +0 -5
- package/lib/scrollbar/scrollbar-core/index.d.ts +0 -236
- package/lib/scrollbar/scrollbar-core/mouse-wheel.d.ts +0 -5
- package/lib/scrollbar/scrollbar-core/scrollbar-width.d.ts +0 -1
- package/lib/scrollbar/scrollbar.css +0 -74
- package/lib/scrollbar/scrollbar.less +0 -93
- package/lib/scrollbar/scrollbar.variable.css +0 -203
- package/lib/table/plugins/use-shift-key.d.ts +0 -11
- package/lib/virtual-render/use-scrollbar.d.ts +0 -23
package/lib/dialog/index.js
CHANGED
@@ -8,7 +8,6 @@ import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_config_provider_fe8577a3__ fr
|
|
8
8
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__ from "../icon";
|
9
9
|
import * as __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_modal_d1344388__ from "../modal";
|
10
10
|
import "../modal/modal.less";
|
11
|
-
import * as __WEBPACK_EXTERNAL_MODULE_lodash_cloneDeep_13f2b125__ from "lodash/cloneDeep";
|
12
11
|
/******/ var __webpack_modules__ = ({
|
13
12
|
|
14
13
|
/***/ 7609:
|
@@ -124,7 +123,7 @@ function _regeneratorRuntime() {
|
|
124
123
|
function makeInvokeMethod(e, r, n) {
|
125
124
|
var o = h;
|
126
125
|
return function (i, a) {
|
127
|
-
if (o === f) throw Error("Generator is already running");
|
126
|
+
if (o === f) throw new Error("Generator is already running");
|
128
127
|
if (o === s) {
|
129
128
|
if ("throw" === i) throw a;
|
130
129
|
return {
|
@@ -266,7 +265,7 @@ function _regeneratorRuntime() {
|
|
266
265
|
} else if (c) {
|
267
266
|
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
268
267
|
} else {
|
269
|
-
if (!u) throw Error("try statement without catch or finally");
|
268
|
+
if (!u) throw new Error("try statement without catch or finally");
|
270
269
|
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
271
270
|
}
|
272
271
|
}
|
@@ -306,7 +305,7 @@ function _regeneratorRuntime() {
|
|
306
305
|
return o;
|
307
306
|
}
|
308
307
|
}
|
309
|
-
throw Error("illegal catch attempt");
|
308
|
+
throw new Error("illegal catch attempt");
|
310
309
|
},
|
311
310
|
delegateYield: function delegateYield(e, r, n) {
|
312
311
|
return this.delegate = {
|
@@ -456,7 +455,7 @@ function toPrimitive(t, r) {
|
|
456
455
|
|
457
456
|
function toPropertyKey(t) {
|
458
457
|
var i = toPrimitive(t, "string");
|
459
|
-
return "symbol" == _typeof(i) ? i : i
|
458
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
460
459
|
}
|
461
460
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
462
461
|
|
@@ -508,7 +507,7 @@ function _asyncToGenerator(fn) {
|
|
508
507
|
;// CONCATENATED MODULE: external "vue"
|
509
508
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
510
509
|
var external_vue_y = x => () => x
|
511
|
-
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref });
|
510
|
+
const external_vue_namespaceObject = external_vue_x({ ["Fragment"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.Fragment, ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["isVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.isVNode, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["onBeforeUnmount"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeUnmount, ["onMounted"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.onMounted, ["reactive"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.reactive, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref, ["watch"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.watch });
|
512
511
|
// EXTERNAL MODULE: ../../node_modules/@babel/runtime/regenerator/index.js
|
513
512
|
var regenerator = __webpack_require__(2841);
|
514
513
|
var regenerator_default = /*#__PURE__*/__webpack_require__.n(regenerator);
|
@@ -527,7 +526,7 @@ const config_provider_namespaceObject = config_provider_x({ ["useLocale"]: () =>
|
|
527
526
|
;// CONCATENATED MODULE: external "../icon"
|
528
527
|
var icon_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
529
528
|
var icon_y = x => () => x
|
530
|
-
const icon_namespaceObject = icon_x({ ["Error"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Error });
|
529
|
+
const icon_namespaceObject = icon_x({ ["Close"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Close, ["Error"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Error, ["Spinner"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Spinner, ["Success"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Success, ["Warn"]: () => __WEBPACK_EXTERNAL_MODULE_bkui_vue_lib_icon_a97c79c3__.Warn });
|
531
530
|
;// CONCATENATED MODULE: external "../modal"
|
532
531
|
var modal_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
533
532
|
var modal_y = x => () => x
|
@@ -536,10 +535,6 @@ const modal_namespaceObject = modal_x({ ["default"]: () => __WEBPACK_EXTERNAL_MO
|
|
536
535
|
var modal_less_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
537
536
|
var modal_less_y = x => () => x
|
538
537
|
const modal_less_namespaceObject = modal_less_x({ });
|
539
|
-
;// CONCATENATED MODULE: external "lodash/cloneDeep"
|
540
|
-
var cloneDeep_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
541
|
-
var cloneDeep_y = x => () => x
|
542
|
-
const cloneDeep_namespaceObject = cloneDeep_x({ ["default"]: () => __WEBPACK_EXTERNAL_MODULE_lodash_cloneDeep_13f2b125__["default"] });
|
543
538
|
;// CONCATENATED MODULE: ../../packages/dialog/src/props.ts
|
544
539
|
|
545
540
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
@@ -571,12 +566,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
571
566
|
*/
|
572
567
|
|
573
568
|
|
574
|
-
|
575
|
-
var dialogProps = (0,cloneDeep_namespaceObject["default"])(modal_namespaceObject.propsMixin);
|
576
|
-
dialogProps.width["default"] = '400';
|
577
|
-
var props = _objectSpread(_objectSpread({}, dialogProps), {}, {
|
578
|
-
// 是否可拖拽
|
579
|
-
draggable: shared_namespaceObject.PropTypes.bool.def(true),
|
569
|
+
var props = _objectSpread(_objectSpread({}, modal_namespaceObject.propsMixin), {}, {
|
580
570
|
// 确认按钮文字
|
581
571
|
// confirmText: PropTypes.string.def('确定'),
|
582
572
|
confirmText: shared_namespaceObject.PropTypes.string,
|
@@ -593,13 +583,13 @@ var props = _objectSpread(_objectSpread({}, dialogProps), {}, {
|
|
593
583
|
// 总步数
|
594
584
|
totalStep: shared_namespaceObject.PropTypes.number,
|
595
585
|
// 弹框的标题
|
596
|
-
title: shared_namespaceObject.PropTypes.string.def(''),
|
586
|
+
title: shared_namespaceObject.PropTypes.string.def('title'),
|
597
587
|
// 显示 header 的位置
|
598
588
|
headerAlign: (0,shared_namespaceObject.alignType)().def(shared_namespaceObject.AlignEnum.LEFT),
|
599
589
|
// 显示 footer 的位置
|
600
590
|
footerAlign: (0,shared_namespaceObject.alignType)().def(shared_namespaceObject.AlignEnum.RIGHT),
|
601
591
|
// 颜色 按钮类型
|
602
|
-
|
592
|
+
theme: shared_namespaceObject.PropTypes.theme().def(shared_namespaceObject.ThemeEnum.PRIMARY),
|
603
593
|
// 对话框类型
|
604
594
|
dialogType: (0,shared_namespaceObject.dialogTypeUnion)(),
|
605
595
|
// 按钮loading
|
@@ -648,45 +638,13 @@ function _isSlot(s) {
|
|
648
638
|
return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !(0,external_vue_namespaceObject.isVNode)(s);
|
649
639
|
}
|
650
640
|
/* harmony default export */ const dialog = ((0,external_vue_namespaceObject.defineComponent)({
|
641
|
+
// eslint-disable-next-line vue/no-reserved-component-names
|
651
642
|
name: 'Dialog',
|
652
643
|
props: src_props,
|
653
|
-
emits:
|
654
|
-
closed: function closed() {
|
655
|
-
return true;
|
656
|
-
},
|
657
|
-
shown: function shown() {
|
658
|
-
return true;
|
659
|
-
},
|
660
|
-
hidden: function hidden() {
|
661
|
-
return true;
|
662
|
-
},
|
663
|
-
'update:isShow': function updateIsShow(value) {
|
664
|
-
return value !== undefined;
|
665
|
-
},
|
666
|
-
confirm: function confirm() {
|
667
|
-
return true;
|
668
|
-
},
|
669
|
-
prev: function prev() {
|
670
|
-
return true;
|
671
|
-
},
|
672
|
-
next: function next() {
|
673
|
-
return true;
|
674
|
-
}
|
675
|
-
},
|
644
|
+
emits: ['closed', 'update:isShow', 'confirm', 'prev', 'next', 'value-change'],
|
676
645
|
setup: function setup(props, _ref) {
|
677
646
|
var emit = _ref.emit;
|
678
647
|
var t = (0,config_provider_namespaceObject.useLocale)('dialog');
|
679
|
-
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
680
|
-
resolveClassName = _usePrefix.resolveClassName;
|
681
|
-
var isMoveing = (0,external_vue_namespaceObject.ref)(false);
|
682
|
-
var data = (0,external_vue_namespaceObject.reactive)({
|
683
|
-
positionX: 0,
|
684
|
-
positionY: 0,
|
685
|
-
moveStyle: {
|
686
|
-
top: '50%',
|
687
|
-
left: '50%'
|
688
|
-
}
|
689
|
-
});
|
690
648
|
var localConfirmText = (0,external_vue_namespaceObject.computed)(function () {
|
691
649
|
if (props.confirmText === undefined) {
|
692
650
|
return t.value.ok;
|
@@ -711,6 +669,33 @@ function _isSlot(s) {
|
|
711
669
|
}
|
712
670
|
return props.nextText;
|
713
671
|
});
|
672
|
+
var data = (0,external_vue_namespaceObject.reactive)({
|
673
|
+
positionX: 0,
|
674
|
+
positionY: 0,
|
675
|
+
moveStyle: {
|
676
|
+
top: '50%',
|
677
|
+
left: '50%'
|
678
|
+
}
|
679
|
+
});
|
680
|
+
var isModalShow = (0,external_vue_namespaceObject.ref)(props.isShow);
|
681
|
+
(0,external_vue_namespaceObject.watch)(function () {
|
682
|
+
return props.isShow;
|
683
|
+
}, function (val) {
|
684
|
+
if (!val) {
|
685
|
+
setTimeout(function () {
|
686
|
+
data.moveStyle = {
|
687
|
+
top: '50%',
|
688
|
+
left: '50%'
|
689
|
+
};
|
690
|
+
data.positionX = 0;
|
691
|
+
data.positionY = 0;
|
692
|
+
isModalShow.value = false;
|
693
|
+
}, 250);
|
694
|
+
} else {
|
695
|
+
isModalShow.value = true;
|
696
|
+
}
|
697
|
+
emit('value-change', val);
|
698
|
+
});
|
714
699
|
// 关闭弹框
|
715
700
|
var handleClose = /*#__PURE__*/function () {
|
716
701
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/regenerator_default().mark(function _callee() {
|
@@ -731,6 +716,7 @@ function _isSlot(s) {
|
|
731
716
|
if (shouldClose) {
|
732
717
|
emit('update:isShow', false);
|
733
718
|
emit('closed');
|
719
|
+
isModalShow.value = false;
|
734
720
|
}
|
735
721
|
case 6:
|
736
722
|
case "end":
|
@@ -746,11 +732,13 @@ function _isSlot(s) {
|
|
746
732
|
emit('update:isShow', false);
|
747
733
|
emit('confirm');
|
748
734
|
};
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
735
|
+
// 按 esc 关闭弹框
|
736
|
+
var escCloseHandler = function escCloseHandler(e) {
|
737
|
+
if (props.isShow && props.closeIcon) {
|
738
|
+
if (e.keyCode === 27) {
|
739
|
+
handleClose();
|
740
|
+
}
|
741
|
+
}
|
754
742
|
};
|
755
743
|
// 上一步
|
756
744
|
var handlePrevStep = function handlePrevStep() {
|
@@ -761,7 +749,7 @@ function _isSlot(s) {
|
|
761
749
|
emit('next');
|
762
750
|
};
|
763
751
|
// 拖拽事件
|
764
|
-
var
|
752
|
+
var moveHandler = function moveHandler(e) {
|
765
753
|
if (props.fullscreen) {
|
766
754
|
return false;
|
767
755
|
}
|
@@ -780,7 +768,6 @@ function _isSlot(s) {
|
|
780
768
|
disX = e.clientX - odiv.offsetLeft;
|
781
769
|
disY = e.clientY - odiv.offsetTop;
|
782
770
|
}
|
783
|
-
isMoveing.value = true;
|
784
771
|
document.onmousemove = function (e) {
|
785
772
|
var boxLeft = window.innerWidth - parentWidth;
|
786
773
|
var boxTop = window.innerHeight - parentHeight;
|
@@ -804,36 +791,68 @@ function _isSlot(s) {
|
|
804
791
|
document.onmouseup = function () {
|
805
792
|
document.onmousemove = null;
|
806
793
|
document.onmouseup = null;
|
807
|
-
isMoveing.value = false;
|
808
794
|
};
|
809
795
|
};
|
796
|
+
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
797
|
+
resolveClassName = _usePrefix.resolveClassName;
|
798
|
+
(0,external_vue_namespaceObject.onMounted)(function () {
|
799
|
+
if (props.escClose) {
|
800
|
+
addEventListener('keydown', escCloseHandler);
|
801
|
+
}
|
802
|
+
});
|
803
|
+
(0,external_vue_namespaceObject.onBeforeUnmount)(function () {
|
804
|
+
if (props.escClose) {
|
805
|
+
removeEventListener('keydown', escCloseHandler);
|
806
|
+
}
|
807
|
+
});
|
810
808
|
return {
|
811
809
|
data: data,
|
810
|
+
handleClose: handleClose,
|
811
|
+
handleConfirm: handleConfirm,
|
812
|
+
escCloseHandler: escCloseHandler,
|
813
|
+
moveHandler: moveHandler,
|
814
|
+
handlePrevStep: handlePrevStep,
|
815
|
+
handleNextStep: handleNextStep,
|
816
|
+
isModalShow: isModalShow,
|
812
817
|
localConfirmText: localConfirmText,
|
813
818
|
localCancelText: localCancelText,
|
814
819
|
localPrevText: localPrevText,
|
815
820
|
localNextText: localNextText,
|
816
|
-
resolveClassName: resolveClassName
|
817
|
-
handleHidden: handleHidden,
|
818
|
-
handleShown: handleShown,
|
819
|
-
handleClose: handleClose,
|
820
|
-
handleConfirm: handleConfirm,
|
821
|
-
handleMousedown: handleMousedown,
|
822
|
-
handlePrevStep: handlePrevStep,
|
823
|
-
handleNextStep: handleNextStep
|
821
|
+
resolveClassName: resolveClassName
|
824
822
|
};
|
825
823
|
},
|
826
824
|
render: function render() {
|
827
825
|
var _this = this;
|
826
|
+
var renderIcon = function renderIcon() {
|
827
|
+
var iconMap = {
|
828
|
+
loading: (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Spinner, {
|
829
|
+
"class": [_this.resolveClassName('info-icon'), 'primary']
|
830
|
+
}, null),
|
831
|
+
warning: (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Warn, {
|
832
|
+
"class": [_this.resolveClassName('info-icon'), 'warning']
|
833
|
+
}, null),
|
834
|
+
success: (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Success, {
|
835
|
+
"class": [_this.resolveClassName('info-icon'), 'success']
|
836
|
+
}, null),
|
837
|
+
danger: (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Close, {
|
838
|
+
"class": [_this.resolveClassName('info-icon'), 'danger']
|
839
|
+
}, null)
|
840
|
+
};
|
841
|
+
return iconMap[_this.infoType];
|
842
|
+
};
|
828
843
|
var dialogSlot = {
|
829
844
|
header: function header() {
|
830
|
-
var _this$$slots$tools, _this$$slots, _this$$slots$header, _this$$slots$header2, _this$$slots2;
|
845
|
+
var _this$$slots$tools, _this$$slots$tools2, _this$$slots, _this$$slots$header, _this$$slots$header2, _this$$slots2;
|
831
846
|
return [(0,external_vue_namespaceObject.createVNode)("div", {
|
832
|
-
"class":
|
833
|
-
"onMousedown": _this.
|
834
|
-
}, [(_this$$slots$tools = (_this$$slots = _this.$slots).tools) === null || _this$$slots$
|
847
|
+
"class": [_this.resolveClassName('dialog-tool'), _this.fullscreen || !_this.draggable ? '' : 'move', _this.draggable ? 'content-dragging' : ''],
|
848
|
+
"onMousedown": _this.moveHandler
|
849
|
+
}, [(_this$$slots$tools = (_this$$slots$tools2 = (_this$$slots = _this.$slots).tools) === null || _this$$slots$tools2 === void 0 ? void 0 : _this$$slots$tools2.call(_this$$slots)) !== null && _this$$slots$tools !== void 0 ? _this$$slots$tools : '']), (0,external_vue_namespaceObject.createVNode)("div", {
|
835
850
|
"class": _this.resolveClassName('dialog-header')
|
836
|
-
}, [(0,external_vue_namespaceObject.createVNode)("
|
851
|
+
}, [(0,external_vue_namespaceObject.createVNode)("div", {
|
852
|
+
"class": _this.resolveClassName('dialog-header-icon')
|
853
|
+
}, [_this.infoType ? renderIcon() : (0,external_vue_namespaceObject.createVNode)("slot", {
|
854
|
+
"name": "info-icon"
|
855
|
+
}, null)]), (0,external_vue_namespaceObject.createVNode)("span", {
|
837
856
|
"class": _this.resolveClassName('dialog-title'),
|
838
857
|
"style": "text-align: ".concat(_this.headerAlign)
|
839
858
|
}, [(_this$$slots$header = (_this$$slots$header2 = (_this$$slots2 = _this.$slots).header) === null || _this$$slots$header2 === void 0 ? void 0 : _this$$slots$header2.call(_this$$slots2)) !== null && _this$$slots$header !== void 0 ? _this$$slots$header : _this.title])])];
|
@@ -857,7 +876,7 @@ function _isSlot(s) {
|
|
857
876
|
if (_this.dialogType === 'operation') {
|
858
877
|
return (0,external_vue_namespaceObject.createVNode)(external_vue_namespaceObject.Fragment, null, [(0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
859
878
|
"onClick": _this.handleConfirm,
|
860
|
-
"theme": _this.
|
879
|
+
"theme": _this.theme,
|
861
880
|
"loading": _this.isLoading
|
862
881
|
}, {
|
863
882
|
"default": function _default() {
|
@@ -876,7 +895,7 @@ function _isSlot(s) {
|
|
876
895
|
if (_this.dialogType === 'confirm') {
|
877
896
|
return (0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
878
897
|
"onClick": _this.handleConfirm,
|
879
|
-
"theme": _this.
|
898
|
+
"theme": _this.theme,
|
880
899
|
"loading": _this.isLoading
|
881
900
|
}, {
|
882
901
|
"default": function _default() {
|
@@ -908,7 +927,7 @@ function _isSlot(s) {
|
|
908
927
|
}
|
909
928
|
}), (0,external_vue_namespaceObject.createVNode)(button_namespaceObject["default"], {
|
910
929
|
"onClick": _this.handleConfirm,
|
911
|
-
"theme": _this.
|
930
|
+
"theme": _this.theme,
|
912
931
|
"loading": _this.isLoading
|
913
932
|
}, {
|
914
933
|
"default": function _default() {
|
@@ -934,28 +953,18 @@ function _isSlot(s) {
|
|
934
953
|
}, [renderFooterAction()]);
|
935
954
|
},
|
936
955
|
close: function close() {
|
937
|
-
return (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Error,
|
956
|
+
return (0,external_vue_namespaceObject.createVNode)(icon_namespaceObject.Error, {
|
957
|
+
"onClick": _this.handleClose
|
958
|
+
}, null);
|
938
959
|
}
|
939
960
|
};
|
940
|
-
return (0,external_vue_namespaceObject.createVNode)(modal_namespaceObject["default"], {
|
961
|
+
return (0,external_vue_namespaceObject.createVNode)(modal_namespaceObject["default"], (0,external_vue_namespaceObject.mergeProps)(this.$props, {
|
941
962
|
"class": _defineProperty(_defineProperty(_defineProperty({}, this.resolveClassName('dialog'), true), this.resolveClassName('dialog-wrapper'), true), 'is-fullscreen', this.fullscreen),
|
942
|
-
"isShow": this.isShow,
|
943
|
-
"fullscreen": this.fullscreen,
|
944
|
-
"width": this.fullscreen ? 'auto' : this.width,
|
945
|
-
"animateType": "fadein",
|
946
|
-
"beforeClose": this.beforeClose,
|
947
|
-
"closeIcon": this.closeIcon,
|
948
|
-
"escClose": this.escClose,
|
949
|
-
"quickClose": this.quickClose,
|
950
|
-
"showMask": this.showMask,
|
951
|
-
"transfer": this.transfer,
|
952
|
-
"left": this.fullscreen ? '0px' : this.data.moveStyle.left,
|
953
|
-
"top": this.fullscreen ? '0px' : this.data.moveStyle.top,
|
954
|
-
"zIndex": this.zIndex,
|
955
963
|
"onClose": this.handleClose,
|
956
|
-
"
|
957
|
-
"
|
958
|
-
|
964
|
+
"isShow": this.isModalShow,
|
965
|
+
"left": this.data.moveStyle.left,
|
966
|
+
"top": this.data.moveStyle.top
|
967
|
+
}), _isSlot(dialogSlot) ? dialogSlot : {
|
959
968
|
"default": function _default() {
|
960
969
|
return [dialogSlot];
|
961
970
|
}
|
package/lib/dialog/props.d.ts
CHANGED
@@ -1,9 +1,4 @@
|
|
1
1
|
declare const props: {
|
2
|
-
draggable: import("vue-types").VueTypeValidableDef<boolean> & {
|
3
|
-
default: boolean;
|
4
|
-
} & {
|
5
|
-
default: boolean;
|
6
|
-
};
|
7
2
|
confirmText: import("vue-types").VueTypeValidableDef<string> & {
|
8
3
|
default: string;
|
9
4
|
};
|
@@ -35,7 +30,7 @@ declare const props: {
|
|
35
30
|
footerAlign: import("vue-types").VueTypeValidableDef<"right" | "left" | "center"> & {
|
36
31
|
default: "right" | "left" | "center";
|
37
32
|
};
|
38
|
-
|
33
|
+
theme: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary"> & {
|
39
34
|
default: "success" | "warning" | "danger" | "primary";
|
40
35
|
};
|
41
36
|
dialogType: import("vue-types").VueTypeDef<"show" | "process" | "operation" | "confirm">;
|
@@ -49,8 +44,18 @@ declare const props: {
|
|
49
44
|
} & {
|
50
45
|
default: boolean;
|
51
46
|
};
|
52
|
-
width: import("vue-types").VueTypeDef<string | number
|
53
|
-
|
47
|
+
width: import("vue-types").VueTypeDef<string | number> & {
|
48
|
+
default: string | number;
|
49
|
+
};
|
50
|
+
height: import("vue-types").VueTypeDef<string | number> & {
|
51
|
+
default: string | number;
|
52
|
+
};
|
53
|
+
extCls: (import("vue-types").VueTypeValidableDef<string> & {
|
54
|
+
default: string;
|
55
|
+
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
56
|
+
default: () => unknown[];
|
57
|
+
});
|
58
|
+
scrollable: import("vue-types").VueTypeValidableDef<boolean> & {
|
54
59
|
default: boolean;
|
55
60
|
} & {
|
56
61
|
default: boolean;
|
@@ -70,6 +75,17 @@ declare const props: {
|
|
70
75
|
} & {
|
71
76
|
default: boolean;
|
72
77
|
};
|
78
|
+
fullscreen: import("vue-types").VueTypeValidableDef<boolean> & {
|
79
|
+
default: boolean;
|
80
|
+
} & {
|
81
|
+
default: boolean;
|
82
|
+
};
|
83
|
+
size: import("vue-types").VueTypeDef<"small" | "medium" | "large" | "normal">;
|
84
|
+
draggable: import("vue-types").VueTypeValidableDef<boolean> & {
|
85
|
+
default: boolean;
|
86
|
+
} & {
|
87
|
+
default: boolean;
|
88
|
+
};
|
73
89
|
quickClose: import("vue-types").VueTypeValidableDef<boolean> & {
|
74
90
|
default: boolean;
|
75
91
|
} & {
|
@@ -79,6 +95,14 @@ declare const props: {
|
|
79
95
|
default: string | boolean | (() => HTMLElement);
|
80
96
|
};
|
81
97
|
zIndex: import("vue-types").VueTypeDef<string | number>;
|
98
|
+
maxHeight: import("vue-types").VueTypeValidableDef<string> & {
|
99
|
+
default: string;
|
100
|
+
};
|
101
|
+
direction: import("vue-types").VueTypeValidableDef<string> & {
|
102
|
+
default: string;
|
103
|
+
} & {
|
104
|
+
default: string;
|
105
|
+
};
|
82
106
|
animateType: import("vue-types").VueTypeValidableDef<string> & {
|
83
107
|
default: string;
|
84
108
|
} & {
|
@@ -88,11 +112,27 @@ declare const props: {
|
|
88
112
|
default: "show" | "if";
|
89
113
|
};
|
90
114
|
beforeClose: import("vue-types").VueTypeDef<unknown>;
|
115
|
+
multiInstance: import("vue-types").VueTypeValidableDef<boolean> & {
|
116
|
+
default: boolean;
|
117
|
+
} & {
|
118
|
+
default: boolean;
|
119
|
+
};
|
120
|
+
infoType: import("vue-types").VueTypeDef<"success" | "warning" | "danger" | "primary">;
|
121
|
+
bodyClass: (import("vue-types").VueTypeValidableDef<string> & {
|
122
|
+
default: string;
|
123
|
+
}) | (import("vue-types").VueTypeValidableDef<unknown[]> & {
|
124
|
+
default: () => unknown[];
|
125
|
+
});
|
91
126
|
left: import("vue-types").VueTypeValidableDef<string> & {
|
92
127
|
default: string;
|
93
128
|
};
|
94
129
|
top: import("vue-types").VueTypeValidableDef<string> & {
|
95
130
|
default: string;
|
96
131
|
};
|
132
|
+
hiddenDelay: import("vue-types").VueTypeValidableDef<number> & {
|
133
|
+
default: number;
|
134
|
+
} & {
|
135
|
+
default: number;
|
136
|
+
};
|
97
137
|
};
|
98
138
|
export default props;
|
package/lib/directives/index.js
CHANGED
@@ -884,7 +884,7 @@ function toPrimitive(t, r) {
|
|
884
884
|
|
885
885
|
function toPropertyKey(t) {
|
886
886
|
var i = toPrimitive(t, "string");
|
887
|
-
return "symbol" == _typeof(i) ? i : i
|
887
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
888
888
|
}
|
889
889
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
890
890
|
|
package/lib/divider/index.js
CHANGED
@@ -39,7 +39,7 @@ const shared_namespaceObject = x({ ["AlignEnum"]: () => __WEBPACK_EXTERNAL_MODUL
|
|
39
39
|
;// CONCATENATED MODULE: external "vue"
|
40
40
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
41
41
|
var external_vue_y = x => () => x
|
42
|
-
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode });
|
42
|
+
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent });
|
43
43
|
;// CONCATENATED MODULE: external "../config-provider"
|
44
44
|
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
45
45
|
var config_provider_y = x => () => x
|
@@ -107,7 +107,8 @@ var dividerProps = {
|
|
107
107
|
*/
|
108
108
|
|
109
109
|
|
110
|
-
|
110
|
+
|
111
|
+
/* harmony default export */ const divider = ((0,external_vue_namespaceObject.defineComponent)({
|
111
112
|
name: 'Divider',
|
112
113
|
props: dividerProps,
|
113
114
|
render: function render() {
|
package/lib/dropdown/index.js
CHANGED
@@ -69,7 +69,7 @@ function toPrimitive(t, r) {
|
|
69
69
|
|
70
70
|
function toPropertyKey(t) {
|
71
71
|
var i = toPrimitive(t, "string");
|
72
|
-
return "symbol" == _typeof(i) ? i : i
|
72
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
73
73
|
}
|
74
74
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
75
75
|
|
@@ -90,7 +90,7 @@ function _defineProperty(obj, key, value) {
|
|
90
90
|
;// CONCATENATED MODULE: external "vue"
|
91
91
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
92
92
|
var external_vue_y = x => () => x
|
93
|
-
const external_vue_namespaceObject = external_vue_x({ ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref });
|
93
|
+
const external_vue_namespaceObject = external_vue_x({ ["computed"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.computed, ["createTextVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createTextVNode, ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent, ["mergeProps"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.mergeProps, ["ref"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.ref });
|
94
94
|
;// CONCATENATED MODULE: external "lodash/merge"
|
95
95
|
var merge_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
96
96
|
var merge_y = x => () => x
|
@@ -249,7 +249,8 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
249
249
|
*/
|
250
250
|
|
251
251
|
|
252
|
-
|
252
|
+
|
253
|
+
/* harmony default export */ const dropdown_item = ((0,external_vue_namespaceObject.defineComponent)({
|
253
254
|
name: 'DropdownItem',
|
254
255
|
props: {
|
255
256
|
/** 外部设置的 class name */
|
@@ -264,7 +265,7 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
264
265
|
};
|
265
266
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
266
267
|
resolveClassName = _usePrefix.resolveClassName;
|
267
|
-
var wrapperCLasses = computed(function () {
|
268
|
+
var wrapperCLasses = (0,external_vue_namespaceObject.computed)(function () {
|
268
269
|
return [resolveClassName('dropdown-item'), props.extCls];
|
269
270
|
});
|
270
271
|
return {
|
@@ -309,7 +310,8 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
309
310
|
*/
|
310
311
|
|
311
312
|
|
312
|
-
|
313
|
+
|
314
|
+
/* harmony default export */ const dropdown_menu = ((0,external_vue_namespaceObject.defineComponent)({
|
313
315
|
name: 'DropdownMenu',
|
314
316
|
props: {
|
315
317
|
/** 外部设置的 class name */
|
@@ -318,7 +320,7 @@ const popover_less_namespaceObject = popover_less_x({ });
|
|
318
320
|
setup: function setup(props) {
|
319
321
|
var _usePrefix = (0,config_provider_namespaceObject.usePrefix)(),
|
320
322
|
resolveClassName = _usePrefix.resolveClassName;
|
321
|
-
var wrapperCLasses = computed(function () {
|
323
|
+
var wrapperCLasses = (0,external_vue_namespaceObject.computed)(function () {
|
322
324
|
return [resolveClassName('dropdown-menu'), props.extCls];
|
323
325
|
});
|
324
326
|
return {
|
package/lib/exception/index.js
CHANGED
@@ -156,7 +156,7 @@ function toPrimitive(t, r) {
|
|
156
156
|
|
157
157
|
function toPropertyKey(t) {
|
158
158
|
var i = toPrimitive(t, "string");
|
159
|
-
return "symbol" == _typeof(i) ? i : i
|
159
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
160
160
|
}
|
161
161
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
162
162
|
|
@@ -39,7 +39,7 @@ const shared_namespaceObject = x({ ["PropTypes"]: () => __WEBPACK_EXTERNAL_MODUL
|
|
39
39
|
;// CONCATENATED MODULE: external "vue"
|
40
40
|
var external_vue_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
41
41
|
var external_vue_y = x => () => x
|
42
|
-
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode });
|
42
|
+
const external_vue_namespaceObject = external_vue_x({ ["createVNode"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.createVNode, ["defineComponent"]: () => __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent });
|
43
43
|
;// CONCATENATED MODULE: external "../config-provider"
|
44
44
|
var config_provider_x = y => { var x = {}; __webpack_require__.d(x, y); return x; }
|
45
45
|
var config_provider_y = x => () => x
|
@@ -73,7 +73,8 @@ const config_provider_namespaceObject = config_provider_x({ ["usePrefix"]: () =>
|
|
73
73
|
*/
|
74
74
|
|
75
75
|
|
76
|
-
|
76
|
+
|
77
|
+
/* harmony default export */ const fixed_navbar = ((0,external_vue_namespaceObject.defineComponent)({
|
77
78
|
name: 'FixedNavbar',
|
78
79
|
props: {
|
79
80
|
navItems: shared_namespaceObject.PropTypes.array.def([]),
|
package/lib/form/index.js
CHANGED
@@ -191,7 +191,7 @@ function toPrimitive(t, r) {
|
|
191
191
|
|
192
192
|
function toPropertyKey(t) {
|
193
193
|
var i = toPrimitive(t, "string");
|
194
|
-
return "symbol" == _typeof(i) ? i : i
|
194
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
195
195
|
}
|
196
196
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
197
197
|
|
@@ -55,7 +55,7 @@ function toPrimitive(t, r) {
|
|
55
55
|
|
56
56
|
function toPropertyKey(t) {
|
57
57
|
var i = toPrimitive(t, "string");
|
58
|
-
return "symbol" == _typeof(i) ? i : i
|
58
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
59
59
|
}
|
60
60
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
61
61
|
|
@@ -55,7 +55,7 @@ function toPrimitive(t, r) {
|
|
55
55
|
|
56
56
|
function toPropertyKey(t) {
|
57
57
|
var i = toPrimitive(t, "string");
|
58
|
-
return "symbol" == _typeof(i) ? i : i
|
58
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
59
59
|
}
|
60
60
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
61
61
|
|
@@ -55,7 +55,7 @@ function toPrimitive(t, r) {
|
|
55
55
|
|
56
56
|
function toPropertyKey(t) {
|
57
57
|
var i = toPrimitive(t, "string");
|
58
|
-
return "symbol" == _typeof(i) ? i : i
|
58
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
59
59
|
}
|
60
60
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
61
61
|
|
@@ -55,7 +55,7 @@ function toPrimitive(t, r) {
|
|
55
55
|
|
56
56
|
function toPropertyKey(t) {
|
57
57
|
var i = toPrimitive(t, "string");
|
58
|
-
return "symbol" == _typeof(i) ? i : i
|
58
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
59
59
|
}
|
60
60
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
61
61
|
|
@@ -55,7 +55,7 @@ function toPrimitive(t, r) {
|
|
55
55
|
|
56
56
|
function toPropertyKey(t) {
|
57
57
|
var i = toPrimitive(t, "string");
|
58
|
-
return "symbol" == _typeof(i) ? i : i
|
58
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
59
59
|
}
|
60
60
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
61
61
|
|
@@ -55,7 +55,7 @@ function toPrimitive(t, r) {
|
|
55
55
|
|
56
56
|
function toPropertyKey(t) {
|
57
57
|
var i = toPrimitive(t, "string");
|
58
|
-
return "symbol" == _typeof(i) ? i : i
|
58
|
+
return "symbol" == _typeof(i) ? i : String(i);
|
59
59
|
}
|
60
60
|
;// CONCATENATED MODULE: ../../node_modules/@babel/runtime/helpers/esm/defineProperty.js
|
61
61
|
|