vxe-pc-ui 3.16.8 → 3.16.10
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/button/style.css +14 -0
- package/es/button/style.min.css +1 -1
- package/es/checkbox/src/group.js +7 -4
- package/es/checkbox/style.css +12 -0
- package/es/checkbox/style.min.css +1 -1
- package/es/checkbox-button/style.css +6 -0
- package/es/checkbox-button/style.min.css +1 -1
- package/es/form/style.css +19 -11
- package/es/form/style.min.css +1 -1
- package/es/icon/style.css +7 -1
- package/es/icon/style.min.css +1 -1
- package/es/input/style.css +276 -66
- package/es/input/style.min.css +1 -1
- package/es/menu/style.css +10 -0
- package/es/menu/style.min.css +1 -1
- package/es/modal/src/modal.js +2 -2
- package/es/number-input/style.css +28 -21
- package/es/number-input/style.min.css +1 -1
- package/es/password-input/src/password-input.js +1 -0
- package/es/password-input/style.css +28 -399
- package/es/password-input/style.min.css +1 -1
- package/es/radio/src/group.js +3 -3
- package/es/radio/style.css +12 -0
- package/es/radio/style.min.css +1 -1
- package/es/radio-button/style.css +6 -0
- package/es/radio-button/style.min.css +1 -1
- package/es/select/style.css +10 -0
- package/es/select/style.min.css +1 -1
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/switch/style.css +36 -22
- package/es/switch/style.min.css +1 -1
- package/es/tag/style.css +20 -19
- package/es/tag/style.min.css +1 -1
- package/es/tree/src/tree.js +14 -2
- package/es/tree/style.css +4 -1
- package/es/tree/style.min.css +1 -1
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/upload/style.css +10 -0
- package/es/upload/style.min.css +1 -1
- package/es/vxe-button/style.css +14 -0
- package/es/vxe-button/style.min.css +1 -1
- package/es/vxe-checkbox/style.css +12 -0
- package/es/vxe-checkbox/style.min.css +1 -1
- package/es/vxe-checkbox-button/style.css +6 -0
- package/es/vxe-checkbox-button/style.min.css +1 -1
- package/es/vxe-form/style.css +19 -11
- package/es/vxe-form/style.min.css +1 -1
- package/es/vxe-icon/style.css +6 -0
- package/es/vxe-icon/style.min.css +1 -1
- package/es/vxe-input/style.css +276 -66
- package/es/vxe-input/style.min.css +1 -1
- package/es/vxe-menu/style.css +10 -0
- package/es/vxe-menu/style.min.css +1 -1
- package/es/vxe-number-input/style.css +28 -21
- package/es/vxe-number-input/style.min.css +1 -1
- package/es/vxe-password-input/style.css +28 -399
- package/es/vxe-password-input/style.min.css +1 -1
- package/es/vxe-radio/style.css +12 -0
- package/es/vxe-radio/style.min.css +1 -1
- package/es/vxe-radio-button/style.css +6 -0
- package/es/vxe-radio-button/style.min.css +1 -1
- package/es/vxe-select/style.css +10 -0
- package/es/vxe-select/style.min.css +1 -1
- package/es/vxe-switch/style.css +36 -22
- package/es/vxe-switch/style.min.css +1 -1
- package/es/vxe-tag/style.css +20 -19
- package/es/vxe-tag/style.min.css +1 -1
- package/es/vxe-tree/style.css +4 -1
- package/es/vxe-tree/style.min.css +1 -1
- package/es/vxe-upload/style.css +10 -0
- package/es/vxe-upload/style.min.css +1 -1
- package/lib/button/style/style.css +14 -0
- package/lib/button/style/style.min.css +1 -1
- package/lib/checkbox/src/group.js +8 -4
- package/lib/checkbox/src/group.min.js +1 -1
- package/lib/checkbox/style/style.css +12 -0
- package/lib/checkbox/style/style.min.css +1 -1
- package/lib/checkbox-button/style/style.css +6 -0
- package/lib/checkbox-button/style/style.min.css +1 -1
- package/lib/form/style/style.css +19 -11
- package/lib/form/style/style.min.css +1 -1
- package/lib/icon/style/style.css +7 -1
- package/lib/icon/style/style.min.css +7 -1
- package/lib/index.umd.js +29 -13
- package/lib/index.umd.min.js +1 -1
- package/lib/input/style/style.css +276 -66
- package/lib/input/style/style.min.css +1 -1
- package/lib/menu/style/style.css +10 -0
- package/lib/menu/style/style.min.css +1 -1
- package/lib/modal/src/modal.js +2 -2
- package/lib/modal/src/modal.min.js +1 -1
- package/lib/number-input/style/style.css +28 -21
- package/lib/number-input/style/style.min.css +1 -1
- package/lib/password-input/src/password-input.js +1 -0
- package/lib/password-input/src/password-input.min.js +1 -1
- package/lib/password-input/style/style.css +28 -399
- package/lib/password-input/style/style.min.css +1 -1
- package/lib/radio/src/group.js +4 -4
- package/lib/radio/src/group.min.js +1 -1
- package/lib/radio/style/style.css +12 -0
- package/lib/radio/style/style.min.css +1 -1
- package/lib/radio-button/style/style.css +6 -0
- package/lib/radio-button/style/style.min.css +1 -1
- package/lib/select/style/style.css +10 -0
- package/lib/select/style/style.min.css +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/switch/style/style.css +36 -22
- package/lib/switch/style/style.min.css +1 -1
- package/lib/tag/style/style.css +20 -19
- package/lib/tag/style/style.min.css +1 -1
- package/lib/tree/src/tree.js +13 -2
- package/lib/tree/src/tree.min.js +1 -1
- package/lib/tree/style/style.css +4 -1
- package/lib/tree/style/style.min.css +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/upload/style/style.css +10 -0
- package/lib/upload/style/style.min.css +1 -1
- package/lib/vxe-button/style/style.css +14 -0
- package/lib/vxe-button/style/style.min.css +1 -1
- package/lib/vxe-checkbox/style/style.css +12 -0
- package/lib/vxe-checkbox/style/style.min.css +1 -1
- package/lib/vxe-checkbox-button/style/style.css +6 -0
- package/lib/vxe-checkbox-button/style/style.min.css +1 -1
- package/lib/vxe-form/style/style.css +19 -11
- package/lib/vxe-form/style/style.min.css +1 -1
- package/lib/vxe-icon/style/style.css +6 -0
- package/lib/vxe-icon/style/style.min.css +1 -1
- package/lib/vxe-input/style/style.css +276 -66
- package/lib/vxe-input/style/style.min.css +1 -1
- package/lib/vxe-menu/style/style.css +10 -0
- package/lib/vxe-menu/style/style.min.css +1 -1
- package/lib/vxe-number-input/style/style.css +28 -21
- package/lib/vxe-number-input/style/style.min.css +1 -1
- package/lib/vxe-password-input/style/style.css +28 -399
- package/lib/vxe-password-input/style/style.min.css +1 -1
- package/lib/vxe-radio/style/style.css +12 -0
- package/lib/vxe-radio/style/style.min.css +1 -1
- package/lib/vxe-radio-button/style/style.css +6 -0
- package/lib/vxe-radio-button/style/style.min.css +1 -1
- package/lib/vxe-select/style/style.css +10 -0
- package/lib/vxe-select/style/style.min.css +1 -1
- package/lib/vxe-switch/style/style.css +36 -22
- package/lib/vxe-switch/style/style.min.css +1 -1
- package/lib/vxe-tag/style/style.css +20 -19
- package/lib/vxe-tag/style/style.min.css +1 -1
- package/lib/vxe-tree/style/style.css +4 -1
- package/lib/vxe-tree/style/style.min.css +1 -1
- package/lib/vxe-upload/style/style.css +10 -0
- package/lib/vxe-upload/style/style.min.css +1 -1
- package/package.json +3 -3
- package/packages/checkbox/src/group.ts +7 -4
- package/packages/modal/src/modal.ts +3 -3
- package/packages/password-input/src/password-input.ts +1 -0
- package/packages/radio/src/group.ts +3 -3
- package/packages/tree/src/tree.ts +14 -2
- package/styles/components/button.scss +12 -0
- package/styles/components/checkbox-button.scss +6 -0
- package/styles/components/checkbox.scss +12 -0
- package/styles/components/form.scss +28 -22
- package/styles/components/icon.scss +6 -0
- package/styles/components/input.scss +52 -28
- package/styles/components/menu.scss +8 -0
- package/styles/components/number-input.scss +29 -23
- package/styles/components/password-input.scss +29 -173
- package/styles/components/radio-button.scss +6 -0
- package/styles/components/radio.scss +12 -0
- package/styles/components/select.scss +8 -0
- package/styles/components/switch.scss +37 -22
- package/styles/components/tag.scss +21 -21
- package/styles/components/tree.scss +3 -1
- package/styles/components/upload.scss +8 -0
- package/styles/theme/base.scss +47 -0
- package/types/components/checkbox-group.d.ts +2 -0
- package/types/components/modal.d.ts +2 -2
- package/types/components/tree.d.ts +7 -0
- /package/es/icon/{iconfont.1783923648005.ttf → iconfont.1783944544969.ttf} +0 -0
- /package/es/icon/{iconfont.1783923648005.woff → iconfont.1783944544969.woff} +0 -0
- /package/es/icon/{iconfont.1783923648005.woff2 → iconfont.1783944544969.woff2} +0 -0
- /package/es/{iconfont.1783923648005.ttf → iconfont.1783944544969.ttf} +0 -0
- /package/es/{iconfont.1783923648005.woff → iconfont.1783944544969.woff} +0 -0
- /package/es/{iconfont.1783923648005.woff2 → iconfont.1783944544969.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1783923648005.ttf → iconfont.1783944544969.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1783923648005.woff → iconfont.1783944544969.woff} +0 -0
- /package/lib/icon/style/{iconfont.1783923648005.woff2 → iconfont.1783944544969.woff2} +0 -0
- /package/lib/{iconfont.1783923648005.ttf → iconfont.1783944544969.ttf} +0 -0
- /package/lib/{iconfont.1783923648005.woff → iconfont.1783944544969.woff} +0 -0
- /package/lib/{iconfont.1783923648005.woff2 → iconfont.1783944544969.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -11680,7 +11680,7 @@ var es_regexp_exec = __webpack_require__(7495);
|
|
|
11680
11680
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.string.match.js
|
|
11681
11681
|
var es_string_match = __webpack_require__(1761);
|
|
11682
11682
|
;// ./node_modules/@vxe-ui/core/es/src/core.js
|
|
11683
|
-
var coreVersion = "3.4.
|
|
11683
|
+
var coreVersion = "3.4.17";
|
|
11684
11684
|
var VxeCore = {
|
|
11685
11685
|
coreVersion: coreVersion,
|
|
11686
11686
|
uiVersion: '',
|
|
@@ -12440,7 +12440,7 @@ function createLog(type, name) {
|
|
|
12440
12440
|
return msg;
|
|
12441
12441
|
};
|
|
12442
12442
|
}
|
|
12443
|
-
var version = "3.4.
|
|
12443
|
+
var version = "3.4.17";
|
|
12444
12444
|
var log = {
|
|
12445
12445
|
create: createLog,
|
|
12446
12446
|
warn: createLog('warn', "v".concat(version)),
|
|
@@ -13256,7 +13256,7 @@ var es_array_join = __webpack_require__(8598);
|
|
|
13256
13256
|
|
|
13257
13257
|
|
|
13258
13258
|
var log_log = VxeUI.log;
|
|
13259
|
-
var uiVersion = "ui v".concat("3.16.
|
|
13259
|
+
var uiVersion = "ui v".concat("3.16.10");
|
|
13260
13260
|
function createComponentLog(name) {
|
|
13261
13261
|
var tableVersion = VxeUI.tableVersion ? "table v".concat(VxeUI.tableVersion) : '';
|
|
13262
13262
|
var ganttVersion = VxeUI.ganttVersion ? "gantt v".concat(VxeUI.ganttVersion) : '';
|
|
@@ -13274,7 +13274,7 @@ var errLog = log_log.create('error', uiVersion);
|
|
|
13274
13274
|
|
|
13275
13275
|
|
|
13276
13276
|
|
|
13277
|
-
var ui_version = "3.16.
|
|
13277
|
+
var ui_version = "3.16.10";
|
|
13278
13278
|
VxeUI.uiVersion = ui_version;
|
|
13279
13279
|
VxeUI.dynamicApp = dynamicApp;
|
|
13280
13280
|
function config(options) {
|
|
@@ -29736,6 +29736,7 @@ var CheckboxButton = VxeCheckboxButton;
|
|
|
29736
29736
|
|
|
29737
29737
|
|
|
29738
29738
|
|
|
29739
|
+
|
|
29739
29740
|
function group_createReactData() {
|
|
29740
29741
|
return {};
|
|
29741
29742
|
}
|
|
@@ -29755,6 +29756,7 @@ function group_createInternalData() {
|
|
|
29755
29756
|
type: Boolean,
|
|
29756
29757
|
default: null
|
|
29757
29758
|
},
|
|
29759
|
+
type: String,
|
|
29758
29760
|
disabled: {
|
|
29759
29761
|
type: Boolean,
|
|
29760
29762
|
default: null
|
|
@@ -29964,7 +29966,8 @@ function group_createInternalData() {
|
|
|
29964
29966
|
var props = $xeCheckboxGroup;
|
|
29965
29967
|
var slots = $xeCheckboxGroup.$scopedSlots;
|
|
29966
29968
|
var status = props.status,
|
|
29967
|
-
options = props.options
|
|
29969
|
+
options = props.options,
|
|
29970
|
+
type = props.type;
|
|
29968
29971
|
var defaultSlot = slots.default;
|
|
29969
29972
|
var valueField = $xeCheckboxGroup.computeValueField;
|
|
29970
29973
|
var labelField = $xeCheckboxGroup.computeLabelField;
|
|
@@ -29973,10 +29976,11 @@ function group_createInternalData() {
|
|
|
29973
29976
|
var titleField = $xeCheckboxGroup.computeTitleField;
|
|
29974
29977
|
var isReadonly = $xeCheckboxGroup.computeIsReadonly;
|
|
29975
29978
|
var isDisabled = $xeCheckboxGroup.computeIsDisabled;
|
|
29979
|
+
var btnComp = type === 'button' ? checkbox_button : packages_checkbox;
|
|
29976
29980
|
return h('div', {
|
|
29977
|
-
class: ['vxe-checkbox-group', _defineProperty(_defineProperty(_defineProperty({}, "theme--".concat(status), status), 'is--readonly', isReadonly), 'is--disabled', isDisabled)]
|
|
29981
|
+
class: ['vxe-checkbox-group', "type--".concat(type === 'button' ? type : ''), _defineProperty(_defineProperty(_defineProperty({}, "theme--".concat(status), status), 'is--readonly', isReadonly), 'is--disabled', isDisabled)]
|
|
29978
29982
|
}, defaultSlot ? defaultSlot({}) : options ? options.map(function (item) {
|
|
29979
|
-
return h(
|
|
29983
|
+
return h(btnComp, {
|
|
29980
29984
|
key: item[valueField],
|
|
29981
29985
|
props: {
|
|
29982
29986
|
checkedValue: item[valueField],
|
|
@@ -48450,12 +48454,12 @@ var lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
48450
48454
|
var posTop = '';
|
|
48451
48455
|
var posLeft = '';
|
|
48452
48456
|
if (left && !leftCenter) {
|
|
48453
|
-
posLeft =
|
|
48457
|
+
posLeft = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(left) ? "".concat(left, "px") : left;
|
|
48454
48458
|
} else {
|
|
48455
48459
|
posLeft = "".concat(Math.max(marginSize, clientVisibleWidth / 2 - boxElem.offsetWidth / 2), "px");
|
|
48456
48460
|
}
|
|
48457
48461
|
if (top && !topCenter) {
|
|
48458
|
-
posTop =
|
|
48462
|
+
posTop = external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().isNumber(top) ? "".concat(top, "px") : top;
|
|
48459
48463
|
} else {
|
|
48460
48464
|
posTop = "".concat(Math.max(marginSize, clientVisibleHeight / 2 - boxElem.offsetHeight / 2), "px");
|
|
48461
48465
|
}
|
|
@@ -53575,6 +53579,7 @@ var Pager = VxePager;
|
|
|
53575
53579
|
var formItemInfo = $xePasswordInput.formItemInfo;
|
|
53576
53580
|
var inputValue = reactData.inputValue;
|
|
53577
53581
|
var value = inputValue;
|
|
53582
|
+
reactData.isActivated = false;
|
|
53578
53583
|
$xePasswordInput.dispatchEvent('blur', {
|
|
53579
53584
|
value: value
|
|
53580
53585
|
}, evnt);
|
|
@@ -55707,9 +55712,9 @@ function src_group_createInternalData() {
|
|
|
55707
55712
|
var disabledField = $xeRadioGroup.computeDisabledField;
|
|
55708
55713
|
var iconField = $xeRadioGroup.computeIconField;
|
|
55709
55714
|
var titleField = $xeRadioGroup.computeTitleField;
|
|
55710
|
-
var btnComp = type === 'button' ?
|
|
55715
|
+
var btnComp = type === 'button' ? radio_button : packages_radio;
|
|
55711
55716
|
return h('div', {
|
|
55712
|
-
class: ['vxe-radio-group', _defineProperty(_defineProperty({}, "theme--".concat(status), status), "size--".concat(vSize), vSize)]
|
|
55717
|
+
class: ['vxe-radio-group', "type--".concat(type === 'button' ? type : ''), _defineProperty(_defineProperty({}, "theme--".concat(status), status), "size--".concat(vSize), vSize)]
|
|
55713
55718
|
}, defaultSlot ? defaultSlot({}) : options ? options.map(function (item) {
|
|
55714
55719
|
return h(btnComp, {
|
|
55715
55720
|
key: item[valueField],
|
|
@@ -62676,6 +62681,12 @@ function tree_createReactData() {
|
|
|
62676
62681
|
return tree_getConfig().tree.minHeight;
|
|
62677
62682
|
}
|
|
62678
62683
|
},
|
|
62684
|
+
emptyText: {
|
|
62685
|
+
type: [String, Number],
|
|
62686
|
+
default: function _default() {
|
|
62687
|
+
return tree_getConfig().tree.emptyText;
|
|
62688
|
+
}
|
|
62689
|
+
},
|
|
62679
62690
|
loading: Boolean,
|
|
62680
62691
|
loadingConfig: Object,
|
|
62681
62692
|
accordion: {
|
|
@@ -65750,14 +65761,19 @@ function tree_createReactData() {
|
|
|
65750
65761
|
renderList: function renderList(h, treeList) {
|
|
65751
65762
|
var $xeTree = this;
|
|
65752
65763
|
var props = $xeTree;
|
|
65764
|
+
var slots = $xeTree.$scopedSlots;
|
|
65753
65765
|
var internalData = $xeTree.internalData;
|
|
65754
|
-
var transform = props.transform
|
|
65766
|
+
var transform = props.transform,
|
|
65767
|
+
emptyText = props.emptyText;
|
|
65755
65768
|
var treeExpandedMaps = internalData.treeExpandedMaps;
|
|
65756
65769
|
var childrenField = $xeTree.computeChildrenField;
|
|
65770
|
+
var emptySlot = slots.empty;
|
|
65757
65771
|
if (!treeList.length) {
|
|
65758
65772
|
return [h('div', {
|
|
65759
65773
|
class: 'vxe-tree--empty-placeholder'
|
|
65760
|
-
},
|
|
65774
|
+
}, emptySlot ? emptySlot({}) : [h('div', {
|
|
65775
|
+
class: 'vxe-tree--empty-placeholder-content'
|
|
65776
|
+
}, getText(emptyText || tree_getI18n('vxe.tree.searchEmpty')))])];
|
|
65761
65777
|
}
|
|
65762
65778
|
var nodeVNs = [];
|
|
65763
65779
|
treeList.forEach(transform ? function (node) {
|