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
|
@@ -2905,11 +2905,10 @@ if (typeof window !== 'undefined') {
|
|
|
2905
2905
|
// Indicate to webpack that this file can be concatenated
|
|
2906
2906
|
/* harmony default export */ var setPublicPath = (null);
|
|
2907
2907
|
|
|
2908
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
2908
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"08364d47-vue-loader-template"}!./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/galleria/GalleriaItem.vue?vue&type=template&id=5bdfe994&
|
|
2909
2909
|
var render = function render() {
|
|
2910
2910
|
var _vm = this,
|
|
2911
|
-
|
|
2912
|
-
|
|
2911
|
+
_c = _vm._self._c;
|
|
2913
2912
|
return _c('div', {
|
|
2914
2913
|
staticClass: "p-galleria-item-wrapper"
|
|
2915
2914
|
}, [_c('div', {
|
|
@@ -3002,7 +3001,6 @@ var render = function render() {
|
|
|
3002
3001
|
})], 1);
|
|
3003
3002
|
}), 0) : _vm._e()]);
|
|
3004
3003
|
};
|
|
3005
|
-
|
|
3006
3004
|
var staticRenderFns = [];
|
|
3007
3005
|
|
|
3008
3006
|
// CONCATENATED MODULE: ./src/components/galleria/GalleriaItem.vue?vue&type=template&id=5bdfe994&
|
|
@@ -3034,15 +3032,13 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
3034
3032
|
},
|
|
3035
3033
|
render: function render(createElement, context) {
|
|
3036
3034
|
var _context$props = context.props,
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3035
|
+
item = _context$props.item,
|
|
3036
|
+
index = _context$props.index,
|
|
3037
|
+
templates = _context$props.templates,
|
|
3038
|
+
type = _context$props.type;
|
|
3041
3039
|
var template = templates && templates[type];
|
|
3042
|
-
|
|
3043
3040
|
if (template) {
|
|
3044
3041
|
var content;
|
|
3045
|
-
|
|
3046
3042
|
switch (type) {
|
|
3047
3043
|
case 'item':
|
|
3048
3044
|
case 'caption':
|
|
@@ -3051,21 +3047,17 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
3051
3047
|
item: item
|
|
3052
3048
|
});
|
|
3053
3049
|
break;
|
|
3054
|
-
|
|
3055
3050
|
case 'indicator':
|
|
3056
3051
|
content = template({
|
|
3057
3052
|
index: index
|
|
3058
3053
|
});
|
|
3059
3054
|
break;
|
|
3060
|
-
|
|
3061
3055
|
default:
|
|
3062
3056
|
content = template({});
|
|
3063
3057
|
break;
|
|
3064
3058
|
}
|
|
3065
|
-
|
|
3066
3059
|
return content ? [content] : null;
|
|
3067
3060
|
}
|
|
3068
|
-
|
|
3069
3061
|
return null;
|
|
3070
3062
|
}
|
|
3071
3063
|
});
|
|
@@ -3231,26 +3223,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
3231
3223
|
|
|
3232
3224
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
3233
3225
|
|
|
3234
|
-
|
|
3235
3226
|
function _defineProperties(target, props) {
|
|
3236
3227
|
for (var i = 0; i < props.length; i++) {
|
|
3237
3228
|
var descriptor = props[i];
|
|
3238
3229
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
3239
3230
|
descriptor.configurable = true;
|
|
3240
3231
|
if ("value" in descriptor) descriptor.writable = true;
|
|
3241
|
-
|
|
3242
3232
|
define_property_default()(target, descriptor.key, descriptor);
|
|
3243
3233
|
}
|
|
3244
3234
|
}
|
|
3245
|
-
|
|
3246
3235
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
3247
3236
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
3248
3237
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
3249
|
-
|
|
3250
3238
|
define_property_default()(Constructor, "prototype", {
|
|
3251
3239
|
writable: false
|
|
3252
3240
|
});
|
|
3253
|
-
|
|
3254
3241
|
return Constructor;
|
|
3255
3242
|
}
|
|
3256
3243
|
// CONCATENATED MODULE: ./src/components/utils/DomHandler.js
|
|
@@ -3266,18 +3253,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
3266
3253
|
|
|
3267
3254
|
|
|
3268
3255
|
|
|
3269
|
-
|
|
3270
3256
|
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; } } }; }
|
|
3271
|
-
|
|
3272
3257
|
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); }
|
|
3273
|
-
|
|
3274
3258
|
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; }
|
|
3275
|
-
|
|
3276
3259
|
var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
3277
3260
|
function DomHandler() {
|
|
3278
3261
|
_classCallCheck(this, DomHandler);
|
|
3279
3262
|
}
|
|
3280
|
-
|
|
3281
3263
|
_createClass(DomHandler, null, [{
|
|
3282
3264
|
key: "innerWidth",
|
|
3283
3265
|
value: function innerWidth(el) {
|
|
@@ -3311,12 +3293,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3311
3293
|
value: function getOuterWidth(el, margin) {
|
|
3312
3294
|
if (el) {
|
|
3313
3295
|
var width = el.offsetWidth;
|
|
3314
|
-
|
|
3315
3296
|
if (margin) {
|
|
3316
3297
|
var style = getComputedStyle(el);
|
|
3317
3298
|
width += parseFloat(style.marginLeft) + parseFloat(style.marginRight);
|
|
3318
3299
|
}
|
|
3319
|
-
|
|
3320
3300
|
return width;
|
|
3321
3301
|
} else {
|
|
3322
3302
|
return 0;
|
|
@@ -3327,12 +3307,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3327
3307
|
value: function getOuterHeight(el, margin) {
|
|
3328
3308
|
if (el) {
|
|
3329
3309
|
var height = el.offsetHeight;
|
|
3330
|
-
|
|
3331
3310
|
if (margin) {
|
|
3332
3311
|
var style = getComputedStyle(el);
|
|
3333
3312
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3334
3313
|
}
|
|
3335
|
-
|
|
3336
3314
|
return height;
|
|
3337
3315
|
} else {
|
|
3338
3316
|
return 0;
|
|
@@ -3343,12 +3321,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3343
3321
|
value: function getClientHeight(el, margin) {
|
|
3344
3322
|
if (el) {
|
|
3345
3323
|
var height = el.clientHeight;
|
|
3346
|
-
|
|
3347
3324
|
if (margin) {
|
|
3348
3325
|
var style = getComputedStyle(el);
|
|
3349
3326
|
height += parseFloat(style.marginTop) + parseFloat(style.marginBottom);
|
|
3350
3327
|
}
|
|
3351
|
-
|
|
3352
3328
|
return height;
|
|
3353
3329
|
} else {
|
|
3354
3330
|
return 0;
|
|
@@ -3358,11 +3334,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3358
3334
|
key: "getViewport",
|
|
3359
3335
|
value: function getViewport() {
|
|
3360
3336
|
var win = window,
|
|
3361
|
-
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3337
|
+
d = document,
|
|
3338
|
+
e = d.documentElement,
|
|
3339
|
+
g = d.getElementsByTagName('body')[0],
|
|
3340
|
+
w = win.innerWidth || e.clientWidth || g.clientWidth,
|
|
3341
|
+
h = win.innerHeight || e.clientHeight || g.clientHeight;
|
|
3366
3342
|
return {
|
|
3367
3343
|
width: w,
|
|
3368
3344
|
height: h
|
|
@@ -3393,12 +3369,10 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3393
3369
|
value: function index(element) {
|
|
3394
3370
|
var children = element.parentNode.childNodes;
|
|
3395
3371
|
var num = 0;
|
|
3396
|
-
|
|
3397
3372
|
for (var i = 0; i < children.length; i++) {
|
|
3398
3373
|
if (children[i] === element) return num;
|
|
3399
3374
|
if (children[i].nodeType === 1) num++;
|
|
3400
3375
|
}
|
|
3401
|
-
|
|
3402
3376
|
return -1;
|
|
3403
3377
|
}
|
|
3404
3378
|
}, {
|
|
@@ -3406,13 +3380,11 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3406
3380
|
value: function addMultipleClasses(element, className) {
|
|
3407
3381
|
if (element.classList) {
|
|
3408
3382
|
var styles = className.split(' ');
|
|
3409
|
-
|
|
3410
3383
|
for (var i = 0; i < styles.length; i++) {
|
|
3411
3384
|
element.classList.add(styles[i]);
|
|
3412
3385
|
}
|
|
3413
3386
|
} else {
|
|
3414
3387
|
var _styles = className.split(' ');
|
|
3415
|
-
|
|
3416
3388
|
for (var _i = 0; _i < _styles.length; _i++) {
|
|
3417
3389
|
element.className += ' ' + _styles[_i];
|
|
3418
3390
|
}
|
|
@@ -3434,7 +3406,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3434
3406
|
if (element) {
|
|
3435
3407
|
if (element.classList) return element.classList.contains(className);else return new RegExp('(^| )' + className + '( |$)', 'gi').test(element.className);
|
|
3436
3408
|
}
|
|
3437
|
-
|
|
3438
3409
|
return false;
|
|
3439
3410
|
}
|
|
3440
3411
|
}, {
|
|
@@ -3479,11 +3450,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3479
3450
|
var windowScrollLeft = this.getWindowScrollLeft();
|
|
3480
3451
|
var viewport = this.getViewport();
|
|
3481
3452
|
var top, left;
|
|
3482
|
-
|
|
3483
3453
|
if (targetOffset.top + targetOuterHeight + elementOuterHeight > viewport.height) {
|
|
3484
3454
|
top = targetOffset.top + windowScrollTop - elementOuterHeight;
|
|
3485
3455
|
element.style.transformOrigin = 'bottom';
|
|
3486
|
-
|
|
3487
3456
|
if (top < 0) {
|
|
3488
3457
|
top = windowScrollTop;
|
|
3489
3458
|
}
|
|
@@ -3491,7 +3460,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3491
3460
|
top = targetOuterHeight + targetOffset.top + windowScrollTop;
|
|
3492
3461
|
element.style.transformOrigin = 'top';
|
|
3493
3462
|
}
|
|
3494
|
-
|
|
3495
3463
|
if (targetOffset.left + elementOuterWidth > viewport.width) left = Math.max(0, targetOffset.left + windowScrollLeft + targetOuterWidth - elementOuterWidth);else left = targetOffset.left + windowScrollLeft;
|
|
3496
3464
|
element.style.top = top + 'px';
|
|
3497
3465
|
element.style.left = left + 'px';
|
|
@@ -3507,11 +3475,9 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3507
3475
|
var targetOffset = target.getBoundingClientRect();
|
|
3508
3476
|
var viewport = this.getViewport();
|
|
3509
3477
|
var top, left;
|
|
3510
|
-
|
|
3511
3478
|
if (targetOffset.top + targetHeight + elementDimensions.height > viewport.height) {
|
|
3512
3479
|
top = -1 * elementDimensions.height;
|
|
3513
3480
|
element.style.transformOrigin = 'bottom';
|
|
3514
|
-
|
|
3515
3481
|
if (targetOffset.top + top < 0) {
|
|
3516
3482
|
top = -1 * targetOffset.top;
|
|
3517
3483
|
}
|
|
@@ -3519,7 +3485,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3519
3485
|
top = targetHeight;
|
|
3520
3486
|
element.style.transformOrigin = 'top';
|
|
3521
3487
|
}
|
|
3522
|
-
|
|
3523
3488
|
if (elementDimensions.width > viewport.width) {
|
|
3524
3489
|
// element wider then viewport and cannot fit on screen (align at left side of viewport)
|
|
3525
3490
|
left = targetOffset.left * -1;
|
|
@@ -3530,7 +3495,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3530
3495
|
// element fits on screen (align with target)
|
|
3531
3496
|
left = 0;
|
|
3532
3497
|
}
|
|
3533
|
-
|
|
3534
3498
|
element.style.top = top + 'px';
|
|
3535
3499
|
element.style.left = left + 'px';
|
|
3536
3500
|
}
|
|
@@ -3544,35 +3508,27 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3544
3508
|
key: "getScrollableParents",
|
|
3545
3509
|
value: function getScrollableParents(element) {
|
|
3546
3510
|
var scrollableParents = [];
|
|
3547
|
-
|
|
3548
3511
|
if (element) {
|
|
3549
3512
|
var parents = this.getParents(element);
|
|
3550
3513
|
var overflowRegex = /(auto|scroll)/;
|
|
3551
|
-
|
|
3552
3514
|
var overflowCheck = function overflowCheck(node) {
|
|
3553
3515
|
var styleDeclaration = window['getComputedStyle'](node, null);
|
|
3554
3516
|
return overflowRegex.test(styleDeclaration.getPropertyValue('overflow')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowX')) || overflowRegex.test(styleDeclaration.getPropertyValue('overflowY'));
|
|
3555
3517
|
};
|
|
3556
|
-
|
|
3557
3518
|
var _iterator = _createForOfIteratorHelper(parents),
|
|
3558
|
-
|
|
3559
|
-
|
|
3519
|
+
_step;
|
|
3560
3520
|
try {
|
|
3561
3521
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
3562
3522
|
var parent = _step.value;
|
|
3563
3523
|
var scrollSelectors = parent.nodeType === 1 && parent.dataset['scrollselectors'];
|
|
3564
|
-
|
|
3565
3524
|
if (scrollSelectors) {
|
|
3566
3525
|
var selectors = scrollSelectors.split(',');
|
|
3567
|
-
|
|
3568
3526
|
var _iterator2 = _createForOfIteratorHelper(selectors),
|
|
3569
|
-
|
|
3570
|
-
|
|
3527
|
+
_step2;
|
|
3571
3528
|
try {
|
|
3572
3529
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
3573
3530
|
var selector = _step2.value;
|
|
3574
3531
|
var el = this.findSingle(parent, selector);
|
|
3575
|
-
|
|
3576
3532
|
if (el && overflowCheck(el)) {
|
|
3577
3533
|
scrollableParents.push(el);
|
|
3578
3534
|
}
|
|
@@ -3590,7 +3546,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3590
3546
|
_iterator.f();
|
|
3591
3547
|
}
|
|
3592
3548
|
}
|
|
3593
|
-
|
|
3594
3549
|
return scrollableParents;
|
|
3595
3550
|
}
|
|
3596
3551
|
}, {
|
|
@@ -3631,34 +3586,29 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3631
3586
|
element.style.opacity = 0;
|
|
3632
3587
|
var last = +new Date();
|
|
3633
3588
|
var opacity = 0;
|
|
3634
|
-
|
|
3635
3589
|
var tick = function tick() {
|
|
3636
3590
|
opacity = +element.style.opacity + (new Date().getTime() - last) / duration;
|
|
3637
3591
|
element.style.opacity = opacity;
|
|
3638
3592
|
last = +new Date();
|
|
3639
|
-
|
|
3640
3593
|
if (+opacity < 1) {
|
|
3641
3594
|
window.requestAnimationFrame && requestAnimationFrame(tick) || setTimeout(tick, 16);
|
|
3642
3595
|
}
|
|
3643
3596
|
};
|
|
3644
|
-
|
|
3645
3597
|
tick();
|
|
3646
3598
|
}
|
|
3647
3599
|
}, {
|
|
3648
3600
|
key: "fadeOut",
|
|
3649
3601
|
value: function fadeOut(element, ms) {
|
|
3650
3602
|
var opacity = 1,
|
|
3651
|
-
|
|
3652
|
-
|
|
3653
|
-
|
|
3603
|
+
interval = 50,
|
|
3604
|
+
duration = ms,
|
|
3605
|
+
gap = interval / duration;
|
|
3654
3606
|
var fading = setInterval(function () {
|
|
3655
3607
|
opacity -= gap;
|
|
3656
|
-
|
|
3657
3608
|
if (opacity <= 0) {
|
|
3658
3609
|
opacity = 0;
|
|
3659
3610
|
clearInterval(fading);
|
|
3660
3611
|
}
|
|
3661
|
-
|
|
3662
3612
|
element.style.opacity = opacity;
|
|
3663
3613
|
}, interval);
|
|
3664
3614
|
}
|
|
@@ -3685,7 +3635,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3685
3635
|
var scroll = container.scrollTop;
|
|
3686
3636
|
var elementHeight = container.clientHeight;
|
|
3687
3637
|
var itemHeight = this.getOuterHeight(item);
|
|
3688
|
-
|
|
3689
3638
|
if (offset < 0) {
|
|
3690
3639
|
container.scrollTop = scroll + offset;
|
|
3691
3640
|
} else if (offset + itemHeight > elementHeight) {
|
|
@@ -3704,7 +3653,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3704
3653
|
} else if (document['selection'] && document['selection'].empty) {
|
|
3705
3654
|
try {
|
|
3706
3655
|
document['selection'].empty();
|
|
3707
|
-
} catch (error) {
|
|
3656
|
+
} catch (error) {
|
|
3657
|
+
//ignore IE bug
|
|
3708
3658
|
}
|
|
3709
3659
|
}
|
|
3710
3660
|
}
|
|
@@ -3726,19 +3676,16 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3726
3676
|
if (!this.browser) {
|
|
3727
3677
|
var matched = this.resolveUserAgent();
|
|
3728
3678
|
this.browser = {};
|
|
3729
|
-
|
|
3730
3679
|
if (matched.browser) {
|
|
3731
3680
|
this.browser[matched.browser] = true;
|
|
3732
3681
|
this.browser['version'] = matched.version;
|
|
3733
3682
|
}
|
|
3734
|
-
|
|
3735
3683
|
if (this.browser['chrome']) {
|
|
3736
3684
|
this.browser['webkit'] = true;
|
|
3737
3685
|
} else if (this.browser['webkit']) {
|
|
3738
3686
|
this.browser['safari'] = true;
|
|
3739
3687
|
}
|
|
3740
3688
|
}
|
|
3741
|
-
|
|
3742
3689
|
return this.browser;
|
|
3743
3690
|
}
|
|
3744
3691
|
}, {
|
|
@@ -3766,10 +3713,8 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3766
3713
|
value: function getFocusableElements(element) {
|
|
3767
3714
|
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])");
|
|
3768
3715
|
var visibleFocusableElements = [];
|
|
3769
|
-
|
|
3770
3716
|
var _iterator3 = _createForOfIteratorHelper(focusableElements),
|
|
3771
|
-
|
|
3772
|
-
|
|
3717
|
+
_step3;
|
|
3773
3718
|
try {
|
|
3774
3719
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
3775
3720
|
var focusableElement = _step3.value;
|
|
@@ -3780,7 +3725,6 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3780
3725
|
} finally {
|
|
3781
3726
|
_iterator3.f();
|
|
3782
3727
|
}
|
|
3783
|
-
|
|
3784
3728
|
return visibleFocusableElements;
|
|
3785
3729
|
}
|
|
3786
3730
|
}, {
|
|
@@ -3823,55 +3767,43 @@ var DomHandler_DomHandler = /*#__PURE__*/function () {
|
|
|
3823
3767
|
return 'ontouchstart' in window || navigator.maxTouchPoints > 0 || navigator.msMaxTouchPoints > 0;
|
|
3824
3768
|
}
|
|
3825
3769
|
}]);
|
|
3826
|
-
|
|
3827
3770
|
return DomHandler;
|
|
3828
3771
|
}();
|
|
3829
3772
|
|
|
3830
|
-
|
|
3831
3773
|
// CONCATENATED MODULE: ./src/components/ripple/Ripple.js
|
|
3832
3774
|
|
|
3833
|
-
|
|
3834
3775
|
function bindEvents(el) {
|
|
3835
3776
|
el.addEventListener('mousedown', onMouseDown);
|
|
3836
3777
|
}
|
|
3837
|
-
|
|
3838
3778
|
function unbindEvents(el) {
|
|
3839
3779
|
el.removeEventListener('mousedown', onMouseDown);
|
|
3840
3780
|
}
|
|
3841
|
-
|
|
3842
3781
|
function create(el) {
|
|
3843
3782
|
var ink = document.createElement('span');
|
|
3844
3783
|
ink.className = 'p-ink';
|
|
3845
3784
|
el.appendChild(ink);
|
|
3846
3785
|
ink.addEventListener('animationend', onAnimationEnd);
|
|
3847
3786
|
}
|
|
3848
|
-
|
|
3849
3787
|
function remove(el) {
|
|
3850
3788
|
var ink = getInk(el);
|
|
3851
|
-
|
|
3852
3789
|
if (ink) {
|
|
3853
3790
|
unbindEvents(el);
|
|
3854
3791
|
ink.removeEventListener('animationend', onAnimationEnd);
|
|
3855
3792
|
ink.remove();
|
|
3856
3793
|
}
|
|
3857
3794
|
}
|
|
3858
|
-
|
|
3859
3795
|
function onMouseDown(event) {
|
|
3860
3796
|
var target = event.currentTarget;
|
|
3861
3797
|
var ink = getInk(target);
|
|
3862
|
-
|
|
3863
3798
|
if (!ink || getComputedStyle(ink, null).display === 'none') {
|
|
3864
3799
|
return;
|
|
3865
3800
|
}
|
|
3866
|
-
|
|
3867
3801
|
DomHandler_DomHandler.removeClass(ink, 'p-ink-active');
|
|
3868
|
-
|
|
3869
3802
|
if (!DomHandler_DomHandler.getHeight(ink) && !DomHandler_DomHandler.getWidth(ink)) {
|
|
3870
3803
|
var d = Math.max(DomHandler_DomHandler.getOuterWidth(target), DomHandler_DomHandler.getOuterHeight(target));
|
|
3871
3804
|
ink.style.height = d + 'px';
|
|
3872
3805
|
ink.style.width = d + 'px';
|
|
3873
3806
|
}
|
|
3874
|
-
|
|
3875
3807
|
var offset = DomHandler_DomHandler.getOffset(target);
|
|
3876
3808
|
var x = event.pageX - offset.left + document.body.scrollTop - DomHandler_DomHandler.getWidth(ink) / 2;
|
|
3877
3809
|
var y = event.pageY - offset.top + document.body.scrollLeft - DomHandler_DomHandler.getHeight(ink) / 2;
|
|
@@ -3879,21 +3811,17 @@ function onMouseDown(event) {
|
|
|
3879
3811
|
ink.style.left = x + 'px';
|
|
3880
3812
|
DomHandler_DomHandler.addClass(ink, 'p-ink-active');
|
|
3881
3813
|
}
|
|
3882
|
-
|
|
3883
3814
|
function onAnimationEnd(event) {
|
|
3884
3815
|
DomHandler_DomHandler.removeClass(event.currentTarget, 'p-ink-active');
|
|
3885
3816
|
}
|
|
3886
|
-
|
|
3887
3817
|
function getInk(el) {
|
|
3888
3818
|
for (var i = 0; i < el.children.length; i++) {
|
|
3889
3819
|
if (typeof el.children[i].className === 'string' && el.children[i].className.indexOf('p-ink') !== -1) {
|
|
3890
3820
|
return el.children[i];
|
|
3891
3821
|
}
|
|
3892
3822
|
}
|
|
3893
|
-
|
|
3894
3823
|
return null;
|
|
3895
3824
|
}
|
|
3896
|
-
|
|
3897
3825
|
var Ripple = {
|
|
3898
3826
|
inserted: function inserted(el, binding, vnode) {
|
|
3899
3827
|
if (vnode.context.$primevue && vnode.context.$primevue.config.ripple) {
|
|
@@ -3973,7 +3901,6 @@ var Ripple = {
|
|
|
3973
3901
|
navBackward: function navBackward(e) {
|
|
3974
3902
|
this.stopSlideShow();
|
|
3975
3903
|
this.prev();
|
|
3976
|
-
|
|
3977
3904
|
if (e && e.cancelable) {
|
|
3978
3905
|
e.preventDefault();
|
|
3979
3906
|
}
|
|
@@ -3981,7 +3908,6 @@ var Ripple = {
|
|
|
3981
3908
|
navForward: function navForward(e) {
|
|
3982
3909
|
this.stopSlideShow();
|
|
3983
3910
|
this.next();
|
|
3984
|
-
|
|
3985
3911
|
if (e && e.cancelable) {
|
|
3986
3912
|
e.preventDefault();
|
|
3987
3913
|
}
|
|
@@ -995,15 +995,13 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
995
995
|
},
|
|
996
996
|
render: function render(createElement, context) {
|
|
997
997
|
var _context$props = context.props,
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
998
|
+
item = _context$props.item,
|
|
999
|
+
index = _context$props.index,
|
|
1000
|
+
templates = _context$props.templates,
|
|
1001
|
+
type = _context$props.type;
|
|
1002
1002
|
var template = templates && templates[type];
|
|
1003
|
-
|
|
1004
1003
|
if (template) {
|
|
1005
1004
|
var content;
|
|
1006
|
-
|
|
1007
1005
|
switch (type) {
|
|
1008
1006
|
case 'item':
|
|
1009
1007
|
case 'caption':
|
|
@@ -1012,21 +1010,17 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
1012
1010
|
item: item
|
|
1013
1011
|
});
|
|
1014
1012
|
break;
|
|
1015
|
-
|
|
1016
1013
|
case 'indicator':
|
|
1017
1014
|
content = template({
|
|
1018
1015
|
index: index
|
|
1019
1016
|
});
|
|
1020
1017
|
break;
|
|
1021
|
-
|
|
1022
1018
|
default:
|
|
1023
1019
|
content = template({});
|
|
1024
1020
|
break;
|
|
1025
1021
|
}
|
|
1026
|
-
|
|
1027
1022
|
return content ? [content] : null;
|
|
1028
1023
|
}
|
|
1029
|
-
|
|
1030
1024
|
return null;
|
|
1031
1025
|
}
|
|
1032
1026
|
});
|
|
@@ -1004,15 +1004,13 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
1004
1004
|
},
|
|
1005
1005
|
render: function render(createElement, context) {
|
|
1006
1006
|
var _context$props = context.props,
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1007
|
+
item = _context$props.item,
|
|
1008
|
+
index = _context$props.index,
|
|
1009
|
+
templates = _context$props.templates,
|
|
1010
|
+
type = _context$props.type;
|
|
1011
1011
|
var template = templates && templates[type];
|
|
1012
|
-
|
|
1013
1012
|
if (template) {
|
|
1014
1013
|
var content;
|
|
1015
|
-
|
|
1016
1014
|
switch (type) {
|
|
1017
1015
|
case 'item':
|
|
1018
1016
|
case 'caption':
|
|
@@ -1021,21 +1019,17 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
1021
1019
|
item: item
|
|
1022
1020
|
});
|
|
1023
1021
|
break;
|
|
1024
|
-
|
|
1025
1022
|
case 'indicator':
|
|
1026
1023
|
content = template({
|
|
1027
1024
|
index: index
|
|
1028
1025
|
});
|
|
1029
1026
|
break;
|
|
1030
|
-
|
|
1031
1027
|
default:
|
|
1032
1028
|
content = template({});
|
|
1033
1029
|
break;
|
|
1034
1030
|
}
|
|
1035
|
-
|
|
1036
1031
|
return content ? [content] : null;
|
|
1037
1032
|
}
|
|
1038
|
-
|
|
1039
1033
|
return null;
|
|
1040
1034
|
}
|
|
1041
1035
|
});
|