vxe-pc-ui 4.6.8 → 4.6.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/alert/src/alert.js +5 -5
- package/es/anchor/src/anchor-link.js +3 -2
- package/es/anchor/src/anchor.js +3 -3
- package/es/breadcrumb/src/breadcrumb-item.js +3 -2
- package/es/button/src/button-group.js +3 -3
- package/es/button/src/button.js +7 -8
- package/es/card/src/card.js +7 -7
- package/es/carousel/src/carousel.js +3 -3
- package/es/countdown/src/countdown.js +4 -4
- package/es/form/render/index.js +2 -4
- package/es/form/src/form-group.js +5 -3
- package/es/form/src/form-item.js +6 -4
- package/es/form/src/form.js +97 -37
- package/es/form-design/src/default-setting-form.js +1 -1
- package/es/form-design/src/form-view.js +7 -9
- package/es/icon/style.css +1 -1
- package/es/icon-picker/src/icon-picker.js +4 -4
- package/es/image/src/group.js +3 -1
- package/es/image/src/image.js +3 -1
- package/es/image/src/preview.js +33 -19
- package/es/image/src/util.js +1 -0
- package/es/list-design/src/layout-preview.js +5 -7
- package/es/list-design/src/list-view.js +8 -10
- package/es/loading/src/loading.js +3 -3
- package/es/menu/src/menu.js +9 -9
- package/es/modal/src/modal.js +16 -18
- package/es/pager/src/pager.js +1 -3
- package/es/password-input/src/password-input.js +7 -7
- package/es/print/src/print.js +6 -6
- package/es/pulldown/src/pulldown.js +4 -4
- package/es/style.css +1 -1
- package/es/style.min.css +1 -1
- package/es/switch/src/switch.js +4 -4
- package/es/table-select/src/table-select.js +5 -7
- package/es/tabs/src/tabs.js +11 -15
- package/es/tag/src/tag.js +3 -3
- package/es/tip/src/tip.js +5 -5
- package/es/tree/src/tree.js +245 -180
- package/es/ui/index.js +3 -7
- package/es/ui/src/log.js +1 -1
- package/es/upload/src/upload.js +31 -33
- package/lib/alert/src/alert.js +3 -3
- package/lib/alert/src/alert.min.js +1 -1
- package/lib/anchor/src/anchor-link.js +2 -1
- package/lib/anchor/src/anchor-link.min.js +1 -1
- package/lib/anchor/src/anchor.js +3 -3
- package/lib/anchor/src/anchor.min.js +1 -1
- package/lib/breadcrumb/src/breadcrumb-item.js +2 -1
- package/lib/breadcrumb/src/breadcrumb-item.min.js +1 -1
- package/lib/button/src/button-group.js +6 -6
- package/lib/button/src/button-group.min.js +1 -1
- package/lib/button/src/button.js +4 -6
- package/lib/button/src/button.min.js +1 -1
- package/lib/card/src/card.js +4 -4
- package/lib/card/src/card.min.js +1 -1
- package/lib/carousel/src/carousel.js +1 -1
- package/lib/carousel/src/carousel.min.js +1 -1
- package/lib/countdown/src/countdown.js +2 -2
- package/lib/countdown/src/countdown.min.js +1 -1
- package/lib/form/render/index.js +2 -4
- package/lib/form/render/index.min.js +1 -1
- package/lib/form/src/form-group.js +3 -1
- package/lib/form/src/form-group.min.js +1 -1
- package/lib/form/src/form-item.js +4 -2
- package/lib/form/src/form-item.min.js +1 -1
- package/lib/form/src/form.js +95 -36
- package/lib/form/src/form.min.js +1 -1
- package/lib/form-design/src/default-setting-form.js +12 -12
- package/lib/form-design/src/default-setting-form.min.js +1 -1
- package/lib/form-design/src/form-view.js +5 -7
- package/lib/form-design/src/form-view.min.js +1 -1
- package/lib/icon/style/style.css +1 -1
- package/lib/icon/style/style.min.css +1 -1
- package/lib/icon-picker/src/icon-picker.js +2 -2
- package/lib/icon-picker/src/icon-picker.min.js +1 -1
- package/lib/image/src/group.js +3 -0
- package/lib/image/src/group.min.js +1 -1
- package/lib/image/src/image.js +3 -0
- package/lib/image/src/image.min.js +1 -1
- package/lib/image/src/preview.js +20 -8
- package/lib/image/src/preview.min.js +1 -1
- package/lib/image/src/util.js +1 -0
- package/lib/image/src/util.min.js +1 -1
- package/lib/index.umd.js +549 -377
- package/lib/index.umd.min.js +1 -1
- package/lib/list-design/src/layout-preview.js +5 -7
- package/lib/list-design/src/layout-preview.min.js +1 -1
- package/lib/list-design/src/list-view.js +6 -8
- package/lib/list-design/src/list-view.min.js +1 -1
- package/lib/loading/src/loading.js +1 -1
- package/lib/loading/src/loading.min.js +1 -1
- package/lib/menu/src/menu.js +6 -6
- package/lib/menu/src/menu.min.js +1 -1
- package/lib/modal/src/modal.js +12 -14
- package/lib/modal/src/modal.min.js +1 -1
- package/lib/pager/src/pager.js +1 -3
- package/lib/pager/src/pager.min.js +1 -1
- package/lib/password-input/src/password-input.js +4 -4
- package/lib/password-input/src/password-input.min.js +1 -1
- package/lib/print/src/print.js +4 -4
- package/lib/print/src/print.min.js +1 -1
- package/lib/pulldown/src/pulldown.js +2 -2
- package/lib/pulldown/src/pulldown.min.js +1 -1
- package/lib/style.css +1 -1
- package/lib/style.min.css +1 -1
- package/lib/switch/src/switch.js +2 -2
- package/lib/switch/src/switch.min.js +1 -1
- package/lib/table-select/src/table-select.js +5 -7
- package/lib/table-select/src/table-select.min.js +1 -1
- package/lib/tabs/src/tabs.js +10 -14
- package/lib/tabs/src/tabs.min.js +1 -1
- package/lib/tag/src/tag.js +1 -1
- package/lib/tag/src/tag.min.js +1 -1
- package/lib/tip/src/tip.js +3 -3
- package/lib/tip/src/tip.min.js +1 -1
- package/lib/tree/src/tree.js +298 -184
- package/lib/tree/src/tree.min.js +1 -1
- package/lib/ui/index.js +3 -7
- 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/src/upload.js +27 -29
- package/lib/upload/src/upload.min.js +1 -1
- package/package.json +1 -1
- package/packages/alert/src/alert.ts +5 -5
- package/packages/anchor/src/anchor-link.ts +3 -2
- package/packages/anchor/src/anchor.ts +3 -3
- package/packages/breadcrumb/src/breadcrumb-item.ts +3 -2
- package/packages/button/src/button-group.ts +3 -3
- package/packages/button/src/button.ts +7 -8
- package/packages/card/src/card.ts +7 -7
- package/packages/carousel/src/carousel.ts +3 -3
- package/packages/countdown/src/countdown.ts +4 -4
- package/packages/form/render/index.ts +2 -4
- package/packages/form/src/form-group.ts +7 -3
- package/packages/form/src/form-item.ts +7 -4
- package/packages/form/src/form.ts +98 -35
- package/packages/form-design/src/default-setting-form.ts +1 -1
- package/packages/form-design/src/form-view.ts +7 -9
- package/packages/icon-picker/src/icon-picker.ts +4 -4
- package/packages/image/src/group.ts +3 -1
- package/packages/image/src/image.ts +3 -1
- package/packages/image/src/preview.ts +37 -22
- package/packages/image/src/util.ts +1 -0
- package/packages/list-design/src/layout-preview.ts +5 -7
- package/packages/list-design/src/list-view.ts +8 -10
- package/packages/loading/src/loading.ts +3 -3
- package/packages/menu/src/menu.ts +9 -9
- package/packages/modal/src/modal.ts +16 -18
- package/packages/pager/src/pager.ts +1 -3
- package/packages/password-input/src/password-input.ts +7 -7
- package/packages/print/src/print.ts +6 -6
- package/packages/pulldown/src/pulldown.ts +5 -5
- package/packages/switch/src/switch.ts +4 -4
- package/packages/table-select/src/table-select.ts +5 -7
- package/packages/tabs/src/tabs.ts +11 -15
- package/packages/tag/src/tag.ts +3 -3
- package/packages/tip/src/tip.ts +5 -5
- package/packages/tree/src/tree.ts +242 -179
- package/packages/ui/index.ts +2 -6
- package/packages/upload/src/upload.ts +31 -33
- package/types/components/button.d.ts +2 -1
- package/types/components/image-group.d.ts +3 -0
- package/types/components/image-preview.d.ts +32 -0
- package/types/components/image.d.ts +2 -0
- package/types/components/tree.d.ts +7 -5
- /package/es/icon/{iconfont.1747192660271.ttf → iconfont.1747318422186.ttf} +0 -0
- /package/es/icon/{iconfont.1747192660271.woff → iconfont.1747318422186.woff} +0 -0
- /package/es/icon/{iconfont.1747192660271.woff2 → iconfont.1747318422186.woff2} +0 -0
- /package/es/{iconfont.1747192660271.ttf → iconfont.1747318422186.ttf} +0 -0
- /package/es/{iconfont.1747192660271.woff → iconfont.1747318422186.woff} +0 -0
- /package/es/{iconfont.1747192660271.woff2 → iconfont.1747318422186.woff2} +0 -0
- /package/lib/icon/style/{iconfont.1747192660271.ttf → iconfont.1747318422186.ttf} +0 -0
- /package/lib/icon/style/{iconfont.1747192660271.woff → iconfont.1747318422186.woff} +0 -0
- /package/lib/icon/style/{iconfont.1747192660271.woff2 → iconfont.1747318422186.woff2} +0 -0
- /package/lib/{iconfont.1747192660271.ttf → iconfont.1747318422186.ttf} +0 -0
- /package/lib/{iconfont.1747192660271.woff → iconfont.1747318422186.woff} +0 -0
- /package/lib/{iconfont.1747192660271.woff2 → iconfont.1747318422186.woff2} +0 -0
package/es/pager/src/pager.js
CHANGED
|
@@ -638,9 +638,7 @@ export default defineComponent({
|
|
|
638
638
|
childNodes.push(renderFn());
|
|
639
639
|
}
|
|
640
640
|
else {
|
|
641
|
-
|
|
642
|
-
errLog('vxe.error.notProp', [`layouts -> ${name}`]);
|
|
643
|
-
}
|
|
641
|
+
errLog('vxe.error.notProp', [`layouts -> ${name}`]);
|
|
644
642
|
}
|
|
645
643
|
});
|
|
646
644
|
if (slots.right) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, h, ref, computed, reactive, inject, nextTick, watch
|
|
1
|
+
import { defineComponent, h, ref, computed, reactive, inject, nextTick, watch } from 'vue';
|
|
2
2
|
import XEUtils from 'xe-utils';
|
|
3
|
-
import { getConfig, getIcon, getI18n, createEvent, useSize } from '../../ui';
|
|
3
|
+
import { getConfig, getIcon, getI18n, createEvent, useSize, renderEmptyElement } from '../../ui';
|
|
4
4
|
import { getFuncText } from '../../ui/src/utils';
|
|
5
5
|
import { getSlotVNs } from '../../ui/src/vn';
|
|
6
6
|
export default defineComponent({
|
|
@@ -237,8 +237,8 @@ export default defineComponent({
|
|
|
237
237
|
class: getIcon().INPUT_CLEAR
|
|
238
238
|
})
|
|
239
239
|
])
|
|
240
|
-
:
|
|
241
|
-
controls ? renderPasswordIcon() :
|
|
240
|
+
: renderEmptyElement($xePasswordInput),
|
|
241
|
+
controls ? renderPasswordIcon() : renderEmptyElement($xePasswordInput),
|
|
242
242
|
suffixSlot || suffixIcon
|
|
243
243
|
? h('div', {
|
|
244
244
|
class: 'vxe-password-input--suffix-icon',
|
|
@@ -250,7 +250,7 @@ export default defineComponent({
|
|
|
250
250
|
class: suffixIcon
|
|
251
251
|
})
|
|
252
252
|
])
|
|
253
|
-
:
|
|
253
|
+
: renderEmptyElement($xePasswordInput)
|
|
254
254
|
])
|
|
255
255
|
: null;
|
|
256
256
|
};
|
|
@@ -304,7 +304,7 @@ export default defineComponent({
|
|
|
304
304
|
}],
|
|
305
305
|
spellcheck: false
|
|
306
306
|
}, [
|
|
307
|
-
prefix ||
|
|
307
|
+
prefix || renderEmptyElement($xePasswordInput),
|
|
308
308
|
h('div', {
|
|
309
309
|
class: 'vxe-password-input--wrapper'
|
|
310
310
|
}, [
|
|
@@ -326,7 +326,7 @@ export default defineComponent({
|
|
|
326
326
|
onBlur: blurEvent
|
|
327
327
|
})
|
|
328
328
|
]),
|
|
329
|
-
suffix ||
|
|
329
|
+
suffix || renderEmptyElement($xePasswordInput)
|
|
330
330
|
]);
|
|
331
331
|
};
|
|
332
332
|
$xePasswordInput.renderVN = renderVN;
|
package/es/print/src/print.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, ref, h, reactive, provide
|
|
1
|
+
import { defineComponent, ref, h, reactive, provide } from 'vue';
|
|
2
2
|
import XEUtils from 'xe-utils';
|
|
3
|
-
import { getConfig, createEvent } from '../../ui';
|
|
3
|
+
import { getConfig, createEvent, renderEmptyElement } from '../../ui';
|
|
4
4
|
import { printHtml, trimHtml } from './util';
|
|
5
5
|
import { getSlotVNs } from '../../ui/src/vn';
|
|
6
6
|
export default defineComponent({
|
|
@@ -107,7 +107,7 @@ export default defineComponent({
|
|
|
107
107
|
? h('div', {
|
|
108
108
|
class: 'vxe-print-page-break--header-title'
|
|
109
109
|
}, `${title || ''}`)
|
|
110
|
-
:
|
|
110
|
+
: renderEmptyElement($xePrint)
|
|
111
111
|
]),
|
|
112
112
|
h('div', {
|
|
113
113
|
class: 'vxe-print-page-break--body'
|
|
@@ -131,7 +131,7 @@ export default defineComponent({
|
|
|
131
131
|
? h('div', {
|
|
132
132
|
class: 'vxe-print-page-break--footer-page-number'
|
|
133
133
|
}, `${currentPage}/${pageCount}`)
|
|
134
|
-
:
|
|
134
|
+
: renderEmptyElement($xePrint)
|
|
135
135
|
])
|
|
136
136
|
]);
|
|
137
137
|
});
|
|
@@ -164,7 +164,7 @@ export default defineComponent({
|
|
|
164
164
|
? h('div', {
|
|
165
165
|
class: 'vxe-print-page-break--header-title'
|
|
166
166
|
}, `${title || ''}`)
|
|
167
|
-
:
|
|
167
|
+
: renderEmptyElement($xePrint)
|
|
168
168
|
]),
|
|
169
169
|
h('div', {
|
|
170
170
|
class: 'vxe-print-page-break--body'
|
|
@@ -188,7 +188,7 @@ export default defineComponent({
|
|
|
188
188
|
? h('div', {
|
|
189
189
|
class: 'vxe-print-page-break--footer-page-number'
|
|
190
190
|
}, `${currentPage}/${pageCount}`)
|
|
191
|
-
:
|
|
191
|
+
: renderEmptyElement($xePrint)
|
|
192
192
|
])
|
|
193
193
|
]);
|
|
194
194
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent, h, Teleport, ref, onUnmounted, reactive, inject, computed, nextTick, watch
|
|
1
|
+
import { defineComponent, h, Teleport, ref, onUnmounted, reactive, inject, computed, nextTick, watch } from 'vue';
|
|
2
2
|
import XEUtils from 'xe-utils';
|
|
3
|
-
import { getConfig, globalEvents, createEvent, useSize } from '../../ui';
|
|
3
|
+
import { getConfig, globalEvents, createEvent, useSize, renderEmptyElement } from '../../ui';
|
|
4
4
|
import { getEventTargetNode, updatePanelPlacement } from '../../ui/src/dom';
|
|
5
5
|
import { getLastZIndex, nextZIndex } from '../../ui/src/utils';
|
|
6
6
|
export default defineComponent({
|
|
@@ -335,7 +335,7 @@ export default defineComponent({
|
|
|
335
335
|
? h('div', {
|
|
336
336
|
class: 'vxe-pulldown--panel-header'
|
|
337
337
|
}, headerSlot({ $pulldown: $xePulldown }))
|
|
338
|
-
:
|
|
338
|
+
: renderEmptyElement($xePulldown),
|
|
339
339
|
h('div', {
|
|
340
340
|
class: 'vxe-pulldown--panel-body'
|
|
341
341
|
}, dropdownSlot
|
|
@@ -347,7 +347,7 @@ export default defineComponent({
|
|
|
347
347
|
? h('div', {
|
|
348
348
|
class: 'vxe-pulldown--panel-footer'
|
|
349
349
|
}, footerSlot({ $pulldown: $xePulldown }))
|
|
350
|
-
:
|
|
350
|
+
: renderEmptyElement($xePulldown)
|
|
351
351
|
]
|
|
352
352
|
: [])
|
|
353
353
|
])
|