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
|
@@ -4818,11 +4818,10 @@ if (typeof window !== 'undefined') {
|
|
|
4818
4818
|
// Indicate to webpack that this file can be concatenated
|
|
4819
4819
|
/* harmony default export */ var setPublicPath = (null);
|
|
4820
4820
|
|
|
4821
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4821
|
+
// 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/galleria/Galleria.vue?vue&type=template&id=a59cb31a&
|
|
4822
4822
|
var render = function render() {
|
|
4823
4823
|
var _vm = this,
|
|
4824
|
-
|
|
4825
|
-
|
|
4824
|
+
_c = _vm._self._c;
|
|
4826
4825
|
return _vm.fullScreen && (_vm.maskVisible || _vm.visible) ? _c('div', {
|
|
4827
4826
|
ref: "mask",
|
|
4828
4827
|
class: _vm.maskContentClass
|
|
@@ -4853,7 +4852,6 @@ var render = function render() {
|
|
|
4853
4852
|
}
|
|
4854
4853
|
}, 'GalleriaContent', _vm.$props, false)) : _vm._e();
|
|
4855
4854
|
};
|
|
4856
|
-
|
|
4857
4855
|
var staticRenderFns = [];
|
|
4858
4856
|
|
|
4859
4857
|
// CONCATENATED MODULE: ./src/components/galleria/Galleria.vue?vue&type=template&id=a59cb31a&
|
|
@@ -4867,11 +4865,10 @@ var web_dom_iterable = __webpack_require__("ac6a");
|
|
|
4867
4865
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.number.constructor.js
|
|
4868
4866
|
var es6_number_constructor = __webpack_require__("c5f6");
|
|
4869
4867
|
|
|
4870
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4868
|
+
// 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/galleria/GalleriaContent.vue?vue&type=template&id=6754eac0&
|
|
4871
4869
|
var GalleriaContentvue_type_template_id_6754eac0_render = function render() {
|
|
4872
4870
|
var _vm = this,
|
|
4873
|
-
|
|
4874
|
-
|
|
4871
|
+
_c = _vm._self._c;
|
|
4875
4872
|
return _vm.$attrs.value && _vm.$attrs.value.length > 0 ? _c('div', {
|
|
4876
4873
|
class: _vm.galleriaClass,
|
|
4877
4874
|
style: _vm.$attrs.containerStyle,
|
|
@@ -4969,7 +4966,6 @@ var GalleriaContentvue_type_template_id_6754eac0_render = function render() {
|
|
|
4969
4966
|
}
|
|
4970
4967
|
})], 1) : _vm._e()]) : _vm._e();
|
|
4971
4968
|
};
|
|
4972
|
-
|
|
4973
4969
|
var GalleriaContentvue_type_template_id_6754eac0_staticRenderFns = [];
|
|
4974
4970
|
|
|
4975
4971
|
// CONCATENATED MODULE: ./src/components/galleria/GalleriaContent.vue?vue&type=template&id=6754eac0&
|
|
@@ -4984,11 +4980,10 @@ var lastId = 0;
|
|
|
4984
4980
|
lastId++;
|
|
4985
4981
|
return "".concat(prefix).concat(lastId);
|
|
4986
4982
|
});
|
|
4987
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4983
|
+
// 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/galleria/GalleriaItem.vue?vue&type=template&id=5bdfe994&
|
|
4988
4984
|
var GalleriaItemvue_type_template_id_5bdfe994_render = function render() {
|
|
4989
4985
|
var _vm = this,
|
|
4990
|
-
|
|
4991
|
-
|
|
4986
|
+
_c = _vm._self._c;
|
|
4992
4987
|
return _c('div', {
|
|
4993
4988
|
staticClass: "p-galleria-item-wrapper"
|
|
4994
4989
|
}, [_c('div', {
|
|
@@ -5081,7 +5076,6 @@ var GalleriaItemvue_type_template_id_5bdfe994_render = function render() {
|
|
|
5081
5076
|
})], 1);
|
|
5082
5077
|
}), 0) : _vm._e()]);
|
|
5083
5078
|
};
|
|
5084
|
-
|
|
5085
5079
|
var GalleriaItemvue_type_template_id_5bdfe994_staticRenderFns = [];
|
|
5086
5080
|
|
|
5087
5081
|
// CONCATENATED MODULE: ./src/components/galleria/GalleriaItem.vue?vue&type=template&id=5bdfe994&
|
|
@@ -5110,15 +5104,13 @@ var GalleriaItemvue_type_template_id_5bdfe994_staticRenderFns = [];
|
|
|
5110
5104
|
},
|
|
5111
5105
|
render: function render(createElement, context) {
|
|
5112
5106
|
var _context$props = context.props,
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5107
|
+
item = _context$props.item,
|
|
5108
|
+
index = _context$props.index,
|
|
5109
|
+
templates = _context$props.templates,
|
|
5110
|
+
type = _context$props.type;
|
|
5117
5111
|
var template = templates && templates[type];
|
|
5118
|
-
|
|
5119
5112
|
if (template) {
|
|
5120
5113
|
var content;
|
|
5121
|
-
|
|
5122
5114
|
switch (type) {
|
|
5123
5115
|
case 'item':
|
|
5124
5116
|
case 'caption':
|
|
@@ -5127,21 +5119,17 @@ var GalleriaItemvue_type_template_id_5bdfe994_staticRenderFns = [];
|
|
|
5127
5119
|
item: item
|
|
5128
5120
|
});
|
|
5129
5121
|
break;
|
|
5130
|
-
|
|
5131
5122
|
case 'indicator':
|
|
5132
5123
|
content = template({
|
|
5133
5124
|
index: index
|
|
5134
5125
|
});
|
|
5135
5126
|
break;
|
|
5136
|
-
|
|
5137
5127
|
default:
|
|
5138
5128
|
content = template({});
|
|
5139
5129
|
break;
|
|
5140
5130
|
}
|
|
5141
|
-
|
|
5142
5131
|
return content ? [content] : null;
|
|
5143
5132
|
}
|
|
5144
|
-
|
|
5145
5133
|
return null;
|
|
5146
5134
|
}
|
|
5147
5135
|
});
|
|
@@ -5304,26 +5292,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
5304
5292
|
|
|
5305
5293
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
5306
5294
|
|
|
5307
|
-
|
|
5308
5295
|
function _defineProperties(target, props) {
|
|
5309
5296
|
for (var i = 0; i < props.length; i++) {
|
|
5310
5297
|
var descriptor = props[i];
|
|
5311
5298
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
5312
5299
|
descriptor.configurable = true;
|
|
5313
5300
|
if ("value" in descriptor) descriptor.writable = true;
|
|
5314
|
-
|
|
5315
5301
|
define_property_default()(target, descriptor.key, descriptor);
|
|
5316
5302
|
}
|
|
5317
5303
|
}
|
|
5318
|
-
|
|
5319
5304
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
5320
5305
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
5321
5306
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
5322
|
-
|
|
5323
5307
|
define_property_default()(Constructor, "prototype", {
|
|
5324
5308
|
writable: false
|
|
5325
5309
|
});
|
|
5326
|
-
|
|
5327
5310
|
return Constructor;
|
|
5328
5311
|
}
|
|
5329
5312
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -5339,18 +5322,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
5339
5322
|
|
|
5340
5323
|
|
|
5341
5324
|
|
|
5342
|
-
|
|
5343
5325
|
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; } } }; }
|
|
5344
|
-
|
|
5345
5326
|
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); }
|
|
5346
|
-
|
|
5347
5327
|
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; }
|
|
5348
|
-
|
|
5349
5328
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
5350
5329
|
function DomHandler() {
|
|
5351
5330
|
_classCallCheck(this, DomHandler);
|
|
5352
5331
|
}
|
|
5353
|
-
|
|
5354
5332
|
_createClass(DomHandler, null, [{
|
|
5355
5333
|
key: "innerWidth",
|
|
5356
5334
|
value: function innerWidth(el) {
|
|
@@ -5384,12 +5362,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5384
5362
|
value: function getOuterWidth(el, margin) {
|
|
5385
5363
|
if (el) {
|
|
5386
5364
|
var width = el.offsetWidth;
|
|
5387
|
-
|
|
5388
5365
|
if (margin) {
|
|
5389
5366
|
var style = getComputedStyle(el);
|
|
5390
5367
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
5391
5368
|
}
|
|
5392
|
-
|
|
5393
5369
|
return width;
|
|
5394
5370
|
} else {
|
|
5395
5371
|
return 0;
|
|
@@ -5400,12 +5376,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5400
5376
|
value: function getOuterHeight(el, margin) {
|
|
5401
5377
|
if (el) {
|
|
5402
5378
|
var height = el.offsetHeight;
|
|
5403
|
-
|
|
5404
5379
|
if (margin) {
|
|
5405
5380
|
var style = getComputedStyle(el);
|
|
5406
5381
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
5407
5382
|
}
|
|
5408
|
-
|
|
5409
5383
|
return height;
|
|
5410
5384
|
} else {
|
|
5411
5385
|
return 0;
|
|
@@ -5416,12 +5390,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5416
5390
|
value: function getClientHeight(el, margin) {
|
|
5417
5391
|
if (el) {
|
|
5418
5392
|
var height = el.clientHeight;
|
|
5419
|
-
|
|
5420
5393
|
if (margin) {
|
|
5421
5394
|
var style = getComputedStyle(el);
|
|
5422
5395
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
5423
5396
|
}
|
|
5424
|
-
|
|
5425
5397
|
return height;
|
|
5426
5398
|
} else {
|
|
5427
5399
|
return 0;
|
|
@@ -5431,11 +5403,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5431
5403
|
key: "getViewport",
|
|
5432
5404
|
value: function getViewport() {
|
|
5433
5405
|
var win = window,
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5437
|
-
|
|
5438
|
-
|
|
5406
|
+
d = document,
|
|
5407
|
+
e = d.documentElement,
|
|
5408
|
+
g = d.getElementsByTagName('body')[0],
|
|
5409
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
5410
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
5439
5411
|
return {
|
|
5440
5412
|
width: w,
|
|
5441
5413
|
height: h
|
|
@@ -5466,12 +5438,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5466
5438
|
value: function index(element) {
|
|
5467
5439
|
var children = element.parentNode.childNodes;
|
|
5468
5440
|
var num = 0;
|
|
5469
|
-
|
|
5470
5441
|
for (var i = 0; i < children.length; i++) {
|
|
5471
5442
|
if (children[i] === element) return num;
|
|
5472
5443
|
if (children[i].nodeType === 1) num++;
|
|
5473
5444
|
}
|
|
5474
|
-
|
|
5475
5445
|
return -1;
|
|
5476
5446
|
}
|
|
5477
5447
|
}, {
|
|
@@ -5479,13 +5449,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5479
5449
|
value: function addMultipleClasses(element, className) {
|
|
5480
5450
|
if (element.classList) {
|
|
5481
5451
|
var styles = className.split(' ');
|
|
5482
|
-
|
|
5483
5452
|
for (var i = 0; i < styles.length; i++) {
|
|
5484
5453
|
element.classList.add(styles[i]);
|
|
5485
5454
|
}
|
|
5486
5455
|
} else {
|
|
5487
5456
|
var _styles = className.split(' ');
|
|
5488
|
-
|
|
5489
5457
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
5490
5458
|
element.className += ' ' + _styles[_i];
|
|
5491
5459
|
}
|
|
@@ -5507,7 +5475,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5507
5475
|
if (element) {
|
|
5508
5476
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
5509
5477
|
}
|
|
5510
|
-
|
|
5511
5478
|
return false;
|
|
5512
5479
|
}
|
|
5513
5480
|
}, {
|
|
@@ -5552,11 +5519,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5552
5519
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
5553
5520
|
var viewport = this.getViewport();
|
|
5554
5521
|
var top, left;
|
|
5555
|
-
|
|
5556
5522
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
5557
5523
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
5558
5524
|
element.style.transformOrigin = 'bottom';
|
|
5559
|
-
|
|
5560
5525
|
if (top < 0) {
|
|
5561
5526
|
top = windowScrollTop;
|
|
5562
5527
|
}
|
|
@@ -5564,7 +5529,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5564
5529
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
5565
5530
|
element.style.transformOrigin = 'top';
|
|
5566
5531
|
}
|
|
5567
|
-
|
|
5568
5532
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
5569
5533
|
element.style.top = top + 'px';
|
|
5570
5534
|
element.style.left = left + 'px';
|
|
@@ -5580,11 +5544,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5580
5544
|
var targetOffset = target.getBoundingClientRect();
|
|
5581
5545
|
var viewport = this.getViewport();
|
|
5582
5546
|
var top, left;
|
|
5583
|
-
|
|
5584
5547
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
5585
5548
|
top = -1 * elementDimensions.height;
|
|
5586
5549
|
element.style.transformOrigin = 'bottom';
|
|
5587
|
-
|
|
5588
5550
|
if (targetOffset.top + top < 0) {
|
|
5589
5551
|
top = -1 * targetOffset.top;
|
|
5590
5552
|
}
|
|
@@ -5592,7 +5554,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5592
5554
|
top = targetHeight;
|
|
5593
5555
|
element.style.transformOrigin = 'top';
|
|
5594
5556
|
}
|
|
5595
|
-
|
|
5596
5557
|
if (elementDimensions.width > viewport.width) {
|
|
5597
5558
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
5598
5559
|
left = targetOffset.left * -1;
|
|
@@ -5603,7 +5564,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5603
5564
|
// element fits on screen (align with target)
|
|
5604
5565
|
left = 0;
|
|
5605
5566
|
}
|
|
5606
|
-
|
|
5607
5567
|
element.style.top = top + 'px';
|
|
5608
5568
|
element.style.left = left + 'px';
|
|
5609
5569
|
}
|
|
@@ -5617,35 +5577,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5617
5577
|
key: "getScrollableParents",
|
|
5618
5578
|
value: function getScrollableParents(element) {
|
|
5619
5579
|
var scrollableParents = [];
|
|
5620
|
-
|
|
5621
5580
|
if (element) {
|
|
5622
5581
|
var parents = this.getParents(element);
|
|
5623
5582
|
var overflowRegex = /(auto|scroll)/;
|
|
5624
|
-
|
|
5625
5583
|
var overflowCheck = function overflowCheck(node) {
|
|
5626
5584
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
5627
5585
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
5628
5586
|
};
|
|
5629
|
-
|
|
5630
5587
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
5631
|
-
|
|
5632
|
-
|
|
5588
|
+
_step;
|
|
5633
5589
|
try {
|
|
5634
5590
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
5635
5591
|
var parent = _step.value;
|
|
5636
5592
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
5637
|
-
|
|
5638
5593
|
if (scrollSelectors) {
|
|
5639
5594
|
var selectors = scrollSelectors.split(',');
|
|
5640
|
-
|
|
5641
5595
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
5642
|
-
|
|
5643
|
-
|
|
5596
|
+
_step2;
|
|
5644
5597
|
try {
|
|
5645
5598
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
5646
5599
|
var selector = _step2.value;
|
|
5647
5600
|
var el = this.findSingle(parent, selector);
|
|
5648
|
-
|
|
5649
5601
|
if (el && overflowCheck(el)) {
|
|
5650
5602
|
scrollableParents.push(el);
|
|
5651
5603
|
}
|
|
@@ -5663,7 +5615,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5663
5615
|
_iterator.f();
|
|
5664
5616
|
}
|
|
5665
5617
|
}
|
|
5666
|
-
|
|
5667
5618
|
return scrollableParents;
|
|
5668
5619
|
}
|
|
5669
5620
|
}, {
|
|
@@ -5704,34 +5655,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5704
5655
|
element.style.opacity = 0;
|
|
5705
5656
|
var last = +new Date();
|
|
5706
5657
|
var opacity = 0;
|
|
5707
|
-
|
|
5708
5658
|
var tick = function tick() {
|
|
5709
5659
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
5710
5660
|
element.style.opacity = opacity;
|
|
5711
5661
|
last = +new Date();
|
|
5712
|
-
|
|
5713
5662
|
if (+opacity < 1) {
|
|
5714
5663
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
5715
5664
|
}
|
|
5716
5665
|
};
|
|
5717
|
-
|
|
5718
5666
|
tick();
|
|
5719
5667
|
}
|
|
5720
5668
|
}, {
|
|
5721
5669
|
key: "fadeOut",
|
|
5722
5670
|
value: function fadeOut(element, ms) {
|
|
5723
5671
|
var opacity = 1,
|
|
5724
|
-
|
|
5725
|
-
|
|
5726
|
-
|
|
5672
|
+
interval = 50,
|
|
5673
|
+
duration = ms,
|
|
5674
|
+
gap = interval / duration;
|
|
5727
5675
|
var fading = setInterval(function () {
|
|
5728
5676
|
opacity -= gap;
|
|
5729
|
-
|
|
5730
5677
|
if (opacity <= 0) {
|
|
5731
5678
|
opacity = 0;
|
|
5732
5679
|
clearInterval(fading);
|
|
5733
5680
|
}
|
|
5734
|
-
|
|
5735
5681
|
element.style.opacity = opacity;
|
|
5736
5682
|
}, interval);
|
|
5737
5683
|
}
|
|
@@ -5758,7 +5704,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5758
5704
|
var scroll = container.scrollTop;
|
|
5759
5705
|
var elementHeight = container.clientHeight;
|
|
5760
5706
|
var itemHeight = this.getOuterHeight(item);
|
|
5761
|
-
|
|
5762
5707
|
if (offset < 0) {
|
|
5763
5708
|
container.scrollTop = scroll + offset;
|
|
5764
5709
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -5777,7 +5722,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5777
5722
|
} else if (document['selection'] && document['selection'].empty) {
|
|
5778
5723
|
try {
|
|
5779
5724
|
document['selection'].empty();
|
|
5780
|
-
} catch (error) {
|
|
5725
|
+
} catch (error) {
|
|
5726
|
+
//ignore IE bug
|
|
5781
5727
|
}
|
|
5782
5728
|
}
|
|
5783
5729
|
}
|
|
@@ -5799,19 +5745,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5799
5745
|
if (!this.browser) {
|
|
5800
5746
|
var matched = this.resolveUserAgent();
|
|
5801
5747
|
this.browser = {};
|
|
5802
|
-
|
|
5803
5748
|
if (matched.browser) {
|
|
5804
5749
|
this.browser[matched.browser] = true;
|
|
5805
5750
|
this.browser['version'] = matched.version;
|
|
5806
5751
|
}
|
|
5807
|
-
|
|
5808
5752
|
if (this.browser['chrome']) {
|
|
5809
5753
|
this.browser['webkit'] = true;
|
|
5810
5754
|
} else if (this.browser['webkit']) {
|
|
5811
5755
|
this.browser['safari'] = true;
|
|
5812
5756
|
}
|
|
5813
5757
|
}
|
|
5814
|
-
|
|
5815
5758
|
return this.browser;
|
|
5816
5759
|
}
|
|
5817
5760
|
}, {
|
|
@@ -5839,10 +5782,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5839
5782
|
value: function getFocusableElements(element) {
|
|
5840
5783
|
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])");
|
|
5841
5784
|
var visibleFocusableElements = [];
|
|
5842
|
-
|
|
5843
5785
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
5844
|
-
|
|
5845
|
-
|
|
5786
|
+
_step3;
|
|
5846
5787
|
try {
|
|
5847
5788
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
5848
5789
|
var focusableElement = _step3.value;
|
|
@@ -5853,7 +5794,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5853
5794
|
} finally {
|
|
5854
5795
|
_iterator3.f();
|
|
5855
5796
|
}
|
|
5856
|
-
|
|
5857
5797
|
return visibleFocusableElements;
|
|
5858
5798
|
}
|
|
5859
5799
|
}, {
|
|
@@ -5896,55 +5836,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5896
5836
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
5897
5837
|
}
|
|
5898
5838
|
}]);
|
|
5899
|
-
|
|
5900
5839
|
return DomHandler;
|
|
5901
5840
|
}();
|
|
5902
5841
|
|
|
5903
|
-
|
|
5904
5842
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
5905
5843
|
|
|
5906
|
-
|
|
5907
5844
|
function bindEvents(el) {
|
|
5908
5845
|
el.addEventListener('mousedown', onMouseDown);
|
|
5909
5846
|
}
|
|
5910
|
-
|
|
5911
5847
|
function unbindEvents(el) {
|
|
5912
5848
|
el.removeEventListener('mousedown', onMouseDown);
|
|
5913
5849
|
}
|
|
5914
|
-
|
|
5915
5850
|
function create(el) {
|
|
5916
5851
|
var ink = document.createElement('span');
|
|
5917
5852
|
ink.className = 'p-ink';
|
|
5918
5853
|
el.appendChild(ink);
|
|
5919
5854
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
5920
5855
|
}
|
|
5921
|
-
|
|
5922
5856
|
function remove(el) {
|
|
5923
5857
|
var ink = getInk(el);
|
|
5924
|
-
|
|
5925
5858
|
if (ink) {
|
|
5926
5859
|
unbindEvents(el);
|
|
5927
5860
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
5928
5861
|
ink.remove();
|
|
5929
5862
|
}
|
|
5930
5863
|
}
|
|
5931
|
-
|
|
5932
5864
|
function onMouseDown(event) {
|
|
5933
5865
|
var target = event.currentTarget;
|
|
5934
5866
|
var ink = getInk(target);
|
|
5935
|
-
|
|
5936
5867
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
5937
5868
|
return;
|
|
5938
5869
|
}
|
|
5939
|
-
|
|
5940
5870
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
5941
|
-
|
|
5942
5871
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
5943
5872
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
5944
5873
|
ink.style.height = d + 'px';
|
|
5945
5874
|
ink.style.width = d + 'px';
|
|
5946
5875
|
}
|
|
5947
|
-
|
|
5948
5876
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
5949
5877
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
5950
5878
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -5952,21 +5880,17 @@ function onMouseDown(event) {
|
|
|
5952
5880
|
ink.style.left = x + 'px';
|
|
5953
5881
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
5954
5882
|
}
|
|
5955
|
-
|
|
5956
5883
|
function onAnimationEnd(event) {
|
|
5957
5884
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
5958
5885
|
}
|
|
5959
|
-
|
|
5960
5886
|
function getInk(el) {
|
|
5961
5887
|
for (var i = 0; i < el.children.length; i++) {
|
|
5962
5888
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
5963
5889
|
return el.children[i];
|
|
5964
5890
|
}
|
|
5965
5891
|
}
|
|
5966
|
-
|
|
5967
5892
|
return null;
|
|
5968
5893
|
}
|
|
5969
|
-
|
|
5970
5894
|
var Ripple = {
|
|
5971
5895
|
inserted: function inserted(el, binding, vnode) {
|
|
5972
5896
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -6046,7 +5970,6 @@ var Ripple = {
|
|
|
6046
5970
|
navBackward: function navBackward(e) {
|
|
6047
5971
|
this.stopSlideShow();
|
|
6048
5972
|
this.prev();
|
|
6049
|
-
|
|
6050
5973
|
if (e && e.cancelable) {
|
|
6051
5974
|
e.preventDefault();
|
|
6052
5975
|
}
|
|
@@ -6054,7 +5977,6 @@ var Ripple = {
|
|
|
6054
5977
|
navForward: function navForward(e) {
|
|
6055
5978
|
this.stopSlideShow();
|
|
6056
5979
|
this.next();
|
|
6057
|
-
|
|
6058
5980
|
if (e && e.cancelable) {
|
|
6059
5981
|
e.preventDefault();
|
|
6060
5982
|
}
|
|
@@ -6127,11 +6049,10 @@ var GalleriaItem_component = normalizeComponent(
|
|
|
6127
6049
|
)
|
|
6128
6050
|
|
|
6129
6051
|
/* harmony default export */ var GalleriaItem = (GalleriaItem_component.exports);
|
|
6130
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6052
|
+
// 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/galleria/GalleriaThumbnails.vue?vue&type=template&id=11247977&
|
|
6131
6053
|
var GalleriaThumbnailsvue_type_template_id_11247977_render = function render() {
|
|
6132
6054
|
var _vm = this,
|
|
6133
|
-
|
|
6134
|
-
|
|
6055
|
+
_c = _vm._self._c;
|
|
6135
6056
|
return _c('div', {
|
|
6136
6057
|
staticClass: "p-galleria-thumbnail-wrapper"
|
|
6137
6058
|
}, [_c('div', {
|
|
@@ -6222,7 +6143,6 @@ var GalleriaThumbnailsvue_type_template_id_11247977_render = function render() {
|
|
|
6222
6143
|
class: _vm.navForwardIconClass
|
|
6223
6144
|
})]) : _vm._e()])]);
|
|
6224
6145
|
};
|
|
6225
|
-
|
|
6226
6146
|
var GalleriaThumbnailsvue_type_template_id_11247977_staticRenderFns = [];
|
|
6227
6147
|
|
|
6228
6148
|
// CONCATENATED MODULE: ./src/components/galleria/GalleriaThumbnails.vue?vue&type=template&id=11247977&
|
|
@@ -6237,11 +6157,9 @@ var is_array_default = /*#__PURE__*/__webpack_require__.n(is_array);
|
|
|
6237
6157
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayLikeToArray.js
|
|
6238
6158
|
function arrayLikeToArray_arrayLikeToArray(arr, len) {
|
|
6239
6159
|
if (len == null || len > arr.length) len = arr.length;
|
|
6240
|
-
|
|
6241
6160
|
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
6242
6161
|
arr2[i] = arr[i];
|
|
6243
6162
|
}
|
|
6244
|
-
|
|
6245
6163
|
return arr2;
|
|
6246
6164
|
}
|
|
6247
6165
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayWithoutHoles.js
|
|
@@ -6372,14 +6290,12 @@ function _toConsumableArray(arr) {
|
|
|
6372
6290
|
mounted: function mounted() {
|
|
6373
6291
|
this.createStyle();
|
|
6374
6292
|
this.calculatePosition();
|
|
6375
|
-
|
|
6376
6293
|
if (this.responsiveOptions) {
|
|
6377
6294
|
this.bindDocumentListeners();
|
|
6378
6295
|
}
|
|
6379
6296
|
},
|
|
6380
6297
|
updated: function updated() {
|
|
6381
6298
|
var totalShiftedItems = this.totalShiftedItems;
|
|
6382
|
-
|
|
6383
6299
|
if (this.d_oldNumVisible !== this.d_numVisible || this.d_oldActiveItemIndex !== this.d_activeIndex) {
|
|
6384
6300
|
if (this.d_activeIndex <= this.getMedianItemIndex()) {
|
|
6385
6301
|
totalShiftedItems = 0;
|
|
@@ -6390,18 +6306,14 @@ function _toConsumableArray(arr) {
|
|
|
6390
6306
|
} else {
|
|
6391
6307
|
totalShiftedItems = this.d_activeIndex * -1 + this.getMedianItemIndex();
|
|
6392
6308
|
}
|
|
6393
|
-
|
|
6394
6309
|
if (totalShiftedItems !== this.totalShiftedItems) {
|
|
6395
6310
|
this.totalShiftedItems = totalShiftedItems;
|
|
6396
6311
|
}
|
|
6397
|
-
|
|
6398
6312
|
this.$refs.itemsContainer.style.transform = this.isVertical ? "translate3d(0, ".concat(totalShiftedItems * (100 / this.d_numVisible), "%, 0)") : "translate3d(".concat(totalShiftedItems * (100 / this.d_numVisible), "%, 0, 0)");
|
|
6399
|
-
|
|
6400
6313
|
if (this.d_oldActiveItemIndex !== this.d_activeIndex) {
|
|
6401
6314
|
DomHandler_DomHandler.removeClass(this.$refs.itemsContainer, 'p-items-hidden');
|
|
6402
6315
|
this.$refs.itemsContainer.style.transition = 'transform 500ms ease 0s';
|
|
6403
6316
|
}
|
|
6404
|
-
|
|
6405
6317
|
this.d_oldActiveItemIndex = this.d_activeIndex;
|
|
6406
6318
|
this.d_oldNumVisible = this.d_numVisible;
|
|
6407
6319
|
}
|
|
@@ -6410,7 +6322,6 @@ function _toConsumableArray(arr) {
|
|
|
6410
6322
|
if (this.responsiveOptions) {
|
|
6411
6323
|
this.unbindDocumentListeners();
|
|
6412
6324
|
}
|
|
6413
|
-
|
|
6414
6325
|
if (this.thumbnailsStyle) {
|
|
6415
6326
|
this.thumbnailsStyle.parentNode.removeChild(this.thumbnailsStyle);
|
|
6416
6327
|
}
|
|
@@ -6418,13 +6329,11 @@ function _toConsumableArray(arr) {
|
|
|
6418
6329
|
methods: {
|
|
6419
6330
|
step: function step(dir) {
|
|
6420
6331
|
var totalShiftedItems = this.totalShiftedItems + dir;
|
|
6421
|
-
|
|
6422
6332
|
if (dir < 0 && -1 * totalShiftedItems + this.d_numVisible > this.value.length - 1) {
|
|
6423
6333
|
totalShiftedItems = this.d_numVisible - this.value.length;
|
|
6424
6334
|
} else if (dir > 0 && totalShiftedItems > 0) {
|
|
6425
6335
|
totalShiftedItems = 0;
|
|
6426
6336
|
}
|
|
6427
|
-
|
|
6428
6337
|
if (this.circular) {
|
|
6429
6338
|
if (dir < 0 && this.value.length - 1 === this.d_activeIndex) {
|
|
6430
6339
|
totalShiftedItems = 0;
|
|
@@ -6432,13 +6341,11 @@ function _toConsumableArray(arr) {
|
|
|
6432
6341
|
totalShiftedItems = this.d_numVisible - this.value.length;
|
|
6433
6342
|
}
|
|
6434
6343
|
}
|
|
6435
|
-
|
|
6436
6344
|
if (this.$refs.itemsContainer) {
|
|
6437
6345
|
DomHandler_DomHandler.removeClass(this.$refs.itemsContainer, 'p-items-hidden');
|
|
6438
6346
|
this.$refs.itemsContainer.style.transform = this.isVertical ? "translate3d(0, ".concat(totalShiftedItems * (100 / this.d_numVisible), "%, 0)") : "translate3d(".concat(totalShiftedItems * (100 / this.d_numVisible), "%, 0, 0)");
|
|
6439
6347
|
this.$refs.itemsContainer.style.transition = 'transform 500ms ease 0s';
|
|
6440
6348
|
}
|
|
6441
|
-
|
|
6442
6349
|
this.totalShiftedItems = totalShiftedItems;
|
|
6443
6350
|
},
|
|
6444
6351
|
stopSlideShow: function stopSlideShow() {
|
|
@@ -6454,14 +6361,11 @@ function _toConsumableArray(arr) {
|
|
|
6454
6361
|
this.stopSlideShow();
|
|
6455
6362
|
var prevItemIndex = this.d_activeIndex !== 0 ? this.d_activeIndex - 1 : 0;
|
|
6456
6363
|
var diff = prevItemIndex + this.totalShiftedItems;
|
|
6457
|
-
|
|
6458
6364
|
if (this.d_numVisible - diff - 1 > this.getMedianItemIndex() && (-1 * this.totalShiftedItems !== 0 || this.circular)) {
|
|
6459
6365
|
this.step(1);
|
|
6460
6366
|
}
|
|
6461
|
-
|
|
6462
6367
|
var activeIndex = this.circular && this.d_activeIndex === 0 ? this.value.length - 1 : prevItemIndex;
|
|
6463
6368
|
this.$emit('update:activeIndex', activeIndex);
|
|
6464
|
-
|
|
6465
6369
|
if (e.cancelable) {
|
|
6466
6370
|
e.preventDefault();
|
|
6467
6371
|
}
|
|
@@ -6469,14 +6373,11 @@ function _toConsumableArray(arr) {
|
|
|
6469
6373
|
navForward: function navForward(e) {
|
|
6470
6374
|
this.stopSlideShow();
|
|
6471
6375
|
var nextItemIndex = this.d_activeIndex + 1;
|
|
6472
|
-
|
|
6473
6376
|
if (nextItemIndex + this.totalShiftedItems > this.getMedianItemIndex() && (-1 * this.totalShiftedItems < this.getTotalPageNumber() - 1 || this.circular)) {
|
|
6474
6377
|
this.step(-1);
|
|
6475
6378
|
}
|
|
6476
|
-
|
|
6477
6379
|
var activeIndex = this.circular && this.value.length - 1 === this.d_activeIndex ? 0 : nextItemIndex;
|
|
6478
6380
|
this.$emit('update:activeIndex', activeIndex);
|
|
6479
|
-
|
|
6480
6381
|
if (e.cancelable) {
|
|
6481
6382
|
e.preventDefault();
|
|
6482
6383
|
}
|
|
@@ -6484,25 +6385,20 @@ function _toConsumableArray(arr) {
|
|
|
6484
6385
|
onItemClick: function onItemClick(index) {
|
|
6485
6386
|
this.stopSlideShow();
|
|
6486
6387
|
var selectedItemIndex = index;
|
|
6487
|
-
|
|
6488
6388
|
if (selectedItemIndex !== this.d_activeIndex) {
|
|
6489
6389
|
var diff = selectedItemIndex + this.totalShiftedItems;
|
|
6490
6390
|
var dir = 0;
|
|
6491
|
-
|
|
6492
6391
|
if (selectedItemIndex < this.d_activeIndex) {
|
|
6493
6392
|
dir = this.d_numVisible - diff - 1 - this.getMedianItemIndex();
|
|
6494
|
-
|
|
6495
6393
|
if (dir > 0 && -1 * this.totalShiftedItems !== 0) {
|
|
6496
6394
|
this.step(dir);
|
|
6497
6395
|
}
|
|
6498
6396
|
} else {
|
|
6499
6397
|
dir = this.getMedianItemIndex() - diff;
|
|
6500
|
-
|
|
6501
6398
|
if (dir < 0 && -1 * this.totalShiftedItems < this.getTotalPageNumber() - 1) {
|
|
6502
6399
|
this.step(dir);
|
|
6503
6400
|
}
|
|
6504
6401
|
}
|
|
6505
|
-
|
|
6506
6402
|
this.$emit('update:activeIndex', selectedItemIndex);
|
|
6507
6403
|
}
|
|
6508
6404
|
},
|
|
@@ -6526,7 +6422,6 @@ function _toConsumableArray(arr) {
|
|
|
6526
6422
|
},
|
|
6527
6423
|
onTouchEnd: function onTouchEnd(e) {
|
|
6528
6424
|
var touchobj = e.changedTouches[0];
|
|
6529
|
-
|
|
6530
6425
|
if (this.isVertical) {
|
|
6531
6426
|
this.changePageOnTouch(e, touchobj.pageY - this.startPos.y);
|
|
6532
6427
|
} else {
|
|
@@ -6551,9 +6446,7 @@ function _toConsumableArray(arr) {
|
|
|
6551
6446
|
this.thumbnailsStyle.type = 'text/css';
|
|
6552
6447
|
document.body.appendChild(this.thumbnailsStyle);
|
|
6553
6448
|
}
|
|
6554
|
-
|
|
6555
6449
|
var innerHTML = "\n #".concat(this.containerId, " .p-galleria-thumbnail-item {\n flex: 1 0 ").concat(100 / this.d_numVisible, "%\n }\n ");
|
|
6556
|
-
|
|
6557
6450
|
if (this.responsiveOptions) {
|
|
6558
6451
|
this.sortedResponsiveOptions = _toConsumableArray(this.responsiveOptions);
|
|
6559
6452
|
this.sortedResponsiveOptions.sort(function (data1, data2) {
|
|
@@ -6565,13 +6458,11 @@ function _toConsumableArray(arr) {
|
|
|
6565
6458
|
});else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
|
|
6566
6459
|
return -1 * result;
|
|
6567
6460
|
});
|
|
6568
|
-
|
|
6569
6461
|
for (var i = 0; i < this.sortedResponsiveOptions.length; i++) {
|
|
6570
6462
|
var res = this.sortedResponsiveOptions[i];
|
|
6571
6463
|
innerHTML += "\n @media screen and (max-width: ".concat(res.breakpoint, ") {\n #").concat(this.containerId, " .p-galleria-thumbnail-item {\n flex: 1 0 ").concat(100 / res.numVisible, "%\n }\n }\n ");
|
|
6572
6464
|
}
|
|
6573
6465
|
}
|
|
6574
|
-
|
|
6575
6466
|
this.thumbnailsStyle.innerHTML = innerHTML;
|
|
6576
6467
|
},
|
|
6577
6468
|
calculatePosition: function calculatePosition() {
|
|
@@ -6580,15 +6471,12 @@ function _toConsumableArray(arr) {
|
|
|
6580
6471
|
var matchedResponsiveData = {
|
|
6581
6472
|
numVisible: this.numVisible
|
|
6582
6473
|
};
|
|
6583
|
-
|
|
6584
6474
|
for (var i = 0; i < this.sortedResponsiveOptions.length; i++) {
|
|
6585
6475
|
var res = this.sortedResponsiveOptions[i];
|
|
6586
|
-
|
|
6587
6476
|
if (parseInt(res.breakpoint, 10) >= windowWidth) {
|
|
6588
6477
|
matchedResponsiveData = res;
|
|
6589
6478
|
}
|
|
6590
6479
|
}
|
|
6591
|
-
|
|
6592
6480
|
if (this.d_numVisible !== matchedResponsiveData.numVisible) {
|
|
6593
6481
|
this.d_numVisible = matchedResponsiveData.numVisible;
|
|
6594
6482
|
}
|
|
@@ -6596,12 +6484,10 @@ function _toConsumableArray(arr) {
|
|
|
6596
6484
|
},
|
|
6597
6485
|
bindDocumentListeners: function bindDocumentListeners() {
|
|
6598
6486
|
var _this = this;
|
|
6599
|
-
|
|
6600
6487
|
if (!this.documentResizeListener) {
|
|
6601
6488
|
this.documentResizeListener = function () {
|
|
6602
6489
|
_this.calculatePosition();
|
|
6603
6490
|
};
|
|
6604
|
-
|
|
6605
6491
|
window.addEventListener('resize', this.documentResizeListener);
|
|
6606
6492
|
}
|
|
6607
6493
|
},
|
|
@@ -6725,7 +6611,6 @@ var GalleriaThumbnails_component = normalizeComponent(
|
|
|
6725
6611
|
},
|
|
6726
6612
|
startSlideShow: function startSlideShow() {
|
|
6727
6613
|
var _this = this;
|
|
6728
|
-
|
|
6729
6614
|
this.interval = setInterval(function () {
|
|
6730
6615
|
var activeIndex = _this.$attrs.circular && _this.$attrs.value.length - 1 === _this.activeIndex ? 0 : _this.activeIndex + 1;
|
|
6731
6616
|
_this.activeIndex = activeIndex;
|
|
@@ -6736,7 +6621,6 @@ var GalleriaThumbnails_component = normalizeComponent(
|
|
|
6736
6621
|
if (this.interval) {
|
|
6737
6622
|
clearInterval(this.interval);
|
|
6738
6623
|
}
|
|
6739
|
-
|
|
6740
6624
|
this.slideShowActive = false;
|
|
6741
6625
|
},
|
|
6742
6626
|
getPositionClass: function getPositionClass(preClassName, position) {
|
|
@@ -6905,7 +6789,6 @@ var GalleriaContent_component = normalizeComponent(
|
|
|
6905
6789
|
},
|
|
6906
6790
|
updated: function updated() {
|
|
6907
6791
|
this.removeStylesFromMask();
|
|
6908
|
-
|
|
6909
6792
|
if (this.fullScreen && this.visible && !this.maskVisible) {
|
|
6910
6793
|
this.maskVisible = true;
|
|
6911
6794
|
}
|
|
@@ -6932,7 +6815,6 @@ var GalleriaContent_component = normalizeComponent(
|
|
|
6932
6815
|
},
|
|
6933
6816
|
onAppear: function onAppear() {
|
|
6934
6817
|
var _this = this;
|
|
6935
|
-
|
|
6936
6818
|
if (this.visible) {
|
|
6937
6819
|
this.onEnter();
|
|
6938
6820
|
setTimeout(function () {
|
|
@@ -6950,18 +6832,14 @@ var GalleriaContent_component = normalizeComponent(
|
|
|
6950
6832
|
},
|
|
6951
6833
|
removeStylesFromMask: function removeStylesFromMask() {
|
|
6952
6834
|
var _this2 = this;
|
|
6953
|
-
|
|
6954
6835
|
if (this.$refs.mask) {
|
|
6955
6836
|
this.galleriaStyles = this.$vnode.data.style || this.$vnode.data.staticStyle;
|
|
6956
|
-
|
|
6957
6837
|
if (this.galleriaStyles) {
|
|
6958
6838
|
Object.keys(this.galleriaStyles).forEach(function (key) {
|
|
6959
6839
|
_this2.$refs.mask.style[key] = '';
|
|
6960
6840
|
});
|
|
6961
6841
|
}
|
|
6962
|
-
|
|
6963
6842
|
this.galleriaClasses = this.$vnode.data.class || this.$vnode.data.staticClass;
|
|
6964
|
-
|
|
6965
6843
|
if (this.galleriaClasses) {
|
|
6966
6844
|
this.$refs.mask.classList = 'p-galleria-mask' + (this.visible && ' p-galleria-visible');
|
|
6967
6845
|
}
|