vxe-pc-ui 4.20.24 → 4.20.25
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/dist/all.esm.js +104 -70
- package/dist/style.css +1 -1
- package/dist/style.mini.css +1 -1
- package/es/icon/style.css +1 -1
- package/es/icon/style.mini.css +1 -1
- package/es/index.d.ts +3 -0
- package/es/index.esm.js +11 -0
- package/es/index.js +11 -0
- package/es/space/src/space.js +3 -3
- package/es/style.css +1 -1
- package/es/style.mini.css +1 -1
- package/es/switch/src/switch.js +32 -9
- package/es/ui/index.js +1 -1
- package/es/ui/src/log.js +1 -1
- package/es/vxe-icon/style.css +1 -1
- package/es/vxe-icon/style.mini.css +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.mini.css +1 -1
- package/lib/index.common.js +11 -0
- package/lib/index.js +11 -0
- package/lib/index.umd.js +84 -50
- package/lib/index.umd.min.js +3 -3
- package/lib/space/src/space.js +3 -3
- package/lib/style.css +1 -1
- package/lib/style.mini.css +1 -1
- package/lib/switch/src/switch.js +31 -8
- package/lib/ui/index.js +1 -1
- package/lib/ui/src/log.js +1 -1
- package/lib/vxe-icon/style/style.css +1 -1
- package/lib/vxe-icon/style/style.mini.css +1 -1
- package/package.json +3 -3
- package/packages/index.ts +17 -0
- package/packages/space/src/space.ts +3 -3
- package/packages/switch/src/switch.ts +36 -10
- package/types/components/switch.d.ts +1 -1
- /package/dist/{iconfont.1792979107495.ttf → iconfont.1792992046297.ttf} +0 -0
- /package/dist/{iconfont.1792979107495.woff → iconfont.1792992046297.woff} +0 -0
- /package/dist/{iconfont.1792979107495.woff2 → iconfont.1792992046297.woff2} +0 -0
- /package/es/icon/{iconfont.1792979107495.ttf → iconfont.1792992046297.ttf} +0 -0
- /package/es/icon/{iconfont.1792979107495.woff → iconfont.1792992046297.woff} +0 -0
- /package/es/icon/{iconfont.1792979107495.woff2 → iconfont.1792992046297.woff2} +0 -0
- /package/es/{iconfont.1792979107495.ttf → iconfont.1792992046297.ttf} +0 -0
- /package/es/{iconfont.1792979107495.woff → iconfont.1792992046297.woff} +0 -0
- /package/es/{iconfont.1792979107495.woff2 → iconfont.1792992046297.woff2} +0 -0
- /package/es/vxe-icon/{iconfont.1792979107495.ttf → iconfont.1792992046297.ttf} +0 -0
- /package/es/vxe-icon/{iconfont.1792979107495.woff → iconfont.1792992046297.woff} +0 -0
- /package/es/vxe-icon/{iconfont.1792979107495.woff2 → iconfont.1792992046297.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1792979107495.ttf → iconfont.1792992046297.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1792979107495.woff → iconfont.1792992046297.woff} +0 -0
- /package/lib/icon/style/{iconfont.1792979107495.woff2 → iconfont.1792992046297.woff2} +0 -0
- /package/lib/{iconfont.1792979107495.ttf → iconfont.1792992046297.ttf} +0 -0
- /package/lib/{iconfont.1792979107495.woff → iconfont.1792992046297.woff} +0 -0
- /package/lib/{iconfont.1792979107495.woff2 → iconfont.1792992046297.woff2} +0 -0
- /package/lib/vxe-icon/style/{iconfont.1792979107495.ttf → iconfont.1792992046297.ttf} +0 -0
- /package/lib/vxe-icon/style/{iconfont.1792979107495.woff → iconfont.1792992046297.woff} +0 -0
- /package/lib/vxe-icon/style/{iconfont.1792979107495.woff2 → iconfont.1792992046297.woff2} +0 -0
package/dist/all.esm.js
CHANGED
|
@@ -541,7 +541,7 @@ function checkDynamic() {
|
|
|
541
541
|
// packages_temp/ui/src/log.ts
|
|
542
542
|
import { VxeUI as VxeUI2 } from "@vxe-ui/core";
|
|
543
543
|
var { log } = VxeUI2;
|
|
544
|
-
var uiVersion = `ui v${"4.20.
|
|
544
|
+
var uiVersion = `ui v${"4.20.25"}`;
|
|
545
545
|
function createComponentLog(name) {
|
|
546
546
|
const tableVersion = VxeUI2.tableVersion ? `table v${VxeUI2.tableVersion}` : "";
|
|
547
547
|
const ganttVersion = VxeUI2.ganttVersion ? `gantt v${VxeUI2.ganttVersion}` : "";
|
|
@@ -558,7 +558,7 @@ var errLog = log.create("error", uiVersion);
|
|
|
558
558
|
// packages_temp/ui/index.ts
|
|
559
559
|
__reExport(ui_exports, core_star);
|
|
560
560
|
import * as core_star from "@vxe-ui/core";
|
|
561
|
-
var version = "4.20.
|
|
561
|
+
var version = "4.20.25";
|
|
562
562
|
VxeUI3.uiVersion = version;
|
|
563
563
|
VxeUI3.dynamicApp = dynamicApp;
|
|
564
564
|
function config(options) {
|
|
@@ -40384,8 +40384,8 @@ var space_default = defineVxeComponent({
|
|
|
40384
40384
|
rowGap = gap[0];
|
|
40385
40385
|
columGap = gap[1];
|
|
40386
40386
|
} else {
|
|
40387
|
-
rowGap = gap.rowGap
|
|
40388
|
-
columGap = gap.columGap
|
|
40387
|
+
rowGap = XEUtils94.eqNull(gap.rowGap) ? "" : gap.rowGap;
|
|
40388
|
+
columGap = XEUtils94.eqNull(gap.columGap) ? "" : gap.columGap;
|
|
40389
40389
|
}
|
|
40390
40390
|
}
|
|
40391
40391
|
if (width) {
|
|
@@ -40426,7 +40426,7 @@ var space_default = defineVxeComponent({
|
|
|
40426
40426
|
const separatorSlot = slots.separator;
|
|
40427
40427
|
const srStys = {};
|
|
40428
40428
|
if (separatorWidth) {
|
|
40429
|
-
srStys.width = toCssUnit(
|
|
40429
|
+
srStys.width = toCssUnit(separatorWidth);
|
|
40430
40430
|
}
|
|
40431
40431
|
const itemStys = {};
|
|
40432
40432
|
if (itemWidth) {
|
|
@@ -40559,8 +40559,20 @@ var steps_default2 = VxeSteps;
|
|
|
40559
40559
|
import { VxeUI as VxeUI101 } from "@vxe-ui/core";
|
|
40560
40560
|
|
|
40561
40561
|
// packages_temp/switch/src/switch.ts
|
|
40562
|
-
import { h as h80, ref as ref66, computed as computed55, reactive as reactive72, nextTick as nextTick30, inject as inject39 } from "vue";
|
|
40562
|
+
import { h as h80, ref as ref66, computed as computed55, reactive as reactive72, nextTick as nextTick30, inject as inject39, onUnmounted as onUnmounted27, onBeforeUnmount as onBeforeUnmount18 } from "vue";
|
|
40563
40563
|
import XEUtils96 from "xe-utils";
|
|
40564
|
+
function createReactData21() {
|
|
40565
|
+
return {
|
|
40566
|
+
isActivated: false,
|
|
40567
|
+
hasAnimat: false,
|
|
40568
|
+
offsetLeft: 0
|
|
40569
|
+
};
|
|
40570
|
+
}
|
|
40571
|
+
function createInternalData20() {
|
|
40572
|
+
return {
|
|
40573
|
+
// atTimeout: undefined
|
|
40574
|
+
};
|
|
40575
|
+
}
|
|
40564
40576
|
var switch_default = defineVxeComponent({
|
|
40565
40577
|
name: "VxeSwitch",
|
|
40566
40578
|
props: {
|
|
@@ -40604,12 +40616,8 @@ var switch_default = defineVxeComponent({
|
|
|
40604
40616
|
const formItemInfo = inject39("xeFormItemInfo", null);
|
|
40605
40617
|
const xID = XEUtils96.uniqueId();
|
|
40606
40618
|
const { computeSize } = (0, ui_exports.useSize)(props);
|
|
40607
|
-
const reactData = reactive72(
|
|
40608
|
-
|
|
40609
|
-
hasAnimat: false,
|
|
40610
|
-
offsetLeft: 0
|
|
40611
|
-
});
|
|
40612
|
-
const internalData = {};
|
|
40619
|
+
const reactData = reactive72(createReactData21());
|
|
40620
|
+
const internalData = createInternalData20();
|
|
40613
40621
|
const $xeSwitch = {
|
|
40614
40622
|
xID,
|
|
40615
40623
|
props,
|
|
@@ -40656,7 +40664,10 @@ var switch_default = defineVxeComponent({
|
|
|
40656
40664
|
const isReadonly = computeIsReadonly.value;
|
|
40657
40665
|
if (!(isDisabled || isReadonly)) {
|
|
40658
40666
|
const isChecked = computeIsChecked.value;
|
|
40659
|
-
|
|
40667
|
+
const { atTimeout } = internalData;
|
|
40668
|
+
if (atTimeout) {
|
|
40669
|
+
clearTimeout(atTimeout);
|
|
40670
|
+
}
|
|
40660
40671
|
const value = isChecked ? props.closeValue : props.openValue;
|
|
40661
40672
|
reactData.hasAnimat = true;
|
|
40662
40673
|
emitModel(value);
|
|
@@ -40703,6 +40714,7 @@ var switch_default = defineVxeComponent({
|
|
|
40703
40714
|
Object.assign($xeSwitch, switchMethods);
|
|
40704
40715
|
const renderVN = () => {
|
|
40705
40716
|
const { openIcon, closeIcon, openActiveIcon, closeActiveIcon } = props;
|
|
40717
|
+
const { hasAnimat, isActivated } = reactData;
|
|
40706
40718
|
const vSize = computeSize.value;
|
|
40707
40719
|
const isChecked = computeIsChecked.value;
|
|
40708
40720
|
const onShowLabel = computeOnShowLabel.value;
|
|
@@ -40720,9 +40732,10 @@ var switch_default = defineVxeComponent({
|
|
|
40720
40732
|
return h80("div", {
|
|
40721
40733
|
class: ["vxe-switch", isChecked ? "is--on" : "is--off", {
|
|
40722
40734
|
[`size--${vSize}`]: vSize,
|
|
40735
|
+
"is--active": isActivated,
|
|
40723
40736
|
"is--disabled": isDisabled,
|
|
40724
40737
|
"is--readonly": isReadonly,
|
|
40725
|
-
"is--animat":
|
|
40738
|
+
"is--animat": hasAnimat
|
|
40726
40739
|
}]
|
|
40727
40740
|
}, [
|
|
40728
40741
|
h80("button", {
|
|
@@ -40760,6 +40773,16 @@ var switch_default = defineVxeComponent({
|
|
|
40760
40773
|
])
|
|
40761
40774
|
]);
|
|
40762
40775
|
};
|
|
40776
|
+
onBeforeUnmount18(() => {
|
|
40777
|
+
const { atTimeout } = internalData;
|
|
40778
|
+
if (atTimeout) {
|
|
40779
|
+
clearTimeout(atTimeout);
|
|
40780
|
+
}
|
|
40781
|
+
});
|
|
40782
|
+
onUnmounted27(() => {
|
|
40783
|
+
XEUtils96.assign(reactData, createReactData21());
|
|
40784
|
+
XEUtils96.assign(internalData, createInternalData20());
|
|
40785
|
+
});
|
|
40763
40786
|
$xeSwitch.renderVN = renderVN;
|
|
40764
40787
|
return $xeSwitch;
|
|
40765
40788
|
},
|
|
@@ -40783,7 +40806,7 @@ var switch_default2 = VxeSwitch;
|
|
|
40783
40806
|
import { VxeUI as VxeUI102 } from "@vxe-ui/core";
|
|
40784
40807
|
|
|
40785
40808
|
// packages_temp/tabs/src/tab-pane.ts
|
|
40786
|
-
import { ref as ref67, h as h81, reactive as reactive73, watch as watch41, inject as inject40, onMounted as onMounted46, onUnmounted as
|
|
40809
|
+
import { ref as ref67, h as h81, reactive as reactive73, watch as watch41, inject as inject40, onMounted as onMounted46, onUnmounted as onUnmounted28 } from "vue";
|
|
40787
40810
|
import XEUtils98 from "xe-utils";
|
|
40788
40811
|
|
|
40789
40812
|
// packages_temp/tabs/src/util.ts
|
|
@@ -40873,7 +40896,7 @@ var tab_pane_default = defineVxeComponent({
|
|
|
40873
40896
|
assembleTabItem($xeTabs, elem, tabConfig);
|
|
40874
40897
|
}
|
|
40875
40898
|
});
|
|
40876
|
-
|
|
40899
|
+
onUnmounted28(() => {
|
|
40877
40900
|
if ($xeTabs) {
|
|
40878
40901
|
destroyTabItem($xeTabs, tabConfig);
|
|
40879
40902
|
}
|
|
@@ -40906,14 +40929,14 @@ var tab_pane_default2 = VxeTabPane;
|
|
|
40906
40929
|
import { VxeUI as VxeUI104 } from "@vxe-ui/core";
|
|
40907
40930
|
|
|
40908
40931
|
// packages_temp/table-select/src/table-select.ts
|
|
40909
|
-
import { ref as ref68, h as h82, computed as computed56, inject as inject41, watch as watch42, provide as provide29, nextTick as nextTick31, Teleport as Teleport13, onMounted as onMounted47, onUnmounted as
|
|
40932
|
+
import { ref as ref68, h as h82, computed as computed56, inject as inject41, watch as watch42, provide as provide29, nextTick as nextTick31, Teleport as Teleport13, onMounted as onMounted47, onUnmounted as onUnmounted29, reactive as reactive74 } from "vue";
|
|
40910
40933
|
import XEUtils99 from "xe-utils";
|
|
40911
40934
|
var { getConfig: getConfig62, getIcon: getIcon31, globalEvents: globalEvents23, getI18n: getI18n24, createEvent: createEvent71, useFns: useFns15, renderEmptyElement: renderEmptyElement51 } = ui_exports.VxeUI;
|
|
40912
40935
|
var { errLog: errLog19 } = createComponentLog("table-select");
|
|
40913
40936
|
function getRowUniqueId() {
|
|
40914
40937
|
return XEUtils99.uniqueId("row_");
|
|
40915
40938
|
}
|
|
40916
|
-
function
|
|
40939
|
+
function createReactData22() {
|
|
40917
40940
|
return {
|
|
40918
40941
|
initialized: false,
|
|
40919
40942
|
searchValue: "",
|
|
@@ -40929,7 +40952,7 @@ function createReactData21() {
|
|
|
40929
40952
|
isActivated: false
|
|
40930
40953
|
};
|
|
40931
40954
|
}
|
|
40932
|
-
function
|
|
40955
|
+
function createInternalData21() {
|
|
40933
40956
|
return {
|
|
40934
40957
|
// hpTimeout: undefined,
|
|
40935
40958
|
// vpTimeout: undefined,
|
|
@@ -41018,8 +41041,8 @@ var table_select_default = defineVxeComponent({
|
|
|
41018
41041
|
const refOptionPanel = ref68();
|
|
41019
41042
|
const refInpSearch = ref68();
|
|
41020
41043
|
const refGrid = ref68();
|
|
41021
|
-
const reactData = reactive74(
|
|
41022
|
-
const internalData =
|
|
41044
|
+
const reactData = reactive74(createReactData22());
|
|
41045
|
+
const internalData = createInternalData21();
|
|
41023
41046
|
const refMaps = {
|
|
41024
41047
|
refElem
|
|
41025
41048
|
};
|
|
@@ -41759,13 +41782,13 @@ var table_select_default = defineVxeComponent({
|
|
|
41759
41782
|
globalEvents23.on($xeTableSelect, "resize", handleGlobalResizeEvent);
|
|
41760
41783
|
globalEvents23.on($xeTableSelect, "scroll", handleGlobalScrollEvent);
|
|
41761
41784
|
});
|
|
41762
|
-
|
|
41785
|
+
onUnmounted29(() => {
|
|
41763
41786
|
globalEvents23.off($xeTableSelect, "mousedown");
|
|
41764
41787
|
globalEvents23.off($xeTableSelect, "blur");
|
|
41765
41788
|
globalEvents23.off($xeTableSelect, "resize");
|
|
41766
41789
|
globalEvents23.off($xeTableSelect, "scroll");
|
|
41767
|
-
XEUtils99.assign(reactData,
|
|
41768
|
-
XEUtils99.assign(internalData,
|
|
41790
|
+
XEUtils99.assign(reactData, createReactData22());
|
|
41791
|
+
XEUtils99.assign(internalData, createInternalData21());
|
|
41769
41792
|
});
|
|
41770
41793
|
nextTick31(() => {
|
|
41771
41794
|
if (!VxeTableGridComponent) {
|
|
@@ -41796,12 +41819,12 @@ var table_select_default2 = VxeTableSelect;
|
|
|
41796
41819
|
import { VxeUI as VxeUI105 } from "@vxe-ui/core";
|
|
41797
41820
|
|
|
41798
41821
|
// packages_temp/table-transfer/src/table-transfer.ts
|
|
41799
|
-
import { ref as ref69, h as h83, reactive as reactive75, onBeforeUnmount as
|
|
41822
|
+
import { ref as ref69, h as h83, reactive as reactive75, onBeforeUnmount as onBeforeUnmount19 } from "vue";
|
|
41800
41823
|
import XEUtils100 from "xe-utils";
|
|
41801
|
-
function
|
|
41824
|
+
function createReactData23() {
|
|
41802
41825
|
return {};
|
|
41803
41826
|
}
|
|
41804
|
-
function
|
|
41827
|
+
function createInternalData22() {
|
|
41805
41828
|
return {};
|
|
41806
41829
|
}
|
|
41807
41830
|
var table_transfer_default = defineVxeComponent({
|
|
@@ -41819,8 +41842,8 @@ var table_transfer_default = defineVxeComponent({
|
|
|
41819
41842
|
const { emit } = context;
|
|
41820
41843
|
const xID = XEUtils100.uniqueId();
|
|
41821
41844
|
const refElem = ref69();
|
|
41822
|
-
const reactData = reactive75(
|
|
41823
|
-
const internalData =
|
|
41845
|
+
const reactData = reactive75(createReactData23());
|
|
41846
|
+
const internalData = createInternalData22();
|
|
41824
41847
|
const refMaps = {
|
|
41825
41848
|
refElem
|
|
41826
41849
|
};
|
|
@@ -41848,9 +41871,9 @@ var table_transfer_default = defineVxeComponent({
|
|
|
41848
41871
|
class: "vxe-table-transfer"
|
|
41849
41872
|
}, []);
|
|
41850
41873
|
};
|
|
41851
|
-
|
|
41852
|
-
XEUtils100.assign(reactData,
|
|
41853
|
-
XEUtils100.assign(internalData,
|
|
41874
|
+
onBeforeUnmount19(() => {
|
|
41875
|
+
XEUtils100.assign(reactData, createReactData23());
|
|
41876
|
+
XEUtils100.assign(internalData, createInternalData22());
|
|
41854
41877
|
});
|
|
41855
41878
|
$xeTableTransfer.renderVN = renderVN;
|
|
41856
41879
|
return $xeTableTransfer;
|
|
@@ -41875,7 +41898,7 @@ var table_transfer_default2 = VxeTableTransfer;
|
|
|
41875
41898
|
import { VxeUI as VxeUI107 } from "@vxe-ui/core";
|
|
41876
41899
|
|
|
41877
41900
|
// packages_temp/tabs/src/tabs.ts
|
|
41878
|
-
import { ref as ref70, h as h84, reactive as reactive76, inject as inject42, provide as provide30, computed as computed57, onUnmounted as
|
|
41901
|
+
import { ref as ref70, h as h84, reactive as reactive76, inject as inject42, provide as provide30, computed as computed57, onUnmounted as onUnmounted30, watch as watch43, nextTick as nextTick32, onMounted as onMounted48 } from "vue";
|
|
41879
41902
|
import XEUtils101 from "xe-utils";
|
|
41880
41903
|
var { baseUtils: baseUtils5, createEvent: createEvent73, getConfig: getConfig64, getIcon: getIcon32, globalEvents: globalEvents24, permission: permission4, renderEmptyElement: renderEmptyElement52 } = ui_exports.VxeUI;
|
|
41881
41904
|
var { getDefVal: getDefVal5 } = baseUtils5;
|
|
@@ -42740,7 +42763,7 @@ var tabs_default = defineVxeComponent({
|
|
|
42740
42763
|
updateTabStyle();
|
|
42741
42764
|
globalEvents24.on($xeTabs, "resize", updateTabStyle);
|
|
42742
42765
|
});
|
|
42743
|
-
|
|
42766
|
+
onUnmounted30(() => {
|
|
42744
42767
|
globalEvents24.off($xeTabs, "resize");
|
|
42745
42768
|
});
|
|
42746
42769
|
provide30("$xeTabs", $xeTabs);
|
|
@@ -42935,7 +42958,7 @@ var tag_default2 = VxeTag;
|
|
|
42935
42958
|
import { VxeUI as VxeUI109 } from "@vxe-ui/core";
|
|
42936
42959
|
|
|
42937
42960
|
// packages_temp/text-ellipsis/src/text-ellipsis.ts
|
|
42938
|
-
import { ref as ref72, h as h86, watch as watch45, computed as computed58, reactive as reactive78, resolveComponent as resolveComponent6, onMounted as onMounted49, onBeforeUnmount as
|
|
42961
|
+
import { ref as ref72, h as h86, watch as watch45, computed as computed58, reactive as reactive78, resolveComponent as resolveComponent6, onMounted as onMounted49, onBeforeUnmount as onBeforeUnmount20 } from "vue";
|
|
42939
42962
|
import XEUtils103 from "xe-utils";
|
|
42940
42963
|
var text_ellipsis_default = defineVxeComponent({
|
|
42941
42964
|
name: "VxeTextEllipsis",
|
|
@@ -43158,7 +43181,7 @@ var text_ellipsis_default = defineVxeComponent({
|
|
|
43158
43181
|
initObserver();
|
|
43159
43182
|
updateStyle();
|
|
43160
43183
|
});
|
|
43161
|
-
|
|
43184
|
+
onBeforeUnmount20(() => {
|
|
43162
43185
|
const { resizeObserver } = reactData;
|
|
43163
43186
|
const el = refElem.value;
|
|
43164
43187
|
const ryEl = realityElem.value;
|
|
@@ -43957,12 +43980,12 @@ var tour_default2 = VxeTour;
|
|
|
43957
43980
|
import { VxeUI as VxeUI115 } from "@vxe-ui/core";
|
|
43958
43981
|
|
|
43959
43982
|
// packages_temp/transfer/src/transfer.ts
|
|
43960
|
-
import { ref as ref78, h as h92, reactive as reactive84, onBeforeUnmount as
|
|
43983
|
+
import { ref as ref78, h as h92, reactive as reactive84, onBeforeUnmount as onBeforeUnmount21 } from "vue";
|
|
43961
43984
|
import XEUtils109 from "xe-utils";
|
|
43962
|
-
function
|
|
43985
|
+
function createReactData24() {
|
|
43963
43986
|
return {};
|
|
43964
43987
|
}
|
|
43965
|
-
function
|
|
43988
|
+
function createInternalData23() {
|
|
43966
43989
|
return {};
|
|
43967
43990
|
}
|
|
43968
43991
|
var transfer_default = defineVxeComponent({
|
|
@@ -43980,8 +44003,8 @@ var transfer_default = defineVxeComponent({
|
|
|
43980
44003
|
const { emit, slots } = context;
|
|
43981
44004
|
const xID = XEUtils109.uniqueId();
|
|
43982
44005
|
const refElem = ref78();
|
|
43983
|
-
const reactData = reactive84(
|
|
43984
|
-
const internalData =
|
|
44006
|
+
const reactData = reactive84(createReactData24());
|
|
44007
|
+
const internalData = createInternalData23();
|
|
43985
44008
|
const refMaps = {
|
|
43986
44009
|
refElem
|
|
43987
44010
|
};
|
|
@@ -44031,9 +44054,9 @@ var transfer_default = defineVxeComponent({
|
|
|
44031
44054
|
}, footerSlot({ $transfer: $xeTransfer })) : (0, ui_exports.renderEmptyElement)($xeTransfer)
|
|
44032
44055
|
]);
|
|
44033
44056
|
};
|
|
44034
|
-
|
|
44035
|
-
XEUtils109.assign(reactData,
|
|
44036
|
-
XEUtils109.assign(internalData,
|
|
44057
|
+
onBeforeUnmount21(() => {
|
|
44058
|
+
XEUtils109.assign(reactData, createReactData24());
|
|
44059
|
+
XEUtils109.assign(internalData, createInternalData23());
|
|
44037
44060
|
});
|
|
44038
44061
|
$xeTransfer.renderVN = renderVN;
|
|
44039
44062
|
return $xeTransfer;
|
|
@@ -44058,7 +44081,7 @@ var transfer_default2 = VxeTransfer;
|
|
|
44058
44081
|
import { VxeUI as VxeUI117 } from "@vxe-ui/core";
|
|
44059
44082
|
|
|
44060
44083
|
// packages_temp/tree/src/tree.ts
|
|
44061
|
-
import { ref as ref79, h as h93, reactive as reactive86, computed as computed60, watch as watch47, onBeforeUnmount as
|
|
44084
|
+
import { ref as ref79, h as h93, reactive as reactive86, computed as computed60, watch as watch47, onBeforeUnmount as onBeforeUnmount22, nextTick as nextTick34, onMounted as onMounted51, provide as provide31 } from "vue";
|
|
44062
44085
|
|
|
44063
44086
|
// packages_temp/tree/src/util.ts
|
|
44064
44087
|
function countTreeExpand($xeTree, prevNode) {
|
|
@@ -44126,7 +44149,7 @@ var { getDefVal: getDefVal6 } = baseUtils6;
|
|
|
44126
44149
|
function getNodeUniqueId2() {
|
|
44127
44150
|
return XEUtils110.uniqueId("node_");
|
|
44128
44151
|
}
|
|
44129
|
-
function
|
|
44152
|
+
function createReactData25() {
|
|
44130
44153
|
return {
|
|
44131
44154
|
parentHeight: 0,
|
|
44132
44155
|
customHeight: 0,
|
|
@@ -44154,7 +44177,7 @@ function createReactData24() {
|
|
|
44154
44177
|
}
|
|
44155
44178
|
};
|
|
44156
44179
|
}
|
|
44157
|
-
function
|
|
44180
|
+
function createInternalData24() {
|
|
44158
44181
|
return {
|
|
44159
44182
|
// initialized: false,
|
|
44160
44183
|
// lastFilterValue: '',
|
|
@@ -44362,8 +44385,8 @@ var tree_default = defineVxeComponent({
|
|
|
44362
44385
|
const refDragTipElem = ref79();
|
|
44363
44386
|
const refTooltip2 = ref79();
|
|
44364
44387
|
const crossTreeDragNodeInfo2 = getCrossTreeDragNodeInfo();
|
|
44365
|
-
const internalData =
|
|
44366
|
-
const reactData = reactive86(
|
|
44388
|
+
const internalData = createInternalData24();
|
|
44389
|
+
const reactData = reactive86(createReactData25());
|
|
44367
44390
|
const { computeSize } = useFns17.useSize(props);
|
|
44368
44391
|
const { computeIsVScrollbar } = useFns17.useVScrollbar(props);
|
|
44369
44392
|
const refMaps = {
|
|
@@ -47615,7 +47638,7 @@ var tree_default = defineVxeComponent({
|
|
|
47615
47638
|
reLayoutFlag.value++;
|
|
47616
47639
|
});
|
|
47617
47640
|
});
|
|
47618
|
-
|
|
47641
|
+
onBeforeUnmount22(() => {
|
|
47619
47642
|
const { scrollObserver, resizeObserver } = internalData;
|
|
47620
47643
|
if (resizeObserver) {
|
|
47621
47644
|
resizeObserver.disconnect();
|
|
@@ -47624,8 +47647,8 @@ var tree_default = defineVxeComponent({
|
|
|
47624
47647
|
scrollObserver.disconnect();
|
|
47625
47648
|
}
|
|
47626
47649
|
globalEvents25.off($xeTree, "resize");
|
|
47627
|
-
XEUtils110.assign(reactData,
|
|
47628
|
-
XEUtils110.assign(internalData,
|
|
47650
|
+
XEUtils110.assign(reactData, createReactData25());
|
|
47651
|
+
XEUtils110.assign(internalData, createInternalData24());
|
|
47629
47652
|
});
|
|
47630
47653
|
reactData.selectRadioKey = enModelValue(props.checkNodeKey);
|
|
47631
47654
|
loadData(props.data || []);
|
|
@@ -47653,13 +47676,13 @@ var tree_default2 = VxeTree;
|
|
|
47653
47676
|
import { VxeUI as VxeUI118 } from "@vxe-ui/core";
|
|
47654
47677
|
|
|
47655
47678
|
// packages_temp/tree-select/src/tree-select.ts
|
|
47656
|
-
import { ref as ref80, computed as computed61, h as h94, nextTick as nextTick35, inject as inject44, provide as provide32, reactive as reactive87, Teleport as Teleport14, onMounted as onMounted52, onBeforeUnmount as
|
|
47679
|
+
import { ref as ref80, computed as computed61, h as h94, nextTick as nextTick35, inject as inject44, provide as provide32, reactive as reactive87, Teleport as Teleport14, onMounted as onMounted52, onBeforeUnmount as onBeforeUnmount23, watch as watch48 } from "vue";
|
|
47657
47680
|
import XEUtils111 from "xe-utils";
|
|
47658
47681
|
var { warnLog: warnLog19, errLog: errLog22 } = createComponentLog("tree-select");
|
|
47659
47682
|
function getOptUniqueId2() {
|
|
47660
47683
|
return XEUtils111.uniqueId("node_");
|
|
47661
47684
|
}
|
|
47662
|
-
function
|
|
47685
|
+
function createReactData26() {
|
|
47663
47686
|
return {
|
|
47664
47687
|
initialized: false,
|
|
47665
47688
|
searchValue: "",
|
|
@@ -47675,7 +47698,7 @@ function createReactData25() {
|
|
|
47675
47698
|
lazyOptFlag: 1
|
|
47676
47699
|
};
|
|
47677
47700
|
}
|
|
47678
|
-
function
|
|
47701
|
+
function createInternalData25() {
|
|
47679
47702
|
return {
|
|
47680
47703
|
// hpTimeout: undefined,
|
|
47681
47704
|
fullOptionList: [],
|
|
@@ -47823,8 +47846,8 @@ var tree_select_default = defineVxeComponent({
|
|
|
47823
47846
|
const refTreeWrapper = ref80();
|
|
47824
47847
|
const refOptionPanel = ref80();
|
|
47825
47848
|
const refTree = ref80();
|
|
47826
|
-
const reactData = reactive87(
|
|
47827
|
-
const internalData =
|
|
47849
|
+
const reactData = reactive87(createReactData26());
|
|
47850
|
+
const internalData = createInternalData25();
|
|
47828
47851
|
const refMaps = {
|
|
47829
47852
|
refElem
|
|
47830
47853
|
};
|
|
@@ -48592,13 +48615,13 @@ var tree_select_default = defineVxeComponent({
|
|
|
48592
48615
|
ui_exports.globalEvents.on($xeTreeSelect, "resize", handleGlobalResizeEvent);
|
|
48593
48616
|
ui_exports.globalEvents.on($xeTreeSelect, "scroll", handleGlobalScrollEvent);
|
|
48594
48617
|
});
|
|
48595
|
-
|
|
48618
|
+
onBeforeUnmount23(() => {
|
|
48596
48619
|
ui_exports.globalEvents.off($xeTreeSelect, "mousedown");
|
|
48597
48620
|
ui_exports.globalEvents.off($xeTreeSelect, "blur");
|
|
48598
48621
|
ui_exports.globalEvents.off($xeTreeSelect, "resize");
|
|
48599
48622
|
ui_exports.globalEvents.off($xeTreeSelect, "scroll");
|
|
48600
|
-
XEUtils111.assign(reactData,
|
|
48601
|
-
XEUtils111.assign(internalData,
|
|
48623
|
+
XEUtils111.assign(reactData, createReactData26());
|
|
48624
|
+
XEUtils111.assign(internalData, createInternalData25());
|
|
48602
48625
|
});
|
|
48603
48626
|
provide32("$xeTreeSelect", $xeTreeSelect);
|
|
48604
48627
|
$xeTreeSelect.renderVN = renderVN;
|
|
@@ -48621,7 +48644,7 @@ var TreeSelect = VxeTreeSelect;
|
|
|
48621
48644
|
var tree_select_default2 = VxeTreeSelect;
|
|
48622
48645
|
|
|
48623
48646
|
// packages_temp/upload/src/upload.ts
|
|
48624
|
-
import { ref as ref81, h as h95, reactive as reactive88, watch as watch49, computed as computed62, TransitionGroup, inject as inject45, onBeforeUnmount as
|
|
48647
|
+
import { ref as ref81, h as h95, reactive as reactive88, watch as watch49, computed as computed62, TransitionGroup, inject as inject45, onBeforeUnmount as onBeforeUnmount24, onMounted as onMounted53, nextTick as nextTick36 } from "vue";
|
|
48625
48648
|
import XEUtils113 from "xe-utils";
|
|
48626
48649
|
|
|
48627
48650
|
// packages_temp/upload/src/util.ts
|
|
@@ -48721,7 +48744,7 @@ var saveLocalFile = (options) => {
|
|
|
48721
48744
|
|
|
48722
48745
|
// packages_temp/upload/src/upload.ts
|
|
48723
48746
|
var { warnLog: warnLog20, errLog: errLog23 } = createComponentLog("upload");
|
|
48724
|
-
function
|
|
48747
|
+
function createReactData27() {
|
|
48725
48748
|
return {
|
|
48726
48749
|
isDragUploadStatus: false,
|
|
48727
48750
|
showMorePopup: false,
|
|
@@ -48733,7 +48756,7 @@ function createReactData26() {
|
|
|
48733
48756
|
dragTipText: ""
|
|
48734
48757
|
};
|
|
48735
48758
|
}
|
|
48736
|
-
function
|
|
48759
|
+
function createInternalData26() {
|
|
48737
48760
|
return {
|
|
48738
48761
|
moreId: XEUtils113.uniqueId("upload"),
|
|
48739
48762
|
imagePreviewTypes: ["jpg", "jpeg", "png", "gif"],
|
|
@@ -48949,8 +48972,8 @@ var upload_default = defineVxeComponent({
|
|
|
48949
48972
|
const refPopupElem = ref81();
|
|
48950
48973
|
const refDragLineElem = ref81();
|
|
48951
48974
|
const refModalDragLineElem = ref81();
|
|
48952
|
-
const reactData = reactive88(
|
|
48953
|
-
const internalData =
|
|
48975
|
+
const reactData = reactive88(createReactData27());
|
|
48976
|
+
const internalData = createInternalData26();
|
|
48954
48977
|
const refMaps = {
|
|
48955
48978
|
refElem
|
|
48956
48979
|
};
|
|
@@ -50485,13 +50508,13 @@ var upload_default = defineVxeComponent({
|
|
|
50485
50508
|
ui_exports.globalEvents.on($xeUpload, "click", handleGlobalClickEvent);
|
|
50486
50509
|
ui_exports.globalEvents.on($xeUpload, "blur", handleGlobalBlurEvent);
|
|
50487
50510
|
});
|
|
50488
|
-
|
|
50511
|
+
onBeforeUnmount24(() => {
|
|
50489
50512
|
reactData.isDragUploadStatus = false;
|
|
50490
50513
|
ui_exports.globalEvents.off($xeUpload, "paste");
|
|
50491
50514
|
ui_exports.globalEvents.off($xeUpload, "click");
|
|
50492
50515
|
ui_exports.globalEvents.off($xeUpload, "blur");
|
|
50493
|
-
XEUtils113.assign(reactData,
|
|
50494
|
-
XEUtils113.assign(internalData,
|
|
50516
|
+
XEUtils113.assign(reactData, createReactData27());
|
|
50517
|
+
XEUtils113.assign(internalData, createInternalData26());
|
|
50495
50518
|
});
|
|
50496
50519
|
updateFileList();
|
|
50497
50520
|
$xeUpload.renderVN = renderVN;
|
|
@@ -50520,7 +50543,7 @@ var upload_default2 = VxeUpload;
|
|
|
50520
50543
|
import { VxeUI as VxeUI122 } from "@vxe-ui/core";
|
|
50521
50544
|
|
|
50522
50545
|
// packages_temp/watermark/src/watermark.ts
|
|
50523
|
-
import { ref as ref82, h as h96, reactive as reactive89, computed as computed63, onMounted as onMounted54, watch as watch50, onUnmounted as
|
|
50546
|
+
import { ref as ref82, h as h96, reactive as reactive89, computed as computed63, onMounted as onMounted54, watch as watch50, onUnmounted as onUnmounted31 } from "vue";
|
|
50524
50547
|
import XEUtils115 from "xe-utils";
|
|
50525
50548
|
|
|
50526
50549
|
// packages_temp/watermark/src/util.ts
|
|
@@ -50793,7 +50816,7 @@ var watermark_default = defineVxeComponent({
|
|
|
50793
50816
|
updateMarkStyle();
|
|
50794
50817
|
}, 300, { trailing: true, leading: true }));
|
|
50795
50818
|
});
|
|
50796
|
-
|
|
50819
|
+
onUnmounted31(() => {
|
|
50797
50820
|
ui_exports.globalEvents.off($xeWatermark, "resize");
|
|
50798
50821
|
});
|
|
50799
50822
|
$xeWatermark.renderVN = renderVN;
|
|
@@ -50946,6 +50969,17 @@ var readFile = readLocalFile;
|
|
|
50946
50969
|
|
|
50947
50970
|
// packages_temp/index.ts
|
|
50948
50971
|
__reExport(index_exports, components_exports);
|
|
50972
|
+
if (typeof window !== "undefined") {
|
|
50973
|
+
if (!window.VxeUIAll) {
|
|
50974
|
+
window.VxeUIAll = components_exports;
|
|
50975
|
+
}
|
|
50976
|
+
if (!window.VxeUIBase) {
|
|
50977
|
+
window.VxeUIBase = components_exports;
|
|
50978
|
+
}
|
|
50979
|
+
if (!window.VxeUI) {
|
|
50980
|
+
window.VxeUI = components_exports;
|
|
50981
|
+
}
|
|
50982
|
+
}
|
|
50949
50983
|
var index_default = components_exports;
|
|
50950
50984
|
export {
|
|
50951
50985
|
Alert,
|