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/inplace/inplace.umd.js
CHANGED
|
@@ -3182,11 +3182,10 @@ if (typeof window !== 'undefined') {
|
|
|
3182
3182
|
// Indicate to webpack that this file can be concatenated
|
|
3183
3183
|
/* harmony default export */ var setPublicPath = (null);
|
|
3184
3184
|
|
|
3185
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3185
|
+
// 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/inplace/Inplace.vue?vue&type=template&id=2d0e3e69&
|
|
3186
3186
|
var render = function render() {
|
|
3187
3187
|
var _vm = this,
|
|
3188
|
-
|
|
3189
|
-
|
|
3188
|
+
_c = _vm._self._c;
|
|
3190
3189
|
return _c('div', {
|
|
3191
3190
|
class: _vm.containerClass
|
|
3192
3191
|
}, [!_vm.d_active ? _c('div', {
|
|
@@ -3212,16 +3211,14 @@ var render = function render() {
|
|
|
3212
3211
|
}
|
|
3213
3212
|
}) : _vm._e()], 2)]);
|
|
3214
3213
|
};
|
|
3215
|
-
|
|
3216
3214
|
var staticRenderFns = [];
|
|
3217
3215
|
|
|
3218
3216
|
// CONCATENATED MODULE: ./src/components/inplace/Inplace.vue?vue&type=template&id=2d0e3e69&
|
|
3219
3217
|
|
|
3220
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3218
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"08364d47-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/button/Button.vue?vue&type=template&id=44f787be&
|
|
3221
3219
|
var Buttonvue_type_template_id_44f787be_render = function render() {
|
|
3222
3220
|
var _vm = this,
|
|
3223
|
-
|
|
3224
|
-
|
|
3221
|
+
_c = _vm._self._c;
|
|
3225
3222
|
return _c('button', _vm._g({
|
|
3226
3223
|
directives: [{
|
|
3227
3224
|
name: "ripple",
|
|
@@ -3244,7 +3241,6 @@ var Buttonvue_type_template_id_44f787be_render = function render() {
|
|
|
3244
3241
|
}, [_vm._v(_vm._s(_vm.badge))]) : _vm._e()];
|
|
3245
3242
|
})], 2);
|
|
3246
3243
|
};
|
|
3247
|
-
|
|
3248
3244
|
var Buttonvue_type_template_id_44f787be_staticRenderFns = [];
|
|
3249
3245
|
|
|
3250
3246
|
// CONCATENATED MODULE: ./src/components/button/Button.vue?vue&type=template&id=44f787be&
|
|
@@ -3291,26 +3287,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
3291
3287
|
|
|
3292
3288
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
3293
3289
|
|
|
3294
|
-
|
|
3295
3290
|
function _defineProperties(target, props) {
|
|
3296
3291
|
for (var i = 0; i < props.length; i++) {
|
|
3297
3292
|
var descriptor = props[i];
|
|
3298
3293
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
3299
3294
|
descriptor.configurable = true;
|
|
3300
3295
|
if ("value" in descriptor) descriptor.writable = true;
|
|
3301
|
-
|
|
3302
3296
|
define_property_default()(target, descriptor.key, descriptor);
|
|
3303
3297
|
}
|
|
3304
3298
|
}
|
|
3305
|
-
|
|
3306
3299
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
3307
3300
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3308
3301
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3309
|
-
|
|
3310
3302
|
define_property_default()(Constructor, "prototype", {
|
|
3311
3303
|
writable: false
|
|
3312
3304
|
});
|
|
3313
|
-
|
|
3314
3305
|
return Constructor;
|
|
3315
3306
|
}
|
|
3316
3307
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -3326,18 +3317,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
3326
3317
|
|
|
3327
3318
|
|
|
3328
3319
|
|
|
3329
|
-
|
|
3330
3320
|
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; } } }; }
|
|
3331
|
-
|
|
3332
3321
|
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); }
|
|
3333
|
-
|
|
3334
3322
|
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; }
|
|
3335
|
-
|
|
3336
3323
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
3337
3324
|
function DomHandler() {
|
|
3338
3325
|
_classCallCheck(this, DomHandler);
|
|
3339
3326
|
}
|
|
3340
|
-
|
|
3341
3327
|
_createClass(DomHandler, null, [{
|
|
3342
3328
|
key: "innerWidth",
|
|
3343
3329
|
value: function innerWidth(el) {
|
|
@@ -3371,12 +3357,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3371
3357
|
value: function getOuterWidth(el, margin) {
|
|
3372
3358
|
if (el) {
|
|
3373
3359
|
var width = el.offsetWidth;
|
|
3374
|
-
|
|
3375
3360
|
if (margin) {
|
|
3376
3361
|
var style = getComputedStyle(el);
|
|
3377
3362
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
3378
3363
|
}
|
|
3379
|
-
|
|
3380
3364
|
return width;
|
|
3381
3365
|
} else {
|
|
3382
3366
|
return 0;
|
|
@@ -3387,12 +3371,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3387
3371
|
value: function getOuterHeight(el, margin) {
|
|
3388
3372
|
if (el) {
|
|
3389
3373
|
var height = el.offsetHeight;
|
|
3390
|
-
|
|
3391
3374
|
if (margin) {
|
|
3392
3375
|
var style = getComputedStyle(el);
|
|
3393
3376
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3394
3377
|
}
|
|
3395
|
-
|
|
3396
3378
|
return height;
|
|
3397
3379
|
} else {
|
|
3398
3380
|
return 0;
|
|
@@ -3403,12 +3385,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3403
3385
|
value: function getClientHeight(el, margin) {
|
|
3404
3386
|
if (el) {
|
|
3405
3387
|
var height = el.clientHeight;
|
|
3406
|
-
|
|
3407
3388
|
if (margin) {
|
|
3408
3389
|
var style = getComputedStyle(el);
|
|
3409
3390
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3410
3391
|
}
|
|
3411
|
-
|
|
3412
3392
|
return height;
|
|
3413
3393
|
} else {
|
|
3414
3394
|
return 0;
|
|
@@ -3418,11 +3398,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3418
3398
|
key: "getViewport",
|
|
3419
3399
|
value: function getViewport() {
|
|
3420
3400
|
var win = window,
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3401
|
+
d = document,
|
|
3402
|
+
e = d.documentElement,
|
|
3403
|
+
g = d.getElementsByTagName('body')[0],
|
|
3404
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
3405
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
3426
3406
|
return {
|
|
3427
3407
|
width: w,
|
|
3428
3408
|
height: h
|
|
@@ -3453,12 +3433,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3453
3433
|
value: function index(element) {
|
|
3454
3434
|
var children = element.parentNode.childNodes;
|
|
3455
3435
|
var num = 0;
|
|
3456
|
-
|
|
3457
3436
|
for (var i = 0; i < children.length; i++) {
|
|
3458
3437
|
if (children[i] === element) return num;
|
|
3459
3438
|
if (children[i].nodeType === 1) num++;
|
|
3460
3439
|
}
|
|
3461
|
-
|
|
3462
3440
|
return -1;
|
|
3463
3441
|
}
|
|
3464
3442
|
}, {
|
|
@@ -3466,13 +3444,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3466
3444
|
value: function addMultipleClasses(element, className) {
|
|
3467
3445
|
if (element.classList) {
|
|
3468
3446
|
var styles = className.split(' ');
|
|
3469
|
-
|
|
3470
3447
|
for (var i = 0; i < styles.length; i++) {
|
|
3471
3448
|
element.classList.add(styles[i]);
|
|
3472
3449
|
}
|
|
3473
3450
|
} else {
|
|
3474
3451
|
var _styles = className.split(' ');
|
|
3475
|
-
|
|
3476
3452
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
3477
3453
|
element.className += ' ' + _styles[_i];
|
|
3478
3454
|
}
|
|
@@ -3494,7 +3470,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3494
3470
|
if (element) {
|
|
3495
3471
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
3496
3472
|
}
|
|
3497
|
-
|
|
3498
3473
|
return false;
|
|
3499
3474
|
}
|
|
3500
3475
|
}, {
|
|
@@ -3539,11 +3514,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3539
3514
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
3540
3515
|
var viewport = this.getViewport();
|
|
3541
3516
|
var top, left;
|
|
3542
|
-
|
|
3543
3517
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
3544
3518
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
3545
3519
|
element.style.transformOrigin = 'bottom';
|
|
3546
|
-
|
|
3547
3520
|
if (top < 0) {
|
|
3548
3521
|
top = windowScrollTop;
|
|
3549
3522
|
}
|
|
@@ -3551,7 +3524,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3551
3524
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
3552
3525
|
element.style.transformOrigin = 'top';
|
|
3553
3526
|
}
|
|
3554
|
-
|
|
3555
3527
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
3556
3528
|
element.style.top = top + 'px';
|
|
3557
3529
|
element.style.left = left + 'px';
|
|
@@ -3567,11 +3539,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3567
3539
|
var targetOffset = target.getBoundingClientRect();
|
|
3568
3540
|
var viewport = this.getViewport();
|
|
3569
3541
|
var top, left;
|
|
3570
|
-
|
|
3571
3542
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
3572
3543
|
top = -1 * elementDimensions.height;
|
|
3573
3544
|
element.style.transformOrigin = 'bottom';
|
|
3574
|
-
|
|
3575
3545
|
if (targetOffset.top + top < 0) {
|
|
3576
3546
|
top = -1 * targetOffset.top;
|
|
3577
3547
|
}
|
|
@@ -3579,7 +3549,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3579
3549
|
top = targetHeight;
|
|
3580
3550
|
element.style.transformOrigin = 'top';
|
|
3581
3551
|
}
|
|
3582
|
-
|
|
3583
3552
|
if (elementDimensions.width > viewport.width) {
|
|
3584
3553
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
3585
3554
|
left = targetOffset.left * -1;
|
|
@@ -3590,7 +3559,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3590
3559
|
// element fits on screen (align with target)
|
|
3591
3560
|
left = 0;
|
|
3592
3561
|
}
|
|
3593
|
-
|
|
3594
3562
|
element.style.top = top + 'px';
|
|
3595
3563
|
element.style.left = left + 'px';
|
|
3596
3564
|
}
|
|
@@ -3604,35 +3572,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3604
3572
|
key: "getScrollableParents",
|
|
3605
3573
|
value: function getScrollableParents(element) {
|
|
3606
3574
|
var scrollableParents = [];
|
|
3607
|
-
|
|
3608
3575
|
if (element) {
|
|
3609
3576
|
var parents = this.getParents(element);
|
|
3610
3577
|
var overflowRegex = /(auto|scroll)/;
|
|
3611
|
-
|
|
3612
3578
|
var overflowCheck = function overflowCheck(node) {
|
|
3613
3579
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
3614
3580
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
3615
3581
|
};
|
|
3616
|
-
|
|
3617
3582
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
3618
|
-
|
|
3619
|
-
|
|
3583
|
+
_step;
|
|
3620
3584
|
try {
|
|
3621
3585
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
3622
3586
|
var parent = _step.value;
|
|
3623
3587
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
3624
|
-
|
|
3625
3588
|
if (scrollSelectors) {
|
|
3626
3589
|
var selectors = scrollSelectors.split(',');
|
|
3627
|
-
|
|
3628
3590
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
3629
|
-
|
|
3630
|
-
|
|
3591
|
+
_step2;
|
|
3631
3592
|
try {
|
|
3632
3593
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
3633
3594
|
var selector = _step2.value;
|
|
3634
3595
|
var el = this.findSingle(parent, selector);
|
|
3635
|
-
|
|
3636
3596
|
if (el && overflowCheck(el)) {
|
|
3637
3597
|
scrollableParents.push(el);
|
|
3638
3598
|
}
|
|
@@ -3650,7 +3610,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3650
3610
|
_iterator.f();
|
|
3651
3611
|
}
|
|
3652
3612
|
}
|
|
3653
|
-
|
|
3654
3613
|
return scrollableParents;
|
|
3655
3614
|
}
|
|
3656
3615
|
}, {
|
|
@@ -3691,34 +3650,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3691
3650
|
element.style.opacity = 0;
|
|
3692
3651
|
var last = +new Date();
|
|
3693
3652
|
var opacity = 0;
|
|
3694
|
-
|
|
3695
3653
|
var tick = function tick() {
|
|
3696
3654
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
3697
3655
|
element.style.opacity = opacity;
|
|
3698
3656
|
last = +new Date();
|
|
3699
|
-
|
|
3700
3657
|
if (+opacity < 1) {
|
|
3701
3658
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
3702
3659
|
}
|
|
3703
3660
|
};
|
|
3704
|
-
|
|
3705
3661
|
tick();
|
|
3706
3662
|
}
|
|
3707
3663
|
}, {
|
|
3708
3664
|
key: "fadeOut",
|
|
3709
3665
|
value: function fadeOut(element, ms) {
|
|
3710
3666
|
var opacity = 1,
|
|
3711
|
-
|
|
3712
|
-
|
|
3713
|
-
|
|
3667
|
+
interval = 50,
|
|
3668
|
+
duration = ms,
|
|
3669
|
+
gap = interval / duration;
|
|
3714
3670
|
var fading = setInterval(function () {
|
|
3715
3671
|
opacity -= gap;
|
|
3716
|
-
|
|
3717
3672
|
if (opacity <= 0) {
|
|
3718
3673
|
opacity = 0;
|
|
3719
3674
|
clearInterval(fading);
|
|
3720
3675
|
}
|
|
3721
|
-
|
|
3722
3676
|
element.style.opacity = opacity;
|
|
3723
3677
|
}, interval);
|
|
3724
3678
|
}
|
|
@@ -3745,7 +3699,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3745
3699
|
var scroll = container.scrollTop;
|
|
3746
3700
|
var elementHeight = container.clientHeight;
|
|
3747
3701
|
var itemHeight = this.getOuterHeight(item);
|
|
3748
|
-
|
|
3749
3702
|
if (offset < 0) {
|
|
3750
3703
|
container.scrollTop = scroll + offset;
|
|
3751
3704
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -3764,7 +3717,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3764
3717
|
} else if (document['selection'] && document['selection'].empty) {
|
|
3765
3718
|
try {
|
|
3766
3719
|
document['selection'].empty();
|
|
3767
|
-
} catch (error) {
|
|
3720
|
+
} catch (error) {
|
|
3721
|
+
//ignore IE bug
|
|
3768
3722
|
}
|
|
3769
3723
|
}
|
|
3770
3724
|
}
|
|
@@ -3786,19 +3740,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3786
3740
|
if (!this.browser) {
|
|
3787
3741
|
var matched = this.resolveUserAgent();
|
|
3788
3742
|
this.browser = {};
|
|
3789
|
-
|
|
3790
3743
|
if (matched.browser) {
|
|
3791
3744
|
this.browser[matched.browser] = true;
|
|
3792
3745
|
this.browser['version'] = matched.version;
|
|
3793
3746
|
}
|
|
3794
|
-
|
|
3795
3747
|
if (this.browser['chrome']) {
|
|
3796
3748
|
this.browser['webkit'] = true;
|
|
3797
3749
|
} else if (this.browser['webkit']) {
|
|
3798
3750
|
this.browser['safari'] = true;
|
|
3799
3751
|
}
|
|
3800
3752
|
}
|
|
3801
|
-
|
|
3802
3753
|
return this.browser;
|
|
3803
3754
|
}
|
|
3804
3755
|
}, {
|
|
@@ -3826,10 +3777,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3826
3777
|
value: function getFocusableElements(element) {
|
|
3827
3778
|
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])");
|
|
3828
3779
|
var visibleFocusableElements = [];
|
|
3829
|
-
|
|
3830
3780
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
3831
|
-
|
|
3832
|
-
|
|
3781
|
+
_step3;
|
|
3833
3782
|
try {
|
|
3834
3783
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
3835
3784
|
var focusableElement = _step3.value;
|
|
@@ -3840,7 +3789,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3840
3789
|
} finally {
|
|
3841
3790
|
_iterator3.f();
|
|
3842
3791
|
}
|
|
3843
|
-
|
|
3844
3792
|
return visibleFocusableElements;
|
|
3845
3793
|
}
|
|
3846
3794
|
}, {
|
|
@@ -3883,55 +3831,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3883
3831
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
3884
3832
|
}
|
|
3885
3833
|
}]);
|
|
3886
|
-
|
|
3887
3834
|
return DomHandler;
|
|
3888
3835
|
}();
|
|
3889
3836
|
|
|
3890
|
-
|
|
3891
3837
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
3892
3838
|
|
|
3893
|
-
|
|
3894
3839
|
function bindEvents(el) {
|
|
3895
3840
|
el.addEventListener('mousedown', onMouseDown);
|
|
3896
3841
|
}
|
|
3897
|
-
|
|
3898
3842
|
function unbindEvents(el) {
|
|
3899
3843
|
el.removeEventListener('mousedown', onMouseDown);
|
|
3900
3844
|
}
|
|
3901
|
-
|
|
3902
3845
|
function create(el) {
|
|
3903
3846
|
var ink = document.createElement('span');
|
|
3904
3847
|
ink.className = 'p-ink';
|
|
3905
3848
|
el.appendChild(ink);
|
|
3906
3849
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
3907
3850
|
}
|
|
3908
|
-
|
|
3909
3851
|
function remove(el) {
|
|
3910
3852
|
var ink = getInk(el);
|
|
3911
|
-
|
|
3912
3853
|
if (ink) {
|
|
3913
3854
|
unbindEvents(el);
|
|
3914
3855
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
3915
3856
|
ink.remove();
|
|
3916
3857
|
}
|
|
3917
3858
|
}
|
|
3918
|
-
|
|
3919
3859
|
function onMouseDown(event) {
|
|
3920
3860
|
var target = event.currentTarget;
|
|
3921
3861
|
var ink = getInk(target);
|
|
3922
|
-
|
|
3923
3862
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
3924
3863
|
return;
|
|
3925
3864
|
}
|
|
3926
|
-
|
|
3927
3865
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
3928
|
-
|
|
3929
3866
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
3930
3867
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
3931
3868
|
ink.style.height = d + 'px';
|
|
3932
3869
|
ink.style.width = d + 'px';
|
|
3933
3870
|
}
|
|
3934
|
-
|
|
3935
3871
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
3936
3872
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
3937
3873
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -3939,21 +3875,17 @@ function onMouseDown(event) {
|
|
|
3939
3875
|
ink.style.left = x + 'px';
|
|
3940
3876
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
3941
3877
|
}
|
|
3942
|
-
|
|
3943
3878
|
function onAnimationEnd(event) {
|
|
3944
3879
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
3945
3880
|
}
|
|
3946
|
-
|
|
3947
3881
|
function getInk(el) {
|
|
3948
3882
|
for (var i = 0; i < el.children.length; i++) {
|
|
3949
3883
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
3950
3884
|
return el.children[i];
|
|
3951
3885
|
}
|
|
3952
3886
|
}
|
|
3953
|
-
|
|
3954
3887
|
return null;
|
|
3955
3888
|
}
|
|
3956
|
-
|
|
3957
3889
|
var Ripple = {
|
|
3958
3890
|
inserted: function inserted(el, binding, vnode) {
|
|
3959
3891
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|