primevue 2.10.0 → 2.10.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +150 -3
- package/accordion/accordion.common.js +2 -7
- package/accordion/accordion.umd.js +2 -7
- package/accordiontab/accordiontab.common.js +15 -68
- package/accordiontab/accordiontab.umd.js +15 -68
- package/api/Api.d.ts +24 -2
- package/api/Api.js +0 -6
- package/api/FilterService.js +2 -55
- package/api/PrimeIcons.js +24 -2
- package/api/api.common.js +35 -98
- package/api/api.umd.js +35 -98
- package/api/api.umd.min.js +1 -1
- package/api/filterservice.common.js +11 -96
- package/api/filterservice.umd.js +11 -96
- package/api/primeicons.common.js +24 -2
- package/api/primeicons.umd.js +24 -2
- package/api/primeicons.umd.min.js +1 -1
- package/autocomplete/autocomplete.common.js +33 -189
- package/autocomplete/autocomplete.umd.js +33 -189
- package/avatar/avatar.common.js +2 -4
- package/avatar/avatar.umd.js +2 -4
- package/avatargroup/avatargroup.common.js +2 -4
- package/avatargroup/avatargroup.umd.js +2 -4
- package/badge/badge.common.js +2 -4
- package/badge/badge.umd.js +2 -4
- package/badgedirective/BadgeDirective.js +0 -13
- package/badgedirective/badgedirective.common.js +13 -71
- package/badgedirective/badgedirective.umd.js +13 -71
- package/blockui/blockui.common.js +15 -73
- package/blockui/blockui.umd.js +15 -73
- package/breadcrumb/breadcrumb.common.js +7 -12
- package/breadcrumb/breadcrumb.umd.js +7 -12
- package/breadcrumb/breadcrumbitem.common.js +5 -8
- package/breadcrumb/breadcrumbitem.umd.js +5 -8
- package/button/button.common.js +15 -81
- package/button/button.umd.js +15 -81
- package/calendar/calendar.common.js +109 -498
- package/calendar/calendar.umd.js +109 -498
- package/card/card.common.js +2 -4
- package/card/card.umd.js +2 -4
- package/carousel/carousel.common.js +15 -123
- package/carousel/carousel.umd.js +15 -123
- package/cascadeselect/cascadeselect.common.js +29 -187
- package/cascadeselect/cascadeselect.umd.js +29 -187
- package/cascadeselect/cascadeselectsub.common.js +25 -149
- package/cascadeselect/cascadeselectsub.umd.js +25 -149
- package/cascadeselect/demo.html +4 -3
- package/chart/chart.common.js +2 -9
- package/chart/chart.umd.js +2 -9
- package/checkbox/checkbox.common.js +11 -61
- package/checkbox/checkbox.umd.js +11 -61
- package/chip/chip.common.js +2 -4
- package/chip/chip.umd.js +2 -4
- package/chips/chips.common.js +3 -20
- package/chips/chips.umd.js +3 -20
- package/colorpicker/colorpicker.common.js +16 -111
- package/colorpicker/colorpicker.umd.js +16 -111
- package/columngroup/columngroup.common.js +2 -4
- package/columngroup/columngroup.umd.js +2 -4
- package/config/PrimeVue.js +0 -5
- package/config/primevue.common.js +35 -102
- package/config/primevue.umd.js +35 -102
- package/config/primevue.umd.min.js +1 -1
- package/confirmationeventbus/ConfirmationEventBus.js +0 -4
- package/confirmationeventbus/confirmationeventbus.common.js +0 -2
- package/confirmationeventbus/confirmationeventbus.umd.js +0 -2
- package/confirmationservice/ConfirmationService.js +0 -3
- package/confirmationservice/confirmationservice.common.js +0 -2
- package/confirmationservice/confirmationservice.umd.js +0 -2
- package/confirmdialog/confirmdialog.common.js +19 -107
- package/confirmdialog/confirmdialog.umd.js +19 -107
- package/confirmpopup/confirmpopup.common.js +17 -109
- package/confirmpopup/confirmpopup.umd.js +17 -109
- package/contextmenu/contextmenu.common.js +28 -111
- package/contextmenu/contextmenu.umd.js +28 -111
- package/contextmenu/contextmenusub.common.js +18 -90
- package/contextmenu/contextmenusub.umd.js +18 -90
- package/datatable/bodycell.common.js +28 -164
- package/datatable/bodycell.umd.js +28 -164
- package/datatable/columnfilter.common.js +35 -247
- package/datatable/columnfilter.umd.js +35 -247
- package/datatable/datatable.common.js +165 -855
- package/datatable/datatable.umd.js +165 -855
- package/datatable/datatable.umd.min.js +1 -1
- package/datatable/demo.html +3 -5
- package/datatable/footercell.common.js +24 -119
- package/datatable/footercell.umd.js +24 -119
- package/datatable/headercell.common.js +39 -266
- package/datatable/headercell.umd.js +39 -266
- package/datatable/headercheckbox.common.js +2 -4
- package/datatable/headercheckbox.umd.js +2 -4
- package/datatable/rowcheckbox.common.js +2 -4
- package/datatable/rowcheckbox.umd.js +2 -4
- package/datatable/rowradiobutton.common.js +2 -4
- package/datatable/rowradiobutton.umd.js +2 -4
- package/datatable/tablebody.common.js +30 -191
- package/datatable/tablebody.umd.js +30 -191
- package/datatable/tablefooter.common.js +27 -135
- package/datatable/tablefooter.umd.js +27 -135
- package/datatable/tableheader.common.js +41 -273
- package/datatable/tableheader.umd.js +41 -273
- package/datatable/tableloadingbody.common.js +2 -4
- package/datatable/tableloadingbody.umd.js +2 -4
- package/dataview/dataview.common.js +121 -407
- package/dataview/dataview.umd.js +121 -407
- package/dataview/dataview.umd.min.js +1 -1
- package/dataviewlayoutoptions/dataviewlayoutoptions.common.js +2 -4
- package/dataviewlayoutoptions/dataviewlayoutoptions.umd.js +2 -4
- package/deferredcontent/deferredcontent.common.js +2 -7
- package/deferredcontent/deferredcontent.umd.js +2 -7
- package/dialog/dialog.common.js +15 -93
- package/dialog/dialog.umd.js +15 -93
- package/divider/divider.common.js +2 -4
- package/divider/divider.umd.js +2 -4
- package/dock/dock.common.js +7 -14
- package/dock/dock.umd.js +7 -14
- package/dock/docksub.common.js +5 -9
- package/dock/docksub.umd.js +5 -9
- package/dropdown/dropdown.common.js +31 -188
- package/dropdown/dropdown.umd.js +31 -188
- package/editor/editor.common.js +8 -21
- package/editor/editor.umd.js +8 -21
- package/fieldset/fieldset.common.js +15 -81
- package/fieldset/fieldset.umd.js +15 -81
- package/fileupload/fileupload.common.js +28 -142
- package/fileupload/fileupload.umd.js +28 -142
- package/fullcalendar/fullcalendar.common.js +10 -17
- package/fullcalendar/fullcalendar.umd.js +10 -17
- package/fullcalendar/fullcalendar.umd.min.js +3 -3
- package/galleria/galleria.common.js +25 -147
- package/galleria/galleria.umd.js +25 -147
- package/galleria/galleriacontent.common.js +23 -137
- package/galleria/galleriacontent.umd.js +23 -137
- package/galleria/galleriaitem.common.js +19 -93
- package/galleria/galleriaitem.umd.js +19 -93
- package/galleria/galleriaitemslot.common.js +4 -10
- package/galleria/galleriaitemslot.umd.js +4 -10
- package/galleria/galleriathumbnails.common.js +19 -125
- package/galleria/galleriathumbnails.umd.js +19 -125
- package/imagepreview/imagepreview.common.js +16 -71
- package/imagepreview/imagepreview.umd.js +16 -71
- package/inlinemessage/inlinemessage.common.js +2 -5
- package/inlinemessage/inlinemessage.umd.js +2 -5
- package/inplace/inplace.common.js +17 -85
- package/inplace/inplace.umd.js +17 -85
- package/inputmask/inputmask.common.js +31 -155
- package/inputmask/inputmask.umd.js +31 -155
- package/inputnumber/InputNumber.vue +2 -2
- package/inputnumber/inputnumber.common.js +73 -233
- package/inputnumber/inputnumber.umd.js +73 -233
- package/inputnumber/inputnumber.umd.min.js +1 -1
- package/inputswitch/inputswitch.common.js +2 -5
- package/inputswitch/inputswitch.umd.js +2 -5
- package/inputtext/inputtext.common.js +2 -9
- package/inputtext/inputtext.umd.js +2 -9
- package/knob/knob.common.js +4 -5
- package/knob/knob.umd.js +4 -5
- package/listbox/listbox.common.js +27 -156
- package/listbox/listbox.umd.js +27 -156
- package/megamenu/megamenu.common.js +24 -111
- package/megamenu/megamenu.umd.js +24 -111
- package/menu/menu.common.js +20 -107
- package/menu/menu.umd.js +20 -107
- package/menu/menuitem.common.js +18 -84
- package/menu/menuitem.umd.js +18 -84
- package/menubar/demo.html +4 -3
- package/menubar/menubar.common.js +23 -112
- package/menubar/menubar.umd.js +23 -112
- package/menubar/menubarsub.common.js +21 -106
- package/menubar/menubarsub.umd.js +21 -106
- package/message/message.common.js +15 -82
- package/message/message.umd.js +15 -82
- package/multiselect/multiselect.common.js +32 -189
- package/multiselect/multiselect.umd.js +32 -189
- package/orderlist/orderlist.common.js +28 -162
- package/orderlist/orderlist.umd.js +28 -162
- package/organizationchart/organizationchart.common.js +17 -82
- package/organizationchart/organizationchart.umd.js +17 -82
- package/organizationchart/organizationchartnode.common.js +15 -68
- package/organizationchart/organizationchartnode.umd.js +15 -68
- package/overlayeventbus/OverlayEventBus.js +0 -4
- package/overlayeventbus/overlayeventbus.common.js +0 -2
- package/overlayeventbus/overlayeventbus.umd.js +0 -2
- package/overlaypanel/overlaypanel.common.js +15 -104
- package/overlaypanel/overlaypanel.umd.js +15 -104
- package/package.json +2 -2
- package/paginator/currentpagereport.common.js +2 -4
- package/paginator/currentpagereport.umd.js +2 -4
- package/paginator/firstpagelink.common.js +15 -81
- package/paginator/firstpagelink.umd.js +15 -81
- package/paginator/jumptopagedropdown.common.js +33 -194
- package/paginator/jumptopagedropdown.umd.js +33 -194
- package/paginator/jumptopageinput.common.js +79 -241
- package/paginator/jumptopageinput.umd.js +79 -241
- package/paginator/jumptopageinput.umd.min.js +1 -1
- package/paginator/lastpagelink.common.js +15 -81
- package/paginator/lastpagelink.umd.js +15 -81
- package/paginator/nextpagelink.common.js +15 -81
- package/paginator/nextpagelink.umd.js +15 -81
- package/paginator/pagelinks.common.js +15 -81
- package/paginator/pagelinks.umd.js +15 -81
- package/paginator/paginator.common.js +119 -399
- package/paginator/paginator.umd.js +119 -399
- package/paginator/paginator.umd.min.js +1 -1
- package/paginator/prevpagelink.common.js +15 -81
- package/paginator/prevpagelink.umd.js +15 -81
- package/paginator/rowsperpagedropdown.common.js +33 -194
- package/paginator/rowsperpagedropdown.umd.js +33 -194
- package/panel/panel.common.js +15 -81
- package/panel/panel.umd.js +15 -81
- package/panelmenu/panelmenu.common.js +10 -22
- package/panelmenu/panelmenu.umd.js +10 -22
- package/panelmenu/panelmenusub.common.js +5 -11
- package/panelmenu/panelmenusub.umd.js +5 -11
- package/password/Password.vue +38 -11
- package/password/password.common.js +117 -179
- package/password/password.umd.js +117 -179
- package/password/password.umd.min.js +1 -1
- package/picklist/picklist.common.js +28 -194
- package/picklist/picklist.umd.js +28 -194
- package/progressbar/progressbar.common.js +2 -4
- package/progressbar/progressbar.umd.js +2 -4
- package/progressspinner/progressspinner.common.js +2 -5
- package/progressspinner/progressspinner.umd.js +2 -5
- package/radiobutton/radiobutton.common.js +11 -57
- package/radiobutton/radiobutton.umd.js +11 -57
- package/rating/rating.common.js +2 -4
- package/rating/rating.umd.js +2 -4
- package/ripple/Ripple.js +0 -18
- package/ripple/ripple.common.js +13 -77
- package/ripple/ripple.umd.js +13 -77
- package/row/row.common.js +2 -4
- package/row/row.umd.js +2 -4
- package/scrollpanel/scrollpanel.common.js +18 -83
- package/scrollpanel/scrollpanel.umd.js +18 -83
- package/scrolltop/scrolltop.common.js +15 -71
- package/scrolltop/scrolltop.umd.js +15 -71
- package/selectbutton/selectbutton.common.js +25 -143
- package/selectbutton/selectbutton.umd.js +25 -143
- package/sidebar/Sidebar.d.ts +1 -0
- package/sidebar/Sidebar.vue +3 -0
- package/sidebar/sidebar.common.js +63 -137
- package/sidebar/sidebar.umd.js +63 -137
- package/sidebar/sidebar.umd.min.js +1 -1
- package/skeleton/skeleton.common.js +2 -4
- package/skeleton/skeleton.umd.js +2 -4
- package/slider/Slider.vue +1 -1
- package/slider/slider.common.js +64 -139
- package/slider/slider.umd.js +64 -139
- package/slider/slider.umd.min.js +1 -1
- package/speeddial/SpeedDial.vue +2 -2
- package/speeddial/speeddial.common.js +63 -152
- package/speeddial/speeddial.umd.js +63 -152
- package/speeddial/speeddial.umd.min.js +1 -1
- package/splitbutton/splitbutton.common.js +24 -115
- package/splitbutton/splitbutton.umd.js +24 -115
- package/splitter/splitter.common.js +13 -84
- package/splitter/splitter.umd.js +13 -84
- package/steps/steps.common.js +5 -9
- package/steps/steps.umd.js +5 -9
- package/styleclass/StyleClass.js +0 -43
- package/styleclass/styleclass.common.js +13 -99
- package/styleclass/styleclass.umd.js +13 -99
- package/tabmenu/tabmenu.common.js +15 -86
- package/tabmenu/tabmenu.umd.js +15 -86
- package/tabpanel/tabpanel.common.js +2 -5
- package/tabpanel/tabpanel.umd.js +2 -5
- package/tabview/tabview.common.js +27 -134
- package/tabview/tabview.umd.js +27 -134
- package/tag/tag.common.js +2 -4
- package/tag/tag.umd.js +2 -4
- package/terminal/terminal.common.js +2 -4
- package/terminal/terminal.umd.js +2 -4
- package/terminalservice/TerminalService.js +0 -3
- package/textarea/Textarea.vue +24 -1
- package/textarea/textarea.common.js +2045 -60
- package/textarea/textarea.umd.js +2045 -60
- package/textarea/textarea.umd.min.js +1 -1
- package/tieredmenu/tieredmenu.common.js +22 -124
- package/tieredmenu/tieredmenu.umd.js +22 -124
- package/tieredmenu/tieredmenusub.common.js +20 -102
- package/tieredmenu/tieredmenusub.umd.js +20 -102
- package/timeline/timeline.common.js +11 -56
- package/timeline/timeline.umd.js +11 -56
- package/toast/toast.common.js +17 -97
- package/toast/toast.umd.js +17 -97
- package/toast/toastmessage.common.js +15 -82
- package/toast/toastmessage.umd.js +15 -82
- package/toastservice/ToastEventBus.js +0 -3
- package/toastservice/ToastService.js +0 -3
- package/togglebutton/togglebutton.common.js +15 -81
- package/togglebutton/togglebutton.umd.js +15 -81
- package/toolbar/toolbar.common.js +2 -4
- package/toolbar/toolbar.umd.js +2 -4
- package/tooltip/Tooltip.js +4 -84
- package/tooltip/tooltip.common.js +17 -133
- package/tooltip/tooltip.umd.js +17 -133
- package/tree/tree.common.js +36 -211
- package/tree/tree.umd.js +36 -211
- package/tree/treenode.common.js +20 -117
- package/tree/treenode.umd.js +20 -117
- package/treetable/footercell.common.js +24 -119
- package/treetable/footercell.umd.js +24 -119
- package/treetable/headercell.common.js +24 -127
- package/treetable/headercell.umd.js +24 -127
- package/treetable/treetable.common.js +149 -625
- package/treetable/treetable.umd.js +149 -625
- package/treetable/treetable.umd.min.js +1 -1
- package/treetable/treetablerow.common.js +29 -159
- package/treetable/treetablerow.umd.js +29 -159
- package/treetable/treetablerowloader.common.js +31 -179
- package/treetable/treetablerowloader.umd.js +31 -179
- package/tristatecheckbox/tristatecheckbox.common.js +2 -12
- package/tristatecheckbox/tristatecheckbox.umd.js +2 -12
- package/utils/ConnectedOverlayScrollHandler.js +0 -12
- package/utils/DomHandler.js +13 -61
- package/utils/EventBus.js +0 -3
- package/utils/ObjectUtils.js +9 -51
- package/utils/UniqueComponentId.js +0 -1
- package/utils/Utils.js +0 -6
- package/utils/connectedoverlayscrollhandler.common.js +13 -70
- package/utils/connectedoverlayscrollhandler.umd.js +13 -70
- package/utils/domhandler.common.js +13 -63
- package/utils/domhandler.umd.js +13 -63
- package/utils/eventbus.common.js +0 -2
- package/utils/eventbus.umd.js +0 -2
- package/utils/objectutils.common.js +9 -52
- package/utils/objectutils.umd.js +9 -52
- package/utils/utils.common.js +22 -119
- package/utils/utils.umd.js +22 -119
- package/web-types.json +8 -1
|
@@ -2896,11 +2896,10 @@ if (typeof window !== 'undefined') {
|
|
|
2896
2896
|
// Indicate to webpack that this file can be concatenated
|
|
2897
2897
|
/* harmony default export */ var setPublicPath = (null);
|
|
2898
2898
|
|
|
2899
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2899
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"08364d47-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/galleria/GalleriaItem.vue?vue&type=template&id=5bdfe994&
|
|
2900
2900
|
var render = function render() {
|
|
2901
2901
|
var _vm = this,
|
|
2902
|
-
|
|
2903
|
-
|
|
2902
|
+
_c = _vm._self._c;
|
|
2904
2903
|
return _c('div', {
|
|
2905
2904
|
staticClass: "p-galleria-item-wrapper"
|
|
2906
2905
|
}, [_c('div', {
|
|
@@ -2993,7 +2992,6 @@ var render = function render() {
|
|
|
2993
2992
|
})], 1);
|
|
2994
2993
|
}), 0) : _vm._e()]);
|
|
2995
2994
|
};
|
|
2996
|
-
|
|
2997
2995
|
var staticRenderFns = [];
|
|
2998
2996
|
|
|
2999
2997
|
// CONCATENATED MODULE: ./src/components/galleria/GalleriaItem.vue?vue&type=template&id=5bdfe994&
|
|
@@ -3025,15 +3023,13 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
3025
3023
|
},
|
|
3026
3024
|
render: function render(createElement, context) {
|
|
3027
3025
|
var _context$props = context.props,
|
|
3028
|
-
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
-
|
|
3026
|
+
item = _context$props.item,
|
|
3027
|
+
index = _context$props.index,
|
|
3028
|
+
templates = _context$props.templates,
|
|
3029
|
+
type = _context$props.type;
|
|
3032
3030
|
var template = templates && templates[type];
|
|
3033
|
-
|
|
3034
3031
|
if (template) {
|
|
3035
3032
|
var content;
|
|
3036
|
-
|
|
3037
3033
|
switch (type) {
|
|
3038
3034
|
case 'item':
|
|
3039
3035
|
case 'caption':
|
|
@@ -3042,21 +3038,17 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
3042
3038
|
item: item
|
|
3043
3039
|
});
|
|
3044
3040
|
break;
|
|
3045
|
-
|
|
3046
3041
|
case 'indicator':
|
|
3047
3042
|
content = template({
|
|
3048
3043
|
index: index
|
|
3049
3044
|
});
|
|
3050
3045
|
break;
|
|
3051
|
-
|
|
3052
3046
|
default:
|
|
3053
3047
|
content = template({});
|
|
3054
3048
|
break;
|
|
3055
3049
|
}
|
|
3056
|
-
|
|
3057
3050
|
return content ? [content] : null;
|
|
3058
3051
|
}
|
|
3059
|
-
|
|
3060
3052
|
return null;
|
|
3061
3053
|
}
|
|
3062
3054
|
});
|
|
@@ -3222,26 +3214,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
3222
3214
|
|
|
3223
3215
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
3224
3216
|
|
|
3225
|
-
|
|
3226
3217
|
function _defineProperties(target, props) {
|
|
3227
3218
|
for (var i = 0; i < props.length; i++) {
|
|
3228
3219
|
var descriptor = props[i];
|
|
3229
3220
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
3230
3221
|
descriptor.configurable = true;
|
|
3231
3222
|
if ("value" in descriptor) descriptor.writable = true;
|
|
3232
|
-
|
|
3233
3223
|
define_property_default()(target, descriptor.key, descriptor);
|
|
3234
3224
|
}
|
|
3235
3225
|
}
|
|
3236
|
-
|
|
3237
3226
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
3238
3227
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3239
3228
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3240
|
-
|
|
3241
3229
|
define_property_default()(Constructor, "prototype", {
|
|
3242
3230
|
writable: false
|
|
3243
3231
|
});
|
|
3244
|
-
|
|
3245
3232
|
return Constructor;
|
|
3246
3233
|
}
|
|
3247
3234
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -3257,18 +3244,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
3257
3244
|
|
|
3258
3245
|
|
|
3259
3246
|
|
|
3260
|
-
|
|
3261
3247
|
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; } } }; }
|
|
3262
|
-
|
|
3263
3248
|
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); }
|
|
3264
|
-
|
|
3265
3249
|
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; }
|
|
3266
|
-
|
|
3267
3250
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
3268
3251
|
function DomHandler() {
|
|
3269
3252
|
_classCallCheck(this, DomHandler);
|
|
3270
3253
|
}
|
|
3271
|
-
|
|
3272
3254
|
_createClass(DomHandler, null, [{
|
|
3273
3255
|
key: "innerWidth",
|
|
3274
3256
|
value: function innerWidth(el) {
|
|
@@ -3302,12 +3284,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3302
3284
|
value: function getOuterWidth(el, margin) {
|
|
3303
3285
|
if (el) {
|
|
3304
3286
|
var width = el.offsetWidth;
|
|
3305
|
-
|
|
3306
3287
|
if (margin) {
|
|
3307
3288
|
var style = getComputedStyle(el);
|
|
3308
3289
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
3309
3290
|
}
|
|
3310
|
-
|
|
3311
3291
|
return width;
|
|
3312
3292
|
} else {
|
|
3313
3293
|
return 0;
|
|
@@ -3318,12 +3298,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3318
3298
|
value: function getOuterHeight(el, margin) {
|
|
3319
3299
|
if (el) {
|
|
3320
3300
|
var height = el.offsetHeight;
|
|
3321
|
-
|
|
3322
3301
|
if (margin) {
|
|
3323
3302
|
var style = getComputedStyle(el);
|
|
3324
3303
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3325
3304
|
}
|
|
3326
|
-
|
|
3327
3305
|
return height;
|
|
3328
3306
|
} else {
|
|
3329
3307
|
return 0;
|
|
@@ -3334,12 +3312,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3334
3312
|
value: function getClientHeight(el, margin) {
|
|
3335
3313
|
if (el) {
|
|
3336
3314
|
var height = el.clientHeight;
|
|
3337
|
-
|
|
3338
3315
|
if (margin) {
|
|
3339
3316
|
var style = getComputedStyle(el);
|
|
3340
3317
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3341
3318
|
}
|
|
3342
|
-
|
|
3343
3319
|
return height;
|
|
3344
3320
|
} else {
|
|
3345
3321
|
return 0;
|
|
@@ -3349,11 +3325,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3349
3325
|
key: "getViewport",
|
|
3350
3326
|
value: function getViewport() {
|
|
3351
3327
|
var win = window,
|
|
3352
|
-
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3328
|
+
d = document,
|
|
3329
|
+
e = d.documentElement,
|
|
3330
|
+
g = d.getElementsByTagName('body')[0],
|
|
3331
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
3332
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
3357
3333
|
return {
|
|
3358
3334
|
width: w,
|
|
3359
3335
|
height: h
|
|
@@ -3384,12 +3360,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3384
3360
|
value: function index(element) {
|
|
3385
3361
|
var children = element.parentNode.childNodes;
|
|
3386
3362
|
var num = 0;
|
|
3387
|
-
|
|
3388
3363
|
for (var i = 0; i < children.length; i++) {
|
|
3389
3364
|
if (children[i] === element) return num;
|
|
3390
3365
|
if (children[i].nodeType === 1) num++;
|
|
3391
3366
|
}
|
|
3392
|
-
|
|
3393
3367
|
return -1;
|
|
3394
3368
|
}
|
|
3395
3369
|
}, {
|
|
@@ -3397,13 +3371,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3397
3371
|
value: function addMultipleClasses(element, className) {
|
|
3398
3372
|
if (element.classList) {
|
|
3399
3373
|
var styles = className.split(' ');
|
|
3400
|
-
|
|
3401
3374
|
for (var i = 0; i < styles.length; i++) {
|
|
3402
3375
|
element.classList.add(styles[i]);
|
|
3403
3376
|
}
|
|
3404
3377
|
} else {
|
|
3405
3378
|
var _styles = className.split(' ');
|
|
3406
|
-
|
|
3407
3379
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
3408
3380
|
element.className += ' ' + _styles[_i];
|
|
3409
3381
|
}
|
|
@@ -3425,7 +3397,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3425
3397
|
if (element) {
|
|
3426
3398
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
3427
3399
|
}
|
|
3428
|
-
|
|
3429
3400
|
return false;
|
|
3430
3401
|
}
|
|
3431
3402
|
}, {
|
|
@@ -3470,11 +3441,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3470
3441
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
3471
3442
|
var viewport = this.getViewport();
|
|
3472
3443
|
var top, left;
|
|
3473
|
-
|
|
3474
3444
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
3475
3445
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
3476
3446
|
element.style.transformOrigin = 'bottom';
|
|
3477
|
-
|
|
3478
3447
|
if (top < 0) {
|
|
3479
3448
|
top = windowScrollTop;
|
|
3480
3449
|
}
|
|
@@ -3482,7 +3451,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3482
3451
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
3483
3452
|
element.style.transformOrigin = 'top';
|
|
3484
3453
|
}
|
|
3485
|
-
|
|
3486
3454
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
3487
3455
|
element.style.top = top + 'px';
|
|
3488
3456
|
element.style.left = left + 'px';
|
|
@@ -3498,11 +3466,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3498
3466
|
var targetOffset = target.getBoundingClientRect();
|
|
3499
3467
|
var viewport = this.getViewport();
|
|
3500
3468
|
var top, left;
|
|
3501
|
-
|
|
3502
3469
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
3503
3470
|
top = -1 * elementDimensions.height;
|
|
3504
3471
|
element.style.transformOrigin = 'bottom';
|
|
3505
|
-
|
|
3506
3472
|
if (targetOffset.top + top < 0) {
|
|
3507
3473
|
top = -1 * targetOffset.top;
|
|
3508
3474
|
}
|
|
@@ -3510,7 +3476,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3510
3476
|
top = targetHeight;
|
|
3511
3477
|
element.style.transformOrigin = 'top';
|
|
3512
3478
|
}
|
|
3513
|
-
|
|
3514
3479
|
if (elementDimensions.width > viewport.width) {
|
|
3515
3480
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
3516
3481
|
left = targetOffset.left * -1;
|
|
@@ -3521,7 +3486,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3521
3486
|
// element fits on screen (align with target)
|
|
3522
3487
|
left = 0;
|
|
3523
3488
|
}
|
|
3524
|
-
|
|
3525
3489
|
element.style.top = top + 'px';
|
|
3526
3490
|
element.style.left = left + 'px';
|
|
3527
3491
|
}
|
|
@@ -3535,35 +3499,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3535
3499
|
key: "getScrollableParents",
|
|
3536
3500
|
value: function getScrollableParents(element) {
|
|
3537
3501
|
var scrollableParents = [];
|
|
3538
|
-
|
|
3539
3502
|
if (element) {
|
|
3540
3503
|
var parents = this.getParents(element);
|
|
3541
3504
|
var overflowRegex = /(auto|scroll)/;
|
|
3542
|
-
|
|
3543
3505
|
var overflowCheck = function overflowCheck(node) {
|
|
3544
3506
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
3545
3507
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
3546
3508
|
};
|
|
3547
|
-
|
|
3548
3509
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
3549
|
-
|
|
3550
|
-
|
|
3510
|
+
_step;
|
|
3551
3511
|
try {
|
|
3552
3512
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
3553
3513
|
var parent = _step.value;
|
|
3554
3514
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
3555
|
-
|
|
3556
3515
|
if (scrollSelectors) {
|
|
3557
3516
|
var selectors = scrollSelectors.split(',');
|
|
3558
|
-
|
|
3559
3517
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
3560
|
-
|
|
3561
|
-
|
|
3518
|
+
_step2;
|
|
3562
3519
|
try {
|
|
3563
3520
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
3564
3521
|
var selector = _step2.value;
|
|
3565
3522
|
var el = this.findSingle(parent, selector);
|
|
3566
|
-
|
|
3567
3523
|
if (el && overflowCheck(el)) {
|
|
3568
3524
|
scrollableParents.push(el);
|
|
3569
3525
|
}
|
|
@@ -3581,7 +3537,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3581
3537
|
_iterator.f();
|
|
3582
3538
|
}
|
|
3583
3539
|
}
|
|
3584
|
-
|
|
3585
3540
|
return scrollableParents;
|
|
3586
3541
|
}
|
|
3587
3542
|
}, {
|
|
@@ -3622,34 +3577,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3622
3577
|
element.style.opacity = 0;
|
|
3623
3578
|
var last = +new Date();
|
|
3624
3579
|
var opacity = 0;
|
|
3625
|
-
|
|
3626
3580
|
var tick = function tick() {
|
|
3627
3581
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
3628
3582
|
element.style.opacity = opacity;
|
|
3629
3583
|
last = +new Date();
|
|
3630
|
-
|
|
3631
3584
|
if (+opacity < 1) {
|
|
3632
3585
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
3633
3586
|
}
|
|
3634
3587
|
};
|
|
3635
|
-
|
|
3636
3588
|
tick();
|
|
3637
3589
|
}
|
|
3638
3590
|
}, {
|
|
3639
3591
|
key: "fadeOut",
|
|
3640
3592
|
value: function fadeOut(element, ms) {
|
|
3641
3593
|
var opacity = 1,
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3594
|
+
interval = 50,
|
|
3595
|
+
duration = ms,
|
|
3596
|
+
gap = interval / duration;
|
|
3645
3597
|
var fading = setInterval(function () {
|
|
3646
3598
|
opacity -= gap;
|
|
3647
|
-
|
|
3648
3599
|
if (opacity <= 0) {
|
|
3649
3600
|
opacity = 0;
|
|
3650
3601
|
clearInterval(fading);
|
|
3651
3602
|
}
|
|
3652
|
-
|
|
3653
3603
|
element.style.opacity = opacity;
|
|
3654
3604
|
}, interval);
|
|
3655
3605
|
}
|
|
@@ -3676,7 +3626,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3676
3626
|
var scroll = container.scrollTop;
|
|
3677
3627
|
var elementHeight = container.clientHeight;
|
|
3678
3628
|
var itemHeight = this.getOuterHeight(item);
|
|
3679
|
-
|
|
3680
3629
|
if (offset < 0) {
|
|
3681
3630
|
container.scrollTop = scroll + offset;
|
|
3682
3631
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -3695,7 +3644,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3695
3644
|
} else if (document['selection'] && document['selection'].empty) {
|
|
3696
3645
|
try {
|
|
3697
3646
|
document['selection'].empty();
|
|
3698
|
-
} catch (error) {
|
|
3647
|
+
} catch (error) {
|
|
3648
|
+
//ignore IE bug
|
|
3699
3649
|
}
|
|
3700
3650
|
}
|
|
3701
3651
|
}
|
|
@@ -3717,19 +3667,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3717
3667
|
if (!this.browser) {
|
|
3718
3668
|
var matched = this.resolveUserAgent();
|
|
3719
3669
|
this.browser = {};
|
|
3720
|
-
|
|
3721
3670
|
if (matched.browser) {
|
|
3722
3671
|
this.browser[matched.browser] = true;
|
|
3723
3672
|
this.browser['version'] = matched.version;
|
|
3724
3673
|
}
|
|
3725
|
-
|
|
3726
3674
|
if (this.browser['chrome']) {
|
|
3727
3675
|
this.browser['webkit'] = true;
|
|
3728
3676
|
} else if (this.browser['webkit']) {
|
|
3729
3677
|
this.browser['safari'] = true;
|
|
3730
3678
|
}
|
|
3731
3679
|
}
|
|
3732
|
-
|
|
3733
3680
|
return this.browser;
|
|
3734
3681
|
}
|
|
3735
3682
|
}, {
|
|
@@ -3757,10 +3704,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3757
3704
|
value: function getFocusableElements(element) {
|
|
3758
3705
|
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])");
|
|
3759
3706
|
var visibleFocusableElements = [];
|
|
3760
|
-
|
|
3761
3707
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
3762
|
-
|
|
3763
|
-
|
|
3708
|
+
_step3;
|
|
3764
3709
|
try {
|
|
3765
3710
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
3766
3711
|
var focusableElement = _step3.value;
|
|
@@ -3771,7 +3716,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3771
3716
|
} finally {
|
|
3772
3717
|
_iterator3.f();
|
|
3773
3718
|
}
|
|
3774
|
-
|
|
3775
3719
|
return visibleFocusableElements;
|
|
3776
3720
|
}
|
|
3777
3721
|
}, {
|
|
@@ -3814,55 +3758,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3814
3758
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
3815
3759
|
}
|
|
3816
3760
|
}]);
|
|
3817
|
-
|
|
3818
3761
|
return DomHandler;
|
|
3819
3762
|
}();
|
|
3820
3763
|
|
|
3821
|
-
|
|
3822
3764
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
3823
3765
|
|
|
3824
|
-
|
|
3825
3766
|
function bindEvents(el) {
|
|
3826
3767
|
el.addEventListener('mousedown', onMouseDown);
|
|
3827
3768
|
}
|
|
3828
|
-
|
|
3829
3769
|
function unbindEvents(el) {
|
|
3830
3770
|
el.removeEventListener('mousedown', onMouseDown);
|
|
3831
3771
|
}
|
|
3832
|
-
|
|
3833
3772
|
function create(el) {
|
|
3834
3773
|
var ink = document.createElement('span');
|
|
3835
3774
|
ink.className = 'p-ink';
|
|
3836
3775
|
el.appendChild(ink);
|
|
3837
3776
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
3838
3777
|
}
|
|
3839
|
-
|
|
3840
3778
|
function remove(el) {
|
|
3841
3779
|
var ink = getInk(el);
|
|
3842
|
-
|
|
3843
3780
|
if (ink) {
|
|
3844
3781
|
unbindEvents(el);
|
|
3845
3782
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
3846
3783
|
ink.remove();
|
|
3847
3784
|
}
|
|
3848
3785
|
}
|
|
3849
|
-
|
|
3850
3786
|
function onMouseDown(event) {
|
|
3851
3787
|
var target = event.currentTarget;
|
|
3852
3788
|
var ink = getInk(target);
|
|
3853
|
-
|
|
3854
3789
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
3855
3790
|
return;
|
|
3856
3791
|
}
|
|
3857
|
-
|
|
3858
3792
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
3859
|
-
|
|
3860
3793
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
3861
3794
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
3862
3795
|
ink.style.height = d + 'px';
|
|
3863
3796
|
ink.style.width = d + 'px';
|
|
3864
3797
|
}
|
|
3865
|
-
|
|
3866
3798
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
3867
3799
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
3868
3800
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -3870,21 +3802,17 @@ function onMouseDown(event) {
|
|
|
3870
3802
|
ink.style.left = x + 'px';
|
|
3871
3803
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
3872
3804
|
}
|
|
3873
|
-
|
|
3874
3805
|
function onAnimationEnd(event) {
|
|
3875
3806
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
3876
3807
|
}
|
|
3877
|
-
|
|
3878
3808
|
function getInk(el) {
|
|
3879
3809
|
for (var i = 0; i < el.children.length; i++) {
|
|
3880
3810
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
3881
3811
|
return el.children[i];
|
|
3882
3812
|
}
|
|
3883
3813
|
}
|
|
3884
|
-
|
|
3885
3814
|
return null;
|
|
3886
3815
|
}
|
|
3887
|
-
|
|
3888
3816
|
var Ripple = {
|
|
3889
3817
|
inserted: function inserted(el, binding, vnode) {
|
|
3890
3818
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -3964,7 +3892,6 @@ var Ripple = {
|
|
|
3964
3892
|
navBackward: function navBackward(e) {
|
|
3965
3893
|
this.stopSlideShow();
|
|
3966
3894
|
this.prev();
|
|
3967
|
-
|
|
3968
3895
|
if (e && e.cancelable) {
|
|
3969
3896
|
e.preventDefault();
|
|
3970
3897
|
}
|
|
@@ -3972,7 +3899,6 @@ var Ripple = {
|
|
|
3972
3899
|
navForward: function navForward(e) {
|
|
3973
3900
|
this.stopSlideShow();
|
|
3974
3901
|
this.next();
|
|
3975
|
-
|
|
3976
3902
|
if (e && e.cancelable) {
|
|
3977
3903
|
e.preventDefault();
|
|
3978
3904
|
}
|