vxe-pc-ui 4.20.26 → 4.20.28
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 +235 -4
- package/dist/style.css +1 -1
- package/dist/style.mini.css +1 -1
- package/es/components.d.ts +2 -2
- package/es/components.js +2 -1
- package/es/icon/style.css +1 -1
- package/es/icon/style.mini.css +1 -1
- package/es/style.css +1 -1
- package/es/style.mini.css +1 -1
- 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/components.js +2 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.mini.css +1 -1
- package/lib/index.umd.js +125 -23
- package/lib/index.umd.min.js +3 -3
- package/lib/style.css +1 -1
- package/lib/style.mini.css +1 -1
- 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/components.ts +4 -1
- /package/dist/{iconfont.1793007755017.ttf → iconfont.1793010145956.ttf} +0 -0
- /package/dist/{iconfont.1793007755017.woff → iconfont.1793010145956.woff} +0 -0
- /package/dist/{iconfont.1793007755017.woff2 → iconfont.1793010145956.woff2} +0 -0
- /package/es/icon/{iconfont.1793007755017.ttf → iconfont.1793010145956.ttf} +0 -0
- /package/es/icon/{iconfont.1793007755017.woff → iconfont.1793010145956.woff} +0 -0
- /package/es/icon/{iconfont.1793007755017.woff2 → iconfont.1793010145956.woff2} +0 -0
- /package/es/{iconfont.1793007755017.ttf → iconfont.1793010145956.ttf} +0 -0
- /package/es/{iconfont.1793007755017.woff → iconfont.1793010145956.woff} +0 -0
- /package/es/{iconfont.1793007755017.woff2 → iconfont.1793010145956.woff2} +0 -0
- /package/es/vxe-icon/{iconfont.1793007755017.ttf → iconfont.1793010145956.ttf} +0 -0
- /package/es/vxe-icon/{iconfont.1793007755017.woff → iconfont.1793010145956.woff} +0 -0
- /package/es/vxe-icon/{iconfont.1793007755017.woff2 → iconfont.1793010145956.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1793007755017.ttf → iconfont.1793010145956.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1793007755017.woff → iconfont.1793010145956.woff} +0 -0
- /package/lib/icon/style/{iconfont.1793007755017.woff2 → iconfont.1793010145956.woff2} +0 -0
- /package/lib/{iconfont.1793007755017.ttf → iconfont.1793010145956.ttf} +0 -0
- /package/lib/{iconfont.1793007755017.woff → iconfont.1793010145956.woff} +0 -0
- /package/lib/{iconfont.1793007755017.woff2 → iconfont.1793010145956.woff2} +0 -0
- /package/lib/vxe-icon/style/{iconfont.1793007755017.ttf → iconfont.1793010145956.ttf} +0 -0
- /package/lib/vxe-icon/style/{iconfont.1793007755017.woff → iconfont.1793010145956.woff} +0 -0
- /package/lib/vxe-icon/style/{iconfont.1793007755017.woff2 → iconfont.1793010145956.woff2} +0 -0
package/lib/index.umd.js
CHANGED
|
@@ -91,6 +91,7 @@ __export(index_exports, {
|
|
|
91
91
|
FormGather: () => FormGather,
|
|
92
92
|
FormGroup: () => FormGroup,
|
|
93
93
|
FormItem: () => FormItem,
|
|
94
|
+
GLOBAL_EVENT_KEYS: () => GLOBAL_EVENT_KEYS,
|
|
94
95
|
Icon: () => Icon,
|
|
95
96
|
IconPicker: () => IconPicker,
|
|
96
97
|
Image: () => Image2,
|
|
@@ -177,6 +178,7 @@ __export(index_exports, {
|
|
|
177
178
|
VxeCollapsePane: () => VxeCollapsePane,
|
|
178
179
|
VxeColorPicker: () => VxeColorPicker,
|
|
179
180
|
VxeContextMenu: () => VxeContextMenu,
|
|
181
|
+
VxeCore: () => VxeCore,
|
|
180
182
|
VxeCountdown: () => VxeCountdown,
|
|
181
183
|
VxeDatePanel: () => VxeDatePanel,
|
|
182
184
|
VxeDatePicker: () => VxeDatePicker,
|
|
@@ -251,15 +253,64 @@ __export(index_exports, {
|
|
|
251
253
|
VxeWatermark: () => VxeWatermark,
|
|
252
254
|
Watermark: () => Watermark,
|
|
253
255
|
WatermarkController: () => WatermarkController,
|
|
256
|
+
baseUtils: () => baseUtils,
|
|
257
|
+
checkVersion: () => checkVersion,
|
|
258
|
+
clipboard: () => clipboard,
|
|
259
|
+
commands: () => commands,
|
|
260
|
+
component: () => component,
|
|
261
|
+
config: () => config,
|
|
262
|
+
coreVersion: () => coreVersion,
|
|
263
|
+
createEvent: () => createEvent,
|
|
254
264
|
default: () => index_default,
|
|
265
|
+
domUtils: () => domUtils,
|
|
255
266
|
drawer: () => drawer,
|
|
267
|
+
formats: () => formats,
|
|
268
|
+
getComponent: () => getComponent,
|
|
269
|
+
getConfig: () => getConfig,
|
|
270
|
+
getI18n: () => getI18n,
|
|
271
|
+
getIcon: () => getIcon,
|
|
272
|
+
getLanguage: () => getLanguage,
|
|
273
|
+
getSlotVNs: () => getSlotVNs,
|
|
274
|
+
getTheme: () => getTheme,
|
|
275
|
+
globalEvents: () => globalEvents,
|
|
276
|
+
globalResize: () => globalResize,
|
|
277
|
+
globalStore: () => globalStore,
|
|
278
|
+
handleCheckInfo: () => handleCheckInfo,
|
|
279
|
+
hasComponent: () => hasComponent,
|
|
280
|
+
hasLanguage: () => hasLanguage,
|
|
281
|
+
hooks: () => hooks,
|
|
256
282
|
install: () => install,
|
|
283
|
+
interceptor: () => interceptor,
|
|
257
284
|
loading: () => loading,
|
|
285
|
+
log: () => log,
|
|
286
|
+
menus: () => menus,
|
|
258
287
|
modal: () => modal,
|
|
288
|
+
permission: () => permission,
|
|
289
|
+
popperUtils: () => popperUtils,
|
|
259
290
|
print: () => print,
|
|
260
291
|
readFile: () => readFile,
|
|
292
|
+
renderCustomIcon: () => renderCustomIcon,
|
|
293
|
+
renderEmptyElement: () => renderEmptyElement,
|
|
294
|
+
renderGlobalIcon: () => renderGlobalIcon,
|
|
295
|
+
renderer: () => renderer,
|
|
261
296
|
saveFile: () => saveFile,
|
|
262
|
-
|
|
297
|
+
scrollbarUtils: () => scrollbarUtils,
|
|
298
|
+
setConfig: () => setConfig,
|
|
299
|
+
setI18n: () => setI18n,
|
|
300
|
+
setIcon: () => setIcon,
|
|
301
|
+
setLanguage: () => setLanguage,
|
|
302
|
+
setTheme: () => setTheme,
|
|
303
|
+
setup: () => setup,
|
|
304
|
+
use: () => use,
|
|
305
|
+
useFns: () => useFns,
|
|
306
|
+
useInitVScrollbar: () => useInitVScrollbar,
|
|
307
|
+
usePermission: () => usePermission,
|
|
308
|
+
useSize: () => useSize,
|
|
309
|
+
useVScrollbar: () => useVScrollbar,
|
|
310
|
+
validators: () => validators,
|
|
311
|
+
version: () => version2,
|
|
312
|
+
watermark: () => watermark,
|
|
313
|
+
zIndex: () => zIndex
|
|
263
314
|
});
|
|
264
315
|
module.exports = __toCommonJS(index_exports);
|
|
265
316
|
|
|
@@ -302,6 +353,7 @@ __export(components_exports, {
|
|
|
302
353
|
FormGather: () => FormGather,
|
|
303
354
|
FormGroup: () => FormGroup,
|
|
304
355
|
FormItem: () => FormItem,
|
|
356
|
+
GLOBAL_EVENT_KEYS: () => GLOBAL_EVENT_KEYS,
|
|
305
357
|
Icon: () => Icon,
|
|
306
358
|
IconPicker: () => IconPicker,
|
|
307
359
|
Image: () => Image2,
|
|
@@ -388,6 +440,7 @@ __export(components_exports, {
|
|
|
388
440
|
VxeCollapsePane: () => VxeCollapsePane,
|
|
389
441
|
VxeColorPicker: () => VxeColorPicker,
|
|
390
442
|
VxeContextMenu: () => VxeContextMenu,
|
|
443
|
+
VxeCore: () => VxeCore,
|
|
391
444
|
VxeCountdown: () => VxeCountdown,
|
|
392
445
|
VxeDatePanel: () => VxeDatePanel,
|
|
393
446
|
VxeDatePicker: () => VxeDatePicker,
|
|
@@ -462,18 +515,67 @@ __export(components_exports, {
|
|
|
462
515
|
VxeWatermark: () => VxeWatermark,
|
|
463
516
|
Watermark: () => Watermark,
|
|
464
517
|
WatermarkController: () => WatermarkController,
|
|
518
|
+
baseUtils: () => baseUtils,
|
|
519
|
+
checkVersion: () => checkVersion,
|
|
520
|
+
clipboard: () => clipboard,
|
|
521
|
+
commands: () => commands,
|
|
522
|
+
component: () => component,
|
|
523
|
+
config: () => config,
|
|
524
|
+
coreVersion: () => coreVersion,
|
|
525
|
+
createEvent: () => createEvent,
|
|
526
|
+
domUtils: () => domUtils,
|
|
465
527
|
drawer: () => drawer,
|
|
528
|
+
formats: () => formats,
|
|
529
|
+
getComponent: () => getComponent,
|
|
530
|
+
getConfig: () => getConfig,
|
|
531
|
+
getI18n: () => getI18n,
|
|
532
|
+
getIcon: () => getIcon,
|
|
533
|
+
getLanguage: () => getLanguage,
|
|
534
|
+
getSlotVNs: () => getSlotVNs,
|
|
535
|
+
getTheme: () => getTheme,
|
|
536
|
+
globalEvents: () => globalEvents,
|
|
537
|
+
globalResize: () => globalResize,
|
|
538
|
+
globalStore: () => globalStore,
|
|
539
|
+
handleCheckInfo: () => handleCheckInfo,
|
|
540
|
+
hasComponent: () => hasComponent,
|
|
541
|
+
hasLanguage: () => hasLanguage,
|
|
542
|
+
hooks: () => hooks,
|
|
466
543
|
install: () => install,
|
|
544
|
+
interceptor: () => interceptor,
|
|
467
545
|
loading: () => loading,
|
|
546
|
+
log: () => log,
|
|
547
|
+
menus: () => menus,
|
|
468
548
|
modal: () => modal,
|
|
549
|
+
permission: () => permission,
|
|
550
|
+
popperUtils: () => popperUtils,
|
|
469
551
|
print: () => print,
|
|
470
552
|
readFile: () => readFile,
|
|
553
|
+
renderCustomIcon: () => renderCustomIcon,
|
|
554
|
+
renderEmptyElement: () => renderEmptyElement,
|
|
555
|
+
renderGlobalIcon: () => renderGlobalIcon,
|
|
556
|
+
renderer: () => renderer,
|
|
471
557
|
saveFile: () => saveFile,
|
|
472
|
-
|
|
558
|
+
scrollbarUtils: () => scrollbarUtils,
|
|
559
|
+
setConfig: () => setConfig,
|
|
560
|
+
setI18n: () => setI18n,
|
|
561
|
+
setIcon: () => setIcon,
|
|
562
|
+
setLanguage: () => setLanguage,
|
|
563
|
+
setTheme: () => setTheme,
|
|
564
|
+
setup: () => setup,
|
|
565
|
+
use: () => use,
|
|
566
|
+
useFns: () => useFns,
|
|
567
|
+
useInitVScrollbar: () => useInitVScrollbar,
|
|
568
|
+
usePermission: () => usePermission,
|
|
569
|
+
useSize: () => useSize,
|
|
570
|
+
useVScrollbar: () => useVScrollbar,
|
|
571
|
+
validators: () => validators,
|
|
572
|
+
version: () => version2,
|
|
573
|
+
watermark: () => watermark,
|
|
574
|
+
zIndex: () => zIndex
|
|
473
575
|
});
|
|
474
576
|
|
|
475
577
|
// node_modules/@vxe-ui/core/es/src/core.js
|
|
476
|
-
var coreVersion = "4.
|
|
578
|
+
var coreVersion = "4.5.0";
|
|
477
579
|
var VxeCore = {
|
|
478
580
|
coreVersion,
|
|
479
581
|
uiVersion: "",
|
|
@@ -516,16 +618,16 @@ function getBody() {
|
|
|
516
618
|
return bodyEl;
|
|
517
619
|
}
|
|
518
620
|
function getDomMaxZIndex() {
|
|
519
|
-
|
|
520
|
-
|
|
621
|
+
let max = 0;
|
|
622
|
+
const dom = getDocument();
|
|
521
623
|
if (dom) {
|
|
522
|
-
|
|
624
|
+
const body = getBody();
|
|
523
625
|
if (body) {
|
|
524
|
-
|
|
525
|
-
for (
|
|
526
|
-
|
|
626
|
+
const allElem = body.getElementsByTagName("*");
|
|
627
|
+
for (let i = 0; i < allElem.length; i++) {
|
|
628
|
+
const elem = allElem[i];
|
|
527
629
|
if (elem && elem.style && elem.nodeType === 1) {
|
|
528
|
-
|
|
630
|
+
const zIndex3 = elem.style.zIndex;
|
|
529
631
|
if (zIndex3 && /^\d+$/.test(zIndex3)) {
|
|
530
632
|
max = Math.max(max, Number(zIndex3));
|
|
531
633
|
}
|
|
@@ -537,7 +639,7 @@ function getDomMaxZIndex() {
|
|
|
537
639
|
}
|
|
538
640
|
function getStyle() {
|
|
539
641
|
if (!styleEl) {
|
|
540
|
-
|
|
642
|
+
const dom = getDocument();
|
|
541
643
|
if (dom) {
|
|
542
644
|
styleEl = dom.getElementById(styleId);
|
|
543
645
|
if (!styleEl) {
|
|
@@ -550,20 +652,20 @@ function getStyle() {
|
|
|
550
652
|
return styleEl;
|
|
551
653
|
}
|
|
552
654
|
function updateVar() {
|
|
553
|
-
|
|
655
|
+
const styEl = getStyle();
|
|
554
656
|
if (styEl) {
|
|
555
|
-
|
|
556
|
-
|
|
657
|
+
const prefixes = "--dom-";
|
|
658
|
+
const propKey = "-z-index";
|
|
557
659
|
styEl.innerHTML = ":root{" + prefixes + "main" + propKey + ":" + getCurrent() + ";" + prefixes + "sub" + propKey + ":" + getSubCurrent() + "}";
|
|
558
660
|
}
|
|
559
661
|
}
|
|
560
662
|
function getStoreDom() {
|
|
561
663
|
if (!storeEl) {
|
|
562
|
-
|
|
664
|
+
const dom = getDocument();
|
|
563
665
|
if (dom) {
|
|
564
666
|
storeEl = dom.getElementById(storeId);
|
|
565
667
|
if (!storeEl) {
|
|
566
|
-
|
|
668
|
+
const body = getBody();
|
|
567
669
|
if (body) {
|
|
568
670
|
storeEl = dom.createElement("div");
|
|
569
671
|
storeEl.id = storeId;
|
|
@@ -582,7 +684,7 @@ function createSetHandle(key) {
|
|
|
582
684
|
if (value) {
|
|
583
685
|
value = Number(value);
|
|
584
686
|
storeData[key] = value;
|
|
585
|
-
|
|
687
|
+
const el = getStoreDom();
|
|
586
688
|
if (el) {
|
|
587
689
|
if (el.dataset) {
|
|
588
690
|
el.dataset[key] = value + "";
|
|
@@ -598,10 +700,10 @@ function createSetHandle(key) {
|
|
|
598
700
|
var setCurrent = createSetHandle(storeMainKey);
|
|
599
701
|
function createGetHandle(key, nextMethod) {
|
|
600
702
|
return function getCurrent2(currZindex) {
|
|
601
|
-
|
|
602
|
-
|
|
703
|
+
let zIndex3;
|
|
704
|
+
const el = getStoreDom();
|
|
603
705
|
if (el) {
|
|
604
|
-
|
|
706
|
+
const domVal = el.dataset ? el.dataset[key] : el.getAttribute("data-" + key);
|
|
605
707
|
if (domVal) {
|
|
606
708
|
zIndex3 = Number(domVal);
|
|
607
709
|
}
|
|
@@ -1023,7 +1125,7 @@ function createLog(type, name) {
|
|
|
1023
1125
|
return msg;
|
|
1024
1126
|
};
|
|
1025
1127
|
}
|
|
1026
|
-
var version = "4.
|
|
1128
|
+
var version = "4.5.0";
|
|
1027
1129
|
var log = {
|
|
1028
1130
|
create: createLog,
|
|
1029
1131
|
warn: createLog("warn", `v${version}`),
|
|
@@ -2194,7 +2296,7 @@ function checkDynamic() {
|
|
|
2194
2296
|
|
|
2195
2297
|
// packages_temp/ui/src/log.ts
|
|
2196
2298
|
var { log: log2 } = VxeUI;
|
|
2197
|
-
var uiVersion = `ui v${"4.20.
|
|
2299
|
+
var uiVersion = `ui v${"4.20.28"}`;
|
|
2198
2300
|
function createComponentLog(name) {
|
|
2199
2301
|
const tableVersion = VxeUI.tableVersion ? `table v${VxeUI.tableVersion}` : "";
|
|
2200
2302
|
const ganttVersion = VxeUI.ganttVersion ? `gantt v${VxeUI.ganttVersion}` : "";
|
|
@@ -2209,7 +2311,7 @@ var warnLog = log2.create("warn", uiVersion);
|
|
|
2209
2311
|
var errLog = log2.create("error", uiVersion);
|
|
2210
2312
|
|
|
2211
2313
|
// packages_temp/ui/index.ts
|
|
2212
|
-
var version2 = "4.20.
|
|
2314
|
+
var version2 = "4.20.28";
|
|
2213
2315
|
VxeUI.uiVersion = version2;
|
|
2214
2316
|
VxeUI.dynamicApp = dynamicApp;
|
|
2215
2317
|
function config(options) {
|