@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,24 +1,30 @@
|
|
|
1
|
-
var __async = (__this, __arguments, generator) =>
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
1
|
+
var __async = (__this, __arguments, generator) => {
|
|
2
|
+
return new Promise((resolve, reject) => {
|
|
3
|
+
var fulfilled = (value) => {
|
|
4
|
+
try {
|
|
5
|
+
step(generator.next(value));
|
|
6
|
+
} catch (e) {
|
|
7
|
+
reject(e);
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
var rejected = (value) => {
|
|
11
|
+
try {
|
|
12
|
+
step(generator.throw(value));
|
|
13
|
+
} catch (e) {
|
|
14
|
+
reject(e);
|
|
15
|
+
}
|
|
16
|
+
};
|
|
17
|
+
var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
|
|
18
|
+
step((generator = generator.apply(__this, __arguments)).next());
|
|
19
|
+
});
|
|
20
|
+
};
|
|
17
21
|
import { copy, isInContainer } from "@web-utils/core";
|
|
18
22
|
import ClickOutside from "element-ui/lib/utils/clickoutside";
|
|
19
|
-
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.
|
|
23
|
+
import { n as normalizeComponent } from "../../chunks/vueComponentNormalizer.9c6b8b3d.js";
|
|
20
24
|
var render = function() {
|
|
21
|
-
var _vm = this
|
|
25
|
+
var _vm = this;
|
|
26
|
+
var _h = _vm.$createElement;
|
|
27
|
+
var _c = _vm._self._c || _h;
|
|
22
28
|
return _c("div", {
|
|
23
29
|
directives: [{
|
|
24
30
|
name: "show",
|
|
@@ -34,7 +40,7 @@ var render = function() {
|
|
|
34
40
|
staticClass: "search-popover"
|
|
35
41
|
}, [_c("div", {
|
|
36
42
|
staticStyle: {
|
|
37
|
-
padding: "10px"
|
|
43
|
+
"padding": "10px"
|
|
38
44
|
}
|
|
39
45
|
}, [_c("input", {
|
|
40
46
|
directives: [{
|
|
@@ -46,32 +52,34 @@ var render = function() {
|
|
|
46
52
|
ref: "searchInput",
|
|
47
53
|
staticClass: "search-input",
|
|
48
54
|
attrs: {
|
|
49
|
-
placeholder: _vm.currentItem ? _vm.currentItem.name : "输入关键字搜索 ..."
|
|
55
|
+
"placeholder": _vm.currentItem ? _vm.currentItem.name : "输入关键字搜索 ..."
|
|
50
56
|
},
|
|
51
57
|
domProps: {
|
|
52
|
-
value: _vm.keyword
|
|
58
|
+
"value": _vm.keyword
|
|
53
59
|
},
|
|
54
60
|
on: {
|
|
55
|
-
input: function($event) {
|
|
56
|
-
|
|
61
|
+
"input": function($event) {
|
|
62
|
+
if ($event.target.composing)
|
|
63
|
+
return;
|
|
64
|
+
_vm.keyword = $event.target.value;
|
|
57
65
|
}
|
|
58
66
|
}
|
|
59
67
|
})]), _c("ul", {
|
|
60
68
|
ref: "ul",
|
|
61
69
|
staticStyle: {
|
|
62
70
|
"list-style-type": "none",
|
|
63
|
-
flex: "1",
|
|
64
|
-
overflow: "auto"
|
|
71
|
+
"flex": "1",
|
|
72
|
+
"overflow": "auto"
|
|
65
73
|
}
|
|
66
74
|
}, [_vm.filterList.length ? _vm._l(_vm.filterList, function(item, index) {
|
|
67
75
|
return _c("li", {
|
|
68
76
|
key: item.name + index,
|
|
69
77
|
staticClass: "search-li",
|
|
70
78
|
attrs: {
|
|
71
|
-
id: `item-${index}`
|
|
79
|
+
"id": `item-${index}`
|
|
72
80
|
},
|
|
73
81
|
on: {
|
|
74
|
-
mousemove: function($event) {
|
|
82
|
+
"mousemove": function($event) {
|
|
75
83
|
return _vm.mouseHoverItem(item, index);
|
|
76
84
|
}
|
|
77
85
|
}
|
|
@@ -80,12 +88,12 @@ var render = function() {
|
|
|
80
88
|
active: _vm.currentIndex === index
|
|
81
89
|
}],
|
|
82
90
|
attrs: {
|
|
83
|
-
target: item.url ? "_blank" : "",
|
|
84
|
-
rel: "noopener noreferrer",
|
|
85
|
-
href: item.url ? item.url : "javascript:void(0)"
|
|
91
|
+
"target": item.url ? "_blank" : "",
|
|
92
|
+
"rel": "noopener noreferrer",
|
|
93
|
+
"href": item.url ? item.url : "javascript:void(0)"
|
|
86
94
|
},
|
|
87
95
|
on: {
|
|
88
|
-
click: function($event) {
|
|
96
|
+
"click": function($event) {
|
|
89
97
|
return _vm.onItemClick(item);
|
|
90
98
|
}
|
|
91
99
|
}
|
|
@@ -95,9 +103,9 @@ var render = function() {
|
|
|
95
103
|
class: item.icon || "el-icon-menu"
|
|
96
104
|
})]), _c("div", {
|
|
97
105
|
staticStyle: {
|
|
98
|
-
flex: "1",
|
|
106
|
+
"flex": "1",
|
|
99
107
|
"text-align": "left",
|
|
100
|
-
padding: "0 10px",
|
|
108
|
+
"padding": "0 10px",
|
|
101
109
|
"overflow-x": "hidden",
|
|
102
110
|
"box-sizing": "border-box"
|
|
103
111
|
}
|
|
@@ -113,32 +121,32 @@ var render = function() {
|
|
|
113
121
|
}, [_c("svg", {
|
|
114
122
|
staticClass: "action",
|
|
115
123
|
attrs: {
|
|
116
|
-
width: "20",
|
|
117
|
-
height: "20",
|
|
118
|
-
viewBox: "0 0 20 20"
|
|
124
|
+
"width": "20",
|
|
125
|
+
"height": "20",
|
|
126
|
+
"viewBox": "0 0 20 20"
|
|
119
127
|
}
|
|
120
128
|
}, [_c("g", {
|
|
121
129
|
attrs: {
|
|
122
|
-
stroke: "currentColor",
|
|
123
|
-
fill: "none",
|
|
130
|
+
"stroke": "currentColor",
|
|
131
|
+
"fill": "none",
|
|
124
132
|
"fill-rule": "evenodd",
|
|
125
133
|
"stroke-linecap": "round",
|
|
126
134
|
"stroke-linejoin": "round"
|
|
127
135
|
}
|
|
128
136
|
}, [_c("path", {
|
|
129
137
|
attrs: {
|
|
130
|
-
d: "M18 3v4c0 2-2 4-4 4H2"
|
|
138
|
+
"d": "M18 3v4c0 2-2 4-4 4H2"
|
|
131
139
|
}
|
|
132
140
|
}), _c("path", {
|
|
133
141
|
attrs: {
|
|
134
|
-
d: "M8 17l-6-6 6-6"
|
|
142
|
+
"d": "M8 17l-6-6 6-6"
|
|
135
143
|
}
|
|
136
144
|
})])])])])]);
|
|
137
145
|
}) : _vm.evalResult !== "" ? _c("li", {
|
|
138
146
|
staticClass: "search-li",
|
|
139
147
|
on: {
|
|
140
|
-
click: _vm.copyEvalResult,
|
|
141
|
-
mousemove: function($event) {
|
|
148
|
+
"click": _vm.copyEvalResult,
|
|
149
|
+
"mousemove": function($event) {
|
|
142
150
|
return _vm.mouseHoverItem({}, -1);
|
|
143
151
|
}
|
|
144
152
|
}
|
|
@@ -147,14 +155,14 @@ var render = function() {
|
|
|
147
155
|
active: _vm.currentIndex === -1
|
|
148
156
|
}],
|
|
149
157
|
attrs: {
|
|
150
|
-
rel: "noopener noreferrer",
|
|
151
|
-
href: "javascript:void(0)"
|
|
158
|
+
"rel": "noopener noreferrer",
|
|
159
|
+
"href": "javascript:void(0)"
|
|
152
160
|
}
|
|
153
161
|
}, [_vm._m(0), _c("div", {
|
|
154
162
|
staticStyle: {
|
|
155
|
-
flex: "1",
|
|
163
|
+
"flex": "1",
|
|
156
164
|
"text-align": "left",
|
|
157
|
-
padding: "0 10px",
|
|
165
|
+
"padding": "0 10px",
|
|
158
166
|
"overflow-x": "hidden",
|
|
159
167
|
"box-sizing": "border-box"
|
|
160
168
|
}
|
|
@@ -170,33 +178,33 @@ var render = function() {
|
|
|
170
178
|
}, [_c("svg", {
|
|
171
179
|
staticClass: "action",
|
|
172
180
|
attrs: {
|
|
173
|
-
width: "20",
|
|
174
|
-
height: "20",
|
|
175
|
-
viewBox: "0 0 20 20"
|
|
181
|
+
"width": "20",
|
|
182
|
+
"height": "20",
|
|
183
|
+
"viewBox": "0 0 20 20"
|
|
176
184
|
}
|
|
177
185
|
}, [_c("g", {
|
|
178
186
|
attrs: {
|
|
179
|
-
stroke: "currentColor",
|
|
180
|
-
fill: "none",
|
|
187
|
+
"stroke": "currentColor",
|
|
188
|
+
"fill": "none",
|
|
181
189
|
"fill-rule": "evenodd",
|
|
182
190
|
"stroke-linecap": "round",
|
|
183
191
|
"stroke-linejoin": "round"
|
|
184
192
|
}
|
|
185
193
|
}, [_c("path", {
|
|
186
194
|
attrs: {
|
|
187
|
-
d: "M18 3v4c0 2-2 4-4 4H2"
|
|
195
|
+
"d": "M18 3v4c0 2-2 4-4 4H2"
|
|
188
196
|
}
|
|
189
197
|
}), _c("path", {
|
|
190
198
|
attrs: {
|
|
191
|
-
d: "M8 17l-6-6 6-6"
|
|
199
|
+
"d": "M8 17l-6-6 6-6"
|
|
192
200
|
}
|
|
193
201
|
})])])])])]) : _c("li", {
|
|
194
202
|
staticStyle: {
|
|
195
|
-
height: "100%",
|
|
196
|
-
display: "flex",
|
|
203
|
+
"height": "100%",
|
|
204
|
+
"display": "flex",
|
|
197
205
|
"align-items": "center",
|
|
198
206
|
"justify-content": "center",
|
|
199
|
-
color: "#808080"
|
|
207
|
+
"color": "#808080"
|
|
200
208
|
}
|
|
201
209
|
}, [_vm._v(" Sorry,no result ! ")])], 2), _c("div", {
|
|
202
210
|
staticClass: "footer-tips"
|
|
@@ -204,20 +212,20 @@ var render = function() {
|
|
|
204
212
|
staticClass: "keyboard-key"
|
|
205
213
|
}, [_c("svg", {
|
|
206
214
|
attrs: {
|
|
207
|
-
width: "15",
|
|
208
|
-
height: "15"
|
|
215
|
+
"width": "15",
|
|
216
|
+
"height": "15"
|
|
209
217
|
}
|
|
210
218
|
}, [_c("g", {
|
|
211
219
|
attrs: {
|
|
212
|
-
fill: "none",
|
|
213
|
-
stroke: "currentColor",
|
|
220
|
+
"fill": "none",
|
|
221
|
+
"stroke": "currentColor",
|
|
214
222
|
"stroke-linecap": "round",
|
|
215
223
|
"stroke-linejoin": "round",
|
|
216
224
|
"stroke-width": "1.2"
|
|
217
225
|
}
|
|
218
226
|
}, [_c("path", {
|
|
219
227
|
attrs: {
|
|
220
|
-
d: "M12 3.53088v3c0 1-1 2-2 2H4M7 11.53088l-3-3 3-3"
|
|
228
|
+
"d": "M12 3.53088v3c0 1-1 2-2 2H4M7 11.53088l-3-3 3-3"
|
|
221
229
|
}
|
|
222
230
|
})])])]), _c("span", {
|
|
223
231
|
staticStyle: {
|
|
@@ -228,39 +236,39 @@ var render = function() {
|
|
|
228
236
|
staticClass: "keyboard-key"
|
|
229
237
|
}, [_c("svg", {
|
|
230
238
|
attrs: {
|
|
231
|
-
width: "15",
|
|
232
|
-
height: "15"
|
|
239
|
+
"width": "15",
|
|
240
|
+
"height": "15"
|
|
233
241
|
}
|
|
234
242
|
}, [_c("g", {
|
|
235
243
|
attrs: {
|
|
236
|
-
fill: "none",
|
|
237
|
-
stroke: "currentColor",
|
|
244
|
+
"fill": "none",
|
|
245
|
+
"stroke": "currentColor",
|
|
238
246
|
"stroke-linecap": "round",
|
|
239
247
|
"stroke-linejoin": "round",
|
|
240
248
|
"stroke-width": "1.2"
|
|
241
249
|
}
|
|
242
250
|
}, [_c("path", {
|
|
243
251
|
attrs: {
|
|
244
|
-
d: "M7.5 3.5v8M10.5 8.5l-3 3-3-3"
|
|
252
|
+
"d": "M7.5 3.5v8M10.5 8.5l-3 3-3-3"
|
|
245
253
|
}
|
|
246
254
|
})])])]), _c("span", {
|
|
247
255
|
staticClass: "keyboard-key"
|
|
248
256
|
}, [_c("svg", {
|
|
249
257
|
attrs: {
|
|
250
|
-
width: "15",
|
|
251
|
-
height: "15"
|
|
258
|
+
"width": "15",
|
|
259
|
+
"height": "15"
|
|
252
260
|
}
|
|
253
261
|
}, [_c("g", {
|
|
254
262
|
attrs: {
|
|
255
|
-
fill: "none",
|
|
256
|
-
stroke: "currentColor",
|
|
263
|
+
"fill": "none",
|
|
264
|
+
"stroke": "currentColor",
|
|
257
265
|
"stroke-linecap": "round",
|
|
258
266
|
"stroke-linejoin": "round",
|
|
259
267
|
"stroke-width": "1.2"
|
|
260
268
|
}
|
|
261
269
|
}, [_c("path", {
|
|
262
270
|
attrs: {
|
|
263
|
-
d: "M7.5 11.5v-8M10.5 6.5l-3-3-3 3"
|
|
271
|
+
"d": "M7.5 11.5v-8M10.5 6.5l-3-3-3 3"
|
|
264
272
|
}
|
|
265
273
|
})])])]), _c("span", {
|
|
266
274
|
staticStyle: {
|
|
@@ -271,35 +279,39 @@ var render = function() {
|
|
|
271
279
|
staticClass: "keyboard-key"
|
|
272
280
|
}, [_c("svg", {
|
|
273
281
|
attrs: {
|
|
274
|
-
width: "15",
|
|
275
|
-
height: "15"
|
|
282
|
+
"width": "15",
|
|
283
|
+
"height": "15"
|
|
276
284
|
}
|
|
277
285
|
}, [_c("g", {
|
|
278
286
|
attrs: {
|
|
279
|
-
fill: "none",
|
|
280
|
-
stroke: "currentColor",
|
|
287
|
+
"fill": "none",
|
|
288
|
+
"stroke": "currentColor",
|
|
281
289
|
"stroke-linecap": "round",
|
|
282
290
|
"stroke-linejoin": "round",
|
|
283
291
|
"stroke-width": "1.2"
|
|
284
292
|
}
|
|
285
293
|
}, [_c("path", {
|
|
286
294
|
attrs: {
|
|
287
|
-
d: "M13.6167 8.936c-.1065.3583-.6883.962-1.4875.962-.7993 0-1.653-.9165-1.653-2.1258v-.5678c0-1.2548.7896-2.1016 1.653-2.1016.8634 0 1.3601.4778 1.4875 1.0724M9 6c-.1352-.4735-.7506-.9219-1.46-.8972-.7092.0246-1.344.57-1.344 1.2166s.4198.8812 1.3445.9805C8.465 7.3992 8.968 7.9337 9 8.5c.032.5663-.454 1.398-1.4595 1.398C6.6593 9.898 6 9 5.963 8.4851m-1.4748.5368c-.2635.5941-.8099.876-1.5443.876s-1.7073-.6248-1.7073-2.204v-.4603c0-1.0416.721-2.131 1.7073-2.131.9864 0 1.6425 1.031 1.5443 2.2492h-2.956"
|
|
295
|
+
"d": "M13.6167 8.936c-.1065.3583-.6883.962-1.4875.962-.7993 0-1.653-.9165-1.653-2.1258v-.5678c0-1.2548.7896-2.1016 1.653-2.1016.8634 0 1.3601.4778 1.4875 1.0724M9 6c-.1352-.4735-.7506-.9219-1.46-.8972-.7092.0246-1.344.57-1.344 1.2166s.4198.8812 1.3445.9805C8.465 7.3992 8.968 7.9337 9 8.5c.032.5663-.454 1.398-1.4595 1.398C6.6593 9.898 6 9 5.963 8.4851m-1.4748.5368c-.2635.5941-.8099.876-1.5443.876s-1.7073-.6248-1.7073-2.204v-.4603c0-1.0416.721-2.131 1.7073-2.131.9864 0 1.6425 1.031 1.5443 2.2492h-2.956"
|
|
288
296
|
}
|
|
289
297
|
})])])]), _c("span", {
|
|
290
298
|
staticStyle: {
|
|
291
299
|
"font-size": "12px"
|
|
292
300
|
}
|
|
293
301
|
}, [_vm._v("关闭")])])]);
|
|
294
|
-
}
|
|
295
|
-
|
|
302
|
+
};
|
|
303
|
+
var staticRenderFns = [function() {
|
|
304
|
+
var _vm = this;
|
|
305
|
+
var _h = _vm.$createElement;
|
|
306
|
+
var _c = _vm._self._c || _h;
|
|
296
307
|
return _c("div", {
|
|
297
308
|
staticClass: "search-icon"
|
|
298
309
|
}, [_c("i", {
|
|
299
310
|
staticClass: "fa fa-table"
|
|
300
311
|
})]);
|
|
301
312
|
}];
|
|
302
|
-
const SearchPopover_vue_vue_type_style_index_0_lang = ""
|
|
313
|
+
const SearchPopover_vue_vue_type_style_index_0_lang = "";
|
|
314
|
+
const __vue2_script = {
|
|
303
315
|
name: "SearchPopover",
|
|
304
316
|
directives: {
|
|
305
317
|
ClickOutside
|
|
@@ -312,7 +324,7 @@ const SearchPopover_vue_vue_type_style_index_0_lang = "", __vue2_script = {
|
|
|
312
324
|
},
|
|
313
325
|
data() {
|
|
314
326
|
return {
|
|
315
|
-
showPopover:
|
|
327
|
+
showPopover: false,
|
|
316
328
|
keyword: "",
|
|
317
329
|
currentIndex: 0,
|
|
318
330
|
last: 0
|
|
@@ -336,10 +348,17 @@ const SearchPopover_vue_vue_type_style_index_0_lang = "", __vue2_script = {
|
|
|
336
348
|
},
|
|
337
349
|
watch: {
|
|
338
350
|
keyword() {
|
|
339
|
-
this.currentIndex = 0
|
|
351
|
+
this.currentIndex = 0;
|
|
352
|
+
if (!this.currentItem && this.currentIndex !== -1) {
|
|
353
|
+
this.currentIndex = -1;
|
|
354
|
+
}
|
|
340
355
|
},
|
|
341
356
|
showPopover(newVal) {
|
|
342
|
-
newVal
|
|
357
|
+
if (newVal) {
|
|
358
|
+
document.body.style.overflow = "hidden";
|
|
359
|
+
} else {
|
|
360
|
+
document.body.style.overflow = "";
|
|
361
|
+
}
|
|
343
362
|
}
|
|
344
363
|
},
|
|
345
364
|
mounted() {
|
|
@@ -351,17 +370,20 @@ const SearchPopover_vue_vue_type_style_index_0_lang = "", __vue2_script = {
|
|
|
351
370
|
methods: {
|
|
352
371
|
onItemClick(item) {
|
|
353
372
|
return __async(this, null, function* () {
|
|
354
|
-
|
|
373
|
+
if (item.path) {
|
|
374
|
+
this.hidePopover();
|
|
375
|
+
yield this.$router.push(item.path);
|
|
376
|
+
}
|
|
355
377
|
});
|
|
356
378
|
},
|
|
357
379
|
copyEvalResult() {
|
|
358
380
|
return copy(this.evalResult);
|
|
359
381
|
},
|
|
360
382
|
hidePopover() {
|
|
361
|
-
this.showPopover =
|
|
383
|
+
this.showPopover = false;
|
|
362
384
|
},
|
|
363
385
|
displayPopover() {
|
|
364
|
-
this.showPopover =
|
|
386
|
+
this.showPopover = true;
|
|
365
387
|
},
|
|
366
388
|
mouseHoverItem(item, index) {
|
|
367
389
|
this.currentIndex = index;
|
|
@@ -370,9 +392,45 @@ const SearchPopover_vue_vue_type_style_index_0_lang = "", __vue2_script = {
|
|
|
370
392
|
return __async(this, null, function* () {
|
|
371
393
|
if (event.key === "Shift") {
|
|
372
394
|
const cost = Date.now() - this.last;
|
|
373
|
-
cost > 0 && cost < 500
|
|
395
|
+
if (cost > 0 && cost < 500) {
|
|
396
|
+
this.showPopover = true;
|
|
397
|
+
yield this.$nextTick();
|
|
398
|
+
this.$refs.searchInput.focus();
|
|
399
|
+
} else {
|
|
400
|
+
this.last = Date.now();
|
|
401
|
+
}
|
|
402
|
+
}
|
|
403
|
+
if (this.showPopover === true) {
|
|
404
|
+
if (event.key === "Escape") {
|
|
405
|
+
this.hidePopover();
|
|
406
|
+
}
|
|
407
|
+
if (event.key === "Enter") {
|
|
408
|
+
if (this.currentItem) {
|
|
409
|
+
if (this.currentItem.url) {
|
|
410
|
+
window.open(this.currentItem.url, "_blank");
|
|
411
|
+
this.hidePopover();
|
|
412
|
+
} else if (this.currentItem.path) {
|
|
413
|
+
yield this.onItemClick(this.currentItem);
|
|
414
|
+
}
|
|
415
|
+
} else {
|
|
416
|
+
this.copyEvalResult();
|
|
417
|
+
}
|
|
418
|
+
}
|
|
419
|
+
if (event.key === "ArrowUp") {
|
|
420
|
+
this.currentIndex--;
|
|
421
|
+
if (this.currentIndex < 0) {
|
|
422
|
+
this.currentIndex = this.filterList.length - 1;
|
|
423
|
+
}
|
|
424
|
+
this.scrollIntoView(this.currentIndex);
|
|
425
|
+
}
|
|
426
|
+
if (event.key === "ArrowDown") {
|
|
427
|
+
this.currentIndex++;
|
|
428
|
+
if (this.currentIndex >= this.filterList.length) {
|
|
429
|
+
this.currentIndex = 0;
|
|
430
|
+
}
|
|
431
|
+
this.scrollIntoView(this.currentIndex);
|
|
432
|
+
}
|
|
374
433
|
}
|
|
375
|
-
this.showPopover === !0 && (event.key === "Escape" && this.hidePopover(), event.key === "Enter" && (this.currentItem ? this.currentItem.url ? (window.open(this.currentItem.url, "_blank"), this.hidePopover()) : this.currentItem.path && (yield this.onItemClick(this.currentItem)) : this.copyEvalResult()), event.key === "ArrowUp" && (this.currentIndex--, this.currentIndex < 0 && (this.currentIndex = this.filterList.length - 1), this.scrollIntoView(this.currentIndex)), event.key === "ArrowDown" && (this.currentIndex++, this.currentIndex >= this.filterList.length && (this.currentIndex = 0), this.scrollIntoView(this.currentIndex)));
|
|
376
434
|
});
|
|
377
435
|
},
|
|
378
436
|
scrollIntoView(index) {
|
|
@@ -385,23 +443,27 @@ const SearchPopover_vue_vue_type_style_index_0_lang = "", __vue2_script = {
|
|
|
385
443
|
return;
|
|
386
444
|
}
|
|
387
445
|
const item = this.$refs.ul.querySelector(`#item-${index}`);
|
|
388
|
-
isInContainer(item, this.$refs.ul, { topOffset: -78, bottomOffset: 78 })
|
|
446
|
+
if (!isInContainer(item, this.$refs.ul, { topOffset: -78, bottomOffset: 78 })) {
|
|
447
|
+
this.$refs.ul.scrollTop = item.offsetTop - item.clientHeight + 20;
|
|
448
|
+
}
|
|
389
449
|
}
|
|
390
450
|
}
|
|
391
|
-
}
|
|
451
|
+
};
|
|
452
|
+
const __cssModules = {};
|
|
392
453
|
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
393
454
|
__vue2_script,
|
|
394
455
|
render,
|
|
395
456
|
staticRenderFns,
|
|
396
|
-
|
|
457
|
+
false,
|
|
397
458
|
__vue2_injectStyles,
|
|
398
459
|
null,
|
|
399
460
|
null,
|
|
400
461
|
null
|
|
401
462
|
);
|
|
402
463
|
function __vue2_injectStyles(context) {
|
|
403
|
-
for (let o in __cssModules)
|
|
464
|
+
for (let o in __cssModules) {
|
|
404
465
|
this[o] = __cssModules[o];
|
|
466
|
+
}
|
|
405
467
|
}
|
|
406
468
|
const SearchPopover = /* @__PURE__ */ function() {
|
|
407
469
|
return __component__.exports;
|
|
@@ -1 +1,93 @@
|
|
|
1
|
-
|
|
1
|
+
/* 全局公共颜色配置 */ /* 全局公共尺寸配置 */
|
|
2
|
+
/* 应用头部高度 */
|
|
3
|
+
/* 页面宽度 */
|
|
4
|
+
/* 侧栏宽度 */
|
|
5
|
+
/* 标签高度 */
|
|
6
|
+
/* 页面头部工具条高度 */
|
|
7
|
+
.search-popover {
|
|
8
|
+
border-radius: 4px;
|
|
9
|
+
z-index: 100;
|
|
10
|
+
position: fixed;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
background-color: #f5f6f7;
|
|
13
|
+
display: inline-flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
border: 1px solid #1989fa;
|
|
16
|
+
width: 560px;
|
|
17
|
+
height: 500px;
|
|
18
|
+
top: 0;
|
|
19
|
+
left: 0;
|
|
20
|
+
transform: translate3d(calc((100vw - 560px) / 2), 15%, 0);
|
|
21
|
+
background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAIAAAAmkwkpAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACZJREFUeNpi/PTpEwMY8PLyMsFZnz9/ZoKzgAzG////Q1hAABBgAFeiDto+NxIZAAAAAElFTkSuQmCC");
|
|
22
|
+
background-repeat: repeat;
|
|
23
|
+
}
|
|
24
|
+
.search-popover .footer-tips {
|
|
25
|
+
padding: 10px;
|
|
26
|
+
text-align: left;
|
|
27
|
+
border-top: 1px solid #1989fa;
|
|
28
|
+
}
|
|
29
|
+
.search-popover .keyboard-key {
|
|
30
|
+
align-items: center;
|
|
31
|
+
background: linear-gradient(-225deg, #d5dbe4, #f8f8f8);
|
|
32
|
+
border-radius: 2px;
|
|
33
|
+
box-shadow: inset 0 -2px 0 0 #cdcde6, inset 0 0 1px 1px #fff, 0 1px 2px 1px rgba(30, 35, 90, 0.4);
|
|
34
|
+
display: inline-flex;
|
|
35
|
+
height: 18px;
|
|
36
|
+
justify-content: center;
|
|
37
|
+
margin-right: 0.4em;
|
|
38
|
+
padding-bottom: 2px;
|
|
39
|
+
width: 20px;
|
|
40
|
+
}
|
|
41
|
+
.search-popover .search-input {
|
|
42
|
+
height: 46px;
|
|
43
|
+
border: 1px solid #1989fa;
|
|
44
|
+
appearance: none;
|
|
45
|
+
border-radius: 4px;
|
|
46
|
+
outline: none;
|
|
47
|
+
width: 100%;
|
|
48
|
+
box-sizing: border-box;
|
|
49
|
+
padding: 10px;
|
|
50
|
+
}
|
|
51
|
+
.search-popover .search-li {
|
|
52
|
+
padding: 10px;
|
|
53
|
+
}
|
|
54
|
+
.search-popover .search-icon {
|
|
55
|
+
color: #969faf;
|
|
56
|
+
flex-shrink: 0;
|
|
57
|
+
font-size: 24px;
|
|
58
|
+
}
|
|
59
|
+
.search-popover .search-item {
|
|
60
|
+
box-shadow: 0 1px 3px 0 #d4d9e1;
|
|
61
|
+
text-decoration: none;
|
|
62
|
+
box-sizing: border-box;
|
|
63
|
+
color: #000;
|
|
64
|
+
padding: 10px;
|
|
65
|
+
display: flex;
|
|
66
|
+
align-items: center;
|
|
67
|
+
border-radius: 4px;
|
|
68
|
+
background-color: #fff;
|
|
69
|
+
overflow-x: hidden;
|
|
70
|
+
}
|
|
71
|
+
.search-popover .search-item .search-action {
|
|
72
|
+
display: none;
|
|
73
|
+
}
|
|
74
|
+
.search-popover .search-item .url {
|
|
75
|
+
color: #969faf;
|
|
76
|
+
text-overflow: ellipsis;
|
|
77
|
+
white-space: nowrap;
|
|
78
|
+
font-size: 14px;
|
|
79
|
+
overflow-x: hidden;
|
|
80
|
+
}
|
|
81
|
+
.search-popover .search-item.active {
|
|
82
|
+
color: #fff;
|
|
83
|
+
background-color: #1989fa;
|
|
84
|
+
}
|
|
85
|
+
.search-popover .search-item.active .url {
|
|
86
|
+
color: #fff;
|
|
87
|
+
}
|
|
88
|
+
.search-popover .search-item.active .search-action {
|
|
89
|
+
display: inline-block;
|
|
90
|
+
}
|
|
91
|
+
.search-popover .search-item.active .search-icon {
|
|
92
|
+
color: #fff;
|
|
93
|
+
}
|