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/editor/editor.common.js
CHANGED
|
@@ -13914,11 +13914,10 @@ if (typeof window !== 'undefined') {
|
|
|
13914
13914
|
// Indicate to webpack that this file can be concatenated
|
|
13915
13915
|
/* harmony default export */ var setPublicPath = (null);
|
|
13916
13916
|
|
|
13917
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13917
|
+
// 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/editor/Editor.vue?vue&type=template&id=05d8995f&
|
|
13918
13918
|
var render = function render() {
|
|
13919
13919
|
var _vm = this,
|
|
13920
|
-
|
|
13921
|
-
|
|
13920
|
+
_c = _vm._self._c;
|
|
13922
13921
|
return _c('div', {
|
|
13923
13922
|
staticClass: "p-editor-container"
|
|
13924
13923
|
}, [_c('div', {
|
|
@@ -13932,11 +13931,9 @@ var render = function render() {
|
|
|
13932
13931
|
style: _vm.editorStyle
|
|
13933
13932
|
})]);
|
|
13934
13933
|
};
|
|
13935
|
-
|
|
13936
13934
|
var staticRenderFns = [function () {
|
|
13937
13935
|
var _vm = this,
|
|
13938
|
-
|
|
13939
|
-
|
|
13936
|
+
_c = _vm._self._c;
|
|
13940
13937
|
return _c('span', {
|
|
13941
13938
|
staticClass: "ql-formats"
|
|
13942
13939
|
}, [_c('select', {
|
|
@@ -13969,8 +13966,7 @@ var staticRenderFns = [function () {
|
|
|
13969
13966
|
})])]);
|
|
13970
13967
|
}, function () {
|
|
13971
13968
|
var _vm = this,
|
|
13972
|
-
|
|
13973
|
-
|
|
13969
|
+
_c = _vm._self._c;
|
|
13974
13970
|
return _c('span', {
|
|
13975
13971
|
staticClass: "ql-formats"
|
|
13976
13972
|
}, [_c('button', {
|
|
@@ -13991,8 +13987,7 @@ var staticRenderFns = [function () {
|
|
|
13991
13987
|
})]);
|
|
13992
13988
|
}, function () {
|
|
13993
13989
|
var _vm = this,
|
|
13994
|
-
|
|
13995
|
-
|
|
13990
|
+
_c = _vm._self._c;
|
|
13996
13991
|
return _c('span', {
|
|
13997
13992
|
staticClass: "ql-formats"
|
|
13998
13993
|
}, [_c('select', {
|
|
@@ -14002,8 +13997,7 @@ var staticRenderFns = [function () {
|
|
|
14002
13997
|
})]);
|
|
14003
13998
|
}, function () {
|
|
14004
13999
|
var _vm = this,
|
|
14005
|
-
|
|
14006
|
-
|
|
14000
|
+
_c = _vm._self._c;
|
|
14007
14001
|
return _c('span', {
|
|
14008
14002
|
staticClass: "ql-formats"
|
|
14009
14003
|
}, [_c('button', {
|
|
@@ -14039,8 +14033,7 @@ var staticRenderFns = [function () {
|
|
|
14039
14033
|
})])]);
|
|
14040
14034
|
}, function () {
|
|
14041
14035
|
var _vm = this,
|
|
14042
|
-
|
|
14043
|
-
|
|
14036
|
+
_c = _vm._self._c;
|
|
14044
14037
|
return _c('span', {
|
|
14045
14038
|
staticClass: "ql-formats"
|
|
14046
14039
|
}, [_c('button', {
|
|
@@ -14061,8 +14054,7 @@ var staticRenderFns = [function () {
|
|
|
14061
14054
|
})]);
|
|
14062
14055
|
}, function () {
|
|
14063
14056
|
var _vm = this,
|
|
14064
|
-
|
|
14065
|
-
|
|
14057
|
+
_c = _vm._self._c;
|
|
14066
14058
|
return _c('span', {
|
|
14067
14059
|
staticClass: "ql-formats"
|
|
14068
14060
|
}, [_c('button', {
|
|
@@ -14099,7 +14091,6 @@ var quill_default = /*#__PURE__*/__webpack_require__.n(quill);
|
|
|
14099
14091
|
},
|
|
14100
14092
|
mounted: function mounted() {
|
|
14101
14093
|
var _this = this;
|
|
14102
|
-
|
|
14103
14094
|
this.quill = new quill_default.a(this.$refs.editorElement, {
|
|
14104
14095
|
modules: {
|
|
14105
14096
|
toolbar: this.$refs.toolbarElement
|
|
@@ -14113,15 +14104,11 @@ var quill_default = /*#__PURE__*/__webpack_require__.n(quill);
|
|
|
14113
14104
|
this.quill.on('text-change', function (delta, oldContents, source) {
|
|
14114
14105
|
if (source === 'user') {
|
|
14115
14106
|
var html = _this.$refs.editorElement.children[0].innerHTML;
|
|
14116
|
-
|
|
14117
14107
|
var text = _this.quill.getText().trim();
|
|
14118
|
-
|
|
14119
14108
|
if (html === '<p><br></p>') {
|
|
14120
14109
|
html = '';
|
|
14121
14110
|
}
|
|
14122
|
-
|
|
14123
14111
|
_this.$emit('input', html);
|
|
14124
|
-
|
|
14125
14112
|
_this.$emit('text-change', {
|
|
14126
14113
|
htmlValue: html,
|
|
14127
14114
|
textValue: text,
|
package/editor/editor.umd.js
CHANGED
|
@@ -13923,11 +13923,10 @@ if (typeof window !== 'undefined') {
|
|
|
13923
13923
|
// Indicate to webpack that this file can be concatenated
|
|
13924
13924
|
/* harmony default export */ var setPublicPath = (null);
|
|
13925
13925
|
|
|
13926
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
13926
|
+
// 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/editor/Editor.vue?vue&type=template&id=05d8995f&
|
|
13927
13927
|
var render = function render() {
|
|
13928
13928
|
var _vm = this,
|
|
13929
|
-
|
|
13930
|
-
|
|
13929
|
+
_c = _vm._self._c;
|
|
13931
13930
|
return _c('div', {
|
|
13932
13931
|
staticClass: "p-editor-container"
|
|
13933
13932
|
}, [_c('div', {
|
|
@@ -13941,11 +13940,9 @@ var render = function render() {
|
|
|
13941
13940
|
style: _vm.editorStyle
|
|
13942
13941
|
})]);
|
|
13943
13942
|
};
|
|
13944
|
-
|
|
13945
13943
|
var staticRenderFns = [function () {
|
|
13946
13944
|
var _vm = this,
|
|
13947
|
-
|
|
13948
|
-
|
|
13945
|
+
_c = _vm._self._c;
|
|
13949
13946
|
return _c('span', {
|
|
13950
13947
|
staticClass: "ql-formats"
|
|
13951
13948
|
}, [_c('select', {
|
|
@@ -13978,8 +13975,7 @@ var staticRenderFns = [function () {
|
|
|
13978
13975
|
})])]);
|
|
13979
13976
|
}, function () {
|
|
13980
13977
|
var _vm = this,
|
|
13981
|
-
|
|
13982
|
-
|
|
13978
|
+
_c = _vm._self._c;
|
|
13983
13979
|
return _c('span', {
|
|
13984
13980
|
staticClass: "ql-formats"
|
|
13985
13981
|
}, [_c('button', {
|
|
@@ -14000,8 +13996,7 @@ var staticRenderFns = [function () {
|
|
|
14000
13996
|
})]);
|
|
14001
13997
|
}, function () {
|
|
14002
13998
|
var _vm = this,
|
|
14003
|
-
|
|
14004
|
-
|
|
13999
|
+
_c = _vm._self._c;
|
|
14005
14000
|
return _c('span', {
|
|
14006
14001
|
staticClass: "ql-formats"
|
|
14007
14002
|
}, [_c('select', {
|
|
@@ -14011,8 +14006,7 @@ var staticRenderFns = [function () {
|
|
|
14011
14006
|
})]);
|
|
14012
14007
|
}, function () {
|
|
14013
14008
|
var _vm = this,
|
|
14014
|
-
|
|
14015
|
-
|
|
14009
|
+
_c = _vm._self._c;
|
|
14016
14010
|
return _c('span', {
|
|
14017
14011
|
staticClass: "ql-formats"
|
|
14018
14012
|
}, [_c('button', {
|
|
@@ -14048,8 +14042,7 @@ var staticRenderFns = [function () {
|
|
|
14048
14042
|
})])]);
|
|
14049
14043
|
}, function () {
|
|
14050
14044
|
var _vm = this,
|
|
14051
|
-
|
|
14052
|
-
|
|
14045
|
+
_c = _vm._self._c;
|
|
14053
14046
|
return _c('span', {
|
|
14054
14047
|
staticClass: "ql-formats"
|
|
14055
14048
|
}, [_c('button', {
|
|
@@ -14070,8 +14063,7 @@ var staticRenderFns = [function () {
|
|
|
14070
14063
|
})]);
|
|
14071
14064
|
}, function () {
|
|
14072
14065
|
var _vm = this,
|
|
14073
|
-
|
|
14074
|
-
|
|
14066
|
+
_c = _vm._self._c;
|
|
14075
14067
|
return _c('span', {
|
|
14076
14068
|
staticClass: "ql-formats"
|
|
14077
14069
|
}, [_c('button', {
|
|
@@ -14108,7 +14100,6 @@ var quill_default = /*#__PURE__*/__webpack_require__.n(quill);
|
|
|
14108
14100
|
},
|
|
14109
14101
|
mounted: function mounted() {
|
|
14110
14102
|
var _this = this;
|
|
14111
|
-
|
|
14112
14103
|
this.quill = new quill_default.a(this.$refs.editorElement, {
|
|
14113
14104
|
modules: {
|
|
14114
14105
|
toolbar: this.$refs.toolbarElement
|
|
@@ -14122,15 +14113,11 @@ var quill_default = /*#__PURE__*/__webpack_require__.n(quill);
|
|
|
14122
14113
|
this.quill.on('text-change', function (delta, oldContents, source) {
|
|
14123
14114
|
if (source === 'user') {
|
|
14124
14115
|
var html = _this.$refs.editorElement.children[0].innerHTML;
|
|
14125
|
-
|
|
14126
14116
|
var text = _this.quill.getText().trim();
|
|
14127
|
-
|
|
14128
14117
|
if (html === '<p><br></p>') {
|
|
14129
14118
|
html = '';
|
|
14130
14119
|
}
|
|
14131
|
-
|
|
14132
14120
|
_this.$emit('input', html);
|
|
14133
|
-
|
|
14134
14121
|
_this.$emit('text-change', {
|
|
14135
14122
|
htmlValue: html,
|
|
14136
14123
|
textValue: text,
|
|
@@ -3173,11 +3173,10 @@ if (typeof window !== 'undefined') {
|
|
|
3173
3173
|
// Indicate to webpack that this file can be concatenated
|
|
3174
3174
|
/* harmony default export */ var setPublicPath = (null);
|
|
3175
3175
|
|
|
3176
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3176
|
+
// 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/fieldset/Fieldset.vue?vue&type=template&id=bee3b4fa&
|
|
3177
3177
|
var render = function render() {
|
|
3178
3178
|
var _vm = this,
|
|
3179
|
-
|
|
3180
|
-
|
|
3179
|
+
_c = _vm._self._c;
|
|
3181
3180
|
return _c('fieldset', {
|
|
3182
3181
|
class: ['p-fieldset p-component', {
|
|
3183
3182
|
'p-fieldset-toggleable': _vm.toggleable
|
|
@@ -3236,7 +3235,6 @@ var render = function render() {
|
|
|
3236
3235
|
staticClass: "p-fieldset-content"
|
|
3237
3236
|
}, [_vm._t("default")], 2)])])], 1);
|
|
3238
3237
|
};
|
|
3239
|
-
|
|
3240
3238
|
var staticRenderFns = [];
|
|
3241
3239
|
|
|
3242
3240
|
// CONCATENATED MODULE: ./src/components/fieldset/Fieldset.vue?vue&type=template&id=bee3b4fa&
|
|
@@ -3290,26 +3288,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
3290
3288
|
|
|
3291
3289
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
3292
3290
|
|
|
3293
|
-
|
|
3294
3291
|
function _defineProperties(target, props) {
|
|
3295
3292
|
for (var i = 0; i < props.length; i++) {
|
|
3296
3293
|
var descriptor = props[i];
|
|
3297
3294
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
3298
3295
|
descriptor.configurable = true;
|
|
3299
3296
|
if ("value" in descriptor) descriptor.writable = true;
|
|
3300
|
-
|
|
3301
3297
|
define_property_default()(target, descriptor.key, descriptor);
|
|
3302
3298
|
}
|
|
3303
3299
|
}
|
|
3304
|
-
|
|
3305
3300
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
3306
3301
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3307
3302
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3308
|
-
|
|
3309
3303
|
define_property_default()(Constructor, "prototype", {
|
|
3310
3304
|
writable: false
|
|
3311
3305
|
});
|
|
3312
|
-
|
|
3313
3306
|
return Constructor;
|
|
3314
3307
|
}
|
|
3315
3308
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -3325,18 +3318,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
3325
3318
|
|
|
3326
3319
|
|
|
3327
3320
|
|
|
3328
|
-
|
|
3329
3321
|
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; } } }; }
|
|
3330
|
-
|
|
3331
3322
|
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); }
|
|
3332
|
-
|
|
3333
3323
|
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; }
|
|
3334
|
-
|
|
3335
3324
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
3336
3325
|
function DomHandler() {
|
|
3337
3326
|
_classCallCheck(this, DomHandler);
|
|
3338
3327
|
}
|
|
3339
|
-
|
|
3340
3328
|
_createClass(DomHandler, null, [{
|
|
3341
3329
|
key: "innerWidth",
|
|
3342
3330
|
value: function innerWidth(el) {
|
|
@@ -3370,12 +3358,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3370
3358
|
value: function getOuterWidth(el, margin) {
|
|
3371
3359
|
if (el) {
|
|
3372
3360
|
var width = el.offsetWidth;
|
|
3373
|
-
|
|
3374
3361
|
if (margin) {
|
|
3375
3362
|
var style = getComputedStyle(el);
|
|
3376
3363
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
3377
3364
|
}
|
|
3378
|
-
|
|
3379
3365
|
return width;
|
|
3380
3366
|
} else {
|
|
3381
3367
|
return 0;
|
|
@@ -3386,12 +3372,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3386
3372
|
value: function getOuterHeight(el, margin) {
|
|
3387
3373
|
if (el) {
|
|
3388
3374
|
var height = el.offsetHeight;
|
|
3389
|
-
|
|
3390
3375
|
if (margin) {
|
|
3391
3376
|
var style = getComputedStyle(el);
|
|
3392
3377
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3393
3378
|
}
|
|
3394
|
-
|
|
3395
3379
|
return height;
|
|
3396
3380
|
} else {
|
|
3397
3381
|
return 0;
|
|
@@ -3402,12 +3386,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3402
3386
|
value: function getClientHeight(el, margin) {
|
|
3403
3387
|
if (el) {
|
|
3404
3388
|
var height = el.clientHeight;
|
|
3405
|
-
|
|
3406
3389
|
if (margin) {
|
|
3407
3390
|
var style = getComputedStyle(el);
|
|
3408
3391
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3409
3392
|
}
|
|
3410
|
-
|
|
3411
3393
|
return height;
|
|
3412
3394
|
} else {
|
|
3413
3395
|
return 0;
|
|
@@ -3417,11 +3399,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3417
3399
|
key: "getViewport",
|
|
3418
3400
|
value: function getViewport() {
|
|
3419
3401
|
var win = window,
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3402
|
+
d = document,
|
|
3403
|
+
e = d.documentElement,
|
|
3404
|
+
g = d.getElementsByTagName('body')[0],
|
|
3405
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
3406
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
3425
3407
|
return {
|
|
3426
3408
|
width: w,
|
|
3427
3409
|
height: h
|
|
@@ -3452,12 +3434,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3452
3434
|
value: function index(element) {
|
|
3453
3435
|
var children = element.parentNode.childNodes;
|
|
3454
3436
|
var num = 0;
|
|
3455
|
-
|
|
3456
3437
|
for (var i = 0; i < children.length; i++) {
|
|
3457
3438
|
if (children[i] === element) return num;
|
|
3458
3439
|
if (children[i].nodeType === 1) num++;
|
|
3459
3440
|
}
|
|
3460
|
-
|
|
3461
3441
|
return -1;
|
|
3462
3442
|
}
|
|
3463
3443
|
}, {
|
|
@@ -3465,13 +3445,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3465
3445
|
value: function addMultipleClasses(element, className) {
|
|
3466
3446
|
if (element.classList) {
|
|
3467
3447
|
var styles = className.split(' ');
|
|
3468
|
-
|
|
3469
3448
|
for (var i = 0; i < styles.length; i++) {
|
|
3470
3449
|
element.classList.add(styles[i]);
|
|
3471
3450
|
}
|
|
3472
3451
|
} else {
|
|
3473
3452
|
var _styles = className.split(' ');
|
|
3474
|
-
|
|
3475
3453
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
3476
3454
|
element.className += ' ' + _styles[_i];
|
|
3477
3455
|
}
|
|
@@ -3493,7 +3471,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3493
3471
|
if (element) {
|
|
3494
3472
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
3495
3473
|
}
|
|
3496
|
-
|
|
3497
3474
|
return false;
|
|
3498
3475
|
}
|
|
3499
3476
|
}, {
|
|
@@ -3538,11 +3515,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3538
3515
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
3539
3516
|
var viewport = this.getViewport();
|
|
3540
3517
|
var top, left;
|
|
3541
|
-
|
|
3542
3518
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
3543
3519
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
3544
3520
|
element.style.transformOrigin = 'bottom';
|
|
3545
|
-
|
|
3546
3521
|
if (top < 0) {
|
|
3547
3522
|
top = windowScrollTop;
|
|
3548
3523
|
}
|
|
@@ -3550,7 +3525,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3550
3525
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
3551
3526
|
element.style.transformOrigin = 'top';
|
|
3552
3527
|
}
|
|
3553
|
-
|
|
3554
3528
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
3555
3529
|
element.style.top = top + 'px';
|
|
3556
3530
|
element.style.left = left + 'px';
|
|
@@ -3566,11 +3540,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3566
3540
|
var targetOffset = target.getBoundingClientRect();
|
|
3567
3541
|
var viewport = this.getViewport();
|
|
3568
3542
|
var top, left;
|
|
3569
|
-
|
|
3570
3543
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
3571
3544
|
top = -1 * elementDimensions.height;
|
|
3572
3545
|
element.style.transformOrigin = 'bottom';
|
|
3573
|
-
|
|
3574
3546
|
if (targetOffset.top + top < 0) {
|
|
3575
3547
|
top = -1 * targetOffset.top;
|
|
3576
3548
|
}
|
|
@@ -3578,7 +3550,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3578
3550
|
top = targetHeight;
|
|
3579
3551
|
element.style.transformOrigin = 'top';
|
|
3580
3552
|
}
|
|
3581
|
-
|
|
3582
3553
|
if (elementDimensions.width > viewport.width) {
|
|
3583
3554
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
3584
3555
|
left = targetOffset.left * -1;
|
|
@@ -3589,7 +3560,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3589
3560
|
// element fits on screen (align with target)
|
|
3590
3561
|
left = 0;
|
|
3591
3562
|
}
|
|
3592
|
-
|
|
3593
3563
|
element.style.top = top + 'px';
|
|
3594
3564
|
element.style.left = left + 'px';
|
|
3595
3565
|
}
|
|
@@ -3603,35 +3573,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3603
3573
|
key: "getScrollableParents",
|
|
3604
3574
|
value: function getScrollableParents(element) {
|
|
3605
3575
|
var scrollableParents = [];
|
|
3606
|
-
|
|
3607
3576
|
if (element) {
|
|
3608
3577
|
var parents = this.getParents(element);
|
|
3609
3578
|
var overflowRegex = /(auto|scroll)/;
|
|
3610
|
-
|
|
3611
3579
|
var overflowCheck = function overflowCheck(node) {
|
|
3612
3580
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
3613
3581
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
3614
3582
|
};
|
|
3615
|
-
|
|
3616
3583
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
3617
|
-
|
|
3618
|
-
|
|
3584
|
+
_step;
|
|
3619
3585
|
try {
|
|
3620
3586
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
3621
3587
|
var parent = _step.value;
|
|
3622
3588
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
3623
|
-
|
|
3624
3589
|
if (scrollSelectors) {
|
|
3625
3590
|
var selectors = scrollSelectors.split(',');
|
|
3626
|
-
|
|
3627
3591
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
3628
|
-
|
|
3629
|
-
|
|
3592
|
+
_step2;
|
|
3630
3593
|
try {
|
|
3631
3594
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
3632
3595
|
var selector = _step2.value;
|
|
3633
3596
|
var el = this.findSingle(parent, selector);
|
|
3634
|
-
|
|
3635
3597
|
if (el && overflowCheck(el)) {
|
|
3636
3598
|
scrollableParents.push(el);
|
|
3637
3599
|
}
|
|
@@ -3649,7 +3611,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3649
3611
|
_iterator.f();
|
|
3650
3612
|
}
|
|
3651
3613
|
}
|
|
3652
|
-
|
|
3653
3614
|
return scrollableParents;
|
|
3654
3615
|
}
|
|
3655
3616
|
}, {
|
|
@@ -3690,34 +3651,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3690
3651
|
element.style.opacity = 0;
|
|
3691
3652
|
var last = +new Date();
|
|
3692
3653
|
var opacity = 0;
|
|
3693
|
-
|
|
3694
3654
|
var tick = function tick() {
|
|
3695
3655
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
3696
3656
|
element.style.opacity = opacity;
|
|
3697
3657
|
last = +new Date();
|
|
3698
|
-
|
|
3699
3658
|
if (+opacity < 1) {
|
|
3700
3659
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
3701
3660
|
}
|
|
3702
3661
|
};
|
|
3703
|
-
|
|
3704
3662
|
tick();
|
|
3705
3663
|
}
|
|
3706
3664
|
}, {
|
|
3707
3665
|
key: "fadeOut",
|
|
3708
3666
|
value: function fadeOut(element, ms) {
|
|
3709
3667
|
var opacity = 1,
|
|
3710
|
-
|
|
3711
|
-
|
|
3712
|
-
|
|
3668
|
+
interval = 50,
|
|
3669
|
+
duration = ms,
|
|
3670
|
+
gap = interval / duration;
|
|
3713
3671
|
var fading = setInterval(function () {
|
|
3714
3672
|
opacity -= gap;
|
|
3715
|
-
|
|
3716
3673
|
if (opacity <= 0) {
|
|
3717
3674
|
opacity = 0;
|
|
3718
3675
|
clearInterval(fading);
|
|
3719
3676
|
}
|
|
3720
|
-
|
|
3721
3677
|
element.style.opacity = opacity;
|
|
3722
3678
|
}, interval);
|
|
3723
3679
|
}
|
|
@@ -3744,7 +3700,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3744
3700
|
var scroll = container.scrollTop;
|
|
3745
3701
|
var elementHeight = container.clientHeight;
|
|
3746
3702
|
var itemHeight = this.getOuterHeight(item);
|
|
3747
|
-
|
|
3748
3703
|
if (offset < 0) {
|
|
3749
3704
|
container.scrollTop = scroll + offset;
|
|
3750
3705
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -3763,7 +3718,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3763
3718
|
} else if (document['selection'] && document['selection'].empty) {
|
|
3764
3719
|
try {
|
|
3765
3720
|
document['selection'].empty();
|
|
3766
|
-
} catch (error) {
|
|
3721
|
+
} catch (error) {
|
|
3722
|
+
//ignore IE bug
|
|
3767
3723
|
}
|
|
3768
3724
|
}
|
|
3769
3725
|
}
|
|
@@ -3785,19 +3741,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3785
3741
|
if (!this.browser) {
|
|
3786
3742
|
var matched = this.resolveUserAgent();
|
|
3787
3743
|
this.browser = {};
|
|
3788
|
-
|
|
3789
3744
|
if (matched.browser) {
|
|
3790
3745
|
this.browser[matched.browser] = true;
|
|
3791
3746
|
this.browser['version'] = matched.version;
|
|
3792
3747
|
}
|
|
3793
|
-
|
|
3794
3748
|
if (this.browser['chrome']) {
|
|
3795
3749
|
this.browser['webkit'] = true;
|
|
3796
3750
|
} else if (this.browser['webkit']) {
|
|
3797
3751
|
this.browser['safari'] = true;
|
|
3798
3752
|
}
|
|
3799
3753
|
}
|
|
3800
|
-
|
|
3801
3754
|
return this.browser;
|
|
3802
3755
|
}
|
|
3803
3756
|
}, {
|
|
@@ -3825,10 +3778,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3825
3778
|
value: function getFocusableElements(element) {
|
|
3826
3779
|
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])");
|
|
3827
3780
|
var visibleFocusableElements = [];
|
|
3828
|
-
|
|
3829
3781
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
3830
|
-
|
|
3831
|
-
|
|
3782
|
+
_step3;
|
|
3832
3783
|
try {
|
|
3833
3784
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
3834
3785
|
var focusableElement = _step3.value;
|
|
@@ -3839,7 +3790,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3839
3790
|
} finally {
|
|
3840
3791
|
_iterator3.f();
|
|
3841
3792
|
}
|
|
3842
|
-
|
|
3843
3793
|
return visibleFocusableElements;
|
|
3844
3794
|
}
|
|
3845
3795
|
}, {
|
|
@@ -3882,55 +3832,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3882
3832
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
3883
3833
|
}
|
|
3884
3834
|
}]);
|
|
3885
|
-
|
|
3886
3835
|
return DomHandler;
|
|
3887
3836
|
}();
|
|
3888
3837
|
|
|
3889
|
-
|
|
3890
3838
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
3891
3839
|
|
|
3892
|
-
|
|
3893
3840
|
function bindEvents(el) {
|
|
3894
3841
|
el.addEventListener('mousedown', onMouseDown);
|
|
3895
3842
|
}
|
|
3896
|
-
|
|
3897
3843
|
function unbindEvents(el) {
|
|
3898
3844
|
el.removeEventListener('mousedown', onMouseDown);
|
|
3899
3845
|
}
|
|
3900
|
-
|
|
3901
3846
|
function create(el) {
|
|
3902
3847
|
var ink = document.createElement('span');
|
|
3903
3848
|
ink.className = 'p-ink';
|
|
3904
3849
|
el.appendChild(ink);
|
|
3905
3850
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
3906
3851
|
}
|
|
3907
|
-
|
|
3908
3852
|
function remove(el) {
|
|
3909
3853
|
var ink = getInk(el);
|
|
3910
|
-
|
|
3911
3854
|
if (ink) {
|
|
3912
3855
|
unbindEvents(el);
|
|
3913
3856
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
3914
3857
|
ink.remove();
|
|
3915
3858
|
}
|
|
3916
3859
|
}
|
|
3917
|
-
|
|
3918
3860
|
function onMouseDown(event) {
|
|
3919
3861
|
var target = event.currentTarget;
|
|
3920
3862
|
var ink = getInk(target);
|
|
3921
|
-
|
|
3922
3863
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
3923
3864
|
return;
|
|
3924
3865
|
}
|
|
3925
|
-
|
|
3926
3866
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
3927
|
-
|
|
3928
3867
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
3929
3868
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
3930
3869
|
ink.style.height = d + 'px';
|
|
3931
3870
|
ink.style.width = d + 'px';
|
|
3932
3871
|
}
|
|
3933
|
-
|
|
3934
3872
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
3935
3873
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
3936
3874
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -3938,21 +3876,17 @@ function onMouseDown(event) {
|
|
|
3938
3876
|
ink.style.left = x + 'px';
|
|
3939
3877
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
3940
3878
|
}
|
|
3941
|
-
|
|
3942
3879
|
function onAnimationEnd(event) {
|
|
3943
3880
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
3944
3881
|
}
|
|
3945
|
-
|
|
3946
3882
|
function getInk(el) {
|
|
3947
3883
|
for (var i = 0; i < el.children.length; i++) {
|
|
3948
3884
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
3949
3885
|
return el.children[i];
|
|
3950
3886
|
}
|
|
3951
3887
|
}
|
|
3952
|
-
|
|
3953
3888
|
return null;
|
|
3954
3889
|
}
|
|
3955
|
-
|
|
3956
3890
|
var Ripple = {
|
|
3957
3891
|
inserted: function inserted(el, binding, vnode) {
|
|
3958
3892
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|