vxe-pc-ui 3.17.27 → 3.17.28
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/color-picker/src/color-picker.js +11 -5
- package/es/color-picker/style.css +44 -35
- package/es/color-picker/style.min.css +1 -1
- package/es/drawer/src/drawer.js +11 -1
- package/es/drawer/style.css +10 -2
- package/es/drawer/style.min.css +1 -1
- package/es/icon/style.css +1 -1
- package/es/modal/src/modal.js +16 -11
- package/es/modal/style.css +9 -5
- package/es/modal/style.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/ui/index.js +5 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-color-picker/style.css +44 -35
- package/es/vxe-color-picker/style.min.css +1 -1
- package/es/vxe-drawer/style.css +10 -2
- package/es/vxe-drawer/style.min.css +1 -1
- package/es/vxe-modal/style.css +9 -5
- package/es/vxe-modal/style.min.css +1 -1
- package/lib/color-picker/src/color-picker.js +6 -4
- package/lib/color-picker/src/color-picker.min.js +1 -1
- package/lib/color-picker/style/style.css +44 -35
- package/lib/color-picker/style/style.min.css +1 -1
- package/lib/drawer/src/drawer.js +16 -2
- package/lib/drawer/src/drawer.min.js +1 -1
- package/lib/drawer/style/style.css +10 -2
- package/lib/drawer/style/style.min.css +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/index.umd.js +49 -20
- package/lib/index.umd.min.js +1 -1
- package/lib/modal/src/modal.js +21 -12
- package/lib/modal/src/modal.min.js +1 -1
- package/lib/modal/style/style.css +9 -5
- package/lib/modal/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/ui/index.js +5 -1
- 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-color-picker/style/style.css +44 -35
- package/lib/vxe-color-picker/style/style.min.css +1 -1
- package/lib/vxe-drawer/style/style.css +10 -2
- package/lib/vxe-drawer/style/style.min.css +1 -1
- package/lib/vxe-modal/style/style.css +9 -5
- package/lib/vxe-modal/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/color-picker/src/color-picker.ts +11 -5
- package/packages/drawer/src/drawer.ts +11 -1
- package/packages/modal/src/modal.ts +16 -11
- package/packages/ui/index.ts +4 -0
- package/styles/components/color-picker.scss +35 -26
- package/styles/components/drawer.scss +15 -2
- package/styles/components/modal.scss +13 -5
- package/styles/theme/dark.scss +4 -1
- package/styles/theme/light.scss +3 -0
- package/styles/variable.scss +3 -0
- package/types/components/drawer.d.ts +4 -0
- package/types/components/modal.d.ts +4 -0
- /package/es/icon/{iconfont.1788342341680.ttf → iconfont.1788399110179.ttf} +0 -0
- /package/es/icon/{iconfont.1788342341680.woff → iconfont.1788399110179.woff} +0 -0
- /package/es/icon/{iconfont.1788342341680.woff2 → iconfont.1788399110179.woff2} +0 -0
- /package/es/{iconfont.1788342341680.ttf → iconfont.1788399110179.ttf} +0 -0
- /package/es/{iconfont.1788342341680.woff → iconfont.1788399110179.woff} +0 -0
- /package/es/{iconfont.1788342341680.woff2 → iconfont.1788399110179.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1788342341680.ttf → iconfont.1788399110179.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1788342341680.woff → iconfont.1788399110179.woff} +0 -0
- /package/lib/icon/style/{iconfont.1788342341680.woff2 → iconfont.1788399110179.woff2} +0 -0
- /package/lib/{iconfont.1788342341680.ttf → iconfont.1788399110179.ttf} +0 -0
- /package/lib/{iconfont.1788342341680.woff → iconfont.1788399110179.woff} +0 -0
- /package/lib/{iconfont.1788342341680.woff2 → iconfont.1788399110179.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -13284,7 +13284,7 @@ var es_array_join = __webpack_require__(8598);
|
|
|
13284
13284
|
|
|
13285
13285
|
|
|
13286
13286
|
var log_log = VxeUI.log;
|
|
13287
|
-
var uiVersion = "ui v".concat("3.17.
|
|
13287
|
+
var uiVersion = "ui v".concat("3.17.28");
|
|
13288
13288
|
function createComponentLog(name) {
|
|
13289
13289
|
var tableVersion = VxeUI.tableVersion ? "table v".concat(VxeUI.tableVersion) : '';
|
|
13290
13290
|
var ganttVersion = VxeUI.ganttVersion ? "gantt v".concat(VxeUI.ganttVersion) : '';
|
|
@@ -13304,7 +13304,7 @@ var errLog = log_log.create('error', uiVersion);
|
|
|
13304
13304
|
|
|
13305
13305
|
|
|
13306
13306
|
|
|
13307
|
-
var ui_version = "3.17.
|
|
13307
|
+
var ui_version = "3.17.28";
|
|
13308
13308
|
VxeUI.uiVersion = ui_version;
|
|
13309
13309
|
VxeUI.dynamicApp = dynamicApp;
|
|
13310
13310
|
function config(options) {
|
|
@@ -13442,6 +13442,8 @@ setConfig({
|
|
|
13442
13442
|
// useHtml: false,
|
|
13443
13443
|
position: 'right',
|
|
13444
13444
|
showHeader: true,
|
|
13445
|
+
// showTitleBackground: false,
|
|
13446
|
+
border: true,
|
|
13445
13447
|
lockView: true,
|
|
13446
13448
|
mask: true,
|
|
13447
13449
|
showTitleOverflow: true,
|
|
@@ -13551,6 +13553,8 @@ setConfig({
|
|
|
13551
13553
|
// size: null,
|
|
13552
13554
|
top: 16,
|
|
13553
13555
|
showHeader: true,
|
|
13556
|
+
// showTitleBackground: false,
|
|
13557
|
+
border: true,
|
|
13554
13558
|
// useHtml: false,
|
|
13555
13559
|
// width: null,
|
|
13556
13560
|
// height: null,
|
|
@@ -33909,12 +33913,14 @@ var typeList = [{
|
|
|
33909
33913
|
if (formReadonly) {
|
|
33910
33914
|
return h('div', {
|
|
33911
33915
|
ref: 'refElem',
|
|
33912
|
-
class: ['vxe-color-picker--readonly', className]
|
|
33916
|
+
class: ['vxe-color-picker--readonly', className, _defineProperty({}, "size--".concat(vSize), vSize)]
|
|
33913
33917
|
}, [h('div', {
|
|
33914
|
-
class: 'vxe-color-picker--readonly-color',
|
|
33915
|
-
|
|
33918
|
+
class: ['vxe-color-picker--readonly-color', {
|
|
33919
|
+
'is--empty': !modelValue
|
|
33920
|
+
}],
|
|
33921
|
+
style: modelValue ? {
|
|
33916
33922
|
backgroundColor: modelValue
|
|
33917
|
-
}
|
|
33923
|
+
} : undefined
|
|
33918
33924
|
})]);
|
|
33919
33925
|
}
|
|
33920
33926
|
return h('div', {
|
|
@@ -41293,6 +41299,18 @@ var allActiveDrawers = [];
|
|
|
41293
41299
|
return getConfig().drawer.resize;
|
|
41294
41300
|
}
|
|
41295
41301
|
},
|
|
41302
|
+
border: {
|
|
41303
|
+
type: Boolean,
|
|
41304
|
+
default: function _default() {
|
|
41305
|
+
return getConfig().drawer.border;
|
|
41306
|
+
}
|
|
41307
|
+
},
|
|
41308
|
+
showTitleBackground: {
|
|
41309
|
+
type: Boolean,
|
|
41310
|
+
default: function _default() {
|
|
41311
|
+
return getConfig().drawer.showTitleBackground;
|
|
41312
|
+
}
|
|
41313
|
+
},
|
|
41296
41314
|
zIndex: Number,
|
|
41297
41315
|
transfer: {
|
|
41298
41316
|
type: Boolean,
|
|
@@ -41861,7 +41879,9 @@ var allActiveDrawers = [];
|
|
|
41861
41879
|
var props = $xeDrawer;
|
|
41862
41880
|
var slots = $xeDrawer.$scopedSlots;
|
|
41863
41881
|
var reactData = $xeDrawer.reactData;
|
|
41864
|
-
var
|
|
41882
|
+
var border = props.border,
|
|
41883
|
+
showTitleBackground = props.showTitleBackground,
|
|
41884
|
+
_props$slots6 = props.slots,
|
|
41865
41885
|
propSlots = _props$slots6 === void 0 ? {} : _props$slots6,
|
|
41866
41886
|
className = props.className,
|
|
41867
41887
|
position = props.position,
|
|
@@ -41880,7 +41900,7 @@ var allActiveDrawers = [];
|
|
|
41880
41900
|
var dragType = $xeDrawer.computeDragType;
|
|
41881
41901
|
return h('div', {
|
|
41882
41902
|
ref: 'refElem',
|
|
41883
|
-
class: ['vxe-drawer--wrapper', "pos--".concat(position), className || '', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), 'is--padding', padding), 'lock--scroll', lockScroll), 'lock--view', lockView), 'is--mask', mask), 'is--visible', contentVisible), 'is--active', visible), 'is--loading', loading)],
|
|
41903
|
+
class: ['vxe-drawer--wrapper', "pos--".concat(position), className || '', _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), 'is--padding', padding), 'is--border', border), 'is--title-bg', showTitleBackground), 'lock--scroll', lockScroll), 'lock--view', lockView), 'is--mask', mask), 'is--visible', contentVisible), 'is--active', visible), 'is--loading', loading)],
|
|
41884
41904
|
style: {
|
|
41885
41905
|
zIndex: reactData.drawerZIndex
|
|
41886
41906
|
},
|
|
@@ -48863,6 +48883,18 @@ var lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
48863
48883
|
}
|
|
48864
48884
|
},
|
|
48865
48885
|
resize: Boolean,
|
|
48886
|
+
border: {
|
|
48887
|
+
type: Boolean,
|
|
48888
|
+
default: function _default() {
|
|
48889
|
+
return getConfig().modal.border;
|
|
48890
|
+
}
|
|
48891
|
+
},
|
|
48892
|
+
showTitleBackground: {
|
|
48893
|
+
type: Boolean,
|
|
48894
|
+
default: function _default() {
|
|
48895
|
+
return getConfig().modal.showTitleBackground;
|
|
48896
|
+
}
|
|
48897
|
+
},
|
|
48866
48898
|
showHeader: {
|
|
48867
48899
|
type: Boolean,
|
|
48868
48900
|
default: function _default() {
|
|
@@ -49287,13 +49319,12 @@ var lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
49287
49319
|
return $xeModal.$nextTick().then(function () {
|
|
49288
49320
|
var position = props.position,
|
|
49289
49321
|
isWithinAppendTo = props.isWithinAppendTo;
|
|
49290
|
-
var btnTransfer = $xeModal.computeBtnTransfer;
|
|
49291
49322
|
var el = $xeModal.$refs.refElem;
|
|
49292
49323
|
var boxElem = $xeModal.getBox();
|
|
49293
49324
|
if (!boxElem) {
|
|
49294
49325
|
return;
|
|
49295
49326
|
}
|
|
49296
|
-
var parentWrapperEl = getPopupWrapperElement(isWithinAppendTo
|
|
49327
|
+
var parentWrapperEl = getPopupWrapperElement(isWithinAppendTo ? el : document.body);
|
|
49297
49328
|
if (!parentWrapperEl) {
|
|
49298
49329
|
return;
|
|
49299
49330
|
}
|
|
@@ -49530,7 +49561,6 @@ var lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
49530
49561
|
var props = $xeModal;
|
|
49531
49562
|
var reactData = $xeModal.reactData;
|
|
49532
49563
|
var isWithinAppendTo = props.isWithinAppendTo;
|
|
49533
|
-
var btnTransfer = $xeModal.computeBtnTransfer;
|
|
49534
49564
|
var zoomOpts = $xeModal.computeZoomOpts;
|
|
49535
49565
|
var minimizeLayout = zoomOpts.minimizeLayout,
|
|
49536
49566
|
minimizeMaxSize = zoomOpts.minimizeMaxSize,
|
|
@@ -49580,7 +49610,7 @@ var lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
49580
49610
|
status: false
|
|
49581
49611
|
};
|
|
49582
49612
|
}
|
|
49583
|
-
var parentWrapperEl = getPopupWrapperElement(isWithinAppendTo
|
|
49613
|
+
var parentWrapperEl = getPopupWrapperElement(isWithinAppendTo ? el : document.body);
|
|
49584
49614
|
if (!parentWrapperEl) {
|
|
49585
49615
|
return {
|
|
49586
49616
|
status: false
|
|
@@ -49645,7 +49675,6 @@ var lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
49645
49675
|
var props = $xeModal;
|
|
49646
49676
|
var reactData = $xeModal.reactData;
|
|
49647
49677
|
var isWithinAppendTo = props.isWithinAppendTo;
|
|
49648
|
-
var btnTransfer = $xeModal.computeBtnTransfer;
|
|
49649
49678
|
var prevZoomStatus = reactData.zoomStatus;
|
|
49650
49679
|
reactData.prevZoomStatus = prevZoomStatus;
|
|
49651
49680
|
reactData.zoomStatus = 'maximize';
|
|
@@ -49655,7 +49684,7 @@ var lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
49655
49684
|
// 如果当前处于复原状态
|
|
49656
49685
|
if (!prevZoomStatus) {
|
|
49657
49686
|
var el = $xeModal.$refs.refElem;
|
|
49658
|
-
var parentWrapperEl = getPopupWrapperElement(isWithinAppendTo
|
|
49687
|
+
var parentWrapperEl = getPopupWrapperElement(isWithinAppendTo ? el : document.body);
|
|
49659
49688
|
if (!parentWrapperEl) {
|
|
49660
49689
|
return {
|
|
49661
49690
|
status: false
|
|
@@ -49959,7 +49988,6 @@ var lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
49959
49988
|
storage = props.storage,
|
|
49960
49989
|
isWithinAppendTo = props.isWithinAppendTo;
|
|
49961
49990
|
var zoomStatus = reactData.zoomStatus;
|
|
49962
|
-
var btnTransfer = $xeModal.computeBtnTransfer;
|
|
49963
49991
|
var marginSize = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().toNumber(props.marginSize);
|
|
49964
49992
|
var boxElem = $xeModal.getBox();
|
|
49965
49993
|
if (!boxElem) {
|
|
@@ -49968,7 +49996,7 @@ var lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
49968
49996
|
if (zoomStatus !== 'maximize' && evnt.button === 0 && !getEventTargetNode(evnt, boxElem, 'trigger--btn').flag) {
|
|
49969
49997
|
evnt.preventDefault();
|
|
49970
49998
|
var el = $xeModal.$refs.refElem;
|
|
49971
|
-
var parentWrapperEl = getPopupWrapperElement(isWithinAppendTo
|
|
49999
|
+
var parentWrapperEl = getPopupWrapperElement(isWithinAppendTo ? el : document.body);
|
|
49972
50000
|
if (!parentWrapperEl) {
|
|
49973
50001
|
return;
|
|
49974
50002
|
}
|
|
@@ -50029,9 +50057,8 @@ var lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
50029
50057
|
var resize = props.resize,
|
|
50030
50058
|
storage = props.storage,
|
|
50031
50059
|
isWithinAppendTo = props.isWithinAppendTo;
|
|
50032
|
-
var btnTransfer = $xeModal.computeBtnTransfer;
|
|
50033
50060
|
var el = $xeModal.$refs.refElem;
|
|
50034
|
-
var parentWrapperEl = getPopupWrapperElement(isWithinAppendTo
|
|
50061
|
+
var parentWrapperEl = getPopupWrapperElement(isWithinAppendTo ? el : document.body);
|
|
50035
50062
|
if (!parentWrapperEl) {
|
|
50036
50063
|
return;
|
|
50037
50064
|
}
|
|
@@ -50404,7 +50431,9 @@ var lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
50404
50431
|
var props = $xeModal;
|
|
50405
50432
|
var slots = $xeModal.$scopedSlots;
|
|
50406
50433
|
var reactData = $xeModal.reactData;
|
|
50407
|
-
var
|
|
50434
|
+
var border = props.border,
|
|
50435
|
+
showTitleBackground = props.showTitleBackground,
|
|
50436
|
+
_props$slots6 = props.slots,
|
|
50408
50437
|
propSlots = _props$slots6 === void 0 ? {} : _props$slots6,
|
|
50409
50438
|
className = props.className,
|
|
50410
50439
|
type = props.type,
|
|
@@ -50437,7 +50466,7 @@ var lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
50437
50466
|
}
|
|
50438
50467
|
return h('div', {
|
|
50439
50468
|
ref: 'refElem',
|
|
50440
|
-
class: ['vxe-modal--wrapper', "type--".concat(type), "zoom--".concat(zoomStatus || 'revert'), className || '', position ? "pos--".concat(position) : '', isWithinAppendTo ? 'ctx--within' : 'ctx--free', (_ref2 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "size--".concat(vSize), vSize), "status--".concat(status), status), 'is--padding', padding), 'is--animat', animat), 'lock--scroll', lockScroll), 'lock--view', lockView), 'is--draggable', draggable), 'is--resize', resize), 'is--mask', mask), 'is--visible', contentVisible),
|
|
50469
|
+
class: ['vxe-modal--wrapper', "type--".concat(type), "zoom--".concat(zoomStatus || 'revert'), className || '', position ? "pos--".concat(position) : '', isWithinAppendTo ? 'ctx--within' : 'ctx--free', (_ref2 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "size--".concat(vSize), vSize), "status--".concat(status), status), 'is--padding', padding), 'is--border', border), 'is--title-bg', showTitleBackground), 'is--animat', animat), 'lock--scroll', lockScroll), 'lock--view', lockView), 'is--draggable', draggable), 'is--resize', resize), _defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, 'is--mask', mask), 'is--visible', contentVisible), 'is--active', visible), 'is--loading', loading))],
|
|
50441
50470
|
style: {
|
|
50442
50471
|
zIndex: reactData.modalZindex,
|
|
50443
50472
|
top: modalTop ? "".concat(modalTop, "px") : null
|