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/checkbox/checkbox.umd.js
CHANGED
|
@@ -4216,11 +4216,10 @@ if (typeof window !== 'undefined') {
|
|
|
4216
4216
|
// Indicate to webpack that this file can be concatenated
|
|
4217
4217
|
/* harmony default export */ var setPublicPath = (null);
|
|
4218
4218
|
|
|
4219
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
4219
|
+
// 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/checkbox/Checkbox.vue?vue&type=template&id=54e45401&
|
|
4220
4220
|
var render = function render() {
|
|
4221
4221
|
var _vm = this,
|
|
4222
|
-
|
|
4223
|
-
|
|
4222
|
+
_c = _vm._self._c;
|
|
4224
4223
|
return _c('div', {
|
|
4225
4224
|
class: _vm.containerClass,
|
|
4226
4225
|
on: {
|
|
@@ -4264,7 +4263,6 @@ var render = function render() {
|
|
|
4264
4263
|
}]
|
|
4265
4264
|
})])]);
|
|
4266
4265
|
};
|
|
4267
|
-
|
|
4268
4266
|
var staticRenderFns = [];
|
|
4269
4267
|
|
|
4270
4268
|
// CONCATENATED MODULE: ./src/components/checkbox/Checkbox.vue?vue&type=template&id=54e45401&
|
|
@@ -4276,11 +4274,9 @@ var is_array_default = /*#__PURE__*/__webpack_require__.n(is_array);
|
|
|
4276
4274
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayLikeToArray.js
|
|
4277
4275
|
function _arrayLikeToArray(arr, len) {
|
|
4278
4276
|
if (len == null || len > arr.length) len = arr.length;
|
|
4279
|
-
|
|
4280
4277
|
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
4281
4278
|
arr2[i] = arr[i];
|
|
4282
4279
|
}
|
|
4283
|
-
|
|
4284
4280
|
return arr2;
|
|
4285
4281
|
}
|
|
4286
4282
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayWithoutHoles.js
|
|
@@ -4394,26 +4390,21 @@ var define_property_default = /*#__PURE__*/__webpack_require__.n(define_property
|
|
|
4394
4390
|
|
|
4395
4391
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/createClass.js
|
|
4396
4392
|
|
|
4397
|
-
|
|
4398
4393
|
function _defineProperties(target, props) {
|
|
4399
4394
|
for (var i = 0; i < props.length; i++) {
|
|
4400
4395
|
var descriptor = props[i];
|
|
4401
4396
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
4402
4397
|
descriptor.configurable = true;
|
|
4403
4398
|
if ("value" in descriptor) descriptor.writable = true;
|
|
4404
|
-
|
|
4405
4399
|
define_property_default()(target, descriptor.key, descriptor);
|
|
4406
4400
|
}
|
|
4407
4401
|
}
|
|
4408
|
-
|
|
4409
4402
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
4410
4403
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
4411
4404
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
4412
|
-
|
|
4413
4405
|
define_property_default()(Constructor, "prototype", {
|
|
4414
4406
|
writable: false
|
|
4415
4407
|
});
|
|
4416
|
-
|
|
4417
4408
|
return Constructor;
|
|
4418
4409
|
}
|
|
4419
4410
|
// CONCATENATED MODULE: ./src/components/utils/ObjectUtils.js
|
|
@@ -4433,18 +4424,13 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
4433
4424
|
|
|
4434
4425
|
|
|
4435
4426
|
|
|
4436
|
-
|
|
4437
4427
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = ObjectUtils_unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
4438
|
-
|
|
4439
4428
|
function ObjectUtils_unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return ObjectUtils_arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return ObjectUtils_arrayLikeToArray(o, minLen); }
|
|
4440
|
-
|
|
4441
4429
|
function ObjectUtils_arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) { arr2[i] = arr[i]; } return arr2; }
|
|
4442
|
-
|
|
4443
4430
|
var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
4444
4431
|
function ObjectUtils() {
|
|
4445
4432
|
_classCallCheck(this, ObjectUtils);
|
|
4446
4433
|
}
|
|
4447
|
-
|
|
4448
4434
|
_createClass(ObjectUtils, null, [{
|
|
4449
4435
|
key: "equals",
|
|
4450
4436
|
value: function equals(obj1, obj2, field) {
|
|
@@ -4454,50 +4440,41 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4454
4440
|
key: "deepEquals",
|
|
4455
4441
|
value: function deepEquals(a, b) {
|
|
4456
4442
|
if (a === b) return true;
|
|
4457
|
-
|
|
4458
4443
|
if (a && b && _typeof(a) == 'object' && _typeof(b) == 'object') {
|
|
4459
4444
|
var arrA = Array.isArray(a),
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4445
|
+
arrB = Array.isArray(b),
|
|
4446
|
+
i,
|
|
4447
|
+
length,
|
|
4448
|
+
key;
|
|
4465
4449
|
if (arrA && arrB) {
|
|
4466
4450
|
length = a.length;
|
|
4467
4451
|
if (length != b.length) return false;
|
|
4468
|
-
|
|
4469
4452
|
for (i = length; i-- !== 0;) {
|
|
4470
4453
|
if (!this.deepEquals(a[i], b[i])) return false;
|
|
4471
4454
|
}
|
|
4472
|
-
|
|
4473
4455
|
return true;
|
|
4474
4456
|
}
|
|
4475
|
-
|
|
4476
4457
|
if (arrA != arrB) return false;
|
|
4477
4458
|
var dateA = a instanceof Date,
|
|
4478
|
-
|
|
4459
|
+
dateB = b instanceof Date;
|
|
4479
4460
|
if (dateA != dateB) return false;
|
|
4480
4461
|
if (dateA && dateB) return a.getTime() == b.getTime();
|
|
4481
4462
|
var regexpA = a instanceof RegExp,
|
|
4482
|
-
|
|
4463
|
+
regexpB = b instanceof RegExp;
|
|
4483
4464
|
if (regexpA != regexpB) return false;
|
|
4484
4465
|
if (regexpA && regexpB) return a.toString() == b.toString();
|
|
4485
4466
|
var keys = Object.keys(a);
|
|
4486
4467
|
length = keys.length;
|
|
4487
4468
|
if (length !== Object.keys(b).length) return false;
|
|
4488
|
-
|
|
4489
4469
|
for (i = length; i-- !== 0;) {
|
|
4490
4470
|
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
|
|
4491
4471
|
}
|
|
4492
|
-
|
|
4493
4472
|
for (i = length; i-- !== 0;) {
|
|
4494
4473
|
key = keys[i];
|
|
4495
4474
|
if (!this.deepEquals(a[key], b[key])) return false;
|
|
4496
4475
|
}
|
|
4497
|
-
|
|
4498
4476
|
return true;
|
|
4499
4477
|
}
|
|
4500
|
-
|
|
4501
4478
|
return a !== a && b !== b;
|
|
4502
4479
|
}
|
|
4503
4480
|
}, {
|
|
@@ -4511,15 +4488,12 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4511
4488
|
} else {
|
|
4512
4489
|
var fields = field.split('.');
|
|
4513
4490
|
var value = data;
|
|
4514
|
-
|
|
4515
4491
|
for (var i = 0, len = fields.length; i < len; ++i) {
|
|
4516
4492
|
if (value == null) {
|
|
4517
4493
|
return null;
|
|
4518
4494
|
}
|
|
4519
|
-
|
|
4520
4495
|
value = value[fields[i]];
|
|
4521
4496
|
}
|
|
4522
|
-
|
|
4523
4497
|
return value;
|
|
4524
4498
|
}
|
|
4525
4499
|
} else {
|
|
@@ -4535,22 +4509,17 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4535
4509
|
key: "filter",
|
|
4536
4510
|
value: function filter(value, fields, filterValue) {
|
|
4537
4511
|
var filteredItems = [];
|
|
4538
|
-
|
|
4539
4512
|
if (value) {
|
|
4540
4513
|
var _iterator = _createForOfIteratorHelper(value),
|
|
4541
|
-
|
|
4542
|
-
|
|
4514
|
+
_step;
|
|
4543
4515
|
try {
|
|
4544
4516
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
4545
4517
|
var item = _step.value;
|
|
4546
|
-
|
|
4547
4518
|
var _iterator2 = _createForOfIteratorHelper(fields),
|
|
4548
|
-
|
|
4549
|
-
|
|
4519
|
+
_step2;
|
|
4550
4520
|
try {
|
|
4551
4521
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
4552
4522
|
var field = _step2.value;
|
|
4553
|
-
|
|
4554
4523
|
if (String(this.resolveFieldData(item, field)).toLowerCase().indexOf(filterValue.toLowerCase()) > -1) {
|
|
4555
4524
|
filteredItems.push(item);
|
|
4556
4525
|
break;
|
|
@@ -4568,23 +4537,19 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4568
4537
|
_iterator.f();
|
|
4569
4538
|
}
|
|
4570
4539
|
}
|
|
4571
|
-
|
|
4572
4540
|
return filteredItems;
|
|
4573
4541
|
}
|
|
4574
4542
|
}, {
|
|
4575
4543
|
key: "reorderArray",
|
|
4576
4544
|
value: function reorderArray(value, from, to) {
|
|
4577
4545
|
var target;
|
|
4578
|
-
|
|
4579
4546
|
if (value && from !== to) {
|
|
4580
4547
|
if (to >= value.length) {
|
|
4581
4548
|
target = to - value.length;
|
|
4582
|
-
|
|
4583
4549
|
while (target-- + 1) {
|
|
4584
4550
|
value.push(undefined);
|
|
4585
4551
|
}
|
|
4586
4552
|
}
|
|
4587
|
-
|
|
4588
4553
|
value.splice(to, 0, value.splice(from, 1)[0]);
|
|
4589
4554
|
}
|
|
4590
4555
|
}
|
|
@@ -4592,7 +4557,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4592
4557
|
key: "findIndexInList",
|
|
4593
4558
|
value: function findIndexInList(value, list) {
|
|
4594
4559
|
var index = -1;
|
|
4595
|
-
|
|
4596
4560
|
if (list) {
|
|
4597
4561
|
for (var i = 0; i < list.length; i++) {
|
|
4598
4562
|
if (list[i] === value) {
|
|
@@ -4601,7 +4565,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4601
4565
|
}
|
|
4602
4566
|
}
|
|
4603
4567
|
}
|
|
4604
|
-
|
|
4605
4568
|
return index;
|
|
4606
4569
|
}
|
|
4607
4570
|
}, {
|
|
@@ -4609,8 +4572,7 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4609
4572
|
value: function contains(value, list) {
|
|
4610
4573
|
if (value != null && list && list.length) {
|
|
4611
4574
|
var _iterator3 = _createForOfIteratorHelper(list),
|
|
4612
|
-
|
|
4613
|
-
|
|
4575
|
+
_step3;
|
|
4614
4576
|
try {
|
|
4615
4577
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
4616
4578
|
var val = _step3.value;
|
|
@@ -4622,7 +4584,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4622
4584
|
_iterator3.f();
|
|
4623
4585
|
}
|
|
4624
4586
|
}
|
|
4625
|
-
|
|
4626
4587
|
return false;
|
|
4627
4588
|
}
|
|
4628
4589
|
}, {
|
|
@@ -4630,17 +4591,14 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4630
4591
|
value: function insertIntoOrderedArray(item, index, arr, sourceArr) {
|
|
4631
4592
|
if (arr.length > 0) {
|
|
4632
4593
|
var injected = false;
|
|
4633
|
-
|
|
4634
4594
|
for (var i = 0; i < arr.length; i++) {
|
|
4635
4595
|
var currentItemIndex = this.findIndexInList(arr[i], sourceArr);
|
|
4636
|
-
|
|
4637
4596
|
if (currentItemIndex > index) {
|
|
4638
4597
|
arr.splice(i, 0, item);
|
|
4639
4598
|
injected = true;
|
|
4640
4599
|
break;
|
|
4641
4600
|
}
|
|
4642
4601
|
}
|
|
4643
|
-
|
|
4644
4602
|
if (!injected) {
|
|
4645
4603
|
arr.push(item);
|
|
4646
4604
|
}
|
|
@@ -4654,28 +4612,23 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4654
4612
|
if (str && str.search(/[\xC0-\xFF]/g) > -1) {
|
|
4655
4613
|
str = str.replace(/[\xC0-\xC5]/g, "A").replace(/[\xC6]/g, "AE").replace(/[\xC7]/g, "C").replace(/[\xC8-\xCB]/g, "E").replace(/[\xCC-\xCF]/g, "I").replace(/[\xD0]/g, "D").replace(/[\xD1]/g, "N").replace(/[\xD2-\xD6\xD8]/g, "O").replace(/[\xD9-\xDC]/g, "U").replace(/[\xDD]/g, "Y").replace(/[\xDE]/g, "P").replace(/[\xE0-\xE5]/g, "a").replace(/[\xE6]/g, "ae").replace(/[\xE7]/g, "c").replace(/[\xE8-\xEB]/g, "e").replace(/[\xEC-\xEF]/g, "i").replace(/[\xF1]/g, "n").replace(/[\xF2-\xF6\xF8]/g, "o").replace(/[\xF9-\xFC]/g, "u").replace(/[\xFE]/g, "p").replace(/[\xFD\xFF]/g, "y");
|
|
4656
4614
|
}
|
|
4657
|
-
|
|
4658
4615
|
return str;
|
|
4659
4616
|
}
|
|
4660
4617
|
}, {
|
|
4661
4618
|
key: "getVNodeProp",
|
|
4662
4619
|
value: function getVNodeProp(vnode, prop) {
|
|
4663
4620
|
var props = vnode._props;
|
|
4664
|
-
|
|
4665
4621
|
if (props) {
|
|
4666
4622
|
var kebapProp = prop.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
|
|
4667
4623
|
var propName = Object.prototype.hasOwnProperty.call(props, kebapProp) ? kebapProp : prop;
|
|
4668
4624
|
return props[propName];
|
|
4669
4625
|
}
|
|
4670
|
-
|
|
4671
4626
|
return null;
|
|
4672
4627
|
}
|
|
4673
4628
|
}]);
|
|
4674
|
-
|
|
4675
4629
|
return ObjectUtils;
|
|
4676
4630
|
}();
|
|
4677
4631
|
|
|
4678
|
-
|
|
4679
4632
|
// 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/checkbox/Checkbox.vue?vue&type=script&lang=js&
|
|
4680
4633
|
|
|
4681
4634
|
|
|
@@ -4706,10 +4659,8 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4706
4659
|
methods: {
|
|
4707
4660
|
onClick: function onClick(event) {
|
|
4708
4661
|
var _this = this;
|
|
4709
|
-
|
|
4710
4662
|
if (!this.$attrs.disabled) {
|
|
4711
4663
|
var newModelValue;
|
|
4712
|
-
|
|
4713
4664
|
if (this.binary) {
|
|
4714
4665
|
newModelValue = this.checked ? this.falseValue : this.trueValue;
|
|
4715
4666
|
} else {
|
|
@@ -4717,7 +4668,6 @@ var ObjectUtils_ObjectUtils = /*#__PURE__*/function () {
|
|
|
4717
4668
|
return !ObjectUtils_ObjectUtils.equals(val, _this.value);
|
|
4718
4669
|
});else newModelValue = this.modelValue ? [].concat(_toConsumableArray(this.modelValue), [this.value]) : [this.value];
|
|
4719
4670
|
}
|
|
4720
|
-
|
|
4721
4671
|
this.$emit('click', event);
|
|
4722
4672
|
this.$emit('input', newModelValue);
|
|
4723
4673
|
this.$emit('change', event);
|
package/chip/chip.common.js
CHANGED
|
@@ -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/chip/Chip.vue?vue&type=template&id=ab6909d2&
|
|
549
549
|
var render = function render() {
|
|
550
550
|
var _vm = this,
|
|
551
|
-
|
|
552
|
-
|
|
551
|
+
_c = _vm._self._c;
|
|
553
552
|
return _vm.visible ? _c('div', {
|
|
554
553
|
class: _vm.containerClass
|
|
555
554
|
}, [_vm._t("default", function () {
|
|
@@ -576,7 +575,6 @@ var render = function render() {
|
|
|
576
575
|
}) : _vm._e()];
|
|
577
576
|
})], 2) : _vm._e();
|
|
578
577
|
};
|
|
579
|
-
|
|
580
578
|
var staticRenderFns = [];
|
|
581
579
|
|
|
582
580
|
// CONCATENATED MODULE: ./src/components/chip/Chip.vue?vue&type=template&id=ab6909d2&
|
package/chip/chip.umd.js
CHANGED
|
@@ -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/chip/Chip.vue?vue&type=template&id=ab6909d2&
|
|
558
558
|
var render = function render() {
|
|
559
559
|
var _vm = this,
|
|
560
|
-
|
|
561
|
-
|
|
560
|
+
_c = _vm._self._c;
|
|
562
561
|
return _vm.visible ? _c('div', {
|
|
563
562
|
class: _vm.containerClass
|
|
564
563
|
}, [_vm._t("default", function () {
|
|
@@ -585,7 +584,6 @@ var render = function render() {
|
|
|
585
584
|
}) : _vm._e()];
|
|
586
585
|
})], 2) : _vm._e();
|
|
587
586
|
};
|
|
588
|
-
|
|
589
587
|
var staticRenderFns = [];
|
|
590
588
|
|
|
591
589
|
// CONCATENATED MODULE: ./src/components/chip/Chip.vue?vue&type=template&id=ab6909d2&
|
package/chips/chips.common.js
CHANGED
|
@@ -3473,11 +3473,10 @@ if (typeof window !== 'undefined') {
|
|
|
3473
3473
|
// Indicate to webpack that this file can be concatenated
|
|
3474
3474
|
/* harmony default export */ var setPublicPath = (null);
|
|
3475
3475
|
|
|
3476
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3476
|
+
// 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/chips/Chips.vue?vue&type=template&id=458f0c58&
|
|
3477
3477
|
var render = function render() {
|
|
3478
3478
|
var _vm = this,
|
|
3479
|
-
|
|
3480
|
-
|
|
3479
|
+
_c = _vm._self._c;
|
|
3481
3480
|
return _c('div', {
|
|
3482
3481
|
class: _vm.containerClass
|
|
3483
3482
|
}, [_c('ul', {
|
|
@@ -3537,7 +3536,6 @@ var render = function render() {
|
|
|
3537
3536
|
}
|
|
3538
3537
|
})])], 2)]);
|
|
3539
3538
|
};
|
|
3540
|
-
|
|
3541
3539
|
var staticRenderFns = [];
|
|
3542
3540
|
|
|
3543
3541
|
// CONCATENATED MODULE: ./src/components/chips/Chips.vue?vue&type=template&id=458f0c58&
|
|
@@ -3549,11 +3547,9 @@ var is_array_default = /*#__PURE__*/__webpack_require__.n(is_array);
|
|
|
3549
3547
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayLikeToArray.js
|
|
3550
3548
|
function _arrayLikeToArray(arr, len) {
|
|
3551
3549
|
if (len == null || len > arr.length) len = arr.length;
|
|
3552
|
-
|
|
3553
3550
|
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
3554
3551
|
arr2[i] = arr[i];
|
|
3555
3552
|
}
|
|
3556
|
-
|
|
3557
3553
|
return arr2;
|
|
3558
3554
|
}
|
|
3559
3555
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayWithoutHoles.js
|
|
@@ -3661,49 +3657,40 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
3661
3657
|
},
|
|
3662
3658
|
onBlur: function onBlur(event) {
|
|
3663
3659
|
this.focused = false;
|
|
3664
|
-
|
|
3665
3660
|
if (this.addOnBlur) {
|
|
3666
3661
|
this.addItem(event, event.target.value, false);
|
|
3667
3662
|
}
|
|
3668
|
-
|
|
3669
3663
|
this.$emit('blur', event);
|
|
3670
3664
|
},
|
|
3671
3665
|
onKeyDown: function onKeyDown(event) {
|
|
3672
3666
|
var inputValue = event.target.value;
|
|
3673
|
-
|
|
3674
3667
|
switch (event.which) {
|
|
3675
3668
|
//backspace
|
|
3676
3669
|
case 8:
|
|
3677
3670
|
if (inputValue.length === 0 && this.value && this.value.length > 0) {
|
|
3678
3671
|
this.removeItem(event, this.value.length - 1);
|
|
3679
3672
|
}
|
|
3680
|
-
|
|
3681
3673
|
break;
|
|
3682
|
-
//enter
|
|
3683
3674
|
|
|
3675
|
+
//enter
|
|
3684
3676
|
case 13:
|
|
3685
3677
|
if (inputValue && inputValue.trim().length && !this.maxedOut) {
|
|
3686
3678
|
this.addItem(event, inputValue, true);
|
|
3687
3679
|
}
|
|
3688
|
-
|
|
3689
3680
|
break;
|
|
3690
|
-
|
|
3691
3681
|
default:
|
|
3692
3682
|
if (this.separator) {
|
|
3693
3683
|
if (this.separator === ',' && event.which === 188) {
|
|
3694
3684
|
this.addItem(event, inputValue, true);
|
|
3695
3685
|
}
|
|
3696
3686
|
}
|
|
3697
|
-
|
|
3698
3687
|
break;
|
|
3699
3688
|
}
|
|
3700
3689
|
},
|
|
3701
3690
|
onPaste: function onPaste(event) {
|
|
3702
3691
|
var _this = this;
|
|
3703
|
-
|
|
3704
3692
|
if (this.separator) {
|
|
3705
3693
|
var pastedData = (event.clipboardData || window['clipboardData']).getData('Text');
|
|
3706
|
-
|
|
3707
3694
|
if (pastedData) {
|
|
3708
3695
|
var value = this.value || [];
|
|
3709
3696
|
var pastedValues = pastedData.split(this.separator);
|
|
@@ -3723,7 +3710,6 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
3723
3710
|
});
|
|
3724
3711
|
this.$refs.input.value = '';
|
|
3725
3712
|
this.inputValue = '';
|
|
3726
|
-
|
|
3727
3713
|
if (preventDefault) {
|
|
3728
3714
|
event.preventDefault();
|
|
3729
3715
|
}
|
|
@@ -3731,7 +3717,6 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
3731
3717
|
addItem: function addItem(event, item, preventDefault) {
|
|
3732
3718
|
if (item && item.trim().length) {
|
|
3733
3719
|
var value = this.value ? _toConsumableArray(this.value) : [];
|
|
3734
|
-
|
|
3735
3720
|
if (this.allowDuplicate || value.indexOf(item) === -1) {
|
|
3736
3721
|
value.push(item);
|
|
3737
3722
|
this.updateModel(event, value, preventDefault);
|
|
@@ -3742,9 +3727,7 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
3742
3727
|
if (this.$attrs.disabled) {
|
|
3743
3728
|
return;
|
|
3744
3729
|
}
|
|
3745
|
-
|
|
3746
3730
|
var values = _toConsumableArray(this.value);
|
|
3747
|
-
|
|
3748
3731
|
var removedItem = values.splice(index, 1);
|
|
3749
3732
|
this.$emit('input', values);
|
|
3750
3733
|
this.$emit('remove', {
|
package/chips/chips.umd.js
CHANGED
|
@@ -3482,11 +3482,10 @@ if (typeof window !== 'undefined') {
|
|
|
3482
3482
|
// Indicate to webpack that this file can be concatenated
|
|
3483
3483
|
/* harmony default export */ var setPublicPath = (null);
|
|
3484
3484
|
|
|
3485
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
3485
|
+
// 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/chips/Chips.vue?vue&type=template&id=458f0c58&
|
|
3486
3486
|
var render = function render() {
|
|
3487
3487
|
var _vm = this,
|
|
3488
|
-
|
|
3489
|
-
|
|
3488
|
+
_c = _vm._self._c;
|
|
3490
3489
|
return _c('div', {
|
|
3491
3490
|
class: _vm.containerClass
|
|
3492
3491
|
}, [_c('ul', {
|
|
@@ -3546,7 +3545,6 @@ var render = function render() {
|
|
|
3546
3545
|
}
|
|
3547
3546
|
})])], 2)]);
|
|
3548
3547
|
};
|
|
3549
|
-
|
|
3550
3548
|
var staticRenderFns = [];
|
|
3551
3549
|
|
|
3552
3550
|
// CONCATENATED MODULE: ./src/components/chips/Chips.vue?vue&type=template&id=458f0c58&
|
|
@@ -3558,11 +3556,9 @@ var is_array_default = /*#__PURE__*/__webpack_require__.n(is_array);
|
|
|
3558
3556
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayLikeToArray.js
|
|
3559
3557
|
function _arrayLikeToArray(arr, len) {
|
|
3560
3558
|
if (len == null || len > arr.length) len = arr.length;
|
|
3561
|
-
|
|
3562
3559
|
for (var i = 0, arr2 = new Array(len); i < len; i++) {
|
|
3563
3560
|
arr2[i] = arr[i];
|
|
3564
3561
|
}
|
|
3565
|
-
|
|
3566
3562
|
return arr2;
|
|
3567
3563
|
}
|
|
3568
3564
|
// CONCATENATED MODULE: ./node_modules/@babel/runtime-corejs2/helpers/esm/arrayWithoutHoles.js
|
|
@@ -3670,49 +3666,40 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
3670
3666
|
},
|
|
3671
3667
|
onBlur: function onBlur(event) {
|
|
3672
3668
|
this.focused = false;
|
|
3673
|
-
|
|
3674
3669
|
if (this.addOnBlur) {
|
|
3675
3670
|
this.addItem(event, event.target.value, false);
|
|
3676
3671
|
}
|
|
3677
|
-
|
|
3678
3672
|
this.$emit('blur', event);
|
|
3679
3673
|
},
|
|
3680
3674
|
onKeyDown: function onKeyDown(event) {
|
|
3681
3675
|
var inputValue = event.target.value;
|
|
3682
|
-
|
|
3683
3676
|
switch (event.which) {
|
|
3684
3677
|
//backspace
|
|
3685
3678
|
case 8:
|
|
3686
3679
|
if (inputValue.length === 0 && this.value && this.value.length > 0) {
|
|
3687
3680
|
this.removeItem(event, this.value.length - 1);
|
|
3688
3681
|
}
|
|
3689
|
-
|
|
3690
3682
|
break;
|
|
3691
|
-
//enter
|
|
3692
3683
|
|
|
3684
|
+
//enter
|
|
3693
3685
|
case 13:
|
|
3694
3686
|
if (inputValue && inputValue.trim().length && !this.maxedOut) {
|
|
3695
3687
|
this.addItem(event, inputValue, true);
|
|
3696
3688
|
}
|
|
3697
|
-
|
|
3698
3689
|
break;
|
|
3699
|
-
|
|
3700
3690
|
default:
|
|
3701
3691
|
if (this.separator) {
|
|
3702
3692
|
if (this.separator === ',' && event.which === 188) {
|
|
3703
3693
|
this.addItem(event, inputValue, true);
|
|
3704
3694
|
}
|
|
3705
3695
|
}
|
|
3706
|
-
|
|
3707
3696
|
break;
|
|
3708
3697
|
}
|
|
3709
3698
|
},
|
|
3710
3699
|
onPaste: function onPaste(event) {
|
|
3711
3700
|
var _this = this;
|
|
3712
|
-
|
|
3713
3701
|
if (this.separator) {
|
|
3714
3702
|
var pastedData = (event.clipboardData || window['clipboardData']).getData('Text');
|
|
3715
|
-
|
|
3716
3703
|
if (pastedData) {
|
|
3717
3704
|
var value = this.value || [];
|
|
3718
3705
|
var pastedValues = pastedData.split(this.separator);
|
|
@@ -3732,7 +3719,6 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
3732
3719
|
});
|
|
3733
3720
|
this.$refs.input.value = '';
|
|
3734
3721
|
this.inputValue = '';
|
|
3735
|
-
|
|
3736
3722
|
if (preventDefault) {
|
|
3737
3723
|
event.preventDefault();
|
|
3738
3724
|
}
|
|
@@ -3740,7 +3726,6 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
3740
3726
|
addItem: function addItem(event, item, preventDefault) {
|
|
3741
3727
|
if (item && item.trim().length) {
|
|
3742
3728
|
var value = this.value ? _toConsumableArray(this.value) : [];
|
|
3743
|
-
|
|
3744
3729
|
if (this.allowDuplicate || value.indexOf(item) === -1) {
|
|
3745
3730
|
value.push(item);
|
|
3746
3731
|
this.updateModel(event, value, preventDefault);
|
|
@@ -3751,9 +3736,7 @@ var es6_number_constructor = __webpack_require__("c5f6");
|
|
|
3751
3736
|
if (this.$attrs.disabled) {
|
|
3752
3737
|
return;
|
|
3753
3738
|
}
|
|
3754
|
-
|
|
3755
3739
|
var values = _toConsumableArray(this.value);
|
|
3756
|
-
|
|
3757
3740
|
var removedItem = values.splice(index, 1);
|
|
3758
3741
|
this.$emit('input', values);
|
|
3759
3742
|
this.$emit('remove', {
|