primevue 2.10.0 → 2.10.1
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 +150 -3
- package/accordion/accordion.common.js +2 -7
- package/accordion/accordion.umd.js +2 -7
- package/accordiontab/accordiontab.common.js +15 -68
- package/accordiontab/accordiontab.umd.js +15 -68
- package/api/Api.d.ts +24 -2
- package/api/Api.js +0 -6
- package/api/FilterService.js +2 -55
- package/api/PrimeIcons.js +24 -2
- package/api/api.common.js +35 -98
- package/api/api.umd.js +35 -98
- package/api/api.umd.min.js +1 -1
- package/api/filterservice.common.js +11 -96
- package/api/filterservice.umd.js +11 -96
- package/api/primeicons.common.js +24 -2
- package/api/primeicons.umd.js +24 -2
- package/api/primeicons.umd.min.js +1 -1
- package/autocomplete/autocomplete.common.js +33 -189
- package/autocomplete/autocomplete.umd.js +33 -189
- package/avatar/avatar.common.js +2 -4
- package/avatar/avatar.umd.js +2 -4
- package/avatargroup/avatargroup.common.js +2 -4
- package/avatargroup/avatargroup.umd.js +2 -4
- package/badge/badge.common.js +2 -4
- package/badge/badge.umd.js +2 -4
- package/badgedirective/BadgeDirective.js +0 -13
- package/badgedirective/badgedirective.common.js +13 -71
- package/badgedirective/badgedirective.umd.js +13 -71
- package/blockui/blockui.common.js +15 -73
- package/blockui/blockui.umd.js +15 -73
- package/breadcrumb/breadcrumb.common.js +7 -12
- package/breadcrumb/breadcrumb.umd.js +7 -12
- package/breadcrumb/breadcrumbitem.common.js +5 -8
- package/breadcrumb/breadcrumbitem.umd.js +5 -8
- package/button/button.common.js +15 -81
- package/button/button.umd.js +15 -81
- package/calendar/calendar.common.js +109 -498
- package/calendar/calendar.umd.js +109 -498
- package/card/card.common.js +2 -4
- package/card/card.umd.js +2 -4
- package/carousel/carousel.common.js +15 -123
- package/carousel/carousel.umd.js +15 -123
- package/cascadeselect/cascadeselect.common.js +29 -187
- package/cascadeselect/cascadeselect.umd.js +29 -187
- package/cascadeselect/cascadeselectsub.common.js +25 -149
- package/cascadeselect/cascadeselectsub.umd.js +25 -149
- package/cascadeselect/demo.html +4 -3
- package/chart/chart.common.js +2 -9
- package/chart/chart.umd.js +2 -9
- package/checkbox/checkbox.common.js +11 -61
- package/checkbox/checkbox.umd.js +11 -61
- package/chip/chip.common.js +2 -4
- package/chip/chip.umd.js +2 -4
- package/chips/chips.common.js +3 -20
- package/chips/chips.umd.js +3 -20
- package/colorpicker/colorpicker.common.js +16 -111
- package/colorpicker/colorpicker.umd.js +16 -111
- package/columngroup/columngroup.common.js +2 -4
- package/columngroup/columngroup.umd.js +2 -4
- package/config/PrimeVue.js +0 -5
- package/config/primevue.common.js +35 -102
- package/config/primevue.umd.js +35 -102
- package/config/primevue.umd.min.js +1 -1
- package/confirmationeventbus/ConfirmationEventBus.js +0 -4
- package/confirmationeventbus/confirmationeventbus.common.js +0 -2
- package/confirmationeventbus/confirmationeventbus.umd.js +0 -2
- package/confirmationservice/ConfirmationService.js +0 -3
- package/confirmationservice/confirmationservice.common.js +0 -2
- package/confirmationservice/confirmationservice.umd.js +0 -2
- package/confirmdialog/confirmdialog.common.js +19 -107
- package/confirmdialog/confirmdialog.umd.js +19 -107
- package/confirmpopup/confirmpopup.common.js +17 -109
- package/confirmpopup/confirmpopup.umd.js +17 -109
- package/contextmenu/contextmenu.common.js +28 -111
- package/contextmenu/contextmenu.umd.js +28 -111
- package/contextmenu/contextmenusub.common.js +18 -90
- package/contextmenu/contextmenusub.umd.js +18 -90
- package/datatable/bodycell.common.js +28 -164
- package/datatable/bodycell.umd.js +28 -164
- package/datatable/columnfilter.common.js +35 -247
- package/datatable/columnfilter.umd.js +35 -247
- package/datatable/datatable.common.js +165 -855
- package/datatable/datatable.umd.js +165 -855
- package/datatable/datatable.umd.min.js +1 -1
- package/datatable/demo.html +3 -5
- package/datatable/footercell.common.js +24 -119
- package/datatable/footercell.umd.js +24 -119
- package/datatable/headercell.common.js +39 -266
- package/datatable/headercell.umd.js +39 -266
- package/datatable/headercheckbox.common.js +2 -4
- package/datatable/headercheckbox.umd.js +2 -4
- package/datatable/rowcheckbox.common.js +2 -4
- package/datatable/rowcheckbox.umd.js +2 -4
- package/datatable/rowradiobutton.common.js +2 -4
- package/datatable/rowradiobutton.umd.js +2 -4
- package/datatable/tablebody.common.js +30 -191
- package/datatable/tablebody.umd.js +30 -191
- package/datatable/tablefooter.common.js +27 -135
- package/datatable/tablefooter.umd.js +27 -135
- package/datatable/tableheader.common.js +41 -273
- package/datatable/tableheader.umd.js +41 -273
- package/datatable/tableloadingbody.common.js +2 -4
- package/datatable/tableloadingbody.umd.js +2 -4
- package/dataview/dataview.common.js +121 -407
- package/dataview/dataview.umd.js +121 -407
- package/dataview/dataview.umd.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +2 -4
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +2 -4
- package/deferredcontent/deferredcontent.common.js +2 -7
- package/deferredcontent/deferredcontent.umd.js +2 -7
- package/dialog/dialog.common.js +15 -93
- package/dialog/dialog.umd.js +15 -93
- package/divider/divider.common.js +2 -4
- package/divider/divider.umd.js +2 -4
- package/dock/dock.common.js +7 -14
- package/dock/dock.umd.js +7 -14
- package/dock/docksub.common.js +5 -9
- package/dock/docksub.umd.js +5 -9
- package/dropdown/dropdown.common.js +31 -188
- package/dropdown/dropdown.umd.js +31 -188
- package/editor/editor.common.js +8 -21
- package/editor/editor.umd.js +8 -21
- package/fieldset/fieldset.common.js +15 -81
- package/fieldset/fieldset.umd.js +15 -81
- package/fileupload/fileupload.common.js +28 -142
- package/fileupload/fileupload.umd.js +28 -142
- package/fullcalendar/fullcalendar.common.js +10 -17
- package/fullcalendar/fullcalendar.umd.js +10 -17
- package/fullcalendar/fullcalendar.umd.min.js +3 -3
- package/galleria/galleria.common.js +25 -147
- package/galleria/galleria.umd.js +25 -147
- package/galleria/galleriacontent.common.js +23 -137
- package/galleria/galleriacontent.umd.js +23 -137
- package/galleria/galleriaitem.common.js +19 -93
- package/galleria/galleriaitem.umd.js +19 -93
- package/galleria/galleriaitemslot.common.js +4 -10
- package/galleria/galleriaitemslot.umd.js +4 -10
- package/galleria/galleriathumbnails.common.js +19 -125
- package/galleria/galleriathumbnails.umd.js +19 -125
- package/imagepreview/imagepreview.common.js +16 -71
- package/imagepreview/imagepreview.umd.js +16 -71
- package/inlinemessage/inlinemessage.common.js +2 -5
- package/inlinemessage/inlinemessage.umd.js +2 -5
- package/inplace/inplace.common.js +17 -85
- package/inplace/inplace.umd.js +17 -85
- package/inputmask/inputmask.common.js +31 -155
- package/inputmask/inputmask.umd.js +31 -155
- package/inputnumber/InputNumber.vue +2 -2
- package/inputnumber/inputnumber.common.js +73 -233
- package/inputnumber/inputnumber.umd.js +73 -233
- package/inputnumber/inputnumber.umd.min.js +1 -1
- package/inputswitch/inputswitch.common.js +2 -5
- package/inputswitch/inputswitch.umd.js +2 -5
- package/inputtext/inputtext.common.js +2 -9
- package/inputtext/inputtext.umd.js +2 -9
- package/knob/knob.common.js +4 -5
- package/knob/knob.umd.js +4 -5
- package/listbox/listbox.common.js +27 -156
- package/listbox/listbox.umd.js +27 -156
- package/megamenu/megamenu.common.js +24 -111
- package/megamenu/megamenu.umd.js +24 -111
- package/menu/menu.common.js +20 -107
- package/menu/menu.umd.js +20 -107
- package/menu/menuitem.common.js +18 -84
- package/menu/menuitem.umd.js +18 -84
- package/menubar/demo.html +4 -3
- package/menubar/menubar.common.js +23 -112
- package/menubar/menubar.umd.js +23 -112
- package/menubar/menubarsub.common.js +21 -106
- package/menubar/menubarsub.umd.js +21 -106
- package/message/message.common.js +15 -82
- package/message/message.umd.js +15 -82
- package/multiselect/multiselect.common.js +32 -189
- package/multiselect/multiselect.umd.js +32 -189
- package/orderlist/orderlist.common.js +28 -162
- package/orderlist/orderlist.umd.js +28 -162
- package/organizationchart/organizationchart.common.js +17 -82
- package/organizationchart/organizationchart.umd.js +17 -82
- package/organizationchart/organizationchartnode.common.js +15 -68
- package/organizationchart/organizationchartnode.umd.js +15 -68
- package/overlayeventbus/OverlayEventBus.js +0 -4
- package/overlayeventbus/overlayeventbus.common.js +0 -2
- package/overlayeventbus/overlayeventbus.umd.js +0 -2
- package/overlaypanel/overlaypanel.common.js +15 -104
- package/overlaypanel/overlaypanel.umd.js +15 -104
- package/package.json +2 -2
- package/paginator/currentpagereport.common.js +2 -4
- package/paginator/currentpagereport.umd.js +2 -4
- package/paginator/firstpagelink.common.js +15 -81
- package/paginator/firstpagelink.umd.js +15 -81
- package/paginator/jumptopagedropdown.common.js +33 -194
- package/paginator/jumptopagedropdown.umd.js +33 -194
- package/paginator/jumptopageinput.common.js +79 -241
- package/paginator/jumptopageinput.umd.js +79 -241
- package/paginator/jumptopageinput.umd.min.js +1 -1
- package/paginator/lastpagelink.common.js +15 -81
- package/paginator/lastpagelink.umd.js +15 -81
- package/paginator/nextpagelink.common.js +15 -81
- package/paginator/nextpagelink.umd.js +15 -81
- package/paginator/pagelinks.common.js +15 -81
- package/paginator/pagelinks.umd.js +15 -81
- package/paginator/paginator.common.js +119 -399
- package/paginator/paginator.umd.js +119 -399
- package/paginator/paginator.umd.min.js +1 -1
- package/paginator/prevpagelink.common.js +15 -81
- package/paginator/prevpagelink.umd.js +15 -81
- package/paginator/rowsperpagedropdown.common.js +33 -194
- package/paginator/rowsperpagedropdown.umd.js +33 -194
- package/panel/panel.common.js +15 -81
- package/panel/panel.umd.js +15 -81
- package/panelmenu/panelmenu.common.js +10 -22
- package/panelmenu/panelmenu.umd.js +10 -22
- package/panelmenu/panelmenusub.common.js +5 -11
- package/panelmenu/panelmenusub.umd.js +5 -11
- package/password/Password.vue +38 -11
- package/password/password.common.js +117 -179
- package/password/password.umd.js +117 -179
- package/password/password.umd.min.js +1 -1
- package/picklist/picklist.common.js +28 -194
- package/picklist/picklist.umd.js +28 -194
- package/progressbar/progressbar.common.js +2 -4
- package/progressbar/progressbar.umd.js +2 -4
- package/progressspinner/progressspinner.common.js +2 -5
- package/progressspinner/progressspinner.umd.js +2 -5
- package/radiobutton/radiobutton.common.js +11 -57
- package/radiobutton/radiobutton.umd.js +11 -57
- package/rating/rating.common.js +2 -4
- package/rating/rating.umd.js +2 -4
- package/ripple/Ripple.js +0 -18
- package/ripple/ripple.common.js +13 -77
- package/ripple/ripple.umd.js +13 -77
- package/row/row.common.js +2 -4
- package/row/row.umd.js +2 -4
- package/scrollpanel/scrollpanel.common.js +18 -83
- package/scrollpanel/scrollpanel.umd.js +18 -83
- package/scrolltop/scrolltop.common.js +15 -71
- package/scrolltop/scrolltop.umd.js +15 -71
- package/selectbutton/selectbutton.common.js +25 -143
- package/selectbutton/selectbutton.umd.js +25 -143
- package/sidebar/Sidebar.d.ts +1 -0
- package/sidebar/Sidebar.vue +3 -0
- package/sidebar/sidebar.common.js +63 -137
- package/sidebar/sidebar.umd.js +63 -137
- package/sidebar/sidebar.umd.min.js +1 -1
- package/skeleton/skeleton.common.js +2 -4
- package/skeleton/skeleton.umd.js +2 -4
- package/slider/Slider.vue +1 -1
- package/slider/slider.common.js +64 -139
- package/slider/slider.umd.js +64 -139
- package/slider/slider.umd.min.js +1 -1
- package/speeddial/SpeedDial.vue +2 -2
- package/speeddial/speeddial.common.js +63 -152
- package/speeddial/speeddial.umd.js +63 -152
- package/speeddial/speeddial.umd.min.js +1 -1
- package/splitbutton/splitbutton.common.js +24 -115
- package/splitbutton/splitbutton.umd.js +24 -115
- package/splitter/splitter.common.js +13 -84
- package/splitter/splitter.umd.js +13 -84
- package/steps/steps.common.js +5 -9
- package/steps/steps.umd.js +5 -9
- package/styleclass/StyleClass.js +0 -43
- package/styleclass/styleclass.common.js +13 -99
- package/styleclass/styleclass.umd.js +13 -99
- package/tabmenu/tabmenu.common.js +15 -86
- package/tabmenu/tabmenu.umd.js +15 -86
- package/tabpanel/tabpanel.common.js +2 -5
- package/tabpanel/tabpanel.umd.js +2 -5
- package/tabview/tabview.common.js +27 -134
- package/tabview/tabview.umd.js +27 -134
- package/tag/tag.common.js +2 -4
- package/tag/tag.umd.js +2 -4
- package/terminal/terminal.common.js +2 -4
- package/terminal/terminal.umd.js +2 -4
- package/terminalservice/TerminalService.js +0 -3
- package/textarea/Textarea.vue +24 -1
- package/textarea/textarea.common.js +2045 -60
- package/textarea/textarea.umd.js +2045 -60
- package/textarea/textarea.umd.min.js +1 -1
- package/tieredmenu/tieredmenu.common.js +22 -124
- package/tieredmenu/tieredmenu.umd.js +22 -124
- package/tieredmenu/tieredmenusub.common.js +20 -102
- package/tieredmenu/tieredmenusub.umd.js +20 -102
- package/timeline/timeline.common.js +11 -56
- package/timeline/timeline.umd.js +11 -56
- package/toast/toast.common.js +17 -97
- package/toast/toast.umd.js +17 -97
- package/toast/toastmessage.common.js +15 -82
- package/toast/toastmessage.umd.js +15 -82
- package/toastservice/ToastEventBus.js +0 -3
- package/toastservice/ToastService.js +0 -3
- package/togglebutton/togglebutton.common.js +15 -81
- package/togglebutton/togglebutton.umd.js +15 -81
- package/toolbar/toolbar.common.js +2 -4
- package/toolbar/toolbar.umd.js +2 -4
- package/tooltip/Tooltip.js +4 -84
- package/tooltip/tooltip.common.js +17 -133
- package/tooltip/tooltip.umd.js +17 -133
- package/tree/tree.common.js +36 -211
- package/tree/tree.umd.js +36 -211
- package/tree/treenode.common.js +20 -117
- package/tree/treenode.umd.js +20 -117
- package/treetable/footercell.common.js +24 -119
- package/treetable/footercell.umd.js +24 -119
- package/treetable/headercell.common.js +24 -127
- package/treetable/headercell.umd.js +24 -127
- package/treetable/treetable.common.js +149 -625
- package/treetable/treetable.umd.js +149 -625
- package/treetable/treetable.umd.min.js +1 -1
- package/treetable/treetablerow.common.js +29 -159
- package/treetable/treetablerow.umd.js +29 -159
- package/treetable/treetablerowloader.common.js +31 -179
- package/treetable/treetablerowloader.umd.js +31 -179
- package/tristatecheckbox/tristatecheckbox.common.js +2 -12
- package/tristatecheckbox/tristatecheckbox.umd.js +2 -12
- package/utils/ConnectedOverlayScrollHandler.js +0 -12
- package/utils/DomHandler.js +13 -61
- package/utils/EventBus.js +0 -3
- package/utils/ObjectUtils.js +9 -51
- package/utils/UniqueComponentId.js +0 -1
- package/utils/Utils.js +0 -6
- package/utils/connectedoverlayscrollhandler.common.js +13 -70
- package/utils/connectedoverlayscrollhandler.umd.js +13 -70
- package/utils/domhandler.common.js +13 -63
- package/utils/domhandler.umd.js +13 -63
- package/utils/eventbus.common.js +0 -2
- package/utils/eventbus.umd.js +0 -2
- package/utils/objectutils.common.js +9 -52
- package/utils/objectutils.umd.js +9 -52
- package/utils/utils.common.js +22 -119
- package/utils/utils.umd.js +22 -119
- package/web-types.json +8 -1
|
@@ -2896,11 +2896,10 @@ if (typeof window !== 'undefined') {
|
|
|
2896
2896
|
// Indicate to webpack that this file can be concatenated
|
|
2897
2897
|
/* harmony default export */ var setPublicPath = (null);
|
|
2898
2898
|
|
|
2899
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2899
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"08364d47-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/paginator/PageLinks.vue?vue&type=template&id=8f8b3242&
|
|
2900
2900
|
var render = function render() {
|
|
2901
2901
|
var _vm = this,
|
|
2902
|
-
|
|
2903
|
-
|
|
2902
|
+
_c = _vm._self._c;
|
|
2904
2903
|
return _c('span', {
|
|
2905
2904
|
staticClass: "p-paginator-pages"
|
|
2906
2905
|
}, _vm._l(_vm.value, function (pageLink) {
|
|
@@ -2924,7 +2923,6 @@ var render = function render() {
|
|
|
2924
2923
|
}, [_vm._v(_vm._s(pageLink))]);
|
|
2925
2924
|
}), 0);
|
|
2926
2925
|
};
|
|
2927
|
-
|
|
2928
2926
|
var staticRenderFns = [];
|
|
2929
2927
|
|
|
2930
2928
|
// CONCATENATED MODULE: ./src/components/paginator/PageLinks.vue?vue&type=template&id=8f8b3242&
|
|
@@ -2974,26 +2972,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
2974
2972
|
|
|
2975
2973
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
2976
2974
|
|
|
2977
|
-
|
|
2978
2975
|
function _defineProperties(target, props) {
|
|
2979
2976
|
for (var i = 0; i < props.length; i++) {
|
|
2980
2977
|
var descriptor = props[i];
|
|
2981
2978
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
2982
2979
|
descriptor.configurable = true;
|
|
2983
2980
|
if ("value" in descriptor) descriptor.writable = true;
|
|
2984
|
-
|
|
2985
2981
|
define_property_default()(target, descriptor.key, descriptor);
|
|
2986
2982
|
}
|
|
2987
2983
|
}
|
|
2988
|
-
|
|
2989
2984
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
2990
2985
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
2991
2986
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
2992
|
-
|
|
2993
2987
|
define_property_default()(Constructor, "prototype", {
|
|
2994
2988
|
writable: false
|
|
2995
2989
|
});
|
|
2996
|
-
|
|
2997
2990
|
return Constructor;
|
|
2998
2991
|
}
|
|
2999
2992
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -3009,18 +3002,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
3009
3002
|
|
|
3010
3003
|
|
|
3011
3004
|
|
|
3012
|
-
|
|
3013
3005
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
3014
|
-
|
|
3015
3006
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
3016
|
-
|
|
3017
3007
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
3018
|
-
|
|
3019
3008
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
3020
3009
|
function DomHandler() {
|
|
3021
3010
|
_classCallCheck(this, DomHandler);
|
|
3022
3011
|
}
|
|
3023
|
-
|
|
3024
3012
|
_createClass(DomHandler, null, [{
|
|
3025
3013
|
key: "innerWidth",
|
|
3026
3014
|
value: function innerWidth(el) {
|
|
@@ -3054,12 +3042,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3054
3042
|
value: function getOuterWidth(el, margin) {
|
|
3055
3043
|
if (el) {
|
|
3056
3044
|
var width = el.offsetWidth;
|
|
3057
|
-
|
|
3058
3045
|
if (margin) {
|
|
3059
3046
|
var style = getComputedStyle(el);
|
|
3060
3047
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
3061
3048
|
}
|
|
3062
|
-
|
|
3063
3049
|
return width;
|
|
3064
3050
|
} else {
|
|
3065
3051
|
return 0;
|
|
@@ -3070,12 +3056,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3070
3056
|
value: function getOuterHeight(el, margin) {
|
|
3071
3057
|
if (el) {
|
|
3072
3058
|
var height = el.offsetHeight;
|
|
3073
|
-
|
|
3074
3059
|
if (margin) {
|
|
3075
3060
|
var style = getComputedStyle(el);
|
|
3076
3061
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3077
3062
|
}
|
|
3078
|
-
|
|
3079
3063
|
return height;
|
|
3080
3064
|
} else {
|
|
3081
3065
|
return 0;
|
|
@@ -3086,12 +3070,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3086
3070
|
value: function getClientHeight(el, margin) {
|
|
3087
3071
|
if (el) {
|
|
3088
3072
|
var height = el.clientHeight;
|
|
3089
|
-
|
|
3090
3073
|
if (margin) {
|
|
3091
3074
|
var style = getComputedStyle(el);
|
|
3092
3075
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3093
3076
|
}
|
|
3094
|
-
|
|
3095
3077
|
return height;
|
|
3096
3078
|
} else {
|
|
3097
3079
|
return 0;
|
|
@@ -3101,11 +3083,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3101
3083
|
key: "getViewport",
|
|
3102
3084
|
value: function getViewport() {
|
|
3103
3085
|
var win = window,
|
|
3104
|
-
|
|
3105
|
-
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
|
|
3086
|
+
d = document,
|
|
3087
|
+
e = d.documentElement,
|
|
3088
|
+
g = d.getElementsByTagName('body')[0],
|
|
3089
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
3090
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
3109
3091
|
return {
|
|
3110
3092
|
width: w,
|
|
3111
3093
|
height: h
|
|
@@ -3136,12 +3118,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3136
3118
|
value: function index(element) {
|
|
3137
3119
|
var children = element.parentNode.childNodes;
|
|
3138
3120
|
var num = 0;
|
|
3139
|
-
|
|
3140
3121
|
for (var i = 0; i < children.length; i++) {
|
|
3141
3122
|
if (children[i] === element) return num;
|
|
3142
3123
|
if (children[i].nodeType === 1) num++;
|
|
3143
3124
|
}
|
|
3144
|
-
|
|
3145
3125
|
return -1;
|
|
3146
3126
|
}
|
|
3147
3127
|
}, {
|
|
@@ -3149,13 +3129,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3149
3129
|
value: function addMultipleClasses(element, className) {
|
|
3150
3130
|
if (element.classList) {
|
|
3151
3131
|
var styles = className.split(' ');
|
|
3152
|
-
|
|
3153
3132
|
for (var i = 0; i < styles.length; i++) {
|
|
3154
3133
|
element.classList.add(styles[i]);
|
|
3155
3134
|
}
|
|
3156
3135
|
} else {
|
|
3157
3136
|
var _styles = className.split(' ');
|
|
3158
|
-
|
|
3159
3137
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
3160
3138
|
element.className += ' ' + _styles[_i];
|
|
3161
3139
|
}
|
|
@@ -3177,7 +3155,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3177
3155
|
if (element) {
|
|
3178
3156
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
3179
3157
|
}
|
|
3180
|
-
|
|
3181
3158
|
return false;
|
|
3182
3159
|
}
|
|
3183
3160
|
}, {
|
|
@@ -3222,11 +3199,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3222
3199
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
3223
3200
|
var viewport = this.getViewport();
|
|
3224
3201
|
var top, left;
|
|
3225
|
-
|
|
3226
3202
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
3227
3203
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
3228
3204
|
element.style.transformOrigin = 'bottom';
|
|
3229
|
-
|
|
3230
3205
|
if (top < 0) {
|
|
3231
3206
|
top = windowScrollTop;
|
|
3232
3207
|
}
|
|
@@ -3234,7 +3209,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3234
3209
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
3235
3210
|
element.style.transformOrigin = 'top';
|
|
3236
3211
|
}
|
|
3237
|
-
|
|
3238
3212
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
3239
3213
|
element.style.top = top + 'px';
|
|
3240
3214
|
element.style.left = left + 'px';
|
|
@@ -3250,11 +3224,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3250
3224
|
var targetOffset = target.getBoundingClientRect();
|
|
3251
3225
|
var viewport = this.getViewport();
|
|
3252
3226
|
var top, left;
|
|
3253
|
-
|
|
3254
3227
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
3255
3228
|
top = -1 * elementDimensions.height;
|
|
3256
3229
|
element.style.transformOrigin = 'bottom';
|
|
3257
|
-
|
|
3258
3230
|
if (targetOffset.top + top < 0) {
|
|
3259
3231
|
top = -1 * targetOffset.top;
|
|
3260
3232
|
}
|
|
@@ -3262,7 +3234,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3262
3234
|
top = targetHeight;
|
|
3263
3235
|
element.style.transformOrigin = 'top';
|
|
3264
3236
|
}
|
|
3265
|
-
|
|
3266
3237
|
if (elementDimensions.width > viewport.width) {
|
|
3267
3238
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
3268
3239
|
left = targetOffset.left * -1;
|
|
@@ -3273,7 +3244,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3273
3244
|
// element fits on screen (align with target)
|
|
3274
3245
|
left = 0;
|
|
3275
3246
|
}
|
|
3276
|
-
|
|
3277
3247
|
element.style.top = top + 'px';
|
|
3278
3248
|
element.style.left = left + 'px';
|
|
3279
3249
|
}
|
|
@@ -3287,35 +3257,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3287
3257
|
key: "getScrollableParents",
|
|
3288
3258
|
value: function getScrollableParents(element) {
|
|
3289
3259
|
var scrollableParents = [];
|
|
3290
|
-
|
|
3291
3260
|
if (element) {
|
|
3292
3261
|
var parents = this.getParents(element);
|
|
3293
3262
|
var overflowRegex = /(auto|scroll)/;
|
|
3294
|
-
|
|
3295
3263
|
var overflowCheck = function overflowCheck(node) {
|
|
3296
3264
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
3297
3265
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
3298
3266
|
};
|
|
3299
|
-
|
|
3300
3267
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
3301
|
-
|
|
3302
|
-
|
|
3268
|
+
_step;
|
|
3303
3269
|
try {
|
|
3304
3270
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
3305
3271
|
var parent = _step.value;
|
|
3306
3272
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
3307
|
-
|
|
3308
3273
|
if (scrollSelectors) {
|
|
3309
3274
|
var selectors = scrollSelectors.split(',');
|
|
3310
|
-
|
|
3311
3275
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
3312
|
-
|
|
3313
|
-
|
|
3276
|
+
_step2;
|
|
3314
3277
|
try {
|
|
3315
3278
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
3316
3279
|
var selector = _step2.value;
|
|
3317
3280
|
var el = this.findSingle(parent, selector);
|
|
3318
|
-
|
|
3319
3281
|
if (el && overflowCheck(el)) {
|
|
3320
3282
|
scrollableParents.push(el);
|
|
3321
3283
|
}
|
|
@@ -3333,7 +3295,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3333
3295
|
_iterator.f();
|
|
3334
3296
|
}
|
|
3335
3297
|
}
|
|
3336
|
-
|
|
3337
3298
|
return scrollableParents;
|
|
3338
3299
|
}
|
|
3339
3300
|
}, {
|
|
@@ -3374,34 +3335,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3374
3335
|
element.style.opacity = 0;
|
|
3375
3336
|
var last = +new Date();
|
|
3376
3337
|
var opacity = 0;
|
|
3377
|
-
|
|
3378
3338
|
var tick = function tick() {
|
|
3379
3339
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
3380
3340
|
element.style.opacity = opacity;
|
|
3381
3341
|
last = +new Date();
|
|
3382
|
-
|
|
3383
3342
|
if (+opacity < 1) {
|
|
3384
3343
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
3385
3344
|
}
|
|
3386
3345
|
};
|
|
3387
|
-
|
|
3388
3346
|
tick();
|
|
3389
3347
|
}
|
|
3390
3348
|
}, {
|
|
3391
3349
|
key: "fadeOut",
|
|
3392
3350
|
value: function fadeOut(element, ms) {
|
|
3393
3351
|
var opacity = 1,
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3352
|
+
interval = 50,
|
|
3353
|
+
duration = ms,
|
|
3354
|
+
gap = interval / duration;
|
|
3397
3355
|
var fading = setInterval(function () {
|
|
3398
3356
|
opacity -= gap;
|
|
3399
|
-
|
|
3400
3357
|
if (opacity <= 0) {
|
|
3401
3358
|
opacity = 0;
|
|
3402
3359
|
clearInterval(fading);
|
|
3403
3360
|
}
|
|
3404
|
-
|
|
3405
3361
|
element.style.opacity = opacity;
|
|
3406
3362
|
}, interval);
|
|
3407
3363
|
}
|
|
@@ -3428,7 +3384,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3428
3384
|
var scroll = container.scrollTop;
|
|
3429
3385
|
var elementHeight = container.clientHeight;
|
|
3430
3386
|
var itemHeight = this.getOuterHeight(item);
|
|
3431
|
-
|
|
3432
3387
|
if (offset < 0) {
|
|
3433
3388
|
container.scrollTop = scroll + offset;
|
|
3434
3389
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -3447,7 +3402,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3447
3402
|
} else if (document['selection'] && document['selection'].empty) {
|
|
3448
3403
|
try {
|
|
3449
3404
|
document['selection'].empty();
|
|
3450
|
-
} catch (error) {
|
|
3405
|
+
} catch (error) {
|
|
3406
|
+
//ignore IE bug
|
|
3451
3407
|
}
|
|
3452
3408
|
}
|
|
3453
3409
|
}
|
|
@@ -3469,19 +3425,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3469
3425
|
if (!this.browser) {
|
|
3470
3426
|
var matched = this.resolveUserAgent();
|
|
3471
3427
|
this.browser = {};
|
|
3472
|
-
|
|
3473
3428
|
if (matched.browser) {
|
|
3474
3429
|
this.browser[matched.browser] = true;
|
|
3475
3430
|
this.browser['version'] = matched.version;
|
|
3476
3431
|
}
|
|
3477
|
-
|
|
3478
3432
|
if (this.browser['chrome']) {
|
|
3479
3433
|
this.browser['webkit'] = true;
|
|
3480
3434
|
} else if (this.browser['webkit']) {
|
|
3481
3435
|
this.browser['safari'] = true;
|
|
3482
3436
|
}
|
|
3483
3437
|
}
|
|
3484
|
-
|
|
3485
3438
|
return this.browser;
|
|
3486
3439
|
}
|
|
3487
3440
|
}, {
|
|
@@ -3509,10 +3462,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3509
3462
|
value: function getFocusableElements(element) {
|
|
3510
3463
|
var focusableElements = DomHandler.find(element, "button:not([tabindex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden]), \n [href][clientHeight][clientWidth]:not([tabindex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden]), \n input:not([tabindex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden]), select:not([tabindex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden]), \n textarea:not([tabindex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden]), [tabIndex]:not([tabIndex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden]), \n [contenteditable]:not([tabIndex = \"-1\"]):not([disabled]):not([style*=\"display:none\"]):not([hidden])");
|
|
3511
3464
|
var visibleFocusableElements = [];
|
|
3512
|
-
|
|
3513
3465
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
3514
|
-
|
|
3515
|
-
|
|
3466
|
+
_step3;
|
|
3516
3467
|
try {
|
|
3517
3468
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
3518
3469
|
var focusableElement = _step3.value;
|
|
@@ -3523,7 +3474,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3523
3474
|
} finally {
|
|
3524
3475
|
_iterator3.f();
|
|
3525
3476
|
}
|
|
3526
|
-
|
|
3527
3477
|
return visibleFocusableElements;
|
|
3528
3478
|
}
|
|
3529
3479
|
}, {
|
|
@@ -3566,55 +3516,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3566
3516
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
3567
3517
|
}
|
|
3568
3518
|
}]);
|
|
3569
|
-
|
|
3570
3519
|
return DomHandler;
|
|
3571
3520
|
}();
|
|
3572
3521
|
|
|
3573
|
-
|
|
3574
3522
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
3575
3523
|
|
|
3576
|
-
|
|
3577
3524
|
function bindEvents(el) {
|
|
3578
3525
|
el.addEventListener('mousedown', onMouseDown);
|
|
3579
3526
|
}
|
|
3580
|
-
|
|
3581
3527
|
function unbindEvents(el) {
|
|
3582
3528
|
el.removeEventListener('mousedown', onMouseDown);
|
|
3583
3529
|
}
|
|
3584
|
-
|
|
3585
3530
|
function create(el) {
|
|
3586
3531
|
var ink = document.createElement('span');
|
|
3587
3532
|
ink.className = 'p-ink';
|
|
3588
3533
|
el.appendChild(ink);
|
|
3589
3534
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
3590
3535
|
}
|
|
3591
|
-
|
|
3592
3536
|
function remove(el) {
|
|
3593
3537
|
var ink = getInk(el);
|
|
3594
|
-
|
|
3595
3538
|
if (ink) {
|
|
3596
3539
|
unbindEvents(el);
|
|
3597
3540
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
3598
3541
|
ink.remove();
|
|
3599
3542
|
}
|
|
3600
3543
|
}
|
|
3601
|
-
|
|
3602
3544
|
function onMouseDown(event) {
|
|
3603
3545
|
var target = event.currentTarget;
|
|
3604
3546
|
var ink = getInk(target);
|
|
3605
|
-
|
|
3606
3547
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
3607
3548
|
return;
|
|
3608
3549
|
}
|
|
3609
|
-
|
|
3610
3550
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
3611
|
-
|
|
3612
3551
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
3613
3552
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
3614
3553
|
ink.style.height = d + 'px';
|
|
3615
3554
|
ink.style.width = d + 'px';
|
|
3616
3555
|
}
|
|
3617
|
-
|
|
3618
3556
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
3619
3557
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
3620
3558
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -3622,21 +3560,17 @@ function onMouseDown(event) {
|
|
|
3622
3560
|
ink.style.left = x + 'px';
|
|
3623
3561
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
3624
3562
|
}
|
|
3625
|
-
|
|
3626
3563
|
function onAnimationEnd(event) {
|
|
3627
3564
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
3628
3565
|
}
|
|
3629
|
-
|
|
3630
3566
|
function getInk(el) {
|
|
3631
3567
|
for (var i = 0; i < el.children.length; i++) {
|
|
3632
3568
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
3633
3569
|
return el.children[i];
|
|
3634
3570
|
}
|
|
3635
3571
|
}
|
|
3636
|
-
|
|
3637
3572
|
return null;
|
|
3638
3573
|
}
|
|
3639
|
-
|
|
3640
3574
|
var Ripple = {
|
|
3641
3575
|
inserted: function inserted(el, binding, vnode) {
|
|
3642
3576
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|