primevue 4.5.0 → 4.5.2
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/blockui/BlockUI.vue +4 -4
- package/blockui/index.mjs +4 -4
- package/blockui/index.mjs.map +1 -1
- package/contextmenu/ContextMenuSub.vue +1 -1
- package/contextmenu/index.mjs +1 -1
- package/contextmenu/index.mjs.map +1 -1
- package/datatable/DataTable.vue +10 -8
- package/datatable/index.mjs +30 -23
- package/datatable/index.mjs.map +1 -1
- package/dialog/Dialog.vue +9 -25
- package/dialog/index.mjs +1 -1
- package/dialog/index.mjs.map +1 -1
- package/dialog/style/index.mjs +1 -1
- package/dialog/style/index.mjs.map +1 -1
- package/drawer/Drawer.vue +5 -13
- package/drawer/index.mjs +1 -1
- package/drawer/index.mjs.map +1 -1
- package/drawer/style/index.mjs +1 -1
- package/drawer/style/index.mjs.map +1 -1
- package/dynamicdialogoptions/index.d.ts +2 -2
- package/galleria/Galleria.vue +3 -2
- package/galleria/index.mjs +1 -1
- package/galleria/index.mjs.map +1 -1
- package/galleria/style/index.mjs +1 -1
- package/galleria/style/index.mjs.map +1 -1
- package/image/Image.vue +9 -5
- package/image/index.mjs +1 -1
- package/image/index.mjs.map +1 -1
- package/image/style/index.mjs +1 -1
- package/image/style/index.mjs.map +1 -1
- package/package.json +4 -4
- package/select/style/index.mjs +2 -1
- package/select/style/index.mjs.map +1 -1
- package/selectbutton/SelectButton.vue +1 -1
- package/selectbutton/index.mjs +1 -1
- package/selectbutton/index.mjs.map +1 -1
- package/speeddial/SpeedDial.vue +3 -3
- package/speeddial/index.mjs +13 -6
- package/speeddial/index.mjs.map +1 -1
- package/speeddial/style/index.mjs +1 -6
- package/speeddial/style/index.mjs.map +1 -1
- package/steppanel/StepPanel.vue +7 -0
- package/steppanel/index.mjs +8 -1
- package/steppanel/index.mjs.map +1 -1
- package/tieredmenu/TieredMenuSub.vue +1 -1
- package/tieredmenu/index.mjs +1 -1
- package/tieredmenu/index.mjs.map +1 -1
- package/tree/Tree.vue +3 -3
- package/tree/TreeNode.vue +1 -1
- package/tree/index.mjs +24 -17
- package/tree/index.mjs.map +1 -1
- package/treeselect/TreeSelect.vue +3 -3
- package/treeselect/index.mjs +4 -5
- package/treeselect/index.mjs.map +1 -1
- package/treetable/TreeTable.vue +8 -6
- package/treetable/index.mjs +24 -17
- package/treetable/index.mjs.map +1 -1
- package/treetable/style/index.mjs +1 -0
- package/treetable/style/index.mjs.map +1 -1
- package/umd/primevue.min.js +1 -1
- package/web-types.json +1 -1
package/tree/Tree.vue
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div :class="cx('root')" @dragover="onDragOver" @dragenter="onDragEnter" @dragleave="onDragLeave" @drop="onDrop" :data-p="containerDataP" v-bind="ptmi('root')">
|
|
3
|
-
<
|
|
4
|
-
<div :class="cx('mask')" v-bind="ptm('mask')">
|
|
3
|
+
<transition name="p-overlay-mask">
|
|
4
|
+
<div v-if="loading && loadingMode === 'mask'" :class="cx('mask')" v-bind="ptm('mask')">
|
|
5
5
|
<slot name="loadingicon" :class="cx('loadingIcon')">
|
|
6
6
|
<i v-if="loadingIcon" :class="[cx('loadingIcon'), 'pi-spin', loadingIcon]" v-bind="ptm('loadingIcon')" />
|
|
7
7
|
<SpinnerIcon v-else spin :class="cx('loadingIcon')" v-bind="ptm('loadingIcon')" />
|
|
8
8
|
</slot>
|
|
9
9
|
</div>
|
|
10
|
-
</
|
|
10
|
+
</transition>
|
|
11
11
|
<IconField v-if="filter" :unstyled="unstyled" :pt="{ ...ptm('pcFilter'), ...ptm('pcFilterContainer') }" :class="cx('pcFilterContainer')">
|
|
12
12
|
<InputText v-model="filterValue" autocomplete="off" :class="cx('pcFilterInput')" :placeholder="filterPlaceholder" :unstyled="unstyled" @keyup="onFilterKeyup" :pt="ptm('pcFilterInput')" />
|
|
13
13
|
<InputIcon :unstyled="unstyled" :pt="ptm('pcFilterIconContainer')">
|
package/tree/TreeNode.vue
CHANGED
package/tree/index.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import InputIcon from 'primevue/inputicon';
|
|
|
7
7
|
import InputText from 'primevue/inputtext';
|
|
8
8
|
import BaseComponent from '@primevue/core/basecomponent';
|
|
9
9
|
import TreeStyle from 'primevue/tree/style';
|
|
10
|
-
import { reactive, resolveComponent, resolveDirective, createElementBlock, openBlock, mergeProps, createCommentVNode, createElementVNode, normalizeClass, withDirectives, createBlock, Fragment, resolveDynamicComponent, withCtx, withModifiers, createTextVNode, toDisplayString, renderList,
|
|
10
|
+
import { reactive, resolveComponent, resolveDirective, createElementBlock, openBlock, mergeProps, createCommentVNode, createElementVNode, normalizeClass, withDirectives, createBlock, Fragment, resolveDynamicComponent, withCtx, withModifiers, createTextVNode, toDisplayString, renderList, createVNode, Transition, renderSlot } from 'vue';
|
|
11
11
|
import CheckIcon from '@primevue/icons/check';
|
|
12
12
|
import ChevronDownIcon from '@primevue/icons/chevrondown';
|
|
13
13
|
import ChevronRightIcon from '@primevue/icons/chevronright';
|
|
@@ -194,7 +194,7 @@ var script$1 = {
|
|
|
194
194
|
"default": null
|
|
195
195
|
},
|
|
196
196
|
rootNodes: {
|
|
197
|
-
type:
|
|
197
|
+
type: Object,
|
|
198
198
|
"default": null
|
|
199
199
|
},
|
|
200
200
|
expandedKeys: {
|
|
@@ -1463,22 +1463,29 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1463
1463
|
return $options.onDrop && $options.onDrop.apply($options, arguments);
|
|
1464
1464
|
}),
|
|
1465
1465
|
"data-p": $options.containerDataP
|
|
1466
|
-
}, _ctx.ptmi('root')), [
|
|
1466
|
+
}, _ctx.ptmi('root')), [createVNode(Transition, {
|
|
1467
|
+
name: "p-overlay-mask"
|
|
1468
|
+
}, {
|
|
1469
|
+
"default": withCtx(function () {
|
|
1470
|
+
return [_ctx.loading && _ctx.loadingMode === 'mask' ? (openBlock(), createElementBlock("div", mergeProps({
|
|
1471
|
+
key: 0,
|
|
1472
|
+
"class": _ctx.cx('mask')
|
|
1473
|
+
}, _ctx.ptm('mask')), [renderSlot(_ctx.$slots, "loadingicon", {
|
|
1474
|
+
"class": normalizeClass(_ctx.cx('loadingIcon'))
|
|
1475
|
+
}, function () {
|
|
1476
|
+
return [_ctx.loadingIcon ? (openBlock(), createElementBlock("i", mergeProps({
|
|
1477
|
+
key: 0,
|
|
1478
|
+
"class": [_ctx.cx('loadingIcon'), 'pi-spin', _ctx.loadingIcon]
|
|
1479
|
+
}, _ctx.ptm('loadingIcon')), null, 16)) : (openBlock(), createBlock(_component_SpinnerIcon, mergeProps({
|
|
1480
|
+
key: 1,
|
|
1481
|
+
spin: "",
|
|
1482
|
+
"class": _ctx.cx('loadingIcon')
|
|
1483
|
+
}, _ctx.ptm('loadingIcon')), null, 16, ["class"]))];
|
|
1484
|
+
})], 16)) : createCommentVNode("", true)];
|
|
1485
|
+
}),
|
|
1486
|
+
_: 3
|
|
1487
|
+
}), _ctx.filter ? (openBlock(), createBlock(_component_IconField, {
|
|
1467
1488
|
key: 0,
|
|
1468
|
-
"class": _ctx.cx('mask')
|
|
1469
|
-
}, _ctx.ptm('mask')), [renderSlot(_ctx.$slots, "loadingicon", {
|
|
1470
|
-
"class": normalizeClass(_ctx.cx('loadingIcon'))
|
|
1471
|
-
}, function () {
|
|
1472
|
-
return [_ctx.loadingIcon ? (openBlock(), createElementBlock("i", mergeProps({
|
|
1473
|
-
key: 0,
|
|
1474
|
-
"class": [_ctx.cx('loadingIcon'), 'pi-spin', _ctx.loadingIcon]
|
|
1475
|
-
}, _ctx.ptm('loadingIcon')), null, 16)) : (openBlock(), createBlock(_component_SpinnerIcon, mergeProps({
|
|
1476
|
-
key: 1,
|
|
1477
|
-
spin: "",
|
|
1478
|
-
"class": _ctx.cx('loadingIcon')
|
|
1479
|
-
}, _ctx.ptm('loadingIcon')), null, 16, ["class"]))];
|
|
1480
|
-
})], 16)) : createCommentVNode("", true), _ctx.filter ? (openBlock(), createBlock(_component_IconField, {
|
|
1481
|
-
key: 1,
|
|
1482
1489
|
unstyled: _ctx.unstyled,
|
|
1483
1490
|
pt: _objectSpread(_objectSpread({}, _ctx.ptm('pcFilter')), _ctx.ptm('pcFilterContainer')),
|
|
1484
1491
|
"class": normalizeClass(_ctx.cx('pcFilterContainer'))
|