vxe-pc-ui 3.0.6 → 3.0.7
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 +35 -6
- 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 +1 -1
- 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/ui/renderer.d.ts +1 -14
- /package/es/icon/style/{iconfont.1726028460484.ttf → iconfont.1726043455850.ttf} +0 -0
- /package/es/icon/style/{iconfont.1726028460484.woff → iconfont.1726043455850.woff} +0 -0
- /package/es/icon/style/{iconfont.1726028460484.woff2 → iconfont.1726043455850.woff2} +0 -0
- /package/es/{iconfont.1726028460484.ttf → iconfont.1726043455850.ttf} +0 -0
- /package/es/{iconfont.1726028460484.woff → iconfont.1726043455850.woff} +0 -0
- /package/es/{iconfont.1726028460484.woff2 → iconfont.1726043455850.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1726028460484.ttf → iconfont.1726043455850.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1726028460484.woff → iconfont.1726043455850.woff} +0 -0
- /package/lib/icon/style/{iconfont.1726028460484.woff2 → iconfont.1726043455850.woff2} +0 -0
- /package/lib/{iconfont.1726028460484.ttf → iconfont.1726043455850.ttf} +0 -0
- /package/lib/{iconfont.1726028460484.woff → iconfont.1726043455850.woff} +0 -0
- /package/lib/{iconfont.1726028460484.woff2 → iconfont.1726043455850.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -12573,7 +12573,7 @@ function handleBooleanDefaultValue(value) {
|
|
|
12573
12573
|
}
|
|
12574
12574
|
;// CONCATENATED MODULE: ./packages/ui/src/log.ts
|
|
12575
12575
|
|
|
12576
|
-
var log_version = "ui v".concat("3.0.
|
|
12576
|
+
var log_version = "ui v".concat("3.0.7");
|
|
12577
12577
|
var warnLog = log.create('warn', log_version);
|
|
12578
12578
|
var errLog = log.create('error', log_version);
|
|
12579
12579
|
;// CONCATENATED MODULE: ./packages/ui/index.ts
|
|
@@ -12581,7 +12581,7 @@ var errLog = log.create('error', log_version);
|
|
|
12581
12581
|
|
|
12582
12582
|
|
|
12583
12583
|
|
|
12584
|
-
var ui_version = "3.0.
|
|
12584
|
+
var ui_version = "3.0.7";
|
|
12585
12585
|
core_VxeUI.version = ui_version;
|
|
12586
12586
|
core_VxeUI.uiVersion = ui_version;
|
|
12587
12587
|
core_VxeUI.tableVersion = '';
|
|
@@ -20988,7 +20988,11 @@ var allActiveDrawers = [];
|
|
|
20988
20988
|
if (lastDrawer) {
|
|
20989
20989
|
setTimeout(function () {
|
|
20990
20990
|
if (lastDrawer === $xeDrawer && lastDrawer.escClosable) {
|
|
20991
|
-
|
|
20991
|
+
var type = 'exit';
|
|
20992
|
+
$xeDrawer.dispatchEvent('close', {
|
|
20993
|
+
type: type
|
|
20994
|
+
}, evnt);
|
|
20995
|
+
$xeDrawer.closeDrawer(type);
|
|
20992
20996
|
}
|
|
20993
20997
|
}, 10);
|
|
20994
20998
|
}
|
|
@@ -21098,7 +21102,8 @@ var allActiveDrawers = [];
|
|
|
21098
21102
|
var _props$slots4 = props.slots,
|
|
21099
21103
|
propSlots = _props$slots4 === void 0 ? {} : _props$slots4,
|
|
21100
21104
|
showCancelButton = props.showCancelButton,
|
|
21101
|
-
showConfirmButton = props.showConfirmButton
|
|
21105
|
+
showConfirmButton = props.showConfirmButton,
|
|
21106
|
+
loading = props.loading;
|
|
21102
21107
|
var lfSlot = slots.leftfoot || propSlots.leftfoot;
|
|
21103
21108
|
var rfSlot = slots.rightfoot || propSlots.rightfoot;
|
|
21104
21109
|
var btnVNs = [];
|
|
@@ -21120,6 +21125,7 @@ var allActiveDrawers = [];
|
|
|
21120
21125
|
ref: 'refConfirmBtn',
|
|
21121
21126
|
props: {
|
|
21122
21127
|
status: 'primary',
|
|
21128
|
+
loading: loading,
|
|
21123
21129
|
content: props.confirmButtonText || getI18n('vxe.button.confirm')
|
|
21124
21130
|
},
|
|
21125
21131
|
on: {
|
|
@@ -29258,6 +29264,10 @@ var es_string_link = __webpack_require__(778);
|
|
|
29258
29264
|
$link: $xeLink
|
|
29259
29265
|
}, params));
|
|
29260
29266
|
},
|
|
29267
|
+
clickEvent: function clickEvent(evnt) {
|
|
29268
|
+
var $xeLink = this;
|
|
29269
|
+
$xeLink.dispatchEvent('click', {}, evnt);
|
|
29270
|
+
},
|
|
29261
29271
|
//
|
|
29262
29272
|
// Render
|
|
29263
29273
|
//
|
|
@@ -29299,6 +29309,9 @@ var es_string_link = __webpack_require__(778);
|
|
|
29299
29309
|
title: title,
|
|
29300
29310
|
target: target,
|
|
29301
29311
|
to: routerLink
|
|
29312
|
+
},
|
|
29313
|
+
on: {
|
|
29314
|
+
click: $xeLink.clickEvent
|
|
29302
29315
|
}
|
|
29303
29316
|
}, $xeLink.renderContent(h));
|
|
29304
29317
|
}
|
|
@@ -29309,6 +29322,9 @@ var es_string_link = __webpack_require__(778);
|
|
|
29309
29322
|
href: href,
|
|
29310
29323
|
target: target,
|
|
29311
29324
|
title: title
|
|
29325
|
+
},
|
|
29326
|
+
on: {
|
|
29327
|
+
click: $xeLink.clickEvent
|
|
29312
29328
|
}
|
|
29313
29329
|
}, $xeLink.renderContent(h));
|
|
29314
29330
|
}
|
|
@@ -31044,7 +31060,11 @@ var lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
31044
31060
|
if (lastModal) {
|
|
31045
31061
|
setTimeout(function () {
|
|
31046
31062
|
if (lastModal === $xeModal && lastModal.escClosable) {
|
|
31047
|
-
|
|
31063
|
+
var type = 'exit';
|
|
31064
|
+
$xeModal.dispatchEvent('close', {
|
|
31065
|
+
type: type
|
|
31066
|
+
}, evnt);
|
|
31067
|
+
$xeModal.closeModal(type);
|
|
31048
31068
|
}
|
|
31049
31069
|
}, 10);
|
|
31050
31070
|
}
|
|
@@ -31497,7 +31517,8 @@ var lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
31497
31517
|
propSlots = _props$slots4 === void 0 ? {} : _props$slots4,
|
|
31498
31518
|
showCancelButton = props.showCancelButton,
|
|
31499
31519
|
showConfirmButton = props.showConfirmButton,
|
|
31500
|
-
type = props.type
|
|
31520
|
+
type = props.type,
|
|
31521
|
+
loading = props.loading;
|
|
31501
31522
|
var lfSlot = slots.leftfoot || propSlots.leftfoot;
|
|
31502
31523
|
var rfSlot = slots.rightfoot || propSlots.rightfoot;
|
|
31503
31524
|
var btnVNs = [];
|
|
@@ -31519,6 +31540,7 @@ var lockScrollCssWidthKey = '--vxe-ui-modal-lock-scroll-view-width';
|
|
|
31519
31540
|
ref: 'refConfirmBtn',
|
|
31520
31541
|
props: {
|
|
31521
31542
|
status: 'primary',
|
|
31543
|
+
loading: loading,
|
|
31522
31544
|
content: props.confirmButtonText || getI18n('vxe.button.confirm')
|
|
31523
31545
|
},
|
|
31524
31546
|
on: {
|
|
@@ -38304,6 +38326,10 @@ var Tabs = VxeTabs;
|
|
|
38304
38326
|
$tag: $xeTag
|
|
38305
38327
|
}, params));
|
|
38306
38328
|
},
|
|
38329
|
+
clickEvent: function clickEvent(evnt) {
|
|
38330
|
+
var $xeTag = this;
|
|
38331
|
+
$xeTag.dispatchEvent('click', {}, evnt);
|
|
38332
|
+
},
|
|
38307
38333
|
//
|
|
38308
38334
|
// Render
|
|
38309
38335
|
//
|
|
@@ -38334,6 +38360,9 @@ var Tabs = VxeTabs;
|
|
|
38334
38360
|
class: ['vxe-tag', _defineProperty(_defineProperty({}, "size--".concat(vSize), vSize), "theme--".concat(status), status)],
|
|
38335
38361
|
attrs: {
|
|
38336
38362
|
title: title
|
|
38363
|
+
},
|
|
38364
|
+
on: {
|
|
38365
|
+
click: $xeTag.clickEvent
|
|
38337
38366
|
}
|
|
38338
38367
|
}, $xeTag.renderContent(h));
|
|
38339
38368
|
}
|