primereact 10.0.2 → 10.0.4
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/README.md +1 -4
- package/autocomplete/autocomplete.cjs.js +4 -2
- package/autocomplete/autocomplete.cjs.min.js +1 -1
- package/autocomplete/autocomplete.esm.js +4 -2
- package/autocomplete/autocomplete.esm.min.js +1 -1
- package/autocomplete/autocomplete.js +4 -2
- package/autocomplete/autocomplete.min.js +1 -1
- package/blockui/blockui.cjs.js +3 -6
- package/blockui/blockui.cjs.min.js +1 -1
- package/blockui/blockui.esm.js +3 -6
- package/blockui/blockui.esm.min.js +1 -1
- package/blockui/blockui.js +3 -6
- package/blockui/blockui.min.js +1 -1
- package/calendar/calendar.cjs.js +11 -11
- package/calendar/calendar.cjs.min.js +1 -1
- package/calendar/calendar.esm.js +11 -11
- package/calendar/calendar.esm.min.js +1 -1
- package/calendar/calendar.js +11 -11
- package/calendar/calendar.min.js +1 -1
- package/carousel/carousel.cjs.js +3 -1
- package/carousel/carousel.cjs.min.js +1 -1
- package/carousel/carousel.esm.js +3 -1
- package/carousel/carousel.esm.min.js +1 -1
- package/carousel/carousel.js +3 -1
- package/carousel/carousel.min.js +1 -1
- package/checkbox/checkbox.d.ts +5 -5
- package/componentbase/componentbase.d.ts +8 -0
- package/contextmenu/contextmenu.cjs.js +4 -1
- package/contextmenu/contextmenu.cjs.min.js +1 -1
- package/contextmenu/contextmenu.esm.js +4 -1
- package/contextmenu/contextmenu.esm.min.js +1 -1
- package/contextmenu/contextmenu.js +4 -1
- package/contextmenu/contextmenu.min.js +1 -1
- package/core/core.js +288 -31
- package/core/core.min.js +8 -8
- package/datatable/datatable.cjs.js +92 -41
- package/datatable/datatable.cjs.min.js +1 -1
- package/datatable/datatable.d.ts +27 -0
- package/datatable/datatable.esm.js +92 -41
- package/datatable/datatable.esm.min.js +1 -1
- package/datatable/datatable.js +92 -41
- package/datatable/datatable.min.js +1 -1
- package/dataview/dataview.cjs.js +24 -22
- package/dataview/dataview.cjs.min.js +1 -1
- package/dataview/dataview.esm.js +24 -22
- package/dataview/dataview.esm.min.js +1 -1
- package/dataview/dataview.js +24 -22
- package/dataview/dataview.min.js +1 -1
- package/dialog/dialog.cjs.js +2 -4
- package/dialog/dialog.cjs.min.js +1 -1
- package/dialog/dialog.esm.js +2 -4
- package/dialog/dialog.esm.min.js +1 -1
- package/dialog/dialog.js +2 -4
- package/dialog/dialog.min.js +1 -1
- package/dropdown/dropdown.cjs.js +29 -17
- package/dropdown/dropdown.cjs.min.js +1 -1
- package/dropdown/dropdown.esm.js +29 -17
- package/dropdown/dropdown.esm.min.js +1 -1
- package/dropdown/dropdown.js +29 -17
- package/dropdown/dropdown.min.js +1 -1
- package/editor/editor.cjs.js +1 -1
- package/editor/editor.cjs.min.js +1 -1
- package/editor/editor.esm.js +1 -1
- package/editor/editor.esm.min.js +1 -1
- package/editor/editor.js +1 -1
- package/editor/editor.min.js +1 -1
- package/fieldset/fieldset.cjs.js +2 -2
- package/fieldset/fieldset.cjs.min.js +1 -1
- package/fieldset/fieldset.esm.js +2 -2
- package/fieldset/fieldset.esm.min.js +1 -1
- package/fieldset/fieldset.js +3 -3
- package/fieldset/fieldset.min.js +1 -1
- package/galleria/galleria.cjs.js +3 -5
- package/galleria/galleria.cjs.min.js +1 -1
- package/galleria/galleria.esm.js +3 -5
- package/galleria/galleria.esm.min.js +1 -1
- package/galleria/galleria.js +3 -5
- package/galleria/galleria.min.js +1 -1
- package/hooks/hooks.cjs.js +2 -1
- package/hooks/hooks.cjs.min.js +1 -1
- package/hooks/hooks.d.ts +1 -1
- package/hooks/hooks.esm.js +2 -1
- package/hooks/hooks.esm.min.js +1 -1
- package/hooks/hooks.js +2 -1
- package/hooks/hooks.min.js +1 -1
- package/icons/arrowdown/index.cjs.js +7 -0
- package/icons/arrowdown/index.esm.js +7 -0
- package/icons/arrowdown/index.js +7 -0
- package/icons/arrowup/index.cjs.js +7 -0
- package/icons/arrowup/index.esm.js +7 -0
- package/icons/arrowup/index.js +7 -0
- package/icons/ban/index.cjs.js +7 -0
- package/icons/ban/index.esm.js +7 -0
- package/icons/ban/index.js +7 -0
- package/icons/download/index.cjs.js +7 -0
- package/icons/download/index.esm.js +7 -0
- package/icons/download/index.js +7 -0
- package/icons/exclamationtriangle/index.cjs.js +7 -0
- package/icons/exclamationtriangle/index.esm.js +7 -0
- package/icons/exclamationtriangle/index.js +7 -0
- package/icons/eyeslash/index.cjs.js +7 -0
- package/icons/eyeslash/index.esm.js +7 -0
- package/icons/eyeslash/index.js +7 -0
- package/icons/filter/index.cjs.js +7 -0
- package/icons/filter/index.esm.js +7 -0
- package/icons/filter/index.js +7 -0
- package/icons/filterslash/index.cjs.js +7 -0
- package/icons/filterslash/index.esm.js +7 -0
- package/icons/filterslash/index.js +7 -0
- package/icons/infocircle/index.cjs.js +7 -0
- package/icons/infocircle/index.esm.js +7 -0
- package/icons/infocircle/index.js +7 -0
- package/icons/pencil/index.cjs.js +7 -0
- package/icons/pencil/index.esm.js +7 -0
- package/icons/pencil/index.js +7 -0
- package/icons/plus/index.cjs.js +7 -0
- package/icons/plus/index.esm.js +7 -0
- package/icons/plus/index.js +7 -0
- package/icons/refresh/index.cjs.js +7 -0
- package/icons/refresh/index.esm.js +7 -0
- package/icons/refresh/index.js +7 -0
- package/icons/search/index.cjs.js +7 -0
- package/icons/search/index.esm.js +7 -0
- package/icons/search/index.js +7 -0
- package/icons/searchminus/index.cjs.js +7 -0
- package/icons/searchminus/index.esm.js +7 -0
- package/icons/searchminus/index.js +7 -0
- package/icons/searchplus/index.cjs.js +7 -0
- package/icons/searchplus/index.esm.js +7 -0
- package/icons/searchplus/index.js +7 -0
- package/icons/sortalt/index.cjs.js +7 -0
- package/icons/sortalt/index.esm.js +7 -0
- package/icons/sortalt/index.js +7 -0
- package/icons/sortamountdown/index.cjs.js +7 -0
- package/icons/sortamountdown/index.esm.js +7 -0
- package/icons/sortamountdown/index.js +7 -0
- package/icons/sortamountupalt/index.cjs.js +7 -0
- package/icons/sortamountupalt/index.esm.js +7 -0
- package/icons/sortamountupalt/index.js +7 -0
- package/icons/spinner/index.cjs.js +7 -0
- package/icons/spinner/index.esm.js +7 -0
- package/icons/spinner/index.js +7 -0
- package/icons/star/index.cjs.js +7 -0
- package/icons/star/index.esm.js +7 -0
- package/icons/star/index.js +7 -0
- package/icons/starfill/index.cjs.js +7 -0
- package/icons/starfill/index.esm.js +7 -0
- package/icons/starfill/index.js +7 -0
- package/icons/thlarge/index.cjs.js +7 -0
- package/icons/thlarge/index.esm.js +7 -0
- package/icons/thlarge/index.js +7 -0
- package/icons/timescircle/index.cjs.js +7 -0
- package/icons/timescircle/index.esm.js +7 -0
- package/icons/timescircle/index.js +7 -0
- package/icons/trash/index.cjs.js +7 -0
- package/icons/trash/index.esm.js +7 -0
- package/icons/trash/index.js +7 -0
- package/icons/undo/index.cjs.js +7 -0
- package/icons/undo/index.esm.js +7 -0
- package/icons/undo/index.js +7 -0
- package/icons/upload/index.cjs.js +7 -0
- package/icons/upload/index.esm.js +7 -0
- package/icons/upload/index.js +7 -0
- package/icons/windowmaximize/index.cjs.js +7 -0
- package/icons/windowmaximize/index.esm.js +7 -0
- package/icons/windowmaximize/index.js +7 -0
- package/icons/windowminimize/index.cjs.js +7 -0
- package/icons/windowminimize/index.esm.js +7 -0
- package/icons/windowminimize/index.js +7 -0
- package/image/image.cjs.js +111 -106
- package/image/image.cjs.min.js +1 -1
- package/image/image.esm.js +111 -106
- package/image/image.esm.min.js +1 -1
- package/image/image.js +112 -107
- package/image/image.min.js +1 -1
- package/inputnumber/inputnumber.cjs.js +7 -4
- package/inputnumber/inputnumber.cjs.min.js +1 -1
- package/inputnumber/inputnumber.esm.js +7 -4
- package/inputnumber/inputnumber.esm.min.js +1 -1
- package/inputnumber/inputnumber.js +7 -4
- package/inputnumber/inputnumber.min.js +1 -1
- package/menu/menu.cjs.js +105 -1
- package/menu/menu.cjs.min.js +1 -1
- package/menu/menu.d.ts +5 -0
- package/menu/menu.esm.js +108 -4
- package/menu/menu.esm.min.js +1 -1
- package/menu/menu.js +105 -1
- package/menu/menu.min.js +1 -1
- package/message/message.cjs.js +1 -1
- package/message/message.cjs.min.js +1 -1
- package/message/message.esm.js +1 -1
- package/message/message.esm.min.js +1 -1
- package/message/message.js +1 -1
- package/message/message.min.js +1 -1
- package/messages/messages.cjs.js +4 -2
- package/messages/messages.cjs.min.js +1 -1
- package/messages/messages.esm.js +5 -3
- package/messages/messages.esm.min.js +1 -1
- package/messages/messages.js +4 -2
- package/messages/messages.min.js +1 -1
- package/multiselect/multiselect.cjs.js +26 -12
- package/multiselect/multiselect.cjs.min.js +1 -1
- package/multiselect/multiselect.d.ts +4 -0
- package/multiselect/multiselect.esm.js +26 -12
- package/multiselect/multiselect.esm.min.js +1 -1
- package/multiselect/multiselect.js +26 -12
- package/multiselect/multiselect.min.js +1 -1
- package/orderlist/orderlist.cjs.js +32 -34
- package/orderlist/orderlist.cjs.min.js +1 -1
- package/orderlist/orderlist.esm.js +32 -34
- package/orderlist/orderlist.esm.min.js +1 -1
- package/orderlist/orderlist.js +32 -34
- package/orderlist/orderlist.min.js +1 -1
- package/package.json +1 -1
- package/panel/panel.cjs.js +2 -2
- package/panel/panel.cjs.min.js +1 -1
- package/panel/panel.esm.js +2 -2
- package/panel/panel.esm.min.js +1 -1
- package/panel/panel.js +3 -3
- package/panel/panel.min.js +1 -1
- package/passthrough/tailwind/index.cjs.js +436 -373
- package/passthrough/tailwind/index.cjs.min.js +1 -1
- package/passthrough/tailwind/index.esm.js +436 -373
- package/passthrough/tailwind/index.esm.min.js +1 -1
- package/passthrough/tailwind/index.js +436 -373
- package/passthrough/tailwind/index.min.js +1 -1
- package/primereact.all.cjs.js +330 -191
- package/primereact.all.cjs.min.js +1 -1
- package/primereact.all.esm.js +330 -191
- package/primereact.all.esm.min.js +1 -1
- package/primereact.all.js +330 -191
- package/primereact.all.min.js +1 -1
- package/progressbar/progressbar.cjs.js +1 -1
- package/progressbar/progressbar.cjs.min.js +1 -1
- package/progressbar/progressbar.esm.js +1 -1
- package/progressbar/progressbar.esm.min.js +1 -1
- package/progressbar/progressbar.js +1 -1
- package/progressbar/progressbar.min.js +1 -1
- package/radiobutton/radiobutton.d.ts +3 -3
- package/resources/themes/arya-blue/theme.css +397 -518
- package/resources/themes/arya-green/theme.css +397 -518
- package/resources/themes/arya-orange/theme.css +397 -518
- package/resources/themes/arya-purple/theme.css +397 -518
- package/resources/themes/bootstrap4-dark-blue/theme.css +398 -518
- package/resources/themes/bootstrap4-dark-purple/theme.css +398 -518
- package/resources/themes/bootstrap4-light-blue/theme.css +398 -518
- package/resources/themes/bootstrap4-light-purple/theme.css +398 -518
- package/resources/themes/fluent-light/theme.css +424 -529
- package/resources/themes/lara-dark-blue/theme.css +402 -518
- package/resources/themes/lara-dark-indigo/theme.css +402 -518
- package/resources/themes/lara-dark-purple/theme.css +402 -518
- package/resources/themes/lara-dark-teal/theme.css +402 -518
- package/resources/themes/lara-light-blue/theme.css +571 -687
- package/resources/themes/lara-light-indigo/theme.css +409 -525
- package/resources/themes/lara-light-purple/theme.css +409 -525
- package/resources/themes/lara-light-teal/theme.css +409 -525
- package/resources/themes/luna-amber/theme.css +411 -531
- package/resources/themes/luna-blue/theme.css +411 -531
- package/resources/themes/luna-green/theme.css +411 -531
- package/resources/themes/luna-pink/theme.css +411 -531
- package/resources/themes/md-dark-deeppurple/theme.css +669 -739
- package/resources/themes/md-dark-indigo/theme.css +669 -739
- package/resources/themes/md-light-deeppurple/theme.css +574 -644
- package/resources/themes/md-light-indigo/theme.css +574 -644
- package/resources/themes/mdc-dark-deeppurple/theme.css +669 -739
- package/resources/themes/mdc-dark-indigo/theme.css +669 -739
- package/resources/themes/mdc-light-deeppurple/theme.css +574 -644
- package/resources/themes/mdc-light-indigo/theme.css +574 -644
- package/resources/themes/mira/theme.css +435 -525
- package/resources/themes/nano/theme.css +395 -518
- package/resources/themes/nova/theme.css +399 -518
- package/resources/themes/nova-accent/theme.css +396 -518
- package/resources/themes/nova-alt/theme.css +399 -518
- package/resources/themes/rhea/theme.css +396 -518
- package/resources/themes/saga-blue/theme.css +397 -518
- package/resources/themes/saga-green/theme.css +397 -518
- package/resources/themes/saga-orange/theme.css +397 -518
- package/resources/themes/saga-purple/theme.css +397 -518
- package/resources/themes/soho-dark/theme.css +428 -546
- package/resources/themes/soho-light/theme.css +407 -523
- package/resources/themes/tailwind-light/theme.css +432 -547
- package/resources/themes/vela-blue/theme.css +397 -518
- package/resources/themes/vela-green/theme.css +397 -518
- package/resources/themes/vela-orange/theme.css +397 -518
- package/resources/themes/vela-purple/theme.css +397 -518
- package/resources/themes/viva-dark/theme.css +421 -523
- package/resources/themes/viva-light/theme.css +421 -523
- package/scrollpanel/scrollpanel.cjs.js +33 -17
- package/scrollpanel/scrollpanel.cjs.min.js +1 -1
- package/scrollpanel/scrollpanel.esm.js +19 -3
- package/scrollpanel/scrollpanel.esm.min.js +1 -1
- package/scrollpanel/scrollpanel.js +226 -210
- package/scrollpanel/scrollpanel.min.js +1 -1
- package/selectbutton/selectbutton.cjs.js +3 -2
- package/selectbutton/selectbutton.cjs.min.js +1 -1
- package/selectbutton/selectbutton.d.ts +6 -0
- package/selectbutton/selectbutton.esm.js +3 -2
- package/selectbutton/selectbutton.esm.min.js +1 -1
- package/selectbutton/selectbutton.js +4 -3
- package/selectbutton/selectbutton.min.js +1 -1
- package/sidebar/sidebar.cjs.js +87 -89
- package/sidebar/sidebar.cjs.min.js +1 -1
- package/sidebar/sidebar.esm.js +87 -89
- package/sidebar/sidebar.esm.min.js +1 -1
- package/sidebar/sidebar.js +88 -90
- package/sidebar/sidebar.min.js +1 -1
- package/slider/slider.cjs.js +3 -3
- package/slider/slider.cjs.min.js +1 -1
- package/slider/slider.esm.js +3 -3
- package/slider/slider.esm.min.js +1 -1
- package/slider/slider.js +3 -3
- package/slider/slider.min.js +1 -1
- package/toast/toast.cjs.js +7 -5
- package/toast/toast.cjs.min.js +1 -1
- package/toast/toast.esm.js +7 -5
- package/toast/toast.esm.min.js +1 -1
- package/toast/toast.js +8 -6
- package/toast/toast.min.js +1 -1
- package/tree/tree.cjs.js +24 -2
- package/tree/tree.cjs.min.js +1 -1
- package/tree/tree.esm.js +24 -2
- package/tree/tree.esm.min.js +1 -1
- package/tree/tree.js +24 -2
- package/tree/tree.min.js +1 -1
- package/treeselect/treeselect.d.ts +54 -4
- package/utils/utils.cjs.js +30 -0
- package/utils/utils.cjs.min.js +1 -1
- package/utils/utils.d.ts +3 -0
- package/utils/utils.esm.js +30 -0
- package/utils/utils.esm.min.js +1 -1
- package/utils/utils.js +30 -0
- package/utils/utils.min.js +1 -1
- package/web-types.json +29 -2
package/core/core.js
CHANGED
|
@@ -993,6 +993,11 @@ this.primereact.utils = (function (exports, React) {
|
|
|
993
993
|
return scrollbarWidth;
|
|
994
994
|
}
|
|
995
995
|
}
|
|
996
|
+
}, {
|
|
997
|
+
key: "calculateBodyScrollbarWidth",
|
|
998
|
+
value: function calculateBodyScrollbarWidth() {
|
|
999
|
+
return window.innerWidth - document.documentElement.offsetWidth;
|
|
1000
|
+
}
|
|
996
1001
|
}, {
|
|
997
1002
|
key: "getBrowser",
|
|
998
1003
|
value: function getBrowser() {
|
|
@@ -1021,6 +1026,24 @@ this.primereact.utils = (function (exports, React) {
|
|
|
1021
1026
|
version: match[2] || '0'
|
|
1022
1027
|
};
|
|
1023
1028
|
}
|
|
1029
|
+
}, {
|
|
1030
|
+
key: "blockBodyScroll",
|
|
1031
|
+
value: function blockBodyScroll() {
|
|
1032
|
+
var className = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'p-overflow-hidden';
|
|
1033
|
+
/* PR Ref: https://github.com/primefaces/primereact/pull/4976
|
|
1034
|
+
* @todo This method is called several times after this PR. Refactors will be made to prevent this in future releases.
|
|
1035
|
+
*/
|
|
1036
|
+
var hasScrollbarWidth = !!document.body.style.getPropertyValue('--scrollbar-width');
|
|
1037
|
+
!hasScrollbarWidth && document.body.style.setProperty('--scrollbar-width', this.calculateBodyScrollbarWidth() + 'px');
|
|
1038
|
+
this.addClass(document.body, className);
|
|
1039
|
+
}
|
|
1040
|
+
}, {
|
|
1041
|
+
key: "unblockBodyScroll",
|
|
1042
|
+
value: function unblockBodyScroll() {
|
|
1043
|
+
var className = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'p-overflow-hidden';
|
|
1044
|
+
document.body.style.removeProperty('--scrollbar-width');
|
|
1045
|
+
this.removeClass(document.body, className);
|
|
1046
|
+
}
|
|
1024
1047
|
}, {
|
|
1025
1048
|
key: "isVisible",
|
|
1026
1049
|
value: function isVisible(element) {
|
|
@@ -1394,6 +1417,13 @@ this.primereact.utils = (function (exports, React) {
|
|
|
1394
1417
|
value: function equals(obj1, obj2, field) {
|
|
1395
1418
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
1396
1419
|
}
|
|
1420
|
+
|
|
1421
|
+
/**
|
|
1422
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
1423
|
+
* @param {*} a the first JSON object
|
|
1424
|
+
* @param {*} b the second JSON object
|
|
1425
|
+
* @returns true if equals, false it not
|
|
1426
|
+
*/
|
|
1397
1427
|
}, {
|
|
1398
1428
|
key: "deepEquals",
|
|
1399
1429
|
value: function deepEquals(a, b) {
|
|
@@ -4617,7 +4647,8 @@ this.primereact.hooks = (function (exports, React, utils, PrimeReact) {
|
|
|
4617
4647
|
listener: function listener(event) {
|
|
4618
4648
|
var area = storage === 'local' ? window.localStorage : window.sessionStorage;
|
|
4619
4649
|
if (event.storageArea === area && event.key === key) {
|
|
4620
|
-
|
|
4650
|
+
var newValue = event.newValue ? JSON.parse(event.newValue) : undefined;
|
|
4651
|
+
setStoredValue(newValue);
|
|
4621
4652
|
}
|
|
4622
4653
|
}
|
|
4623
4654
|
}),
|
|
@@ -6091,6 +6122,13 @@ this.primereact.icons.arrowdown = (function (exports, React, iconbase) {
|
|
|
6091
6122
|
value: function equals(obj1, obj2, field) {
|
|
6092
6123
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
6093
6124
|
}
|
|
6125
|
+
|
|
6126
|
+
/**
|
|
6127
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
6128
|
+
* @param {*} a the first JSON object
|
|
6129
|
+
* @param {*} b the second JSON object
|
|
6130
|
+
* @returns true if equals, false it not
|
|
6131
|
+
*/
|
|
6094
6132
|
}, {
|
|
6095
6133
|
key: "deepEquals",
|
|
6096
6134
|
value: function deepEquals(a, b) {
|
|
@@ -6779,6 +6817,13 @@ this.primereact.icons.arrowup = (function (exports, React, iconbase) {
|
|
|
6779
6817
|
value: function equals(obj1, obj2, field) {
|
|
6780
6818
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
6781
6819
|
}
|
|
6820
|
+
|
|
6821
|
+
/**
|
|
6822
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
6823
|
+
* @param {*} a the first JSON object
|
|
6824
|
+
* @param {*} b the second JSON object
|
|
6825
|
+
* @returns true if equals, false it not
|
|
6826
|
+
*/
|
|
6782
6827
|
}, {
|
|
6783
6828
|
key: "deepEquals",
|
|
6784
6829
|
value: function deepEquals(a, b) {
|
|
@@ -7467,6 +7512,13 @@ this.primereact.icons.ban = (function (exports, React, iconbase) {
|
|
|
7467
7512
|
value: function equals(obj1, obj2, field) {
|
|
7468
7513
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
7469
7514
|
}
|
|
7515
|
+
|
|
7516
|
+
/**
|
|
7517
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
7518
|
+
* @param {*} a the first JSON object
|
|
7519
|
+
* @param {*} b the second JSON object
|
|
7520
|
+
* @returns true if equals, false it not
|
|
7521
|
+
*/
|
|
7470
7522
|
}, {
|
|
7471
7523
|
key: "deepEquals",
|
|
7472
7524
|
value: function deepEquals(a, b) {
|
|
@@ -8603,6 +8655,13 @@ this.primereact.icons.exclamationtriangle = (function (exports, React, iconbase)
|
|
|
8603
8655
|
value: function equals(obj1, obj2, field) {
|
|
8604
8656
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
8605
8657
|
}
|
|
8658
|
+
|
|
8659
|
+
/**
|
|
8660
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
8661
|
+
* @param {*} a the first JSON object
|
|
8662
|
+
* @param {*} b the second JSON object
|
|
8663
|
+
* @returns true if equals, false it not
|
|
8664
|
+
*/
|
|
8606
8665
|
}, {
|
|
8607
8666
|
key: "deepEquals",
|
|
8608
8667
|
value: function deepEquals(a, b) {
|
|
@@ -9361,6 +9420,13 @@ this.primereact.icons.eyeslash = (function (exports, React, iconbase) {
|
|
|
9361
9420
|
value: function equals(obj1, obj2, field) {
|
|
9362
9421
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
9363
9422
|
}
|
|
9423
|
+
|
|
9424
|
+
/**
|
|
9425
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
9426
|
+
* @param {*} a the first JSON object
|
|
9427
|
+
* @param {*} b the second JSON object
|
|
9428
|
+
* @returns true if equals, false it not
|
|
9429
|
+
*/
|
|
9364
9430
|
}, {
|
|
9365
9431
|
key: "deepEquals",
|
|
9366
9432
|
value: function deepEquals(a, b) {
|
|
@@ -10049,6 +10115,13 @@ this.primereact.icons.filter = (function (exports, React, iconbase) {
|
|
|
10049
10115
|
value: function equals(obj1, obj2, field) {
|
|
10050
10116
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
10051
10117
|
}
|
|
10118
|
+
|
|
10119
|
+
/**
|
|
10120
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
10121
|
+
* @param {*} a the first JSON object
|
|
10122
|
+
* @param {*} b the second JSON object
|
|
10123
|
+
* @returns true if equals, false it not
|
|
10124
|
+
*/
|
|
10052
10125
|
}, {
|
|
10053
10126
|
key: "deepEquals",
|
|
10054
10127
|
value: function deepEquals(a, b) {
|
|
@@ -10735,6 +10808,13 @@ this.primereact.icons.filterslash = (function (exports, React, iconbase) {
|
|
|
10735
10808
|
value: function equals(obj1, obj2, field) {
|
|
10736
10809
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
10737
10810
|
}
|
|
10811
|
+
|
|
10812
|
+
/**
|
|
10813
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
10814
|
+
* @param {*} a the first JSON object
|
|
10815
|
+
* @param {*} b the second JSON object
|
|
10816
|
+
* @returns true if equals, false it not
|
|
10817
|
+
*/
|
|
10738
10818
|
}, {
|
|
10739
10819
|
key: "deepEquals",
|
|
10740
10820
|
value: function deepEquals(a, b) {
|
|
@@ -11423,6 +11503,13 @@ this.primereact.icons.infocircle = (function (exports, React, iconbase) {
|
|
|
11423
11503
|
value: function equals(obj1, obj2, field) {
|
|
11424
11504
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
11425
11505
|
}
|
|
11506
|
+
|
|
11507
|
+
/**
|
|
11508
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
11509
|
+
* @param {*} a the first JSON object
|
|
11510
|
+
* @param {*} b the second JSON object
|
|
11511
|
+
* @returns true if equals, false it not
|
|
11512
|
+
*/
|
|
11426
11513
|
}, {
|
|
11427
11514
|
key: "deepEquals",
|
|
11428
11515
|
value: function deepEquals(a, b) {
|
|
@@ -12175,6 +12262,13 @@ this.primereact.icons.pencil = (function (exports, React, iconbase) {
|
|
|
12175
12262
|
value: function equals(obj1, obj2, field) {
|
|
12176
12263
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
12177
12264
|
}
|
|
12265
|
+
|
|
12266
|
+
/**
|
|
12267
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
12268
|
+
* @param {*} a the first JSON object
|
|
12269
|
+
* @param {*} b the second JSON object
|
|
12270
|
+
* @returns true if equals, false it not
|
|
12271
|
+
*/
|
|
12178
12272
|
}, {
|
|
12179
12273
|
key: "deepEquals",
|
|
12180
12274
|
value: function deepEquals(a, b) {
|
|
@@ -12861,6 +12955,13 @@ this.primereact.icons.plus = (function (exports, React, iconbase) {
|
|
|
12861
12955
|
value: function equals(obj1, obj2, field) {
|
|
12862
12956
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
12863
12957
|
}
|
|
12958
|
+
|
|
12959
|
+
/**
|
|
12960
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
12961
|
+
* @param {*} a the first JSON object
|
|
12962
|
+
* @param {*} b the second JSON object
|
|
12963
|
+
* @returns true if equals, false it not
|
|
12964
|
+
*/
|
|
12864
12965
|
}, {
|
|
12865
12966
|
key: "deepEquals",
|
|
12866
12967
|
value: function deepEquals(a, b) {
|
|
@@ -13547,6 +13648,13 @@ this.primereact.icons.refresh = (function (exports, React, iconbase) {
|
|
|
13547
13648
|
value: function equals(obj1, obj2, field) {
|
|
13548
13649
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
13549
13650
|
}
|
|
13651
|
+
|
|
13652
|
+
/**
|
|
13653
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
13654
|
+
* @param {*} a the first JSON object
|
|
13655
|
+
* @param {*} b the second JSON object
|
|
13656
|
+
* @returns true if equals, false it not
|
|
13657
|
+
*/
|
|
13550
13658
|
}, {
|
|
13551
13659
|
key: "deepEquals",
|
|
13552
13660
|
value: function deepEquals(a, b) {
|
|
@@ -14235,6 +14343,13 @@ this.primereact.icons.search = (function (exports, React, iconbase) {
|
|
|
14235
14343
|
value: function equals(obj1, obj2, field) {
|
|
14236
14344
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
14237
14345
|
}
|
|
14346
|
+
|
|
14347
|
+
/**
|
|
14348
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
14349
|
+
* @param {*} a the first JSON object
|
|
14350
|
+
* @param {*} b the second JSON object
|
|
14351
|
+
* @returns true if equals, false it not
|
|
14352
|
+
*/
|
|
14238
14353
|
}, {
|
|
14239
14354
|
key: "deepEquals",
|
|
14240
14355
|
value: function deepEquals(a, b) {
|
|
@@ -14923,6 +15038,13 @@ this.primereact.icons.searchminus = (function (exports, React, iconbase) {
|
|
|
14923
15038
|
value: function equals(obj1, obj2, field) {
|
|
14924
15039
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
14925
15040
|
}
|
|
15041
|
+
|
|
15042
|
+
/**
|
|
15043
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
15044
|
+
* @param {*} a the first JSON object
|
|
15045
|
+
* @param {*} b the second JSON object
|
|
15046
|
+
* @returns true if equals, false it not
|
|
15047
|
+
*/
|
|
14926
15048
|
}, {
|
|
14927
15049
|
key: "deepEquals",
|
|
14928
15050
|
value: function deepEquals(a, b) {
|
|
@@ -15611,6 +15733,13 @@ this.primereact.icons.searchplus = (function (exports, React, iconbase) {
|
|
|
15611
15733
|
value: function equals(obj1, obj2, field) {
|
|
15612
15734
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
15613
15735
|
}
|
|
15736
|
+
|
|
15737
|
+
/**
|
|
15738
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
15739
|
+
* @param {*} a the first JSON object
|
|
15740
|
+
* @param {*} b the second JSON object
|
|
15741
|
+
* @returns true if equals, false it not
|
|
15742
|
+
*/
|
|
15614
15743
|
}, {
|
|
15615
15744
|
key: "deepEquals",
|
|
15616
15745
|
value: function deepEquals(a, b) {
|
|
@@ -16299,6 +16428,13 @@ this.primereact.icons.sortalt = (function (exports, React, iconbase) {
|
|
|
16299
16428
|
value: function equals(obj1, obj2, field) {
|
|
16300
16429
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
16301
16430
|
}
|
|
16431
|
+
|
|
16432
|
+
/**
|
|
16433
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
16434
|
+
* @param {*} a the first JSON object
|
|
16435
|
+
* @param {*} b the second JSON object
|
|
16436
|
+
* @returns true if equals, false it not
|
|
16437
|
+
*/
|
|
16302
16438
|
}, {
|
|
16303
16439
|
key: "deepEquals",
|
|
16304
16440
|
value: function deepEquals(a, b) {
|
|
@@ -16994,6 +17130,13 @@ this.primereact.icons.sortamountdown = (function (exports, React, iconbase) {
|
|
|
16994
17130
|
value: function equals(obj1, obj2, field) {
|
|
16995
17131
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
16996
17132
|
}
|
|
17133
|
+
|
|
17134
|
+
/**
|
|
17135
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
17136
|
+
* @param {*} a the first JSON object
|
|
17137
|
+
* @param {*} b the second JSON object
|
|
17138
|
+
* @returns true if equals, false it not
|
|
17139
|
+
*/
|
|
16997
17140
|
}, {
|
|
16998
17141
|
key: "deepEquals",
|
|
16999
17142
|
value: function deepEquals(a, b) {
|
|
@@ -17695,6 +17838,13 @@ this.primereact.icons.sortamountupalt = (function (exports, React, iconbase) {
|
|
|
17695
17838
|
value: function equals(obj1, obj2, field) {
|
|
17696
17839
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
17697
17840
|
}
|
|
17841
|
+
|
|
17842
|
+
/**
|
|
17843
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
17844
|
+
* @param {*} a the first JSON object
|
|
17845
|
+
* @param {*} b the second JSON object
|
|
17846
|
+
* @returns true if equals, false it not
|
|
17847
|
+
*/
|
|
17698
17848
|
}, {
|
|
17699
17849
|
key: "deepEquals",
|
|
17700
17850
|
value: function deepEquals(a, b) {
|
|
@@ -18396,6 +18546,13 @@ this.primereact.icons.spinner = (function (exports, React, iconbase) {
|
|
|
18396
18546
|
value: function equals(obj1, obj2, field) {
|
|
18397
18547
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
18398
18548
|
}
|
|
18549
|
+
|
|
18550
|
+
/**
|
|
18551
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
18552
|
+
* @param {*} a the first JSON object
|
|
18553
|
+
* @param {*} b the second JSON object
|
|
18554
|
+
* @returns true if equals, false it not
|
|
18555
|
+
*/
|
|
18399
18556
|
}, {
|
|
18400
18557
|
key: "deepEquals",
|
|
18401
18558
|
value: function deepEquals(a, b) {
|
|
@@ -19082,6 +19239,13 @@ this.primereact.icons.star = (function (exports, React, iconbase) {
|
|
|
19082
19239
|
value: function equals(obj1, obj2, field) {
|
|
19083
19240
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
19084
19241
|
}
|
|
19242
|
+
|
|
19243
|
+
/**
|
|
19244
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
19245
|
+
* @param {*} a the first JSON object
|
|
19246
|
+
* @param {*} b the second JSON object
|
|
19247
|
+
* @returns true if equals, false it not
|
|
19248
|
+
*/
|
|
19085
19249
|
}, {
|
|
19086
19250
|
key: "deepEquals",
|
|
19087
19251
|
value: function deepEquals(a, b) {
|
|
@@ -19768,6 +19932,13 @@ this.primereact.icons.starfill = (function (exports, React, iconbase) {
|
|
|
19768
19932
|
value: function equals(obj1, obj2, field) {
|
|
19769
19933
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
19770
19934
|
}
|
|
19935
|
+
|
|
19936
|
+
/**
|
|
19937
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
19938
|
+
* @param {*} a the first JSON object
|
|
19939
|
+
* @param {*} b the second JSON object
|
|
19940
|
+
* @returns true if equals, false it not
|
|
19941
|
+
*/
|
|
19771
19942
|
}, {
|
|
19772
19943
|
key: "deepEquals",
|
|
19773
19944
|
value: function deepEquals(a, b) {
|
|
@@ -20454,6 +20625,13 @@ this.primereact.icons.thlarge = (function (exports, React, iconbase) {
|
|
|
20454
20625
|
value: function equals(obj1, obj2, field) {
|
|
20455
20626
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
20456
20627
|
}
|
|
20628
|
+
|
|
20629
|
+
/**
|
|
20630
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
20631
|
+
* @param {*} a the first JSON object
|
|
20632
|
+
* @param {*} b the second JSON object
|
|
20633
|
+
* @returns true if equals, false it not
|
|
20634
|
+
*/
|
|
20457
20635
|
}, {
|
|
20458
20636
|
key: "deepEquals",
|
|
20459
20637
|
value: function deepEquals(a, b) {
|
|
@@ -21206,6 +21384,13 @@ this.primereact.icons.timescircle = (function (exports, React, iconbase) {
|
|
|
21206
21384
|
value: function equals(obj1, obj2, field) {
|
|
21207
21385
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
21208
21386
|
}
|
|
21387
|
+
|
|
21388
|
+
/**
|
|
21389
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
21390
|
+
* @param {*} a the first JSON object
|
|
21391
|
+
* @param {*} b the second JSON object
|
|
21392
|
+
* @returns true if equals, false it not
|
|
21393
|
+
*/
|
|
21209
21394
|
}, {
|
|
21210
21395
|
key: "deepEquals",
|
|
21211
21396
|
value: function deepEquals(a, b) {
|
|
@@ -21894,6 +22079,13 @@ this.primereact.icons.trash = (function (exports, React, iconbase) {
|
|
|
21894
22079
|
value: function equals(obj1, obj2, field) {
|
|
21895
22080
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
21896
22081
|
}
|
|
22082
|
+
|
|
22083
|
+
/**
|
|
22084
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
22085
|
+
* @param {*} a the first JSON object
|
|
22086
|
+
* @param {*} b the second JSON object
|
|
22087
|
+
* @returns true if equals, false it not
|
|
22088
|
+
*/
|
|
21897
22089
|
}, {
|
|
21898
22090
|
key: "deepEquals",
|
|
21899
22091
|
value: function deepEquals(a, b) {
|
|
@@ -22582,6 +22774,13 @@ this.primereact.icons.undo = (function (exports, React, iconbase) {
|
|
|
22582
22774
|
value: function equals(obj1, obj2, field) {
|
|
22583
22775
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
22584
22776
|
}
|
|
22777
|
+
|
|
22778
|
+
/**
|
|
22779
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
22780
|
+
* @param {*} a the first JSON object
|
|
22781
|
+
* @param {*} b the second JSON object
|
|
22782
|
+
* @returns true if equals, false it not
|
|
22783
|
+
*/
|
|
22585
22784
|
}, {
|
|
22586
22785
|
key: "deepEquals",
|
|
22587
22786
|
value: function deepEquals(a, b) {
|
|
@@ -23270,6 +23469,13 @@ this.primereact.icons.upload = (function (exports, React, iconbase) {
|
|
|
23270
23469
|
value: function equals(obj1, obj2, field) {
|
|
23271
23470
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
23272
23471
|
}
|
|
23472
|
+
|
|
23473
|
+
/**
|
|
23474
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
23475
|
+
* @param {*} a the first JSON object
|
|
23476
|
+
* @param {*} b the second JSON object
|
|
23477
|
+
* @returns true if equals, false it not
|
|
23478
|
+
*/
|
|
23273
23479
|
}, {
|
|
23274
23480
|
key: "deepEquals",
|
|
23275
23481
|
value: function deepEquals(a, b) {
|
|
@@ -23958,6 +24164,13 @@ this.primereact.icons.windowmaximize = (function (exports, React, iconbase) {
|
|
|
23958
24164
|
value: function equals(obj1, obj2, field) {
|
|
23959
24165
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
23960
24166
|
}
|
|
24167
|
+
|
|
24168
|
+
/**
|
|
24169
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
24170
|
+
* @param {*} a the first JSON object
|
|
24171
|
+
* @param {*} b the second JSON object
|
|
24172
|
+
* @returns true if equals, false it not
|
|
24173
|
+
*/
|
|
23961
24174
|
}, {
|
|
23962
24175
|
key: "deepEquals",
|
|
23963
24176
|
value: function deepEquals(a, b) {
|
|
@@ -24646,6 +24859,13 @@ this.primereact.icons.windowminimize = (function (exports, React, iconbase) {
|
|
|
24646
24859
|
value: function equals(obj1, obj2, field) {
|
|
24647
24860
|
if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
|
|
24648
24861
|
}
|
|
24862
|
+
|
|
24863
|
+
/**
|
|
24864
|
+
* Compares two JSON objects for deep equality recursively comparing both objects.
|
|
24865
|
+
* @param {*} a the first JSON object
|
|
24866
|
+
* @param {*} b the second JSON object
|
|
24867
|
+
* @returns true if equals, false it not
|
|
24868
|
+
*/
|
|
24649
24869
|
}, {
|
|
24650
24870
|
key: "deepEquals",
|
|
24651
24871
|
value: function deepEquals(a, b) {
|
|
@@ -28235,8 +28455,9 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
28235
28455
|
};
|
|
28236
28456
|
var onUpButtonMouseDown = function onUpButtonMouseDown(event) {
|
|
28237
28457
|
if (!props.disabled && !props.readOnly) {
|
|
28238
|
-
|
|
28458
|
+
utils.DomHandler.focus(inputRef.current, props.autoFocus);
|
|
28239
28459
|
repeat(event, null, 1);
|
|
28460
|
+
event.preventDefault();
|
|
28240
28461
|
}
|
|
28241
28462
|
};
|
|
28242
28463
|
var onUpButtonMouseUp = function onUpButtonMouseUp() {
|
|
@@ -28261,8 +28482,9 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
28261
28482
|
};
|
|
28262
28483
|
var onDownButtonMouseDown = function onDownButtonMouseDown(event) {
|
|
28263
28484
|
if (!props.disabled && !props.readOnly) {
|
|
28264
|
-
|
|
28485
|
+
utils.DomHandler.focus(inputRef.current, props.autoFocus);
|
|
28265
28486
|
repeat(event, null, -1);
|
|
28487
|
+
event.preventDefault();
|
|
28266
28488
|
}
|
|
28267
28489
|
};
|
|
28268
28490
|
var onDownButtonMouseUp = function onDownButtonMouseUp() {
|
|
@@ -28995,7 +29217,6 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
28995
29217
|
var buttonGroup = createButtonGroup();
|
|
28996
29218
|
var rootProps = utils.mergeProps({
|
|
28997
29219
|
id: props.id,
|
|
28998
|
-
ref: elementRef,
|
|
28999
29220
|
className: utils.classNames(props.className, cx('root', {
|
|
29000
29221
|
focusedState: focusedState,
|
|
29001
29222
|
stacked: stacked,
|
|
@@ -29004,7 +29225,9 @@ this.primereact.inputnumber = (function (exports, React, PrimeReact, componentba
|
|
|
29004
29225
|
})),
|
|
29005
29226
|
style: props.style
|
|
29006
29227
|
}, otherProps, ptm('root'));
|
|
29007
|
-
return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("span",
|
|
29228
|
+
return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, null, /*#__PURE__*/React__namespace.createElement("span", _extends({
|
|
29229
|
+
ref: elementRef
|
|
29230
|
+
}, rootProps), inputElement, buttonGroup), hasTooltip && /*#__PURE__*/React__namespace.createElement(tooltip.Tooltip, _extends({
|
|
29008
29231
|
target: elementRef,
|
|
29009
29232
|
content: props.tooltip
|
|
29010
29233
|
}, props.tooltipOptions, {
|
|
@@ -29410,12 +29633,14 @@ this.primereact.messages = (function (exports, React, reactTransitionGroup, api,
|
|
|
29410
29633
|
});
|
|
29411
29634
|
};
|
|
29412
29635
|
var remove = function remove(messageInfo) {
|
|
29636
|
+
// allow removal by ID or by message equality
|
|
29637
|
+
var removeMessage = messageInfo._pId ? messageInfo.message : messageInfo;
|
|
29413
29638
|
setMessagesState(function (prev) {
|
|
29414
29639
|
return prev.filter(function (msg) {
|
|
29415
|
-
return msg._pId !== messageInfo._pId;
|
|
29640
|
+
return msg._pId !== messageInfo._pId && !utils.ObjectUtils.deepEquals(msg.message, removeMessage);
|
|
29416
29641
|
});
|
|
29417
29642
|
});
|
|
29418
|
-
props.onRemove && props.onRemove(
|
|
29643
|
+
props.onRemove && props.onRemove(removeMessage);
|
|
29419
29644
|
};
|
|
29420
29645
|
var onClose = function onClose(messageInfo) {
|
|
29421
29646
|
remove(messageInfo);
|
|
@@ -29626,7 +29851,7 @@ this.primereact.progressbar = (function (exports, React, api, componentbase, uti
|
|
|
29626
29851
|
var createDeterminate = function createDeterminate() {
|
|
29627
29852
|
var label = createLabel();
|
|
29628
29853
|
var rootProps = utils.mergeProps({
|
|
29629
|
-
className: cx('root'),
|
|
29854
|
+
className: utils.classNames(props.className, cx('root')),
|
|
29630
29855
|
style: props.style,
|
|
29631
29856
|
role: 'progressbar',
|
|
29632
29857
|
'aria-valuemin': '0',
|
|
@@ -29850,32 +30075,37 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
29850
30075
|
},
|
|
29851
30076
|
trigger: 'p-dropdown-trigger',
|
|
29852
30077
|
emptyMessage: 'p-dropdown-empty-message',
|
|
29853
|
-
itemGroup:
|
|
30078
|
+
itemGroup: function itemGroup(_ref3) {
|
|
30079
|
+
var optionGroupLabel = _ref3.optionGroupLabel;
|
|
30080
|
+
return utils.classNames('p-dropdown-item-group', {
|
|
30081
|
+
'p-dropdown-item-empty': !optionGroupLabel || optionGroupLabel.length === 0
|
|
30082
|
+
});
|
|
30083
|
+
},
|
|
29854
30084
|
dropdownIcon: 'p-dropdown-trigger-icon p-clickable',
|
|
29855
30085
|
clearIcon: 'p-dropdown-clear-icon p-clickable',
|
|
29856
30086
|
filterIcon: 'p-dropdown-filter-icon',
|
|
29857
|
-
filterContainer: function filterContainer(
|
|
29858
|
-
var clearIcon =
|
|
30087
|
+
filterContainer: function filterContainer(_ref4) {
|
|
30088
|
+
var clearIcon = _ref4.clearIcon;
|
|
29859
30089
|
return utils.classNames('p-dropdown-filter-container', {
|
|
29860
30090
|
'p-dropdown-clearable-filter': !!clearIcon
|
|
29861
30091
|
});
|
|
29862
30092
|
},
|
|
29863
30093
|
filterInput: 'p-dropdown-filter p-inputtext p-component',
|
|
29864
|
-
list: function list(
|
|
29865
|
-
var virtualScrollerOptions =
|
|
30094
|
+
list: function list(_ref5) {
|
|
30095
|
+
var virtualScrollerOptions = _ref5.virtualScrollerOptions;
|
|
29866
30096
|
return virtualScrollerOptions ? 'p-dropdown-items' : 'p-dropdown-items';
|
|
29867
30097
|
},
|
|
29868
|
-
panel: function panel(
|
|
29869
|
-
var context =
|
|
30098
|
+
panel: function panel(_ref6) {
|
|
30099
|
+
var context = _ref6.context;
|
|
29870
30100
|
return utils.classNames('p-dropdown-panel p-component', {
|
|
29871
30101
|
'p-input-filled': context && context.inputStyle === 'filled' || PrimeReact__default["default"].inputStyle === 'filled',
|
|
29872
30102
|
'p-ripple-disabled': context && context.ripple === false || PrimeReact__default["default"].ripple === false
|
|
29873
30103
|
});
|
|
29874
30104
|
},
|
|
29875
|
-
item: function item(
|
|
29876
|
-
var selected =
|
|
29877
|
-
disabled =
|
|
29878
|
-
label =
|
|
30105
|
+
item: function item(_ref7) {
|
|
30106
|
+
var selected = _ref7.selected,
|
|
30107
|
+
disabled = _ref7.disabled,
|
|
30108
|
+
label = _ref7.label;
|
|
29879
30109
|
return utils.classNames('p-dropdown-item', {
|
|
29880
30110
|
'p-highlight': selected,
|
|
29881
30111
|
'p-disabled': disabled,
|
|
@@ -29889,14 +30119,14 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
29889
30119
|
};
|
|
29890
30120
|
var styles = "\n@layer primereact {\n .p-dropdown {\n display: inline-flex;\n cursor: pointer;\n position: relative;\n user-select: none;\n }\n \n .p-dropdown-trigger {\n display: flex;\n align-items: center;\n justify-content: center;\n flex-shrink: 0;\n }\n \n .p-dropdown-label {\n display: block;\n white-space: nowrap;\n overflow: hidden;\n flex: 1 1 auto;\n width: 1%;\n text-overflow: ellipsis;\n cursor: pointer;\n }\n \n .p-dropdown-label-empty {\n overflow: hidden;\n visibility: hidden;\n }\n \n input.p-dropdown-label {\n cursor: default;\n }\n \n .p-dropdown .p-dropdown-panel {\n min-width: 100%;\n }\n \n .p-dropdown-panel {\n position: absolute;\n top: 0;\n left: 0;\n }\n \n .p-dropdown-items-wrapper {\n overflow: auto;\n }\n \n .p-dropdown-item {\n cursor: pointer;\n font-weight: normal;\n white-space: nowrap;\n position: relative;\n overflow: hidden;\n }\n \n .p-dropdown-items {\n margin: 0;\n padding: 0;\n list-style-type: none;\n }\n \n .p-dropdown-filter {\n width: 100%;\n }\n \n .p-dropdown-filter-container {\n position: relative;\n }\n \n .p-dropdown-clear-icon,\n .p-dropdown-filter-icon,\n .p-dropdown-filter-clear-icon {\n position: absolute;\n top: 50%;\n margin-top: -.5rem;\n }\n \n .p-fluid .p-dropdown {\n display: flex;\n }\n \n .p-fluid .p-dropdown .p-dropdown-label {\n width: 1%;\n }\n}\n";
|
|
29891
30121
|
var inlineStyles = {
|
|
29892
|
-
wrapper: function wrapper(
|
|
29893
|
-
var props =
|
|
30122
|
+
wrapper: function wrapper(_ref8) {
|
|
30123
|
+
var props = _ref8.props;
|
|
29894
30124
|
return {
|
|
29895
30125
|
maxHeight: props.scrollHeight || 'auto'
|
|
29896
30126
|
};
|
|
29897
30127
|
},
|
|
29898
|
-
panel: function panel(
|
|
29899
|
-
var props =
|
|
30128
|
+
panel: function panel(_ref9) {
|
|
30129
|
+
var props = _ref9.props;
|
|
29900
30130
|
props.panelStyle;
|
|
29901
30131
|
}
|
|
29902
30132
|
};
|
|
@@ -30001,7 +30231,11 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
30001
30231
|
var itemProps = utils.mergeProps({
|
|
30002
30232
|
role: 'option',
|
|
30003
30233
|
key: props.label,
|
|
30004
|
-
className: utils.classNames(option.className, cx('item'
|
|
30234
|
+
className: utils.classNames(option.className, cx('item', {
|
|
30235
|
+
selected: selected,
|
|
30236
|
+
disabled: disabled,
|
|
30237
|
+
label: label
|
|
30238
|
+
})),
|
|
30005
30239
|
style: props.style,
|
|
30006
30240
|
onClick: function onClick(e) {
|
|
30007
30241
|
return _onClick(e);
|
|
@@ -30105,11 +30339,14 @@ this.primereact.dropdown = (function (exports, React, PrimeReact, componentbase,
|
|
|
30105
30339
|
};
|
|
30106
30340
|
style = _objectSpread$1(_objectSpread$1({}, style), option.style);
|
|
30107
30341
|
if (props.optionGroupLabel) {
|
|
30342
|
+
var optionGroupLabel = props.optionGroupLabel;
|
|
30108
30343
|
var groupContent = props.optionGroupTemplate ? utils.ObjectUtils.getJSXElement(props.optionGroupTemplate, option, index) : props.getOptionGroupLabel(option);
|
|
30109
30344
|
var groupChildrenContent = createGroupChildren(option, style);
|
|
30110
30345
|
var key = index + '_' + props.getOptionGroupRenderKey(option);
|
|
30111
30346
|
var itemGroupProps = utils.mergeProps({
|
|
30112
|
-
className: cx('itemGroup'
|
|
30347
|
+
className: cx('itemGroup', {
|
|
30348
|
+
optionGroupLabel: optionGroupLabel
|
|
30349
|
+
}),
|
|
30113
30350
|
style: style
|
|
30114
30351
|
}, getPTOptions('itemGroup'));
|
|
30115
30352
|
return /*#__PURE__*/React__namespace.createElement(React__namespace.Fragment, {
|
|
@@ -31798,11 +32035,9 @@ this.primereact.dialog = (function (exports, React, utils, PrimeReact, component
|
|
|
31798
32035
|
return i.hasBlockScroll;
|
|
31799
32036
|
});
|
|
31800
32037
|
if (isThereAnyDialogThatBlocksScrolling) {
|
|
31801
|
-
utils.DomHandler.
|
|
31802
|
-
document.body.style.setProperty('--scrollbar-width', utils.DomHandler.calculateScrollbarWidth() + 'px');
|
|
32038
|
+
utils.DomHandler.blockBodyScroll();
|
|
31803
32039
|
} else {
|
|
31804
|
-
utils.DomHandler.
|
|
31805
|
-
document.body.style.removeProperty('--scrollbar-width');
|
|
32040
|
+
utils.DomHandler.unblockBodyScroll();
|
|
31806
32041
|
}
|
|
31807
32042
|
};
|
|
31808
32043
|
var updateGlobalDialogsRegistry = function updateGlobalDialogsRegistry(isMounted) {
|
|
@@ -34044,9 +34279,31 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
34044
34279
|
var onDragEnd = function onDragEnd() {
|
|
34045
34280
|
dragState.current = null;
|
|
34046
34281
|
};
|
|
34282
|
+
|
|
34283
|
+
/**
|
|
34284
|
+
* Deep copy a value. If the value has a data property, it will be shallow copied.
|
|
34285
|
+
* Values that are not plain objects or arrays are returned as-is.
|
|
34286
|
+
*/
|
|
34287
|
+
var cloneValue = function cloneValue(value) {
|
|
34288
|
+
if (Array.isArray(value)) {
|
|
34289
|
+
return value.map(cloneValue);
|
|
34290
|
+
} else if (!!value && Object.getPrototypeOf(value) === Object.prototype) {
|
|
34291
|
+
var result = {};
|
|
34292
|
+
|
|
34293
|
+
// Leave data property alone and clone children
|
|
34294
|
+
for (var key in value) {
|
|
34295
|
+
if (key !== 'data') {
|
|
34296
|
+
result[key] = cloneValue(value[key]);
|
|
34297
|
+
} else {
|
|
34298
|
+
result[key] = value[key];
|
|
34299
|
+
}
|
|
34300
|
+
}
|
|
34301
|
+
return result;
|
|
34302
|
+
} else return value;
|
|
34303
|
+
};
|
|
34047
34304
|
var onDrop = function onDrop(event) {
|
|
34048
34305
|
if (validateDropNode(dragState.current.path, event.path)) {
|
|
34049
|
-
var value =
|
|
34306
|
+
var value = cloneValue(props.value);
|
|
34050
34307
|
var dragPaths = dragState.current.path.split('-');
|
|
34051
34308
|
dragPaths.pop();
|
|
34052
34309
|
var dragNodeParent = findNode(value, dragPaths);
|
|
@@ -34067,7 +34324,7 @@ this.primereact.tree = (function (exports, React, api, componentbase, search, sp
|
|
|
34067
34324
|
};
|
|
34068
34325
|
var onDropPoint = function onDropPoint(event) {
|
|
34069
34326
|
if (validateDropPoint(event)) {
|
|
34070
|
-
var value =
|
|
34327
|
+
var value = cloneValue(props.value);
|
|
34071
34328
|
var dragPaths = dragState.current.path.split('-');
|
|
34072
34329
|
dragPaths.pop();
|
|
34073
34330
|
var dropPaths = event.path.split('-');
|