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
|
@@ -3639,11 +3639,10 @@ if (typeof window !== 'undefined') {
|
|
|
3639
3639
|
// Indicate to webpack that this file can be concatenated
|
|
3640
3640
|
/* harmony default export */ var setPublicPath = (null);
|
|
3641
3641
|
|
|
3642
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3642
|
+
// 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/confirmpopup/ConfirmPopup.vue?vue&type=template&id=ab9d457e&
|
|
3643
3643
|
var render = function render() {
|
|
3644
3644
|
var _vm = this,
|
|
3645
|
-
|
|
3646
|
-
|
|
3645
|
+
_c = _vm._self._c;
|
|
3647
3646
|
return _c('transition', {
|
|
3648
3647
|
attrs: {
|
|
3649
3648
|
"name": "p-confirm-popup"
|
|
@@ -3688,7 +3687,6 @@ var render = function render() {
|
|
|
3688
3687
|
}
|
|
3689
3688
|
})], 1)], 2) : _vm._e()]);
|
|
3690
3689
|
};
|
|
3691
|
-
|
|
3692
3690
|
var staticRenderFns = [];
|
|
3693
3691
|
|
|
3694
3692
|
// CONCATENATED MODULE: ./src/components/confirmpopup/ConfirmPopup.vue?vue&type=template&id=ab9d457e&
|
|
@@ -3720,14 +3718,12 @@ var es6_map = __webpack_require__("f400");
|
|
|
3720
3718
|
},
|
|
3721
3719
|
off: function off(type, handler) {
|
|
3722
3720
|
var handlers = allHandlers.get(type);
|
|
3723
|
-
|
|
3724
3721
|
if (handlers) {
|
|
3725
3722
|
handlers.splice(handlers.indexOf(handler) >>> 0, 1);
|
|
3726
3723
|
}
|
|
3727
3724
|
},
|
|
3728
3725
|
emit: function emit(type, evt) {
|
|
3729
3726
|
var handlers = allHandlers.get(type);
|
|
3730
|
-
|
|
3731
3727
|
if (handlers) {
|
|
3732
3728
|
handlers.slice().map(function (handler) {
|
|
3733
3729
|
handler(evt);
|
|
@@ -3751,26 +3747,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
3751
3747
|
|
|
3752
3748
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
3753
3749
|
|
|
3754
|
-
|
|
3755
3750
|
function _defineProperties(target, props) {
|
|
3756
3751
|
for (var i = 0; i < props.length; i++) {
|
|
3757
3752
|
var descriptor = props[i];
|
|
3758
3753
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
3759
3754
|
descriptor.configurable = true;
|
|
3760
3755
|
if ("value" in descriptor) descriptor.writable = true;
|
|
3761
|
-
|
|
3762
3756
|
define_property_default()(target, descriptor.key, descriptor);
|
|
3763
3757
|
}
|
|
3764
3758
|
}
|
|
3765
|
-
|
|
3766
3759
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
3767
3760
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3768
3761
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3769
|
-
|
|
3770
3762
|
define_property_default()(Constructor, "prototype", {
|
|
3771
3763
|
writable: false
|
|
3772
3764
|
});
|
|
3773
|
-
|
|
3774
3765
|
return Constructor;
|
|
3775
3766
|
}
|
|
3776
3767
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es7.symbol.async-iterator.js
|
|
@@ -3813,18 +3804,13 @@ var es6_regexp_split = __webpack_require__("28a5");
|
|
|
3813
3804
|
|
|
3814
3805
|
|
|
3815
3806
|
|
|
3816
|
-
|
|
3817
3807
|
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; } } }; }
|
|
3818
|
-
|
|
3819
3808
|
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); }
|
|
3820
|
-
|
|
3821
3809
|
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; }
|
|
3822
|
-
|
|
3823
3810
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
3824
3811
|
function DomHandler() {
|
|
3825
3812
|
_classCallCheck(this, DomHandler);
|
|
3826
3813
|
}
|
|
3827
|
-
|
|
3828
3814
|
_createClass(DomHandler, null, [{
|
|
3829
3815
|
key: "innerWidth",
|
|
3830
3816
|
value: function innerWidth(el) {
|
|
@@ -3858,12 +3844,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3858
3844
|
value: function getOuterWidth(el, margin) {
|
|
3859
3845
|
if (el) {
|
|
3860
3846
|
var width = el.offsetWidth;
|
|
3861
|
-
|
|
3862
3847
|
if (margin) {
|
|
3863
3848
|
var style = getComputedStyle(el);
|
|
3864
3849
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
3865
3850
|
}
|
|
3866
|
-
|
|
3867
3851
|
return width;
|
|
3868
3852
|
} else {
|
|
3869
3853
|
return 0;
|
|
@@ -3874,12 +3858,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3874
3858
|
value: function getOuterHeight(el, margin) {
|
|
3875
3859
|
if (el) {
|
|
3876
3860
|
var height = el.offsetHeight;
|
|
3877
|
-
|
|
3878
3861
|
if (margin) {
|
|
3879
3862
|
var style = getComputedStyle(el);
|
|
3880
3863
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3881
3864
|
}
|
|
3882
|
-
|
|
3883
3865
|
return height;
|
|
3884
3866
|
} else {
|
|
3885
3867
|
return 0;
|
|
@@ -3890,12 +3872,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3890
3872
|
value: function getClientHeight(el, margin) {
|
|
3891
3873
|
if (el) {
|
|
3892
3874
|
var height = el.clientHeight;
|
|
3893
|
-
|
|
3894
3875
|
if (margin) {
|
|
3895
3876
|
var style = getComputedStyle(el);
|
|
3896
3877
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3897
3878
|
}
|
|
3898
|
-
|
|
3899
3879
|
return height;
|
|
3900
3880
|
} else {
|
|
3901
3881
|
return 0;
|
|
@@ -3905,11 +3885,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3905
3885
|
key: "getViewport",
|
|
3906
3886
|
value: function getViewport() {
|
|
3907
3887
|
var win = window,
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3888
|
+
d = document,
|
|
3889
|
+
e = d.documentElement,
|
|
3890
|
+
g = d.getElementsByTagName('body')[0],
|
|
3891
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
3892
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
3913
3893
|
return {
|
|
3914
3894
|
width: w,
|
|
3915
3895
|
height: h
|
|
@@ -3940,12 +3920,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3940
3920
|
value: function index(element) {
|
|
3941
3921
|
var children = element.parentNode.childNodes;
|
|
3942
3922
|
var num = 0;
|
|
3943
|
-
|
|
3944
3923
|
for (var i = 0; i < children.length; i++) {
|
|
3945
3924
|
if (children[i] === element) return num;
|
|
3946
3925
|
if (children[i].nodeType === 1) num++;
|
|
3947
3926
|
}
|
|
3948
|
-
|
|
3949
3927
|
return -1;
|
|
3950
3928
|
}
|
|
3951
3929
|
}, {
|
|
@@ -3953,13 +3931,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3953
3931
|
value: function addMultipleClasses(element, className) {
|
|
3954
3932
|
if (element.classList) {
|
|
3955
3933
|
var styles = className.split(' ');
|
|
3956
|
-
|
|
3957
3934
|
for (var i = 0; i < styles.length; i++) {
|
|
3958
3935
|
element.classList.add(styles[i]);
|
|
3959
3936
|
}
|
|
3960
3937
|
} else {
|
|
3961
3938
|
var _styles = className.split(' ');
|
|
3962
|
-
|
|
3963
3939
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
3964
3940
|
element.className += ' ' + _styles[_i];
|
|
3965
3941
|
}
|
|
@@ -3981,7 +3957,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3981
3957
|
if (element) {
|
|
3982
3958
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
3983
3959
|
}
|
|
3984
|
-
|
|
3985
3960
|
return false;
|
|
3986
3961
|
}
|
|
3987
3962
|
}, {
|
|
@@ -4026,11 +4001,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4026
4001
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
4027
4002
|
var viewport = this.getViewport();
|
|
4028
4003
|
var top, left;
|
|
4029
|
-
|
|
4030
4004
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
4031
4005
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
4032
4006
|
element.style.transformOrigin = 'bottom';
|
|
4033
|
-
|
|
4034
4007
|
if (top < 0) {
|
|
4035
4008
|
top = windowScrollTop;
|
|
4036
4009
|
}
|
|
@@ -4038,7 +4011,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4038
4011
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
4039
4012
|
element.style.transformOrigin = 'top';
|
|
4040
4013
|
}
|
|
4041
|
-
|
|
4042
4014
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
4043
4015
|
element.style.top = top + 'px';
|
|
4044
4016
|
element.style.left = left + 'px';
|
|
@@ -4054,11 +4026,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4054
4026
|
var targetOffset = target.getBoundingClientRect();
|
|
4055
4027
|
var viewport = this.getViewport();
|
|
4056
4028
|
var top, left;
|
|
4057
|
-
|
|
4058
4029
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
4059
4030
|
top = -1 * elementDimensions.height;
|
|
4060
4031
|
element.style.transformOrigin = 'bottom';
|
|
4061
|
-
|
|
4062
4032
|
if (targetOffset.top + top < 0) {
|
|
4063
4033
|
top = -1 * targetOffset.top;
|
|
4064
4034
|
}
|
|
@@ -4066,7 +4036,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4066
4036
|
top = targetHeight;
|
|
4067
4037
|
element.style.transformOrigin = 'top';
|
|
4068
4038
|
}
|
|
4069
|
-
|
|
4070
4039
|
if (elementDimensions.width > viewport.width) {
|
|
4071
4040
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
4072
4041
|
left = targetOffset.left * -1;
|
|
@@ -4077,7 +4046,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4077
4046
|
// element fits on screen (align with target)
|
|
4078
4047
|
left = 0;
|
|
4079
4048
|
}
|
|
4080
|
-
|
|
4081
4049
|
element.style.top = top + 'px';
|
|
4082
4050
|
element.style.left = left + 'px';
|
|
4083
4051
|
}
|
|
@@ -4091,35 +4059,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4091
4059
|
key: "getScrollableParents",
|
|
4092
4060
|
value: function getScrollableParents(element) {
|
|
4093
4061
|
var scrollableParents = [];
|
|
4094
|
-
|
|
4095
4062
|
if (element) {
|
|
4096
4063
|
var parents = this.getParents(element);
|
|
4097
4064
|
var overflowRegex = /(auto|scroll)/;
|
|
4098
|
-
|
|
4099
4065
|
var overflowCheck = function overflowCheck(node) {
|
|
4100
4066
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
4101
4067
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
4102
4068
|
};
|
|
4103
|
-
|
|
4104
4069
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
4105
|
-
|
|
4106
|
-
|
|
4070
|
+
_step;
|
|
4107
4071
|
try {
|
|
4108
4072
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
4109
4073
|
var parent = _step.value;
|
|
4110
4074
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
4111
|
-
|
|
4112
4075
|
if (scrollSelectors) {
|
|
4113
4076
|
var selectors = scrollSelectors.split(',');
|
|
4114
|
-
|
|
4115
4077
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
4116
|
-
|
|
4117
|
-
|
|
4078
|
+
_step2;
|
|
4118
4079
|
try {
|
|
4119
4080
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
4120
4081
|
var selector = _step2.value;
|
|
4121
4082
|
var el = this.findSingle(parent, selector);
|
|
4122
|
-
|
|
4123
4083
|
if (el && overflowCheck(el)) {
|
|
4124
4084
|
scrollableParents.push(el);
|
|
4125
4085
|
}
|
|
@@ -4137,7 +4097,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4137
4097
|
_iterator.f();
|
|
4138
4098
|
}
|
|
4139
4099
|
}
|
|
4140
|
-
|
|
4141
4100
|
return scrollableParents;
|
|
4142
4101
|
}
|
|
4143
4102
|
}, {
|
|
@@ -4178,34 +4137,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4178
4137
|
element.style.opacity = 0;
|
|
4179
4138
|
var last = +new Date();
|
|
4180
4139
|
var opacity = 0;
|
|
4181
|
-
|
|
4182
4140
|
var tick = function tick() {
|
|
4183
4141
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
4184
4142
|
element.style.opacity = opacity;
|
|
4185
4143
|
last = +new Date();
|
|
4186
|
-
|
|
4187
4144
|
if (+opacity < 1) {
|
|
4188
4145
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
4189
4146
|
}
|
|
4190
4147
|
};
|
|
4191
|
-
|
|
4192
4148
|
tick();
|
|
4193
4149
|
}
|
|
4194
4150
|
}, {
|
|
4195
4151
|
key: "fadeOut",
|
|
4196
4152
|
value: function fadeOut(element, ms) {
|
|
4197
4153
|
var opacity = 1,
|
|
4198
|
-
|
|
4199
|
-
|
|
4200
|
-
|
|
4154
|
+
interval = 50,
|
|
4155
|
+
duration = ms,
|
|
4156
|
+
gap = interval / duration;
|
|
4201
4157
|
var fading = setInterval(function () {
|
|
4202
4158
|
opacity -= gap;
|
|
4203
|
-
|
|
4204
4159
|
if (opacity <= 0) {
|
|
4205
4160
|
opacity = 0;
|
|
4206
4161
|
clearInterval(fading);
|
|
4207
4162
|
}
|
|
4208
|
-
|
|
4209
4163
|
element.style.opacity = opacity;
|
|
4210
4164
|
}, interval);
|
|
4211
4165
|
}
|
|
@@ -4232,7 +4186,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4232
4186
|
var scroll = container.scrollTop;
|
|
4233
4187
|
var elementHeight = container.clientHeight;
|
|
4234
4188
|
var itemHeight = this.getOuterHeight(item);
|
|
4235
|
-
|
|
4236
4189
|
if (offset < 0) {
|
|
4237
4190
|
container.scrollTop = scroll + offset;
|
|
4238
4191
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -4251,7 +4204,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4251
4204
|
} else if (document['selection'] && document['selection'].empty) {
|
|
4252
4205
|
try {
|
|
4253
4206
|
document['selection'].empty();
|
|
4254
|
-
} catch (error) {
|
|
4207
|
+
} catch (error) {
|
|
4208
|
+
//ignore IE bug
|
|
4255
4209
|
}
|
|
4256
4210
|
}
|
|
4257
4211
|
}
|
|
@@ -4273,19 +4227,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4273
4227
|
if (!this.browser) {
|
|
4274
4228
|
var matched = this.resolveUserAgent();
|
|
4275
4229
|
this.browser = {};
|
|
4276
|
-
|
|
4277
4230
|
if (matched.browser) {
|
|
4278
4231
|
this.browser[matched.browser] = true;
|
|
4279
4232
|
this.browser['version'] = matched.version;
|
|
4280
4233
|
}
|
|
4281
|
-
|
|
4282
4234
|
if (this.browser['chrome']) {
|
|
4283
4235
|
this.browser['webkit'] = true;
|
|
4284
4236
|
} else if (this.browser['webkit']) {
|
|
4285
4237
|
this.browser['safari'] = true;
|
|
4286
4238
|
}
|
|
4287
4239
|
}
|
|
4288
|
-
|
|
4289
4240
|
return this.browser;
|
|
4290
4241
|
}
|
|
4291
4242
|
}, {
|
|
@@ -4313,10 +4264,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4313
4264
|
value: function getFocusableElements(element) {
|
|
4314
4265
|
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])");
|
|
4315
4266
|
var visibleFocusableElements = [];
|
|
4316
|
-
|
|
4317
4267
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
4318
|
-
|
|
4319
|
-
|
|
4268
|
+
_step3;
|
|
4320
4269
|
try {
|
|
4321
4270
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
4322
4271
|
var focusableElement = _step3.value;
|
|
@@ -4327,7 +4276,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4327
4276
|
} finally {
|
|
4328
4277
|
_iterator3.f();
|
|
4329
4278
|
}
|
|
4330
|
-
|
|
4331
4279
|
return visibleFocusableElements;
|
|
4332
4280
|
}
|
|
4333
4281
|
}, {
|
|
@@ -4370,31 +4318,24 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4370
4318
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
4371
4319
|
}
|
|
4372
4320
|
}]);
|
|
4373
|
-
|
|
4374
4321
|
return DomHandler;
|
|
4375
4322
|
}();
|
|
4376
4323
|
|
|
4377
|
-
|
|
4378
4324
|
// CONCATENATED MODULE: ./src/components/utils/ConnectedOverlayScrollHandler.js
|
|
4379
4325
|
|
|
4380
4326
|
|
|
4381
4327
|
|
|
4382
|
-
|
|
4383
4328
|
var ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler = /*#__PURE__*/function () {
|
|
4384
4329
|
function ConnectedOverlayScrollHandler(element) {
|
|
4385
4330
|
var listener = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {};
|
|
4386
|
-
|
|
4387
4331
|
_classCallCheck(this, ConnectedOverlayScrollHandler);
|
|
4388
|
-
|
|
4389
4332
|
this.element = element;
|
|
4390
4333
|
this.listener = listener;
|
|
4391
4334
|
}
|
|
4392
|
-
|
|
4393
4335
|
_createClass(ConnectedOverlayScrollHandler, [{
|
|
4394
4336
|
key: "bindScrollListener",
|
|
4395
4337
|
value: function bindScrollListener() {
|
|
4396
4338
|
this.scrollableParents = DomHandler_DomHandler.getScrollableParents(this.element);
|
|
4397
|
-
|
|
4398
4339
|
for (var i = 0; i < this.scrollableParents.length; i++) {
|
|
4399
4340
|
this.scrollableParents[i].addEventListener('scroll', this.listener);
|
|
4400
4341
|
}
|
|
@@ -4417,16 +4358,13 @@ var ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler = /*#__PURE__*/f
|
|
|
4417
4358
|
this.scrollableParents = null;
|
|
4418
4359
|
}
|
|
4419
4360
|
}]);
|
|
4420
|
-
|
|
4421
4361
|
return ConnectedOverlayScrollHandler;
|
|
4422
4362
|
}();
|
|
4423
4363
|
|
|
4424
|
-
|
|
4425
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"379c0a9c-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./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/button/Button.vue?vue&type=template&id=44f787be&
|
|
4364
|
+
// 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/button/Button.vue?vue&type=template&id=44f787be&
|
|
4426
4365
|
var Buttonvue_type_template_id_44f787be_render = function render() {
|
|
4427
4366
|
var _vm = this,
|
|
4428
|
-
|
|
4429
|
-
|
|
4367
|
+
_c = _vm._self._c;
|
|
4430
4368
|
return _c('button', _vm._g({
|
|
4431
4369
|
directives: [{
|
|
4432
4370
|
name: "ripple",
|
|
@@ -4449,55 +4387,44 @@ var Buttonvue_type_template_id_44f787be_render = function render() {
|
|
|
4449
4387
|
}, [_vm._v(_vm._s(_vm.badge))]) : _vm._e()];
|
|
4450
4388
|
})], 2);
|
|
4451
4389
|
};
|
|
4452
|
-
|
|
4453
4390
|
var Buttonvue_type_template_id_44f787be_staticRenderFns = [];
|
|
4454
4391
|
|
|
4455
4392
|
// CONCATENATED MODULE: ./src/components/button/Button.vue?vue&type=template&id=44f787be&
|
|
4456
4393
|
|
|
4457
4394
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
4458
4395
|
|
|
4459
|
-
|
|
4460
4396
|
function bindEvents(el) {
|
|
4461
4397
|
el.addEventListener('mousedown', onMouseDown);
|
|
4462
4398
|
}
|
|
4463
|
-
|
|
4464
4399
|
function unbindEvents(el) {
|
|
4465
4400
|
el.removeEventListener('mousedown', onMouseDown);
|
|
4466
4401
|
}
|
|
4467
|
-
|
|
4468
4402
|
function create(el) {
|
|
4469
4403
|
var ink = document.createElement('span');
|
|
4470
4404
|
ink.className = 'p-ink';
|
|
4471
4405
|
el.appendChild(ink);
|
|
4472
4406
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
4473
4407
|
}
|
|
4474
|
-
|
|
4475
4408
|
function remove(el) {
|
|
4476
4409
|
var ink = getInk(el);
|
|
4477
|
-
|
|
4478
4410
|
if (ink) {
|
|
4479
4411
|
unbindEvents(el);
|
|
4480
4412
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
4481
4413
|
ink.remove();
|
|
4482
4414
|
}
|
|
4483
4415
|
}
|
|
4484
|
-
|
|
4485
4416
|
function onMouseDown(event) {
|
|
4486
4417
|
var target = event.currentTarget;
|
|
4487
4418
|
var ink = getInk(target);
|
|
4488
|
-
|
|
4489
4419
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
4490
4420
|
return;
|
|
4491
4421
|
}
|
|
4492
|
-
|
|
4493
4422
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
4494
|
-
|
|
4495
4423
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
4496
4424
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
4497
4425
|
ink.style.height = d + 'px';
|
|
4498
4426
|
ink.style.width = d + 'px';
|
|
4499
4427
|
}
|
|
4500
|
-
|
|
4501
4428
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
4502
4429
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
4503
4430
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -4505,21 +4432,17 @@ function onMouseDown(event) {
|
|
|
4505
4432
|
ink.style.left = x + 'px';
|
|
4506
4433
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
4507
4434
|
}
|
|
4508
|
-
|
|
4509
4435
|
function onAnimationEnd(event) {
|
|
4510
4436
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
4511
4437
|
}
|
|
4512
|
-
|
|
4513
4438
|
function getInk(el) {
|
|
4514
4439
|
for (var i = 0; i < el.children.length; i++) {
|
|
4515
4440
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
4516
4441
|
return el.children[i];
|
|
4517
4442
|
}
|
|
4518
4443
|
}
|
|
4519
|
-
|
|
4520
4444
|
return null;
|
|
4521
4445
|
}
|
|
4522
|
-
|
|
4523
4446
|
var Ripple = {
|
|
4524
4447
|
inserted: function inserted(el, binding, vnode) {
|
|
4525
4448
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -4731,12 +4654,10 @@ var component = normalizeComponent(
|
|
|
4731
4654
|
container: null,
|
|
4732
4655
|
mounted: function mounted() {
|
|
4733
4656
|
var _this = this;
|
|
4734
|
-
|
|
4735
4657
|
ConfirmationEventBus.on('confirm', function (options) {
|
|
4736
4658
|
if (!options) {
|
|
4737
4659
|
return;
|
|
4738
4660
|
}
|
|
4739
|
-
|
|
4740
4661
|
if (options.group === _this.group) {
|
|
4741
4662
|
_this.confirmation = options;
|
|
4742
4663
|
_this.target = options.target;
|
|
@@ -4753,12 +4674,10 @@ var component = normalizeComponent(
|
|
|
4753
4674
|
ConfirmationEventBus.off('close');
|
|
4754
4675
|
this.restoreAppend();
|
|
4755
4676
|
this.unbindOutsideClickListener();
|
|
4756
|
-
|
|
4757
4677
|
if (this.scrollHandler) {
|
|
4758
4678
|
this.scrollHandler.destroy();
|
|
4759
4679
|
this.scrollHandler = null;
|
|
4760
4680
|
}
|
|
4761
|
-
|
|
4762
4681
|
this.unbindResizeListener();
|
|
4763
4682
|
this.target = null;
|
|
4764
4683
|
this.container = null;
|
|
@@ -4769,14 +4688,12 @@ var component = normalizeComponent(
|
|
|
4769
4688
|
if (this.confirmation.accept) {
|
|
4770
4689
|
this.confirmation.accept();
|
|
4771
4690
|
}
|
|
4772
|
-
|
|
4773
4691
|
this.visible = false;
|
|
4774
4692
|
},
|
|
4775
4693
|
reject: function reject() {
|
|
4776
4694
|
if (this.confirmation.reject) {
|
|
4777
4695
|
this.confirmation.reject();
|
|
4778
4696
|
}
|
|
4779
|
-
|
|
4780
4697
|
this.visible = false;
|
|
4781
4698
|
},
|
|
4782
4699
|
onEnter: function onEnter() {
|
|
@@ -4797,27 +4714,22 @@ var component = normalizeComponent(
|
|
|
4797
4714
|
var containerOffset = DomHandler_DomHandler.getOffset(this.$refs.container);
|
|
4798
4715
|
var targetOffset = DomHandler_DomHandler.getOffset(this.target);
|
|
4799
4716
|
var arrowLeft = 0;
|
|
4800
|
-
|
|
4801
4717
|
if (containerOffset.left < targetOffset.left) {
|
|
4802
4718
|
arrowLeft = targetOffset.left - containerOffset.left;
|
|
4803
4719
|
}
|
|
4804
|
-
|
|
4805
4720
|
this.$refs.container.style.setProperty('--overlayArrowLeft', "".concat(arrowLeft, "px"));
|
|
4806
|
-
|
|
4807
4721
|
if (containerOffset.top < targetOffset.top) {
|
|
4808
4722
|
DomHandler_DomHandler.addClass(this.$refs.container, 'p-confirm-popup-flipped');
|
|
4809
4723
|
}
|
|
4810
4724
|
},
|
|
4811
4725
|
bindOutsideClickListener: function bindOutsideClickListener() {
|
|
4812
4726
|
var _this2 = this;
|
|
4813
|
-
|
|
4814
4727
|
if (!this.outsideClickListener) {
|
|
4815
4728
|
this.outsideClickListener = function (event) {
|
|
4816
4729
|
if (_this2.visible && _this2.$refs.container && !_this2.$refs.container.contains(event.target) && !_this2.isTargetClicked(event)) {
|
|
4817
4730
|
_this2.visible = false;
|
|
4818
4731
|
}
|
|
4819
4732
|
};
|
|
4820
|
-
|
|
4821
4733
|
document.addEventListener('click', this.outsideClickListener);
|
|
4822
4734
|
}
|
|
4823
4735
|
},
|
|
@@ -4829,7 +4741,6 @@ var component = normalizeComponent(
|
|
|
4829
4741
|
},
|
|
4830
4742
|
bindScrollListener: function bindScrollListener() {
|
|
4831
4743
|
var _this3 = this;
|
|
4832
|
-
|
|
4833
4744
|
if (!this.scrollHandler) {
|
|
4834
4745
|
this.scrollHandler = new ConnectedOverlayScrollHandler_ConnectedOverlayScrollHandler(this.target, function () {
|
|
4835
4746
|
if (_this3.visible) {
|
|
@@ -4837,7 +4748,6 @@ var component = normalizeComponent(
|
|
|
4837
4748
|
}
|
|
4838
4749
|
});
|
|
4839
4750
|
}
|
|
4840
|
-
|
|
4841
4751
|
this.scrollHandler.bindScrollListener();
|
|
4842
4752
|
},
|
|
4843
4753
|
unbindScrollListener: function unbindScrollListener() {
|
|
@@ -4847,14 +4757,12 @@ var component = normalizeComponent(
|
|
|
4847
4757
|
},
|
|
4848
4758
|
bindResizeListener: function bindResizeListener() {
|
|
4849
4759
|
var _this4 = this;
|
|
4850
|
-
|
|
4851
4760
|
if (!this.resizeListener) {
|
|
4852
4761
|
this.resizeListener = function () {
|
|
4853
4762
|
if (_this4.visible) {
|
|
4854
4763
|
_this4.visible = false;
|
|
4855
4764
|
}
|
|
4856
4765
|
};
|
|
4857
|
-
|
|
4858
4766
|
window.addEventListener('resize', this.resizeListener);
|
|
4859
4767
|
}
|
|
4860
4768
|
},
|