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/listbox/listbox.umd.js
CHANGED
|
@@ -4716,11 +4716,10 @@ if (typeof window !== 'undefined') {
|
|
|
4716
4716
|
// Indicate to webpack that this file can be concatenated
|
|
4717
4717
|
/* harmony default export */ var setPublicPath = (null);
|
|
4718
4718
|
|
|
4719
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4719
|
+
// 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/listbox/Listbox.vue?vue&type=template&id=5485f601&
|
|
4720
4720
|
var render = function render() {
|
|
4721
4721
|
var _vm = this,
|
|
4722
|
-
|
|
4723
|
-
|
|
4722
|
+
_c = _vm._self._c;
|
|
4724
4723
|
return _c('div', {
|
|
4725
4724
|
staticClass: "p-listbox p-component"
|
|
4726
4725
|
}, [_vm.filter ? _c('div', {
|
|
@@ -4797,7 +4796,6 @@ var render = function render() {
|
|
|
4797
4796
|
staticClass: "p-listbox-empty-message"
|
|
4798
4797
|
}, [_vm._v(_vm._s(_vm.emptyFilterMessage))]) : _vm._e()], 2)])]);
|
|
4799
4798
|
};
|
|
4800
|
-
|
|
4801
4799
|
var staticRenderFns = [];
|
|
4802
4800
|
|
|
4803
4801
|
// CONCATENATED MODULE: ./src/components/listbox/Listbox.vue?vue&type=template&id=5485f601&
|
|
@@ -4827,11 +4825,9 @@ var is_array_default = /*#__PURE__*/__webpack_require__.n(is_array);
|
|
|
4827
4825
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayLikeToArray.js
|
|
4828
4826
|
function _arrayLikeToArray(arr, len) {
|
|
4829
4827
|
if (len == null || len > arr.length) len = arr.length;
|
|
4830
|
-
|
|
4831
4828
|
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
4832
4829
|
arr2[i] = arr[i];
|
|
4833
4830
|
}
|
|
4834
|
-
|
|
4835
4831
|
return arr2;
|
|
4836
4832
|
}
|
|
4837
4833
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayWithoutHoles.js
|
|
@@ -4927,26 +4923,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
4927
4923
|
|
|
4928
4924
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
4929
4925
|
|
|
4930
|
-
|
|
4931
4926
|
function _defineProperties(target, props) {
|
|
4932
4927
|
for (var i = 0; i < props.length; i++) {
|
|
4933
4928
|
var descriptor = props[i];
|
|
4934
4929
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
4935
4930
|
descriptor.configurable = true;
|
|
4936
4931
|
if ("value" in descriptor) descriptor.writable = true;
|
|
4937
|
-
|
|
4938
4932
|
define_property_default()(target, descriptor.key, descriptor);
|
|
4939
4933
|
}
|
|
4940
4934
|
}
|
|
4941
|
-
|
|
4942
4935
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
4943
4936
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
4944
4937
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
4945
|
-
|
|
4946
4938
|
define_property_default()(Constructor, "prototype", {
|
|
4947
4939
|
writable: false
|
|
4948
4940
|
});
|
|
4949
|
-
|
|
4950
4941
|
return Constructor;
|
|
4951
4942
|
}
|
|
4952
4943
|
// CONCATENATED MODULE: ./src/components/utils/ObjectUtils.js
|
|
@@ -4966,18 +4957,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
4966
4957
|
|
|
4967
4958
|
|
|
4968
4959
|
|
|
4969
|
-
|
|
4970
4960
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = ObjectUtils_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; } } }; }
|
|
4971
|
-
|
|
4972
4961
|
function ObjectUtils_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return ObjectUtils_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 ObjectUtils_arrayLikeToArray(o, minLen); }
|
|
4973
|
-
|
|
4974
4962
|
function ObjectUtils_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; }
|
|
4975
|
-
|
|
4976
4963
|
var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
4977
4964
|
function ObjectUtils() {
|
|
4978
4965
|
_classCallCheck(this, ObjectUtils);
|
|
4979
4966
|
}
|
|
4980
|
-
|
|
4981
4967
|
_createClass(ObjectUtils, null, [{
|
|
4982
4968
|
key: "equals",
|
|
4983
4969
|
value: function equals(obj1, obj2, field) {
|
|
@@ -4987,50 +4973,41 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4987
4973
|
key: "deepEquals",
|
|
4988
4974
|
value: function deepEquals(a, b) {
|
|
4989
4975
|
if (a === b) return true;
|
|
4990
|
-
|
|
4991
4976
|
if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
|
|
4992
4977
|
var arrA = Array.isArray(a),
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
|
|
4978
|
+
arrB = Array.isArray(b),
|
|
4979
|
+
i,
|
|
4980
|
+
length,
|
|
4981
|
+
key;
|
|
4998
4982
|
if (arrA && arrB) {
|
|
4999
4983
|
length = a.length;
|
|
5000
4984
|
if (length != b.length) return false;
|
|
5001
|
-
|
|
5002
4985
|
for (i = length; i-- !== 0;) {
|
|
5003
4986
|
if (!this.deepEquals(a[i], b[i])) return false;
|
|
5004
4987
|
}
|
|
5005
|
-
|
|
5006
4988
|
return true;
|
|
5007
4989
|
}
|
|
5008
|
-
|
|
5009
4990
|
if (arrA != arrB) return false;
|
|
5010
4991
|
var dateA = a instanceof Date,
|
|
5011
|
-
|
|
4992
|
+
dateB = b instanceof Date;
|
|
5012
4993
|
if (dateA != dateB) return false;
|
|
5013
4994
|
if (dateA && dateB) return a.getTime() == b.getTime();
|
|
5014
4995
|
var regexpA = a instanceof RegExp,
|
|
5015
|
-
|
|
4996
|
+
regexpB = b instanceof RegExp;
|
|
5016
4997
|
if (regexpA != regexpB) return false;
|
|
5017
4998
|
if (regexpA && regexpB) return a.toString() == b.toString();
|
|
5018
4999
|
var keys = Object.keys(a);
|
|
5019
5000
|
length = keys.length;
|
|
5020
5001
|
if (length !== Object.keys(b).length) return false;
|
|
5021
|
-
|
|
5022
5002
|
for (i = length; i-- !== 0;) {
|
|
5023
5003
|
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
5024
5004
|
}
|
|
5025
|
-
|
|
5026
5005
|
for (i = length; i-- !== 0;) {
|
|
5027
5006
|
key = keys[i];
|
|
5028
5007
|
if (!this.deepEquals(a[key], b[key])) return false;
|
|
5029
5008
|
}
|
|
5030
|
-
|
|
5031
5009
|
return true;
|
|
5032
5010
|
}
|
|
5033
|
-
|
|
5034
5011
|
return a !== a && b !== b;
|
|
5035
5012
|
}
|
|
5036
5013
|
}, {
|
|
@@ -5044,15 +5021,12 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5044
5021
|
} else {
|
|
5045
5022
|
var fields = field.split('.');
|
|
5046
5023
|
var value = data;
|
|
5047
|
-
|
|
5048
5024
|
for (var i = 0, len = fields.length; i < len; ++i) {
|
|
5049
5025
|
if (value == null) {
|
|
5050
5026
|
return null;
|
|
5051
5027
|
}
|
|
5052
|
-
|
|
5053
5028
|
value = value[fields[i]];
|
|
5054
5029
|
}
|
|
5055
|
-
|
|
5056
5030
|
return value;
|
|
5057
5031
|
}
|
|
5058
5032
|
} else {
|
|
@@ -5068,22 +5042,17 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5068
5042
|
key: "filter",
|
|
5069
5043
|
value: function filter(value, fields, filterValue) {
|
|
5070
5044
|
var filteredItems = [];
|
|
5071
|
-
|
|
5072
5045
|
if (value) {
|
|
5073
5046
|
var _iterator = _createForOfIteratorHelper(value),
|
|
5074
|
-
|
|
5075
|
-
|
|
5047
|
+
_step;
|
|
5076
5048
|
try {
|
|
5077
5049
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
5078
5050
|
var item = _step.value;
|
|
5079
|
-
|
|
5080
5051
|
var _iterator2 = _createForOfIteratorHelper(fields),
|
|
5081
|
-
|
|
5082
|
-
|
|
5052
|
+
_step2;
|
|
5083
5053
|
try {
|
|
5084
5054
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
5085
5055
|
var field = _step2.value;
|
|
5086
|
-
|
|
5087
5056
|
if (String(this.resolveFieldData(item, field)).toLowerCase().indexOf(filterValue.toLowerCase()) > -1) {
|
|
5088
5057
|
filteredItems.push(item);
|
|
5089
5058
|
break;
|
|
@@ -5101,23 +5070,19 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5101
5070
|
_iterator.f();
|
|
5102
5071
|
}
|
|
5103
5072
|
}
|
|
5104
|
-
|
|
5105
5073
|
return filteredItems;
|
|
5106
5074
|
}
|
|
5107
5075
|
}, {
|
|
5108
5076
|
key: "reorderArray",
|
|
5109
5077
|
value: function reorderArray(value, from, to) {
|
|
5110
5078
|
var target;
|
|
5111
|
-
|
|
5112
5079
|
if (value && from !== to) {
|
|
5113
5080
|
if (to >= value.length) {
|
|
5114
5081
|
target = to - value.length;
|
|
5115
|
-
|
|
5116
5082
|
while (target-- + 1) {
|
|
5117
5083
|
value.push(undefined);
|
|
5118
5084
|
}
|
|
5119
5085
|
}
|
|
5120
|
-
|
|
5121
5086
|
value.splice(to, 0, value.splice(from, 1)[0]);
|
|
5122
5087
|
}
|
|
5123
5088
|
}
|
|
@@ -5125,7 +5090,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5125
5090
|
key: "findIndexInList",
|
|
5126
5091
|
value: function findIndexInList(value, list) {
|
|
5127
5092
|
var index = -1;
|
|
5128
|
-
|
|
5129
5093
|
if (list) {
|
|
5130
5094
|
for (var i = 0; i < list.length; i++) {
|
|
5131
5095
|
if (list[i] === value) {
|
|
@@ -5134,7 +5098,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5134
5098
|
}
|
|
5135
5099
|
}
|
|
5136
5100
|
}
|
|
5137
|
-
|
|
5138
5101
|
return index;
|
|
5139
5102
|
}
|
|
5140
5103
|
}, {
|
|
@@ -5142,8 +5105,7 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5142
5105
|
value: function contains(value, list) {
|
|
5143
5106
|
if (value != null && list && list.length) {
|
|
5144
5107
|
var _iterator3 = _createForOfIteratorHelper(list),
|
|
5145
|
-
|
|
5146
|
-
|
|
5108
|
+
_step3;
|
|
5147
5109
|
try {
|
|
5148
5110
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
5149
5111
|
var val = _step3.value;
|
|
@@ -5155,7 +5117,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5155
5117
|
_iterator3.f();
|
|
5156
5118
|
}
|
|
5157
5119
|
}
|
|
5158
|
-
|
|
5159
5120
|
return false;
|
|
5160
5121
|
}
|
|
5161
5122
|
}, {
|
|
@@ -5163,17 +5124,14 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5163
5124
|
value: function insertIntoOrderedArray(item, index, arr, sourceArr) {
|
|
5164
5125
|
if (arr.length > 0) {
|
|
5165
5126
|
var injected = false;
|
|
5166
|
-
|
|
5167
5127
|
for (var i = 0; i < arr.length; i++) {
|
|
5168
5128
|
var currentItemIndex = this.findIndexInList(arr[i], sourceArr);
|
|
5169
|
-
|
|
5170
5129
|
if (currentItemIndex > index) {
|
|
5171
5130
|
arr.splice(i, 0, item);
|
|
5172
5131
|
injected = true;
|
|
5173
5132
|
break;
|
|
5174
5133
|
}
|
|
5175
5134
|
}
|
|
5176
|
-
|
|
5177
5135
|
if (!injected) {
|
|
5178
5136
|
arr.push(item);
|
|
5179
5137
|
}
|
|
@@ -5187,28 +5145,23 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
5187
5145
|
if (str && str.search(/[\xC0-\xFF]/g) > -1) {
|
|
5188
5146
|
str = str.replace(/[\xC0-\xC5]/g, "A").replace(/[\xC6]/g, "AE").replace(/[\xC7]/g, "C").replace(/[\xC8-\xCB]/g, "E").replace(/[\xCC-\xCF]/g, "I").replace(/[\xD0]/g, "D").replace(/[\xD1]/g, "N").replace(/[\xD2-\xD6\xD8]/g, "O").replace(/[\xD9-\xDC]/g, "U").replace(/[\xDD]/g, "Y").replace(/[\xDE]/g, "P").replace(/[\xE0-\xE5]/g, "a").replace(/[\xE6]/g, "ae").replace(/[\xE7]/g, "c").replace(/[\xE8-\xEB]/g, "e").replace(/[\xEC-\xEF]/g, "i").replace(/[\xF1]/g, "n").replace(/[\xF2-\xF6\xF8]/g, "o").replace(/[\xF9-\xFC]/g, "u").replace(/[\xFE]/g, "p").replace(/[\xFD\xFF]/g, "y");
|
|
5189
5147
|
}
|
|
5190
|
-
|
|
5191
5148
|
return str;
|
|
5192
5149
|
}
|
|
5193
5150
|
}, {
|
|
5194
5151
|
key: "getVNodeProp",
|
|
5195
5152
|
value: function getVNodeProp(vnode, prop) {
|
|
5196
5153
|
var props = vnode._props;
|
|
5197
|
-
|
|
5198
5154
|
if (props) {
|
|
5199
5155
|
var kebapProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
|
5200
5156
|
var propName = Object.prototype.hasOwnProperty.call(props, kebapProp) ? kebapProp : prop;
|
|
5201
5157
|
return props[propName];
|
|
5202
5158
|
}
|
|
5203
|
-
|
|
5204
5159
|
return null;
|
|
5205
5160
|
}
|
|
5206
5161
|
}]);
|
|
5207
|
-
|
|
5208
5162
|
return ObjectUtils;
|
|
5209
5163
|
}();
|
|
5210
5164
|
|
|
5211
|
-
|
|
5212
5165
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es6.array.find.js
|
|
5213
5166
|
var es6_array_find = __webpack_require__("7514");
|
|
5214
5167
|
|
|
@@ -5225,18 +5178,13 @@ var es6_array_find = __webpack_require__("7514");
|
|
|
5225
5178
|
|
|
5226
5179
|
|
|
5227
5180
|
|
|
5228
|
-
|
|
5229
5181
|
function DomHandler_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = DomHandler_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; } } }; }
|
|
5230
|
-
|
|
5231
5182
|
function DomHandler_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return DomHandler_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 DomHandler_arrayLikeToArray(o, minLen); }
|
|
5232
|
-
|
|
5233
5183
|
function DomHandler_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; }
|
|
5234
|
-
|
|
5235
5184
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
5236
5185
|
function DomHandler() {
|
|
5237
5186
|
_classCallCheck(this, DomHandler);
|
|
5238
5187
|
}
|
|
5239
|
-
|
|
5240
5188
|
_createClass(DomHandler, null, [{
|
|
5241
5189
|
key: "innerWidth",
|
|
5242
5190
|
value: function innerWidth(el) {
|
|
@@ -5270,12 +5218,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5270
5218
|
value: function getOuterWidth(el, margin) {
|
|
5271
5219
|
if (el) {
|
|
5272
5220
|
var width = el.offsetWidth;
|
|
5273
|
-
|
|
5274
5221
|
if (margin) {
|
|
5275
5222
|
var style = getComputedStyle(el);
|
|
5276
5223
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
5277
5224
|
}
|
|
5278
|
-
|
|
5279
5225
|
return width;
|
|
5280
5226
|
} else {
|
|
5281
5227
|
return 0;
|
|
@@ -5286,12 +5232,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5286
5232
|
value: function getOuterHeight(el, margin) {
|
|
5287
5233
|
if (el) {
|
|
5288
5234
|
var height = el.offsetHeight;
|
|
5289
|
-
|
|
5290
5235
|
if (margin) {
|
|
5291
5236
|
var style = getComputedStyle(el);
|
|
5292
5237
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
5293
5238
|
}
|
|
5294
|
-
|
|
5295
5239
|
return height;
|
|
5296
5240
|
} else {
|
|
5297
5241
|
return 0;
|
|
@@ -5302,12 +5246,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5302
5246
|
value: function getClientHeight(el, margin) {
|
|
5303
5247
|
if (el) {
|
|
5304
5248
|
var height = el.clientHeight;
|
|
5305
|
-
|
|
5306
5249
|
if (margin) {
|
|
5307
5250
|
var style = getComputedStyle(el);
|
|
5308
5251
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
5309
5252
|
}
|
|
5310
|
-
|
|
5311
5253
|
return height;
|
|
5312
5254
|
} else {
|
|
5313
5255
|
return 0;
|
|
@@ -5317,11 +5259,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5317
5259
|
key: "getViewport",
|
|
5318
5260
|
value: function getViewport() {
|
|
5319
5261
|
var win = window,
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5262
|
+
d = document,
|
|
5263
|
+
e = d.documentElement,
|
|
5264
|
+
g = d.getElementsByTagName('body')[0],
|
|
5265
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
5266
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
5325
5267
|
return {
|
|
5326
5268
|
width: w,
|
|
5327
5269
|
height: h
|
|
@@ -5352,12 +5294,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5352
5294
|
value: function index(element) {
|
|
5353
5295
|
var children = element.parentNode.childNodes;
|
|
5354
5296
|
var num = 0;
|
|
5355
|
-
|
|
5356
5297
|
for (var i = 0; i < children.length; i++) {
|
|
5357
5298
|
if (children[i] === element) return num;
|
|
5358
5299
|
if (children[i].nodeType === 1) num++;
|
|
5359
5300
|
}
|
|
5360
|
-
|
|
5361
5301
|
return -1;
|
|
5362
5302
|
}
|
|
5363
5303
|
}, {
|
|
@@ -5365,13 +5305,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5365
5305
|
value: function addMultipleClasses(element, className) {
|
|
5366
5306
|
if (element.classList) {
|
|
5367
5307
|
var styles = className.split(' ');
|
|
5368
|
-
|
|
5369
5308
|
for (var i = 0; i < styles.length; i++) {
|
|
5370
5309
|
element.classList.add(styles[i]);
|
|
5371
5310
|
}
|
|
5372
5311
|
} else {
|
|
5373
5312
|
var _styles = className.split(' ');
|
|
5374
|
-
|
|
5375
5313
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
5376
5314
|
element.className += ' ' + _styles[_i];
|
|
5377
5315
|
}
|
|
@@ -5393,7 +5331,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5393
5331
|
if (element) {
|
|
5394
5332
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
5395
5333
|
}
|
|
5396
|
-
|
|
5397
5334
|
return false;
|
|
5398
5335
|
}
|
|
5399
5336
|
}, {
|
|
@@ -5438,11 +5375,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5438
5375
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
5439
5376
|
var viewport = this.getViewport();
|
|
5440
5377
|
var top, left;
|
|
5441
|
-
|
|
5442
5378
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
5443
5379
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
5444
5380
|
element.style.transformOrigin = 'bottom';
|
|
5445
|
-
|
|
5446
5381
|
if (top < 0) {
|
|
5447
5382
|
top = windowScrollTop;
|
|
5448
5383
|
}
|
|
@@ -5450,7 +5385,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5450
5385
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
5451
5386
|
element.style.transformOrigin = 'top';
|
|
5452
5387
|
}
|
|
5453
|
-
|
|
5454
5388
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
5455
5389
|
element.style.top = top + 'px';
|
|
5456
5390
|
element.style.left = left + 'px';
|
|
@@ -5466,11 +5400,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5466
5400
|
var targetOffset = target.getBoundingClientRect();
|
|
5467
5401
|
var viewport = this.getViewport();
|
|
5468
5402
|
var top, left;
|
|
5469
|
-
|
|
5470
5403
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
5471
5404
|
top = -1 * elementDimensions.height;
|
|
5472
5405
|
element.style.transformOrigin = 'bottom';
|
|
5473
|
-
|
|
5474
5406
|
if (targetOffset.top + top < 0) {
|
|
5475
5407
|
top = -1 * targetOffset.top;
|
|
5476
5408
|
}
|
|
@@ -5478,7 +5410,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5478
5410
|
top = targetHeight;
|
|
5479
5411
|
element.style.transformOrigin = 'top';
|
|
5480
5412
|
}
|
|
5481
|
-
|
|
5482
5413
|
if (elementDimensions.width > viewport.width) {
|
|
5483
5414
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
5484
5415
|
left = targetOffset.left * -1;
|
|
@@ -5489,7 +5420,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5489
5420
|
// element fits on screen (align with target)
|
|
5490
5421
|
left = 0;
|
|
5491
5422
|
}
|
|
5492
|
-
|
|
5493
5423
|
element.style.top = top + 'px';
|
|
5494
5424
|
element.style.left = left + 'px';
|
|
5495
5425
|
}
|
|
@@ -5503,35 +5433,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5503
5433
|
key: "getScrollableParents",
|
|
5504
5434
|
value: function getScrollableParents(element) {
|
|
5505
5435
|
var scrollableParents = [];
|
|
5506
|
-
|
|
5507
5436
|
if (element) {
|
|
5508
5437
|
var parents = this.getParents(element);
|
|
5509
5438
|
var overflowRegex = /(auto|scroll)/;
|
|
5510
|
-
|
|
5511
5439
|
var overflowCheck = function overflowCheck(node) {
|
|
5512
5440
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
5513
5441
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
5514
5442
|
};
|
|
5515
|
-
|
|
5516
5443
|
var _iterator = DomHandler_createForOfIteratorHelper(parents),
|
|
5517
|
-
|
|
5518
|
-
|
|
5444
|
+
_step;
|
|
5519
5445
|
try {
|
|
5520
5446
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
5521
5447
|
var parent = _step.value;
|
|
5522
5448
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
5523
|
-
|
|
5524
5449
|
if (scrollSelectors) {
|
|
5525
5450
|
var selectors = scrollSelectors.split(',');
|
|
5526
|
-
|
|
5527
5451
|
var _iterator2 = DomHandler_createForOfIteratorHelper(selectors),
|
|
5528
|
-
|
|
5529
|
-
|
|
5452
|
+
_step2;
|
|
5530
5453
|
try {
|
|
5531
5454
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
5532
5455
|
var selector = _step2.value;
|
|
5533
5456
|
var el = this.findSingle(parent, selector);
|
|
5534
|
-
|
|
5535
5457
|
if (el && overflowCheck(el)) {
|
|
5536
5458
|
scrollableParents.push(el);
|
|
5537
5459
|
}
|
|
@@ -5549,7 +5471,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5549
5471
|
_iterator.f();
|
|
5550
5472
|
}
|
|
5551
5473
|
}
|
|
5552
|
-
|
|
5553
5474
|
return scrollableParents;
|
|
5554
5475
|
}
|
|
5555
5476
|
}, {
|
|
@@ -5590,34 +5511,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5590
5511
|
element.style.opacity = 0;
|
|
5591
5512
|
var last = +new Date();
|
|
5592
5513
|
var opacity = 0;
|
|
5593
|
-
|
|
5594
5514
|
var tick = function tick() {
|
|
5595
5515
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
5596
5516
|
element.style.opacity = opacity;
|
|
5597
5517
|
last = +new Date();
|
|
5598
|
-
|
|
5599
5518
|
if (+opacity < 1) {
|
|
5600
5519
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
5601
5520
|
}
|
|
5602
5521
|
};
|
|
5603
|
-
|
|
5604
5522
|
tick();
|
|
5605
5523
|
}
|
|
5606
5524
|
}, {
|
|
5607
5525
|
key: "fadeOut",
|
|
5608
5526
|
value: function fadeOut(element, ms) {
|
|
5609
5527
|
var opacity = 1,
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5528
|
+
interval = 50,
|
|
5529
|
+
duration = ms,
|
|
5530
|
+
gap = interval / duration;
|
|
5613
5531
|
var fading = setInterval(function () {
|
|
5614
5532
|
opacity -= gap;
|
|
5615
|
-
|
|
5616
5533
|
if (opacity <= 0) {
|
|
5617
5534
|
opacity = 0;
|
|
5618
5535
|
clearInterval(fading);
|
|
5619
5536
|
}
|
|
5620
|
-
|
|
5621
5537
|
element.style.opacity = opacity;
|
|
5622
5538
|
}, interval);
|
|
5623
5539
|
}
|
|
@@ -5644,7 +5560,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5644
5560
|
var scroll = container.scrollTop;
|
|
5645
5561
|
var elementHeight = container.clientHeight;
|
|
5646
5562
|
var itemHeight = this.getOuterHeight(item);
|
|
5647
|
-
|
|
5648
5563
|
if (offset < 0) {
|
|
5649
5564
|
container.scrollTop = scroll + offset;
|
|
5650
5565
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -5663,7 +5578,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5663
5578
|
} else if (document['selection'] && document['selection'].empty) {
|
|
5664
5579
|
try {
|
|
5665
5580
|
document['selection'].empty();
|
|
5666
|
-
} catch (error) {
|
|
5581
|
+
} catch (error) {
|
|
5582
|
+
//ignore IE bug
|
|
5667
5583
|
}
|
|
5668
5584
|
}
|
|
5669
5585
|
}
|
|
@@ -5685,19 +5601,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5685
5601
|
if (!this.browser) {
|
|
5686
5602
|
var matched = this.resolveUserAgent();
|
|
5687
5603
|
this.browser = {};
|
|
5688
|
-
|
|
5689
5604
|
if (matched.browser) {
|
|
5690
5605
|
this.browser[matched.browser] = true;
|
|
5691
5606
|
this.browser['version'] = matched.version;
|
|
5692
5607
|
}
|
|
5693
|
-
|
|
5694
5608
|
if (this.browser['chrome']) {
|
|
5695
5609
|
this.browser['webkit'] = true;
|
|
5696
5610
|
} else if (this.browser['webkit']) {
|
|
5697
5611
|
this.browser['safari'] = true;
|
|
5698
5612
|
}
|
|
5699
5613
|
}
|
|
5700
|
-
|
|
5701
5614
|
return this.browser;
|
|
5702
5615
|
}
|
|
5703
5616
|
}, {
|
|
@@ -5725,10 +5638,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5725
5638
|
value: function getFocusableElements(element) {
|
|
5726
5639
|
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])");
|
|
5727
5640
|
var visibleFocusableElements = [];
|
|
5728
|
-
|
|
5729
5641
|
var _iterator3 = DomHandler_createForOfIteratorHelper(focusableElements),
|
|
5730
|
-
|
|
5731
|
-
|
|
5642
|
+
_step3;
|
|
5732
5643
|
try {
|
|
5733
5644
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
5734
5645
|
var focusableElement = _step3.value;
|
|
@@ -5739,7 +5650,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5739
5650
|
} finally {
|
|
5740
5651
|
_iterator3.f();
|
|
5741
5652
|
}
|
|
5742
|
-
|
|
5743
5653
|
return visibleFocusableElements;
|
|
5744
5654
|
}
|
|
5745
5655
|
}, {
|
|
@@ -5782,55 +5692,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
5782
5692
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
5783
5693
|
}
|
|
5784
5694
|
}]);
|
|
5785
|
-
|
|
5786
5695
|
return DomHandler;
|
|
5787
5696
|
}();
|
|
5788
5697
|
|
|
5789
|
-
|
|
5790
5698
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
5791
5699
|
|
|
5792
|
-
|
|
5793
5700
|
function bindEvents(el) {
|
|
5794
5701
|
el.addEventListener('mousedown', onMouseDown);
|
|
5795
5702
|
}
|
|
5796
|
-
|
|
5797
5703
|
function unbindEvents(el) {
|
|
5798
5704
|
el.removeEventListener('mousedown', onMouseDown);
|
|
5799
5705
|
}
|
|
5800
|
-
|
|
5801
5706
|
function create(el) {
|
|
5802
5707
|
var ink = document.createElement('span');
|
|
5803
5708
|
ink.className = 'p-ink';
|
|
5804
5709
|
el.appendChild(ink);
|
|
5805
5710
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
5806
5711
|
}
|
|
5807
|
-
|
|
5808
5712
|
function remove(el) {
|
|
5809
5713
|
var ink = getInk(el);
|
|
5810
|
-
|
|
5811
5714
|
if (ink) {
|
|
5812
5715
|
unbindEvents(el);
|
|
5813
5716
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
5814
5717
|
ink.remove();
|
|
5815
5718
|
}
|
|
5816
5719
|
}
|
|
5817
|
-
|
|
5818
5720
|
function onMouseDown(event) {
|
|
5819
5721
|
var target = event.currentTarget;
|
|
5820
5722
|
var ink = getInk(target);
|
|
5821
|
-
|
|
5822
5723
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
5823
5724
|
return;
|
|
5824
5725
|
}
|
|
5825
|
-
|
|
5826
5726
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
5827
|
-
|
|
5828
5727
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
5829
5728
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
5830
5729
|
ink.style.height = d + 'px';
|
|
5831
5730
|
ink.style.width = d + 'px';
|
|
5832
5731
|
}
|
|
5833
|
-
|
|
5834
5732
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
5835
5733
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
5836
5734
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -5838,21 +5736,17 @@ function onMouseDown(event) {
|
|
|
5838
5736
|
ink.style.left = x + 'px';
|
|
5839
5737
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
5840
5738
|
}
|
|
5841
|
-
|
|
5842
5739
|
function onAnimationEnd(event) {
|
|
5843
5740
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
5844
5741
|
}
|
|
5845
|
-
|
|
5846
5742
|
function getInk(el) {
|
|
5847
5743
|
for (var i = 0; i < el.children.length; i++) {
|
|
5848
5744
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
5849
5745
|
return el.children[i];
|
|
5850
5746
|
}
|
|
5851
5747
|
}
|
|
5852
|
-
|
|
5853
5748
|
return null;
|
|
5854
5749
|
}
|
|
5855
|
-
|
|
5856
5750
|
var Ripple = {
|
|
5857
5751
|
inserted: function inserted(el, binding, vnode) {
|
|
5858
5752
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -5873,16 +5767,12 @@ var Ripple = {
|
|
|
5873
5767
|
|
|
5874
5768
|
|
|
5875
5769
|
|
|
5876
|
-
|
|
5877
5770
|
function Listboxvue_type_script_lang_js_createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = Listboxvue_type_script_lang_js_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; } } }; }
|
|
5878
|
-
|
|
5879
5771
|
function Listboxvue_type_script_lang_js_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return Listboxvue_type_script_lang_js_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 Listboxvue_type_script_lang_js_arrayLikeToArray(o, minLen); }
|
|
5880
|
-
|
|
5881
5772
|
function Listboxvue_type_script_lang_js_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; }
|
|
5882
5773
|
|
|
5883
5774
|
|
|
5884
5775
|
|
|
5885
|
-
|
|
5886
5776
|
/* harmony default export */ var Listboxvue_type_script_lang_js_ = ({
|
|
5887
5777
|
props: {
|
|
5888
5778
|
value: null,
|
|
@@ -5926,7 +5816,6 @@ function Listboxvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5926
5816
|
if (this.disabled || this.isOptionDisabled(option)) {
|
|
5927
5817
|
return;
|
|
5928
5818
|
}
|
|
5929
|
-
|
|
5930
5819
|
if (this.multiple) this.onOptionSelectMultiple(event, option);else this.onOptionSelectSingle(event, option);
|
|
5931
5820
|
this.optionTouched = false;
|
|
5932
5821
|
},
|
|
@@ -5934,7 +5823,6 @@ function Listboxvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5934
5823
|
if (this.disabled) {
|
|
5935
5824
|
return;
|
|
5936
5825
|
}
|
|
5937
|
-
|
|
5938
5826
|
this.optionTouched = true;
|
|
5939
5827
|
},
|
|
5940
5828
|
onOptionSelectSingle: function onOptionSelectSingle(event, option) {
|
|
@@ -5942,10 +5830,8 @@ function Listboxvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5942
5830
|
var valueChanged = false;
|
|
5943
5831
|
var value = null;
|
|
5944
5832
|
var metaSelection = this.optionTouched ? false : this.metaKeySelection;
|
|
5945
|
-
|
|
5946
5833
|
if (metaSelection) {
|
|
5947
5834
|
var metaKey = event.metaKey || event.ctrlKey;
|
|
5948
|
-
|
|
5949
5835
|
if (selected) {
|
|
5950
5836
|
if (metaKey) {
|
|
5951
5837
|
value = null;
|
|
@@ -5959,7 +5845,6 @@ function Listboxvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5959
5845
|
value = selected ? null : this.getOptionValue(option);
|
|
5960
5846
|
valueChanged = true;
|
|
5961
5847
|
}
|
|
5962
|
-
|
|
5963
5848
|
if (valueChanged) {
|
|
5964
5849
|
this.updateModel(event, value);
|
|
5965
5850
|
}
|
|
@@ -5969,10 +5854,8 @@ function Listboxvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5969
5854
|
var valueChanged = false;
|
|
5970
5855
|
var value = null;
|
|
5971
5856
|
var metaSelection = this.optionTouched ? false : this.metaKeySelection;
|
|
5972
|
-
|
|
5973
5857
|
if (metaSelection) {
|
|
5974
5858
|
var metaKey = event.metaKey || event.ctrlKey;
|
|
5975
|
-
|
|
5976
5859
|
if (selected) {
|
|
5977
5860
|
if (metaKey) value = this.removeOption(option);else value = [this.getOptionValue(option)];
|
|
5978
5861
|
valueChanged = true;
|
|
@@ -5985,7 +5868,6 @@ function Listboxvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5985
5868
|
if (selected) value = this.removeOption(option);else value = [].concat(_toConsumableArray(this.value || []), [this.getOptionValue(option)]);
|
|
5986
5869
|
valueChanged = true;
|
|
5987
5870
|
}
|
|
5988
|
-
|
|
5989
5871
|
if (valueChanged) {
|
|
5990
5872
|
this.updateModel(event, value);
|
|
5991
5873
|
}
|
|
@@ -5993,16 +5875,13 @@ function Listboxvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
5993
5875
|
isSelected: function isSelected(option) {
|
|
5994
5876
|
var selected = false;
|
|
5995
5877
|
var optionValue = this.getOptionValue(option);
|
|
5996
|
-
|
|
5997
5878
|
if (this.multiple) {
|
|
5998
5879
|
if (this.value) {
|
|
5999
5880
|
var _iterator = Listboxvue_type_script_lang_js_createForOfIteratorHelper(this.value),
|
|
6000
|
-
|
|
6001
|
-
|
|
5881
|
+
_step;
|
|
6002
5882
|
try {
|
|
6003
5883
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
6004
5884
|
var val = _step.value;
|
|
6005
|
-
|
|
6006
5885
|
if (ObjectUtils_ObjectUtils.equals(val, optionValue, this.equalityKey)) {
|
|
6007
5886
|
selected = true;
|
|
6008
5887
|
break;
|
|
@@ -6017,12 +5896,10 @@ function Listboxvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6017
5896
|
} else {
|
|
6018
5897
|
selected = ObjectUtils_ObjectUtils.equals(this.value, optionValue, this.equalityKey);
|
|
6019
5898
|
}
|
|
6020
|
-
|
|
6021
5899
|
return selected;
|
|
6022
5900
|
},
|
|
6023
5901
|
removeOption: function removeOption(option) {
|
|
6024
5902
|
var _this = this;
|
|
6025
|
-
|
|
6026
5903
|
return this.value.filter(function (val) {
|
|
6027
5904
|
return !ObjectUtils_ObjectUtils.equals(val, _this.getOptionValue(option), _this.equalityKey);
|
|
6028
5905
|
});
|
|
@@ -6036,31 +5913,26 @@ function Listboxvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6036
5913
|
},
|
|
6037
5914
|
onOptionKeyDown: function onOptionKeyDown(event, option) {
|
|
6038
5915
|
var item = event.currentTarget;
|
|
6039
|
-
|
|
6040
5916
|
switch (event.which) {
|
|
6041
5917
|
//down
|
|
6042
5918
|
case 40:
|
|
6043
5919
|
var nextItem = this.findNextItem(item);
|
|
6044
|
-
|
|
6045
5920
|
if (nextItem) {
|
|
6046
5921
|
nextItem.focus();
|
|
6047
5922
|
}
|
|
6048
|
-
|
|
6049
5923
|
event.preventDefault();
|
|
6050
5924
|
break;
|
|
6051
|
-
//up
|
|
6052
5925
|
|
|
5926
|
+
//up
|
|
6053
5927
|
case 38:
|
|
6054
5928
|
var prevItem = this.findPrevItem(item);
|
|
6055
|
-
|
|
6056
5929
|
if (prevItem) {
|
|
6057
5930
|
prevItem.focus();
|
|
6058
5931
|
}
|
|
6059
|
-
|
|
6060
5932
|
event.preventDefault();
|
|
6061
5933
|
break;
|
|
6062
|
-
//enter
|
|
6063
5934
|
|
|
5935
|
+
//enter
|
|
6064
5936
|
case 13:
|
|
6065
5937
|
this.onOptionSelect(event, option);
|
|
6066
5938
|
event.preventDefault();
|
|
@@ -6085,7 +5957,6 @@ function Listboxvue_type_script_lang_js_arrayLikeToArray(arr, len) { if (len ==
|
|
|
6085
5957
|
computed: {
|
|
6086
5958
|
visibleOptions: function visibleOptions() {
|
|
6087
5959
|
var _this2 = this;
|
|
6088
|
-
|
|
6089
5960
|
if (this.filterValue) return this.options.filter(function (option) {
|
|
6090
5961
|
return _this2.getOptionLabel(option).toLocaleLowerCase(_this2.filterLocale).indexOf(_this2.filterValue.toLocaleLowerCase(_this2.filterLocale)) > -1;
|
|
6091
5962
|
});else return this.options;
|