vxe-pc-ui 3.17.22 → 3.17.24
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/dynamics/index.js +23 -4
- package/es/icon/style.css +1 -1
- package/es/input/src/input.js +13 -2
- package/es/input/style.css +10 -1
- package/es/input/style.min.css +1 -1
- package/es/loading/index.js +2 -0
- package/es/number-input/src/number-input.js +27 -6
- package/es/number-input/style.css +17 -2
- package/es/number-input/style.min.css +1 -1
- package/es/password-input/src/password-input.js +13 -2
- package/es/password-input/style.css +10 -0
- package/es/password-input/style.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/tooltip/index.js +48 -1
- package/es/tooltip/src/tooltip.js +6 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-input/style.css +10 -1
- package/es/vxe-input/style.min.css +1 -1
- package/es/vxe-number-input/style.css +17 -2
- package/es/vxe-number-input/style.min.css +1 -1
- package/es/vxe-password-input/style.css +10 -0
- package/es/vxe-password-input/style.min.css +1 -1
- package/lib/dynamics/index.js +21 -4
- package/lib/dynamics/index.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 +129 -13
- package/lib/index.umd.min.js +1 -1
- package/lib/input/src/input.js +12 -1
- package/lib/input/src/input.min.js +1 -1
- package/lib/input/style/style.css +10 -1
- package/lib/input/style/style.min.css +1 -1
- package/lib/loading/index.js +2 -0
- package/lib/loading/index.min.js +1 -1
- package/lib/number-input/src/number-input.js +21 -2
- package/lib/number-input/src/number-input.min.js +1 -1
- package/lib/number-input/style/style.css +17 -2
- package/lib/number-input/style/style.min.css +1 -1
- package/lib/password-input/src/password-input.js +12 -1
- package/lib/password-input/src/password-input.min.js +1 -1
- package/lib/password-input/style/style.css +10 -0
- package/lib/password-input/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/tooltip/index.js +46 -1
- package/lib/tooltip/index.min.js +1 -1
- package/lib/tooltip/src/tooltip.js +6 -1
- package/lib/tooltip/src/tooltip.min.js +1 -1
- package/lib/ui/index.js +1 -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-input/style/style.css +10 -1
- package/lib/vxe-input/style/style.min.css +1 -1
- package/lib/vxe-number-input/style/style.css +17 -2
- package/lib/vxe-number-input/style/style.min.css +1 -1
- package/lib/vxe-password-input/style/style.css +10 -0
- package/lib/vxe-password-input/style/style.min.css +1 -1
- package/package.json +1 -1
- package/packages/dynamics/index.ts +28 -7
- package/packages/input/src/input.ts +13 -2
- package/packages/loading/index.ts +2 -0
- package/packages/number-input/src/number-input.ts +28 -6
- package/packages/password-input/src/password-input.ts +13 -2
- package/packages/tooltip/index.ts +49 -1
- package/packages/tooltip/src/tooltip.ts +7 -1
- package/styles/components/input.scss +10 -1
- package/styles/components/number-input.scss +25 -2
- package/styles/components/password-input.scss +10 -0
- package/types/components/input.d.ts +3 -0
- package/types/components/loading.d.ts +2 -2
- package/types/components/number-input.d.ts +3 -0
- package/types/components/password-input.d.ts +3 -0
- package/types/components/tooltip.d.ts +21 -1
- package/types/ui/index.d.ts +2 -0
- /package/es/icon/{iconfont.1788170290686.ttf → iconfont.1788249693859.ttf} +0 -0
- /package/es/icon/{iconfont.1788170290686.woff → iconfont.1788249693859.woff} +0 -0
- /package/es/icon/{iconfont.1788170290686.woff2 → iconfont.1788249693859.woff2} +0 -0
- /package/es/{iconfont.1788170290686.ttf → iconfont.1788249693859.ttf} +0 -0
- /package/es/{iconfont.1788170290686.woff → iconfont.1788249693859.woff} +0 -0
- /package/es/{iconfont.1788170290686.woff2 → iconfont.1788249693859.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1788170290686.ttf → iconfont.1788249693859.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1788170290686.woff → iconfont.1788249693859.woff} +0 -0
- /package/lib/icon/style/{iconfont.1788170290686.woff2 → iconfont.1788249693859.woff2} +0 -0
- /package/lib/{iconfont.1788170290686.ttf → iconfont.1788249693859.ttf} +0 -0
- /package/lib/{iconfont.1788170290686.woff → iconfont.1788249693859.woff} +0 -0
- /package/lib/{iconfont.1788170290686.woff2 → iconfont.1788249693859.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -11244,6 +11244,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
11244
11244
|
Tip: function() { return /* reexport */ Tip; },
|
|
11245
11245
|
Tips: function() { return /* reexport */ Tips; },
|
|
11246
11246
|
Tooltip: function() { return /* reexport */ Tooltip; },
|
|
11247
|
+
TooltipController: function() { return /* reexport */ TooltipController; },
|
|
11247
11248
|
Tour: function() { return /* reexport */ Tour; },
|
|
11248
11249
|
Transfer: function() { return /* reexport */ Transfer; },
|
|
11249
11250
|
Tree: function() { return /* reexport */ Tree; },
|
|
@@ -11493,6 +11494,7 @@ __webpack_require__.d(components_namespaceObject, {
|
|
|
11493
11494
|
Tip: function() { return Tip; },
|
|
11494
11495
|
Tips: function() { return Tips; },
|
|
11495
11496
|
Tooltip: function() { return Tooltip; },
|
|
11497
|
+
TooltipController: function() { return TooltipController; },
|
|
11496
11498
|
Tour: function() { return Tour; },
|
|
11497
11499
|
Transfer: function() { return Transfer; },
|
|
11498
11500
|
Tree: function() { return Tree; },
|
|
@@ -13166,7 +13168,9 @@ var DynamicApp = external_commonjs_vue_commonjs2_vue_root_Vue_default().extend({
|
|
|
13166
13168
|
drawers: drawers,
|
|
13167
13169
|
globalLoading: null,
|
|
13168
13170
|
globalWatermark: null,
|
|
13169
|
-
globalContextMenu: null
|
|
13171
|
+
globalContextMenu: null,
|
|
13172
|
+
globalTooltip: null,
|
|
13173
|
+
isTipInit: false
|
|
13170
13174
|
};
|
|
13171
13175
|
},
|
|
13172
13176
|
methods: {
|
|
@@ -13177,11 +13181,13 @@ var DynamicApp = external_commonjs_vue_commonjs2_vue_root_Vue_default().extend({
|
|
|
13177
13181
|
var VxeUILoadingComponent = VxeUI.getComponent('vxe-loading');
|
|
13178
13182
|
var VxeUIWatermarkComponent = VxeUI.getComponent('vxe-watermark');
|
|
13179
13183
|
var VxeUIContextMenuComponent = VxeUI.getComponent('vxe-context-menu');
|
|
13184
|
+
var VxeUITooltipComponent = VxeUI.getComponent('vxe-tooltip');
|
|
13180
13185
|
var modals = $xeDynamicApp.modals,
|
|
13181
13186
|
drawers = $xeDynamicApp.drawers,
|
|
13182
13187
|
globalLoading = $xeDynamicApp.globalLoading,
|
|
13183
13188
|
globalWatermark = $xeDynamicApp.globalWatermark,
|
|
13184
|
-
globalContextMenu = $xeDynamicApp.globalContextMenu
|
|
13189
|
+
globalContextMenu = $xeDynamicApp.globalContextMenu,
|
|
13190
|
+
globalTooltip = $xeDynamicApp.globalTooltip;
|
|
13185
13191
|
var cmOns;
|
|
13186
13192
|
if (globalContextMenu) {
|
|
13187
13193
|
var events = globalContextMenu.events || {};
|
|
@@ -13210,8 +13216,16 @@ var DynamicApp = external_commonjs_vue_commonjs2_vue_root_Vue_default().extend({
|
|
|
13210
13216
|
}
|
|
13211
13217
|
};
|
|
13212
13218
|
}
|
|
13219
|
+
var tpOOns = {};
|
|
13220
|
+
if (globalTooltip) {
|
|
13221
|
+
tpOOns = {
|
|
13222
|
+
modelValue: function modelValue(value) {
|
|
13223
|
+
globalTooltip.value = value;
|
|
13224
|
+
}
|
|
13225
|
+
};
|
|
13226
|
+
}
|
|
13213
13227
|
return h('div', {}, [modals.length ? h('div', {
|
|
13214
|
-
key:
|
|
13228
|
+
key: 'ml',
|
|
13215
13229
|
class: 'vxe-dynamics--modal'
|
|
13216
13230
|
}, modals.map(function (item) {
|
|
13217
13231
|
return h(VxeUIModalComponent, {
|
|
@@ -13220,7 +13234,7 @@ var DynamicApp = external_commonjs_vue_commonjs2_vue_root_Vue_default().extend({
|
|
|
13220
13234
|
on: item.on
|
|
13221
13235
|
});
|
|
13222
13236
|
})) : renderEmptyElement($xeDynamicApp), drawers.length ? h('div', {
|
|
13223
|
-
key:
|
|
13237
|
+
key: 'dr',
|
|
13224
13238
|
class: 'vxe-dynamics--drawer'
|
|
13225
13239
|
}, drawers.map(function (item) {
|
|
13226
13240
|
return h(VxeUIDrawerComponent, {
|
|
@@ -13238,6 +13252,11 @@ var DynamicApp = external_commonjs_vue_commonjs2_vue_root_Vue_default().extend({
|
|
|
13238
13252
|
key: 'cm',
|
|
13239
13253
|
props: globalContextMenu,
|
|
13240
13254
|
on: cmOns
|
|
13255
|
+
}) : renderEmptyElement($xeDynamicApp), dynamicStore.isTipInit ? h(VxeUITooltipComponent, {
|
|
13256
|
+
key: 'tip',
|
|
13257
|
+
ref: 'refTooltip',
|
|
13258
|
+
props: globalTooltip || {},
|
|
13259
|
+
on: tpOOns
|
|
13241
13260
|
}) : renderEmptyElement($xeDynamicApp)]);
|
|
13242
13261
|
}
|
|
13243
13262
|
},
|
|
@@ -13265,7 +13284,7 @@ var es_array_join = __webpack_require__(8598);
|
|
|
13265
13284
|
|
|
13266
13285
|
|
|
13267
13286
|
var log_log = VxeUI.log;
|
|
13268
|
-
var uiVersion = "ui v".concat("3.17.
|
|
13287
|
+
var uiVersion = "ui v".concat("3.17.24");
|
|
13269
13288
|
function createComponentLog(name) {
|
|
13270
13289
|
var tableVersion = VxeUI.tableVersion ? "table v".concat(VxeUI.tableVersion) : '';
|
|
13271
13290
|
var ganttVersion = VxeUI.ganttVersion ? "gantt v".concat(VxeUI.ganttVersion) : '';
|
|
@@ -13285,7 +13304,7 @@ var errLog = log_log.create('error', uiVersion);
|
|
|
13285
13304
|
|
|
13286
13305
|
|
|
13287
13306
|
|
|
13288
|
-
var ui_version = "3.17.
|
|
13307
|
+
var ui_version = "3.17.24";
|
|
13289
13308
|
VxeUI.uiVersion = ui_version;
|
|
13290
13309
|
VxeUI.dynamicApp = dynamicApp;
|
|
13291
13310
|
function config(options) {
|
|
@@ -16115,6 +16134,8 @@ function enModelValue(nodeid) {
|
|
|
16115
16134
|
function deModelValue(nodeid) {
|
|
16116
16135
|
return nodeid ? decodeURIComponent("".concat(nodeid)) : nodeid;
|
|
16117
16136
|
}
|
|
16137
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
16138
|
+
var es_promise = __webpack_require__(3362);
|
|
16118
16139
|
;// ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
16119
16140
|
function _arrayLikeToArray(r, a) {
|
|
16120
16141
|
(null == a || a > r.length) && (a = r.length);
|
|
@@ -16223,7 +16244,7 @@ function createInternalData() {
|
|
|
16223
16244
|
return getConfig().tooltip.size || getConfig().size;
|
|
16224
16245
|
}
|
|
16225
16246
|
},
|
|
16226
|
-
selector: String,
|
|
16247
|
+
selector: [String, Element],
|
|
16227
16248
|
trigger: {
|
|
16228
16249
|
type: String,
|
|
16229
16250
|
default: function _default() {
|
|
@@ -16660,6 +16681,11 @@ function createInternalData() {
|
|
|
16660
16681
|
wheelEvent: function wheelEvent(evnt) {
|
|
16661
16682
|
evnt.stopPropagation();
|
|
16662
16683
|
},
|
|
16684
|
+
// pooltipPrivateMethods
|
|
16685
|
+
handleCloseEvent: function handleCloseEvent() {
|
|
16686
|
+
var $xeTooltip = this;
|
|
16687
|
+
$xeTooltip.targetMouseleaveEvent();
|
|
16688
|
+
},
|
|
16663
16689
|
//
|
|
16664
16690
|
// Render
|
|
16665
16691
|
//
|
|
@@ -16845,13 +16871,60 @@ function createInternalData() {
|
|
|
16845
16871
|
|
|
16846
16872
|
|
|
16847
16873
|
|
|
16874
|
+
|
|
16875
|
+
|
|
16848
16876
|
var VxeTooltip = Object.assign({}, tooltip, {
|
|
16849
16877
|
install: function install(app) {
|
|
16850
16878
|
app.component(tooltip.name, tooltip);
|
|
16851
16879
|
}
|
|
16852
16880
|
});
|
|
16881
|
+
var TooltipController = {
|
|
16882
|
+
open: function open(target, options) {
|
|
16883
|
+
var opts = Object.assign({}, options, {
|
|
16884
|
+
key: 'tip',
|
|
16885
|
+
value: true,
|
|
16886
|
+
trigger: 'hover',
|
|
16887
|
+
selector: target,
|
|
16888
|
+
appendTo: null
|
|
16889
|
+
});
|
|
16890
|
+
var $tooltip = dynamicStore.$refs.refTooltip;
|
|
16891
|
+
dynamicStore.globalTooltip = opts;
|
|
16892
|
+
if ($tooltip) {
|
|
16893
|
+
$tooltip.open(target, opts.content);
|
|
16894
|
+
} else {
|
|
16895
|
+
dynamicStore.isTipInit = true;
|
|
16896
|
+
checkDynamic();
|
|
16897
|
+
}
|
|
16898
|
+
return Promise.resolve();
|
|
16899
|
+
},
|
|
16900
|
+
close: function close() {
|
|
16901
|
+
var $tooltip = dynamicStore.$refs.refTooltip;
|
|
16902
|
+
if ($tooltip) {
|
|
16903
|
+
$tooltip.handleCloseEvent();
|
|
16904
|
+
} else {
|
|
16905
|
+
var globalTooltip = dynamicStore.globalTooltip;
|
|
16906
|
+
if (globalTooltip) {
|
|
16907
|
+
globalTooltip.value = false;
|
|
16908
|
+
}
|
|
16909
|
+
}
|
|
16910
|
+
return Promise.resolve();
|
|
16911
|
+
},
|
|
16912
|
+
destroy: function destroy() {
|
|
16913
|
+
var $tooltip = dynamicStore.$refs.refTooltip;
|
|
16914
|
+
if ($tooltip) {
|
|
16915
|
+
return $tooltip.close().then(function () {
|
|
16916
|
+
dynamicStore.globalTooltip = null;
|
|
16917
|
+
dynamicStore.isTipInit = false;
|
|
16918
|
+
});
|
|
16919
|
+
}
|
|
16920
|
+
dynamicStore.globalTooltip = null;
|
|
16921
|
+
dynamicStore.isTipInit = false;
|
|
16922
|
+
return Promise.resolve();
|
|
16923
|
+
}
|
|
16924
|
+
};
|
|
16853
16925
|
dynamicApp.use(VxeTooltip);
|
|
16854
16926
|
VxeUI.component(tooltip);
|
|
16927
|
+
VxeUI.tooltip = TooltipController;
|
|
16855
16928
|
var Tooltip = VxeTooltip;
|
|
16856
16929
|
/* harmony default export */ var packages_tooltip = (VxeTooltip);
|
|
16857
16930
|
;// ./packages/button/src/button.ts
|
|
@@ -21396,8 +21469,6 @@ function _createForOfIteratorHelper(r, e) {
|
|
|
21396
21469
|
};
|
|
21397
21470
|
}
|
|
21398
21471
|
|
|
21399
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
21400
|
-
var es_promise = __webpack_require__(3362);
|
|
21401
21472
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.finally.js
|
|
21402
21473
|
var es_promise_finally = __webpack_require__(9391);
|
|
21403
21474
|
;// ./packages/cascader/src/util.ts
|
|
@@ -24064,6 +24135,12 @@ var input_createComponentLog = createComponentLog('input'),
|
|
|
24064
24135
|
type: String,
|
|
24065
24136
|
default: null
|
|
24066
24137
|
},
|
|
24138
|
+
floatContent: {
|
|
24139
|
+
type: String,
|
|
24140
|
+
default: function _default() {
|
|
24141
|
+
return getConfig().input.floatContent;
|
|
24142
|
+
}
|
|
24143
|
+
},
|
|
24067
24144
|
maxLength: {
|
|
24068
24145
|
type: [String, Number],
|
|
24069
24146
|
default: function _default() {
|
|
@@ -26951,12 +27028,14 @@ var input_createComponentLog = createComponentLog('input'),
|
|
|
26951
27028
|
var _ref2;
|
|
26952
27029
|
var $xeInput = this;
|
|
26953
27030
|
var props = $xeInput;
|
|
27031
|
+
var slots = $xeInput.$scopedSlots;
|
|
26954
27032
|
var reactData = $xeInput.reactData;
|
|
26955
27033
|
var className = props.className,
|
|
26956
27034
|
inputClassName = props.inputClassName,
|
|
26957
27035
|
controls = props.controls,
|
|
26958
27036
|
type = props.type,
|
|
26959
27037
|
title = props.title,
|
|
27038
|
+
floatContent = props.floatContent,
|
|
26960
27039
|
align = props.align,
|
|
26961
27040
|
showWordCount = props.showWordCount,
|
|
26962
27041
|
countMethod = props.countMethod,
|
|
@@ -26985,6 +27064,7 @@ var input_createComponentLog = createComponentLog('input'),
|
|
|
26985
27064
|
var isWordCount = showWordCount && ['text', 'search'].includes(type);
|
|
26986
27065
|
var prefix = $xeInput.renderPrefixIcon(h);
|
|
26987
27066
|
var suffix = $xeInput.renderSuffixIcon(h);
|
|
27067
|
+
var floatSlot = slots.float;
|
|
26988
27068
|
return h('div', {
|
|
26989
27069
|
ref: 'refElem',
|
|
26990
27070
|
class: ['vxe-input', "type--".concat(type), className, (_ref2 = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_ref2, "size--".concat(vSize), vSize), "is--".concat(align), align), 'is--controls', controls), 'is--prefix', !!prefix), 'is--suffix', !!suffix), 'is--visible', visiblePanel), 'is--clear', isClearable), 'is--count', isWordCount), 'is--disabled', isDisabled), 'is--active', isActivated), _defineProperty(_ref2, 'show--clear', isClearable && !isDisabled && !(inputValue === '' || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(inputValue))))],
|
|
@@ -27020,7 +27100,9 @@ var input_createComponentLog = createComponentLog('input'),
|
|
|
27020
27100
|
focus: $xeInput.focusEvent,
|
|
27021
27101
|
blur: $xeInput.blurEvent
|
|
27022
27102
|
}
|
|
27023
|
-
})]), suffix || renderEmptyElement($xeInput),
|
|
27103
|
+
})]), suffix || renderEmptyElement($xeInput), floatContent || floatSlot ? h('span', {
|
|
27104
|
+
class: 'vxe-input--float-wrapper'
|
|
27105
|
+
}, floatSlot ? floatSlot({}) : getText(floatContent)) : renderEmptyElement($xeInput),
|
|
27024
27106
|
// 下拉面板
|
|
27025
27107
|
$xeInput.renderPanel(h),
|
|
27026
27108
|
// 字数统计
|
|
@@ -31361,6 +31443,12 @@ var handleNumberString = function handleNumberString(val) {
|
|
|
31361
31443
|
default: null
|
|
31362
31444
|
},
|
|
31363
31445
|
placeholder: String,
|
|
31446
|
+
floatContent: {
|
|
31447
|
+
type: String,
|
|
31448
|
+
default: function _default() {
|
|
31449
|
+
return getConfig().numberInput.floatContent;
|
|
31450
|
+
}
|
|
31451
|
+
},
|
|
31364
31452
|
maxLength: {
|
|
31365
31453
|
type: [String, Number],
|
|
31366
31454
|
default: function _default() {
|
|
@@ -32466,6 +32554,19 @@ var handleNumberString = function handleNumberString(val) {
|
|
|
32466
32554
|
class: 'vxe-number-input--side-control'
|
|
32467
32555
|
}, [$xeNumberInput.renderPlusBtn(h), $xeNumberInput.renderMinusBtn(h)]);
|
|
32468
32556
|
},
|
|
32557
|
+
renderFloat: function renderFloat(h) {
|
|
32558
|
+
var $xeNumberInput = this;
|
|
32559
|
+
var props = $xeNumberInput;
|
|
32560
|
+
var slots = $xeNumberInput.$scopedSlots;
|
|
32561
|
+
var floatContent = props.floatContent;
|
|
32562
|
+
var floatSlot = slots.float;
|
|
32563
|
+
if (floatContent || floatSlot) {
|
|
32564
|
+
return h('span', {
|
|
32565
|
+
class: 'vxe-number-input--float-wrapper'
|
|
32566
|
+
}, floatSlot ? floatSlot({}) : getText(floatContent));
|
|
32567
|
+
}
|
|
32568
|
+
return renderEmptyElement($xeNumberInput);
|
|
32569
|
+
},
|
|
32469
32570
|
renderVN: function renderVN(h) {
|
|
32470
32571
|
var $xeNumberInput = this;
|
|
32471
32572
|
var props = $xeNumberInput;
|
|
@@ -32499,11 +32600,11 @@ var handleNumberString = function handleNumberString(val) {
|
|
|
32499
32600
|
var isControls = isEnableConf(controlOpts) && (controls === false ? controls : showButton);
|
|
32500
32601
|
return h('div', {
|
|
32501
32602
|
ref: 'refElem',
|
|
32502
|
-
class: ['vxe-number-input', "type--".concat(type), "ctl--".concat(layout === 'right' || layout === 'left' ? layout : 'default'), className, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), "is--".concat(align), align), 'is--controls', isControls && !inputReadonly), 'is--prefix', !!prefixSlot || prefixIcon), 'is--suffix', !!suffixSlot || suffixIcon), 'is--disabled', isDisabled), 'is--active', isActivated), 'show--clear', isClearable && !isDisabled && !(inputValue === '' || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(inputValue)))],
|
|
32603
|
+
class: ['vxe-number-input', "type--".concat(type), isControls ? "ctl--".concat(layout === 'right' || layout === 'left' ? layout : 'default') : '', className, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), "is--".concat(align), align), 'is--controls', isControls && !inputReadonly), 'is--prefix', !!prefixSlot || prefixIcon), 'is--suffix', !!suffixSlot || suffixIcon), 'is--disabled', isDisabled), 'is--active', isActivated), 'show--clear', isClearable && !isDisabled && !(inputValue === '' || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(inputValue)))],
|
|
32503
32604
|
attrs: {
|
|
32504
32605
|
spellcheck: false
|
|
32505
32606
|
}
|
|
32506
|
-
}, isControls ? layout === 'right' ? [$xeNumberInput.renderInput(h), $xeNumberInput.renderSideControl(h)] : layout === 'left' ? [$xeNumberInput.renderSideControl(h), $xeNumberInput.renderInput(h)] : [$xeNumberInput.renderMinusBtn(h), $xeNumberInput.renderInput(h), $xeNumberInput.renderPlusBtn(h)] : [$xeNumberInput.renderInput(h)]);
|
|
32607
|
+
}, isControls ? layout === 'right' ? [$xeNumberInput.renderInput(h), $xeNumberInput.renderSideControl(h), $xeNumberInput.renderFloat(h)] : layout === 'left' ? [$xeNumberInput.renderSideControl(h), $xeNumberInput.renderInput(h), $xeNumberInput.renderFloat(h)] : [$xeNumberInput.renderMinusBtn(h), $xeNumberInput.renderInput(h), $xeNumberInput.renderPlusBtn(h), $xeNumberInput.renderFloat(h)] : [$xeNumberInput.renderInput(h), $xeNumberInput.renderFloat(h)]);
|
|
32507
32608
|
}
|
|
32508
32609
|
},
|
|
32509
32610
|
watch: {
|
|
@@ -40891,6 +40992,8 @@ var DateRangePicker = VxeDateRangePicker;
|
|
|
40891
40992
|
|
|
40892
40993
|
|
|
40893
40994
|
|
|
40995
|
+
|
|
40996
|
+
|
|
40894
40997
|
var VxeLoading = Object.assign({}, src_loading, {
|
|
40895
40998
|
install: function install(app) {
|
|
40896
40999
|
app.component(src_loading.name, src_loading);
|
|
@@ -40905,9 +41008,11 @@ var LoadingController = {
|
|
|
40905
41008
|
icon: opts.icon
|
|
40906
41009
|
};
|
|
40907
41010
|
checkDynamic();
|
|
41011
|
+
return Promise.resolve();
|
|
40908
41012
|
},
|
|
40909
41013
|
close: function close() {
|
|
40910
41014
|
dynamicStore.globalLoading = null;
|
|
41015
|
+
return Promise.resolve();
|
|
40911
41016
|
}
|
|
40912
41017
|
};
|
|
40913
41018
|
dynamicApp.use(VxeLoading);
|
|
@@ -53999,6 +54104,12 @@ var Pager = VxePager;
|
|
|
53999
54104
|
disabled: Boolean,
|
|
54000
54105
|
maxLength: [String, Number],
|
|
54001
54106
|
placeholder: String,
|
|
54107
|
+
floatContent: {
|
|
54108
|
+
type: String,
|
|
54109
|
+
default: function _default() {
|
|
54110
|
+
return getConfig().passwordInput.floatContent;
|
|
54111
|
+
}
|
|
54112
|
+
},
|
|
54002
54113
|
autoComplete: {
|
|
54003
54114
|
type: String,
|
|
54004
54115
|
default: 'off'
|
|
@@ -54371,9 +54482,11 @@ var Pager = VxePager;
|
|
|
54371
54482
|
var $xePasswordInput = this;
|
|
54372
54483
|
var props = $xePasswordInput;
|
|
54373
54484
|
var reactData = $xePasswordInput.reactData;
|
|
54485
|
+
var slots = $xePasswordInput.$scopedSlots;
|
|
54374
54486
|
var className = props.className,
|
|
54375
54487
|
inputClassName = props.inputClassName,
|
|
54376
54488
|
name = props.name,
|
|
54489
|
+
floatContent = props.floatContent,
|
|
54377
54490
|
autocomplete = props.autocomplete,
|
|
54378
54491
|
autoComplete = props.autoComplete,
|
|
54379
54492
|
maxLength = props.maxLength;
|
|
@@ -54394,6 +54507,7 @@ var Pager = VxePager;
|
|
|
54394
54507
|
var inputReadonly = $xePasswordInput.computeInputReadonly;
|
|
54395
54508
|
var prefix = $xePasswordInput.renderPrefixIcon(h);
|
|
54396
54509
|
var suffix = $xePasswordInput.renderSuffixIcon(h);
|
|
54510
|
+
var floatSlot = slots.float;
|
|
54397
54511
|
return h('div', {
|
|
54398
54512
|
ref: 'refElem',
|
|
54399
54513
|
class: ['vxe-password-input', className, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), 'is--prefix', !!prefix), 'is--suffix', !!suffix), 'is--readonly', formReadonly), 'is--disabled', isDisabled), 'is--active', isActivated), 'show--clear', isClearable && !isDisabled && !(inputValue === '' || external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().eqNull(inputValue)))],
|
|
@@ -54424,7 +54538,9 @@ var Pager = VxePager;
|
|
|
54424
54538
|
focus: $xePasswordInput.focusEvent,
|
|
54425
54539
|
blur: $xePasswordInput.blurEvent
|
|
54426
54540
|
}
|
|
54427
|
-
})]), suffix || renderEmptyElement($xePasswordInput)
|
|
54541
|
+
})]), suffix || renderEmptyElement($xePasswordInput), floatContent || floatSlot ? h('span', {
|
|
54542
|
+
class: 'vxe-password-input--float-wrapper'
|
|
54543
|
+
}, floatSlot ? floatSlot({}) : getText(floatContent)) : renderEmptyElement($xePasswordInput)]);
|
|
54428
54544
|
}
|
|
54429
54545
|
},
|
|
54430
54546
|
watch: {
|