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
package/galleria/galleria.umd.js
CHANGED
|
@@ -4827,11 +4827,10 @@ if (typeof window !== 'undefined') {
|
|
|
4827
4827
|
// Indicate to webpack that this file can be concatenated
|
|
4828
4828
|
/* harmony default export */ var setPublicPath = (null);
|
|
4829
4829
|
|
|
4830
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4830
|
+
// 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&
|
|
4831
4831
|
var render = function render() {
|
|
4832
4832
|
var _vm = this,
|
|
4833
|
-
|
|
4834
|
-
|
|
4833
|
+
_c = _vm._self._c;
|
|
4835
4834
|
return _vm.fullScreen && (_vm.maskVisible || _vm.visible) ? _c('div', {
|
|
4836
4835
|
ref: "mask",
|
|
4837
4836
|
class: _vm.maskContentClass
|
|
@@ -4862,7 +4861,6 @@ var render = function render() {
|
|
|
4862
4861
|
}
|
|
4863
4862
|
}, 'GalleriaContent', _vm.$props, false)) : _vm._e();
|
|
4864
4863
|
};
|
|
4865
|
-
|
|
4866
4864
|
var staticRenderFns = [];
|
|
4867
4865
|
|
|
4868
4866
|
// CONCATENATED MODULE: ./src/components/galleria/Galleria.vue?vue&type=template&id=a59cb31a&
|
|
@@ -4876,11 +4874,10 @@ var web_dom_iterable = __webpack_require__("ac6a");
|
|
|
4876
4874
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.number.constructor.js
|
|
4877
4875
|
var es6_number_constructor = __webpack_require__("c5f6");
|
|
4878
4876
|
|
|
4879
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4877
|
+
// 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&
|
|
4880
4878
|
var GalleriaContentvue_type_template_id_6754eac0_render = function render() {
|
|
4881
4879
|
var _vm = this,
|
|
4882
|
-
|
|
4883
|
-
|
|
4880
|
+
_c = _vm._self._c;
|
|
4884
4881
|
return _vm.$attrs.value && _vm.$attrs.value.length > 0 ? _c('div', {
|
|
4885
4882
|
class: _vm.galleriaClass,
|
|
4886
4883
|
style: _vm.$attrs.containerStyle,
|
|
@@ -4978,7 +4975,6 @@ var GalleriaContentvue_type_template_id_6754eac0_render = function render() {
|
|
|
4978
4975
|
}
|
|
4979
4976
|
})], 1) : _vm._e()]) : _vm._e();
|
|
4980
4977
|
};
|
|
4981
|
-
|
|
4982
4978
|
var GalleriaContentvue_type_template_id_6754eac0_staticRenderFns = [];
|
|
4983
4979
|
|
|
4984
4980
|
// CONCATENATED MODULE: ./src/components/galleria/GalleriaContent.vue?vue&type=template&id=6754eac0&
|
|
@@ -4993,11 +4989,10 @@ var lastId = 0;
|
|
|
4993
4989
|
lastId++;
|
|
4994
4990
|
return "".concat(prefix).concat(lastId);
|
|
4995
4991
|
});
|
|
4996
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4992
|
+
// 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&
|
|
4997
4993
|
var GalleriaItemvue_type_template_id_5bdfe994_render = function render() {
|
|
4998
4994
|
var _vm = this,
|
|
4999
|
-
|
|
5000
|
-
|
|
4995
|
+
_c = _vm._self._c;
|
|
5001
4996
|
return _c('div', {
|
|
5002
4997
|
staticClass: "p-galleria-item-wrapper"
|
|
5003
4998
|
}, [_c('div', {
|
|
@@ -5090,7 +5085,6 @@ var GalleriaItemvue_type_template_id_5bdfe994_render = function render() {
|
|
|
5090
5085
|
})], 1);
|
|
5091
5086
|
}), 0) : _vm._e()]);
|
|
5092
5087
|
};
|
|
5093
|
-
|
|
5094
5088
|
var GalleriaItemvue_type_template_id_5bdfe994_staticRenderFns = [];
|
|
5095
5089
|
|
|
5096
5090
|
// CONCATENATED MODULE: ./src/components/galleria/GalleriaItem.vue?vue&type=template&id=5bdfe994&
|
|
@@ -5119,15 +5113,13 @@ var GalleriaItemvue_type_template_id_5bdfe994_staticRenderFns = [];
|
|
|
5119
5113
|
},
|
|
5120
5114
|
render: function render(createElement, context) {
|
|
5121
5115
|
var _context$props = context.props,
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5116
|
+
item = _context$props.item,
|
|
5117
|
+
index = _context$props.index,
|
|
5118
|
+
templates = _context$props.templates,
|
|
5119
|
+
type = _context$props.type;
|
|
5126
5120
|
var template = templates && templates[type];
|
|
5127
|
-
|
|
5128
5121
|
if (template) {
|
|
5129
5122
|
var content;
|
|
5130
|
-
|
|
5131
5123
|
switch (type) {
|
|
5132
5124
|
case 'item':
|
|
5133
5125
|
case 'caption':
|
|
@@ -5136,21 +5128,17 @@ var GalleriaItemvue_type_template_id_5bdfe994_staticRenderFns = [];
|
|
|
5136
5128
|
item: item
|
|
5137
5129
|
});
|
|
5138
5130
|
break;
|
|
5139
|
-
|
|
5140
5131
|
case 'indicator':
|
|
5141
5132
|
content = template({
|
|
5142
5133
|
index: index
|
|
5143
5134
|
});
|
|
5144
5135
|
break;
|
|
5145
|
-
|
|
5146
5136
|
default:
|
|
5147
5137
|
content = template({});
|
|
5148
5138
|
break;
|
|
5149
5139
|
}
|
|
5150
|
-
|
|
5151
5140
|
return content ? [content] : null;
|
|
5152
5141
|
}
|
|
5153
|
-
|
|
5154
5142
|
return null;
|
|
5155
5143
|
}
|
|
5156
5144
|
});
|
|
@@ -5313,26 +5301,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
5313
5301
|
|
|
5314
5302
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
5315
5303
|
|
|
5316
|
-
|
|
5317
5304
|
function _defineProperties(target, props) {
|
|
5318
5305
|
for (var i = 0; i < props.length; i++) {
|
|
5319
5306
|
var descriptor = props[i];
|
|
5320
5307
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
5321
5308
|
descriptor.configurable = true;
|
|
5322
5309
|
if ("value" in descriptor) descriptor.writable = true;
|
|
5323
|
-
|
|
5324
5310
|
define_property_default()(target, descriptor.key, descriptor);
|
|
5325
5311
|
}
|
|
5326
5312
|
}
|
|
5327
|
-
|
|
5328
5313
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
5329
5314
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
5330
5315
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
5331
|
-
|
|
5332
5316
|
define_property_default()(Constructor, "prototype", {
|
|
5333
5317
|
writable: false
|
|
5334
5318
|
});
|
|
5335
|
-
|
|
5336
5319
|
return Constructor;
|
|
5337
5320
|
}
|
|
5338
5321
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -5348,18 +5331,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
5348
5331
|
|
|
5349
5332
|
|
|
5350
5333
|
|
|
5351
|
-
|
|
5352
5334
|
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; } } }; }
|
|
5353
|
-
|
|
5354
5335
|
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); }
|
|
5355
|
-
|
|
5356
5336
|
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; }
|
|
5357
|
-
|
|
5358
5337
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
5359
5338
|
function DomHandler() {
|
|
5360
5339
|
_classCallCheck(this, DomHandler);
|
|
5361
5340
|
}
|
|
5362
|
-
|
|
5363
5341
|
_createClass(DomHandler, null, [{
|
|
5364
5342
|
key: "innerWidth",
|
|
5365
5343
|
value: function innerWidth(el) {
|
|
@@ -5393,12 +5371,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5393
5371
|
value: function getOuterWidth(el, margin) {
|
|
5394
5372
|
if (el) {
|
|
5395
5373
|
var width = el.offsetWidth;
|
|
5396
|
-
|
|
5397
5374
|
if (margin) {
|
|
5398
5375
|
var style = getComputedStyle(el);
|
|
5399
5376
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
5400
5377
|
}
|
|
5401
|
-
|
|
5402
5378
|
return width;
|
|
5403
5379
|
} else {
|
|
5404
5380
|
return 0;
|
|
@@ -5409,12 +5385,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5409
5385
|
value: function getOuterHeight(el, margin) {
|
|
5410
5386
|
if (el) {
|
|
5411
5387
|
var height = el.offsetHeight;
|
|
5412
|
-
|
|
5413
5388
|
if (margin) {
|
|
5414
5389
|
var style = getComputedStyle(el);
|
|
5415
5390
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
5416
5391
|
}
|
|
5417
|
-
|
|
5418
5392
|
return height;
|
|
5419
5393
|
} else {
|
|
5420
5394
|
return 0;
|
|
@@ -5425,12 +5399,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5425
5399
|
value: function getClientHeight(el, margin) {
|
|
5426
5400
|
if (el) {
|
|
5427
5401
|
var height = el.clientHeight;
|
|
5428
|
-
|
|
5429
5402
|
if (margin) {
|
|
5430
5403
|
var style = getComputedStyle(el);
|
|
5431
5404
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
5432
5405
|
}
|
|
5433
|
-
|
|
5434
5406
|
return height;
|
|
5435
5407
|
} else {
|
|
5436
5408
|
return 0;
|
|
@@ -5440,11 +5412,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5440
5412
|
key: "getViewport",
|
|
5441
5413
|
value: function getViewport() {
|
|
5442
5414
|
var win = window,
|
|
5443
|
-
|
|
5444
|
-
|
|
5445
|
-
|
|
5446
|
-
|
|
5447
|
-
|
|
5415
|
+
d = document,
|
|
5416
|
+
e = d.documentElement,
|
|
5417
|
+
g = d.getElementsByTagName('body')[0],
|
|
5418
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
5419
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
5448
5420
|
return {
|
|
5449
5421
|
width: w,
|
|
5450
5422
|
height: h
|
|
@@ -5475,12 +5447,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5475
5447
|
value: function index(element) {
|
|
5476
5448
|
var children = element.parentNode.childNodes;
|
|
5477
5449
|
var num = 0;
|
|
5478
|
-
|
|
5479
5450
|
for (var i = 0; i < children.length; i++) {
|
|
5480
5451
|
if (children[i] === element) return num;
|
|
5481
5452
|
if (children[i].nodeType === 1) num++;
|
|
5482
5453
|
}
|
|
5483
|
-
|
|
5484
5454
|
return -1;
|
|
5485
5455
|
}
|
|
5486
5456
|
}, {
|
|
@@ -5488,13 +5458,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5488
5458
|
value: function addMultipleClasses(element, className) {
|
|
5489
5459
|
if (element.classList) {
|
|
5490
5460
|
var styles = className.split(' ');
|
|
5491
|
-
|
|
5492
5461
|
for (var i = 0; i < styles.length; i++) {
|
|
5493
5462
|
element.classList.add(styles[i]);
|
|
5494
5463
|
}
|
|
5495
5464
|
} else {
|
|
5496
5465
|
var _styles = className.split(' ');
|
|
5497
|
-
|
|
5498
5466
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
5499
5467
|
element.className += ' ' + _styles[_i];
|
|
5500
5468
|
}
|
|
@@ -5516,7 +5484,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5516
5484
|
if (element) {
|
|
5517
5485
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
5518
5486
|
}
|
|
5519
|
-
|
|
5520
5487
|
return false;
|
|
5521
5488
|
}
|
|
5522
5489
|
}, {
|
|
@@ -5561,11 +5528,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5561
5528
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
5562
5529
|
var viewport = this.getViewport();
|
|
5563
5530
|
var top, left;
|
|
5564
|
-
|
|
5565
5531
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
5566
5532
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
5567
5533
|
element.style.transformOrigin = 'bottom';
|
|
5568
|
-
|
|
5569
5534
|
if (top < 0) {
|
|
5570
5535
|
top = windowScrollTop;
|
|
5571
5536
|
}
|
|
@@ -5573,7 +5538,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5573
5538
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
5574
5539
|
element.style.transformOrigin = 'top';
|
|
5575
5540
|
}
|
|
5576
|
-
|
|
5577
5541
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
5578
5542
|
element.style.top = top + 'px';
|
|
5579
5543
|
element.style.left = left + 'px';
|
|
@@ -5589,11 +5553,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5589
5553
|
var targetOffset = target.getBoundingClientRect();
|
|
5590
5554
|
var viewport = this.getViewport();
|
|
5591
5555
|
var top, left;
|
|
5592
|
-
|
|
5593
5556
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
5594
5557
|
top = -1 * elementDimensions.height;
|
|
5595
5558
|
element.style.transformOrigin = 'bottom';
|
|
5596
|
-
|
|
5597
5559
|
if (targetOffset.top + top < 0) {
|
|
5598
5560
|
top = -1 * targetOffset.top;
|
|
5599
5561
|
}
|
|
@@ -5601,7 +5563,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5601
5563
|
top = targetHeight;
|
|
5602
5564
|
element.style.transformOrigin = 'top';
|
|
5603
5565
|
}
|
|
5604
|
-
|
|
5605
5566
|
if (elementDimensions.width > viewport.width) {
|
|
5606
5567
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
5607
5568
|
left = targetOffset.left * -1;
|
|
@@ -5612,7 +5573,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5612
5573
|
// element fits on screen (align with target)
|
|
5613
5574
|
left = 0;
|
|
5614
5575
|
}
|
|
5615
|
-
|
|
5616
5576
|
element.style.top = top + 'px';
|
|
5617
5577
|
element.style.left = left + 'px';
|
|
5618
5578
|
}
|
|
@@ -5626,35 +5586,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5626
5586
|
key: "getScrollableParents",
|
|
5627
5587
|
value: function getScrollableParents(element) {
|
|
5628
5588
|
var scrollableParents = [];
|
|
5629
|
-
|
|
5630
5589
|
if (element) {
|
|
5631
5590
|
var parents = this.getParents(element);
|
|
5632
5591
|
var overflowRegex = /(auto|scroll)/;
|
|
5633
|
-
|
|
5634
5592
|
var overflowCheck = function overflowCheck(node) {
|
|
5635
5593
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
5636
5594
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
5637
5595
|
};
|
|
5638
|
-
|
|
5639
5596
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
5640
|
-
|
|
5641
|
-
|
|
5597
|
+
_step;
|
|
5642
5598
|
try {
|
|
5643
5599
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
5644
5600
|
var parent = _step.value;
|
|
5645
5601
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
5646
|
-
|
|
5647
5602
|
if (scrollSelectors) {
|
|
5648
5603
|
var selectors = scrollSelectors.split(',');
|
|
5649
|
-
|
|
5650
5604
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
5651
|
-
|
|
5652
|
-
|
|
5605
|
+
_step2;
|
|
5653
5606
|
try {
|
|
5654
5607
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
5655
5608
|
var selector = _step2.value;
|
|
5656
5609
|
var el = this.findSingle(parent, selector);
|
|
5657
|
-
|
|
5658
5610
|
if (el && overflowCheck(el)) {
|
|
5659
5611
|
scrollableParents.push(el);
|
|
5660
5612
|
}
|
|
@@ -5672,7 +5624,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5672
5624
|
_iterator.f();
|
|
5673
5625
|
}
|
|
5674
5626
|
}
|
|
5675
|
-
|
|
5676
5627
|
return scrollableParents;
|
|
5677
5628
|
}
|
|
5678
5629
|
}, {
|
|
@@ -5713,34 +5664,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5713
5664
|
element.style.opacity = 0;
|
|
5714
5665
|
var last = +new Date();
|
|
5715
5666
|
var opacity = 0;
|
|
5716
|
-
|
|
5717
5667
|
var tick = function tick() {
|
|
5718
5668
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
5719
5669
|
element.style.opacity = opacity;
|
|
5720
5670
|
last = +new Date();
|
|
5721
|
-
|
|
5722
5671
|
if (+opacity < 1) {
|
|
5723
5672
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
5724
5673
|
}
|
|
5725
5674
|
};
|
|
5726
|
-
|
|
5727
5675
|
tick();
|
|
5728
5676
|
}
|
|
5729
5677
|
}, {
|
|
5730
5678
|
key: "fadeOut",
|
|
5731
5679
|
value: function fadeOut(element, ms) {
|
|
5732
5680
|
var opacity = 1,
|
|
5733
|
-
|
|
5734
|
-
|
|
5735
|
-
|
|
5681
|
+
interval = 50,
|
|
5682
|
+
duration = ms,
|
|
5683
|
+
gap = interval / duration;
|
|
5736
5684
|
var fading = setInterval(function () {
|
|
5737
5685
|
opacity -= gap;
|
|
5738
|
-
|
|
5739
5686
|
if (opacity <= 0) {
|
|
5740
5687
|
opacity = 0;
|
|
5741
5688
|
clearInterval(fading);
|
|
5742
5689
|
}
|
|
5743
|
-
|
|
5744
5690
|
element.style.opacity = opacity;
|
|
5745
5691
|
}, interval);
|
|
5746
5692
|
}
|
|
@@ -5767,7 +5713,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5767
5713
|
var scroll = container.scrollTop;
|
|
5768
5714
|
var elementHeight = container.clientHeight;
|
|
5769
5715
|
var itemHeight = this.getOuterHeight(item);
|
|
5770
|
-
|
|
5771
5716
|
if (offset < 0) {
|
|
5772
5717
|
container.scrollTop = scroll + offset;
|
|
5773
5718
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -5786,7 +5731,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5786
5731
|
} else if (document['selection'] && document['selection'].empty) {
|
|
5787
5732
|
try {
|
|
5788
5733
|
document['selection'].empty();
|
|
5789
|
-
} catch (error) {
|
|
5734
|
+
} catch (error) {
|
|
5735
|
+
//ignore IE bug
|
|
5790
5736
|
}
|
|
5791
5737
|
}
|
|
5792
5738
|
}
|
|
@@ -5808,19 +5754,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5808
5754
|
if (!this.browser) {
|
|
5809
5755
|
var matched = this.resolveUserAgent();
|
|
5810
5756
|
this.browser = {};
|
|
5811
|
-
|
|
5812
5757
|
if (matched.browser) {
|
|
5813
5758
|
this.browser[matched.browser] = true;
|
|
5814
5759
|
this.browser['version'] = matched.version;
|
|
5815
5760
|
}
|
|
5816
|
-
|
|
5817
5761
|
if (this.browser['chrome']) {
|
|
5818
5762
|
this.browser['webkit'] = true;
|
|
5819
5763
|
} else if (this.browser['webkit']) {
|
|
5820
5764
|
this.browser['safari'] = true;
|
|
5821
5765
|
}
|
|
5822
5766
|
}
|
|
5823
|
-
|
|
5824
5767
|
return this.browser;
|
|
5825
5768
|
}
|
|
5826
5769
|
}, {
|
|
@@ -5848,10 +5791,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5848
5791
|
value: function getFocusableElements(element) {
|
|
5849
5792
|
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])");
|
|
5850
5793
|
var visibleFocusableElements = [];
|
|
5851
|
-
|
|
5852
5794
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
5853
|
-
|
|
5854
|
-
|
|
5795
|
+
_step3;
|
|
5855
5796
|
try {
|
|
5856
5797
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
5857
5798
|
var focusableElement = _step3.value;
|
|
@@ -5862,7 +5803,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5862
5803
|
} finally {
|
|
5863
5804
|
_iterator3.f();
|
|
5864
5805
|
}
|
|
5865
|
-
|
|
5866
5806
|
return visibleFocusableElements;
|
|
5867
5807
|
}
|
|
5868
5808
|
}, {
|
|
@@ -5905,55 +5845,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5905
5845
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
5906
5846
|
}
|
|
5907
5847
|
}]);
|
|
5908
|
-
|
|
5909
5848
|
return DomHandler;
|
|
5910
5849
|
}();
|
|
5911
5850
|
|
|
5912
|
-
|
|
5913
5851
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
5914
5852
|
|
|
5915
|
-
|
|
5916
5853
|
function bindEvents(el) {
|
|
5917
5854
|
el.addEventListener('mousedown', onMouseDown);
|
|
5918
5855
|
}
|
|
5919
|
-
|
|
5920
5856
|
function unbindEvents(el) {
|
|
5921
5857
|
el.removeEventListener('mousedown', onMouseDown);
|
|
5922
5858
|
}
|
|
5923
|
-
|
|
5924
5859
|
function create(el) {
|
|
5925
5860
|
var ink = document.createElement('span');
|
|
5926
5861
|
ink.className = 'p-ink';
|
|
5927
5862
|
el.appendChild(ink);
|
|
5928
5863
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
5929
5864
|
}
|
|
5930
|
-
|
|
5931
5865
|
function remove(el) {
|
|
5932
5866
|
var ink = getInk(el);
|
|
5933
|
-
|
|
5934
5867
|
if (ink) {
|
|
5935
5868
|
unbindEvents(el);
|
|
5936
5869
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
5937
5870
|
ink.remove();
|
|
5938
5871
|
}
|
|
5939
5872
|
}
|
|
5940
|
-
|
|
5941
5873
|
function onMouseDown(event) {
|
|
5942
5874
|
var target = event.currentTarget;
|
|
5943
5875
|
var ink = getInk(target);
|
|
5944
|
-
|
|
5945
5876
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
5946
5877
|
return;
|
|
5947
5878
|
}
|
|
5948
|
-
|
|
5949
5879
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
5950
|
-
|
|
5951
5880
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
5952
5881
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
5953
5882
|
ink.style.height = d + 'px';
|
|
5954
5883
|
ink.style.width = d + 'px';
|
|
5955
5884
|
}
|
|
5956
|
-
|
|
5957
5885
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
5958
5886
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
5959
5887
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -5961,21 +5889,17 @@ function onMouseDown(event) {
|
|
|
5961
5889
|
ink.style.left = x + 'px';
|
|
5962
5890
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
5963
5891
|
}
|
|
5964
|
-
|
|
5965
5892
|
function onAnimationEnd(event) {
|
|
5966
5893
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
5967
5894
|
}
|
|
5968
|
-
|
|
5969
5895
|
function getInk(el) {
|
|
5970
5896
|
for (var i = 0; i < el.children.length; i++) {
|
|
5971
5897
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
5972
5898
|
return el.children[i];
|
|
5973
5899
|
}
|
|
5974
5900
|
}
|
|
5975
|
-
|
|
5976
5901
|
return null;
|
|
5977
5902
|
}
|
|
5978
|
-
|
|
5979
5903
|
var Ripple = {
|
|
5980
5904
|
inserted: function inserted(el, binding, vnode) {
|
|
5981
5905
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -6055,7 +5979,6 @@ var Ripple = {
|
|
|
6055
5979
|
navBackward: function navBackward(e) {
|
|
6056
5980
|
this.stopSlideShow();
|
|
6057
5981
|
this.prev();
|
|
6058
|
-
|
|
6059
5982
|
if (e && e.cancelable) {
|
|
6060
5983
|
e.preventDefault();
|
|
6061
5984
|
}
|
|
@@ -6063,7 +5986,6 @@ var Ripple = {
|
|
|
6063
5986
|
navForward: function navForward(e) {
|
|
6064
5987
|
this.stopSlideShow();
|
|
6065
5988
|
this.next();
|
|
6066
|
-
|
|
6067
5989
|
if (e && e.cancelable) {
|
|
6068
5990
|
e.preventDefault();
|
|
6069
5991
|
}
|
|
@@ -6136,11 +6058,10 @@ var GalleriaItem_component = normalizeComponent(
|
|
|
6136
6058
|
)
|
|
6137
6059
|
|
|
6138
6060
|
/* harmony default export */ var GalleriaItem = (GalleriaItem_component.exports);
|
|
6139
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
6061
|
+
// 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&
|
|
6140
6062
|
var GalleriaThumbnailsvue_type_template_id_11247977_render = function render() {
|
|
6141
6063
|
var _vm = this,
|
|
6142
|
-
|
|
6143
|
-
|
|
6064
|
+
_c = _vm._self._c;
|
|
6144
6065
|
return _c('div', {
|
|
6145
6066
|
staticClass: "p-galleria-thumbnail-wrapper"
|
|
6146
6067
|
}, [_c('div', {
|
|
@@ -6231,7 +6152,6 @@ var GalleriaThumbnailsvue_type_template_id_11247977_render = function render() {
|
|
|
6231
6152
|
class: _vm.navForwardIconClass
|
|
6232
6153
|
})]) : _vm._e()])]);
|
|
6233
6154
|
};
|
|
6234
|
-
|
|
6235
6155
|
var GalleriaThumbnailsvue_type_template_id_11247977_staticRenderFns = [];
|
|
6236
6156
|
|
|
6237
6157
|
// CONCATENATED MODULE: ./src/components/galleria/GalleriaThumbnails.vue?vue&type=template&id=11247977&
|
|
@@ -6246,11 +6166,9 @@ var is_array_default = /*#__PURE__*/__webpack_require__.n(is_array);
|
|
|
6246
6166
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayLikeToArray.js
|
|
6247
6167
|
function arrayLikeToArray_arrayLikeToArray(arr, len) {
|
|
6248
6168
|
if (len == null || len > arr.length) len = arr.length;
|
|
6249
|
-
|
|
6250
6169
|
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
6251
6170
|
arr2[i] = arr[i];
|
|
6252
6171
|
}
|
|
6253
|
-
|
|
6254
6172
|
return arr2;
|
|
6255
6173
|
}
|
|
6256
6174
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayWithoutHoles.js
|
|
@@ -6381,14 +6299,12 @@ function _toConsumableArray(arr) {
|
|
|
6381
6299
|
mounted: function mounted() {
|
|
6382
6300
|
this.createStyle();
|
|
6383
6301
|
this.calculatePosition();
|
|
6384
|
-
|
|
6385
6302
|
if (this.responsiveOptions) {
|
|
6386
6303
|
this.bindDocumentListeners();
|
|
6387
6304
|
}
|
|
6388
6305
|
},
|
|
6389
6306
|
updated: function updated() {
|
|
6390
6307
|
var totalShiftedItems = this.totalShiftedItems;
|
|
6391
|
-
|
|
6392
6308
|
if (this.d_oldNumVisible !== this.d_numVisible || this.d_oldActiveItemIndex !== this.d_activeIndex) {
|
|
6393
6309
|
if (this.d_activeIndex <= this.getMedianItemIndex()) {
|
|
6394
6310
|
totalShiftedItems = 0;
|
|
@@ -6399,18 +6315,14 @@ function _toConsumableArray(arr) {
|
|
|
6399
6315
|
} else {
|
|
6400
6316
|
totalShiftedItems = this.d_activeIndex * -1 + this.getMedianItemIndex();
|
|
6401
6317
|
}
|
|
6402
|
-
|
|
6403
6318
|
if (totalShiftedItems !== this.totalShiftedItems) {
|
|
6404
6319
|
this.totalShiftedItems = totalShiftedItems;
|
|
6405
6320
|
}
|
|
6406
|
-
|
|
6407
6321
|
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)");
|
|
6408
|
-
|
|
6409
6322
|
if (this.d_oldActiveItemIndex !== this.d_activeIndex) {
|
|
6410
6323
|
DomHandler_DomHandler.removeClass(this.$refs.itemsContainer, 'p-items-hidden');
|
|
6411
6324
|
this.$refs.itemsContainer.style.transition = 'transform 500ms ease 0s';
|
|
6412
6325
|
}
|
|
6413
|
-
|
|
6414
6326
|
this.d_oldActiveItemIndex = this.d_activeIndex;
|
|
6415
6327
|
this.d_oldNumVisible = this.d_numVisible;
|
|
6416
6328
|
}
|
|
@@ -6419,7 +6331,6 @@ function _toConsumableArray(arr) {
|
|
|
6419
6331
|
if (this.responsiveOptions) {
|
|
6420
6332
|
this.unbindDocumentListeners();
|
|
6421
6333
|
}
|
|
6422
|
-
|
|
6423
6334
|
if (this.thumbnailsStyle) {
|
|
6424
6335
|
this.thumbnailsStyle.parentNode.removeChild(this.thumbnailsStyle);
|
|
6425
6336
|
}
|
|
@@ -6427,13 +6338,11 @@ function _toConsumableArray(arr) {
|
|
|
6427
6338
|
methods: {
|
|
6428
6339
|
step: function step(dir) {
|
|
6429
6340
|
var totalShiftedItems = this.totalShiftedItems + dir;
|
|
6430
|
-
|
|
6431
6341
|
if (dir < 0 && -1 * totalShiftedItems + this.d_numVisible > this.value.length - 1) {
|
|
6432
6342
|
totalShiftedItems = this.d_numVisible - this.value.length;
|
|
6433
6343
|
} else if (dir > 0 && totalShiftedItems > 0) {
|
|
6434
6344
|
totalShiftedItems = 0;
|
|
6435
6345
|
}
|
|
6436
|
-
|
|
6437
6346
|
if (this.circular) {
|
|
6438
6347
|
if (dir < 0 && this.value.length - 1 === this.d_activeIndex) {
|
|
6439
6348
|
totalShiftedItems = 0;
|
|
@@ -6441,13 +6350,11 @@ function _toConsumableArray(arr) {
|
|
|
6441
6350
|
totalShiftedItems = this.d_numVisible - this.value.length;
|
|
6442
6351
|
}
|
|
6443
6352
|
}
|
|
6444
|
-
|
|
6445
6353
|
if (this.$refs.itemsContainer) {
|
|
6446
6354
|
DomHandler_DomHandler.removeClass(this.$refs.itemsContainer, 'p-items-hidden');
|
|
6447
6355
|
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)");
|
|
6448
6356
|
this.$refs.itemsContainer.style.transition = 'transform 500ms ease 0s';
|
|
6449
6357
|
}
|
|
6450
|
-
|
|
6451
6358
|
this.totalShiftedItems = totalShiftedItems;
|
|
6452
6359
|
},
|
|
6453
6360
|
stopSlideShow: function stopSlideShow() {
|
|
@@ -6463,14 +6370,11 @@ function _toConsumableArray(arr) {
|
|
|
6463
6370
|
this.stopSlideShow();
|
|
6464
6371
|
var prevItemIndex = this.d_activeIndex !== 0 ? this.d_activeIndex - 1 : 0;
|
|
6465
6372
|
var diff = prevItemIndex + this.totalShiftedItems;
|
|
6466
|
-
|
|
6467
6373
|
if (this.d_numVisible - diff - 1 > this.getMedianItemIndex() && (-1 * this.totalShiftedItems !== 0 || this.circular)) {
|
|
6468
6374
|
this.step(1);
|
|
6469
6375
|
}
|
|
6470
|
-
|
|
6471
6376
|
var activeIndex = this.circular && this.d_activeIndex === 0 ? this.value.length - 1 : prevItemIndex;
|
|
6472
6377
|
this.$emit('update:activeIndex', activeIndex);
|
|
6473
|
-
|
|
6474
6378
|
if (e.cancelable) {
|
|
6475
6379
|
e.preventDefault();
|
|
6476
6380
|
}
|
|
@@ -6478,14 +6382,11 @@ function _toConsumableArray(arr) {
|
|
|
6478
6382
|
navForward: function navForward(e) {
|
|
6479
6383
|
this.stopSlideShow();
|
|
6480
6384
|
var nextItemIndex = this.d_activeIndex + 1;
|
|
6481
|
-
|
|
6482
6385
|
if (nextItemIndex + this.totalShiftedItems > this.getMedianItemIndex() && (-1 * this.totalShiftedItems < this.getTotalPageNumber() - 1 || this.circular)) {
|
|
6483
6386
|
this.step(-1);
|
|
6484
6387
|
}
|
|
6485
|
-
|
|
6486
6388
|
var activeIndex = this.circular && this.value.length - 1 === this.d_activeIndex ? 0 : nextItemIndex;
|
|
6487
6389
|
this.$emit('update:activeIndex', activeIndex);
|
|
6488
|
-
|
|
6489
6390
|
if (e.cancelable) {
|
|
6490
6391
|
e.preventDefault();
|
|
6491
6392
|
}
|
|
@@ -6493,25 +6394,20 @@ function _toConsumableArray(arr) {
|
|
|
6493
6394
|
onItemClick: function onItemClick(index) {
|
|
6494
6395
|
this.stopSlideShow();
|
|
6495
6396
|
var selectedItemIndex = index;
|
|
6496
|
-
|
|
6497
6397
|
if (selectedItemIndex !== this.d_activeIndex) {
|
|
6498
6398
|
var diff = selectedItemIndex + this.totalShiftedItems;
|
|
6499
6399
|
var dir = 0;
|
|
6500
|
-
|
|
6501
6400
|
if (selectedItemIndex < this.d_activeIndex) {
|
|
6502
6401
|
dir = this.d_numVisible - diff - 1 - this.getMedianItemIndex();
|
|
6503
|
-
|
|
6504
6402
|
if (dir > 0 && -1 * this.totalShiftedItems !== 0) {
|
|
6505
6403
|
this.step(dir);
|
|
6506
6404
|
}
|
|
6507
6405
|
} else {
|
|
6508
6406
|
dir = this.getMedianItemIndex() - diff;
|
|
6509
|
-
|
|
6510
6407
|
if (dir < 0 && -1 * this.totalShiftedItems < this.getTotalPageNumber() - 1) {
|
|
6511
6408
|
this.step(dir);
|
|
6512
6409
|
}
|
|
6513
6410
|
}
|
|
6514
|
-
|
|
6515
6411
|
this.$emit('update:activeIndex', selectedItemIndex);
|
|
6516
6412
|
}
|
|
6517
6413
|
},
|
|
@@ -6535,7 +6431,6 @@ function _toConsumableArray(arr) {
|
|
|
6535
6431
|
},
|
|
6536
6432
|
onTouchEnd: function onTouchEnd(e) {
|
|
6537
6433
|
var touchobj = e.changedTouches[0];
|
|
6538
|
-
|
|
6539
6434
|
if (this.isVertical) {
|
|
6540
6435
|
this.changePageOnTouch(e, touchobj.pageY - this.startPos.y);
|
|
6541
6436
|
} else {
|
|
@@ -6560,9 +6455,7 @@ function _toConsumableArray(arr) {
|
|
|
6560
6455
|
this.thumbnailsStyle.type = 'text/css';
|
|
6561
6456
|
document.body.appendChild(this.thumbnailsStyle);
|
|
6562
6457
|
}
|
|
6563
|
-
|
|
6564
6458
|
var innerHTML = "\n #".concat(this.containerId, " .p-galleria-thumbnail-item {\n flex: 1 0 ").concat(100 / this.d_numVisible, "%\n }\n ");
|
|
6565
|
-
|
|
6566
6459
|
if (this.responsiveOptions) {
|
|
6567
6460
|
this.sortedResponsiveOptions = _toConsumableArray(this.responsiveOptions);
|
|
6568
6461
|
this.sortedResponsiveOptions.sort(function (data1, data2) {
|
|
@@ -6574,13 +6467,11 @@ function _toConsumableArray(arr) {
|
|
|
6574
6467
|
});else result = value1 < value2 ? -1 : value1 > value2 ? 1 : 0;
|
|
6575
6468
|
return -1 * result;
|
|
6576
6469
|
});
|
|
6577
|
-
|
|
6578
6470
|
for (var i = 0; i < this.sortedResponsiveOptions.length; i++) {
|
|
6579
6471
|
var res = this.sortedResponsiveOptions[i];
|
|
6580
6472
|
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 ");
|
|
6581
6473
|
}
|
|
6582
6474
|
}
|
|
6583
|
-
|
|
6584
6475
|
this.thumbnailsStyle.innerHTML = innerHTML;
|
|
6585
6476
|
},
|
|
6586
6477
|
calculatePosition: function calculatePosition() {
|
|
@@ -6589,15 +6480,12 @@ function _toConsumableArray(arr) {
|
|
|
6589
6480
|
var matchedResponsiveData = {
|
|
6590
6481
|
numVisible: this.numVisible
|
|
6591
6482
|
};
|
|
6592
|
-
|
|
6593
6483
|
for (var i = 0; i < this.sortedResponsiveOptions.length; i++) {
|
|
6594
6484
|
var res = this.sortedResponsiveOptions[i];
|
|
6595
|
-
|
|
6596
6485
|
if (parseInt(res.breakpoint, 10) >= windowWidth) {
|
|
6597
6486
|
matchedResponsiveData = res;
|
|
6598
6487
|
}
|
|
6599
6488
|
}
|
|
6600
|
-
|
|
6601
6489
|
if (this.d_numVisible !== matchedResponsiveData.numVisible) {
|
|
6602
6490
|
this.d_numVisible = matchedResponsiveData.numVisible;
|
|
6603
6491
|
}
|
|
@@ -6605,12 +6493,10 @@ function _toConsumableArray(arr) {
|
|
|
6605
6493
|
},
|
|
6606
6494
|
bindDocumentListeners: function bindDocumentListeners() {
|
|
6607
6495
|
var _this = this;
|
|
6608
|
-
|
|
6609
6496
|
if (!this.documentResizeListener) {
|
|
6610
6497
|
this.documentResizeListener = function () {
|
|
6611
6498
|
_this.calculatePosition();
|
|
6612
6499
|
};
|
|
6613
|
-
|
|
6614
6500
|
window.addEventListener('resize', this.documentResizeListener);
|
|
6615
6501
|
}
|
|
6616
6502
|
},
|
|
@@ -6734,7 +6620,6 @@ var GalleriaThumbnails_component = normalizeComponent(
|
|
|
6734
6620
|
},
|
|
6735
6621
|
startSlideShow: function startSlideShow() {
|
|
6736
6622
|
var _this = this;
|
|
6737
|
-
|
|
6738
6623
|
this.interval = setInterval(function () {
|
|
6739
6624
|
var activeIndex = _this.$attrs.circular && _this.$attrs.value.length - 1 === _this.activeIndex ? 0 : _this.activeIndex + 1;
|
|
6740
6625
|
_this.activeIndex = activeIndex;
|
|
@@ -6745,7 +6630,6 @@ var GalleriaThumbnails_component = normalizeComponent(
|
|
|
6745
6630
|
if (this.interval) {
|
|
6746
6631
|
clearInterval(this.interval);
|
|
6747
6632
|
}
|
|
6748
|
-
|
|
6749
6633
|
this.slideShowActive = false;
|
|
6750
6634
|
},
|
|
6751
6635
|
getPositionClass: function getPositionClass(preClassName, position) {
|
|
@@ -6914,7 +6798,6 @@ var GalleriaContent_component = normalizeComponent(
|
|
|
6914
6798
|
},
|
|
6915
6799
|
updated: function updated() {
|
|
6916
6800
|
this.removeStylesFromMask();
|
|
6917
|
-
|
|
6918
6801
|
if (this.fullScreen && this.visible && !this.maskVisible) {
|
|
6919
6802
|
this.maskVisible = true;
|
|
6920
6803
|
}
|
|
@@ -6941,7 +6824,6 @@ var GalleriaContent_component = normalizeComponent(
|
|
|
6941
6824
|
},
|
|
6942
6825
|
onAppear: function onAppear() {
|
|
6943
6826
|
var _this = this;
|
|
6944
|
-
|
|
6945
6827
|
if (this.visible) {
|
|
6946
6828
|
this.onEnter();
|
|
6947
6829
|
setTimeout(function () {
|
|
@@ -6959,18 +6841,14 @@ var GalleriaContent_component = normalizeComponent(
|
|
|
6959
6841
|
},
|
|
6960
6842
|
removeStylesFromMask: function removeStylesFromMask() {
|
|
6961
6843
|
var _this2 = this;
|
|
6962
|
-
|
|
6963
6844
|
if (this.$refs.mask) {
|
|
6964
6845
|
this.galleriaStyles = this.$vnode.data.style || this.$vnode.data.staticStyle;
|
|
6965
|
-
|
|
6966
6846
|
if (this.galleriaStyles) {
|
|
6967
6847
|
Object.keys(this.galleriaStyles).forEach(function (key) {
|
|
6968
6848
|
_this2.$refs.mask.style[key] = '';
|
|
6969
6849
|
});
|
|
6970
6850
|
}
|
|
6971
|
-
|
|
6972
6851
|
this.galleriaClasses = this.$vnode.data.class || this.$vnode.data.staticClass;
|
|
6973
|
-
|
|
6974
6852
|
if (this.galleriaClasses) {
|
|
6975
6853
|
this.$refs.mask.classList = 'p-galleria-mask' + (this.visible && ' p-galleria-visible');
|
|
6976
6854
|
}
|