@blueking/monitor-apm-log 2.3.2 → 2.3.4
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/css/main.css +4 -3
- package/main.js +247 -115
- package/package.json +1 -1
package/css/main.css
CHANGED
|
@@ -31,11 +31,12 @@
|
|
|
31
31
|
.ui-query-options[data-v-c8ac423e]{background:#fff}.ui-query-options .ui-query-option-content[data-v-c8ac423e]{display:flex;width:720px}.ui-query-options .ui-query-option-content .field-list[data-v-c8ac423e]{width:359px;border-right:solid 1px #dcdee5}.ui-query-options .ui-query-option-content .field-list .ui-search-input[data-v-c8ac423e]{width:100%;padding-top:4px;padding-bottom:4px}.ui-query-options .ui-query-option-content .field-list .ui-search-input[data-v-c8ac423e] .left-icon{font-size:18px;color:#979ba5}.ui-query-options .ui-query-option-content .field-list .ui-search-input[data-v-c8ac423e] .bk-form-control{padding:0 8px}.ui-query-options .ui-query-option-content .field-list .ui-search-input[data-v-c8ac423e] .bk-form-control .left-icon{font-size:18px;color:#979ba5}.ui-query-options .ui-query-option-content .field-list .ui-search-input[data-v-c8ac423e] .bk-form-control .bk-input-text .bk-form-input{padding-left:38px;border-bottom-color:#eaebf0}.ui-query-options .ui-query-option-content .field-list .ui-search-result[data-v-c8ac423e]{height:315px;overflow:auto;overflow-x:hidden}.ui-query-options .ui-query-option-content .field-list .ui-search-result[data-v-c8ac423e]::-webkit-scrollbar{width:6px;background-color:hsla(0,0%,80%,0)}.ui-query-options .ui-query-option-content .field-list .ui-search-result[data-v-c8ac423e]::-webkit-scrollbar-thumb{height:6px;background-color:#dcdee5;border-radius:3px}.ui-query-options .ui-query-option-content .field-list .ui-search-result .ui-search-result-row[data-v-c8ac423e]{display:flex;align-items:center;width:100%;min-width:300px;max-width:358px;height:32px;padding:0 8px;font-family:Roboto-Regular;cursor:pointer}.ui-query-options .ui-query-option-content .field-list .ui-search-result .ui-search-result-row[data-v-c8ac423e]:hover,.ui-query-options .ui-query-option-content .field-list .ui-search-result .ui-search-result-row.active[data-v-c8ac423e]{background-color:#f5f7fa}.ui-query-options .ui-query-option-content .field-list .ui-search-result .ui-search-result-row:hover .field-alias[data-v-c8ac423e],.ui-query-options .ui-query-option-content .field-list .ui-search-result .ui-search-result-row.active .field-alias[data-v-c8ac423e]{color:#3a84ff}.ui-query-options .ui-query-option-content .field-list .ui-search-result .ui-search-result-row:hover .field-name[data-v-c8ac423e],.ui-query-options .ui-query-option-content .field-list .ui-search-result .ui-search-result-row.active .field-name[data-v-c8ac423e]{color:#699df4}.ui-query-options .ui-query-option-content .field-list .ui-search-result .ui-search-result-row.location[data-v-c8ac423e]{background-color:#f5f7fa}.ui-query-options .ui-query-option-content .field-list .ui-search-result .ui-search-result-row.location .field-alias[data-v-c8ac423e]{color:#313238}.ui-query-options .ui-query-option-content .field-list .ui-search-result .ui-search-result-row.location .field-name[data-v-c8ac423e]{color:#757880}.ui-query-options .ui-query-option-content .field-list .ui-search-result .ui-search-result-row[data-v-c8ac423e]:hover:not(.active){background-color:#f0f5ff}.ui-query-options .ui-query-option-content .field-list .ui-search-result .ui-search-result-row:hover .field-alias[data-v-c8ac423e]{color:#3a84ff}.ui-query-options .ui-query-option-content .field-list .ui-search-result .ui-search-result-row:hover .field-name[data-v-c8ac423e]{color:#699df4}.ui-query-options .ui-query-option-content .field-list .ui-search-result .ui-search-result-row .field-type-icon[data-v-c8ac423e]{display:inline-flex;align-items:center;justify-content:center;width:14px;height:14px;background:#e8eaf0;border-radius:2px;opacity:.9}.ui-query-options .ui-query-option-content .field-list .ui-search-result .ui-search-result-row .field-type-icon.full-text[data-v-c8ac423e]{position:relative}.ui-query-options .ui-query-option-content .field-list .ui-search-result .ui-search-result-row .field-type-icon.full-text[data-v-c8ac423e]::after{position:relative;width:100%;height:100%;text-align:center;content:"*"}.ui-query-options .ui-query-option-content .field-list .ui-search-result .ui-search-result-row .field-type-icon.bklog-ext[data-v-c8ac423e]{font-size:8px}.ui-query-options .ui-query-option-content .field-list .ui-search-result .ui-search-result-row .display-container[data-v-c8ac423e]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-query-options .ui-query-option-content .field-list .ui-search-result .ui-search-result-row .display-container .field-alias[data-v-c8ac423e]{padding:0 4px;font-size:12px;line-height:20px;color:#313238;letter-spacing:0}.ui-query-options .ui-query-option-content .field-list .ui-search-result .ui-search-result-row .display-container .field-name[data-v-c8ac423e]{font-size:12px;font-weight:400;line-height:20px;color:#757880;letter-spacing:0}.ui-query-options .ui-query-option-content .value-list[data-v-c8ac423e]{width:calc(100% - 360px);padding-right:24px;padding-left:22px;margin-top:16px;border-bottom:solid 1px #dcdee5}.ui-query-options .ui-query-option-content .value-list[data-v-c8ac423e]:not(.is-full-text){background:#fff}.ui-query-options .ui-query-option-content .value-list .full-text-title[data-v-c8ac423e]{width:100%;height:22px;font-size:14px;line-height:22px;color:#313238;letter-spacing:0}.ui-query-options .ui-query-option-content .value-list .full-text-sub-title[data-v-c8ac423e]{display:flex;align-items:center;width:100%;height:26px;margin-top:16px;font-size:12px;font-weight:700;line-height:20px;color:#63656e;letter-spacing:0}.ui-query-options .ui-query-option-content .value-list .full-text-sub-title img[data-v-c8ac423e]{width:24px;height:24px;margin-right:8px}.ui-query-options .ui-query-option-content .value-list .full-text-content[data-v-c8ac423e]{width:100%;margin-top:10px;font-size:12px;line-height:20px;color:#63656e;letter-spacing:0}.ui-query-options .ui-query-option-content .value-list .ui-value-row[data-v-c8ac423e]{margin-bottom:20px}.ui-query-options .ui-query-option-content .value-list .ui-value-row .ui-value-label[data-v-c8ac423e]{display:flex;justify-content:space-between;height:20px;margin-bottom:8px;font-size:12px;line-height:20px;color:#4d4f56}.ui-query-options .ui-query-option-content .value-list .ui-value-row .ui-value-component[data-v-c8ac423e]{width:100%}.ui-query-options .ui-query-option-content .value-list .ui-value-row .ui-value-component .ui-value-operator[data-v-c8ac423e]{display:flex;align-items:center;justify-content:space-between;width:100%;height:32px;padding:0 8px;font-size:12px;color:#63656e;cursor:pointer;background:#fff;border:1px solid #c4c6cc;border-radius:2px}.ui-query-options .ui-query-option-content .value-list .ui-value-row .ui-value-component .ui-value-operator .operator-content[data-v-c8ac423e]{max-width:300px;overflow:hidden;color:#f59500;text-overflow:ellipsis;white-space:nowrap}.ui-query-options .ui-query-option-content .value-list .ui-value-row .ui-value-component .ui-value-operator .bk-icon[data-v-c8ac423e]{font-size:18px !important}.ui-query-options .ui-query-option-content .value-list .ui-value-row[data-v-c8ac423e] .ui-value-search-textarea{height:291px}.ui-query-options .ui-query-option-content .value-list .ui-value-row[data-v-c8ac423e] .ui-value-search-textarea .bk-textarea-wrapper{height:100%}.ui-query-options .ui-query-option-footer[data-v-c8ac423e]{display:flex;align-items:center;justify-content:space-between;height:48px;padding-right:24px;padding-left:8px;background:#fafbfd;box-shadow:0 -1px 0 0 #dcdee5}.ui-query-options .ui-query-option-footer .ui-shortcut-key[data-v-c8ac423e]{display:flex;align-items:center}.ui-query-options .ui-query-option-footer .ui-shortcut-key .ui-shortcut-item[data-v-c8ac423e]{display:inline-flex;align-items:center;margin-right:24px;font-size:12px;line-height:16px}.ui-query-options .ui-query-option-footer .ui-shortcut-key .ui-shortcut-item .label[data-v-c8ac423e]{display:inline-flex;align-items:center;justify-content:center;height:16px;padding:0 4px;font-size:11px;font-weight:700;color:#a3b1cc;background-color:rgba(163,177,204,.1607843137);border:1px solid rgba(163,177,204,.3019607843);border-radius:2px}.ui-query-options .ui-query-option-footer .ui-shortcut-key .ui-shortcut-item .label.bklog-arrow-down-filled[data-v-c8ac423e]{padding:0;font-size:14px}.ui-query-options .ui-query-option-footer .ui-shortcut-key .ui-shortcut-item .label.up[data-v-c8ac423e]{margin-right:2px;transform:rotate(-180deg)}.ui-query-options .ui-query-option-footer .ui-shortcut-key .ui-shortcut-item .value[data-v-c8ac423e]{margin-left:4px;color:#7a8599}.ui-query-options .ui-query-option-footer .ui-btn-opts[data-v-c8ac423e]{font-size:0}.ui-query-options .ui-query-option-footer .ui-btn-opts .bk-button[data-v-c8ac423e]{min-width:64px;font-size:14px}.ui-query-options .ui-query-option-footer .ui-btn-opts .bk-button.save-btn[data-v-c8ac423e]{min-width:142px;margin-right:8px}.condition-value-container[data-v-c8ac423e]{display:flex;align-items:center;width:100%;min-height:32px;background:#fff;border:1px solid #c4c6cc;border-radius:2px}.condition-value-container.is-focus[data-v-c8ac423e]{border-color:#2c77f4}.condition-value-container ul.condition-value-input[data-v-c8ac423e]{display:inline-flex;flex-wrap:wrap;align-items:center;width:100%;max-height:110px;padding:0 5px;margin:0;overflow:auto}.condition-value-container ul.condition-value-input>li[data-v-c8ac423e]{display:inline-flex;align-items:center;margin:4px;margin-left:0;overflow:hidden;font-size:12px;line-height:20px;border:solid 1px rgba(0,0,0,0);border-radius:2px}.condition-value-container ul.condition-value-input>li.tag-item[data-v-c8ac423e]{color:#63656e;cursor:pointer;background:#f0f1f5;border-color:#f0f1f5}.condition-value-container ul.condition-value-input>li.tag-item .tag-item-text[data-v-c8ac423e]{display:box;max-width:100%;padding:0 8px;overflow:hidden;text-overflow:ellipsis;line-clamp:3;word-break:break-all;user-select:none;box-orient:vertical}.condition-value-container ul.condition-value-input>li.tag-item .tag-item-del[data-v-c8ac423e]{font-size:16px;color:#979ba5;cursor:pointer}.condition-value-container ul.condition-value-input>li.no-selected-tag-item[data-v-c8ac423e]{height:100%;background-color:rgba(0,0,0,0);border:none}.condition-value-container ul.condition-value-input>li.tag-validate-error[data-v-c8ac423e]{border-color:red;border-style:dashed}.condition-value-container ul.condition-value-input>li input.tag-option-focus-input[data-v-c8ac423e]{height:auto;font-size:12px;color:#63656e;border:none}.condition-value-container ul.condition-value-input>li .tag-item-input[data-v-c8ac423e]{position:absolute;top:0;width:100%;max-width:100%;height:100%;padding:0 8px;resize:none;background-color:#e1ecff;border:none}.condition-value-container ul.condition-value-input>li .tag-item-input[data-v-c8ac423e]::-webkit-scrollbar{width:12px}.tag-error-text[data-v-c8ac423e]{margin:-20px 0 6px 0px;font-size:12px;color:red}
|
|
32
32
|
ul.search-items{display:inline-flex;flex-wrap:wrap;width:100%;max-height:135px;padding:4px;padding-bottom:0;margin:0;overflow:auto}@keyframes changeBackgroundColor{0%{background-color:#f0f1f5}20%{background-color:#fdf4e8}60%{background-color:#f0f1f5}90%{background-color:#fdf4e8}100%{background-color:#f0f1f5}}ul.search-items li.search-item{display:inline-flex;flex-direction:column;align-content:center;justify-content:center;height:40px;margin-right:4px;margin-bottom:4px;cursor:pointer;border-radius:2px}ul.search-items li.search-item:not(.is-focus-input){padding:4px 8px;padding-right:48px;outline:none}ul.search-items li.search-item.is-common-fixed{transition:background-color 1s ease-in-out;animation:changeBackgroundColor 1.5s forwards}ul.search-items li.search-item.is-focus-input{position:relative}ul.search-items li.search-item.is-focus-input::after{position:absolute;right:0;font-size:12px;line-height:20px;color:#c4c6cc;white-space:nowrap;pointer-events:none;content:attr(data-attr-txt);transform:translateX(100%)}ul.search-items li.search-item.is-focus-input .tag-option-focus-input:hover{cursor:pointer}ul.search-items li .tag-option-focus-input{height:38px;font-size:12px;color:#63656e;border:none}ul.search-items li .tag-option-focus-input::placeholder{color:#c4c6cc}ul.search-items li.btn-add{font-size:12px;color:#3a84ff;letter-spacing:0;background:#f0f5ff}ul.search-items li.btn-add:not(.is-focus-input){padding-right:8px}ul.search-items li.btn-add:hover{background:#e1ecff}ul.search-items li.btn-add .tag-add{display:flex;align-items:flex-start;justify-content:center;font-size:18px;line-height:18px}ul.search-items li.btn-add .tag-text{display:flex;align-items:flex-start;justify-content:center;height:20px;margin-bottom:2px;line-height:20px}ul.search-items li.tag-item{position:relative;background:#eaebf0}ul.search-items li.tag-item:hover .tag-options{display:inline-flex}ul.search-items li.tag-item .tag-options{position:absolute;top:2px;right:0;bottom:0;display:none;width:40px;height:18px;font-size:16px}ul.search-items li.tag-item .tag-options .bklog-icon,ul.search-items li.tag-item .tag-options .tag-options-close{display:flex;align-items:center;justify-content:center;padding:2px;color:#4d4f56;background-color:#fff}ul.search-items li.tag-item .tag-options .bklog-icon{width:18px;height:18px;font-size:12px;background:#fff;border-radius:2px;box-shadow:0 1px 2px 0 rgba(0,0,0,.0784313725)}ul.search-items li.tag-item .tag-options .bklog-icon:hover{color:#3a84ff}ul.search-items li.tag-item .tag-options .tag-options-close{margin-right:0px;margin-left:2px;font-size:14px}ul.search-items li.tag-item .tag-options .tag-options-close:hover{color:#ea3636}ul.search-items li.tag-item .tag-row{display:flex;align-items:center;justify-content:flex-start;width:100%;font-size:12px}ul.search-items li.tag-item .tag-row.match-name .match-name-label{font-family:var(--bklog-v3-row-lbl-font);color:#757880}ul.search-items li.tag-item .tag-row.match-name .symbol{padding:0 4px;color:#3a84ff}ul.search-items li.tag-item .tag-row.match-name .symbol[data-operator^="not contains"],ul.search-items li.tag-item .tag-row.match-name .symbol[data-operator^="does not exists"],ul.search-items li.tag-item .tag-row.match-name .symbol[data-operator^="is false"],ul.search-items li.tag-item .tag-row.match-name .symbol[data-operator^="!="]{color:#ea3636}ul.search-items li.tag-item .tag-row.match-value{display:inline-flex;max-width:600px;overflow:hidden;color:#313238;text-overflow:ellipsis;white-space:nowrap}ul.search-items li.tag-item .tag-row.match-value .match-value-more:hover{text-decoration:underline}ul.search-items li.tag-item .tag-row.match-value>span{display:flex;align-items:center}ul.search-items li.tag-item .tag-row.match-value>span .match-value-text{display:inline-block;max-width:140px;overflow:hidden;font-family:var(--bklog-v3-row-ctx-font);line-height:16px;text-overflow:ellipsis;white-space:nowrap}ul.search-items li.tag-item .tag-row.match-value>span .match-value-text:hover{text-decoration:underline}ul.search-items li.tag-item .tag-row.match-value>span .match-value-text.has-ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}ul.search-items li.tag-item .tag-row.match-value>span .delete-line{text-decoration:line-through;color:#979ba5}ul.search-items li.tag-item .tag-row.match-value>span .match-value-relation{margin:0 4px;font-family:"Roboto Mono";font-size:12px;font-weight:500;color:#f59500;border-radius:2px}ul.search-items li.tag-item.disabled .tag-row.match-value{color:#979ba5}ul.search-items li.tag-item.disabled .tag-row.match-value .match-value-text{position:relative;text-decoration:line-through}ul.search-items li.tag-item.disabled .tag-options .bklog-icon,ul.search-items li.tag-item.disabled .tag-options .tag-options-close{color:#4d4f56}ul.search-items li.search-item-focus.hidden-pointer{min-width:1px}ul.search-items li div{width:100%;text-align:left}ul.search-items li div.tag-add{font-size:18px;text-align:center}
|
|
33
33
|
[data-tippy-root] .tippy-box[data-theme=log-light]{color:#4d4f56;background-color:#fff;border-radius:2px;box-shadow:0 2px 15px 0 rgba(0,0,0,.16);transform:translateY(-2px)}[data-tippy-root] .tippy-box[data-theme=log-light] .tippy-content{padding:0}[data-tippy-root] .tippy-box[data-theme=log-light] .tippy-arrow{color:#fff}[data-tippy-root] .tippy-box[data-theme=log-light] .tippy-arrow::after{background-color:#fff;box-shadow:0 2px 6px 0 rgba(0,0,0,.1019607843)}[data-tippy-root] .tippy-box[data-theme=log-light] .tippy-arrow::before{top:-9px}[data-tippy-root] .tippy-box[data-theme=log-light] .ui-query-options{border-radius:2px}[data-tippy-root] .tippy-box[data-theme=log-light] .ui-query-options .ui-query-option-footer{border-radius:0 0 2px 2px}[data-tippy-root] .tippy-box[data-theme=log-dark]{color:#fff;background-color:#4d4f56;border-radius:2px;box-shadow:0 2px 6px 0 #fff;transform:translateY(-2px)}[data-tippy-root] .tippy-box[data-theme=log-dark] .tippy-content{padding:4px 8px}[data-tippy-root] .tippy-box[data-theme=log-dark] .tippy-arrow{color:#4d4f56}[data-tippy-root] .tippy-box[data-theme=log-dark] .tippy-arrow::after{background-color:#4d4f56;box-shadow:0 2px 6px 0 #fff}[data-tippy-root] .tippy-box[data-theme=log-dark] .tippy-arrow::before{top:-9px}.bk-tooltip-content .match-value-select{display:flex;align-items:center;font-size:12px;line-height:32px;cursor:pointer;background-color:#fff}.bk-tooltip-content .delete-line{color:#979ba5;text-decoration:line-through}.match-value-content{display:flex;flex-direction:column}.match-value-content .bk-tooltip-ref{width:100%;cursor:pointer}.match-value-content .match-value-child{font-size:12px;line-height:32px}.match-value-popover{left:15px !important}
|
|
34
|
-
.search-bar-wrapper[data-v-
|
|
34
|
+
.search-bar-wrapper[data-v-9a10bb56]{position:sticky;top:0px;z-index:4}.search-bar-wrapper .search-bar-container[data-v-9a10bb56]{display:flex;background-color:#fff;border-radius:2px;box-shadow:0 2px 4px 0 rgba(25,25,41,.0784313725)}.search-bar-wrapper .search-bar-container .search-options[data-v-9a10bb56]{display:flex;align-items:center;justify-content:center;width:100%;max-width:82px;min-height:48px;cursor:pointer;border-right:solid 1px #dcdee5}.search-bar-wrapper .search-bar-container .search-options .mode-text[data-v-9a10bb56]{display:inline-flex;font-size:12px;color:#313238}.search-bar-wrapper .search-bar-container .search-options .bklog-qiehuan-2[data-v-9a10bb56]{margin-left:4px;color:#4d4f56}.search-bar-wrapper .search-bar-container .search-options:hover .mode-text[data-v-9a10bb56]{color:#3a84ff}.search-bar-wrapper .search-bar-container .search-options:hover .bklog-qiehuan-2[data-v-9a10bb56]{color:#3a84ff}.search-bar-wrapper .search-bar-container .search-input[data-v-9a10bb56]{position:relative;display:flex;width:100%;min-height:48px;background:#fff;border-radius:2px}.search-bar-wrapper .search-bar-container .search-input.disabled[data-v-9a10bb56]::after{position:absolute;top:0;right:0;bottom:0;left:0;cursor:not-allowed;content:"";background-color:rgba(0,0,0,0)}.search-bar-wrapper .search-bar-container .search-input .search-tool .bk-tooltip[data-v-9a10bb56]{display:inline-flex}.search-bar-wrapper .search-bar-container .search-input .search-tool.items .disabled[data-v-9a10bb56]{color:#dcdee5;cursor:not-allowed}.search-bar-wrapper .search-bar-container .search-input .search-tool.items[data-v-9a10bb56]{display:flex;align-items:center;justify-content:space-around;padding-right:4px;color:#4d4f56}.search-bar-wrapper .search-bar-container .search-input .search-tool.items .bklog-keyword-inspect[data-v-9a10bb56]{width:280px;padding:12px;cursor:default;background:#fff;border:1px solid #dcdee5;box-shadow:0 2px 6px 0 rgba(0,0,0,.1019607843)}.search-bar-wrapper .search-bar-container .search-input .search-tool.items .bklog-keyword-inspect .inspect-row[data-v-9a10bb56]{width:100%;text-align:left}.search-bar-wrapper .search-bar-container .search-input .search-tool.items .bklog-keyword-inspect .inspect-row .inspect-title[data-v-9a10bb56]{display:flex;align-items:center;justify-content:space-between;width:100%;height:20px;font-size:12px;line-height:20px;color:#313238}.search-bar-wrapper .search-bar-container .search-input .search-tool.items .bklog-keyword-inspect .inspect-row .inspect-title .inspect-keyword-replace[data-v-9a10bb56]{font-size:12px;color:#3a84ff;cursor:pointer}.search-bar-wrapper .search-bar-container .search-input .search-tool.items .bklog-keyword-inspect .inspect-row .inspect-message[data-v-9a10bb56]{position:relative;display:flex;align-items:flex-start;justify-content:space-between;width:100%;padding:6px 8px;font-size:12px;line-height:20px;color:#e71818;background:#f5f7fa;border-radius:2px;word-break:break-all;white-space:break-word}.search-bar-wrapper .search-bar-container .search-input .search-tool.items .bklog-keyword-inspect .inspect-row[data-v-9a10bb56]:last-child{margin-top:16px}.search-bar-wrapper .search-bar-container .search-input .search-tool.items>div[data-v-9a10bb56]{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin-right:2px;font-size:18px;color:#4d4f56;cursor:pointer;border-radius:2px}.search-bar-wrapper .search-bar-container .search-input .search-tool.items>div[data-v-9a10bb56]:hover{background:#eaebf0}.search-bar-wrapper .search-bar-container .search-input .search-tool.items>div.is-focused[data-v-9a10bb56]{color:#3a84ff;background:#e1ecff}.search-bar-wrapper .search-bar-container .search-input .search-tool.items>div.bklog-keyword-validate[data-v-9a10bb56]{position:relative;overflow:visible}.search-bar-wrapper .search-bar-container .search-input .search-tool.items>div .bklog-star-line[data-v-9a10bb56]{font-size:20px}.search-bar-wrapper .search-bar-container .search-input .search-tool.search-btn[data-v-9a10bb56]{display:flex;align-items:center;justify-content:center;width:48px;font-size:14px;color:#fff;cursor:pointer;background-color:#3a84ff;border-radius:0 2px 2px 0}.search-bar-wrapper .search-bar-container .search-input .search-tool.search-btn[data-v-9a10bb56] .bk-button{width:100%;height:100%;border-radius:0 2px 2px 0}.search-bar-wrapper .search-bar-container .search-input .search-tool.search-btn[data-v-9a10bb56] .bk-button .icon-search{font-size:16px}.search-bar-wrapper .search-bar-container .search-refresh[data-v-9a10bb56]{position:relative;display:flex;align-items:center;height:52px;padding:0px 18px 0px 13px;cursor:pointer}.search-bar-wrapper .search-bar-container .search-refresh[data-v-9a10bb56]::before{position:absolute;top:20px;left:0;width:1px;height:14px;content:"";background-color:#dcdee5}.search-bar-wrapper .search-bar-container .auto-refresh-trigger[data-v-9a10bb56]{display:flex;align-items:center;min-width:103px;height:52px;font-size:12px;line-height:22px;white-space:nowrap;cursor:pointer}.search-bar-wrapper .search-bar-container .auto-refresh-trigger .bklog-icon[data-v-9a10bb56]{padding:0 5px 0 17px;font-size:14px;color:#63656e}.search-bar-wrapper .search-bar-container .auto-refresh-trigger .active-text[data-v-9a10bb56]{color:#3a84ff}.search-bar-wrapper .search-bar-container .auto-refresh-trigger .icon-angle-down[data-v-9a10bb56]{margin:0 10px;font-size:22px;color:#63656e;transition:transform .3s}.search-bar-wrapper .search-bar-container .auto-refresh-trigger .icon-angle-down.active[data-v-9a10bb56]{transition:transform .3s;transform:rotate(-180deg)}.search-bar-wrapper .search-bar-container .auto-refresh-trigger:hover>span[data-v-9a10bb56]{color:#3a84ff}.search-bar-wrapper .search-bar-container .auto-refresh-trigger[data-v-9a10bb56]::before{position:absolute;top:20px;left:0;width:1px;height:14px;content:"";background-color:#dcdee5}.search-bar-wrapper .search-bar-container .query-params-wrap[data-v-9a10bb56]{display:flex;flex:1;align-items:center;justify-content:end}.search-bar-wrapper .search-bar-container[data-v-9a10bb56]::before{position:absolute;top:0;right:0;left:0;height:50px;content:"";background-color:#f4f7fa;transform:translateY(-100%)}.search-bar-wrapper .search-bar-container.readonly[data-v-9a10bb56]::after{position:absolute;top:0;right:0;bottom:0;left:0;cursor:not-allowed;content:"";background-color:hsla(0,0%,100%,.2)}.search-bar-wrapper .search-bar-container.set-border[data-v-9a10bb56]{border-bottom:1px solid #dcdee5}.search-bar-wrapper .search-bar-container.inspect-error .search-input[data-v-9a10bb56]{background:#fff0f0}.search-bar-wrapper.no-margin[data-v-9a10bb56]{margin-left:0}
|
|
35
35
|
.bklog-sql-input-loading .bk-loading-wrapper{left:30px}[data-tippy-root] .tippy-box[data-theme*=transparent]{background-color:rgba(0,0,0,0);border:none}.bklog-search-input-poptool{display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,0)}.bklog-search-input-poptool .bklog-icon{display:flex;align-items:center;justify-content:center;width:28px;height:28px;margin-right:4px;color:#4d4f56;cursor:pointer;background:#fafbfd;border:1px solid #dcdee5;border-radius:2px;box-shadow:0 1px 3px 1px rgba(0,0,0,.1215686275)}.bklog-search-input-poptool .bklog-icon:hover{color:#3a84ff}
|
|
36
36
|
.v3-search-bar-root{width:100%;padding:0 8px}.v3-search-bar-root.is-sticky-top{padding:0;transition:all .3s ease}
|
|
37
37
|
.no-index-set-container[data-v-8c9135ae]{width:100%;height:calc(100% - 142px);margin-top:142px;text-align:center}.no-index-set-container .icon-index-set[data-v-8c9135ae]{margin-bottom:25px;font-size:52px;color:#d4d6dd}.no-index-set-container .main-tip[data-v-8c9135ae]{margin-bottom:30px;font-size:18px;color:#313238}.no-index-set-container .index-manage-container[data-v-8c9135ae]{display:flex;align-items:center;justify-content:space-between;width:732px;margin:80px auto 0}.no-index-set-container .index-manage-container .index-manage[data-v-8c9135ae]{display:flex;flex-flow:column;align-items:center;width:346px;height:200px;background:#fff;border-radius:2px}.no-index-set-container .index-manage-container .index-manage .index-manage-tips[data-v-8c9135ae]{height:88px;margin:40px 0 0;font-size:14px;font-weight:600;line-height:24px;color:#63656e}.no-index-set-container .index-manage-container .index-manage .index-manage-tips p[data-v-8c9135ae]:last-child{font-weight:normal;color:#979ba5}.no-index-set-container .index-manage-container .index-manage .king-button[data-v-8c9135ae]{border-radius:16px}.no-index-set-container .side-tip[data-v-8c9135ae]{margin-bottom:30px;font-size:14px;color:#979ba5}
|
|
38
38
|
.chart-menu[data-v-a19d0db6]{position:absolute;z-index:999;display:flex;flex-direction:column;width:182px;padding:6px 0;font-size:12px;background:#fff;border:1px solid #dcdee5;border-radius:2px;box-shadow:0px 3px 6px 0px rgba(0,0,0,.15)}.chart-menu-item[data-v-a19d0db6]{display:flex;flex:0 0 32px;align-items:center;width:100%;padding-left:12px;font-weight:normal;color:#63656e}.chart-menu-item .menu-icon[data-v-a19d0db6],.chart-menu-item .link-icon[data-v-a19d0db6]{display:flex;align-items:center;justify-content:center;width:12px;height:12px;margin-right:12px;font-size:14px;color:#979ba5}.chart-menu-item[data-v-a19d0db6]:hover{color:#3a84ff;cursor:pointer;background:#f5f6fa}.chart-menu-item:hover .menu-icon[data-v-a19d0db6]{color:#3a84ff}.chart-menu-item .link-icon[data-v-a19d0db6]{margin-left:auto;color:#979ba5}.chart-menu-item .link-icon[data-v-a19d0db6]:hover{color:#3a84ff}
|
|
39
|
+
.bklog-v3-popoover-wrapper{font-size:12px}
|
|
39
40
|
.bklog-v3-grade-setting{width:800px;padding:16px 0 0 0;background:#fff;border:1px solid #dcdee5;border-radius:2px;box-shadow:0 2px 6px 0 rgba(0,0,0,.1019607843)}.bklog-v3-grade-setting .grade-title{height:24px;padding:0 24px;font-size:16px;line-height:24px;color:#313238}.bklog-v3-grade-setting .grade-row{display:flex;align-items:flex-start;padding:0 24px;margin-top:16px}.bklog-v3-grade-setting .grade-row.grade-switcher{align-items:center}.bklog-v3-grade-setting .grade-row .grade-label{display:flex;align-items:center;height:32px;padding-right:8px;margin-right:8px;font-size:12px;line-height:20px;color:#4d4f56;text-align:left}.bklog-v3-grade-setting .grade-row .grade-label.required{position:relative}.bklog-v3-grade-setting .grade-row .grade-label.required::after{position:absolute;top:8px;right:0px;color:#ea3636;content:"*"}.bklog-v3-grade-setting .grade-row .grade-field-setting{display:flex}.bklog-v3-grade-setting .grade-row .grade-field-des{display:flex;align-items:center;font-size:12px;color:#979ba5;line-height:20px}.bklog-v3-grade-setting .grade-row .grade-field-des .bklog-icon{margin:0 4px}.bklog-v3-grade-setting .grade-row .grade-table{border-left:1px solid #dcdee5}.bklog-v3-grade-setting .grade-row .grade-table .grade-table-header{display:flex}.bklog-v3-grade-setting .grade-row .grade-table .grade-table-header .grade-table-col{border-top:1px solid #dcdee5;background:#f0f1f5}.bklog-v3-grade-setting .grade-row .grade-table .grade-table-header .grade-table-col.col-color{display:flex;align-items:center;justify-content:center}.bklog-v3-grade-setting .grade-row .grade-table .grade-table-col{display:flex;align-items:center;height:42px;padding:8px;border-right:1px solid #dcdee5;border-bottom:1px solid #dcdee5;font-size:12px}.bklog-v3-grade-setting .grade-row .grade-table .grade-table-col.col-color{display:flex;align-items:center;justify-content:center}.bklog-v3-grade-setting .grade-row .grade-table .grade-table-row{display:flex}.bklog-v3-grade-setting .grade-row .grade-table .grade-table-row .grade-table-option{display:flex;align-items:center}.bklog-v3-grade-setting .grade-row .grade-table .grade-table-row .grade-table-option span{width:14px;height:14px;margin-left:10px;display:inline-block;position:relative;color:#979ba5;cursor:pointer}.bklog-v3-grade-setting .grade-row .grade-table .grade-table-row.readonly{background:#fafbfd}.bklog-v3-grade-setting .grade-row .grade-table .grade-table-row.readonly .grade-table-col{color:#979ba5;cursor:not-allowed}.bklog-v3-grade-setting .grade-row.grade-footer{display:flex;justify-content:flex-end;height:48px;padding:8px 24px;background:#fafbfd;box-shadow:0 -1px 0 0 #dcdee5}.bklog-v3-grade-setting .bklog-v3-grade-color-select{border:none}.bklog-v3-grade-setting .bklog-v3-grade-color-select .bk-select-name{visibility:hidden}.bklog-v3-grade-setting .bklog-v3-grade-color-list .bk-options-wrapper .bk-options.bk-options-single .bk-option .bk-option-content{padding:2px}
|
|
40
41
|
.title-wrapper-new[data-v-c67dc8a0]{position:relative;z-index:999;flex:1;width:100%}.title-wrapper-new .converge-cycle[data-v-c67dc8a0]{display:flex;align-items:center;margin-left:14px;font-size:12px;font-weight:normal;color:#4d4f56}.title-wrapper-new .converge-cycle .select-custom[data-v-c67dc8a0]{display:inline-block;padding-left:5px;color:#313238;vertical-align:middle;border:none}.title-wrapper-new .converge-cycle .select-custom[data-v-c67dc8a0] .bk-select-name{width:60px;padding-right:20px;padding-left:0;text-align:center}.title-wrapper-new .converge-cycle .bklog-icon[data-v-c67dc8a0]{padding:1px;font-size:14px;cursor:pointer}.title-wrapper-new .chart-title[data-v-c67dc8a0]{width:100%;padding:0 4px;margin-left:-10px;font-size:12px;color:#4d4f56;border-radius:2px}.title-wrapper-new .chart-title .title-click[data-v-c67dc8a0]{display:flex;flex-wrap:nowrap;align-items:center;cursor:pointer}.title-wrapper-new .chart-title .main-title[data-v-c67dc8a0]{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;height:24px}.title-wrapper-new .chart-title .main-title .title-name[data-v-c67dc8a0]{height:20px;overflow:hidden;font-family:MicrosoftYaHei-Bold,sans-serif;font-weight:700;line-height:20px;color:#313238;text-overflow:ellipsis;white-space:nowrap}.title-wrapper-new .chart-title .main-title .time-result .total-count[data-v-c67dc8a0]{color:red}.title-wrapper-new .chart-title .main-title .icon-down-shape[data-v-c67dc8a0]{margin-right:8px;transition:transform .3s}.title-wrapper-new .chart-title .main-title .icon-down-shape.is-flip[data-v-c67dc8a0]{transition:transform .3s;transform:rotate(-90deg)}.title-wrapper-new .chart-title .sub-title[data-v-c67dc8a0]{height:16px;overflow:hidden;line-height:16px;color:#979ba5;text-overflow:ellipsis;white-space:nowrap}.title-wrapper-new .menu-list[data-v-c67dc8a0]{position:absolute;top:0;right:36px}.title-wrapper-new .menu-list .bklog-icon[data-v-c67dc8a0]{font-size:14px;color:#979ba5;cursor:pointer}.title-wrapper-new .chart-spin[data-v-c67dc8a0]{position:absolute;top:27px;right:36px}
|
|
41
42
|
.monitor-echart-wrap[data-v-6b6024e4]{position:relative;width:100%;height:100%;padding-top:18px;color:#63656e;background-color:#fff;background-repeat:repeat;background-position:top;border-radius:2px}
|
|
@@ -81,9 +82,9 @@ ul.search-items{display:inline-flex;flex-wrap:wrap;width:100%;max-height:135px;p
|
|
|
81
82
|
.bklog-v3-storage{display:flex;align-items:center}.bklog-v3-storage .bklog-option-item{font-size:12px;line-height:20px;color:#63656e}
|
|
82
83
|
.original-log-panel .original-log-panel-tools[data-v-2cf30c8f]{display:flex;justify-content:space-between;padding:0 6px 0 6px}.original-log-panel .tools-more[data-v-2cf30c8f]{display:flex;align-items:center;justify-content:center}.original-log-panel .tools-more .switch-label[data-v-2cf30c8f]{margin-right:2px;font-size:12px;color:#63656e}.original-log-panel .operation-icons[data-v-2cf30c8f]{display:flex;align-items:center;justify-content:space-between;margin-left:16px}.original-log-panel .operation-icons .operation-icon[data-v-2cf30c8f]{display:flex;align-items:center;justify-content:center;width:32px;height:32px;margin-left:10px;cursor:pointer;background-color:#f0f1f5;border-radius:2px;outline:none;transition:boder-color .2s}.original-log-panel .operation-icons .operation-icon[data-v-2cf30c8f]:hover{border-color:#4d4f56;transition:boder-color .2s}.original-log-panel .operation-icons .operation-icon[data-v-2cf30c8f]:active{border-color:#3a84ff;transition:boder-color .2s}.original-log-panel .operation-icons .operation-icon .bklog-icon[data-v-2cf30c8f]{width:16px;font-size:16px;color:#4d4f56}.original-log-panel .operation-icons .light-search[data-v-2cf30c8f]{display:flex;align-items:center;background:#fff;font-size:12px;color:#4d4f56}.original-log-panel .operation-icons .light-search label[data-v-2cf30c8f]{border-left:1px solid #c4c6cc;border-top:1px solid #c4c6cc;border-bottom:1px solid #c4c6cc;border-top-left-radius:2px;border-bottom-left-radius:2px;border-right:none;width:40px;padding:0px 0px;color:#4d4f56;text-align:center;background:#fafbfd;height:32px;display:flex;align-items:center;justify-content:center}.original-log-panel .operation-icons .disabled-icon[data-v-2cf30c8f]{cursor:not-allowed;background-color:#fff;border-color:#dcdee5}.original-log-panel .operation-icons .disabled-icon[data-v-2cf30c8f]:hover,.original-log-panel .operation-icons .disabled-icon .bklog-icon[data-v-2cf30c8f]{color:#c4c6cc;border-color:#dcdee5}.original-log-panel .left-operate[data-v-2cf30c8f]{flex-wrap:nowrap;align-items:center;display:flex;justify-content:space-between}.original-log-panel .left-operate>div[data-v-2cf30c8f]{flex-shrink:0}.original-log-panel .left-operate .bk-button-group[data-v-2cf30c8f]{display:flex;align-items:center;justify-content:center;width:104px;height:32px;padding:4px 4px;font-size:12px;background-color:#f0f1f5;border-radius:2px}.original-log-panel .left-operate .option[data-v-2cf30c8f]{display:flex;flex:1;align-items:center;justify-content:center;width:100%;height:100%;color:#4d4f56;cursor:pointer;transition:background-color .3s}.original-log-panel .left-operate .option.option-selected[data-v-2cf30c8f]{color:#3a84ff;background-color:#fff}.original-log-panel .left-operate .bklog-option-item[data-v-2cf30c8f]{font-size:12px;line-height:20px;color:#63656e}.original-log-panel .field-select[data-v-2cf30c8f]{position:relative;width:120px;margin-left:16px}.original-log-panel .field-select .icon-field-config[data-v-2cf30c8f]{position:absolute;top:4px;left:4px;width:18px}.original-log-panel .field-select[data-v-2cf30c8f] .bk-select .bk-select-name{padding:0px 36px 0 30px}.extension-add-new-config[data-v-2cf30c8f]{cursor:pointer;display:flex;align-items:center;justify-content:center}.extension-add-new-config[data-v-2cf30c8f] :last-child{margin-left:4px;color:#63656e}.extension-add-new-config .icon-close-circle[data-v-2cf30c8f]{margin-left:4px;font-size:14px;color:#979ba5;transform:rotateZ(45deg)}
|
|
83
84
|
.json-depth-num.json-depth-num-input.bk-form-control{width:96px}.json-depth-num.json-depth-num-input.bk-form-control .bk-input-number input.bk-form-input{height:26px}body.no-user-select{user-select:none}
|
|
84
|
-
.search-result-panel{background-color:#fff}.search-result-panel.flex{position:relative;display:flex;height:fit-content;overflow:visible}.search-result-panel.flex .field-list-sticky.is-show{position:sticky;top:var(--offset-search-bar);z-index:3;align-self:start;height:calc(100vh - var(--offset-search-bar) -
|
|
85
|
+
.search-result-panel{background-color:#fff}.search-result-panel.flex{position:relative;display:flex;height:fit-content;overflow:visible}.search-result-panel.flex .field-list-sticky.is-show{position:sticky;top:var(--offset-search-bar);z-index:3;align-self:start;height:calc(100vh - var(--offset-search-bar) - var(--header-height) - 100px)}.search-result-panel.flex .split-line{width:100%;margin:0 0 6px;border-bottom:solid 1px #dcdee5}.search-result-panel.flex .search-result-content{position:relative}.search-result-panel.flex .search-result-content .monitor-echarts-container{padding-left:16px}.search-result-panel.flex .search-result-content .monitor-echarts-container .title-wrapper-new{z-index:3;width:calc(100% - 110px)}.search-result-panel.flex .search-result-content.field-list-show .monitor-echarts-container .title-wrapper-new{width:100%;margin-left:0}
|
|
85
86
|
.grep-cli-codemirror-editor{width:100%;height:34px;border:none;border-radius:2px;overflow:hidden;transition:height .2s ease}.grep-cli-codemirror-editor.auto-height{min-height:34px;max-height:200px;height:auto !important}.grep-cli-codemirror-editor.auto-height .cm-editor{height:auto !important;min-height:34px}.grep-cli-codemirror-editor.auto-height .cm-content{min-height:24px;height:auto}.grep-cli-codemirror-editor.auto-height .cm-scroller{overflow-y:auto;max-height:inherit}.grep-cli-codemirror-editor .cm-editor{height:100%;border:none;background-color:rgba(0,0,0,0)}.grep-cli-codemirror-editor .cm-editor.cm-focused{outline:none}.grep-cli-codemirror-editor .cm-content{padding:6px 8px;line-height:1.4;font-size:14px;font-family:"Monaco","Menlo","Ubuntu Mono","Consolas","source-code-pro",monospace;min-height:24px}.grep-cli-codemirror-editor .cm-scroller{overflow:auto}.grep-cli-codemirror-editor .cm-placeholder,.grep-cli-codemirror-editor .grep-cli-placeholder{position:absolute;top:6px;left:8px;color:#999;font-style:italic;pointer-events:none;z-index:1;font-family:"Monaco","Menlo","Ubuntu Mono","Consolas","source-code-pro",monospace;font-size:14px;line-height:1.4;user-select:none;opacity:.8;transition:opacity .2s ease}.grep-cli-codemirror-editor .cm-placeholder:not(:focus-within),.grep-cli-codemirror-editor .grep-cli-placeholder:not(:focus-within){opacity:.8}.grep-cli-codemirror-editor .cm-placeholder:focus-within,.grep-cli-codemirror-editor .grep-cli-placeholder:focus-within{opacity:.6}.grep-cli-codemirror-editor .cm-placeholder{position:static;color:#999 !important;font-style:italic !important;opacity:.8 !important;display:inline-block;pointer-events:none}.grep-cli-codemirror-editor .cm-searchMatch{background-color:#ffeb3b;color:#000}.grep-cli-codemirror-editor .cm-searchMatch-selected{background-color:#ff9800;color:#fff}.grep-cli-codemirror-editor .cm-selectionBackground{background-color:rgba(58,132,255,.1333333333)}.grep-cli-codemirror-editor .cm-cursor{border-left-color:#3a84ff}.grep-cli-codemirror-editor .cm-gutters{display:none !important;width:0 !important}.grep-cli-codemirror-editor .cm-lineNumbers{display:none !important}.grep-cli-codemirror-editor .cm-foldGutter{display:none !important}.grep-cli-codemirror-editor.dark-theme .cm-content{background-color:#1e1e1e;color:#d4d4d4}.grep-cli-codemirror-editor.dark-theme .cm-cursor{border-left-color:#fff}.grep-cli-codemirror-editor.dark-theme .cm-selectionBackground{background-color:#264f78}
|
|
86
|
-
.grep-cli-container{width:100%;box-shadow:0 2px 4px 0 rgba(25,25,41,.0784313725);border-radius:2px;display:flex;align-items:stretch;justify-content:space-between;min-height:40px;background:#fff;box-shadow:0 2px 4px 0 rgba(25,25,41,.0784313725);position:sticky;top:var(--top-searchbar-height);left:0;right:0;z-index:1;background:#fff}.grep-cli-left{display:flex;align-items:start;width:calc(100% - 370px);border-radius:2px;min-height:40px;height:100%;
|
|
87
|
+
.grep-cli-container{width:100%;box-shadow:0 2px 4px 0 rgba(25,25,41,.0784313725);border-radius:2px;display:flex;align-items:stretch;justify-content:space-between;min-height:40px;background:#fff;box-shadow:0 2px 4px 0 rgba(25,25,41,.0784313725);position:sticky;top:var(--top-searchbar-height);left:0;right:0;z-index:1;background:#fff}.grep-cli-left{display:flex;align-items:start;width:calc(100% - 370px);border-radius:2px;min-height:40px;height:100%;position:relative;background-color:rgba(255,232,195,.4)}.grep-cli-left::after{position:absolute;content:"";width:4px;top:0;right:0;bottom:0;background:#f5f7fa;transform:translateX(100%)}.grep-cli-left .grep-cli-label{min-width:42px;font-size:12px;color:#979ba5;padding-top:12px;padding-left:6px}.grep-cli-left .grep-cli-editor{padding-top:6px;border-left:solid 1px #eaebf0;max-width:calc(100% - 128px);width:100%;min-height:40px;height:100%;background-color:#fff}.grep-cli-center,.grep-cli-right{display:flex;align-items:center;padding:0 6px;min-height:40px;height:100%}.grep-cli-right{width:366px;border-radius:2px;padding:4px 8px;flex-direction:row;align-items:center;margin-left:4px;justify-content:space-between;gap:12px;height:100%;align-self:stretch}.grep-cli-select{margin-right:4px;margin-top:8px}.grep-cli-select .bk-select-name{padding-left:0}.grep-cli-select.is-focus{box-shadow:none}.grep-cli-textarea{flex-grow:1;margin:0 16px}.grep-cli-search-section{display:flex;align-items:center;gap:8px;width:100%;height:28px;background:#f0f1f5;border-radius:2px}.grep-cli-search-section .grep-cli-search-input{flex:1}.grep-cli-search-section .grep-cli-search-input .bk-input-text input{background-color:rgba(0,0,0,0);border-color:#f0f1f5;border-radius:2px;font-size:12px;height:26px;line-height:26px}.grep-cli-search-section .grep-cli-tools{display:flex;align-items:center;gap:4px;padding-right:4px}.grep-cli-search-section .grep-cli-tool-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;background:#fafbfd;border:1px solid #dcdee5;border-radius:2px;cursor:pointer;transition:all .2s ease;font-size:14px;color:#4d4f56}.grep-cli-search-section .grep-cli-tool-icon:hover{border-color:#a3c5fd;color:#3a84ff}.grep-cli-search-section .grep-cli-tool-icon.active{width:22px;height:22px;background:#f0f5ff;border:1px solid #a3c5fd;border-radius:2px;color:#3a84ff}.grep-cli-result-section{display:flex;align-items:center;gap:8px}.grep-cli-result-section .grep-cli-result-text{font-size:12px;min-width:60px;text-align:center}.grep-cli-result-section .grep-cli-result-text.success{color:#313238;font-weight:500}.grep-cli-result-section .grep-cli-result-text.no-result{color:#c4c6cc}.grep-cli-result-section .grep-cli-result-text.placeholder{color:#c4c6cc}.grep-cli-result-section .grep-cli-navigation{display:flex;align-items:center;gap:2px}.grep-cli-result-section .grep-cli-nav-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:1px solid #dcdee5;border-radius:2px;cursor:pointer;transition:all .2s ease;font-size:12px;color:#4d4f56;background:#fff;user-select:none}.grep-cli-result-section .grep-cli-nav-icon:hover:not(.disabled){border-color:#3a84ff;color:#3a84ff}.grep-cli-result-section .grep-cli-nav-icon:active:not(.disabled){background:#f0f5ff}.grep-cli-result-section .grep-cli-nav-icon.disabled{color:#c4c6cc;cursor:not-allowed;border-color:#dcdee5}.grep-cli-result-section .grep-cli-nav-icon.disabled:hover{color:#c4c6cc;border-color:#dcdee5}.grep-cli-search-area{display:flex;align-items:center;gap:8px;background:#f5f7fa;border-radius:4px;padding:6px}.grep-cli-search-area .grep-cli-search-input{flex:1}.grep-cli-search-area .grep-cli-search-input .bk-input-text input{background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,0);font-size:12px}.grep-cli-search-area .grep-cli-search-input .bk-input-text input:focus{border-color:#3a84ff;background-color:#fff}.grep-cli-search-area .grep-cli-tools{display:flex;align-items:center;gap:4px}.grep-cli-search-area .grep-cli-tool-icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:3px;cursor:pointer;transition:all .2s ease;font-size:14px;color:#63656e;background:rgba(0,0,0,0)}.grep-cli-search-area .grep-cli-tool-icon:hover{background-color:#e1ecff;color:#3a84ff}.grep-cli-search-area .grep-cli-tool-icon.active{background-color:#3a84ff;color:#fff}.grep-cli-result-status{display:flex;align-items:center;justify-content:center;min-height:24px}.grep-cli-result-status .grep-cli-result-text{font-size:12px}.grep-cli-result-status .grep-cli-result-text.success{color:#2dcb56}.grep-cli-result-status .grep-cli-result-text.no-result{color:#ea3636}.grep-cli-result-status .grep-cli-result-text.placeholder{color:#c4c6cc}.grep-cli-ui-tools{display:flex;align-items:center;gap:8px;background:#f0f1f5}.grep-cli-ui-tools .bk-input-text input{background-color:rgba(0,0,0,0);border-color:rgba(0,0,0,0)}.grep-cli-ui-tools .grep-cli-tool-btn{padding:4px 8px;border:none;background:#f0f0f0;border-radius:2px;cursor:pointer}.grep-cli-no-result{margin-left:16px;color:#999}:deep(.mark){background-color:#ffe58f;padding:0 2px;border-radius:2px;color:#000;font-weight:500}:deep(.mark.current){background-color:#ffd666;box-shadow:0 0 0 2px #ffd666}.grep-view{display:flex;flex-direction:column;gap:8px;width:100%;height:100%;border-radius:2px;box-shadow:0 2px 4px 0 rgba(25,25,41,.0784313725)}.cli-result-line{display:flex;align-items:flex-start;gap:8px;padding:4px 0;font-family:monospace;font-size:12px;line-height:1.5;color:#313238}.cli-result-line-number{flex-shrink:0;width:42px;text-align:right;color:#979ba5;user-select:none}.cli-result-line-content-wrapper{flex:1;min-width:0;overflow:hidden}.cli-result-line-content{display:inline;white-space:pre-wrap;word-break:break-word;overflow-x:auto;overflow-y:auto;max-height:200px;padding:4px 8px;background:#fafbfd;border-radius:2px;scroll-behavior:smooth}.log-line-item{display:inline;white-space:pre-wrap;word-break:break-word}.loading-more{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;color:#979ba5;font-size:12px;background:#f0f1f5;border-radius:2px;margin-left:8px}.loading-spinner{width:12px;height:12px;border:2px solid #dcdee5;border-top-color:#3a84ff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
|
|
87
88
|
.cli-result-container{width:100%;height:100%;display:flex;flex-direction:column;background:#fff;border-radius:4px;overflow:hidden;font-size:12px;padding-right:10px;min-height:500px}.cli-result-container .cli-result-line-number{flex:0 0 40px;padding:0 10px;color:#c78500;font-size:12px;text-align:right;user-select:none;line-height:20px}.cli-result-container [data-filter-item].current{background:orange}
|
|
88
89
|
.v3-bklog-body{width:calc(100vw - var(--left-collection-width) - 20px);margin-right:14px;margin-left:8px;overflow:visible;box-shadow:0 2px 4px 0 rgba(25,25,41,.1215686275)}
|
|
89
90
|
.bklgo-v3-ellipsis-tag-list{overflow:hidden}.bklgo-v3-ellipsis-tag-list div{display:inline-flex;align-items:center}.bklgo-v3-ellipsis-tag-list div .bklog-v3-ellipsis-hidden{display:none !important}.bklgo-v3-ellipsis-tag-list .bklog-v3-ellipsis-num{background:#f0f1f5;border-radius:2px;padding:2px 4px}.bklog-v3-ellipsis-more-tip{padding:8px}
|
package/main.js
CHANGED
|
@@ -8126,7 +8126,11 @@ const updateTimezone = tz => {
|
|
|
8126
8126
|
仅查看当前索引集: 'View only current index set',
|
|
8127
8127
|
我的: 'My',
|
|
8128
8128
|
设置筛选: 'Set filter',
|
|
8129
|
-
未编组: 'Unorganized'
|
|
8129
|
+
未编组: 'Unorganized',
|
|
8130
|
+
大小写匹配: 'Case sensitive matching',
|
|
8131
|
+
精确匹配: 'Exact match',
|
|
8132
|
+
Grep模式: 'Grep Mode',
|
|
8133
|
+
我的收藏: 'My favorites'
|
|
8130
8134
|
});
|
|
8131
8135
|
;// ./src/language/lang/en/route.ts
|
|
8132
8136
|
/*
|
|
@@ -17776,6 +17780,7 @@ var BK_LOG_STORAGE;
|
|
|
17776
17780
|
BK_LOG_STORAGE["LAST_INDEX_SET_ID"] = "_15";
|
|
17777
17781
|
})(BK_LOG_STORAGE || (BK_LOG_STORAGE = {}));
|
|
17778
17782
|
|
|
17783
|
+
const SEARCH_MODE_DIC = ['ui', 'sql'];
|
|
17779
17784
|
;// ./src/store/url-resolver.ts
|
|
17780
17785
|
/*
|
|
17781
17786
|
* Tencent is pleased to support the open source community by making
|
|
@@ -18231,7 +18236,7 @@ const IndexsetItemParams = {
|
|
|
18231
18236
|
...DEFAULT_RETRIEVE_PARAMS
|
|
18232
18237
|
};
|
|
18233
18238
|
const IndexItem = {
|
|
18234
|
-
ids: URL_ARGS.unionList?.length ? [...URL_ARGS.unionList] : [URL_ARGS.index_id],
|
|
18239
|
+
ids: (URL_ARGS.unionList?.length ? [...URL_ARGS.unionList] : [URL_ARGS.index_id]).filter(t => t !== '' && t !== undefined && t !== null),
|
|
18235
18240
|
isUnionIndex: URL_ARGS.unionList?.length ?? false,
|
|
18236
18241
|
items: [],
|
|
18237
18242
|
catchUnionBeginList: [],
|
|
@@ -23152,7 +23157,6 @@ function store_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeo
|
|
|
23152
23157
|
function store_arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
23153
23158
|
function store_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
23154
23159
|
function store_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? store_ownKeys(Object(t), !0).forEach(function (r) { defineProperty_defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : store_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
23155
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
23156
23160
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
23157
23161
|
/* eslint-disable @typescript-eslint/no-misused-promises */
|
|
23158
23162
|
/*
|
|
@@ -23426,6 +23430,7 @@ var store_store = new external_vuex_namespaceObject["default"].Store({
|
|
|
23426
23430
|
},
|
|
23427
23431
|
// @ts-ignore
|
|
23428
23432
|
retrieveParams: function retrieveParams(state) {
|
|
23433
|
+
var _SEARCH_MODE_DIC$stat;
|
|
23429
23434
|
var _state$indexItem = state.indexItem,
|
|
23430
23435
|
start_time = _state$indexItem.start_time,
|
|
23431
23436
|
end_time = _state$indexItem.end_time,
|
|
@@ -23437,9 +23442,9 @@ var store_store = new external_vuex_namespaceObject["default"].Store({
|
|
|
23437
23442
|
ip_chooser = _state$indexItem.ip_chooser,
|
|
23438
23443
|
host_scopes = _state$indexItem.host_scopes,
|
|
23439
23444
|
interval = _state$indexItem.interval,
|
|
23440
|
-
search_mode = _state$indexItem.search_mode,
|
|
23441
23445
|
sort_list = _state$indexItem.sort_list,
|
|
23442
23446
|
format = _state$indexItem.format;
|
|
23447
|
+
var search_mode = (_SEARCH_MODE_DIC$stat = SEARCH_MODE_DIC[state.storage[BK_LOG_STORAGE.SEARCH_TYPE]]) !== null && _SEARCH_MODE_DIC$stat !== void 0 ? _SEARCH_MODE_DIC$stat : 'ui';
|
|
23443
23448
|
var filterAddition = addition.filter(function (item) {
|
|
23444
23449
|
return !item.disabled && item.field !== '_ip-select_';
|
|
23445
23450
|
}).map(function (_ref2) {
|
|
@@ -23566,7 +23571,7 @@ var store_store = new external_vuex_namespaceObject["default"].Store({
|
|
|
23566
23571
|
if (Array.isArray(state.indexItem[key]) && Array.isArray((_payload$key = payload === null || payload === void 0 ? void 0 : payload[key]) !== null && _payload$key !== void 0 ? _payload$key : false)) {
|
|
23567
23572
|
var _state$indexItem$key, _payload$key2;
|
|
23568
23573
|
(_state$indexItem$key = state.indexItem[key]).splice.apply(_state$indexItem$key, [0, state.indexItem[key].length].concat(toConsumableArray_toConsumableArray(((_payload$key2 = payload === null || payload === void 0 ? void 0 : payload[key]) !== null && _payload$key2 !== void 0 ? _payload$key2 : []).filter(function (v) {
|
|
23569
|
-
return v !== null && v !== undefined;
|
|
23574
|
+
return v !== '' && v !== null && v !== undefined;
|
|
23570
23575
|
}))));
|
|
23571
23576
|
} else {
|
|
23572
23577
|
if (Object.prototype.hasOwnProperty.call(state.indexItem, key)) {
|
|
@@ -23642,7 +23647,23 @@ var store_store = new external_vuex_namespaceObject["default"].Store({
|
|
|
23642
23647
|
Object.assign(state.indexSetQueryResult, IndexSetQueryResult, payload !== null && payload !== void 0 ? payload : {});
|
|
23643
23648
|
},
|
|
23644
23649
|
updateIndexSetQueryResult: function updateIndexSetQueryResult(state, payload) {
|
|
23645
|
-
Object.
|
|
23650
|
+
Object.keys(payload !== null && payload !== void 0 ? payload : {}).forEach(function (key) {
|
|
23651
|
+
if (Array.isArray(payload[key]) && Array.isArray(state.indexSetQueryResult[key])) {
|
|
23652
|
+
var _state$indexSetQueryR, _payload$key4;
|
|
23653
|
+
if (Object.isFrozen(state.indexSetQueryResult[key])) {
|
|
23654
|
+
state.indexSetQueryResult[key] = undefined;
|
|
23655
|
+
(0,external_vue_namespaceObject.set)(state.indexSetQueryResult, key, []);
|
|
23656
|
+
} else {
|
|
23657
|
+
state.indexSetQueryResult[key].length = 0;
|
|
23658
|
+
state.indexSetQueryResult[key] = [];
|
|
23659
|
+
}
|
|
23660
|
+
(_state$indexSetQueryR = state.indexSetQueryResult[key]).push.apply(_state$indexSetQueryR, toConsumableArray_toConsumableArray(((_payload$key4 = payload[key]) !== null && _payload$key4 !== void 0 ? _payload$key4 : []).filter(function (v) {
|
|
23661
|
+
return v !== null && v !== undefined;
|
|
23662
|
+
})));
|
|
23663
|
+
} else {
|
|
23664
|
+
(0,external_vue_namespaceObject.set)(state.indexSetQueryResult, key, payload[key]);
|
|
23665
|
+
}
|
|
23666
|
+
});
|
|
23646
23667
|
},
|
|
23647
23668
|
updateIndexItemParams: function updateIndexItemParams(state, payload) {
|
|
23648
23669
|
var _payload$addition2;
|
|
@@ -24843,12 +24864,12 @@ var store_store = new external_vuex_namespaceObject["default"].Store({
|
|
|
24843
24864
|
* @returns
|
|
24844
24865
|
*/
|
|
24845
24866
|
setQueryCondition: function setQueryCondition(_ref25, payload) {
|
|
24846
|
-
var _newQueryList$, _payload$depth, _payload$isNestedFiel;
|
|
24867
|
+
var _newQueryList$, _SEARCH_MODE_DIC$stat2, _payload$depth, _payload$isNestedFiel;
|
|
24847
24868
|
var state = _ref25.state,
|
|
24848
24869
|
dispatch = _ref25.dispatch;
|
|
24849
24870
|
var newQueryList = Array.isArray(payload) ? payload : [payload];
|
|
24850
24871
|
var isLink = (_newQueryList$ = newQueryList[0]) === null || _newQueryList$ === void 0 ? void 0 : _newQueryList$.isLink;
|
|
24851
|
-
var searchMode = state.
|
|
24872
|
+
var searchMode = (_SEARCH_MODE_DIC$stat2 = SEARCH_MODE_DIC[state.storage[BK_LOG_STORAGE.SEARCH_TYPE]]) !== null && _SEARCH_MODE_DIC$stat2 !== void 0 ? _SEARCH_MODE_DIC$stat2 : 'ui';
|
|
24852
24873
|
var depth = Number((_payload$depth = payload.depth) !== null && _payload$depth !== void 0 ? _payload$depth : '0');
|
|
24853
24874
|
var isNestedField = (_payload$isNestedFiel = payload === null || payload === void 0 ? void 0 : payload.isNestedField) !== null && _payload$isNestedFiel !== void 0 ? _payload$isNestedFiel : 'false';
|
|
24854
24875
|
var isNewSearchPage = newQueryList[0].operator === 'new-search-page-is';
|
|
@@ -25598,6 +25619,39 @@ const setPointerCellClickTargetHandler = (e, _ref) => {
|
|
|
25598
25619
|
virtualTarget.style.setProperty('top', `${y + offsetY}px`);
|
|
25599
25620
|
return virtualTarget;
|
|
25600
25621
|
};
|
|
25622
|
+
;// ./src/views/retrieve-core/static.util.ts
|
|
25623
|
+
class StaticUtil {
|
|
25624
|
+
static getRegExp(reg) {
|
|
25625
|
+
let defaultFlags = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
25626
|
+
// 如果已经是 RegExp 对象,直接返回
|
|
25627
|
+
if (reg instanceof RegExp) return reg;
|
|
25628
|
+
const regString = String(reg).trim();
|
|
25629
|
+
// 判定是否为标准正则表达式字符串 /pattern/flags
|
|
25630
|
+
if (regString.startsWith('/') && regString.lastIndexOf('/') > 0) {
|
|
25631
|
+
const lastSlashIndex = regString.lastIndexOf('/');
|
|
25632
|
+
const pattern = regString.slice(1, lastSlashIndex); // 提取正则表达式的主体部分
|
|
25633
|
+
let flags = regString.slice(lastSlashIndex + 1); // 提取正则表达式的 flags(可能为空)
|
|
25634
|
+
flags = Array.from(new Set(...flags.split(''), ...(defaultFlags ?? '').split(''))).join('');
|
|
25635
|
+
// 如果 flags 中包含非法字符,直接将整个字符串作为普通字符串处理
|
|
25636
|
+
if (!/^[gimsuy]*$/.test(flags)) {
|
|
25637
|
+
return new RegExp(regString.replace(/([.*+?^${}()|[\]\\])/g, '\\$1'), defaultFlags); // 转义特殊字符
|
|
25638
|
+
}
|
|
25639
|
+
try {
|
|
25640
|
+
return new RegExp(pattern, flags); // 创建 RegExp 对象
|
|
25641
|
+
} catch (error) {
|
|
25642
|
+
console.error(`Invalid regular expression: ${regString}`, error);
|
|
25643
|
+
throw error; // 如果正则表达式无效,抛出错误
|
|
25644
|
+
}
|
|
25645
|
+
}
|
|
25646
|
+
// 如果不是标准正则表达式字符串,将字符串作为整体处理
|
|
25647
|
+
try {
|
|
25648
|
+
return new RegExp(regString.replace(/([.*+?^${}()|[\]\\])/g, '\\$1'), defaultFlags); // 转义特殊字符
|
|
25649
|
+
} catch (error) {
|
|
25650
|
+
console.error(`Invalid regular expression: ${regString}`, error);
|
|
25651
|
+
throw error; // 如果正则表达式无效,抛出错误
|
|
25652
|
+
}
|
|
25653
|
+
}
|
|
25654
|
+
}
|
|
25601
25655
|
;// ./src/views/retrieve-core/optimized-highlighter.ts
|
|
25602
25656
|
/*
|
|
25603
25657
|
* Tencent is pleased to support the open source community by making
|
|
@@ -25626,6 +25680,7 @@ const setPointerCellClickTargetHandler = (e, _ref) => {
|
|
|
25626
25680
|
*/
|
|
25627
25681
|
|
|
25628
25682
|
|
|
25683
|
+
|
|
25629
25684
|
const DEFAULT_CONFIG = {
|
|
25630
25685
|
target: document.body,
|
|
25631
25686
|
chunkStrategy: 'auto',
|
|
@@ -25660,6 +25715,12 @@ class OptimizedHighlighter {
|
|
|
25660
25715
|
currentKeywords = [];
|
|
25661
25716
|
markKeywords = [];
|
|
25662
25717
|
rootElement;
|
|
25718
|
+
// 是否区分大小写
|
|
25719
|
+
caseSensitive = false;
|
|
25720
|
+
afterMarkFn;
|
|
25721
|
+
// 正则表达式标记
|
|
25722
|
+
regExpMark = false;
|
|
25723
|
+
accuracy = 'partially';
|
|
25663
25724
|
constructor() {
|
|
25664
25725
|
let userConfig = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
|
|
25665
25726
|
target: document.body
|
|
@@ -25668,6 +25729,44 @@ class OptimizedHighlighter {
|
|
|
25668
25729
|
this.rootElement = getTargetElement(this.config.target);
|
|
25669
25730
|
this.observer = this.createObserver();
|
|
25670
25731
|
}
|
|
25732
|
+
/**
|
|
25733
|
+
* 获取当前标记选项
|
|
25734
|
+
* @description 获取当前标记选项,包括大小写敏感、正则表达式标记和精确度
|
|
25735
|
+
* @returns
|
|
25736
|
+
*/
|
|
25737
|
+
getMarkOptions() {
|
|
25738
|
+
return {
|
|
25739
|
+
caseSensitive: this.caseSensitive,
|
|
25740
|
+
regExpMark: this.regExpMark,
|
|
25741
|
+
accuracy: this.accuracy
|
|
25742
|
+
};
|
|
25743
|
+
}
|
|
25744
|
+
/**
|
|
25745
|
+
* 设置是否区分大小写
|
|
25746
|
+
* @param caseSensitive - 是否区分大小写
|
|
25747
|
+
* @param caseSensitive
|
|
25748
|
+
*/
|
|
25749
|
+
setCaseSensitive(caseSensitive) {
|
|
25750
|
+
if (this.caseSensitive !== caseSensitive) {
|
|
25751
|
+
// 如果大小写敏感状态发生变化,重置当前关键词
|
|
25752
|
+
this.caseSensitive = caseSensitive;
|
|
25753
|
+
this.highlight(this.currentKeywords, true, this.afterMarkFn);
|
|
25754
|
+
}
|
|
25755
|
+
}
|
|
25756
|
+
setRegExpMode(regExpMark) {
|
|
25757
|
+
if (this.regExpMark !== regExpMark) {
|
|
25758
|
+
// 如果正则表达式标记状态没有变化,则不需要重新标记
|
|
25759
|
+
this.regExpMark = regExpMark;
|
|
25760
|
+
this.highlight(this.currentKeywords, true, this.afterMarkFn);
|
|
25761
|
+
}
|
|
25762
|
+
}
|
|
25763
|
+
setAccuracy(accuracy) {
|
|
25764
|
+
if (this.accuracy !== accuracy) {
|
|
25765
|
+
// 如果精确度状态没有变化,则不需要重新标记
|
|
25766
|
+
this.accuracy = accuracy;
|
|
25767
|
+
this.highlight(this.currentKeywords, true, this.afterMarkFn);
|
|
25768
|
+
}
|
|
25769
|
+
}
|
|
25671
25770
|
setObserverConfig(observerConfig) {
|
|
25672
25771
|
Object.assign(this.config.observer, observerConfig);
|
|
25673
25772
|
}
|
|
@@ -25700,6 +25799,7 @@ class OptimizedHighlighter {
|
|
|
25700
25799
|
async highlight(keywords) {
|
|
25701
25800
|
let reset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
25702
25801
|
let afterMarkFn = arguments.length > 2 ? arguments[2] : undefined;
|
|
25802
|
+
this.afterMarkFn = afterMarkFn;
|
|
25703
25803
|
if (reset) {
|
|
25704
25804
|
this.resetState();
|
|
25705
25805
|
if (keywords.length === 0) {
|
|
@@ -25717,7 +25817,7 @@ class OptimizedHighlighter {
|
|
|
25717
25817
|
const chunk = this.chunkMap.get(element);
|
|
25718
25818
|
if (chunk && !chunk.highlighted && chunk.isIntersecting) {
|
|
25719
25819
|
this.instanceExecMark(chunk.instance);
|
|
25720
|
-
afterMarkFn?.();
|
|
25820
|
+
this.afterMarkFn?.();
|
|
25721
25821
|
}
|
|
25722
25822
|
});
|
|
25723
25823
|
}
|
|
@@ -25732,6 +25832,9 @@ class OptimizedHighlighter {
|
|
|
25732
25832
|
this.observer.disconnect();
|
|
25733
25833
|
this.unmarkChunks();
|
|
25734
25834
|
this.resetState();
|
|
25835
|
+
this.caseSensitive = false;
|
|
25836
|
+
this.regExpMark = false;
|
|
25837
|
+
this.accuracy = 'partially';
|
|
25735
25838
|
}
|
|
25736
25839
|
unmark() {
|
|
25737
25840
|
// 完整清理
|
|
@@ -25824,14 +25927,31 @@ class OptimizedHighlighter {
|
|
|
25824
25927
|
this.isProcessing = false;
|
|
25825
25928
|
}
|
|
25826
25929
|
instanceExecMark(instance, resolve) {
|
|
25930
|
+
if (this.regExpMark) {
|
|
25931
|
+
const regList = this.markKeywords.map(keyword => StaticUtil.getRegExp(keyword, this.caseSensitive ? 'g' : 'gi'));
|
|
25932
|
+
instance.markRegExp(regList[0], {
|
|
25933
|
+
element: 'mark',
|
|
25934
|
+
exclude: ['mark'],
|
|
25935
|
+
done: resolve ?? (() => {}),
|
|
25936
|
+
each: element => {
|
|
25937
|
+
if (element.parentElement?.classList.contains('valid-text')) {
|
|
25938
|
+
element.classList.add('valid-text');
|
|
25939
|
+
}
|
|
25940
|
+
const backgroundColor = this.getBackgroundColor(element.textContent);
|
|
25941
|
+
if (backgroundColor) {
|
|
25942
|
+
element.style.backgroundColor = backgroundColor;
|
|
25943
|
+
}
|
|
25944
|
+
}
|
|
25945
|
+
});
|
|
25946
|
+
return;
|
|
25947
|
+
}
|
|
25827
25948
|
instance.mark(this.markKeywords, {
|
|
25828
25949
|
element: 'mark',
|
|
25829
25950
|
exclude: ['mark'],
|
|
25951
|
+
caseSensitive: this.caseSensitive ?? false,
|
|
25952
|
+
accuracy: this.accuracy ?? 'partially',
|
|
25830
25953
|
done: resolve ?? (() => {}),
|
|
25831
25954
|
each: element => {
|
|
25832
|
-
if (!element.hasAttribute('data-filter-item')) {
|
|
25833
|
-
element.classList.add('data-filter-item');
|
|
25834
|
-
}
|
|
25835
25955
|
if (element.parentElement?.classList.contains('valid-text')) {
|
|
25836
25956
|
element.classList.add('valid-text');
|
|
25837
25957
|
}
|
|
@@ -26038,6 +26158,7 @@ const getRGBAColors = opacity => ['rgba(255, 235, 204, 1)', 'rgba(206, 235, 222,
|
|
|
26038
26158
|
;// ./src/views/retrieve-core/base.ts
|
|
26039
26159
|
|
|
26040
26160
|
|
|
26161
|
+
|
|
26041
26162
|
/* harmony default export */ const base = (class {
|
|
26042
26163
|
// 滚动条查询条件
|
|
26043
26164
|
globalScrollSelector;
|
|
@@ -26135,32 +26256,7 @@ const getRGBAColors = opacity => ['rgba(255, 235, 204, 1)', 'rgba(206, 235, 222,
|
|
|
26135
26256
|
});
|
|
26136
26257
|
}
|
|
26137
26258
|
getRegExp(reg) {
|
|
26138
|
-
|
|
26139
|
-
if (reg instanceof RegExp) return reg;
|
|
26140
|
-
const regString = String(reg).trim();
|
|
26141
|
-
// 判定是否为标准正则表达式字符串 /pattern/flags
|
|
26142
|
-
if (regString.startsWith('/') && regString.lastIndexOf('/') > 0) {
|
|
26143
|
-
const lastSlashIndex = regString.lastIndexOf('/');
|
|
26144
|
-
const pattern = regString.slice(1, lastSlashIndex); // 提取正则表达式的主体部分
|
|
26145
|
-
const flags = regString.slice(lastSlashIndex + 1); // 提取正则表达式的 flags(可能为空)
|
|
26146
|
-
// 如果 flags 中包含非法字符,直接将整个字符串作为普通字符串处理
|
|
26147
|
-
if (!/^[gimsuy]*$/.test(flags)) {
|
|
26148
|
-
return new RegExp(regString.replace(/([.*+?^${}()|[\]\\])/g, '\\$1')); // 转义特殊字符
|
|
26149
|
-
}
|
|
26150
|
-
try {
|
|
26151
|
-
return new RegExp(pattern, flags); // 创建 RegExp 对象
|
|
26152
|
-
} catch (error) {
|
|
26153
|
-
console.error(`Invalid regular expression: ${regString}`, error);
|
|
26154
|
-
throw error; // 如果正则表达式无效,抛出错误
|
|
26155
|
-
}
|
|
26156
|
-
}
|
|
26157
|
-
// 如果不是标准正则表达式字符串,将字符串作为整体处理
|
|
26158
|
-
try {
|
|
26159
|
-
return new RegExp(regString.replace(/([.*+?^${}()|[\]\\])/g, '\\$1')); // 转义特殊字符
|
|
26160
|
-
} catch (error) {
|
|
26161
|
-
console.error(`Invalid regular expression: ${regString}`, error);
|
|
26162
|
-
throw error; // 如果正则表达式无效,抛出错误
|
|
26163
|
-
}
|
|
26259
|
+
return StaticUtil.getRegExp(reg);
|
|
26164
26260
|
}
|
|
26165
26261
|
});
|
|
26166
26262
|
;// ./src/views/retrieve-v3/index.type.tsx
|
|
@@ -26297,6 +26393,9 @@ class RetrieveHelper extends base {
|
|
|
26297
26393
|
if (!this.markInstance) {
|
|
26298
26394
|
return;
|
|
26299
26395
|
}
|
|
26396
|
+
const {
|
|
26397
|
+
caseSensitive
|
|
26398
|
+
} = this.markInstance.getMarkOptions();
|
|
26300
26399
|
this.markInstance.setObserverConfig({
|
|
26301
26400
|
root: document.getElementById(this.logRowsContainerId)
|
|
26302
26401
|
});
|
|
@@ -26306,7 +26405,7 @@ class RetrieveHelper extends base {
|
|
|
26306
26405
|
text: keyword,
|
|
26307
26406
|
className: `highlight-${index}`,
|
|
26308
26407
|
backgroundColor: this.RGBA_LIST[index % this.RGBA_LIST.length],
|
|
26309
|
-
textReg: new RegExp(`^${keyword}
|
|
26408
|
+
textReg: new RegExp(`^${keyword}$`, caseSensitive ? '' : 'i')
|
|
26310
26409
|
};
|
|
26311
26410
|
}), reset);
|
|
26312
26411
|
}
|
|
@@ -35537,9 +35636,9 @@ let CollectIndex = class CollectIndex extends external_vue_tsx_support_namespace
|
|
|
35537
35636
|
const getRouteQueryParams = () => {
|
|
35538
35637
|
const {
|
|
35539
35638
|
ids,
|
|
35540
|
-
isUnionIndex
|
|
35541
|
-
search_mode
|
|
35639
|
+
isUnionIndex
|
|
35542
35640
|
} = this.$store.state.indexItem;
|
|
35641
|
+
const search_mode = SEARCH_MODE_DIC[this.$store.state.storage[BK_LOG_STORAGE.SEARCH_TYPE]] ?? 'ui';
|
|
35543
35642
|
const unionList = this.$store.state.unionIndexList;
|
|
35544
35643
|
const clusterParams = this.$store.state.clusterParams;
|
|
35545
35644
|
const {
|
|
@@ -36465,8 +36564,8 @@ CollectIndex = __decorate([external_vue_property_decorator_namespaceObject.Compo
|
|
|
36465
36564
|
};
|
|
36466
36565
|
}
|
|
36467
36566
|
}));
|
|
36468
|
-
;// ./node_modules/thread-loader/dist/cjs.js??clonedRuleSet-3.use[0]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-3.use[1]!./node_modules/ifdef-loader/ifdef-loader.js??clonedRuleSet-3.use[2]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/views/retrieve-v2/search-bar/index.vue?vue&type=template&id=
|
|
36469
|
-
var
|
|
36567
|
+
;// ./node_modules/thread-loader/dist/cjs.js??clonedRuleSet-3.use[0]!./node_modules/babel-loader/lib/index.js??clonedRuleSet-3.use[1]!./node_modules/ifdef-loader/ifdef-loader.js??clonedRuleSet-3.use[2]!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/views/retrieve-v2/search-bar/index.vue?vue&type=template&id=9a10bb56&scoped=true
|
|
36568
|
+
var search_barvue_type_template_id_9a10bb56_scoped_true_render = function render() {
|
|
36470
36569
|
var _setup$activeFavorite;
|
|
36471
36570
|
var _vm = this,
|
|
36472
36571
|
_c = _vm._self._c,
|
|
@@ -36644,7 +36743,7 @@ var search_barvue_type_template_id_fbc6dcba_scoped_true_render = function render
|
|
|
36644
36743
|
}
|
|
36645
36744
|
})], 1)], 1)]), _vm._v(" "), _setup.isFilterSecFocused ? [_c(_setup.CommonFilterSelect)] : _vm._e()], 2);
|
|
36646
36745
|
};
|
|
36647
|
-
var
|
|
36746
|
+
var search_barvue_type_template_id_9a10bb56_scoped_true_staticRenderFns = [];
|
|
36648
36747
|
|
|
36649
36748
|
;// ./node_modules/vue-router/composables.mjs
|
|
36650
36749
|
/*!
|
|
@@ -71049,7 +71148,8 @@ var BookmarkPop = function BookmarkPop() {
|
|
|
71049
71148
|
return indexItem.value.addition;
|
|
71050
71149
|
});
|
|
71051
71150
|
var searchMode = (0,external_vue_namespaceObject.computed)(function () {
|
|
71052
|
-
|
|
71151
|
+
var _SEARCH_MODE_DIC$stor;
|
|
71152
|
+
return (_SEARCH_MODE_DIC$stor = SEARCH_MODE_DIC[store.state.storage[BK_LOG_STORAGE.SEARCH_TYPE]]) !== null && _SEARCH_MODE_DIC$stor !== void 0 ? _SEARCH_MODE_DIC$stor : 'ui';
|
|
71053
71153
|
});
|
|
71054
71154
|
var clearSearchValueNum = (0,external_vue_namespaceObject.computed)(function () {
|
|
71055
71155
|
return store.state.clearSearchValueNum;
|
|
@@ -71551,11 +71651,11 @@ var BookmarkPop = function BookmarkPop() {
|
|
|
71551
71651
|
|
|
71552
71652
|
var search_bar_component = normalizeComponent(
|
|
71553
71653
|
retrieve_v2_search_barvue_type_script_setup_true_lang_js,
|
|
71554
|
-
|
|
71555
|
-
|
|
71654
|
+
search_barvue_type_template_id_9a10bb56_scoped_true_render,
|
|
71655
|
+
search_barvue_type_template_id_9a10bb56_scoped_true_staticRenderFns,
|
|
71556
71656
|
false,
|
|
71557
71657
|
null,
|
|
71558
|
-
"
|
|
71658
|
+
"9a10bb56",
|
|
71559
71659
|
null
|
|
71560
71660
|
|
|
71561
71661
|
)
|
|
@@ -72088,6 +72188,7 @@ var chart_menu_component = normalizeComponent(
|
|
|
72088
72188
|
*/
|
|
72089
72189
|
|
|
72090
72190
|
|
|
72191
|
+
|
|
72091
72192
|
/* harmony default export */ const bklog_popover = ((0,external_vue_namespaceObject.defineComponent)({
|
|
72092
72193
|
props: {
|
|
72093
72194
|
options: {
|
|
@@ -72109,6 +72210,10 @@ var chart_menu_component = normalizeComponent(
|
|
|
72109
72210
|
beforeHide: {
|
|
72110
72211
|
type: Function,
|
|
72111
72212
|
default: () => true
|
|
72213
|
+
},
|
|
72214
|
+
content: {
|
|
72215
|
+
type: String,
|
|
72216
|
+
default: undefined
|
|
72112
72217
|
}
|
|
72113
72218
|
},
|
|
72114
72219
|
setup(props, _ref) {
|
|
@@ -72147,7 +72252,7 @@ var chart_menu_component = normalizeComponent(
|
|
|
72147
72252
|
args[_key] = arguments[_key];
|
|
72148
72253
|
}
|
|
72149
72254
|
props.options.onShown?.(...args);
|
|
72150
|
-
if (props.options.hideOnClick === false && !isDocumentClickBinded) {
|
|
72255
|
+
if (props.options.hideOnClick === false && props.trigger === 'click' && !isDocumentClickBinded) {
|
|
72151
72256
|
document.addEventListener('click', hanldeDocumentClick);
|
|
72152
72257
|
isDocumentClickBinded = true;
|
|
72153
72258
|
}
|
|
@@ -72157,7 +72262,7 @@ var chart_menu_component = normalizeComponent(
|
|
|
72157
72262
|
args[_key2] = arguments[_key2];
|
|
72158
72263
|
}
|
|
72159
72264
|
props.options.onHidden?.(...args);
|
|
72160
|
-
if (props.options.hideOnClick === false && isDocumentClickBinded) {
|
|
72265
|
+
if (props.options.hideOnClick === false && props.trigger === 'click' && isDocumentClickBinded) {
|
|
72161
72266
|
document.removeEventListener('click', hanldeDocumentClick);
|
|
72162
72267
|
isDocumentClickBinded = false;
|
|
72163
72268
|
}
|
|
@@ -72181,9 +72286,7 @@ var chart_menu_component = normalizeComponent(
|
|
|
72181
72286
|
instance.show(props.delegateTarget ?? refTargetElement.value);
|
|
72182
72287
|
};
|
|
72183
72288
|
const handleRootElementMouseleave = () => {
|
|
72184
|
-
|
|
72185
|
-
instance.hide(300);
|
|
72186
|
-
}
|
|
72289
|
+
instance?.hide(120);
|
|
72187
72290
|
};
|
|
72188
72291
|
const handleContentElementMouseenter = () => {
|
|
72189
72292
|
instance.cancelHide();
|
|
@@ -72242,7 +72345,7 @@ var chart_menu_component = normalizeComponent(
|
|
|
72242
72345
|
}, [(0,external_vue_namespaceObject.h)("div", {
|
|
72243
72346
|
"ref": refContentElement,
|
|
72244
72347
|
"class": props.contentClass
|
|
72245
|
-
}, [slots.content?.()])])]);
|
|
72348
|
+
}, [slots.content?.() ?? props.content])])]);
|
|
72246
72349
|
}
|
|
72247
72350
|
}));
|
|
72248
72351
|
;// ./src/components/monitor-echarts/components/grade-option.tsx
|
|
@@ -90447,7 +90550,7 @@ function grepSyntaxHighlighting() {
|
|
|
90447
90550
|
// 主题样式
|
|
90448
90551
|
EditorView.theme({
|
|
90449
90552
|
'&': {
|
|
90450
|
-
fontSize: '
|
|
90553
|
+
fontSize: '12px',
|
|
90451
90554
|
height: initialHeight,
|
|
90452
90555
|
maxHeight: maxHeightForLines
|
|
90453
90556
|
},
|
|
@@ -90480,7 +90583,7 @@ function grepSyntaxHighlighting() {
|
|
|
90480
90583
|
color: '#999',
|
|
90481
90584
|
fontStyle: 'italic',
|
|
90482
90585
|
fontFamily: 'Monaco, Menlo, Ubuntu Mono, Consolas, source-code-pro, monospace',
|
|
90483
|
-
fontSize: '
|
|
90586
|
+
fontSize: '12px'
|
|
90484
90587
|
},
|
|
90485
90588
|
// 自定义滚动条样式
|
|
90486
90589
|
'.cm-scroller::-webkit-scrollbar': {
|
|
@@ -90619,10 +90722,13 @@ function grepSyntaxHighlighting() {
|
|
|
90619
90722
|
|
|
90620
90723
|
|
|
90621
90724
|
|
|
90725
|
+
|
|
90726
|
+
|
|
90622
90727
|
/* harmony default export */ const grep_cli = ((0,external_vue_namespaceObject.defineComponent)({
|
|
90623
90728
|
name: 'GrepCli',
|
|
90624
90729
|
components: {
|
|
90625
|
-
GrepCliEditor: grep_cli_editor
|
|
90730
|
+
GrepCliEditor: grep_cli_editor,
|
|
90731
|
+
BklogPopover: bklog_popover
|
|
90626
90732
|
},
|
|
90627
90733
|
props: {
|
|
90628
90734
|
searchCount: {
|
|
@@ -90644,6 +90750,9 @@ function grepSyntaxHighlighting() {
|
|
|
90644
90750
|
emit
|
|
90645
90751
|
} = _ref;
|
|
90646
90752
|
const route = useRoute();
|
|
90753
|
+
const {
|
|
90754
|
+
t
|
|
90755
|
+
} = use_locale();
|
|
90647
90756
|
const grepValue = (0,external_vue_namespaceObject.ref)(route.query.grep_query ?? '');
|
|
90648
90757
|
const isCaseSensitive = (0,external_vue_namespaceObject.ref)(false);
|
|
90649
90758
|
const isRegexMode = (0,external_vue_namespaceObject.ref)(false);
|
|
@@ -90724,7 +90833,6 @@ function grepSyntaxHighlighting() {
|
|
|
90724
90833
|
// 上一个匹配
|
|
90725
90834
|
const gotoPrevMatch = () => {
|
|
90726
90835
|
if (hasResults.value) {
|
|
90727
|
-
currentMatchIndex.value = currentMatchIndex.value > 1 ? currentMatchIndex.value - 1 : props.searchCount;
|
|
90728
90836
|
emit('search-change', {
|
|
90729
90837
|
content: grepValue.value,
|
|
90730
90838
|
searchValue: props.searchValue,
|
|
@@ -90732,15 +90840,13 @@ function grepSyntaxHighlighting() {
|
|
|
90732
90840
|
caseSensitive: isCaseSensitive.value,
|
|
90733
90841
|
regexMode: isRegexMode.value,
|
|
90734
90842
|
wordMatch: isWordMatch.value
|
|
90735
|
-
}
|
|
90736
|
-
currentIndex: currentMatchIndex.value
|
|
90843
|
+
}
|
|
90737
90844
|
});
|
|
90738
90845
|
}
|
|
90739
90846
|
};
|
|
90740
90847
|
// 下一个匹配
|
|
90741
90848
|
const gotoNextMatch = () => {
|
|
90742
90849
|
if (hasResults.value) {
|
|
90743
|
-
currentMatchIndex.value = currentMatchIndex.value < props.searchCount ? currentMatchIndex.value + 1 : 1;
|
|
90744
90850
|
emit('search-change', {
|
|
90745
90851
|
content: grepValue.value,
|
|
90746
90852
|
searchValue: props.searchValue,
|
|
@@ -90748,8 +90854,7 @@ function grepSyntaxHighlighting() {
|
|
|
90748
90854
|
caseSensitive: isCaseSensitive.value,
|
|
90749
90855
|
regexMode: isRegexMode.value,
|
|
90750
90856
|
wordMatch: isWordMatch.value
|
|
90751
|
-
}
|
|
90752
|
-
currentIndex: currentMatchIndex.value
|
|
90857
|
+
}
|
|
90753
90858
|
});
|
|
90754
90859
|
}
|
|
90755
90860
|
};
|
|
@@ -90771,9 +90876,14 @@ function grepSyntaxHighlighting() {
|
|
|
90771
90876
|
"class": 'grep-cli-container grep-cli-flex'
|
|
90772
90877
|
}, [(0,external_vue_namespaceObject.h)("div", {
|
|
90773
90878
|
"class": 'grep-cli-left'
|
|
90879
|
+
}, [(0,external_vue_namespaceObject.h)("div", {
|
|
90880
|
+
"style": {
|
|
90881
|
+
display: 'flex',
|
|
90882
|
+
width: '128px'
|
|
90883
|
+
}
|
|
90774
90884
|
}, [(0,external_vue_namespaceObject.h)("span", {
|
|
90775
90885
|
"class": 'grep-cli-label'
|
|
90776
|
-
}, ["
|
|
90886
|
+
}, [t('字段'), ":"]), (0,external_vue_namespaceObject.h)("bk-select", {
|
|
90777
90887
|
"class": 'grep-cli-select',
|
|
90778
90888
|
"attrs": {
|
|
90779
90889
|
"value": props.fieldValue,
|
|
@@ -90790,12 +90900,12 @@ function grepSyntaxHighlighting() {
|
|
|
90790
90900
|
"id": option.field_name,
|
|
90791
90901
|
"name": option.field_name
|
|
90792
90902
|
}
|
|
90793
|
-
}))]), (0,external_vue_namespaceObject.h)("div", {
|
|
90903
|
+
}))])]), (0,external_vue_namespaceObject.h)("div", {
|
|
90794
90904
|
"class": 'grep-cli-editor'
|
|
90795
90905
|
}, [(0,external_vue_namespaceObject.h)(grep_cli_editor, {
|
|
90796
90906
|
"attrs": {
|
|
90797
90907
|
"value": grepValue.value,
|
|
90798
|
-
"placeholder": '-- INSERT, Ctrl + Enter提交查询 --'
|
|
90908
|
+
"placeholder": `'-- INSERT, Ctrl + Enter ${t('提交查询')} --'`,
|
|
90799
90909
|
"autoHeight": true,
|
|
90800
90910
|
"minHeight": '34px',
|
|
90801
90911
|
"maxHeight": '160px'
|
|
@@ -90811,7 +90921,7 @@ function grepSyntaxHighlighting() {
|
|
|
90811
90921
|
}, [(0,external_vue_namespaceObject.h)("bk-input", {
|
|
90812
90922
|
"class": 'grep-cli-search-input',
|
|
90813
90923
|
"attrs": {
|
|
90814
|
-
"placeholder": '搜索',
|
|
90924
|
+
"placeholder": t('搜索'),
|
|
90815
90925
|
"value": props.searchValue,
|
|
90816
90926
|
"size": 'small'
|
|
90817
90927
|
},
|
|
@@ -90820,37 +90930,55 @@ function grepSyntaxHighlighting() {
|
|
|
90820
90930
|
}
|
|
90821
90931
|
}), (0,external_vue_namespaceObject.h)("div", {
|
|
90822
90932
|
"class": 'grep-cli-tools'
|
|
90933
|
+
}, [(0,external_vue_namespaceObject.h)(bklog_popover, {
|
|
90934
|
+
"attrs": {
|
|
90935
|
+
"trigger": 'hover',
|
|
90936
|
+
"content": t('大小写匹配'),
|
|
90937
|
+
"options": {
|
|
90938
|
+
placement: 'top',
|
|
90939
|
+
theme: 'dark'
|
|
90940
|
+
}
|
|
90941
|
+
}
|
|
90823
90942
|
}, [(0,external_vue_namespaceObject.h)("span", {
|
|
90824
90943
|
"class": ['grep-cli-tool-icon', 'bklog-icon', 'bklog-daxiaoxie', {
|
|
90825
90944
|
active: isCaseSensitive.value
|
|
90826
90945
|
}],
|
|
90827
|
-
"attrs": {
|
|
90828
|
-
"title": '大小写匹配'
|
|
90829
|
-
},
|
|
90830
90946
|
"on": {
|
|
90831
90947
|
"click": toggleCaseSensitive
|
|
90832
90948
|
}
|
|
90833
|
-
}), (0,external_vue_namespaceObject.h)(
|
|
90949
|
+
})]), (0,external_vue_namespaceObject.h)(bklog_popover, {
|
|
90950
|
+
"attrs": {
|
|
90951
|
+
"trigger": 'hover',
|
|
90952
|
+
"content": t('精确匹配'),
|
|
90953
|
+
"options": {
|
|
90954
|
+
placement: 'top',
|
|
90955
|
+
theme: 'dark'
|
|
90956
|
+
}
|
|
90957
|
+
}
|
|
90958
|
+
}, [(0,external_vue_namespaceObject.h)("span", {
|
|
90834
90959
|
"class": ['grep-cli-tool-icon', 'bklog-icon', 'bklog-ab', {
|
|
90835
|
-
active:
|
|
90960
|
+
active: isWordMatch.value
|
|
90836
90961
|
}],
|
|
90837
|
-
"attrs": {
|
|
90838
|
-
"title": '精准匹配'
|
|
90839
|
-
},
|
|
90840
90962
|
"on": {
|
|
90841
|
-
"click":
|
|
90963
|
+
"click": toggleWordMatch
|
|
90842
90964
|
}
|
|
90843
|
-
}), (0,external_vue_namespaceObject.h)(
|
|
90965
|
+
})]), (0,external_vue_namespaceObject.h)(bklog_popover, {
|
|
90966
|
+
"attrs": {
|
|
90967
|
+
"trigger": 'hover',
|
|
90968
|
+
"content": t('正则匹配'),
|
|
90969
|
+
"options": {
|
|
90970
|
+
placement: 'top',
|
|
90971
|
+
theme: 'dark'
|
|
90972
|
+
}
|
|
90973
|
+
}
|
|
90974
|
+
}, [(0,external_vue_namespaceObject.h)("span", {
|
|
90844
90975
|
"class": ['grep-cli-tool-icon', 'bklog-icon', 'bklog-tongpeifu', {
|
|
90845
|
-
active:
|
|
90976
|
+
active: isRegexMode.value
|
|
90846
90977
|
}],
|
|
90847
|
-
"attrs": {
|
|
90848
|
-
"title": '通配符'
|
|
90849
|
-
},
|
|
90850
90978
|
"on": {
|
|
90851
|
-
"click":
|
|
90979
|
+
"click": toggleRegexMode
|
|
90852
90980
|
}
|
|
90853
|
-
})])])])]);
|
|
90981
|
+
})])])])])]);
|
|
90854
90982
|
}
|
|
90855
90983
|
}));
|
|
90856
90984
|
;// ./src/views/retrieve-v3/grep/grep-cli-result.tsx
|
|
@@ -90934,7 +91062,7 @@ function grepSyntaxHighlighting() {
|
|
|
90934
91062
|
"class": 'cli-result-line-number'
|
|
90935
91063
|
}, [index + 1]), (0,external_vue_namespaceObject.h)("div", {
|
|
90936
91064
|
"class": 'cli-result-line-content-wrapper'
|
|
90937
|
-
}, [(0,external_vue_namespaceObject.h)(
|
|
91065
|
+
}, [(0,external_vue_namespaceObject.h)(text_segmentation, {
|
|
90938
91066
|
"attrs": {
|
|
90939
91067
|
"field": {
|
|
90940
91068
|
field_name: props.fieldName,
|
|
@@ -91127,12 +91255,15 @@ function grepSyntaxHighlighting() {
|
|
|
91127
91255
|
// 处理搜索更新
|
|
91128
91256
|
const handleSearchUpdate = data => {
|
|
91129
91257
|
searchValue.value = data.searchValue;
|
|
91130
|
-
matchMode.value = data.matchMode;
|
|
91258
|
+
// matchMode.value = data.matchMode;
|
|
91131
91259
|
retrieve_helper.highLightKeywords([searchValue.value], true);
|
|
91132
91260
|
};
|
|
91133
91261
|
// 处理匹配模式更新
|
|
91134
91262
|
const handleMatchModeUpdate = mode => {
|
|
91135
|
-
matchMode.value
|
|
91263
|
+
Object.assign(matchMode.value, mode);
|
|
91264
|
+
retrieve_helper.markInstance?.setCaseSensitive(matchMode.value.caseSensitive);
|
|
91265
|
+
retrieve_helper.markInstance?.setRegExpMode(matchMode.value.regexMode);
|
|
91266
|
+
retrieve_helper.markInstance?.setAccuracy(matchMode.value.wordMatch ? 'exactly' : 'partially');
|
|
91136
91267
|
retrieve_helper.highLightKeywords([searchValue.value], true);
|
|
91137
91268
|
};
|
|
91138
91269
|
const handleFieldChange = v => {
|
|
@@ -93776,16 +93907,16 @@ var sub_bar_component = normalizeComponent(
|
|
|
93776
93907
|
};
|
|
93777
93908
|
});
|
|
93778
93909
|
/**
|
|
93779
|
-
|
|
93780
|
-
|
|
93781
|
-
|
|
93782
|
-
|
|
93910
|
+
* 解析地址栏参数
|
|
93911
|
+
* 在其他模块跳转过来时,这里需要解析路由参数
|
|
93912
|
+
* 更新相关参数到store
|
|
93913
|
+
*/
|
|
93783
93914
|
const reoverRouteParams = () => {
|
|
93784
93915
|
update_URL_ARGS(route);
|
|
93785
93916
|
const routeParams = getDefaultRetrieveParams({
|
|
93786
93917
|
spaceUid: store.state.storage[BK_LOG_STORAGE.BK_SPACE_UID],
|
|
93787
93918
|
bkBizId: store.state.storage[BK_LOG_STORAGE.BK_BIZ_ID],
|
|
93788
|
-
search_mode: store.state.storage[BK_LOG_STORAGE.SEARCH_TYPE]
|
|
93919
|
+
search_mode: SEARCH_MODE_DIC[store.state.storage[BK_LOG_STORAGE.SEARCH_TYPE]] ?? 'ui'
|
|
93789
93920
|
});
|
|
93790
93921
|
let activeTab = 'single';
|
|
93791
93922
|
Object.assign(routeParams, {
|
|
@@ -94137,30 +94268,30 @@ var sub_bar_component = normalizeComponent(
|
|
|
94137
94268
|
}));
|
|
94138
94269
|
;// ./src/views/retrieve-v3/monitor/apm.ts
|
|
94139
94270
|
/*
|
|
94140
|
-
* Tencent is pleased to support the open source community by making
|
|
94141
|
-
* 蓝鲸智云PaaS平台 (BlueKing PaaS) available.
|
|
94142
|
-
*
|
|
94143
|
-
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
|
|
94144
|
-
*
|
|
94145
|
-
* 蓝鲸智云PaaS平台 (BlueKing PaaS) is licensed under the MIT License.
|
|
94146
|
-
*
|
|
94147
|
-
* License for 蓝鲸智云PaaS平台 (BlueKing PaaS):
|
|
94148
|
-
*
|
|
94149
|
-
* ---------------------------------------------------
|
|
94150
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
|
94151
|
-
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
|
94152
|
-
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
|
94153
|
-
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
94154
|
-
*
|
|
94155
|
-
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
|
|
94156
|
-
* the Software.
|
|
94157
|
-
*
|
|
94158
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
|
94159
|
-
* THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
94160
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
|
94161
|
-
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
94162
|
-
* IN THE SOFTWARE.
|
|
94163
|
-
*/
|
|
94271
|
+
* Tencent is pleased to support the open source community by making
|
|
94272
|
+
* 蓝鲸智云PaaS平台 (BlueKing PaaS) available.
|
|
94273
|
+
*
|
|
94274
|
+
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
|
|
94275
|
+
*
|
|
94276
|
+
* 蓝鲸智云PaaS平台 (BlueKing PaaS) is licensed under the MIT License.
|
|
94277
|
+
*
|
|
94278
|
+
* License for 蓝鲸智云PaaS平台 (BlueKing PaaS):
|
|
94279
|
+
*
|
|
94280
|
+
* ---------------------------------------------------
|
|
94281
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
|
94282
|
+
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
|
94283
|
+
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
|
94284
|
+
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
94285
|
+
*
|
|
94286
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
|
|
94287
|
+
* the Software.
|
|
94288
|
+
*
|
|
94289
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
|
94290
|
+
* THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
94291
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
|
94292
|
+
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
94293
|
+
* IN THE SOFTWARE.
|
|
94294
|
+
*/
|
|
94164
94295
|
window.__IS_MONITOR_COMPONENT__ = true;
|
|
94165
94296
|
window.__IS_MONITOR_TRACE__ = false;
|
|
94166
94297
|
window.__IS_MONITOR_APM__ = true;
|
|
@@ -94171,6 +94302,7 @@ if (!window.mainComponent?.$t) {
|
|
|
94171
94302
|
$t: language_i18n.t.bind(language_i18n),
|
|
94172
94303
|
$i18n: language_i18n
|
|
94173
94304
|
};
|
|
94305
|
+
window.$t = language_i18n.t.bind(language_i18n);
|
|
94174
94306
|
}
|
|
94175
94307
|
|
|
94176
94308
|
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@blueking/monitor-apm-log","version":"2.3.
|
|
1
|
+
{"name":"@blueking/monitor-apm-log","version":"2.3.4","description":"","main":"main.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"MIT"}
|