@blueking/monitor-apm-log 2.3.3 → 2.3.5
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
|
/*
|
|
@@ -8315,6 +8319,7 @@ const i18n = new external_vue_i18n_namespaceObject["default"]({
|
|
|
8315
8319
|
}
|
|
8316
8320
|
});
|
|
8317
8321
|
external_bk_magic_vue_namespaceObject.locale.i18n((key, value) => i18n.t(key, value));
|
|
8322
|
+
window.$t = i18n.t.bind(i18n);
|
|
8318
8323
|
/* harmony default export */ const language_i18n = (i18n);
|
|
8319
8324
|
;// ./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/global/json-format-wrapper.vue?vue&type=template&id=7c213b72
|
|
8320
8325
|
var render = function render() {
|
|
@@ -17776,6 +17781,7 @@ var BK_LOG_STORAGE;
|
|
|
17776
17781
|
BK_LOG_STORAGE["LAST_INDEX_SET_ID"] = "_15";
|
|
17777
17782
|
})(BK_LOG_STORAGE || (BK_LOG_STORAGE = {}));
|
|
17778
17783
|
|
|
17784
|
+
const SEARCH_MODE_DIC = ['ui', 'sql'];
|
|
17779
17785
|
;// ./src/store/url-resolver.ts
|
|
17780
17786
|
/*
|
|
17781
17787
|
* Tencent is pleased to support the open source community by making
|
|
@@ -18231,7 +18237,7 @@ const IndexsetItemParams = {
|
|
|
18231
18237
|
...DEFAULT_RETRIEVE_PARAMS
|
|
18232
18238
|
};
|
|
18233
18239
|
const IndexItem = {
|
|
18234
|
-
ids: URL_ARGS.unionList?.length ? [...URL_ARGS.unionList] : [URL_ARGS.index_id],
|
|
18240
|
+
ids: (URL_ARGS.unionList?.length ? [...URL_ARGS.unionList] : [URL_ARGS.index_id]).filter(t => t !== '' && t !== undefined && t !== null),
|
|
18235
18241
|
isUnionIndex: URL_ARGS.unionList?.length ?? false,
|
|
18236
18242
|
items: [],
|
|
18237
18243
|
catchUnionBeginList: [],
|
|
@@ -23152,7 +23158,6 @@ function store_unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeo
|
|
|
23152
23158
|
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
23159
|
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
23160
|
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
23161
|
/* eslint-disable @typescript-eslint/naming-convention */
|
|
23157
23162
|
/* eslint-disable @typescript-eslint/no-misused-promises */
|
|
23158
23163
|
/*
|
|
@@ -23426,6 +23431,7 @@ var store_store = new external_vuex_namespaceObject["default"].Store({
|
|
|
23426
23431
|
},
|
|
23427
23432
|
// @ts-ignore
|
|
23428
23433
|
retrieveParams: function retrieveParams(state) {
|
|
23434
|
+
var _SEARCH_MODE_DIC$stat;
|
|
23429
23435
|
var _state$indexItem = state.indexItem,
|
|
23430
23436
|
start_time = _state$indexItem.start_time,
|
|
23431
23437
|
end_time = _state$indexItem.end_time,
|
|
@@ -23437,9 +23443,9 @@ var store_store = new external_vuex_namespaceObject["default"].Store({
|
|
|
23437
23443
|
ip_chooser = _state$indexItem.ip_chooser,
|
|
23438
23444
|
host_scopes = _state$indexItem.host_scopes,
|
|
23439
23445
|
interval = _state$indexItem.interval,
|
|
23440
|
-
search_mode = _state$indexItem.search_mode,
|
|
23441
23446
|
sort_list = _state$indexItem.sort_list,
|
|
23442
23447
|
format = _state$indexItem.format;
|
|
23448
|
+
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
23449
|
var filterAddition = addition.filter(function (item) {
|
|
23444
23450
|
return !item.disabled && item.field !== '_ip-select_';
|
|
23445
23451
|
}).map(function (_ref2) {
|
|
@@ -23566,7 +23572,7 @@ var store_store = new external_vuex_namespaceObject["default"].Store({
|
|
|
23566
23572
|
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
23573
|
var _state$indexItem$key, _payload$key2;
|
|
23568
23574
|
(_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;
|
|
23575
|
+
return v !== '' && v !== null && v !== undefined;
|
|
23570
23576
|
}))));
|
|
23571
23577
|
} else {
|
|
23572
23578
|
if (Object.prototype.hasOwnProperty.call(state.indexItem, key)) {
|
|
@@ -23642,7 +23648,23 @@ var store_store = new external_vuex_namespaceObject["default"].Store({
|
|
|
23642
23648
|
Object.assign(state.indexSetQueryResult, IndexSetQueryResult, payload !== null && payload !== void 0 ? payload : {});
|
|
23643
23649
|
},
|
|
23644
23650
|
updateIndexSetQueryResult: function updateIndexSetQueryResult(state, payload) {
|
|
23645
|
-
Object.
|
|
23651
|
+
Object.keys(payload !== null && payload !== void 0 ? payload : {}).forEach(function (key) {
|
|
23652
|
+
if (Array.isArray(payload[key]) && Array.isArray(state.indexSetQueryResult[key])) {
|
|
23653
|
+
var _state$indexSetQueryR, _payload$key4;
|
|
23654
|
+
if (Object.isFrozen(state.indexSetQueryResult[key])) {
|
|
23655
|
+
state.indexSetQueryResult[key] = undefined;
|
|
23656
|
+
(0,external_vue_namespaceObject.set)(state.indexSetQueryResult, key, []);
|
|
23657
|
+
} else {
|
|
23658
|
+
state.indexSetQueryResult[key].length = 0;
|
|
23659
|
+
state.indexSetQueryResult[key] = [];
|
|
23660
|
+
}
|
|
23661
|
+
(_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) {
|
|
23662
|
+
return v !== null && v !== undefined;
|
|
23663
|
+
})));
|
|
23664
|
+
} else {
|
|
23665
|
+
(0,external_vue_namespaceObject.set)(state.indexSetQueryResult, key, payload[key]);
|
|
23666
|
+
}
|
|
23667
|
+
});
|
|
23646
23668
|
},
|
|
23647
23669
|
updateIndexItemParams: function updateIndexItemParams(state, payload) {
|
|
23648
23670
|
var _payload$addition2;
|
|
@@ -24843,12 +24865,12 @@ var store_store = new external_vuex_namespaceObject["default"].Store({
|
|
|
24843
24865
|
* @returns
|
|
24844
24866
|
*/
|
|
24845
24867
|
setQueryCondition: function setQueryCondition(_ref25, payload) {
|
|
24846
|
-
var _newQueryList$, _payload$depth, _payload$isNestedFiel;
|
|
24868
|
+
var _newQueryList$, _SEARCH_MODE_DIC$stat2, _payload$depth, _payload$isNestedFiel;
|
|
24847
24869
|
var state = _ref25.state,
|
|
24848
24870
|
dispatch = _ref25.dispatch;
|
|
24849
24871
|
var newQueryList = Array.isArray(payload) ? payload : [payload];
|
|
24850
24872
|
var isLink = (_newQueryList$ = newQueryList[0]) === null || _newQueryList$ === void 0 ? void 0 : _newQueryList$.isLink;
|
|
24851
|
-
var searchMode = state.
|
|
24873
|
+
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
24874
|
var depth = Number((_payload$depth = payload.depth) !== null && _payload$depth !== void 0 ? _payload$depth : '0');
|
|
24853
24875
|
var isNestedField = (_payload$isNestedFiel = payload === null || payload === void 0 ? void 0 : payload.isNestedField) !== null && _payload$isNestedFiel !== void 0 ? _payload$isNestedFiel : 'false';
|
|
24854
24876
|
var isNewSearchPage = newQueryList[0].operator === 'new-search-page-is';
|
|
@@ -25598,6 +25620,39 @@ const setPointerCellClickTargetHandler = (e, _ref) => {
|
|
|
25598
25620
|
virtualTarget.style.setProperty('top', `${y + offsetY}px`);
|
|
25599
25621
|
return virtualTarget;
|
|
25600
25622
|
};
|
|
25623
|
+
;// ./src/views/retrieve-core/static.util.ts
|
|
25624
|
+
class StaticUtil {
|
|
25625
|
+
static getRegExp(reg) {
|
|
25626
|
+
let defaultFlags = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
25627
|
+
// 如果已经是 RegExp 对象,直接返回
|
|
25628
|
+
if (reg instanceof RegExp) return reg;
|
|
25629
|
+
const regString = String(reg).trim();
|
|
25630
|
+
// 判定是否为标准正则表达式字符串 /pattern/flags
|
|
25631
|
+
if (regString.startsWith('/') && regString.lastIndexOf('/') > 0) {
|
|
25632
|
+
const lastSlashIndex = regString.lastIndexOf('/');
|
|
25633
|
+
const pattern = regString.slice(1, lastSlashIndex); // 提取正则表达式的主体部分
|
|
25634
|
+
let flags = regString.slice(lastSlashIndex + 1); // 提取正则表达式的 flags(可能为空)
|
|
25635
|
+
flags = Array.from(new Set(...flags.split(''), ...(defaultFlags ?? '').split(''))).join('');
|
|
25636
|
+
// 如果 flags 中包含非法字符,直接将整个字符串作为普通字符串处理
|
|
25637
|
+
if (!/^[gimsuy]*$/.test(flags)) {
|
|
25638
|
+
return new RegExp(regString.replace(/([.*+?^${}()|[\]\\])/g, '\\$1'), defaultFlags); // 转义特殊字符
|
|
25639
|
+
}
|
|
25640
|
+
try {
|
|
25641
|
+
return new RegExp(pattern, flags); // 创建 RegExp 对象
|
|
25642
|
+
} catch (error) {
|
|
25643
|
+
console.error(`Invalid regular expression: ${regString}`, error);
|
|
25644
|
+
throw error; // 如果正则表达式无效,抛出错误
|
|
25645
|
+
}
|
|
25646
|
+
}
|
|
25647
|
+
// 如果不是标准正则表达式字符串,将字符串作为整体处理
|
|
25648
|
+
try {
|
|
25649
|
+
return new RegExp(regString.replace(/([.*+?^${}()|[\]\\])/g, '\\$1'), defaultFlags); // 转义特殊字符
|
|
25650
|
+
} catch (error) {
|
|
25651
|
+
console.error(`Invalid regular expression: ${regString}`, error);
|
|
25652
|
+
throw error; // 如果正则表达式无效,抛出错误
|
|
25653
|
+
}
|
|
25654
|
+
}
|
|
25655
|
+
}
|
|
25601
25656
|
;// ./src/views/retrieve-core/optimized-highlighter.ts
|
|
25602
25657
|
/*
|
|
25603
25658
|
* Tencent is pleased to support the open source community by making
|
|
@@ -25626,6 +25681,7 @@ const setPointerCellClickTargetHandler = (e, _ref) => {
|
|
|
25626
25681
|
*/
|
|
25627
25682
|
|
|
25628
25683
|
|
|
25684
|
+
|
|
25629
25685
|
const DEFAULT_CONFIG = {
|
|
25630
25686
|
target: document.body,
|
|
25631
25687
|
chunkStrategy: 'auto',
|
|
@@ -25660,6 +25716,12 @@ class OptimizedHighlighter {
|
|
|
25660
25716
|
currentKeywords = [];
|
|
25661
25717
|
markKeywords = [];
|
|
25662
25718
|
rootElement;
|
|
25719
|
+
// 是否区分大小写
|
|
25720
|
+
caseSensitive = false;
|
|
25721
|
+
afterMarkFn;
|
|
25722
|
+
// 正则表达式标记
|
|
25723
|
+
regExpMark = false;
|
|
25724
|
+
accuracy = 'partially';
|
|
25663
25725
|
constructor() {
|
|
25664
25726
|
let userConfig = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
|
|
25665
25727
|
target: document.body
|
|
@@ -25668,6 +25730,44 @@ class OptimizedHighlighter {
|
|
|
25668
25730
|
this.rootElement = getTargetElement(this.config.target);
|
|
25669
25731
|
this.observer = this.createObserver();
|
|
25670
25732
|
}
|
|
25733
|
+
/**
|
|
25734
|
+
* 获取当前标记选项
|
|
25735
|
+
* @description 获取当前标记选项,包括大小写敏感、正则表达式标记和精确度
|
|
25736
|
+
* @returns
|
|
25737
|
+
*/
|
|
25738
|
+
getMarkOptions() {
|
|
25739
|
+
return {
|
|
25740
|
+
caseSensitive: this.caseSensitive,
|
|
25741
|
+
regExpMark: this.regExpMark,
|
|
25742
|
+
accuracy: this.accuracy
|
|
25743
|
+
};
|
|
25744
|
+
}
|
|
25745
|
+
/**
|
|
25746
|
+
* 设置是否区分大小写
|
|
25747
|
+
* @param caseSensitive - 是否区分大小写
|
|
25748
|
+
* @param caseSensitive
|
|
25749
|
+
*/
|
|
25750
|
+
setCaseSensitive(caseSensitive) {
|
|
25751
|
+
if (this.caseSensitive !== caseSensitive) {
|
|
25752
|
+
// 如果大小写敏感状态发生变化,重置当前关键词
|
|
25753
|
+
this.caseSensitive = caseSensitive;
|
|
25754
|
+
this.highlight(this.currentKeywords, true, this.afterMarkFn);
|
|
25755
|
+
}
|
|
25756
|
+
}
|
|
25757
|
+
setRegExpMode(regExpMark) {
|
|
25758
|
+
if (this.regExpMark !== regExpMark) {
|
|
25759
|
+
// 如果正则表达式标记状态没有变化,则不需要重新标记
|
|
25760
|
+
this.regExpMark = regExpMark;
|
|
25761
|
+
this.highlight(this.currentKeywords, true, this.afterMarkFn);
|
|
25762
|
+
}
|
|
25763
|
+
}
|
|
25764
|
+
setAccuracy(accuracy) {
|
|
25765
|
+
if (this.accuracy !== accuracy) {
|
|
25766
|
+
// 如果精确度状态没有变化,则不需要重新标记
|
|
25767
|
+
this.accuracy = accuracy;
|
|
25768
|
+
this.highlight(this.currentKeywords, true, this.afterMarkFn);
|
|
25769
|
+
}
|
|
25770
|
+
}
|
|
25671
25771
|
setObserverConfig(observerConfig) {
|
|
25672
25772
|
Object.assign(this.config.observer, observerConfig);
|
|
25673
25773
|
}
|
|
@@ -25700,6 +25800,7 @@ class OptimizedHighlighter {
|
|
|
25700
25800
|
async highlight(keywords) {
|
|
25701
25801
|
let reset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
25702
25802
|
let afterMarkFn = arguments.length > 2 ? arguments[2] : undefined;
|
|
25803
|
+
this.afterMarkFn = afterMarkFn;
|
|
25703
25804
|
if (reset) {
|
|
25704
25805
|
this.resetState();
|
|
25705
25806
|
if (keywords.length === 0) {
|
|
@@ -25717,7 +25818,7 @@ class OptimizedHighlighter {
|
|
|
25717
25818
|
const chunk = this.chunkMap.get(element);
|
|
25718
25819
|
if (chunk && !chunk.highlighted && chunk.isIntersecting) {
|
|
25719
25820
|
this.instanceExecMark(chunk.instance);
|
|
25720
|
-
afterMarkFn?.();
|
|
25821
|
+
this.afterMarkFn?.();
|
|
25721
25822
|
}
|
|
25722
25823
|
});
|
|
25723
25824
|
}
|
|
@@ -25732,6 +25833,9 @@ class OptimizedHighlighter {
|
|
|
25732
25833
|
this.observer.disconnect();
|
|
25733
25834
|
this.unmarkChunks();
|
|
25734
25835
|
this.resetState();
|
|
25836
|
+
this.caseSensitive = false;
|
|
25837
|
+
this.regExpMark = false;
|
|
25838
|
+
this.accuracy = 'partially';
|
|
25735
25839
|
}
|
|
25736
25840
|
unmark() {
|
|
25737
25841
|
// 完整清理
|
|
@@ -25824,14 +25928,31 @@ class OptimizedHighlighter {
|
|
|
25824
25928
|
this.isProcessing = false;
|
|
25825
25929
|
}
|
|
25826
25930
|
instanceExecMark(instance, resolve) {
|
|
25931
|
+
if (this.regExpMark) {
|
|
25932
|
+
const regList = this.markKeywords.map(keyword => StaticUtil.getRegExp(keyword, this.caseSensitive ? 'g' : 'gi'));
|
|
25933
|
+
instance.markRegExp(regList[0], {
|
|
25934
|
+
element: 'mark',
|
|
25935
|
+
exclude: ['mark'],
|
|
25936
|
+
done: resolve ?? (() => {}),
|
|
25937
|
+
each: element => {
|
|
25938
|
+
if (element.parentElement?.classList.contains('valid-text')) {
|
|
25939
|
+
element.classList.add('valid-text');
|
|
25940
|
+
}
|
|
25941
|
+
const backgroundColor = this.getBackgroundColor(element.textContent);
|
|
25942
|
+
if (backgroundColor) {
|
|
25943
|
+
element.style.backgroundColor = backgroundColor;
|
|
25944
|
+
}
|
|
25945
|
+
}
|
|
25946
|
+
});
|
|
25947
|
+
return;
|
|
25948
|
+
}
|
|
25827
25949
|
instance.mark(this.markKeywords, {
|
|
25828
25950
|
element: 'mark',
|
|
25829
25951
|
exclude: ['mark'],
|
|
25952
|
+
caseSensitive: this.caseSensitive ?? false,
|
|
25953
|
+
accuracy: this.accuracy ?? 'partially',
|
|
25830
25954
|
done: resolve ?? (() => {}),
|
|
25831
25955
|
each: element => {
|
|
25832
|
-
if (!element.hasAttribute('data-filter-item')) {
|
|
25833
|
-
element.classList.add('data-filter-item');
|
|
25834
|
-
}
|
|
25835
25956
|
if (element.parentElement?.classList.contains('valid-text')) {
|
|
25836
25957
|
element.classList.add('valid-text');
|
|
25837
25958
|
}
|
|
@@ -26038,6 +26159,7 @@ const getRGBAColors = opacity => ['rgba(255, 235, 204, 1)', 'rgba(206, 235, 222,
|
|
|
26038
26159
|
;// ./src/views/retrieve-core/base.ts
|
|
26039
26160
|
|
|
26040
26161
|
|
|
26162
|
+
|
|
26041
26163
|
/* harmony default export */ const base = (class {
|
|
26042
26164
|
// 滚动条查询条件
|
|
26043
26165
|
globalScrollSelector;
|
|
@@ -26135,32 +26257,7 @@ const getRGBAColors = opacity => ['rgba(255, 235, 204, 1)', 'rgba(206, 235, 222,
|
|
|
26135
26257
|
});
|
|
26136
26258
|
}
|
|
26137
26259
|
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
|
-
}
|
|
26260
|
+
return StaticUtil.getRegExp(reg);
|
|
26164
26261
|
}
|
|
26165
26262
|
});
|
|
26166
26263
|
;// ./src/views/retrieve-v3/index.type.tsx
|
|
@@ -26297,6 +26394,9 @@ class RetrieveHelper extends base {
|
|
|
26297
26394
|
if (!this.markInstance) {
|
|
26298
26395
|
return;
|
|
26299
26396
|
}
|
|
26397
|
+
const {
|
|
26398
|
+
caseSensitive
|
|
26399
|
+
} = this.markInstance.getMarkOptions();
|
|
26300
26400
|
this.markInstance.setObserverConfig({
|
|
26301
26401
|
root: document.getElementById(this.logRowsContainerId)
|
|
26302
26402
|
});
|
|
@@ -26306,7 +26406,7 @@ class RetrieveHelper extends base {
|
|
|
26306
26406
|
text: keyword,
|
|
26307
26407
|
className: `highlight-${index}`,
|
|
26308
26408
|
backgroundColor: this.RGBA_LIST[index % this.RGBA_LIST.length],
|
|
26309
|
-
textReg: new RegExp(`^${keyword}
|
|
26409
|
+
textReg: new RegExp(`^${keyword}$`, caseSensitive ? '' : 'i')
|
|
26310
26410
|
};
|
|
26311
26411
|
}), reset);
|
|
26312
26412
|
}
|
|
@@ -35537,9 +35637,9 @@ let CollectIndex = class CollectIndex extends external_vue_tsx_support_namespace
|
|
|
35537
35637
|
const getRouteQueryParams = () => {
|
|
35538
35638
|
const {
|
|
35539
35639
|
ids,
|
|
35540
|
-
isUnionIndex
|
|
35541
|
-
search_mode
|
|
35640
|
+
isUnionIndex
|
|
35542
35641
|
} = this.$store.state.indexItem;
|
|
35642
|
+
const search_mode = SEARCH_MODE_DIC[this.$store.state.storage[BK_LOG_STORAGE.SEARCH_TYPE]] ?? 'ui';
|
|
35543
35643
|
const unionList = this.$store.state.unionIndexList;
|
|
35544
35644
|
const clusterParams = this.$store.state.clusterParams;
|
|
35545
35645
|
const {
|
|
@@ -36465,8 +36565,8 @@ CollectIndex = __decorate([external_vue_property_decorator_namespaceObject.Compo
|
|
|
36465
36565
|
};
|
|
36466
36566
|
}
|
|
36467
36567
|
}));
|
|
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
|
|
36568
|
+
;// ./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
|
|
36569
|
+
var search_barvue_type_template_id_9a10bb56_scoped_true_render = function render() {
|
|
36470
36570
|
var _setup$activeFavorite;
|
|
36471
36571
|
var _vm = this,
|
|
36472
36572
|
_c = _vm._self._c,
|
|
@@ -36644,7 +36744,7 @@ var search_barvue_type_template_id_fbc6dcba_scoped_true_render = function render
|
|
|
36644
36744
|
}
|
|
36645
36745
|
})], 1)], 1)]), _vm._v(" "), _setup.isFilterSecFocused ? [_c(_setup.CommonFilterSelect)] : _vm._e()], 2);
|
|
36646
36746
|
};
|
|
36647
|
-
var
|
|
36747
|
+
var search_barvue_type_template_id_9a10bb56_scoped_true_staticRenderFns = [];
|
|
36648
36748
|
|
|
36649
36749
|
;// ./node_modules/vue-router/composables.mjs
|
|
36650
36750
|
/*!
|
|
@@ -71049,7 +71149,8 @@ var BookmarkPop = function BookmarkPop() {
|
|
|
71049
71149
|
return indexItem.value.addition;
|
|
71050
71150
|
});
|
|
71051
71151
|
var searchMode = (0,external_vue_namespaceObject.computed)(function () {
|
|
71052
|
-
|
|
71152
|
+
var _SEARCH_MODE_DIC$stor;
|
|
71153
|
+
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
71154
|
});
|
|
71054
71155
|
var clearSearchValueNum = (0,external_vue_namespaceObject.computed)(function () {
|
|
71055
71156
|
return store.state.clearSearchValueNum;
|
|
@@ -71551,11 +71652,11 @@ var BookmarkPop = function BookmarkPop() {
|
|
|
71551
71652
|
|
|
71552
71653
|
var search_bar_component = normalizeComponent(
|
|
71553
71654
|
retrieve_v2_search_barvue_type_script_setup_true_lang_js,
|
|
71554
|
-
|
|
71555
|
-
|
|
71655
|
+
search_barvue_type_template_id_9a10bb56_scoped_true_render,
|
|
71656
|
+
search_barvue_type_template_id_9a10bb56_scoped_true_staticRenderFns,
|
|
71556
71657
|
false,
|
|
71557
71658
|
null,
|
|
71558
|
-
"
|
|
71659
|
+
"9a10bb56",
|
|
71559
71660
|
null
|
|
71560
71661
|
|
|
71561
71662
|
)
|
|
@@ -72088,6 +72189,7 @@ var chart_menu_component = normalizeComponent(
|
|
|
72088
72189
|
*/
|
|
72089
72190
|
|
|
72090
72191
|
|
|
72192
|
+
|
|
72091
72193
|
/* harmony default export */ const bklog_popover = ((0,external_vue_namespaceObject.defineComponent)({
|
|
72092
72194
|
props: {
|
|
72093
72195
|
options: {
|
|
@@ -72109,6 +72211,10 @@ var chart_menu_component = normalizeComponent(
|
|
|
72109
72211
|
beforeHide: {
|
|
72110
72212
|
type: Function,
|
|
72111
72213
|
default: () => true
|
|
72214
|
+
},
|
|
72215
|
+
content: {
|
|
72216
|
+
type: String,
|
|
72217
|
+
default: undefined
|
|
72112
72218
|
}
|
|
72113
72219
|
},
|
|
72114
72220
|
setup(props, _ref) {
|
|
@@ -72147,7 +72253,7 @@ var chart_menu_component = normalizeComponent(
|
|
|
72147
72253
|
args[_key] = arguments[_key];
|
|
72148
72254
|
}
|
|
72149
72255
|
props.options.onShown?.(...args);
|
|
72150
|
-
if (props.options.hideOnClick === false && !isDocumentClickBinded) {
|
|
72256
|
+
if (props.options.hideOnClick === false && props.trigger === 'click' && !isDocumentClickBinded) {
|
|
72151
72257
|
document.addEventListener('click', hanldeDocumentClick);
|
|
72152
72258
|
isDocumentClickBinded = true;
|
|
72153
72259
|
}
|
|
@@ -72157,7 +72263,7 @@ var chart_menu_component = normalizeComponent(
|
|
|
72157
72263
|
args[_key2] = arguments[_key2];
|
|
72158
72264
|
}
|
|
72159
72265
|
props.options.onHidden?.(...args);
|
|
72160
|
-
if (props.options.hideOnClick === false && isDocumentClickBinded) {
|
|
72266
|
+
if (props.options.hideOnClick === false && props.trigger === 'click' && isDocumentClickBinded) {
|
|
72161
72267
|
document.removeEventListener('click', hanldeDocumentClick);
|
|
72162
72268
|
isDocumentClickBinded = false;
|
|
72163
72269
|
}
|
|
@@ -72181,9 +72287,7 @@ var chart_menu_component = normalizeComponent(
|
|
|
72181
72287
|
instance.show(props.delegateTarget ?? refTargetElement.value);
|
|
72182
72288
|
};
|
|
72183
72289
|
const handleRootElementMouseleave = () => {
|
|
72184
|
-
|
|
72185
|
-
instance.hide(300);
|
|
72186
|
-
}
|
|
72290
|
+
instance?.hide(120);
|
|
72187
72291
|
};
|
|
72188
72292
|
const handleContentElementMouseenter = () => {
|
|
72189
72293
|
instance.cancelHide();
|
|
@@ -72242,7 +72346,7 @@ var chart_menu_component = normalizeComponent(
|
|
|
72242
72346
|
}, [(0,external_vue_namespaceObject.h)("div", {
|
|
72243
72347
|
"ref": refContentElement,
|
|
72244
72348
|
"class": props.contentClass
|
|
72245
|
-
}, [slots.content?.()])])]);
|
|
72349
|
+
}, [slots.content?.() ?? props.content])])]);
|
|
72246
72350
|
}
|
|
72247
72351
|
}));
|
|
72248
72352
|
;// ./src/components/monitor-echarts/components/grade-option.tsx
|
|
@@ -90447,7 +90551,7 @@ function grepSyntaxHighlighting() {
|
|
|
90447
90551
|
// 主题样式
|
|
90448
90552
|
EditorView.theme({
|
|
90449
90553
|
'&': {
|
|
90450
|
-
fontSize: '
|
|
90554
|
+
fontSize: '12px',
|
|
90451
90555
|
height: initialHeight,
|
|
90452
90556
|
maxHeight: maxHeightForLines
|
|
90453
90557
|
},
|
|
@@ -90480,7 +90584,7 @@ function grepSyntaxHighlighting() {
|
|
|
90480
90584
|
color: '#999',
|
|
90481
90585
|
fontStyle: 'italic',
|
|
90482
90586
|
fontFamily: 'Monaco, Menlo, Ubuntu Mono, Consolas, source-code-pro, monospace',
|
|
90483
|
-
fontSize: '
|
|
90587
|
+
fontSize: '12px'
|
|
90484
90588
|
},
|
|
90485
90589
|
// 自定义滚动条样式
|
|
90486
90590
|
'.cm-scroller::-webkit-scrollbar': {
|
|
@@ -90619,10 +90723,13 @@ function grepSyntaxHighlighting() {
|
|
|
90619
90723
|
|
|
90620
90724
|
|
|
90621
90725
|
|
|
90726
|
+
|
|
90727
|
+
|
|
90622
90728
|
/* harmony default export */ const grep_cli = ((0,external_vue_namespaceObject.defineComponent)({
|
|
90623
90729
|
name: 'GrepCli',
|
|
90624
90730
|
components: {
|
|
90625
|
-
GrepCliEditor: grep_cli_editor
|
|
90731
|
+
GrepCliEditor: grep_cli_editor,
|
|
90732
|
+
BklogPopover: bklog_popover
|
|
90626
90733
|
},
|
|
90627
90734
|
props: {
|
|
90628
90735
|
searchCount: {
|
|
@@ -90644,6 +90751,9 @@ function grepSyntaxHighlighting() {
|
|
|
90644
90751
|
emit
|
|
90645
90752
|
} = _ref;
|
|
90646
90753
|
const route = useRoute();
|
|
90754
|
+
const {
|
|
90755
|
+
t
|
|
90756
|
+
} = use_locale();
|
|
90647
90757
|
const grepValue = (0,external_vue_namespaceObject.ref)(route.query.grep_query ?? '');
|
|
90648
90758
|
const isCaseSensitive = (0,external_vue_namespaceObject.ref)(false);
|
|
90649
90759
|
const isRegexMode = (0,external_vue_namespaceObject.ref)(false);
|
|
@@ -90724,7 +90834,6 @@ function grepSyntaxHighlighting() {
|
|
|
90724
90834
|
// 上一个匹配
|
|
90725
90835
|
const gotoPrevMatch = () => {
|
|
90726
90836
|
if (hasResults.value) {
|
|
90727
|
-
currentMatchIndex.value = currentMatchIndex.value > 1 ? currentMatchIndex.value - 1 : props.searchCount;
|
|
90728
90837
|
emit('search-change', {
|
|
90729
90838
|
content: grepValue.value,
|
|
90730
90839
|
searchValue: props.searchValue,
|
|
@@ -90732,15 +90841,13 @@ function grepSyntaxHighlighting() {
|
|
|
90732
90841
|
caseSensitive: isCaseSensitive.value,
|
|
90733
90842
|
regexMode: isRegexMode.value,
|
|
90734
90843
|
wordMatch: isWordMatch.value
|
|
90735
|
-
}
|
|
90736
|
-
currentIndex: currentMatchIndex.value
|
|
90844
|
+
}
|
|
90737
90845
|
});
|
|
90738
90846
|
}
|
|
90739
90847
|
};
|
|
90740
90848
|
// 下一个匹配
|
|
90741
90849
|
const gotoNextMatch = () => {
|
|
90742
90850
|
if (hasResults.value) {
|
|
90743
|
-
currentMatchIndex.value = currentMatchIndex.value < props.searchCount ? currentMatchIndex.value + 1 : 1;
|
|
90744
90851
|
emit('search-change', {
|
|
90745
90852
|
content: grepValue.value,
|
|
90746
90853
|
searchValue: props.searchValue,
|
|
@@ -90748,8 +90855,7 @@ function grepSyntaxHighlighting() {
|
|
|
90748
90855
|
caseSensitive: isCaseSensitive.value,
|
|
90749
90856
|
regexMode: isRegexMode.value,
|
|
90750
90857
|
wordMatch: isWordMatch.value
|
|
90751
|
-
}
|
|
90752
|
-
currentIndex: currentMatchIndex.value
|
|
90858
|
+
}
|
|
90753
90859
|
});
|
|
90754
90860
|
}
|
|
90755
90861
|
};
|
|
@@ -90771,9 +90877,14 @@ function grepSyntaxHighlighting() {
|
|
|
90771
90877
|
"class": 'grep-cli-container grep-cli-flex'
|
|
90772
90878
|
}, [(0,external_vue_namespaceObject.h)("div", {
|
|
90773
90879
|
"class": 'grep-cli-left'
|
|
90880
|
+
}, [(0,external_vue_namespaceObject.h)("div", {
|
|
90881
|
+
"style": {
|
|
90882
|
+
display: 'flex',
|
|
90883
|
+
width: '128px'
|
|
90884
|
+
}
|
|
90774
90885
|
}, [(0,external_vue_namespaceObject.h)("span", {
|
|
90775
90886
|
"class": 'grep-cli-label'
|
|
90776
|
-
}, ["
|
|
90887
|
+
}, [t('字段'), ":"]), (0,external_vue_namespaceObject.h)("bk-select", {
|
|
90777
90888
|
"class": 'grep-cli-select',
|
|
90778
90889
|
"attrs": {
|
|
90779
90890
|
"value": props.fieldValue,
|
|
@@ -90790,12 +90901,12 @@ function grepSyntaxHighlighting() {
|
|
|
90790
90901
|
"id": option.field_name,
|
|
90791
90902
|
"name": option.field_name
|
|
90792
90903
|
}
|
|
90793
|
-
}))]), (0,external_vue_namespaceObject.h)("div", {
|
|
90904
|
+
}))])]), (0,external_vue_namespaceObject.h)("div", {
|
|
90794
90905
|
"class": 'grep-cli-editor'
|
|
90795
90906
|
}, [(0,external_vue_namespaceObject.h)(grep_cli_editor, {
|
|
90796
90907
|
"attrs": {
|
|
90797
90908
|
"value": grepValue.value,
|
|
90798
|
-
"placeholder": '-- INSERT, Ctrl + Enter提交查询 --'
|
|
90909
|
+
"placeholder": `'-- INSERT, Ctrl + Enter ${t('提交查询')} --'`,
|
|
90799
90910
|
"autoHeight": true,
|
|
90800
90911
|
"minHeight": '34px',
|
|
90801
90912
|
"maxHeight": '160px'
|
|
@@ -90811,7 +90922,7 @@ function grepSyntaxHighlighting() {
|
|
|
90811
90922
|
}, [(0,external_vue_namespaceObject.h)("bk-input", {
|
|
90812
90923
|
"class": 'grep-cli-search-input',
|
|
90813
90924
|
"attrs": {
|
|
90814
|
-
"placeholder": '搜索',
|
|
90925
|
+
"placeholder": t('搜索'),
|
|
90815
90926
|
"value": props.searchValue,
|
|
90816
90927
|
"size": 'small'
|
|
90817
90928
|
},
|
|
@@ -90820,37 +90931,55 @@ function grepSyntaxHighlighting() {
|
|
|
90820
90931
|
}
|
|
90821
90932
|
}), (0,external_vue_namespaceObject.h)("div", {
|
|
90822
90933
|
"class": 'grep-cli-tools'
|
|
90934
|
+
}, [(0,external_vue_namespaceObject.h)(bklog_popover, {
|
|
90935
|
+
"attrs": {
|
|
90936
|
+
"trigger": 'hover',
|
|
90937
|
+
"content": t('大小写匹配'),
|
|
90938
|
+
"options": {
|
|
90939
|
+
placement: 'top',
|
|
90940
|
+
theme: 'dark'
|
|
90941
|
+
}
|
|
90942
|
+
}
|
|
90823
90943
|
}, [(0,external_vue_namespaceObject.h)("span", {
|
|
90824
90944
|
"class": ['grep-cli-tool-icon', 'bklog-icon', 'bklog-daxiaoxie', {
|
|
90825
90945
|
active: isCaseSensitive.value
|
|
90826
90946
|
}],
|
|
90827
|
-
"attrs": {
|
|
90828
|
-
"title": '大小写匹配'
|
|
90829
|
-
},
|
|
90830
90947
|
"on": {
|
|
90831
90948
|
"click": toggleCaseSensitive
|
|
90832
90949
|
}
|
|
90833
|
-
}), (0,external_vue_namespaceObject.h)(
|
|
90950
|
+
})]), (0,external_vue_namespaceObject.h)(bklog_popover, {
|
|
90951
|
+
"attrs": {
|
|
90952
|
+
"trigger": 'hover',
|
|
90953
|
+
"content": t('精确匹配'),
|
|
90954
|
+
"options": {
|
|
90955
|
+
placement: 'top',
|
|
90956
|
+
theme: 'dark'
|
|
90957
|
+
}
|
|
90958
|
+
}
|
|
90959
|
+
}, [(0,external_vue_namespaceObject.h)("span", {
|
|
90834
90960
|
"class": ['grep-cli-tool-icon', 'bklog-icon', 'bklog-ab', {
|
|
90835
|
-
active:
|
|
90961
|
+
active: isWordMatch.value
|
|
90836
90962
|
}],
|
|
90837
|
-
"attrs": {
|
|
90838
|
-
"title": '精准匹配'
|
|
90839
|
-
},
|
|
90840
90963
|
"on": {
|
|
90841
|
-
"click":
|
|
90964
|
+
"click": toggleWordMatch
|
|
90842
90965
|
}
|
|
90843
|
-
}), (0,external_vue_namespaceObject.h)(
|
|
90966
|
+
})]), (0,external_vue_namespaceObject.h)(bklog_popover, {
|
|
90967
|
+
"attrs": {
|
|
90968
|
+
"trigger": 'hover',
|
|
90969
|
+
"content": t('正则匹配'),
|
|
90970
|
+
"options": {
|
|
90971
|
+
placement: 'top',
|
|
90972
|
+
theme: 'dark'
|
|
90973
|
+
}
|
|
90974
|
+
}
|
|
90975
|
+
}, [(0,external_vue_namespaceObject.h)("span", {
|
|
90844
90976
|
"class": ['grep-cli-tool-icon', 'bklog-icon', 'bklog-tongpeifu', {
|
|
90845
|
-
active:
|
|
90977
|
+
active: isRegexMode.value
|
|
90846
90978
|
}],
|
|
90847
|
-
"attrs": {
|
|
90848
|
-
"title": '通配符'
|
|
90849
|
-
},
|
|
90850
90979
|
"on": {
|
|
90851
|
-
"click":
|
|
90980
|
+
"click": toggleRegexMode
|
|
90852
90981
|
}
|
|
90853
|
-
})])])])]);
|
|
90982
|
+
})])])])])]);
|
|
90854
90983
|
}
|
|
90855
90984
|
}));
|
|
90856
90985
|
;// ./src/views/retrieve-v3/grep/grep-cli-result.tsx
|
|
@@ -90934,7 +91063,7 @@ function grepSyntaxHighlighting() {
|
|
|
90934
91063
|
"class": 'cli-result-line-number'
|
|
90935
91064
|
}, [index + 1]), (0,external_vue_namespaceObject.h)("div", {
|
|
90936
91065
|
"class": 'cli-result-line-content-wrapper'
|
|
90937
|
-
}, [(0,external_vue_namespaceObject.h)(
|
|
91066
|
+
}, [(0,external_vue_namespaceObject.h)(text_segmentation, {
|
|
90938
91067
|
"attrs": {
|
|
90939
91068
|
"field": {
|
|
90940
91069
|
field_name: props.fieldName,
|
|
@@ -91127,12 +91256,15 @@ function grepSyntaxHighlighting() {
|
|
|
91127
91256
|
// 处理搜索更新
|
|
91128
91257
|
const handleSearchUpdate = data => {
|
|
91129
91258
|
searchValue.value = data.searchValue;
|
|
91130
|
-
matchMode.value = data.matchMode;
|
|
91259
|
+
// matchMode.value = data.matchMode;
|
|
91131
91260
|
retrieve_helper.highLightKeywords([searchValue.value], true);
|
|
91132
91261
|
};
|
|
91133
91262
|
// 处理匹配模式更新
|
|
91134
91263
|
const handleMatchModeUpdate = mode => {
|
|
91135
|
-
matchMode.value
|
|
91264
|
+
Object.assign(matchMode.value, mode);
|
|
91265
|
+
retrieve_helper.markInstance?.setCaseSensitive(matchMode.value.caseSensitive);
|
|
91266
|
+
retrieve_helper.markInstance?.setRegExpMode(matchMode.value.regexMode);
|
|
91267
|
+
retrieve_helper.markInstance?.setAccuracy(matchMode.value.wordMatch ? 'exactly' : 'partially');
|
|
91136
91268
|
retrieve_helper.highLightKeywords([searchValue.value], true);
|
|
91137
91269
|
};
|
|
91138
91270
|
const handleFieldChange = v => {
|
|
@@ -93776,16 +93908,16 @@ var sub_bar_component = normalizeComponent(
|
|
|
93776
93908
|
};
|
|
93777
93909
|
});
|
|
93778
93910
|
/**
|
|
93779
|
-
|
|
93780
|
-
|
|
93781
|
-
|
|
93782
|
-
|
|
93911
|
+
* 解析地址栏参数
|
|
93912
|
+
* 在其他模块跳转过来时,这里需要解析路由参数
|
|
93913
|
+
* 更新相关参数到store
|
|
93914
|
+
*/
|
|
93783
93915
|
const reoverRouteParams = () => {
|
|
93784
93916
|
update_URL_ARGS(route);
|
|
93785
93917
|
const routeParams = getDefaultRetrieveParams({
|
|
93786
93918
|
spaceUid: store.state.storage[BK_LOG_STORAGE.BK_SPACE_UID],
|
|
93787
93919
|
bkBizId: store.state.storage[BK_LOG_STORAGE.BK_BIZ_ID],
|
|
93788
|
-
search_mode: store.state.storage[BK_LOG_STORAGE.SEARCH_TYPE]
|
|
93920
|
+
search_mode: SEARCH_MODE_DIC[store.state.storage[BK_LOG_STORAGE.SEARCH_TYPE]] ?? 'ui'
|
|
93789
93921
|
});
|
|
93790
93922
|
let activeTab = 'single';
|
|
93791
93923
|
Object.assign(routeParams, {
|
|
@@ -94137,30 +94269,30 @@ var sub_bar_component = normalizeComponent(
|
|
|
94137
94269
|
}));
|
|
94138
94270
|
;// ./src/views/retrieve-v3/monitor/apm.ts
|
|
94139
94271
|
/*
|
|
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
|
-
*/
|
|
94272
|
+
* Tencent is pleased to support the open source community by making
|
|
94273
|
+
* 蓝鲸智云PaaS平台 (BlueKing PaaS) available.
|
|
94274
|
+
*
|
|
94275
|
+
* Copyright (C) 2021 THL A29 Limited, a Tencent company. All rights reserved.
|
|
94276
|
+
*
|
|
94277
|
+
* 蓝鲸智云PaaS平台 (BlueKing PaaS) is licensed under the MIT License.
|
|
94278
|
+
*
|
|
94279
|
+
* License for 蓝鲸智云PaaS平台 (BlueKing PaaS):
|
|
94280
|
+
*
|
|
94281
|
+
* ---------------------------------------------------
|
|
94282
|
+
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
|
|
94283
|
+
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
|
|
94284
|
+
* the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and
|
|
94285
|
+
* to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
94286
|
+
*
|
|
94287
|
+
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of
|
|
94288
|
+
* the Software.
|
|
94289
|
+
*
|
|
94290
|
+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO
|
|
94291
|
+
* THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
94292
|
+
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF
|
|
94293
|
+
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
94294
|
+
* IN THE SOFTWARE.
|
|
94295
|
+
*/
|
|
94164
94296
|
window.__IS_MONITOR_COMPONENT__ = true;
|
|
94165
94297
|
window.__IS_MONITOR_TRACE__ = false;
|
|
94166
94298
|
window.__IS_MONITOR_APM__ = true;
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@blueking/monitor-apm-log","version":"2.3.
|
|
1
|
+
{"name":"@blueking/monitor-apm-log","version":"2.3.5","description":"","main":"main.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"MIT"}
|