vxe-pc-ui 3.0.6 → 3.0.8
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/drawer/src/drawer.js +5 -2
- package/es/icon/style.css +1 -1
- package/es/link/src/link.js +10 -0
- package/es/modal/src/modal.js +5 -2
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/tag/src/tag.js +7 -0
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/helper/vetur/attributes.json +1 -1
- package/helper/vetur/tags.json +1 -1
- package/lib/drawer/src/drawer.js +8 -2
- package/lib/drawer/src/drawer.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 +37 -16
- package/lib/index.umd.min.js +1 -1
- package/lib/link/src/link.js +10 -0
- package/lib/link/src/link.min.js +1 -1
- package/lib/modal/src/modal.js +8 -2
- package/lib/modal/src/modal.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/tag/src/tag.js +7 -0
- package/lib/tag/src/tag.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/package.json +2 -2
- package/packages/drawer/src/drawer.ts +5 -2
- package/packages/link/src/link.ts +12 -0
- package/packages/modal/src/modal.ts +5 -2
- package/packages/tag/src/tag.ts +9 -0
- package/types/components/form.d.ts +3 -3
- package/types/components/layout-header.d.ts +1 -1
- package/types/components/table-plugins/extend-cell-area.d.ts +4 -4
- package/types/components/tree.d.ts +3 -3
- package/types/ui/index.d.ts +0 -7
- package/types/ui/renderer.d.ts +1 -14
- /package/es/icon/style/{iconfont.1726028460484.ttf → iconfont.1726045329368.ttf} +0 -0
- /package/es/icon/style/{iconfont.1726028460484.woff → iconfont.1726045329368.woff} +0 -0
- /package/es/icon/style/{iconfont.1726028460484.woff2 → iconfont.1726045329368.woff2} +0 -0
- /package/es/{iconfont.1726028460484.ttf → iconfont.1726045329368.ttf} +0 -0
- /package/es/{iconfont.1726028460484.woff → iconfont.1726045329368.woff} +0 -0
- /package/es/{iconfont.1726028460484.woff2 → iconfont.1726045329368.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1726028460484.ttf → iconfont.1726045329368.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1726028460484.woff → iconfont.1726045329368.woff} +0 -0
- /package/lib/icon/style/{iconfont.1726028460484.woff2 → iconfont.1726045329368.woff2} +0 -0
- /package/lib/{iconfont.1726028460484.ttf → iconfont.1726045329368.ttf} +0 -0
- /package/lib/{iconfont.1726028460484.woff → iconfont.1726045329368.woff} +0 -0
- /package/lib/{iconfont.1726028460484.woff2 → iconfont.1726045329368.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -10322,7 +10322,6 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
10322
10322
|
globalStore: function() { return /* reexport */ globalStore; },
|
|
10323
10323
|
handleCheckInfo: function() { return /* reexport */ handleCheckInfo; },
|
|
10324
10324
|
hasLanguage: function() { return /* reexport */ hasLanguage; },
|
|
10325
|
-
hooks: function() { return /* reexport */ hooks; },
|
|
10326
10325
|
install: function() { return /* reexport */ install; },
|
|
10327
10326
|
interceptor: function() { return /* reexport */ interceptor; },
|
|
10328
10327
|
loading: function() { return /* reexport */ loading; },
|
|
@@ -10502,7 +10501,6 @@ __webpack_require__.d(components_namespaceObject, {
|
|
|
10502
10501
|
globalStore: function() { return globalStore; },
|
|
10503
10502
|
handleCheckInfo: function() { return handleCheckInfo; },
|
|
10504
10503
|
hasLanguage: function() { return hasLanguage; },
|
|
10505
|
-
hooks: function() { return hooks; },
|
|
10506
10504
|
install: function() { return install; },
|
|
10507
10505
|
interceptor: function() { return interceptor; },
|
|
10508
10506
|
loading: function() { return loading; },
|
|
@@ -11099,7 +11097,7 @@ function createLog(type, name) {
|
|
|
11099
11097
|
return msg;
|
|
11100
11098
|
};
|
|
11101
11099
|
}
|
|
11102
|
-
var version = "3.0.
|
|
11100
|
+
var version = "3.0.5";
|
|
11103
11101
|
var log = {
|
|
11104
11102
|
create: createLog,
|
|
11105
11103
|
warn: createLog('warn', "v".concat(version)),
|
|
@@ -11598,9 +11596,6 @@ var permission = {
|
|
|
11598
11596
|
return permissionInfo.disabled;
|
|
11599
11597
|
}
|
|
11600
11598
|
};
|
|
11601
|
-
;// CONCATENATED MODULE: ./node_modules/@vxe-ui/core/es/src/hooks.js
|
|
11602
|
-
|
|
11603
|
-
var hooks = new store();
|
|
11604
11599
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
11605
11600
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(9274);
|
|
11606
11601
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
@@ -11661,7 +11656,6 @@ var globalMixins = {
|
|
|
11661
11656
|
|
|
11662
11657
|
|
|
11663
11658
|
|
|
11664
|
-
|
|
11665
11659
|
|
|
11666
11660
|
|
|
11667
11661
|
function setTheme(name) {
|
|
@@ -11716,7 +11710,7 @@ function setIcon(options) {
|
|
|
11716
11710
|
function getIcon(key) {
|
|
11717
11711
|
return arguments.length ? external_root_XEUtils_commonjs_xe_utils_commonjs2_xe_utils_amd_xe_utils_default().get(iconConfigStore, key) : iconConfigStore;
|
|
11718
11712
|
}
|
|
11719
|
-
var coreVersion = "3.0.
|
|
11713
|
+
var coreVersion = "3.0.5";
|
|
11720
11714
|
var installedPlugins = [];
|
|
11721
11715
|
function use(Plugin, options) {
|
|
11722
11716
|
if (Plugin && Plugin.install) {
|
|
@@ -11768,7 +11762,6 @@ var core_VxeUI = {
|
|
|
11768
11762
|
log: log,
|
|
11769
11763
|
permission: permission,
|
|
11770
11764
|
globalStore: globalStore,
|
|
11771
|
-
hooks: hooks,
|
|
11772
11765
|
component: component,
|
|
11773
11766
|
getComponent: getComponent,
|
|
11774
11767
|
globalMixins: globalMixins,
|
|
@@ -11789,7 +11782,6 @@ setTheme();
|
|
|
11789
11782
|
|
|
11790
11783
|
|
|
11791
11784
|
|
|
11792
|
-
|
|
11793
11785
|
/* harmony default export */ var core = ((/* unused pure expression or super */ null && (core_VxeUI)));
|
|
11794
11786
|
;// CONCATENATED MODULE: ./node_modules/@vxe-ui/core/es/index.esm.js
|
|
11795
11787
|
|
|
@@ -12573,7 +12565,7 @@ function handleBooleanDefaultValue(value) {
|
|
|
12573
12565
|
}
|
|
12574
12566
|
;// CONCATENATED MODULE: ./packages/ui/src/log.ts
|
|
12575
12567
|
|
|
12576
|
-
var log_version = "ui v".concat("3.0.
|
|
12568
|
+
var log_version = "ui v".concat("3.0.8");
|
|
12577
12569
|
var warnLog = log.create('warn', log_version);
|
|
12578
12570
|
var errLog = log.create('error', log_version);
|
|
12579
12571
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
@@ -12581,7 +12573,7 @@ var errLog = log.create('error', log_version);
|
|
|
12581
12573
|
|
|
12582
12574
|
|
|
12583
12575
|
|
|
12584
|
-
var ui_version = "3.0.
|
|
12576
|
+
var ui_version = "3.0.8";
|
|
12585
12577
|
core_VxeUI.version = ui_version;
|
|
12586
12578
|
core_VxeUI.uiVersion = ui_version;
|
|
12587
12579
|
core_VxeUI.tableVersion = '';
|
|
@@ -20988,7 +20980,11 @@ var allActiveDrawers = [];
|
|
|
20988
20980
|
if (lastDrawer) {
|
|
20989
20981
|
setTimeout(function () {
|
|
20990
20982
|
if (lastDrawer === $xeDrawer && lastDrawer.escClosable) {
|
|
20991
|
-
|
|
20983
|
+
var type = 'exit';
|
|
20984
|
+
$xeDrawer.dispatchEvent('close', {
|
|
20985
|
+
type: type
|
|
20986
|
+
}, evnt);
|
|
20987
|
+
$xeDrawer.closeDrawer(type);
|
|
20992
20988
|
}
|
|
20993
20989
|
}, 10);
|
|
20994
20990
|
}
|
|
@@ -21098,7 +21094,8 @@ var allActiveDrawers = [];
|
|
|
21098
21094
|
var _props$slots4 = props.slots,
|
|
21099
21095
|
propSlots = _props$slots4 === void 0 ? {} : _props$slots4,
|
|
21100
21096
|
showCancelButton = props.showCancelButton,
|
|
21101
|
-
showConfirmButton = props.showConfirmButton
|
|
21097
|
+
showConfirmButton = props.showConfirmButton,
|
|
21098
|
+
loading = props.loading;
|
|
21102
21099
|
var lfSlot = slots.leftfoot || propSlots.leftfoot;
|
|
21103
21100
|
var rfSlot = slots.rightfoot || propSlots.rightfoot;
|
|
21104
21101
|
var btnVNs = [];
|
|
@@ -21120,6 +21117,7 @@ var allActiveDrawers = [];
|
|
|
21120
21117
|
ref: 'refConfirmBtn',
|
|
21121
21118
|
props: {
|
|
21122
21119
|
status: 'primary',
|
|
21120
|
+
loading: loading,
|
|
21123
21121
|
content: props.confirmButtonText || getI18n('vxe.button.confirm')
|
|
21124
21122
|
},
|
|
21125
21123
|
on: {
|
|
@@ -29258,6 +29256,10 @@ var es_string_link = __webpack_require__(778);
|
|
|
29258
29256
|
$link: $xeLink
|
|
29259
29257
|
}, params));
|
|
29260
29258
|
},
|
|
29259
|
+
clickEvent: function clickEvent(evnt) {
|
|
29260
|
+
var $xeLink = this;
|
|
29261
|
+
$xeLink.dispatchEvent('click', {}, evnt);
|
|
29262
|
+
},
|
|
29261
29263
|
//
|
|
29262
29264
|
// Render
|
|
29263
29265
|
//
|
|
@@ -29299,6 +29301,9 @@ var es_string_link = __webpack_require__(778);
|
|
|
29299
29301
|
title: title,
|
|
29300
29302
|
target: target,
|
|
29301
29303
|
to: routerLink
|
|
29304
|
+
},
|
|
29305
|
+
on: {
|
|
29306
|
+
click: $xeLink.clickEvent
|
|
29302
29307
|
}
|
|
29303
29308
|
}, $xeLink.renderContent(h));
|
|
29304
29309
|
}
|
|
@@ -29309,6 +29314,9 @@ var es_string_link = __webpack_require__(778);
|
|
|
29309
29314
|
href: href,
|
|
29310
29315
|
target: target,
|
|
29311
29316
|
title: title
|
|
29317
|
+
},
|
|
29318
|
+
on: {
|
|
29319
|
+
click: $xeLink.clickEvent
|
|
29312
29320
|
}
|
|
29313
29321
|
}, $xeLink.renderContent(h));
|
|
29314
29322
|
}
|
|
@@ -31044,7 +31052,11 @@ var lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
31044
31052
|
if (lastModal) {
|
|
31045
31053
|
setTimeout(function () {
|
|
31046
31054
|
if (lastModal === $xeModal && lastModal.escClosable) {
|
|
31047
|
-
|
|
31055
|
+
var type = 'exit';
|
|
31056
|
+
$xeModal.dispatchEvent('close', {
|
|
31057
|
+
type: type
|
|
31058
|
+
}, evnt);
|
|
31059
|
+
$xeModal.closeModal(type);
|
|
31048
31060
|
}
|
|
31049
31061
|
}, 10);
|
|
31050
31062
|
}
|
|
@@ -31497,7 +31509,8 @@ var lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
31497
31509
|
propSlots = _props$slots4 === void 0 ? {} : _props$slots4,
|
|
31498
31510
|
showCancelButton = props.showCancelButton,
|
|
31499
31511
|
showConfirmButton = props.showConfirmButton,
|
|
31500
|
-
type = props.type
|
|
31512
|
+
type = props.type,
|
|
31513
|
+
loading = props.loading;
|
|
31501
31514
|
var lfSlot = slots.leftfoot || propSlots.leftfoot;
|
|
31502
31515
|
var rfSlot = slots.rightfoot || propSlots.rightfoot;
|
|
31503
31516
|
var btnVNs = [];
|
|
@@ -31519,6 +31532,7 @@ var lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
31519
31532
|
ref: 'refConfirmBtn',
|
|
31520
31533
|
props: {
|
|
31521
31534
|
status: 'primary',
|
|
31535
|
+
loading: loading,
|
|
31522
31536
|
content: props.confirmButtonText || getI18n('vxe.button.confirm')
|
|
31523
31537
|
},
|
|
31524
31538
|
on: {
|
|
@@ -38304,6 +38318,10 @@ var Tabs = VxeTabs;
|
|
|
38304
38318
|
$tag: $xeTag
|
|
38305
38319
|
}, params));
|
|
38306
38320
|
},
|
|
38321
|
+
clickEvent: function clickEvent(evnt) {
|
|
38322
|
+
var $xeTag = this;
|
|
38323
|
+
$xeTag.dispatchEvent('click', {}, evnt);
|
|
38324
|
+
},
|
|
38307
38325
|
//
|
|
38308
38326
|
// Render
|
|
38309
38327
|
//
|
|
@@ -38334,6 +38352,9 @@ var Tabs = VxeTabs;
|
|
|
38334
38352
|
class: ['vxe-tag', _defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), "theme--".concat(status), status)],
|
|
38335
38353
|
attrs: {
|
|
38336
38354
|
title: title
|
|
38355
|
+
},
|
|
38356
|
+
on: {
|
|
38357
|
+
click: $xeTag.clickEvent
|
|
38337
38358
|
}
|
|
38338
38359
|
}, $xeTag.renderContent(h));
|
|
38339
38360
|
}
|