primevue 4.3.4 → 4.3.5
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/accordion/index.mjs +4 -2
- package/accordion/index.mjs.map +1 -1
- package/autocomplete/index.mjs +8 -4
- package/autocomplete/index.mjs.map +1 -1
- package/breadcrumb/index.mjs +4 -2
- package/breadcrumb/index.mjs.map +1 -1
- package/carousel/index.mjs +10 -5
- package/carousel/index.mjs.map +1 -1
- package/cascadeselect/index.mjs +10 -5
- package/cascadeselect/index.mjs.map +1 -1
- package/contextmenu/index.mjs +16 -8
- package/contextmenu/index.mjs.map +1 -1
- package/datatable/DataTable.vue +7 -3
- package/datatable/index.mjs +37 -29
- package/datatable/index.mjs.map +1 -1
- package/datepicker/index.mjs +54 -25
- package/datepicker/index.mjs.map +1 -1
- package/dock/index.mjs +8 -4
- package/dock/index.mjs.map +1 -1
- package/dynamicdialog/index.mjs +6 -3
- package/dynamicdialog/index.mjs.map +1 -1
- package/fileupload/index.mjs +14 -7
- package/fileupload/index.mjs.map +1 -1
- package/floatlabel/index.d.ts +1 -1
- package/galleria/index.mjs +8 -4
- package/galleria/index.mjs.map +1 -1
- package/inputchips/index.mjs +2 -1
- package/inputchips/index.mjs.map +1 -1
- package/listbox/index.mjs +8 -4
- package/listbox/index.mjs.map +1 -1
- package/megamenu/index.mjs +22 -11
- package/megamenu/index.mjs.map +1 -1
- package/menu/index.mjs +6 -3
- package/menu/index.mjs.map +1 -1
- package/menubar/index.mjs +14 -7
- package/menubar/index.mjs.map +1 -1
- package/metergroup/index.mjs +10 -5
- package/metergroup/index.mjs.map +1 -1
- package/multiselect/index.mjs +8 -4
- package/multiselect/index.mjs.map +1 -1
- package/organizationchart/index.mjs +6 -3
- package/organizationchart/index.mjs.map +1 -1
- package/package.json +4 -4
- package/paginator/index.mjs +10 -4
- package/paginator/index.mjs.map +1 -1
- package/panelmenu/index.mjs +42 -21
- package/panelmenu/index.mjs.map +1 -1
- package/password/Password.vue +1 -0
- package/password/index.mjs +4 -1
- package/password/index.mjs.map +1 -1
- package/rating/index.mjs +10 -5
- package/rating/index.mjs.map +1 -1
- package/select/Select.vue +1 -2
- package/select/index.mjs +13 -7
- package/select/index.mjs.map +1 -1
- package/speeddial/index.mjs +6 -3
- package/speeddial/index.mjs.map +1 -1
- package/splitter/Splitter.vue +1 -1
- package/splitter/index.mjs +5 -2
- package/splitter/index.mjs.map +1 -1
- package/steps/index.mjs +8 -4
- package/steps/index.mjs.map +1 -1
- package/tabmenu/index.mjs +8 -2
- package/tabmenu/index.mjs.map +1 -1
- package/tabview/index.mjs +8 -4
- package/tabview/index.mjs.map +1 -1
- package/terminal/index.mjs +8 -4
- package/terminal/index.mjs.map +1 -1
- package/tieredmenu/index.mjs +18 -9
- package/tieredmenu/index.mjs.map +1 -1
- package/timeline/index.mjs +12 -6
- package/timeline/index.mjs.map +1 -1
- package/toast/ToastMessage.vue +1 -1
- package/toast/index.mjs +1 -1
- package/toast/index.mjs.map +1 -1
- package/toggleswitch/style/index.d.ts +1 -5
- package/treeselect/index.mjs +2 -1
- package/treeselect/index.mjs.map +1 -1
- package/treetable/index.mjs +2 -1
- package/treetable/index.mjs.map +1 -1
- package/umd/primevue.min.js +94 -94
- package/virtualscroller/VirtualScroller.vue +4 -1
- package/virtualscroller/index.mjs +3 -1
- package/virtualscroller/index.mjs.map +1 -1
- package/web-types.json +1 -1
package/panelmenu/index.mjs
CHANGED
|
@@ -196,7 +196,8 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
196
196
|
"aria-expanded": $options.isItemGroup(processedItem) ? $options.isItemActive(processedItem) : undefined,
|
|
197
197
|
"aria-level": $props.level + 1,
|
|
198
198
|
"aria-setsize": $options.getAriaSetSize(),
|
|
199
|
-
"aria-posinset": $options.getAriaPosInset(index)
|
|
199
|
+
"aria-posinset": $options.getAriaPosInset(index)
|
|
200
|
+
}, {
|
|
200
201
|
ref_for: true
|
|
201
202
|
}, $options.getPTOptions('item', processedItem, index), {
|
|
202
203
|
"data-p-focused": $options.isItemFocused(processedItem),
|
|
@@ -208,25 +209,29 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
208
209
|
},
|
|
209
210
|
onMousemove: function onMousemove($event) {
|
|
210
211
|
return $options.onItemMouseMove($event, processedItem);
|
|
211
|
-
}
|
|
212
|
+
}
|
|
213
|
+
}, {
|
|
212
214
|
ref_for: true
|
|
213
215
|
}, $options.getPTOptions('itemContent', processedItem, index)), [!$props.templates.item ? withDirectives((openBlock(), createElementBlock("a", mergeProps({
|
|
214
216
|
key: 0,
|
|
215
217
|
href: $options.getItemProp(processedItem, 'url'),
|
|
216
218
|
"class": _ctx.cx('itemLink'),
|
|
217
219
|
target: $options.getItemProp(processedItem, 'target'),
|
|
218
|
-
tabindex: "-1"
|
|
220
|
+
tabindex: "-1"
|
|
221
|
+
}, {
|
|
219
222
|
ref_for: true
|
|
220
223
|
}, $options.getPTOptions('itemLink', processedItem, index)), [$options.isItemGroup(processedItem) ? (openBlock(), createElementBlock(Fragment, {
|
|
221
224
|
key: 0
|
|
222
225
|
}, [$props.templates.submenuicon ? (openBlock(), createBlock(resolveDynamicComponent($props.templates.submenuicon), mergeProps({
|
|
223
226
|
key: 0,
|
|
224
227
|
"class": _ctx.cx('submenuIcon'),
|
|
225
|
-
active: $options.isItemActive(processedItem)
|
|
228
|
+
active: $options.isItemActive(processedItem)
|
|
229
|
+
}, {
|
|
226
230
|
ref_for: true
|
|
227
231
|
}, $options.getPTOptions('submenuIcon', processedItem, index)), null, 16, ["class", "active"])) : (openBlock(), createBlock(resolveDynamicComponent($options.isItemActive(processedItem) ? 'ChevronDownIcon' : 'ChevronRightIcon'), mergeProps({
|
|
228
232
|
key: 1,
|
|
229
|
-
"class": _ctx.cx('submenuIcon')
|
|
233
|
+
"class": _ctx.cx('submenuIcon')
|
|
234
|
+
}, {
|
|
230
235
|
ref_for: true
|
|
231
236
|
}, $options.getPTOptions('submenuIcon', processedItem, index)), null, 16, ["class"]))], 64)) : createCommentVNode("", true), $props.templates.itemicon ? (openBlock(), createBlock(resolveDynamicComponent($props.templates.itemicon), {
|
|
232
237
|
key: 1,
|
|
@@ -234,10 +239,12 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
234
239
|
"class": normalizeClass(_ctx.cx('itemIcon'))
|
|
235
240
|
}, null, 8, ["item", "class"])) : $options.getItemProp(processedItem, 'icon') ? (openBlock(), createElementBlock("span", mergeProps({
|
|
236
241
|
key: 2,
|
|
237
|
-
"class": [_ctx.cx('itemIcon'), $options.getItemProp(processedItem, 'icon')]
|
|
242
|
+
"class": [_ctx.cx('itemIcon'), $options.getItemProp(processedItem, 'icon')]
|
|
243
|
+
}, {
|
|
238
244
|
ref_for: true
|
|
239
245
|
}, $options.getPTOptions('itemIcon', processedItem, index)), null, 16)) : createCommentVNode("", true), createElementVNode("span", mergeProps({
|
|
240
|
-
"class": _ctx.cx('itemLabel')
|
|
246
|
+
"class": _ctx.cx('itemLabel')
|
|
247
|
+
}, {
|
|
241
248
|
ref_for: true
|
|
242
249
|
}, $options.getPTOptions('itemLabel', processedItem, index)), toDisplayString($options.getItemLabel(processedItem)), 17)], 16, _hoisted_4$1)), [[_directive_ripple]]) : (openBlock(), createBlock(resolveDynamicComponent($props.templates.item), {
|
|
243
250
|
key: 1,
|
|
@@ -248,12 +255,14 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
248
255
|
label: $options.getItemLabel(processedItem),
|
|
249
256
|
props: $options.getMenuItemProps(processedItem, index)
|
|
250
257
|
}, null, 8, ["item", "active", "hasSubmenu", "label", "props"]))], 16, _hoisted_3$1), createVNode(Transition, mergeProps({
|
|
251
|
-
name: "p-toggleable-content"
|
|
258
|
+
name: "p-toggleable-content"
|
|
259
|
+
}, {
|
|
252
260
|
ref_for: true
|
|
253
261
|
}, _ctx.ptm('transition')), {
|
|
254
262
|
"default": withCtx(function () {
|
|
255
263
|
return [withDirectives(createElementVNode("div", mergeProps({
|
|
256
|
-
"class": _ctx.cx('contentContainer')
|
|
264
|
+
"class": _ctx.cx('contentContainer')
|
|
265
|
+
}, {
|
|
257
266
|
ref_for: true
|
|
258
267
|
}, _ctx.ptm('contentContainer')), [$options.isItemVisible(processedItem) && $options.isItemGroup(processedItem) ? (openBlock(), createBlock(_component_PanelMenuSub, mergeProps({
|
|
259
268
|
key: 0,
|
|
@@ -270,7 +279,8 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
270
279
|
return _ctx.$emit('item-mousemove', $event);
|
|
271
280
|
}),
|
|
272
281
|
pt: _ctx.pt,
|
|
273
|
-
unstyled: _ctx.unstyled
|
|
282
|
+
unstyled: _ctx.unstyled
|
|
283
|
+
}, {
|
|
274
284
|
ref_for: true
|
|
275
285
|
}, _ctx.ptm('submenu')), null, 16, ["id", "panelId", "focusedItemId", "items", "level", "templates", "activeItemPath", "onItemToggle", "pt", "unstyled"])) : createCommentVNode("", true)], 16), [[vShow, $options.isItemActive(processedItem)]])];
|
|
276
286
|
}),
|
|
@@ -279,7 +289,8 @@ function render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
279
289
|
key: 1,
|
|
280
290
|
style: $options.getItemProp(processedItem, 'style'),
|
|
281
291
|
"class": [_ctx.cx('separator'), $options.getItemProp(processedItem, 'class')],
|
|
282
|
-
role: "separator"
|
|
292
|
+
role: "separator"
|
|
293
|
+
}, {
|
|
283
294
|
ref_for: true
|
|
284
295
|
}, _ctx.ptm('separator')), null, 16)) : createCommentVNode("", true)], 64);
|
|
285
296
|
}), 128))], 10, _hoisted_1$1);
|
|
@@ -952,7 +963,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
952
963
|
}, [$options.isItemVisible(item) ? (openBlock(), createElementBlock("div", mergeProps({
|
|
953
964
|
key: 0,
|
|
954
965
|
style: $options.getItemProp(item, 'style'),
|
|
955
|
-
"class": [_ctx.cx('panel'), $options.getItemProp(item, 'class')]
|
|
966
|
+
"class": [_ctx.cx('panel'), $options.getItemProp(item, 'class')]
|
|
967
|
+
}, {
|
|
956
968
|
ref_for: true
|
|
957
969
|
}, _ctx.ptm('panel')), [createElementVNode("div", mergeProps({
|
|
958
970
|
id: $options.getHeaderId(index),
|
|
@@ -970,26 +982,30 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
970
982
|
},
|
|
971
983
|
onKeydown: function onKeydown($event) {
|
|
972
984
|
return $options.onHeaderKeyDown($event, item);
|
|
973
|
-
}
|
|
985
|
+
}
|
|
986
|
+
}, {
|
|
974
987
|
ref_for: true
|
|
975
988
|
}, $options.getPTOptions('header', item, index), {
|
|
976
989
|
"data-p-active": $options.isItemActive(item),
|
|
977
990
|
"data-p-disabled": $options.isItemDisabled(item)
|
|
978
991
|
}), [createElementVNode("div", mergeProps({
|
|
979
|
-
"class": _ctx.cx('headerContent')
|
|
992
|
+
"class": _ctx.cx('headerContent')
|
|
993
|
+
}, {
|
|
980
994
|
ref_for: true
|
|
981
995
|
}, $options.getPTOptions('headerContent', item, index)), [!_ctx.$slots.item ? (openBlock(), createElementBlock("a", mergeProps({
|
|
982
996
|
key: 0,
|
|
983
997
|
href: $options.getItemProp(item, 'url'),
|
|
984
998
|
"class": _ctx.cx('headerLink'),
|
|
985
|
-
tabindex: -1
|
|
999
|
+
tabindex: -1
|
|
1000
|
+
}, {
|
|
986
1001
|
ref_for: true
|
|
987
1002
|
}, $options.getPTOptions('headerLink', item, index)), [$options.getItemProp(item, 'items') ? renderSlot(_ctx.$slots, "submenuicon", {
|
|
988
1003
|
key: 0,
|
|
989
1004
|
active: $options.isItemActive(item)
|
|
990
1005
|
}, function () {
|
|
991
1006
|
return [(openBlock(), createBlock(resolveDynamicComponent($options.isItemActive(item) ? 'ChevronDownIcon' : 'ChevronRightIcon'), mergeProps({
|
|
992
|
-
"class": _ctx.cx('submenuIcon')
|
|
1007
|
+
"class": _ctx.cx('submenuIcon')
|
|
1008
|
+
}, {
|
|
993
1009
|
ref_for: true
|
|
994
1010
|
}, $options.getPTOptions('submenuIcon', item, index)), null, 16, ["class"]))];
|
|
995
1011
|
}) : createCommentVNode("", true), _ctx.$slots.headericon ? (openBlock(), createBlock(resolveDynamicComponent(_ctx.$slots.headericon), {
|
|
@@ -998,10 +1014,12 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
998
1014
|
"class": normalizeClass([_ctx.cx('headerIcon'), $options.getItemProp(item, 'icon')])
|
|
999
1015
|
}, null, 8, ["item", "class"])) : $options.getItemProp(item, 'icon') ? (openBlock(), createElementBlock("span", mergeProps({
|
|
1000
1016
|
key: 2,
|
|
1001
|
-
"class": [_ctx.cx('headerIcon'), $options.getItemProp(item, 'icon')]
|
|
1017
|
+
"class": [_ctx.cx('headerIcon'), $options.getItemProp(item, 'icon')]
|
|
1018
|
+
}, {
|
|
1002
1019
|
ref_for: true
|
|
1003
1020
|
}, $options.getPTOptions('headerIcon', item, index)), null, 16)) : createCommentVNode("", true), createElementVNode("span", mergeProps({
|
|
1004
|
-
"class": _ctx.cx('headerLabel')
|
|
1021
|
+
"class": _ctx.cx('headerLabel')
|
|
1022
|
+
}, {
|
|
1005
1023
|
ref_for: true
|
|
1006
1024
|
}, $options.getPTOptions('headerLabel', item, index)), toDisplayString($options.getItemLabel(item)), 17)], 16, _hoisted_3)) : (openBlock(), createBlock(resolveDynamicComponent(_ctx.$slots.item), {
|
|
1007
1025
|
key: 1,
|
|
@@ -1012,7 +1030,8 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1012
1030
|
label: $options.getItemLabel(item),
|
|
1013
1031
|
props: $options.getMenuItemProps(item, index)
|
|
1014
1032
|
}, null, 8, ["item", "active", "hasSubmenu", "label", "props"]))], 16)], 16, _hoisted_2), createVNode(Transition, mergeProps({
|
|
1015
|
-
name: "p-toggleable-content"
|
|
1033
|
+
name: "p-toggleable-content"
|
|
1034
|
+
}, {
|
|
1016
1035
|
ref_for: true
|
|
1017
1036
|
}, _ctx.ptm('transition')), {
|
|
1018
1037
|
"default": withCtx(function () {
|
|
@@ -1020,11 +1039,13 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1020
1039
|
id: $options.getContentId(index),
|
|
1021
1040
|
"class": _ctx.cx('contentContainer'),
|
|
1022
1041
|
role: "region",
|
|
1023
|
-
"aria-labelledby": $options.getHeaderId(index)
|
|
1042
|
+
"aria-labelledby": $options.getHeaderId(index)
|
|
1043
|
+
}, {
|
|
1024
1044
|
ref_for: true
|
|
1025
1045
|
}, _ctx.ptm('contentContainer')), [$options.getItemProp(item, 'items') ? (openBlock(), createElementBlock("div", mergeProps({
|
|
1026
1046
|
key: 0,
|
|
1027
|
-
"class": _ctx.cx('content')
|
|
1047
|
+
"class": _ctx.cx('content')
|
|
1048
|
+
}, {
|
|
1028
1049
|
ref_for: true
|
|
1029
1050
|
}, _ctx.ptm('content')), [createVNode(_component_PanelMenuList, {
|
|
1030
1051
|
panelId: $options.getPanelId(index),
|