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
|
@@ -3832,11 +3832,10 @@ if (typeof window !== 'undefined') {
|
|
|
3832
3832
|
// Indicate to webpack that this file can be concatenated
|
|
3833
3833
|
/* harmony default export */ var setPublicPath = (null);
|
|
3834
3834
|
|
|
3835
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3835
|
+
// 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/confirmdialog/ConfirmDialog.vue?vue&type=template&id=052f8fae&
|
|
3836
3836
|
var render = function render() {
|
|
3837
3837
|
var _vm = this,
|
|
3838
|
-
|
|
3839
|
-
|
|
3838
|
+
_c = _vm._self._c;
|
|
3840
3839
|
return _c('CDialog', {
|
|
3841
3840
|
staticClass: "p-confirm-dialog",
|
|
3842
3841
|
attrs: {
|
|
@@ -3888,7 +3887,6 @@ var render = function render() {
|
|
|
3888
3887
|
staticClass: "p-confirm-dialog-message"
|
|
3889
3888
|
}, [_vm._v(_vm._s(_vm.message))])]);
|
|
3890
3889
|
};
|
|
3891
|
-
|
|
3892
3890
|
var staticRenderFns = [];
|
|
3893
3891
|
|
|
3894
3892
|
// CONCATENATED MODULE: ./src/components/confirmdialog/ConfirmDialog.vue?vue&type=template&id=052f8fae&
|
|
@@ -3920,14 +3918,12 @@ var es6_map = __webpack_require__("f400");
|
|
|
3920
3918
|
},
|
|
3921
3919
|
off: function off(type, handler) {
|
|
3922
3920
|
var handlers = allHandlers.get(type);
|
|
3923
|
-
|
|
3924
3921
|
if (handlers) {
|
|
3925
3922
|
handlers.splice(handlers.indexOf(handler) >>> 0, 1);
|
|
3926
3923
|
}
|
|
3927
3924
|
},
|
|
3928
3925
|
emit: function emit(type, evt) {
|
|
3929
3926
|
var handlers = allHandlers.get(type);
|
|
3930
|
-
|
|
3931
3927
|
if (handlers) {
|
|
3932
3928
|
handlers.slice().map(function (handler) {
|
|
3933
3929
|
handler(evt);
|
|
@@ -3939,11 +3935,10 @@ var es6_map = __webpack_require__("f400");
|
|
|
3939
3935
|
// CONCATENATED MODULE: ./src/components/confirmationeventbus/ConfirmationEventBus.js
|
|
3940
3936
|
|
|
3941
3937
|
/* harmony default export */ var ConfirmationEventBus = (EventBus());
|
|
3942
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3938
|
+
// 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/dialog/Dialog.vue?vue&type=template&id=644e6a2e&
|
|
3943
3939
|
var Dialogvue_type_template_id_644e6a2e_render = function render() {
|
|
3944
3940
|
var _vm = this,
|
|
3945
|
-
|
|
3946
|
-
|
|
3941
|
+
_c = _vm._self._c;
|
|
3947
3942
|
return _vm.maskVisible ? _c('div', {
|
|
3948
3943
|
ref: "mask",
|
|
3949
3944
|
class: _vm.maskClass,
|
|
@@ -4021,7 +4016,6 @@ var Dialogvue_type_template_id_644e6a2e_render = function render() {
|
|
|
4021
4016
|
return [_vm._v(_vm._s(_vm.footer))];
|
|
4022
4017
|
})], 2) : _vm._e()]) : _vm._e()])], 1) : _vm._e();
|
|
4023
4018
|
};
|
|
4024
|
-
|
|
4025
4019
|
var Dialogvue_type_template_id_644e6a2e_staticRenderFns = [];
|
|
4026
4020
|
|
|
4027
4021
|
// CONCATENATED MODULE: ./src/components/dialog/Dialog.vue?vue&type=template&id=644e6a2e&
|
|
@@ -4046,7 +4040,6 @@ function _defineProperty(obj, key, value) {
|
|
|
4046
4040
|
} else {
|
|
4047
4041
|
obj[key] = value;
|
|
4048
4042
|
}
|
|
4049
|
-
|
|
4050
4043
|
return obj;
|
|
4051
4044
|
}
|
|
4052
4045
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.object.keys.js
|
|
@@ -4097,26 +4090,21 @@ function _classCallCheck(instance, Constructor) {
|
|
|
4097
4090
|
}
|
|
4098
4091
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
4099
4092
|
|
|
4100
|
-
|
|
4101
4093
|
function _defineProperties(target, props) {
|
|
4102
4094
|
for (var i = 0; i < props.length; i++) {
|
|
4103
4095
|
var descriptor = props[i];
|
|
4104
4096
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
4105
4097
|
descriptor.configurable = true;
|
|
4106
4098
|
if ("value" in descriptor) descriptor.writable = true;
|
|
4107
|
-
|
|
4108
4099
|
define_property_default()(target, descriptor.key, descriptor);
|
|
4109
4100
|
}
|
|
4110
4101
|
}
|
|
4111
|
-
|
|
4112
4102
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
4113
4103
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
4114
4104
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
4115
|
-
|
|
4116
4105
|
define_property_default()(Constructor, "prototype", {
|
|
4117
4106
|
writable: false
|
|
4118
4107
|
});
|
|
4119
|
-
|
|
4120
4108
|
return Constructor;
|
|
4121
4109
|
}
|
|
4122
4110
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -4132,18 +4120,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
4132
4120
|
|
|
4133
4121
|
|
|
4134
4122
|
|
|
4135
|
-
|
|
4136
4123
|
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; } } }; }
|
|
4137
|
-
|
|
4138
4124
|
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); }
|
|
4139
|
-
|
|
4140
4125
|
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; }
|
|
4141
|
-
|
|
4142
4126
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
4143
4127
|
function DomHandler() {
|
|
4144
4128
|
_classCallCheck(this, DomHandler);
|
|
4145
4129
|
}
|
|
4146
|
-
|
|
4147
4130
|
_createClass(DomHandler, null, [{
|
|
4148
4131
|
key: "innerWidth",
|
|
4149
4132
|
value: function innerWidth(el) {
|
|
@@ -4177,12 +4160,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4177
4160
|
value: function getOuterWidth(el, margin) {
|
|
4178
4161
|
if (el) {
|
|
4179
4162
|
var width = el.offsetWidth;
|
|
4180
|
-
|
|
4181
4163
|
if (margin) {
|
|
4182
4164
|
var style = getComputedStyle(el);
|
|
4183
4165
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
4184
4166
|
}
|
|
4185
|
-
|
|
4186
4167
|
return width;
|
|
4187
4168
|
} else {
|
|
4188
4169
|
return 0;
|
|
@@ -4193,12 +4174,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4193
4174
|
value: function getOuterHeight(el, margin) {
|
|
4194
4175
|
if (el) {
|
|
4195
4176
|
var height = el.offsetHeight;
|
|
4196
|
-
|
|
4197
4177
|
if (margin) {
|
|
4198
4178
|
var style = getComputedStyle(el);
|
|
4199
4179
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4200
4180
|
}
|
|
4201
|
-
|
|
4202
4181
|
return height;
|
|
4203
4182
|
} else {
|
|
4204
4183
|
return 0;
|
|
@@ -4209,12 +4188,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4209
4188
|
value: function getClientHeight(el, margin) {
|
|
4210
4189
|
if (el) {
|
|
4211
4190
|
var height = el.clientHeight;
|
|
4212
|
-
|
|
4213
4191
|
if (margin) {
|
|
4214
4192
|
var style = getComputedStyle(el);
|
|
4215
4193
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
4216
4194
|
}
|
|
4217
|
-
|
|
4218
4195
|
return height;
|
|
4219
4196
|
} else {
|
|
4220
4197
|
return 0;
|
|
@@ -4224,11 +4201,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4224
4201
|
key: "getViewport",
|
|
4225
4202
|
value: function getViewport() {
|
|
4226
4203
|
var win = window,
|
|
4227
|
-
|
|
4228
|
-
|
|
4229
|
-
|
|
4230
|
-
|
|
4231
|
-
|
|
4204
|
+
d = document,
|
|
4205
|
+
e = d.documentElement,
|
|
4206
|
+
g = d.getElementsByTagName('body')[0],
|
|
4207
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
4208
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
4232
4209
|
return {
|
|
4233
4210
|
width: w,
|
|
4234
4211
|
height: h
|
|
@@ -4259,12 +4236,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4259
4236
|
value: function index(element) {
|
|
4260
4237
|
var children = element.parentNode.childNodes;
|
|
4261
4238
|
var num = 0;
|
|
4262
|
-
|
|
4263
4239
|
for (var i = 0; i < children.length; i++) {
|
|
4264
4240
|
if (children[i] === element) return num;
|
|
4265
4241
|
if (children[i].nodeType === 1) num++;
|
|
4266
4242
|
}
|
|
4267
|
-
|
|
4268
4243
|
return -1;
|
|
4269
4244
|
}
|
|
4270
4245
|
}, {
|
|
@@ -4272,13 +4247,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4272
4247
|
value: function addMultipleClasses(element, className) {
|
|
4273
4248
|
if (element.classList) {
|
|
4274
4249
|
var styles = className.split(' ');
|
|
4275
|
-
|
|
4276
4250
|
for (var i = 0; i < styles.length; i++) {
|
|
4277
4251
|
element.classList.add(styles[i]);
|
|
4278
4252
|
}
|
|
4279
4253
|
} else {
|
|
4280
4254
|
var _styles = className.split(' ');
|
|
4281
|
-
|
|
4282
4255
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
4283
4256
|
element.className += ' ' + _styles[_i];
|
|
4284
4257
|
}
|
|
@@ -4300,7 +4273,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4300
4273
|
if (element) {
|
|
4301
4274
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
4302
4275
|
}
|
|
4303
|
-
|
|
4304
4276
|
return false;
|
|
4305
4277
|
}
|
|
4306
4278
|
}, {
|
|
@@ -4345,11 +4317,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4345
4317
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
4346
4318
|
var viewport = this.getViewport();
|
|
4347
4319
|
var top, left;
|
|
4348
|
-
|
|
4349
4320
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
4350
4321
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
4351
4322
|
element.style.transformOrigin = 'bottom';
|
|
4352
|
-
|
|
4353
4323
|
if (top < 0) {
|
|
4354
4324
|
top = windowScrollTop;
|
|
4355
4325
|
}
|
|
@@ -4357,7 +4327,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4357
4327
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
4358
4328
|
element.style.transformOrigin = 'top';
|
|
4359
4329
|
}
|
|
4360
|
-
|
|
4361
4330
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
4362
4331
|
element.style.top = top + 'px';
|
|
4363
4332
|
element.style.left = left + 'px';
|
|
@@ -4373,11 +4342,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4373
4342
|
var targetOffset = target.getBoundingClientRect();
|
|
4374
4343
|
var viewport = this.getViewport();
|
|
4375
4344
|
var top, left;
|
|
4376
|
-
|
|
4377
4345
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
4378
4346
|
top = -1 * elementDimensions.height;
|
|
4379
4347
|
element.style.transformOrigin = 'bottom';
|
|
4380
|
-
|
|
4381
4348
|
if (targetOffset.top + top < 0) {
|
|
4382
4349
|
top = -1 * targetOffset.top;
|
|
4383
4350
|
}
|
|
@@ -4385,7 +4352,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4385
4352
|
top = targetHeight;
|
|
4386
4353
|
element.style.transformOrigin = 'top';
|
|
4387
4354
|
}
|
|
4388
|
-
|
|
4389
4355
|
if (elementDimensions.width > viewport.width) {
|
|
4390
4356
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
4391
4357
|
left = targetOffset.left * -1;
|
|
@@ -4396,7 +4362,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4396
4362
|
// element fits on screen (align with target)
|
|
4397
4363
|
left = 0;
|
|
4398
4364
|
}
|
|
4399
|
-
|
|
4400
4365
|
element.style.top = top + 'px';
|
|
4401
4366
|
element.style.left = left + 'px';
|
|
4402
4367
|
}
|
|
@@ -4410,35 +4375,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4410
4375
|
key: "getScrollableParents",
|
|
4411
4376
|
value: function getScrollableParents(element) {
|
|
4412
4377
|
var scrollableParents = [];
|
|
4413
|
-
|
|
4414
4378
|
if (element) {
|
|
4415
4379
|
var parents = this.getParents(element);
|
|
4416
4380
|
var overflowRegex = /(auto|scroll)/;
|
|
4417
|
-
|
|
4418
4381
|
var overflowCheck = function overflowCheck(node) {
|
|
4419
4382
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
4420
4383
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
4421
4384
|
};
|
|
4422
|
-
|
|
4423
4385
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
4424
|
-
|
|
4425
|
-
|
|
4386
|
+
_step;
|
|
4426
4387
|
try {
|
|
4427
4388
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
4428
4389
|
var parent = _step.value;
|
|
4429
4390
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
4430
|
-
|
|
4431
4391
|
if (scrollSelectors) {
|
|
4432
4392
|
var selectors = scrollSelectors.split(',');
|
|
4433
|
-
|
|
4434
4393
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
4435
|
-
|
|
4436
|
-
|
|
4394
|
+
_step2;
|
|
4437
4395
|
try {
|
|
4438
4396
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
4439
4397
|
var selector = _step2.value;
|
|
4440
4398
|
var el = this.findSingle(parent, selector);
|
|
4441
|
-
|
|
4442
4399
|
if (el && overflowCheck(el)) {
|
|
4443
4400
|
scrollableParents.push(el);
|
|
4444
4401
|
}
|
|
@@ -4456,7 +4413,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4456
4413
|
_iterator.f();
|
|
4457
4414
|
}
|
|
4458
4415
|
}
|
|
4459
|
-
|
|
4460
4416
|
return scrollableParents;
|
|
4461
4417
|
}
|
|
4462
4418
|
}, {
|
|
@@ -4497,34 +4453,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4497
4453
|
element.style.opacity = 0;
|
|
4498
4454
|
var last = +new Date();
|
|
4499
4455
|
var opacity = 0;
|
|
4500
|
-
|
|
4501
4456
|
var tick = function tick() {
|
|
4502
4457
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
4503
4458
|
element.style.opacity = opacity;
|
|
4504
4459
|
last = +new Date();
|
|
4505
|
-
|
|
4506
4460
|
if (+opacity < 1) {
|
|
4507
4461
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
4508
4462
|
}
|
|
4509
4463
|
};
|
|
4510
|
-
|
|
4511
4464
|
tick();
|
|
4512
4465
|
}
|
|
4513
4466
|
}, {
|
|
4514
4467
|
key: "fadeOut",
|
|
4515
4468
|
value: function fadeOut(element, ms) {
|
|
4516
4469
|
var opacity = 1,
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4470
|
+
interval = 50,
|
|
4471
|
+
duration = ms,
|
|
4472
|
+
gap = interval / duration;
|
|
4520
4473
|
var fading = setInterval(function () {
|
|
4521
4474
|
opacity -= gap;
|
|
4522
|
-
|
|
4523
4475
|
if (opacity <= 0) {
|
|
4524
4476
|
opacity = 0;
|
|
4525
4477
|
clearInterval(fading);
|
|
4526
4478
|
}
|
|
4527
|
-
|
|
4528
4479
|
element.style.opacity = opacity;
|
|
4529
4480
|
}, interval);
|
|
4530
4481
|
}
|
|
@@ -4551,7 +4502,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4551
4502
|
var scroll = container.scrollTop;
|
|
4552
4503
|
var elementHeight = container.clientHeight;
|
|
4553
4504
|
var itemHeight = this.getOuterHeight(item);
|
|
4554
|
-
|
|
4555
4505
|
if (offset < 0) {
|
|
4556
4506
|
container.scrollTop = scroll + offset;
|
|
4557
4507
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -4570,7 +4520,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4570
4520
|
} else if (document['selection'] && document['selection'].empty) {
|
|
4571
4521
|
try {
|
|
4572
4522
|
document['selection'].empty();
|
|
4573
|
-
} catch (error) {
|
|
4523
|
+
} catch (error) {
|
|
4524
|
+
//ignore IE bug
|
|
4574
4525
|
}
|
|
4575
4526
|
}
|
|
4576
4527
|
}
|
|
@@ -4592,19 +4543,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4592
4543
|
if (!this.browser) {
|
|
4593
4544
|
var matched = this.resolveUserAgent();
|
|
4594
4545
|
this.browser = {};
|
|
4595
|
-
|
|
4596
4546
|
if (matched.browser) {
|
|
4597
4547
|
this.browser[matched.browser] = true;
|
|
4598
4548
|
this.browser['version'] = matched.version;
|
|
4599
4549
|
}
|
|
4600
|
-
|
|
4601
4550
|
if (this.browser['chrome']) {
|
|
4602
4551
|
this.browser['webkit'] = true;
|
|
4603
4552
|
} else if (this.browser['webkit']) {
|
|
4604
4553
|
this.browser['safari'] = true;
|
|
4605
4554
|
}
|
|
4606
4555
|
}
|
|
4607
|
-
|
|
4608
4556
|
return this.browser;
|
|
4609
4557
|
}
|
|
4610
4558
|
}, {
|
|
@@ -4632,10 +4580,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4632
4580
|
value: function getFocusableElements(element) {
|
|
4633
4581
|
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])");
|
|
4634
4582
|
var visibleFocusableElements = [];
|
|
4635
|
-
|
|
4636
4583
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
4637
|
-
|
|
4638
|
-
|
|
4584
|
+
_step3;
|
|
4639
4585
|
try {
|
|
4640
4586
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
4641
4587
|
var focusableElement = _step3.value;
|
|
@@ -4646,7 +4592,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4646
4592
|
} finally {
|
|
4647
4593
|
_iterator3.f();
|
|
4648
4594
|
}
|
|
4649
|
-
|
|
4650
4595
|
return visibleFocusableElements;
|
|
4651
4596
|
}
|
|
4652
4597
|
}, {
|
|
@@ -4689,55 +4634,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
4689
4634
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
4690
4635
|
}
|
|
4691
4636
|
}]);
|
|
4692
|
-
|
|
4693
4637
|
return DomHandler;
|
|
4694
4638
|
}();
|
|
4695
4639
|
|
|
4696
|
-
|
|
4697
4640
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
4698
4641
|
|
|
4699
|
-
|
|
4700
4642
|
function bindEvents(el) {
|
|
4701
4643
|
el.addEventListener('mousedown', onMouseDown);
|
|
4702
4644
|
}
|
|
4703
|
-
|
|
4704
4645
|
function unbindEvents(el) {
|
|
4705
4646
|
el.removeEventListener('mousedown', onMouseDown);
|
|
4706
4647
|
}
|
|
4707
|
-
|
|
4708
4648
|
function create(el) {
|
|
4709
4649
|
var ink = document.createElement('span');
|
|
4710
4650
|
ink.className = 'p-ink';
|
|
4711
4651
|
el.appendChild(ink);
|
|
4712
4652
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
4713
4653
|
}
|
|
4714
|
-
|
|
4715
4654
|
function remove(el) {
|
|
4716
4655
|
var ink = getInk(el);
|
|
4717
|
-
|
|
4718
4656
|
if (ink) {
|
|
4719
4657
|
unbindEvents(el);
|
|
4720
4658
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
4721
4659
|
ink.remove();
|
|
4722
4660
|
}
|
|
4723
4661
|
}
|
|
4724
|
-
|
|
4725
4662
|
function onMouseDown(event) {
|
|
4726
4663
|
var target = event.currentTarget;
|
|
4727
4664
|
var ink = getInk(target);
|
|
4728
|
-
|
|
4729
4665
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
4730
4666
|
return;
|
|
4731
4667
|
}
|
|
4732
|
-
|
|
4733
4668
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
4734
|
-
|
|
4735
4669
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
4736
4670
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
4737
4671
|
ink.style.height = d + 'px';
|
|
4738
4672
|
ink.style.width = d + 'px';
|
|
4739
4673
|
}
|
|
4740
|
-
|
|
4741
4674
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
4742
4675
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
4743
4676
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -4745,21 +4678,17 @@ function onMouseDown(event) {
|
|
|
4745
4678
|
ink.style.left = x + 'px';
|
|
4746
4679
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
4747
4680
|
}
|
|
4748
|
-
|
|
4749
4681
|
function onAnimationEnd(event) {
|
|
4750
4682
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
4751
4683
|
}
|
|
4752
|
-
|
|
4753
4684
|
function getInk(el) {
|
|
4754
4685
|
for (var i = 0; i < el.children.length; i++) {
|
|
4755
4686
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
4756
4687
|
return el.children[i];
|
|
4757
4688
|
}
|
|
4758
4689
|
}
|
|
4759
|
-
|
|
4760
4690
|
return null;
|
|
4761
4691
|
}
|
|
4762
|
-
|
|
4763
4692
|
var Ripple = {
|
|
4764
4693
|
inserted: function inserted(el, binding, vnode) {
|
|
4765
4694
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -4779,14 +4708,11 @@ var Ripple = {
|
|
|
4779
4708
|
|
|
4780
4709
|
|
|
4781
4710
|
|
|
4782
|
-
|
|
4783
4711
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
4784
|
-
|
|
4785
4712
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
4786
4713
|
|
|
4787
4714
|
|
|
4788
4715
|
|
|
4789
|
-
|
|
4790
4716
|
/* harmony default export */ var Dialogvue_type_script_lang_js_ = ({
|
|
4791
4717
|
inheritAttrs: false,
|
|
4792
4718
|
props: {
|
|
@@ -4892,14 +4818,12 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4892
4818
|
},
|
|
4893
4819
|
focus: function focus() {
|
|
4894
4820
|
var focusTarget = this.$refs.dialog.querySelector('[autofocus]');
|
|
4895
|
-
|
|
4896
4821
|
if (focusTarget) {
|
|
4897
4822
|
focusTarget.focus();
|
|
4898
4823
|
}
|
|
4899
4824
|
},
|
|
4900
4825
|
maximize: function maximize() {
|
|
4901
4826
|
this.maximized = !this.maximized;
|
|
4902
|
-
|
|
4903
4827
|
if (!this.modal) {
|
|
4904
4828
|
if (this.maximized) DomHandler_DomHandler.addClass(document.body, 'p-overflow-hidden');else DomHandler_DomHandler.removeClass(document.body, 'p-overflow-hidden');
|
|
4905
4829
|
}
|
|
@@ -4924,13 +4848,11 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4924
4848
|
if (event.which === 9) {
|
|
4925
4849
|
event.preventDefault();
|
|
4926
4850
|
var focusableElements = DomHandler_DomHandler.getFocusableElements(this.$refs.dialog);
|
|
4927
|
-
|
|
4928
4851
|
if (focusableElements && focusableElements.length > 0) {
|
|
4929
4852
|
if (!document.activeElement) {
|
|
4930
4853
|
focusableElements[0].focus();
|
|
4931
4854
|
} else {
|
|
4932
4855
|
var focusedIndex = focusableElements.indexOf(document.activeElement);
|
|
4933
|
-
|
|
4934
4856
|
if (event.shiftKey) {
|
|
4935
4857
|
if (focusedIndex == -1 || focusedIndex === 0) focusableElements[focusableElements.length - 1].focus();else focusableElements[focusedIndex - 1].focus();
|
|
4936
4858
|
} else {
|
|
@@ -4956,7 +4878,6 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4956
4878
|
},
|
|
4957
4879
|
getPositionClass: function getPositionClass() {
|
|
4958
4880
|
var _this = this;
|
|
4959
|
-
|
|
4960
4881
|
var positions = ['left', 'right', 'top', 'topleft', 'topright', 'bottom', 'bottomleft', 'bottomright'];
|
|
4961
4882
|
var pos = positions.find(function (item) {
|
|
4962
4883
|
return item === _this.position;
|
|
@@ -4965,16 +4886,13 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
|
|
|
4965
4886
|
},
|
|
4966
4887
|
removeStylesFromMask: function removeStylesFromMask() {
|
|
4967
4888
|
var _this2 = this;
|
|
4968
|
-
|
|
4969
4889
|
if (this.$refs.mask) {
|
|
4970
4890
|
this.dialogStyles = this.$vnode.data.style || this.containerStyle;
|
|
4971
|
-
|
|
4972
4891
|
if (this.dialogStyles) {
|
|
4973
4892
|
Object.keys(this.dialogStyles).forEach(function (key) {
|
|
4974
4893
|
_this2.$refs.mask.style[key] = '';
|
|
4975
4894
|
});
|
|
4976
4895
|
}
|
|
4977
|
-
|
|
4978
4896
|
this.dialogClasses = this.$vnode.data.class || this.$vnode.data.staticClass;
|
|
4979
4897
|
}
|
|
4980
4898
|
},
|
|
@@ -5156,11 +5074,10 @@ var component = normalizeComponent(
|
|
|
5156
5074
|
)
|
|
5157
5075
|
|
|
5158
5076
|
/* harmony default export */ var Dialog = (component.exports);
|
|
5159
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
5077
|
+
// 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&
|
|
5160
5078
|
var Buttonvue_type_template_id_44f787be_render = function render() {
|
|
5161
5079
|
var _vm = this,
|
|
5162
|
-
|
|
5163
|
-
|
|
5080
|
+
_c = _vm._self._c;
|
|
5164
5081
|
return _c('button', _vm._g({
|
|
5165
5082
|
directives: [{
|
|
5166
5083
|
name: "ripple",
|
|
@@ -5183,7 +5100,6 @@ var Buttonvue_type_template_id_44f787be_render = function render() {
|
|
|
5183
5100
|
}, [_vm._v(_vm._s(_vm.badge))]) : _vm._e()];
|
|
5184
5101
|
})], 2);
|
|
5185
5102
|
};
|
|
5186
|
-
|
|
5187
5103
|
var Buttonvue_type_template_id_44f787be_staticRenderFns = [];
|
|
5188
5104
|
|
|
5189
5105
|
// CONCATENATED MODULE: ./src/components/button/Button.vue?vue&type=template&id=44f787be&
|
|
@@ -5284,12 +5200,10 @@ var Button_component = normalizeComponent(
|
|
|
5284
5200
|
},
|
|
5285
5201
|
mounted: function mounted() {
|
|
5286
5202
|
var _this = this;
|
|
5287
|
-
|
|
5288
5203
|
ConfirmationEventBus.on('confirm', function (options) {
|
|
5289
5204
|
if (!options) {
|
|
5290
5205
|
return;
|
|
5291
5206
|
}
|
|
5292
|
-
|
|
5293
5207
|
if (options.group === _this.group) {
|
|
5294
5208
|
_this.confirmation = options;
|
|
5295
5209
|
_this.visible = true;
|
|
@@ -5309,14 +5223,12 @@ var Button_component = normalizeComponent(
|
|
|
5309
5223
|
if (this.confirmation.accept) {
|
|
5310
5224
|
this.confirmation.accept();
|
|
5311
5225
|
}
|
|
5312
|
-
|
|
5313
5226
|
this.visible = false;
|
|
5314
5227
|
},
|
|
5315
5228
|
reject: function reject() {
|
|
5316
5229
|
if (this.confirmation.reject) {
|
|
5317
5230
|
this.confirmation.reject();
|
|
5318
5231
|
}
|
|
5319
|
-
|
|
5320
5232
|
this.visible = false;
|
|
5321
5233
|
},
|
|
5322
5234
|
closeDialog: function closeDialog($event) {
|