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
|
@@ -3182,11 +3182,10 @@ if (typeof window !== 'undefined') {
|
|
|
3182
3182
|
// Indicate to webpack that this file can be concatenated
|
|
3183
3183
|
/* harmony default export */ var setPublicPath = (null);
|
|
3184
3184
|
|
|
3185
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3185
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"08364d47-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/imagepreview/ImagePreview.vue?vue&type=template&id=c36741da&
|
|
3186
3186
|
var render = function render() {
|
|
3187
3187
|
var _vm = this,
|
|
3188
|
-
|
|
3189
|
-
|
|
3188
|
+
_c = _vm._self._c;
|
|
3190
3189
|
return _c('span', {
|
|
3191
3190
|
ref: "container",
|
|
3192
3191
|
class: _vm.containerClass,
|
|
@@ -3275,11 +3274,9 @@ var render = function render() {
|
|
|
3275
3274
|
}
|
|
3276
3275
|
})]) : _vm._e()])], 1) : _vm._e()]);
|
|
3277
3276
|
};
|
|
3278
|
-
|
|
3279
3277
|
var staticRenderFns = [function () {
|
|
3280
3278
|
var _vm = this,
|
|
3281
|
-
|
|
3282
|
-
|
|
3279
|
+
_c = _vm._self._c;
|
|
3283
3280
|
return _c('button', {
|
|
3284
3281
|
staticClass: "p-image-action p-link",
|
|
3285
3282
|
attrs: {
|
|
@@ -3334,26 +3331,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
3334
3331
|
|
|
3335
3332
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
3336
3333
|
|
|
3337
|
-
|
|
3338
3334
|
function _defineProperties(target, props) {
|
|
3339
3335
|
for (var i = 0; i < props.length; i++) {
|
|
3340
3336
|
var descriptor = props[i];
|
|
3341
3337
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
3342
3338
|
descriptor.configurable = true;
|
|
3343
3339
|
if ("value" in descriptor) descriptor.writable = true;
|
|
3344
|
-
|
|
3345
3340
|
define_property_default()(target, descriptor.key, descriptor);
|
|
3346
3341
|
}
|
|
3347
3342
|
}
|
|
3348
|
-
|
|
3349
3343
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
3350
3344
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3351
3345
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3352
|
-
|
|
3353
3346
|
define_property_default()(Constructor, "prototype", {
|
|
3354
3347
|
writable: false
|
|
3355
3348
|
});
|
|
3356
|
-
|
|
3357
3349
|
return Constructor;
|
|
3358
3350
|
}
|
|
3359
3351
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -3369,18 +3361,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
3369
3361
|
|
|
3370
3362
|
|
|
3371
3363
|
|
|
3372
|
-
|
|
3373
3364
|
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; } } }; }
|
|
3374
|
-
|
|
3375
3365
|
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); }
|
|
3376
|
-
|
|
3377
3366
|
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; }
|
|
3378
|
-
|
|
3379
3367
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
3380
3368
|
function DomHandler() {
|
|
3381
3369
|
_classCallCheck(this, DomHandler);
|
|
3382
3370
|
}
|
|
3383
|
-
|
|
3384
3371
|
_createClass(DomHandler, null, [{
|
|
3385
3372
|
key: "innerWidth",
|
|
3386
3373
|
value: function innerWidth(el) {
|
|
@@ -3414,12 +3401,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3414
3401
|
value: function getOuterWidth(el, margin) {
|
|
3415
3402
|
if (el) {
|
|
3416
3403
|
var width = el.offsetWidth;
|
|
3417
|
-
|
|
3418
3404
|
if (margin) {
|
|
3419
3405
|
var style = getComputedStyle(el);
|
|
3420
3406
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
3421
3407
|
}
|
|
3422
|
-
|
|
3423
3408
|
return width;
|
|
3424
3409
|
} else {
|
|
3425
3410
|
return 0;
|
|
@@ -3430,12 +3415,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3430
3415
|
value: function getOuterHeight(el, margin) {
|
|
3431
3416
|
if (el) {
|
|
3432
3417
|
var height = el.offsetHeight;
|
|
3433
|
-
|
|
3434
3418
|
if (margin) {
|
|
3435
3419
|
var style = getComputedStyle(el);
|
|
3436
3420
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3437
3421
|
}
|
|
3438
|
-
|
|
3439
3422
|
return height;
|
|
3440
3423
|
} else {
|
|
3441
3424
|
return 0;
|
|
@@ -3446,12 +3429,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3446
3429
|
value: function getClientHeight(el, margin) {
|
|
3447
3430
|
if (el) {
|
|
3448
3431
|
var height = el.clientHeight;
|
|
3449
|
-
|
|
3450
3432
|
if (margin) {
|
|
3451
3433
|
var style = getComputedStyle(el);
|
|
3452
3434
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3453
3435
|
}
|
|
3454
|
-
|
|
3455
3436
|
return height;
|
|
3456
3437
|
} else {
|
|
3457
3438
|
return 0;
|
|
@@ -3461,11 +3442,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3461
3442
|
key: "getViewport",
|
|
3462
3443
|
value: function getViewport() {
|
|
3463
3444
|
var win = window,
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3445
|
+
d = document,
|
|
3446
|
+
e = d.documentElement,
|
|
3447
|
+
g = d.getElementsByTagName('body')[0],
|
|
3448
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
3449
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
3469
3450
|
return {
|
|
3470
3451
|
width: w,
|
|
3471
3452
|
height: h
|
|
@@ -3496,12 +3477,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3496
3477
|
value: function index(element) {
|
|
3497
3478
|
var children = element.parentNode.childNodes;
|
|
3498
3479
|
var num = 0;
|
|
3499
|
-
|
|
3500
3480
|
for (var i = 0; i < children.length; i++) {
|
|
3501
3481
|
if (children[i] === element) return num;
|
|
3502
3482
|
if (children[i].nodeType === 1) num++;
|
|
3503
3483
|
}
|
|
3504
|
-
|
|
3505
3484
|
return -1;
|
|
3506
3485
|
}
|
|
3507
3486
|
}, {
|
|
@@ -3509,13 +3488,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3509
3488
|
value: function addMultipleClasses(element, className) {
|
|
3510
3489
|
if (element.classList) {
|
|
3511
3490
|
var styles = className.split(' ');
|
|
3512
|
-
|
|
3513
3491
|
for (var i = 0; i < styles.length; i++) {
|
|
3514
3492
|
element.classList.add(styles[i]);
|
|
3515
3493
|
}
|
|
3516
3494
|
} else {
|
|
3517
3495
|
var _styles = className.split(' ');
|
|
3518
|
-
|
|
3519
3496
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
3520
3497
|
element.className += ' ' + _styles[_i];
|
|
3521
3498
|
}
|
|
@@ -3537,7 +3514,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3537
3514
|
if (element) {
|
|
3538
3515
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
3539
3516
|
}
|
|
3540
|
-
|
|
3541
3517
|
return false;
|
|
3542
3518
|
}
|
|
3543
3519
|
}, {
|
|
@@ -3582,11 +3558,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3582
3558
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
3583
3559
|
var viewport = this.getViewport();
|
|
3584
3560
|
var top, left;
|
|
3585
|
-
|
|
3586
3561
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
3587
3562
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
3588
3563
|
element.style.transformOrigin = 'bottom';
|
|
3589
|
-
|
|
3590
3564
|
if (top < 0) {
|
|
3591
3565
|
top = windowScrollTop;
|
|
3592
3566
|
}
|
|
@@ -3594,7 +3568,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3594
3568
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
3595
3569
|
element.style.transformOrigin = 'top';
|
|
3596
3570
|
}
|
|
3597
|
-
|
|
3598
3571
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
3599
3572
|
element.style.top = top + 'px';
|
|
3600
3573
|
element.style.left = left + 'px';
|
|
@@ -3610,11 +3583,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3610
3583
|
var targetOffset = target.getBoundingClientRect();
|
|
3611
3584
|
var viewport = this.getViewport();
|
|
3612
3585
|
var top, left;
|
|
3613
|
-
|
|
3614
3586
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
3615
3587
|
top = -1 * elementDimensions.height;
|
|
3616
3588
|
element.style.transformOrigin = 'bottom';
|
|
3617
|
-
|
|
3618
3589
|
if (targetOffset.top + top < 0) {
|
|
3619
3590
|
top = -1 * targetOffset.top;
|
|
3620
3591
|
}
|
|
@@ -3622,7 +3593,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3622
3593
|
top = targetHeight;
|
|
3623
3594
|
element.style.transformOrigin = 'top';
|
|
3624
3595
|
}
|
|
3625
|
-
|
|
3626
3596
|
if (elementDimensions.width > viewport.width) {
|
|
3627
3597
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
3628
3598
|
left = targetOffset.left * -1;
|
|
@@ -3633,7 +3603,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3633
3603
|
// element fits on screen (align with target)
|
|
3634
3604
|
left = 0;
|
|
3635
3605
|
}
|
|
3636
|
-
|
|
3637
3606
|
element.style.top = top + 'px';
|
|
3638
3607
|
element.style.left = left + 'px';
|
|
3639
3608
|
}
|
|
@@ -3647,35 +3616,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3647
3616
|
key: "getScrollableParents",
|
|
3648
3617
|
value: function getScrollableParents(element) {
|
|
3649
3618
|
var scrollableParents = [];
|
|
3650
|
-
|
|
3651
3619
|
if (element) {
|
|
3652
3620
|
var parents = this.getParents(element);
|
|
3653
3621
|
var overflowRegex = /(auto|scroll)/;
|
|
3654
|
-
|
|
3655
3622
|
var overflowCheck = function overflowCheck(node) {
|
|
3656
3623
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
3657
3624
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
3658
3625
|
};
|
|
3659
|
-
|
|
3660
3626
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
3661
|
-
|
|
3662
|
-
|
|
3627
|
+
_step;
|
|
3663
3628
|
try {
|
|
3664
3629
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
3665
3630
|
var parent = _step.value;
|
|
3666
3631
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
3667
|
-
|
|
3668
3632
|
if (scrollSelectors) {
|
|
3669
3633
|
var selectors = scrollSelectors.split(',');
|
|
3670
|
-
|
|
3671
3634
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
3672
|
-
|
|
3673
|
-
|
|
3635
|
+
_step2;
|
|
3674
3636
|
try {
|
|
3675
3637
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
3676
3638
|
var selector = _step2.value;
|
|
3677
3639
|
var el = this.findSingle(parent, selector);
|
|
3678
|
-
|
|
3679
3640
|
if (el && overflowCheck(el)) {
|
|
3680
3641
|
scrollableParents.push(el);
|
|
3681
3642
|
}
|
|
@@ -3693,7 +3654,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3693
3654
|
_iterator.f();
|
|
3694
3655
|
}
|
|
3695
3656
|
}
|
|
3696
|
-
|
|
3697
3657
|
return scrollableParents;
|
|
3698
3658
|
}
|
|
3699
3659
|
}, {
|
|
@@ -3734,34 +3694,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3734
3694
|
element.style.opacity = 0;
|
|
3735
3695
|
var last = +new Date();
|
|
3736
3696
|
var opacity = 0;
|
|
3737
|
-
|
|
3738
3697
|
var tick = function tick() {
|
|
3739
3698
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
3740
3699
|
element.style.opacity = opacity;
|
|
3741
3700
|
last = +new Date();
|
|
3742
|
-
|
|
3743
3701
|
if (+opacity < 1) {
|
|
3744
3702
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
3745
3703
|
}
|
|
3746
3704
|
};
|
|
3747
|
-
|
|
3748
3705
|
tick();
|
|
3749
3706
|
}
|
|
3750
3707
|
}, {
|
|
3751
3708
|
key: "fadeOut",
|
|
3752
3709
|
value: function fadeOut(element, ms) {
|
|
3753
3710
|
var opacity = 1,
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3711
|
+
interval = 50,
|
|
3712
|
+
duration = ms,
|
|
3713
|
+
gap = interval / duration;
|
|
3757
3714
|
var fading = setInterval(function () {
|
|
3758
3715
|
opacity -= gap;
|
|
3759
|
-
|
|
3760
3716
|
if (opacity <= 0) {
|
|
3761
3717
|
opacity = 0;
|
|
3762
3718
|
clearInterval(fading);
|
|
3763
3719
|
}
|
|
3764
|
-
|
|
3765
3720
|
element.style.opacity = opacity;
|
|
3766
3721
|
}, interval);
|
|
3767
3722
|
}
|
|
@@ -3788,7 +3743,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3788
3743
|
var scroll = container.scrollTop;
|
|
3789
3744
|
var elementHeight = container.clientHeight;
|
|
3790
3745
|
var itemHeight = this.getOuterHeight(item);
|
|
3791
|
-
|
|
3792
3746
|
if (offset < 0) {
|
|
3793
3747
|
container.scrollTop = scroll + offset;
|
|
3794
3748
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -3807,7 +3761,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3807
3761
|
} else if (document['selection'] && document['selection'].empty) {
|
|
3808
3762
|
try {
|
|
3809
3763
|
document['selection'].empty();
|
|
3810
|
-
} catch (error) {
|
|
3764
|
+
} catch (error) {
|
|
3765
|
+
//ignore IE bug
|
|
3811
3766
|
}
|
|
3812
3767
|
}
|
|
3813
3768
|
}
|
|
@@ -3829,19 +3784,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3829
3784
|
if (!this.browser) {
|
|
3830
3785
|
var matched = this.resolveUserAgent();
|
|
3831
3786
|
this.browser = {};
|
|
3832
|
-
|
|
3833
3787
|
if (matched.browser) {
|
|
3834
3788
|
this.browser[matched.browser] = true;
|
|
3835
3789
|
this.browser['version'] = matched.version;
|
|
3836
3790
|
}
|
|
3837
|
-
|
|
3838
3791
|
if (this.browser['chrome']) {
|
|
3839
3792
|
this.browser['webkit'] = true;
|
|
3840
3793
|
} else if (this.browser['webkit']) {
|
|
3841
3794
|
this.browser['safari'] = true;
|
|
3842
3795
|
}
|
|
3843
3796
|
}
|
|
3844
|
-
|
|
3845
3797
|
return this.browser;
|
|
3846
3798
|
}
|
|
3847
3799
|
}, {
|
|
@@ -3869,10 +3821,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3869
3821
|
value: function getFocusableElements(element) {
|
|
3870
3822
|
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])");
|
|
3871
3823
|
var visibleFocusableElements = [];
|
|
3872
|
-
|
|
3873
3824
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
3874
|
-
|
|
3875
|
-
|
|
3825
|
+
_step3;
|
|
3876
3826
|
try {
|
|
3877
3827
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
3878
3828
|
var focusableElement = _step3.value;
|
|
@@ -3883,7 +3833,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3883
3833
|
} finally {
|
|
3884
3834
|
_iterator3.f();
|
|
3885
3835
|
}
|
|
3886
|
-
|
|
3887
3836
|
return visibleFocusableElements;
|
|
3888
3837
|
}
|
|
3889
3838
|
}, {
|
|
@@ -3926,11 +3875,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3926
3875
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
3927
3876
|
}
|
|
3928
3877
|
}]);
|
|
3929
|
-
|
|
3930
3878
|
return DomHandler;
|
|
3931
3879
|
}();
|
|
3932
3880
|
|
|
3933
|
-
|
|
3934
3881
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/imagepreview/ImagePreview.vue?vue&type=script&lang=js&
|
|
3935
3882
|
|
|
3936
3883
|
/* harmony default export */ var ImagePreviewvue_type_script_lang_js_ = ({
|
|
@@ -3961,7 +3908,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3961
3908
|
methods: {
|
|
3962
3909
|
onImageClick: function onImageClick() {
|
|
3963
3910
|
var _this = this;
|
|
3964
|
-
|
|
3965
3911
|
if (this.preview) {
|
|
3966
3912
|
this.maskVisible = true;
|
|
3967
3913
|
setTimeout(function () {
|
|
@@ -3978,7 +3924,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3978
3924
|
this.rotate = 0;
|
|
3979
3925
|
this.scale = 1;
|
|
3980
3926
|
}
|
|
3981
|
-
|
|
3982
3927
|
this.previewClick = false;
|
|
3983
3928
|
},
|
|
3984
3929
|
rotateRight: function rotateRight() {
|
|
@@ -545,11 +545,10 @@ if (typeof window !== 'undefined') {
|
|
|
545
545
|
// Indicate to webpack that this file can be concatenated
|
|
546
546
|
/* harmony default export */ var setPublicPath = (null);
|
|
547
547
|
|
|
548
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
548
|
+
// 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/inlinemessage/InlineMessage.vue?vue&type=template&id=28bda133&
|
|
549
549
|
var render = function render() {
|
|
550
550
|
var _vm = this,
|
|
551
|
-
|
|
552
|
-
|
|
551
|
+
_c = _vm._self._c;
|
|
553
552
|
return _c('div', {
|
|
554
553
|
class: _vm.containerClass,
|
|
555
554
|
attrs: {
|
|
@@ -563,7 +562,6 @@ var render = function render() {
|
|
|
563
562
|
return [_vm._v(" ")];
|
|
564
563
|
})], 2)]);
|
|
565
564
|
};
|
|
566
|
-
|
|
567
565
|
var staticRenderFns = [];
|
|
568
566
|
|
|
569
567
|
// CONCATENATED MODULE: ./src/components/inlinemessage/InlineMessage.vue?vue&type=template&id=28bda133&
|
|
@@ -584,7 +582,6 @@ var staticRenderFns = [];
|
|
|
584
582
|
},
|
|
585
583
|
mounted: function mounted() {
|
|
586
584
|
var _this = this;
|
|
587
|
-
|
|
588
585
|
if (!this.sticky) {
|
|
589
586
|
setTimeout(function () {
|
|
590
587
|
_this.visible = false;
|
|
@@ -554,11 +554,10 @@ if (typeof window !== 'undefined') {
|
|
|
554
554
|
// Indicate to webpack that this file can be concatenated
|
|
555
555
|
/* harmony default export */ var setPublicPath = (null);
|
|
556
556
|
|
|
557
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
557
|
+
// 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/inlinemessage/InlineMessage.vue?vue&type=template&id=28bda133&
|
|
558
558
|
var render = function render() {
|
|
559
559
|
var _vm = this,
|
|
560
|
-
|
|
561
|
-
|
|
560
|
+
_c = _vm._self._c;
|
|
562
561
|
return _c('div', {
|
|
563
562
|
class: _vm.containerClass,
|
|
564
563
|
attrs: {
|
|
@@ -572,7 +571,6 @@ var render = function render() {
|
|
|
572
571
|
return [_vm._v(" ")];
|
|
573
572
|
})], 2)]);
|
|
574
573
|
};
|
|
575
|
-
|
|
576
574
|
var staticRenderFns = [];
|
|
577
575
|
|
|
578
576
|
// CONCATENATED MODULE: ./src/components/inlinemessage/InlineMessage.vue?vue&type=template&id=28bda133&
|
|
@@ -593,7 +591,6 @@ var staticRenderFns = [];
|
|
|
593
591
|
},
|
|
594
592
|
mounted: function mounted() {
|
|
595
593
|
var _this = this;
|
|
596
|
-
|
|
597
594
|
if (!this.sticky) {
|
|
598
595
|
setTimeout(function () {
|
|
599
596
|
_this.visible = false;
|