@web-utils/component 2.7.29 → 2.7.31
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/dist/chunks/{config.7dec2bf2.js → config.75161c38.js} +29 -29
- package/dist/chunks/confirmable-mixin.851d6299.js +137 -0
- package/dist/chunks/dataformat.b8c8c01a.js +237 -0
- package/dist/chunks/detail.6135ade5.js +55 -0
- package/dist/chunks/dic.e57b75f2.js +215 -0
- package/dist/chunks/{event.fc358074.js → event.812c361c.js} +54 -23
- package/dist/chunks/{form-input-mixin.760cd65d.js → form-input-mixin.3e63b57f.js} +4 -4
- package/dist/chunks/{form-item-mixin.fa314b67.js → form-item-mixin.a56c101a.js} +44 -17
- package/dist/chunks/{form-pick-mixin.c4e0391b.js → form-pick-mixin.822300f3.js} +1 -1
- package/dist/chunks/{init.e0133910.js → init.38cbb3a2.js} +41 -21
- package/dist/chunks/{input-number-mixin.6849fa63.js → input-number-mixin.44b78389.js} +4 -4
- package/dist/chunks/{mixins.6a394a6c.js → mixins.e1939731.js} +3 -2
- package/dist/chunks/{packages.419bde01.js → packages.c4ea639d.js} +12 -6
- package/dist/chunks/{permission.07c49abf.js → permission.9c766972.js} +6 -1
- package/dist/chunks/slot.55598d0f.js +35 -0
- package/dist/chunks/{tab-mixin.9d568df9.js → tab-mixin.9d848bf6.js} +29 -11
- package/dist/chunks/util.b0d0b0ad.js +478 -0
- package/dist/chunks/{utils.d7f73f8d.js → utils.2a3ffac9.js} +89 -24
- package/dist/chunks/{utils.f44207f4.js → utils.a8891d2c.js} +9 -5
- package/dist/chunks/vueComponentNormalizer.9c6b8b3d.js +59 -0
- package/dist/components/address-input/index.js +30 -17
- package/dist/components/address-input/style.css +15 -1
- package/dist/components/affix/index.js +78 -28
- package/dist/components/affix/style.css +5 -1
- package/dist/components/aside-menu/index.js +14 -8
- package/dist/components/aside-menu/style.css +9 -1
- package/dist/components/avatar/index.js +33 -15
- package/dist/components/avatar/style.css +57 -1
- package/dist/components/awesome-button/index.js +45 -31
- package/dist/components/base.css +410 -1
- package/dist/components/capsule-tab/index.js +13 -7
- package/dist/components/capsule-tab/style.css +32 -1
- package/dist/components/card/index.js +33 -20
- package/dist/components/card/style.css +90 -1
- package/dist/components/carousel/index.js +18 -12
- package/dist/components/carousel/style.css +41 -1
- package/dist/components/chat/index.js +245 -139
- package/dist/components/chat/style.css +279 -1
- package/dist/components/chunk-file-uploader/index.js +63 -29
- package/dist/components/chunk-file-uploader/style.css +4 -1
- package/dist/components/chunk-file-uploader-button/index.js +15 -9
- package/dist/components/chunk-file-uploader-button/style.css +17 -1
- package/dist/components/chunk-file-uploader-drop/index.js +45 -27
- package/dist/components/chunk-file-uploader-drop/style.css +12 -1
- package/dist/components/chunk-file-uploader-file/index.js +150 -73
- package/dist/components/chunk-file-uploader-file/style.css +125 -1
- package/dist/components/chunk-file-uploader-files/index.js +15 -9
- package/dist/components/chunk-file-uploader-files/style.css +9 -1
- package/dist/components/chunk-file-uploader-list/index.js +16 -10
- package/dist/components/chunk-file-uploader-list/style.css +9 -1
- package/dist/components/chunk-file-uploader-un-support/index.js +18 -10
- package/dist/components/chunk-file-uploader-un-support/style.css +6 -1
- package/dist/components/code-mirror-editor/index.js +75 -47
- package/dist/components/code-mirror-editor/style.css +17 -1
- package/dist/components/color-picker/index.js +62 -39
- package/dist/components/column/index.js +54 -29
- package/dist/components/column-default/index.js +47 -33
- package/dist/components/column-dynamic/index.js +26 -19
- package/dist/components/column-menu/index.js +98 -86
- package/dist/components/column-slot/index.js +135 -75
- package/dist/components/comment/index.js +28 -15
- package/dist/components/comment/style.css +92 -1
- package/dist/components/confirm-button/index.js +7 -5
- package/dist/components/confirmable/index.js +5 -4
- package/dist/components/context-menu/index.js +54 -32
- package/dist/components/context-menu/style.css +88 -1
- package/dist/components/count-up/index.js +55 -38
- package/dist/components/custom-scrollbar/index.js +45 -21
- package/dist/components/data-box/index.js +22 -16
- package/dist/components/data-box/style.css +58 -1
- package/dist/components/data-card/index.js +21 -15
- package/dist/components/data-card/style.css +46 -1
- package/dist/components/data-cardtext/index.js +19 -13
- package/dist/components/data-cardtext/style.css +36 -1
- package/dist/components/data-display/index.js +22 -16
- package/dist/components/data-display/style.css +37 -1
- package/dist/components/data-icons/index.js +23 -17
- package/dist/components/data-icons/style.css +53 -1
- package/dist/components/data-imgtext/index.js +26 -20
- package/dist/components/data-imgtext/style.css +70 -1
- package/dist/components/data-operatext/index.js +20 -14
- package/dist/components/data-operatext/style.css +81 -1
- package/dist/components/data-panel/index.js +21 -15
- package/dist/components/data-panel/style.css +37 -1
- package/dist/components/data-pay/index.js +29 -23
- package/dist/components/data-pay/style.css +102 -1
- package/dist/components/data-price/index.js +19 -13
- package/dist/components/data-price/style.css +81 -1
- package/dist/components/data-progress/index.js +26 -20
- package/dist/components/data-progress/style.css +30 -1
- package/dist/components/data-rotate/index.js +21 -15
- package/dist/components/data-rotate/style.css +50 -1
- package/dist/components/data-table-picker/index.js +47 -28
- package/dist/components/data-tabs/index.js +22 -16
- package/dist/components/data-tabs/style.css +70 -1
- package/dist/components/dialog-column/index.js +46 -33
- package/dist/components/dialog-excel/index.js +102 -53
- package/dist/components/dialog-filter/index.js +64 -51
- package/dist/components/dialog-form/index.js +56 -115
- package/dist/components/dialog-form/style.css +10 -1
- package/dist/components/dynamic-table/index.js +66 -42
- package/dist/components/dynamic-table/style.css +30 -1
- package/dist/components/e-charts/index.js +127 -46
- package/dist/components/e-charts/style.css +10 -1
- package/dist/components/easy-popup/index.js +32 -14
- package/dist/components/easy-popup/style.css +18 -1
- package/dist/components/editable-progress/index.js +64 -31
- package/dist/components/editable-progress/style.css +37 -1
- package/dist/components/editable-tree/index.js +513 -287
- package/dist/components/editable-tree/style.css +82 -1
- package/dist/components/egd-collapse/index.js +25 -12
- package/dist/components/egd-collapse-item/index.js +41 -25
- package/dist/components/element-dialog/index.js +101 -48
- package/dist/components/element-dialog/style.css +88 -1
- package/dist/components/empty-view/index.js +13 -7
- package/dist/components/empty-view/style.css +17 -1
- package/dist/components/error-view/index.js +12 -6
- package/dist/components/error-view/style.css +17 -1
- package/dist/components/flex-column/index.js +39 -17
- package/dist/components/flex-item/index.js +59 -24
- package/dist/components/flex-row/index.js +39 -17
- package/dist/components/flex-scroller/index.js +13 -7
- package/dist/components/flex-scroller/style.css +20 -1
- package/dist/components/flow/index.js +116 -64
- package/dist/components/flow/style.css +44 -1
- package/dist/components/flow-node/index.js +29 -21
- package/dist/components/flow-viewer/index.js +97 -52
- package/dist/components/flow-viewer/style.css +19 -1
- package/dist/components/form-button/index.js +12 -8
- package/dist/components/form-cascader/index.js +55 -40
- package/dist/components/form-checkbox-group/index.js +90 -60
- package/dist/components/form-checkbox-group/style.css +51 -1
- package/dist/components/form-date-picker/index.js +113 -44
- package/dist/components/form-group/index.js +23 -17
- package/dist/components/form-group/style.css +76 -1
- package/dist/components/form-holder/index.js +41 -30
- package/dist/components/form-input/index.js +42 -31
- package/dist/components/form-input-email/index.js +47 -30
- package/dist/components/form-input-id-card/index.js +40 -29
- package/dist/components/form-input-number/index.js +50 -38
- package/dist/components/form-input-number/style.css +12 -1
- package/dist/components/form-input-phone-number/index.js +40 -29
- package/dist/components/form-input-time/index.js +40 -29
- package/dist/components/form-item/index.js +99 -47
- package/dist/components/form-item/style.css +11 -1
- package/dist/components/form-item-config-provider/index.js +9 -8
- package/dist/components/form-item-group/index.js +69 -43
- package/dist/components/form-item-group/style.css +30 -1
- package/dist/components/form-radio-group/index.js +77 -53
- package/dist/components/form-radio-group/style.css +53 -1
- package/dist/components/form-select/index.js +71 -51
- package/dist/components/form-switch/index.js +41 -30
- package/dist/components/form-temp/index.js +49 -29
- package/dist/components/form-textarea/index.js +45 -34
- package/dist/components/form-view/index.js +152 -81
- package/dist/components/form-view/style.css +158 -1
- package/dist/components/fy-array/index.js +51 -43
- package/dist/components/fy-array/style.css +18 -1
- package/dist/components/fy-article/index.js +24 -13
- package/dist/components/fy-article/style.css +40 -1
- package/dist/components/fy-cascader/index.js +39 -29
- package/dist/components/fy-checkbox/index.js +38 -27
- package/dist/components/fy-checkbox/style.css +15 -1
- package/dist/components/fy-code/index.js +19 -12
- package/dist/components/fy-curd/index.js +290 -152
- package/dist/components/fy-curd/style.css +239 -1
- package/dist/components/fy-date/index.js +24 -18
- package/dist/components/fy-date/style.css +21 -1
- package/dist/components/fy-dialog-form/index.js +127 -54
- package/dist/components/fy-draggable/index.js +196 -73
- package/dist/components/fy-draggable/style.css +136 -1
- package/dist/components/fy-dynamic/index.js +116 -73
- package/dist/components/fy-dynamic/style.css +35 -1
- package/dist/components/fy-empty/index.js +15 -9
- package/dist/components/fy-empty/style.css +24 -1
- package/dist/components/fy-form/index.js +399 -221
- package/dist/components/fy-form/style.css +79 -1
- package/dist/components/fy-form-design/index.js +2267 -1630
- package/dist/components/fy-form-design/style.css +578 -1
- package/dist/components/fy-form-menu/index.js +43 -35
- package/dist/components/fy-input/index.js +46 -35
- package/dist/components/fy-input-color/index.js +40 -33
- package/dist/components/fy-input-icon/index.js +58 -37
- package/dist/components/fy-input-icon/style.css +39 -1
- package/dist/components/fy-input-map/index.js +113 -68
- package/dist/components/fy-input-map/style.css +50 -1
- package/dist/components/fy-input-number/index.js +29 -24
- package/dist/components/fy-input-table/index.js +82 -48
- package/dist/components/fy-input-table/style.css +10 -1
- package/dist/components/fy-input-tree/index.js +104 -60
- package/dist/components/fy-input-tree/style.css +25 -1
- package/dist/components/fy-progress/index.js +15 -10
- package/dist/components/fy-radio/index.js +20 -14
- package/dist/components/fy-radio/style.css +12 -1
- package/dist/components/fy-rate/index.js +21 -15
- package/dist/components/fy-rate/style.css +9 -1
- package/dist/components/fy-select/index.js +73 -55
- package/dist/components/fy-select/style.css +25 -1
- package/dist/components/fy-slider/index.js +22 -17
- package/dist/components/fy-switch/index.js +17 -12
- package/dist/components/fy-tabs/index.js +20 -12
- package/dist/components/fy-tabs/style.css +6 -0
- package/dist/components/fy-time/index.js +29 -18
- package/dist/components/fy-title/index.js +16 -8
- package/dist/components/fy-title/style.css +11 -1
- package/dist/components/fy-tree/index.js +135 -72
- package/dist/components/fy-tree/style.css +46 -1
- package/dist/components/fy-u-editor/index.js +172 -67
- package/dist/components/fy-u-editor/style.css +15 -1
- package/dist/components/fy-upload/index.js +317 -148
- package/dist/components/fy-upload/style.css +60 -1
- package/dist/components/guide-steps/index.js +31 -17
- package/dist/components/guide-steps/style.css +34 -1
- package/dist/components/header-menu/index.js +86 -66
- package/dist/components/header-search/index.js +92 -60
- package/dist/components/highlight-j-s/index.js +28 -15
- package/dist/components/highlight-j-s/style.css +21 -1
- package/dist/components/icon-card/index.js +13 -7
- package/dist/components/icon-card/style.css +56 -1
- package/dist/components/icon-temp/index.js +12 -6
- package/dist/components/icon-temp/style.css +21 -1
- package/dist/components/iframe-window/index.js +20 -14
- package/dist/components/iframe-window/style.css +20 -1
- package/dist/components/image-cropper/index.js +71 -162
- package/dist/components/image-cropper/style.css +34 -1
- package/dist/components/image-preview/index.js +78 -170
- package/dist/components/image-preview/style.css +72 -1
- package/dist/components/image-viewer/index.js +40 -22
- package/dist/components/image-viewer/style.css +21 -1
- package/dist/components/input-number/index.js +122 -56
- package/dist/components/input-number/style.css +15 -1
- package/dist/components/input-number-range/index.js +32 -20
- package/dist/components/input-number-range/style.css +12 -1
- package/dist/components/keep-view-alive/index.js +68 -21
- package/dist/components/keyboard/index.js +217 -132
- package/dist/components/keyboard/style.css +547 -1
- package/dist/components/license/index.js +81 -35
- package/dist/components/loading-view/index.js +12 -6
- package/dist/components/loading-view/style.css +17 -1
- package/dist/components/login/index.js +91 -62
- package/dist/components/login/style.css +25 -1
- package/dist/components/name-avatar/index.js +32 -10
- package/dist/components/name-avatar/style.css +35 -1
- package/dist/components/nav-bar/index.js +21 -11
- package/dist/components/nav-bar/style.css +17 -1
- package/dist/components/not-implement/index.js +16 -8
- package/dist/components/not-implement/style.css +15 -1
- package/dist/components/notice/index.js +40 -27
- package/dist/components/notice/style.css +54 -1
- package/dist/components/page/index.js +13 -7
- package/dist/components/page/style.css +12 -1
- package/dist/components/page-header/index.js +15 -9
- package/dist/components/page-header/style.css +14 -1
- package/dist/components/page-index/index.js +62 -37
- package/dist/components/page-index/style.css +23 -1
- package/dist/components/page-index-top/index.js +53 -34
- package/dist/components/page-skeleton/index.js +15 -9
- package/dist/components/page-skeleton/style.css +23 -1
- package/dist/components/page-skeleton-new/index.js +15 -9
- package/dist/components/page-skeleton-new/style.css +42 -1
- package/dist/components/pageable-table/index.js +187 -106
- package/dist/components/pageable-table/style.css +72 -1
- package/dist/components/pageable-view/index.js +164 -80
- package/dist/components/pageable-view/style.css +69 -1
- package/dist/components/photo-swipe/index.js +92 -46
- package/dist/components/process-designer/index.js +961 -772
- package/dist/components/process-designer/style.css +1186 -1
- package/dist/components/properties-panel/index.js +1488 -1044
- package/dist/components/properties-panel/style.css +122 -1
- package/dist/components/queue/index.js +24 -12
- package/dist/components/record-video/index.js +53 -27
- package/dist/components/record-video/style.css +53 -1
- package/dist/components/resize-observer/index.js +52 -18
- package/dist/components/resize-observer/style.css +31 -1
- package/dist/components/search/index.js +41 -22
- package/dist/components/search/style.css +57 -1
- package/dist/components/search-popover/index.js +153 -91
- package/dist/components/search-popover/style.css +93 -1
- package/dist/components/sign/index.js +138 -35
- package/dist/components/sign/style.css +12 -1
- package/dist/components/sign-panel/index.js +96 -46
- package/dist/components/sign-panel/style.css +97 -1
- package/dist/components/skeleton/index.js +22 -12
- package/dist/components/skeleton/style.css +61 -1
- package/dist/components/split-pane/index.js +125 -60
- package/dist/components/split-pane/style.css +100 -1
- package/dist/components/stateful/index.js +8 -5
- package/dist/components/stateful/style.css +33 -1
- package/dist/components/static-pageable-table/index.js +22 -15
- package/dist/components/static-pageable-table/style.css +9 -1
- package/dist/components/swiper/index.js +127 -58
- package/dist/components/swiper/style.css +43 -1
- package/dist/components/tab/index.js +34 -16
- package/dist/components/tab/style.css +122 -1
- package/dist/components/tab-item/index.js +14 -9
- package/dist/components/table-column/index.js +26 -17
- package/dist/components/table-page/index.js +42 -23
- package/dist/components/table-view/index.js +162 -87
- package/dist/components/table-view/style.css +95 -1
- package/dist/components/tag-render/index.js +41 -22
- package/dist/components/tag-render/style.css +33 -1
- package/dist/components/text-ellipsis/index.js +48 -26
- package/dist/components/text-ellipsis/style.css +9 -1
- package/dist/components/tinymce-editor/index.js +80 -60
- package/dist/components/tinymce-editor/style.css +43 -1
- package/dist/components/tinymce-wrapper/index.js +77 -41
- package/dist/components/tinymce-wrapper/style.css +36 -1
- package/dist/components/toolbar/index.js +46 -25
- package/dist/components/toolbar/style.css +39 -1
- package/dist/components/toolbar-button/index.js +46 -35
- package/dist/components/toolbar-button/style.css +21 -1
- package/dist/components/trigger/index.js +15 -8
- package/dist/components/verify/index.js +15 -8
- package/dist/components/verify/style.css +15 -1
- package/dist/components/vue-tags-input/index.js +233 -113
- package/dist/components/vue-tags-input/style.css +688 -1
- package/dist/components/watermark/index.js +33 -14
- package/dist/components/watermark/style.css +11 -1
- package/dist/index.css +2434 -1750
- package/dist/index.es.js +15982 -9409
- package/package.json +4 -4
- package/web-types.json +1 -1
- package/dist/chunks/confirmable-mixin.35bd1934.js +0 -104
- package/dist/chunks/dataformat.9cc4428a.js +0 -158
- package/dist/chunks/detail.544c52b0.js +0 -29
- package/dist/chunks/dic.9de2fe5a.js +0 -135
- package/dist/chunks/slot.a7387ecc.js +0 -27
- package/dist/chunks/util.89913643.js +0 -261
- package/dist/chunks/vueComponentNormalizer.77ec6792.js +0 -32
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
1
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.9c6b8b3d.js";
|
|
2
2
|
var render = function() {
|
|
3
|
-
var _vm = this
|
|
3
|
+
var _vm = this;
|
|
4
|
+
var _h = _vm.$createElement;
|
|
5
|
+
var _c = _vm._self._c || _h;
|
|
4
6
|
return _c("div", {
|
|
5
7
|
staticClass: "tags-input-root"
|
|
6
8
|
}, [_c("div", {
|
|
@@ -11,16 +13,17 @@ var render = function() {
|
|
|
11
13
|
staticClass: "el-tag el-tag--medium el-tag--light"
|
|
12
14
|
}, [_c("span", {
|
|
13
15
|
domProps: {
|
|
14
|
-
innerHTML: _vm._s(tag.value)
|
|
16
|
+
"innerHTML": _vm._s(tag.value)
|
|
15
17
|
}
|
|
16
18
|
}), _c("i", {
|
|
17
19
|
staticClass: "tags-input-remove ov",
|
|
18
20
|
attrs: {
|
|
19
|
-
href: "#"
|
|
21
|
+
"href": "#"
|
|
20
22
|
},
|
|
21
23
|
on: {
|
|
22
|
-
click: function($event) {
|
|
23
|
-
|
|
24
|
+
"click": function($event) {
|
|
25
|
+
$event.preventDefault();
|
|
26
|
+
return _vm.removeTag(index);
|
|
24
27
|
}
|
|
25
28
|
}
|
|
26
29
|
})]);
|
|
@@ -33,35 +36,48 @@ var render = function() {
|
|
|
33
36
|
}],
|
|
34
37
|
ref: "taginput",
|
|
35
38
|
staticStyle: {
|
|
36
|
-
height: "28px",
|
|
39
|
+
"height": "28px",
|
|
37
40
|
"margin-top": "5px",
|
|
38
41
|
"line-height": "28px"
|
|
39
42
|
},
|
|
40
43
|
attrs: {
|
|
41
|
-
type: "text",
|
|
42
|
-
placeholder: _vm.placeholder
|
|
44
|
+
"type": "text",
|
|
45
|
+
"placeholder": _vm.placeholder
|
|
43
46
|
},
|
|
44
47
|
domProps: {
|
|
45
|
-
value: _vm.input
|
|
48
|
+
"value": _vm.input
|
|
46
49
|
},
|
|
47
50
|
on: {
|
|
48
|
-
keydown: [function($event) {
|
|
49
|
-
|
|
51
|
+
"keydown": [function($event) {
|
|
52
|
+
if (!$event.type.indexOf("key") && _vm._k($event.keyCode, "enter", 13, $event.key, "Enter"))
|
|
53
|
+
return null;
|
|
54
|
+
$event.preventDefault();
|
|
55
|
+
return _vm.tagFromInput(false);
|
|
50
56
|
}, function($event) {
|
|
51
|
-
|
|
57
|
+
if (!$event.type.indexOf("key") && $event.keyCode !== 8)
|
|
58
|
+
return null;
|
|
59
|
+
return _vm.removeLastTag.apply(null, arguments);
|
|
52
60
|
}, function($event) {
|
|
53
|
-
|
|
61
|
+
if (!$event.type.indexOf("key") && _vm._k($event.keyCode, "down", 40, $event.key, ["Down", "ArrowDown"]))
|
|
62
|
+
return null;
|
|
63
|
+
return _vm.nextSearchResult.apply(null, arguments);
|
|
54
64
|
}, function($event) {
|
|
55
|
-
|
|
65
|
+
if (!$event.type.indexOf("key") && _vm._k($event.keyCode, "up", 38, $event.key, ["Up", "ArrowUp"]))
|
|
66
|
+
return null;
|
|
67
|
+
return _vm.prevSearchResult.apply(null, arguments);
|
|
56
68
|
}, _vm.onKeyDown],
|
|
57
|
-
keyup: [_vm.onKeyUp, function($event) {
|
|
58
|
-
|
|
69
|
+
"keyup": [_vm.onKeyUp, function($event) {
|
|
70
|
+
if (!$event.type.indexOf("key") && _vm._k($event.keyCode, "esc", 27, $event.key, ["Esc", "Escape"]))
|
|
71
|
+
return null;
|
|
72
|
+
return _vm.clearSearchResults.apply(null, arguments);
|
|
59
73
|
}],
|
|
60
|
-
focus: _vm.onFocus,
|
|
61
|
-
blur: _vm.onBlur,
|
|
62
|
-
value: _vm.tags,
|
|
63
|
-
input: function($event) {
|
|
64
|
-
|
|
74
|
+
"focus": _vm.onFocus,
|
|
75
|
+
"blur": _vm.onBlur,
|
|
76
|
+
"value": _vm.tags,
|
|
77
|
+
"input": function($event) {
|
|
78
|
+
if ($event.target.composing)
|
|
79
|
+
return;
|
|
80
|
+
_vm.input = $event.target.value;
|
|
65
81
|
}
|
|
66
82
|
}
|
|
67
83
|
}), _vm.elementId ? _c("input", {
|
|
@@ -72,16 +88,18 @@ var render = function() {
|
|
|
72
88
|
expression: "hiddenInput"
|
|
73
89
|
}],
|
|
74
90
|
attrs: {
|
|
75
|
-
id: _vm.elementId,
|
|
76
|
-
type: "hidden",
|
|
77
|
-
name: _vm.elementId
|
|
91
|
+
"id": _vm.elementId,
|
|
92
|
+
"type": "hidden",
|
|
93
|
+
"name": _vm.elementId
|
|
78
94
|
},
|
|
79
95
|
domProps: {
|
|
80
|
-
value: _vm.hiddenInput
|
|
96
|
+
"value": _vm.hiddenInput
|
|
81
97
|
},
|
|
82
98
|
on: {
|
|
83
|
-
input: function($event) {
|
|
84
|
-
|
|
99
|
+
"input": function($event) {
|
|
100
|
+
if ($event.target.composing)
|
|
101
|
+
return;
|
|
102
|
+
_vm.hiddenInput = $event.target.value;
|
|
85
103
|
}
|
|
86
104
|
}
|
|
87
105
|
}) : _vm._e()], 2), _c("div", {
|
|
@@ -93,17 +111,18 @@ var render = function() {
|
|
|
93
111
|
}]
|
|
94
112
|
}, [_vm.typeaheadStyle === "badges" ? _c("p", {
|
|
95
113
|
class: `typeahead-${_vm.typeaheadStyle}`
|
|
96
|
-
}, [_vm.typeaheadHideDiscard ?
|
|
114
|
+
}, [!_vm.typeaheadHideDiscard ? _c("span", {
|
|
97
115
|
staticClass: "tags-input-badge typeahead-hide-btn tags-input-typeahead-item-default",
|
|
98
116
|
domProps: {
|
|
99
|
-
textContent: _vm._s(_vm.discardSearchText)
|
|
117
|
+
"textContent": _vm._s(_vm.discardSearchText)
|
|
100
118
|
},
|
|
101
119
|
on: {
|
|
102
|
-
click: function($event) {
|
|
103
|
-
|
|
120
|
+
"click": function($event) {
|
|
121
|
+
$event.preventDefault();
|
|
122
|
+
return _vm.clearSearchResults.apply(null, arguments);
|
|
104
123
|
}
|
|
105
124
|
}
|
|
106
|
-
}), _vm._l(_vm.searchResults, function(tag, index) {
|
|
125
|
+
}) : _vm._e(), _vm._l(_vm.searchResults, function(tag, index) {
|
|
107
126
|
return _c("span", {
|
|
108
127
|
key: index,
|
|
109
128
|
staticClass: "tags-input-badge",
|
|
@@ -112,30 +131,32 @@ var render = function() {
|
|
|
112
131
|
"tags-input-typeahead-item-highlighted-default": index == _vm.searchSelection
|
|
113
132
|
},
|
|
114
133
|
domProps: {
|
|
115
|
-
innerHTML: _vm._s(tag.value)
|
|
134
|
+
"innerHTML": _vm._s(tag.value)
|
|
116
135
|
},
|
|
117
136
|
on: {
|
|
118
|
-
mouseover: function($event) {
|
|
137
|
+
"mouseover": function($event) {
|
|
119
138
|
_vm.searchSelection = index;
|
|
120
139
|
},
|
|
121
|
-
mousedown: function($event) {
|
|
122
|
-
|
|
140
|
+
"mousedown": function($event) {
|
|
141
|
+
$event.preventDefault();
|
|
142
|
+
return _vm.tagFromSearchOnClick(tag);
|
|
123
143
|
}
|
|
124
144
|
}
|
|
125
145
|
});
|
|
126
146
|
})], 2) : _vm.typeaheadStyle === "dropdown" ? _c("ul", {
|
|
127
147
|
class: `typeahead-${_vm.typeaheadStyle}`
|
|
128
|
-
}, [_vm.typeaheadHideDiscard ?
|
|
148
|
+
}, [!_vm.typeaheadHideDiscard ? _c("li", {
|
|
129
149
|
staticClass: "tags-input-typeahead-item-default typeahead-hide-btn",
|
|
130
150
|
domProps: {
|
|
131
|
-
textContent: _vm._s(_vm.discardSearchText)
|
|
151
|
+
"textContent": _vm._s(_vm.discardSearchText)
|
|
132
152
|
},
|
|
133
153
|
on: {
|
|
134
|
-
mousedown: function($event) {
|
|
135
|
-
|
|
154
|
+
"mousedown": function($event) {
|
|
155
|
+
$event.preventDefault();
|
|
156
|
+
return _vm.clearSearchResults.apply(null, arguments);
|
|
136
157
|
}
|
|
137
158
|
}
|
|
138
|
-
}), _vm._l(_vm.searchResults, function(tag, index) {
|
|
159
|
+
}) : _vm._e(), _vm._l(_vm.searchResults, function(tag, index) {
|
|
139
160
|
return _c("li", {
|
|
140
161
|
key: index,
|
|
141
162
|
class: {
|
|
@@ -143,19 +164,22 @@ var render = function() {
|
|
|
143
164
|
"tags-input-typeahead-item-highlighted-default": index == _vm.searchSelection
|
|
144
165
|
},
|
|
145
166
|
domProps: {
|
|
146
|
-
innerHTML: _vm._s(tag.value)
|
|
167
|
+
"innerHTML": _vm._s(tag.value)
|
|
147
168
|
},
|
|
148
169
|
on: {
|
|
149
|
-
mouseover: function($event) {
|
|
170
|
+
"mouseover": function($event) {
|
|
150
171
|
_vm.searchSelection = index;
|
|
151
172
|
},
|
|
152
|
-
mousedown: function($event) {
|
|
153
|
-
|
|
173
|
+
"mousedown": function($event) {
|
|
174
|
+
$event.preventDefault();
|
|
175
|
+
return _vm.tagFromSearchOnClick(tag);
|
|
154
176
|
}
|
|
155
177
|
}
|
|
156
178
|
});
|
|
157
179
|
})], 2) : _vm._e()])]);
|
|
158
|
-
}
|
|
180
|
+
};
|
|
181
|
+
var staticRenderFns = [];
|
|
182
|
+
const VueTagsInput_vue_vue_type_style_index_0_lang = "";
|
|
159
183
|
const __vue2_script = {
|
|
160
184
|
name: "VueTagsInput",
|
|
161
185
|
props: {
|
|
@@ -164,15 +188,19 @@ const __vue2_script = {
|
|
|
164
188
|
},
|
|
165
189
|
existingTags: {
|
|
166
190
|
type: Array,
|
|
167
|
-
default: () =>
|
|
191
|
+
default: () => {
|
|
192
|
+
return [];
|
|
193
|
+
}
|
|
168
194
|
},
|
|
169
195
|
value: {
|
|
170
196
|
type: Array,
|
|
171
|
-
default: () =>
|
|
197
|
+
default: () => {
|
|
198
|
+
return [];
|
|
199
|
+
}
|
|
172
200
|
},
|
|
173
201
|
typeahead: {
|
|
174
202
|
type: Boolean,
|
|
175
|
-
default:
|
|
203
|
+
default: false
|
|
176
204
|
},
|
|
177
205
|
typeaheadStyle: {
|
|
178
206
|
type: String,
|
|
@@ -188,11 +216,11 @@ const __vue2_script = {
|
|
|
188
216
|
},
|
|
189
217
|
typeaheadAlwaysShow: {
|
|
190
218
|
type: Boolean,
|
|
191
|
-
default:
|
|
219
|
+
default: false
|
|
192
220
|
},
|
|
193
221
|
typeaheadHideDiscard: {
|
|
194
222
|
type: Boolean,
|
|
195
|
-
default:
|
|
223
|
+
default: false
|
|
196
224
|
},
|
|
197
225
|
placeholder: {
|
|
198
226
|
type: String,
|
|
@@ -208,31 +236,31 @@ const __vue2_script = {
|
|
|
208
236
|
},
|
|
209
237
|
onlyExistingTags: {
|
|
210
238
|
type: Boolean,
|
|
211
|
-
default:
|
|
239
|
+
default: false
|
|
212
240
|
},
|
|
213
241
|
deleteOnBackspace: {
|
|
214
242
|
type: Boolean,
|
|
215
|
-
default:
|
|
243
|
+
default: true
|
|
216
244
|
},
|
|
217
245
|
allowDuplicates: {
|
|
218
246
|
type: Boolean,
|
|
219
|
-
default:
|
|
247
|
+
default: false
|
|
220
248
|
},
|
|
221
249
|
validate: {
|
|
222
250
|
type: Function,
|
|
223
|
-
default: () =>
|
|
251
|
+
default: () => true
|
|
224
252
|
},
|
|
225
253
|
addTagsOnComma: {
|
|
226
254
|
type: Boolean,
|
|
227
|
-
default:
|
|
255
|
+
default: false
|
|
228
256
|
},
|
|
229
257
|
addTagsOnSpace: {
|
|
230
258
|
type: Boolean,
|
|
231
|
-
default:
|
|
259
|
+
default: false
|
|
232
260
|
},
|
|
233
261
|
addTagsOnBlur: {
|
|
234
262
|
type: Boolean,
|
|
235
|
-
default:
|
|
263
|
+
default: false
|
|
236
264
|
},
|
|
237
265
|
wrapperClass: {
|
|
238
266
|
type: String,
|
|
@@ -240,19 +268,19 @@ const __vue2_script = {
|
|
|
240
268
|
},
|
|
241
269
|
sortSearchResults: {
|
|
242
270
|
type: Boolean,
|
|
243
|
-
default:
|
|
271
|
+
default: true
|
|
244
272
|
},
|
|
245
273
|
caseSensitiveTags: {
|
|
246
274
|
type: Boolean,
|
|
247
|
-
default:
|
|
275
|
+
default: false
|
|
248
276
|
},
|
|
249
277
|
beforeAddingTag: {
|
|
250
278
|
type: Function,
|
|
251
|
-
default: () =>
|
|
279
|
+
default: () => true
|
|
252
280
|
},
|
|
253
281
|
beforeRemovingTag: {
|
|
254
282
|
type: Function,
|
|
255
|
-
default: () =>
|
|
283
|
+
default: () => true
|
|
256
284
|
}
|
|
257
285
|
},
|
|
258
286
|
data() {
|
|
@@ -267,20 +295,46 @@ const __vue2_script = {
|
|
|
267
295
|
},
|
|
268
296
|
watch: {
|
|
269
297
|
input(newVal, oldVal) {
|
|
270
|
-
this.$emit("input-changed", newVal)
|
|
298
|
+
this.$emit("input-changed", newVal);
|
|
299
|
+
this.searchTag(false);
|
|
300
|
+
if (newVal.length && newVal !== oldVal) {
|
|
301
|
+
if (this.addTagsOnSpace) {
|
|
302
|
+
if (newVal.endsWith(" ")) {
|
|
303
|
+
this.input = newVal.trim();
|
|
304
|
+
this.tagFromInput(true);
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
if (this.addTagsOnComma) {
|
|
308
|
+
newVal = newVal.trim();
|
|
309
|
+
if (newVal.endsWith(",")) {
|
|
310
|
+
this.input = newVal.substring(0, newVal.length - 1);
|
|
311
|
+
this.tagFromInput(true);
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
this.$emit("change", newVal);
|
|
315
|
+
}
|
|
271
316
|
},
|
|
272
317
|
tags() {
|
|
273
|
-
this.hiddenInput = JSON.stringify(this.tags)
|
|
318
|
+
this.hiddenInput = JSON.stringify(this.tags);
|
|
319
|
+
this.$emit("input", this.tags);
|
|
274
320
|
},
|
|
275
321
|
value() {
|
|
276
322
|
this.tagsFromValue();
|
|
277
323
|
},
|
|
278
324
|
typeaheadAlwaysShow(newValue) {
|
|
279
|
-
|
|
325
|
+
if (newValue) {
|
|
326
|
+
this.searchTag(false);
|
|
327
|
+
} else {
|
|
328
|
+
this.clearSearchResults();
|
|
329
|
+
}
|
|
280
330
|
}
|
|
281
331
|
},
|
|
282
332
|
created() {
|
|
283
|
-
this.tagsFromValue()
|
|
333
|
+
this.tagsFromValue();
|
|
334
|
+
if (this.typeaheadAlwaysShow) {
|
|
335
|
+
this.searchTag(false);
|
|
336
|
+
}
|
|
337
|
+
this.$emit("initialized");
|
|
284
338
|
},
|
|
285
339
|
methods: {
|
|
286
340
|
/**
|
|
@@ -299,10 +353,11 @@ const __vue2_script = {
|
|
|
299
353
|
* @param ignoreSearchResults
|
|
300
354
|
* @returns void
|
|
301
355
|
*/
|
|
302
|
-
tagFromInput(ignoreSearchResults =
|
|
303
|
-
if (this.searchResults.length && this.searchSelection >= 0 && !ignoreSearchResults)
|
|
304
|
-
this.tagFromSearch(this.searchResults[this.searchSelection])
|
|
305
|
-
|
|
356
|
+
tagFromInput(ignoreSearchResults = false) {
|
|
357
|
+
if (this.searchResults.length && this.searchSelection >= 0 && !ignoreSearchResults) {
|
|
358
|
+
this.tagFromSearch(this.searchResults[this.searchSelection]);
|
|
359
|
+
this.input = "";
|
|
360
|
+
} else {
|
|
306
361
|
const text = this.input.trim();
|
|
307
362
|
if (!this.onlyExistingTags && text.length && this.validate(text)) {
|
|
308
363
|
this.input = "";
|
|
@@ -329,7 +384,8 @@ const __vue2_script = {
|
|
|
329
384
|
* @returns void
|
|
330
385
|
*/
|
|
331
386
|
tagFromSearchOnClick(tag) {
|
|
332
|
-
this.tagFromSearch(tag)
|
|
387
|
+
this.tagFromSearch(tag);
|
|
388
|
+
this.$refs.taginput.blur();
|
|
333
389
|
},
|
|
334
390
|
/**
|
|
335
391
|
* Add the selected tag from the search results.
|
|
@@ -340,8 +396,11 @@ const __vue2_script = {
|
|
|
340
396
|
* @return void
|
|
341
397
|
*/
|
|
342
398
|
tagFromSearch(tag) {
|
|
343
|
-
this.clearSearchResults()
|
|
344
|
-
|
|
399
|
+
this.clearSearchResults();
|
|
400
|
+
this.addTag(tag);
|
|
401
|
+
this.$nextTick(() => {
|
|
402
|
+
this.input = "";
|
|
403
|
+
this.oldInput = "";
|
|
345
404
|
});
|
|
346
405
|
},
|
|
347
406
|
/**
|
|
@@ -351,13 +410,20 @@ const __vue2_script = {
|
|
|
351
410
|
* @returns void | Boolean
|
|
352
411
|
*/
|
|
353
412
|
addTag(tag) {
|
|
354
|
-
if (!this.beforeAddingTag(tag))
|
|
355
|
-
return
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
}
|
|
413
|
+
if (!this.beforeAddingTag(tag)) {
|
|
414
|
+
return false;
|
|
415
|
+
}
|
|
416
|
+
if (this.limit > 0 && this.tags.length >= this.limit) {
|
|
417
|
+
this.$emit("limit-reached");
|
|
418
|
+
return false;
|
|
419
|
+
}
|
|
420
|
+
if (!this.tagSelected(tag)) {
|
|
421
|
+
this.tags.push(tag);
|
|
422
|
+
this.$nextTick(() => {
|
|
423
|
+
this.$emit("tag-added", tag);
|
|
424
|
+
this.$emit("tags-updated");
|
|
425
|
+
});
|
|
426
|
+
}
|
|
361
427
|
},
|
|
362
428
|
/**
|
|
363
429
|
* Remove the last tag in the tags array.
|
|
@@ -365,7 +431,9 @@ const __vue2_script = {
|
|
|
365
431
|
* @returns void
|
|
366
432
|
*/
|
|
367
433
|
removeLastTag() {
|
|
368
|
-
!this.input.length && this.deleteOnBackspace && this.tags.length
|
|
434
|
+
if (!this.input.length && this.deleteOnBackspace && this.tags.length) {
|
|
435
|
+
this.removeTag(this.tags.length - 1);
|
|
436
|
+
}
|
|
369
437
|
},
|
|
370
438
|
/**
|
|
371
439
|
* Remove the selected tag at the specified index.
|
|
@@ -375,10 +443,16 @@ const __vue2_script = {
|
|
|
375
443
|
*/
|
|
376
444
|
removeTag(index) {
|
|
377
445
|
const tag = this.tags[index];
|
|
378
|
-
if (!this.beforeRemovingTag(tag))
|
|
379
|
-
return
|
|
380
|
-
|
|
381
|
-
|
|
446
|
+
if (!this.beforeRemovingTag(tag)) {
|
|
447
|
+
return false;
|
|
448
|
+
}
|
|
449
|
+
this.tags.splice(index, 1);
|
|
450
|
+
this.$nextTick(() => {
|
|
451
|
+
this.$emit("tag-removed", tag);
|
|
452
|
+
this.$emit("tags-updated");
|
|
453
|
+
if (this.typeaheadAlwaysShow) {
|
|
454
|
+
this.searchTag();
|
|
455
|
+
}
|
|
382
456
|
});
|
|
383
457
|
},
|
|
384
458
|
/**
|
|
@@ -387,16 +461,33 @@ const __vue2_script = {
|
|
|
387
461
|
* @returns void | Boolean
|
|
388
462
|
*/
|
|
389
463
|
searchTag() {
|
|
390
|
-
if (this.typeahead !==
|
|
391
|
-
return
|
|
464
|
+
if (this.typeahead !== true) {
|
|
465
|
+
return false;
|
|
466
|
+
}
|
|
392
467
|
if (this.oldInput !== this.input || !this.searchResults.length && this.typeaheadActivationThreshold === 0 || this.typeaheadAlwaysShow) {
|
|
393
|
-
this.searchResults = []
|
|
468
|
+
this.searchResults = [];
|
|
469
|
+
this.searchSelection = 0;
|
|
394
470
|
const input = this.input.trim();
|
|
395
471
|
if (input.length && input.length >= this.typeaheadActivationThreshold || this.typeaheadActivationThreshold === 0 || this.typeaheadAlwaysShow) {
|
|
396
472
|
const searchQuery = this.escapeRegExp(this.caseSensitiveTags ? input : input.toLowerCase());
|
|
397
|
-
for (const tag of this.existingTags)
|
|
398
|
-
|
|
399
|
-
|
|
473
|
+
for (const tag of this.existingTags) {
|
|
474
|
+
const compareable = this.caseSensitiveTags ? tag.value : tag.value.toLowerCase();
|
|
475
|
+
if (compareable.search(searchQuery) > -1 && !this.tagSelected(tag)) {
|
|
476
|
+
this.searchResults.push(tag);
|
|
477
|
+
}
|
|
478
|
+
}
|
|
479
|
+
if (this.sortSearchResults) {
|
|
480
|
+
this.searchResults.sort((a, b) => {
|
|
481
|
+
if (a.value < b.value)
|
|
482
|
+
return -1;
|
|
483
|
+
if (a.value > b.value)
|
|
484
|
+
return 1;
|
|
485
|
+
return 0;
|
|
486
|
+
});
|
|
487
|
+
}
|
|
488
|
+
if (this.typeaheadMaxResults > 0) {
|
|
489
|
+
this.searchResults = this.searchResults.slice(0, this.typeaheadMaxResults);
|
|
490
|
+
}
|
|
400
491
|
}
|
|
401
492
|
this.oldInput = this.input;
|
|
402
493
|
}
|
|
@@ -407,9 +498,11 @@ const __vue2_script = {
|
|
|
407
498
|
* @returns void
|
|
408
499
|
*/
|
|
409
500
|
hideTypeahead() {
|
|
410
|
-
this.input.length
|
|
411
|
-
this
|
|
412
|
-
|
|
501
|
+
if (!this.input.length) {
|
|
502
|
+
this.$nextTick(() => {
|
|
503
|
+
this.clearSearchResults();
|
|
504
|
+
});
|
|
505
|
+
}
|
|
413
506
|
},
|
|
414
507
|
/**
|
|
415
508
|
* Select the next search result in typeahead.
|
|
@@ -417,7 +510,9 @@ const __vue2_script = {
|
|
|
417
510
|
* @returns void
|
|
418
511
|
*/
|
|
419
512
|
nextSearchResult() {
|
|
420
|
-
this.searchSelection + 1 <= this.searchResults.length - 1
|
|
513
|
+
if (this.searchSelection + 1 <= this.searchResults.length - 1) {
|
|
514
|
+
this.searchSelection++;
|
|
515
|
+
}
|
|
421
516
|
},
|
|
422
517
|
/**
|
|
423
518
|
* Select the previous search result in typeahead.
|
|
@@ -425,7 +520,9 @@ const __vue2_script = {
|
|
|
425
520
|
* @returns void
|
|
426
521
|
*/
|
|
427
522
|
prevSearchResult() {
|
|
428
|
-
this.searchSelection > 0
|
|
523
|
+
if (this.searchSelection > 0) {
|
|
524
|
+
this.searchSelection--;
|
|
525
|
+
}
|
|
429
526
|
},
|
|
430
527
|
/**
|
|
431
528
|
* Clear/Empty the search results.
|
|
@@ -433,9 +530,13 @@ const __vue2_script = {
|
|
|
433
530
|
* @reutrns void
|
|
434
531
|
*/
|
|
435
532
|
clearSearchResults() {
|
|
436
|
-
this.searchResults = []
|
|
437
|
-
|
|
438
|
-
|
|
533
|
+
this.searchResults = [];
|
|
534
|
+
this.searchSelection = 0;
|
|
535
|
+
if (this.typeaheadAlwaysShow) {
|
|
536
|
+
this.$nextTick(() => {
|
|
537
|
+
this.searchTag();
|
|
538
|
+
});
|
|
539
|
+
}
|
|
439
540
|
},
|
|
440
541
|
/**
|
|
441
542
|
* Clear the list of selected tags.
|
|
@@ -457,14 +558,17 @@ const __vue2_script = {
|
|
|
457
558
|
return;
|
|
458
559
|
}
|
|
459
560
|
const tags = this.value;
|
|
460
|
-
if (this.tags === tags)
|
|
561
|
+
if (this.tags === tags) {
|
|
461
562
|
return;
|
|
563
|
+
}
|
|
462
564
|
this.clearTags();
|
|
463
|
-
for (const tag of tags)
|
|
565
|
+
for (const tag of tags) {
|
|
464
566
|
this.addTag(tag);
|
|
567
|
+
}
|
|
465
568
|
} else {
|
|
466
|
-
if (this.tags.length === 0)
|
|
569
|
+
if (this.tags.length === 0) {
|
|
467
570
|
return;
|
|
571
|
+
}
|
|
468
572
|
this.clearTags();
|
|
469
573
|
}
|
|
470
574
|
},
|
|
@@ -475,15 +579,20 @@ const __vue2_script = {
|
|
|
475
579
|
* @returns Boolean
|
|
476
580
|
*/
|
|
477
581
|
tagSelected(tag) {
|
|
478
|
-
if (this.allowDuplicates
|
|
479
|
-
return
|
|
582
|
+
if (this.allowDuplicates) {
|
|
583
|
+
return false;
|
|
584
|
+
}
|
|
585
|
+
if (!tag) {
|
|
586
|
+
return false;
|
|
587
|
+
}
|
|
480
588
|
const searchQuery = this.escapeRegExp(this.caseSensitiveTags ? tag.value : tag.value.toLowerCase());
|
|
481
589
|
for (const selectedTag of this.tags) {
|
|
482
590
|
const compareable = this.caseSensitiveTags ? selectedTag.value : selectedTag.value.toLowerCase();
|
|
483
|
-
if (selectedTag.key === tag.key && compareable.search(searchQuery) > -1)
|
|
484
|
-
return
|
|
591
|
+
if (selectedTag.key === tag.key && compareable.search(searchQuery) > -1) {
|
|
592
|
+
return true;
|
|
593
|
+
}
|
|
485
594
|
}
|
|
486
|
-
return
|
|
595
|
+
return false;
|
|
487
596
|
},
|
|
488
597
|
/**
|
|
489
598
|
* Clear the input.
|
|
@@ -518,7 +627,8 @@ const __vue2_script = {
|
|
|
518
627
|
* @returns void
|
|
519
628
|
*/
|
|
520
629
|
onFocus(e) {
|
|
521
|
-
this.$emit("focus", e)
|
|
630
|
+
this.$emit("focus", e);
|
|
631
|
+
this.searchTag();
|
|
522
632
|
},
|
|
523
633
|
/**
|
|
524
634
|
* Process the onblur event.
|
|
@@ -527,23 +637,33 @@ const __vue2_script = {
|
|
|
527
637
|
* @returns void
|
|
528
638
|
*/
|
|
529
639
|
onBlur(e) {
|
|
530
|
-
this.$emit("blur", e)
|
|
640
|
+
this.$emit("blur", e);
|
|
641
|
+
if (this.addTagsOnBlur) {
|
|
642
|
+
this.tagFromInput(true);
|
|
643
|
+
}
|
|
644
|
+
if (!this.typeaheadAlwaysShow) {
|
|
645
|
+
this.hideTypeahead();
|
|
646
|
+
} else {
|
|
647
|
+
this.searchTag();
|
|
648
|
+
}
|
|
531
649
|
}
|
|
532
650
|
}
|
|
533
|
-
}
|
|
651
|
+
};
|
|
652
|
+
const __cssModules = {};
|
|
534
653
|
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
535
654
|
__vue2_script,
|
|
536
655
|
render,
|
|
537
656
|
staticRenderFns,
|
|
538
|
-
|
|
657
|
+
false,
|
|
539
658
|
__vue2_injectStyles,
|
|
540
659
|
null,
|
|
541
660
|
null,
|
|
542
661
|
null
|
|
543
662
|
);
|
|
544
663
|
function __vue2_injectStyles(context) {
|
|
545
|
-
for (let o in __cssModules)
|
|
664
|
+
for (let o in __cssModules) {
|
|
546
665
|
this[o] = __cssModules[o];
|
|
666
|
+
}
|
|
547
667
|
}
|
|
548
668
|
const VueTagsInput = /* @__PURE__ */ function() {
|
|
549
669
|
return __component__.exports;
|