@polyv/live-watch-ai-ui 1.0.0-rc-20250814.5 → 1.0.0-rc-20250925.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/live-watch-ai-ui.cjs.js +6 -6
- package/live-watch-ai-ui.es.d.ts +19 -0
- package/live-watch-ai-ui.es.js +2028 -790
- package/live-watch-ai-ui.umd.js +6 -6
- package/package.json +1 -23
package/live-watch-ai-ui.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode("@charset \"UTF-8\";.plv-polyv-ui-empty-css{font-size:14px}.plv-click-out-side{display:none}.plv-popper{position:fixed;border:1px solid #e5e5e5;font-size:14px;background:#fff;border-radius:2px}.plv-popper .popper__arrow,.plv-popper .popper__arrow:after{position:absolute;display:block;width:0;height:0;border-color:#0000;border-style:solid}.plv-popper .popper__arrow{border-width:6px}.plv-popper .popper__arrow:after{content:\" \";border-width:6px}.plv-popper[x-placement^=top]{margin-bottom:9px}.plv-popper[x-placement^=top] .popper__arrow{bottom:-7px;border-top-color:#e5e5e5;border-bottom-width:0}.plv-popper[x-placement^=top] .popper__arrow:after{bottom:1.5px;margin-left:-6px;border-top-color:#fff;border-bottom-width:0}.plv-popper[x-placement^=bottom]{margin-top:9px}.plv-popper[x-placement^=bottom] .popper__arrow{top:-7px;border-top-width:0;border-bottom-color:#e5e5e5}.plv-popper[x-placement^=bottom] .popper__arrow:after{top:1.5px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff}.plv-popper[x-placement=bottom-start] .popper__arrow,.plv-popper[x-placement=top-start] .popper__arrow{margin-left:-13px}.plv-popper[x-placement=bottom] .popper__arrow,.plv-popper[x-placement=top] .popper__arrow{left:50%!important;margin-left:-6px}.plv-popper[x-placement=bottom-end] .popper__arrow,.plv-popper[x-placement=top-end] .popper__arrow{margin-left:-13px}.plv-popper[x-placement^=right]{margin-left:9px}.plv-popper[x-placement^=right] .popper__arrow{left:-7px;border-right-color:#e5e5e5;border-left-width:0}.plv-popper[x-placement^=right] .popper__arrow:after{bottom:-6px;left:1.5px;border-right-color:#fff;border-left-width:0}.plv-popper[x-placement^=left]{margin-right:9px}.plv-popper[x-placement^=left] .popper__arrow{right:-7px;border-right-width:0;border-left-color:#e5e5e5}.plv-popper[x-placement^=left] .popper__arrow:after{right:1.5px;bottom:-6px;margin-left:-6px;border-right-width:0;border-left-color:#fff}.plv-popper[x-placement=left] .popper__arrow,.plv-popper[x-placement=right] .popper__arrow{top:50%!important;margin-top:-6px}.plv-popper[x-placement=left-end] .popper__arrow,.plv-popper[x-placement=left-start] .popper__arrow,.plv-popper[x-placement=right-end] .popper__arrow,.plv-popper[x-placement=right-start] .popper__arrow{margin-top:-11px}.plv-popper.plv-popper--dark{border:none;background:#0a0a11cc;color:#fff}.plv-popper.plv-popper--dark .popper__arrow:after{display:none}.plv-popper.plv-popper--dark[x-placement^=bottom] .popper__arrow{top:-4px!important;border-bottom-color:#0a0a11cc}.plv-popper.plv-popper--dark[x-placement^=top] .popper__arrow{bottom:-4px;border-top-color:#0a0a11cc}.plv-popper.plv-popper--dark[x-placement^=left] .popper__arrow{right:-4px;border-left-color:#0a0a11cc}.plv-popper.plv-popper--dark[x-placement^=right] .popper__arrow{left:-4px;border-right-color:#0a0a11cc}.plv-markdown-render.plv-markdown-render--light{color:#1d2129;background:#f5f5f5}.plv-markdown-render.plv-markdown-render--light pre code.hljs{display:block;overflow-x:auto;padding:1em}.plv-markdown-render.plv-markdown-render--light code.hljs{padding:3px 5px}.plv-markdown-render.plv-markdown-render--light .hljs{color:#24292e;background:#fff}.plv-markdown-render.plv-markdown-render--light .hljs-doctag,.plv-markdown-render.plv-markdown-render--light .hljs-keyword,.plv-markdown-render.plv-markdown-render--light .hljs-meta .hljs-keyword,.plv-markdown-render.plv-markdown-render--light .hljs-template-tag,.plv-markdown-render.plv-markdown-render--light .hljs-template-variable,.plv-markdown-render.plv-markdown-render--light .hljs-type,.plv-markdown-render.plv-markdown-render--light .hljs-variable.language_{color:#d73a49}.plv-markdown-render.plv-markdown-render--light .hljs-title,.plv-markdown-render.plv-markdown-render--light .hljs-title.class_,.plv-markdown-render.plv-markdown-render--light .hljs-title.class_.inherited__,.plv-markdown-render.plv-markdown-render--light .hljs-title.function_{color:#6f42c1}.plv-markdown-render.plv-markdown-render--light .hljs-attr,.plv-markdown-render.plv-markdown-render--light .hljs-attribute,.plv-markdown-render.plv-markdown-render--light .hljs-literal,.plv-markdown-render.plv-markdown-render--light .hljs-meta,.plv-markdown-render.plv-markdown-render--light .hljs-number,.plv-markdown-render.plv-markdown-render--light .hljs-operator,.plv-markdown-render.plv-markdown-render--light .hljs-selector-attr,.plv-markdown-render.plv-markdown-render--light .hljs-selector-class,.plv-markdown-render.plv-markdown-render--light .hljs-selector-id,.plv-markdown-render.plv-markdown-render--light .hljs-variable{color:#005cc5}.plv-markdown-render.plv-markdown-render--light .hljs-meta .hljs-string,.plv-markdown-render.plv-markdown-render--light .hljs-regexp,.plv-markdown-render.plv-markdown-render--light .hljs-string{color:#032f62}.plv-markdown-render.plv-markdown-render--light .hljs-built_in,.plv-markdown-render.plv-markdown-render--light .hljs-symbol{color:#e36209}.plv-markdown-render.plv-markdown-render--light .hljs-code,.plv-markdown-render.plv-markdown-render--light .hljs-comment,.plv-markdown-render.plv-markdown-render--light .hljs-formula{color:#6a737d}.plv-markdown-render.plv-markdown-render--light .hljs-name,.plv-markdown-render.plv-markdown-render--light .hljs-quote,.plv-markdown-render.plv-markdown-render--light .hljs-selector-pseudo,.plv-markdown-render.plv-markdown-render--light .hljs-selector-tag{color:#22863a}.plv-markdown-render.plv-markdown-render--light .hljs-subst{color:#24292e}.plv-markdown-render.plv-markdown-render--light .hljs-section{color:#005cc5;font-weight:700}.plv-markdown-render.plv-markdown-render--light .hljs-bullet{color:#735c0f}.plv-markdown-render.plv-markdown-render--light .hljs-emphasis{color:#24292e;font-style:italic}.plv-markdown-render.plv-markdown-render--light .hljs-strong{color:#24292e;font-weight:700}.plv-markdown-render.plv-markdown-render--light .hljs-addition{color:#22863a;background-color:#f0fff4}.plv-markdown-render.plv-markdown-render--light .hljs-deletion{color:#b31d28;background-color:#ffeef0}.plv-markdown-render.plv-markdown-render--light blockquote{border-left:4px solid #ddd;color:#6a737d;background:#fff}.plv-markdown-render.plv-markdown-render--light code,.plv-markdown-render.plv-markdown-render--light pre{background:#fff}.plv-markdown-render.plv-markdown-render--light td,.plv-markdown-render.plv-markdown-render--light th{border:1px solid #ccc}.plv-markdown-render.plv-markdown-render--dark{color:#adadc0;background:#141518}.plv-markdown-render.plv-markdown-render--dark pre code.hljs{display:block;overflow-x:auto;padding:1em}.plv-markdown-render.plv-markdown-render--dark code.hljs{padding:3px 5px}.plv-markdown-render.plv-markdown-render--dark .hljs{color:#c9d1d9;background:#292b2e}.plv-markdown-render.plv-markdown-render--dark .hljs-doctag,.plv-markdown-render.plv-markdown-render--dark .hljs-keyword,.plv-markdown-render.plv-markdown-render--dark .hljs-meta .hljs-keyword,.plv-markdown-render.plv-markdown-render--dark .hljs-template-tag,.plv-markdown-render.plv-markdown-render--dark .hljs-template-variable,.plv-markdown-render.plv-markdown-render--dark .hljs-type,.plv-markdown-render.plv-markdown-render--dark .hljs-variable.language_{color:#ff7b72}.plv-markdown-render.plv-markdown-render--dark .hljs-title,.plv-markdown-render.plv-markdown-render--dark .hljs-title.class_,.plv-markdown-render.plv-markdown-render--dark .hljs-title.class_.inherited__,.plv-markdown-render.plv-markdown-render--dark .hljs-title.function_{color:#d2a8ff}.plv-markdown-render.plv-markdown-render--dark .hljs-attr,.plv-markdown-render.plv-markdown-render--dark .hljs-attribute,.plv-markdown-render.plv-markdown-render--dark .hljs-literal,.plv-markdown-render.plv-markdown-render--dark .hljs-meta,.plv-markdown-render.plv-markdown-render--dark .hljs-number,.plv-markdown-render.plv-markdown-render--dark .hljs-operator,.plv-markdown-render.plv-markdown-render--dark .hljs-selector-attr,.plv-markdown-render.plv-markdown-render--dark .hljs-selector-class,.plv-markdown-render.plv-markdown-render--dark .hljs-selector-id,.plv-markdown-render.plv-markdown-render--dark .hljs-variable{color:#79c0ff}.plv-markdown-render.plv-markdown-render--dark .hljs-meta .hljs-string,.plv-markdown-render.plv-markdown-render--dark .hljs-regexp,.plv-markdown-render.plv-markdown-render--dark .hljs-string{color:#a5d6ff}.plv-markdown-render.plv-markdown-render--dark .hljs-built_in,.plv-markdown-render.plv-markdown-render--dark .hljs-symbol{color:#ffa657}.plv-markdown-render.plv-markdown-render--dark .hljs-code,.plv-markdown-render.plv-markdown-render--dark .hljs-comment,.plv-markdown-render.plv-markdown-render--dark .hljs-formula{color:#8b949e}.plv-markdown-render.plv-markdown-render--dark .hljs-name,.plv-markdown-render.plv-markdown-render--dark .hljs-quote,.plv-markdown-render.plv-markdown-render--dark .hljs-selector-pseudo,.plv-markdown-render.plv-markdown-render--dark .hljs-selector-tag{color:#7ee787}.plv-markdown-render.plv-markdown-render--dark .hljs-subst{color:#c9d1d9}.plv-markdown-render.plv-markdown-render--dark .hljs-section{color:#1f6feb;font-weight:700}.plv-markdown-render.plv-markdown-render--dark .hljs-bullet{color:#f2cc60}.plv-markdown-render.plv-markdown-render--dark .hljs-emphasis{color:#c9d1d9;font-style:italic}.plv-markdown-render.plv-markdown-render--dark .hljs-strong{color:#c9d1d9;font-weight:700}.plv-markdown-render.plv-markdown-render--dark .hljs-addition{color:#aff5b4;background-color:#033a16}.plv-markdown-render.plv-markdown-render--dark .hljs-deletion{color:#ffdcd7;background-color:#67060c}.plv-markdown-render.plv-markdown-render--dark blockquote{border-left:4px solid #6a737d;color:#adadc0}.plv-markdown-render.plv-markdown-render--dark code,.plv-markdown-render.plv-markdown-render--dark pre{color:#fff;background:#292b2e}.plv-markdown-render.plv-markdown-render--dark td,.plv-markdown-render.plv-markdown-render--dark th{border:1px solid #6a737d}.plv-markdown-render{line-height:normal;word-break:break-all;padding:1em}.plv-markdown-render,.plv-markdown-render *{-webkit-box-sizing:border-box;box-sizing:border-box}.plv-markdown-render h1,.plv-markdown-render h2,.plv-markdown-render h3,.plv-markdown-render h4,.plv-markdown-render h5,.plv-markdown-render h6{font-weight:700;margin:.5em 0;line-height:1.25}.plv-markdown-render h1{font-size:2em}.plv-markdown-render h2{font-size:1.75em}.plv-markdown-render h3{font-size:1.5em}.plv-markdown-render h4{font-size:1.25em}.plv-markdown-render h5{font-size:1.1em}.plv-markdown-render h6{font-size:1em}.plv-markdown-render p{margin:0}.plv-markdown-render ol,.plv-markdown-render ul{margin:0;padding:0 0 0 2em}.plv-markdown-render ul{list-style-type:disc}.plv-markdown-render ol{list-style-type:decimal}.plv-markdown-render li{margin:.5em 0;list-style-position:outside}.plv-markdown-render table{width:100%;margin:1em 0;border-collapse:collapse;border-spacing:0}.plv-markdown-render td,.plv-markdown-render th{padding:1em}.plv-markdown-render img{display:inline-block;vertical-align:middle;max-width:35%}.plv-markdown-render blockquote{margin:1em 0;padding:.5em 1em;border-radius:4px}.plv-markdown-render code{display:inline-block;padding:.2em .4em;border-radius:4px}.plv-markdown-render pre{margin:.5em 0;padding:1em 0;overflow:auto;border-radius:4px}.plv-markdown-render a{color:#3f76fc;text-decoration:none}.plv-ai-playback-outline{width:100%;height:100%;overflow:hidden}.plv-ai-playback-outline__content{width:100%;height:100%;overflow-y:auto;box-sizing:border-box;padding:16px;position:relative}.plv-ai-playback-outline__content::-webkit-scrollbar{display:none}.plv-ai-playback-outline--color .plv-ai-playback-outline__content{background:#202127}.plv-ai-playback-outline__title{padding:10px 0;font-size:16px;font-weight:700;line-height:24px;display:flex;align-items:center;justify-content:space-between}.plv-ai-playback-outline--color .plv-ai-playback-outline__title{color:#fff}.plv-ai-playback-outline__min-map{display:flex;align-items:center;gap:4px;font-size:14px;cursor:pointer;-webkit-tap-highlight-color:transparent}.plv-ai-playback-outline__min-map span{display:flex;font-size:14px}.plv-ai-playback-outline__abstract{position:relative;box-sizing:border-box;padding:12px;margin-bottom:10px;border-radius:4px;font-size:14px;line-height:22px}.plv-ai-playback-outline--color .plv-ai-playback-outline__abstract{background:#ffffff1a;color:#fffc}.plv-ai-playback-outline__abstract-footer{text-align:right;cursor:pointer;-webkit-tap-highlight-color:transparent;line-height:22px}.plv-ai-playback-outline--color .plv-ai-playback-outline__abstract-footer{color:#3f76fc}.plv-ai-playback-outline__summary{padding:12px;font-size:14px;line-height:17px;border-radius:4px}.plv-ai-playback-outline--color .plv-ai-playback-outline__summary{background:#ffffff1a;color:#fffc}.plv-ai-playback-outline--color .plv-ai-playback-outline__summary-item{border-color:#ffffff1a}.plv-ai-playback-outline__summary-item+.plv-ai-playback-outline__summary-item{margin-top:12px;padding-top:12px;border-top-width:1px;border-top-style:solid}.plv-ai-playback-outline__summary-item-title{white-space:nowrap;display:flex;align-items:center;gap:8px;margin-bottom:8px}.plv-ai-playback-outline__summary-item-title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.plv-ai-playback-outline__summary-item-time{line-height:20px;cursor:pointer;border-bottom:1px solid currentColor;-webkit-tap-highlight-color:transparent}.plv-ai-playback-outline--color .plv-ai-playback-outline__summary-item-time{color:#5394f6}.plv-ai-playback-outline__summary-item__children{line-height:22px}.plv-ai-playback-outline__empty{position:absolute;top:50%;left:50%;width:146px;font-size:14px;transform:translate(-50%,-100px);white-space:nowrap;display:flex;flex-direction:column;align-items:center;justify-content:center}.plv-ai-playback-outline--color .plv-ai-playback-outline__empty{color:#fffc}.plv-ai-playback-outline__empty__icon{width:26px;height:18px;margin-bottom:15px}.plv-ai-outline-mind-map__control{position:absolute;bottom:10px;left:50%;transform:translate(-50%);width:140px;height:32px;padding:0 20px;cursor:pointer;-webkit-tap-highlight-color:transparent}.plv-ai-outline-mind-map__control .track{position:relative;height:100%}.plv-ai-outline-mind-map__control .track-line{position:absolute;top:50%;right:0;left:0;height:2px;background:#e0e0e0;transform:translateY(-50%)}.plv-ai-outline-mind-map__control .slider-thumb{position:absolute;top:50%;width:12px;height:12px;background:#fff;border:1px solid #bdbdbd;border-radius:50%;box-shadow:0 2px 4px #0003;transition:transform .2s ease,box-shadow .2s ease;transform:translate(-50%,-50%)}.plv-ai-outline-mind-map__control .slider-thumb.dragging{box-shadow:0 4px 8px #0003;transform:translate(-50%,-50%) scale(1.2)}.plv-ai-outline-mind-map__control .symbol{position:absolute;top:50%;font-size:20px;color:#757575;user-select:none;transition:color .2s ease;transform:translateY(-50%)}.plv-ai-outline-mind-map__control .minus{left:0}.plv-ai-outline-mind-map__control .plus{right:0}.plv-ai-outline-mind-map__control .slider-container:hover .track-line{background:#bdbdbd}.plv-ai-outline-mind-map__control .slider-container:hover .symbol{color:#fff}.plv-ai-outline-mind-map__control .slider-thumb:hover{transform:translate(-50%,-50%) scale(1.1)}.plv-ai-outline-mind-map{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999;background:#0000004d;display:flex;align-items:center;justify-content:center}.plv-ai-outline-mind-map__content{width:90%;max-width:738px;height:90%;max-height:420px;background:#36373d;border:1px solid #fff;position:relative}.plv-ai-outline-mind-map__content-mind-map{width:100%;height:100%}.plv-ai-outline-mind-map__close{position:absolute;top:0;right:0;width:48px;height:48px;font-size:20px;display:flex;align-items:center;justify-content:center;cursor:pointer;-webkit-tap-highlight-color:transparent;color:#999}.fade-enter-active{animation:fade-in .3s}.fade-leave-active{animation:fade-in .35s reverse}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.plv-ai-message-box{position:fixed;top:0;left:0;z-index:3000;display:flex;align-items:center;justify-content:center;width:100%;height:100%}.plv-ai-message-box__bg{position:absolute;width:100%;height:100%;background:#0009}.plv-ai-message-box__main{z-index:1;width:300px;overflow:hidden;background:#fff;border-radius:8px}.plv-ai-message-box__main--rotate{transform:rotate(90deg)}.plv-ai-message-box__header{box-sizing:border-box;padding:24px 0 16px;widows:100%}.plv-ai-message-box__header .plv-ai-message-box__title{font-size:16px;font-weight:500;line-height:24px;color:#333;text-align:center}.plv-ai-message-box__footer{box-sizing:border-box;display:flex;border-top:1px solid #ededef}.plv-ai-message-box__footer button{position:relative;box-sizing:border-box;display:inline-block;flex:1;width:100%;font-size:16px;line-height:48px;color:#3082fe;vertical-align:middle;background:#fff;border:none;-webkit-appearance:none}.plv-ai-message-box__footer button+button:before{position:absolute;top:0;bottom:0;left:0;display:block;width:1px;height:100%;margin:auto;content:\"\";background:#0000001a}.plv-ai-message-box__body{box-sizing:border-box;display:flex;justify-content:center;margin-bottom:10px;font-size:16px;line-height:24px;color:#333}.plv-ai-message-box__content{padding:0 14px 20px}.plv-ai-message-box__content a{color:#3082fe;text-decoration:none}.plv-ai-message-box__main:not(.plv-ai-message-box__main--rotate){display:flex;flex-direction:column;max-height:95%}.plv-ai-message-box__main:not(.plv-ai-message-box__main--rotate) .plv-ai-message-box__body{flex:1;overflow-y:auto}.plv-ai-digital-preview{width:100%;height:100%;display:flex;position:relative;border-radius:12px}.plv-ai-digital-preview__video{border-radius:inherit}.plv-ai-digital-preview__video--hidden{opacity:0;position:absolute;top:0;left:0;pointer-events:none}.plv-ai-digital-preview__video:not(.plv-ai-digital-preview__video--hidden){opacity:1}.plv-ai-digital-preview__direction--row .plv-ai-digital-preview__video{height:100%}.plv-ai-digital-preview__direction--column .plv-ai-digital-preview__video{width:100%}.plv-ai-digital-preview__fit-mode--cover .plv-ai-digital-preview__video{width:100%;height:100%;object-fit:cover}.plv-ai-digital-preview__fit-mode--contain .plv-ai-digital-preview__video{object-fit:contain}.plv-ai-digital-preview__loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:3}.plv-ai-digital-preview__loading:after{content:\"\";display:block;width:40px;height:40px;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.plv-ai-assistant-msg-user{position:relative;box-sizing:border-box;padding-right:40px;padding-left:40px;margin:0 16px}.plv-ai-assistant-msg-user__avatar{position:absolute;top:0;width:32px;height:32px;overflow:hidden;border-radius:50%;background-repeat:no-repeat;background-position:center center;background-size:cover}.plv-ai-assistant-msg-user__avatar:after{position:absolute;top:0;left:0;box-sizing:border-box;display:block;width:200%;height:200%;pointer-events:none;content:\"\";border:1px solid #e1e1e1;border-radius:50%;transform:scale(.5);transform-origin:0 0}.plv-ai-assistant-msg-user__avatar__left{left:0}.plv-ai-assistant-msg-user__avatar__right{right:0}.plv-ai-assistant-msg-user__nick-wrap{position:relative;box-sizing:border-box;display:flex;align-items:center;max-width:100%;font-size:12px;line-height:1.4}.plv-ai-assistant-msg-user__nick{color:#adadc0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plv-ai-assistant-msg-container{display:flex;flex-direction:column}.plv-ai-assistant-msg-container__align-right{align-items:flex-end}.plv-ai-assistant-msg-container__content{display:flex;align-items:flex-end;padding:3px 40px 0;margin:0 16px}.plv-ai-assistant-msg-container__content--hide-user{padding:0}.plv-ai-assistant-msg-container__content__inner{position:relative;max-width:100%}.plv-ai-assistant-msg-container__tips-bubble{position:absolute;bottom:calc(100% + 10px);left:50%;padding:10px 15px;font-size:14px;color:#fffc;white-space:nowrap;background-color:#424453f2;border-radius:4px;transform:translate(-50%)}.plv-ai-assistant-msg-container__tips-bubble:after{position:absolute;top:100%;left:50%;height:0;content:\"\";border-color:rgba(66,68,83,.95) transparent transparent transparent;border-style:solid;border-width:5px;transform:translate(-50%)}.plv-ai-assistant-msg-container__content__bubble{padding:8px 12px;font-size:16px;line-height:22px;color:#e4e4e4;word-break:break-word;background-color:#2b2c35;border-radius:0 6px 6px}.plv-ai-assistant-msg-container__content__bubble__align-right{border-radius:6px 0 6px 6px}.plv-ai-assistant-msg-container__content__suffix{flex-shrink:0;margin-left:10px;font-size:12px;white-space:nowrap}.plv-ai-assistant-msg-container__content__suffix:empty{display:none}.plv-ai-assistant-answer-msg__content{text-align:justify}@keyframes dot-loading{0%{opacity:1}50%{opacity:.3}to{opacity:1}}.plv-ai-assistant-answer-msg__content__markdown-render{color:inherit!important}.plv-ai-assistant-answer-msg__dot{display:inline-block;width:7px;height:7px;border-radius:50%}.plv-ai-assistant-answer-msg__dot1{animation:dot-loading linear infinite .9s}.plv-ai-assistant-answer-msg__dot2{margin:0 7px;animation:dot-loading linear infinite .9s;animation-delay:.3s}.plv-ai-assistant-answer-msg__dot3{animation:dot-loading linear infinite .9s;animation-delay:.6s}.plv-ai-assistant-chat-msg-item{margin:16px 0}.plv-ai-assistant-chat-msg-list{height:100%;overflow-y:auto}.plv-ai-assistant-chat-msg-list::-webkit-scrollbar{width:8px;border-radius:3px}.plv-ai-assistant-chat-msg-list::-webkit-scrollbar-thumb{border-radius:3px}.plv-ai-auto-textarea{display:flex;align-items:center;width:100%;min-height:36px;border-radius:12px;transition:.3s}.plv-ai-auto-textarea--multi-row{border-radius:6px}.plv-ai-auto-textarea__inner{box-sizing:border-box;flex:1;width:100%;min-height:17px;padding:0 12px;margin:8px 0;overflow-x:hidden;overflow-y:auto;font-family:inherit;font-size:14px;line-height:1.6;color:inherit;vertical-align:top;resize:none;background:transparent;border:none}.plv-ai-auto-textarea__inner::-webkit-scrollbar{display:none}.plv-ai-auto-textarea__inner::-webkit-scrollbar{width:4px}.plv-ai-auto-textarea__inner::placeholder{color:#adadc0}.plv-ai-auto-textarea__inner:disabled,.plv-ai-auto-textarea__inner:disabled::placeholder{color:#adadc080}.plv-ai-auto-textarea__inner--disabled{pointer-events:none}.plv-ai-audio-input{display:flex;width:100%}.plv-ai-audio-input__mode-switch{min-width:44px;width:44px;height:44px;background:url(\"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20fill='none'%20version='1.1'%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%3e%3cdefs%3e%3clinearGradient%20x1='0.0528460256755352'%20y1='0.1759304404258728'%20x2='1'%20y2='0.8796386718749998'%20id='master_svg0_332_58348'%3e%3cstop%20offset='0%25'%20stop-color='%236685FF'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%230A77FF'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3c/defs%3e%3cg%3e%3cg%3e%3cg%3e%3cellipse%20cx='22'%20cy='22'%20rx='22'%20ry='22'%20fill='url(%23master_svg0_332_58348)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cg%3e%3cpath%20d='M22,9C14.8203,9,9,14.8203,9,22C9,29.1797,14.8203,35,22,35C29.1797,35,35,29.1797,35,22C34.992000000000004,14.82361,29.1764,9.00799465,22,9ZM21.997799999999998,11Q19.759700000000002,11.00043,17.71892,11.86361Q15.745239999999999,12.698409999999999,14.221820000000001,14.221820000000001Q12.698409999999999,15.745239999999999,11.86361,17.71892Q11,19.7607,11,22Q11,24.2393,11.86361,26.2811Q12.698409999999999,28.2548,14.22183,29.7782Q15.74525,31.3016,17.71892,32.136399999999995Q19.7607,33,22,33Q24.2393,33,26.2811,32.136399999999995Q28.2548,31.3016,29.7782,29.7782Q31.3016,28.2548,32.136399999999995,26.2811Q33,24.2393,33,22Q32.9975,19.7634,32.132999999999996,17.72241Q31.2972,15.74932,29.7739,14.22607Q28.2507,12.70281,26.2776,11.86704Q24.2376,11.00292,22,11L21.997799999999998,11Z'%20fill-rule='evenodd'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3crect%20x='19.03125'%20y='26'%20width='6'%20height='2'%20rx='1'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M17.8218428125,18.750281875Q17.8218428125,18.818701875,17.8151428125,18.886801875Q17.8084328125,18.954901875,17.7950828125,19.022011875Q17.7817328125,19.089121875,17.761872812500002,19.154601875Q17.7420128125,19.220081874999998,17.7158228125,19.283301875Q17.6896328125,19.346521875,17.6573828125,19.406871875Q17.6251228125,19.467211875,17.5871128125,19.524111875Q17.5490928125,19.581001875,17.505682812499998,19.633901875Q17.4622728125,19.686791875,17.4138928125,19.735181875Q17.3655028125,19.783561875,17.3126128125,19.826971874999998Q17.2597128125,19.870381875,17.2028228125,19.908401875Q17.1459228125,19.946411875,17.0855828125,19.978671875Q17.0252328125,20.010921875,16.9620128125,20.037111875Q16.898792812499998,20.063301875,16.8333128125,20.083161875000002Q16.7678328125,20.103021875,16.7007228125,20.116371875Q16.6336128125,20.129721875,16.5655128125,20.136431875Q16.4974128125,20.143131875,16.4289928125,20.143131875Q16.3605628125,20.143131875,16.2924628125,20.136431875Q16.2243728125,20.129721875,16.1572528125,20.116371875Q16.090142812499998,20.103021875,16.0246648125,20.083161875000002Q15.9591848125,20.063301875,15.8959668125,20.037111875Q15.8327488125,20.010921875,15.7724018125,19.978671875Q15.7120548125,19.946411875,15.655159812499999,19.908401875Q15.5982648125,19.870381875,15.5453708125,19.826971874999998Q15.4924758125,19.783561875,15.4440908125,19.735181875Q15.3957058125,19.686791875,15.3522968125,19.633901875Q15.3088878125,19.581001875,15.2708718125,19.524111875Q15.2328558125,19.467211875,15.2005998125,19.406871875Q15.1683438125,19.346521875,15.1421578125,19.283301875Q15.1159720125,19.220081874999998,15.0961088125,19.154601875Q15.0762455125,19.089121875,15.0628962125,19.022011875Q15.0495468125,18.954901875,15.0428398025,18.886801875Q15.0361328125,18.818701875,15.0361328125,18.750281875Q15.0361328125,18.681851875,15.0428398025,18.613751875Q15.0495468125,18.545661875,15.0628962125,18.478541875Q15.0762455125,18.411431874999998,15.0961088125,18.345953875Q15.1159720125,18.280473875,15.1421578125,18.217255875Q15.1683438125,18.154037875,15.2005998125,18.093690875Q15.2328558125,18.033343875,15.2708718125,17.976448875Q15.3088878125,17.919553875,15.3522968125,17.866659875Q15.3957058125,17.813764875,15.4440908125,17.765379875Q15.4924758125,17.716994875,15.5453708125,17.673585875Q15.5982648125,17.630176875,15.655159812499999,17.592160875Q15.7120548125,17.554144875,15.7724018125,17.521888875Q15.8327488125,17.489632875,15.8959668125,17.463446875Q15.9591848125,17.437261075,16.0246648125,17.417397875Q16.090142812499998,17.397534575,16.1572528125,17.384185275Q16.2243728125,17.370835875,16.2924628125,17.364128865Q16.3605628125,17.357421875,16.4289928125,17.357421875Q16.4974128125,17.357421875,16.5655128125,17.364128865Q16.6336128125,17.370835875,16.7007228125,17.384185275Q16.7678328125,17.397534575,16.8333128125,17.417397875Q16.898792812499998,17.437261075,16.9620128125,17.463446875Q17.0252328125,17.489632875,17.0855828125,17.521888875Q17.1459228125,17.554144875,17.2028228125,17.592160875Q17.2597128125,17.630176875,17.3126128125,17.673585875Q17.3655028125,17.716994875,17.4138928125,17.765379875Q17.4622728125,17.813764875,17.505682812499998,17.866659875Q17.5490928125,17.919553875,17.5871128125,17.976448875Q17.6251228125,18.033343875,17.6573828125,18.093690875Q17.6896328125,18.154037875,17.7158228125,18.217255875Q17.7420128125,18.280473875,17.761872812500002,18.345953875Q17.7817328125,18.411431874999998,17.7950828125,18.478541875Q17.8084328125,18.545661875,17.8151428125,18.613751875Q17.8218428125,18.681851875,17.8218428125,18.750281875Z'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M20.14286,20.143131875C20.91211,20.143141875,21.53572,19.519531875,21.53572,18.750281875C21.53572,17.981025875,20.91211,17.35742300851,20.14286,17.35742300851C19.373604,17.35742300851,18.75000113351,17.981025875,18.75,18.750281875C18.75000113351,19.519531875,19.373604,20.143141875,20.14286,20.143131875ZM23.85714,17.357421875C23.08789,17.35742300851,22.46429,17.981025875,22.46429,18.750281875C22.46429,19.519531875,23.08789,20.143141875,23.85714,20.143141875C24.6264,20.143141875,25.25,19.519531875,25.25,18.750281875C25.25,17.981025875,24.6264,17.35742300851,23.85714,17.357421875ZM27.57143,17.357421875C26.80218,17.35742300851,26.17857,17.981025875,26.17857,18.750281875C26.17857,19.519531875,26.80218,20.143141875,27.57143,20.143141875C28.34068,20.143141875,28.9643,19.519531875,28.9643,18.750281875C28.9643,17.981025875,28.34068,17.35742300851,27.57143,17.357421875Z'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M17.8218428125,22.465125625Q17.8218428125,22.533545625,17.8151428125,22.601645625Q17.8084328125,22.669745625,17.7950828125,22.736855625Q17.7817328125,22.803965625,17.761872812500002,22.869445625Q17.7420128125,22.934925624999998,17.7158228125,22.998145625Q17.6896328125,23.061365625,17.6573828125,23.121715625Q17.6251228125,23.182055625,17.5871128125,23.238955625Q17.5490928125,23.295845625,17.505682812499998,23.348745625Q17.4622728125,23.401635625,17.4138928125,23.450025625Q17.3655028125,23.498405625,17.3126128125,23.541815624999998Q17.2597128125,23.585225625,17.2028228125,23.623245625Q17.1459228125,23.661255625,17.0855828125,23.693515625Q17.0252328125,23.725765625,16.9620128125,23.751955625Q16.898792812499998,23.778145625,16.8333128125,23.798005625000002Q16.7678328125,23.817865625,16.7007228125,23.831215625Q16.6336128125,23.844565625,16.5655128125,23.851275625Q16.4974128125,23.857975625,16.4289928125,23.857975625Q16.3605628125,23.857975625,16.2924628125,23.851275625Q16.2243728125,23.844565625,16.1572528125,23.831215625Q16.090142812499998,23.817865625,16.0246648125,23.798005625000002Q15.9591848125,23.778145625,15.8959668125,23.751955625Q15.8327488125,23.725765625,15.7724018125,23.693515625Q15.7120548125,23.661255625,15.655159812499999,23.623245625Q15.5982648125,23.585225625,15.5453708125,23.541815624999998Q15.4924758125,23.498405625,15.4440908125,23.450025625Q15.3957058125,23.401635625,15.3522968125,23.348745625Q15.3088878125,23.295845625,15.2708718125,23.238955625Q15.2328558125,23.182055625,15.2005998125,23.121715625Q15.1683438125,23.061365625,15.1421578125,22.998145625Q15.1159720125,22.934925624999998,15.0961088125,22.869445625Q15.0762455125,22.803965625,15.0628962125,22.736855625Q15.0495468125,22.669745625,15.0428398025,22.601645625Q15.0361328125,22.533545625,15.0361328125,22.465125625Q15.0361328125,22.396695625,15.0428398025,22.328595625Q15.0495468125,22.260505625,15.0628962125,22.193385625Q15.0762455125,22.126275624999998,15.0961088125,22.060797625Q15.1159720125,21.995317625,15.1421578125,21.932099625Q15.1683438125,21.868881625,15.2005998125,21.808534625Q15.2328558125,21.748187625,15.2708718125,21.691292625Q15.3088878125,21.634397625,15.3522968125,21.581503625Q15.3957058125,21.528608625,15.4440908125,21.480223625Q15.4924758125,21.431838625,15.5453708125,21.388429625Q15.5982648125,21.345020625,15.655159812499999,21.307004625Q15.7120548125,21.268988625,15.7724018125,21.236732625Q15.8327488125,21.204476625,15.8959668125,21.178290625Q15.9591848125,21.152104825,16.0246648125,21.132241625Q16.090142812499998,21.112378325,16.1572528125,21.099029025Q16.2243728125,21.085679625,16.2924628125,21.078972615Q16.3605628125,21.072265625,16.4289928125,21.072265625Q16.4974128125,21.072265625,16.5655128125,21.078972615Q16.6336128125,21.085679625,16.7007228125,21.099029025Q16.7678328125,21.112378325,16.8333128125,21.132241625Q16.898792812499998,21.152104825,16.9620128125,21.178290625Q17.0252328125,21.204476625,17.0855828125,21.236732625Q17.1459228125,21.268988625,17.2028228125,21.307004625Q17.2597128125,21.345020625,17.3126128125,21.388429625Q17.3655028125,21.431838625,17.4138928125,21.480223625Q17.4622728125,21.528608625,17.505682812499998,21.581503625Q17.5490928125,21.634397625,17.5871128125,21.691292625Q17.6251228125,21.748187625,17.6573828125,21.808534625Q17.6896328125,21.868881625,17.7158228125,21.932099625Q17.7420128125,21.995317625,17.761872812500002,22.060797625Q17.7817328125,22.126275624999998,17.7950828125,22.193385625Q17.8084328125,22.260505625,17.8151428125,22.328595625Q17.8218428125,22.396695625,17.8218428125,22.465125625Z'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M20.14286,23.857975625C20.91211,23.857975625,21.53572,23.234375625,21.53572,22.465125625C21.53572,21.695868625,20.91211,21.072265625,20.14286,21.072265625C19.373604,21.072265625,18.75000113351,21.695868625,18.75,22.465125625C18.75000113351,23.234375625,19.373604,23.857975625,20.14286,23.857975625ZM23.85714,21.072265625C23.08789,21.072265625,22.46429,21.695868625,22.46429,22.465125625C22.46429,23.234375625,23.08789,23.857975625,23.85714,23.857975625C24.6264,23.857975625,25.25,23.234375625,25.25,22.465125625C25.25,21.695868625,24.6264,21.072265625,23.85714,21.072265625ZM27.57143,21.072265625C26.80218,21.072265625,26.17857,21.695868625,26.17857,22.465125625C26.17857,23.234375625,26.80218,23.857975625,27.57143,23.857975625C28.34068,23.857975625,28.9643,23.234375625,28.9643,22.465125625C28.9643,21.695868625,28.34068,21.072265625,27.57143,21.072265625Z'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e\") no-repeat left center;background-size:36px 36px;cursor:pointer}.plv-ai-audio-input__status{display:flex;align-items:center;justify-content:center;text-align:center;width:100%;height:44px;border-radius:12px;background-color:#fff;transition:all .3s ease;cursor:pointer;user-select:none;outline:none;-webkit-tap-highlight-color:transparent}.plv-ai-audio-input__status-text{flex:1;display:flex;align-items:center;justify-content:center}.plv-ai-audio-input__status-tap,.plv-ai-audio-input__status-listening{display:flex;align-items:center;justify-content:center;width:100%}.plv-ai-audio-input__status-tap{color:#b2b2b2;font-size:14px}.plv-ai-audio-input__status-tap-item,.plv-ai-audio-input__status-breathing{display:flex;align-items:center;justify-content:space-between;gap:3px}.plv-ai-audio-input__status-tap__left,.plv-ai-audio-input__status-breathing__left{margin-right:8px}.plv-ai-audio-input__status-tap__right,.plv-ai-audio-input__status-breathing__right{margin-left:8px}.plv-ai-audio-input__status-tap__bar{width:2px;height:8px;background-color:#b2b2b2}.plv-ai-audio-input__status-listening{color:#3f76fc;font-size:14px}.plv-ai-audio-input__status-breathing__bar{width:2px;height:8px;background-color:#3f76fc;animation:breathing 1.5s infinite ease-in-out}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(1){animation-delay:.3s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(1){animation-delay:.3s}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(2){animation-delay:.6s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(2){animation-delay:.6s}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(3){animation-delay:.9s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(3){animation-delay:.9s}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(4){animation-delay:1.2s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(4){animation-delay:1.2s}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(5){animation-delay:1.5s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(5){animation-delay:1.5s}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(6){animation-delay:1.8s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(6){animation-delay:1.8s}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(7){animation-delay:2.1s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(7){animation-delay:2.1s}@keyframes breathing{0%,to{transform:scaleY(1)}50%{transform:scaleY(1.8)}}.plv-ai-msg-input-wrap{position:relative;z-index:999;display:flex;flex-direction:column;justify-content:flex-end;min-height:56px}.plv-ai-msg-input-wrap__main{box-sizing:border-box;display:flex;flex-shrink:0;align-items:center;width:100%;padding:8px 16px 16px}.plv-ai-msg-input-wrap__main.plv-ai-msg-input-wrap__main--multi-row,.plv-ai-msg-input-wrap__main.plv-ai-msg-input-wrap__main--multi-row .plv-ai-auto-textarea{align-items:flex-end}.plv-ai-msg-input-wrap__input{position:relative;flex:1;min-height:40px;margin-right:12px}.c-mobile-msg-input-wrap__audio-switch-btn{min-width:44px;width:44px;height:44px;background:url(\"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20fill='none'%20version='1.1'%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%3e%3cdefs%3e%3clinearGradient%20x1='0.0528460256755352'%20y1='0.1759304404258728'%20x2='1'%20y2='0.8796386718749998'%20id='master_svg0_332_58348'%3e%3cstop%20offset='0%25'%20stop-color='%236685FF'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%230A77FF'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3c/defs%3e%3cg%3e%3cg%3e%3cellipse%20cx='22'%20cy='22'%20rx='22'%20ry='22'%20fill='url(%23master_svg0_332_58348)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cg%3e%3cpath%20d='M19.853955,15.189435Q23.374265,17.73292,23.374265,22.08224Q23.374265,26.4062,19.571255,29.3967C19.395015,29.5353,19.177325,29.610599999999998,18.953125,29.610599999999998C18.40084,29.610599999999998,17.953125,29.1629,17.953125,28.610599999999998C17.953125,28.3039,18.093887,28.0141,18.334994000000002,27.8245Q21.374265,25.4346,21.374265,22.08224Q21.374265,18.7553,18.682662,16.81057C18.422442,16.62255,18.268311,16.32104,18.268311,16C18.268311,15.447715,18.716026,15,19.268315,15C19.478585,15,19.683515,15.0662859,19.853955,15.189435Z'%20fill-rule='evenodd'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M25.5080353125,9.236984Q30.8402053125,13.754059999999999,30.8402053125,21.430799999999998Q30.8402053125,29.0823,25.0342853125,34.435199999999995C24.8496153125,34.6055,24.6076253125,34.7,24.3564453125,34.7C23.8041603125,34.7,23.3564453125,34.252300000000005,23.3564453125,33.7C23.3564453125,33.4207,23.4732553125,33.1541,23.6786013125,32.9648Q28.8402153125,28.2059,28.8402053125,21.430799999999998Q28.8402053125,14.681370000000001,24.2158373125,10.763490000000001L24.2158373125,10.763490000000001C23.990989312499998,10.57301,23.8616573125,10.29395,23.8616573125,10C23.8616573125,9.447715,24.3093733125,9,24.861655312499998,9C25.0983753125,9,25.3274153125,9.0839743,25.5080353125,9.236984Z'%20fill-rule='evenodd'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cellipse%20cx='14'%20cy='22'%20rx='2'%20ry='2'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e\") no-repeat left center;background-size:36px 36px;cursor:pointer}.plv-ai-msg-input-wrap__input__set-nick{position:absolute;top:0;left:0;width:100%;height:100%}.plv-ai-msg-input-wrap__input__textarea{min-width:80px}.plv-ai-msg-input-wrap__emotion-btn{flex-shrink:0;width:24px;height:24px;margin:7px 7px 7px -9px}.plv-ai-msg-input-wrap__emotion-btn__icon{display:flex;font-size:24px!important}.plv-ai-msg-input-wrap__emotion-btn--disabled{opacity:.5}.plv-ai-msg-input-wrap__button{display:flex;flex-shrink:0;align-items:center;justify-content:center;min-width:88px;border-radius:12px;height:40px;text-align:center;cursor:pointer}.plv-ai-msg-input-wrap__button--disabled{cursor:not-allowed;opacity:.6}.plv-ai-msg-input-wrap__panel{flex-shrink:0;width:100%}.plv-ai-msg-input-wrap--alway-active .plv-ai-msg-input-wrap__main{padding:12px 12px 10px}.plv-ai-assistant-chat--dark{background-color:#202127}.plv-ai-assistant-chat--dark .pws-ai-assistant-chat-msg-list::-webkit-scrollbar-thumb{background-color:#46464f}.plv-ai-assistant-chat--dark .pws-primary-text-color{color:#fff}.plv-ai-assistant-chat--dark .pws-dark-basic-bg-20{background-color:#0003}.plv-ai-assistant-chat--dark .pws-normal-msg-bubble-color{background:linear-gradient(106deg,#6685ff 6%,#0a77ff 98%);color:#fff}.plv-ai-assistant-chat--dark .pws-ai-msg-bubble-color{color:#1d2129;background-color:#f5f5f5}.plv-ai-assistant-chat--dark .pws-ai-assistant-msg-dot{background-color:#1d2129}.plv-ai-assistant-chat--dark .pws-markdown-render{padding:0;background:none}.plv-ai-assistant-chat--dark .pws-markdown-render a{color:#3f76fc}.plv-ai-assistant-chat--dark .pws-chat-msg-user-nickname{color:#adadc0}.plv-ai-assistant-chat--dark .pws-msg-user-info-special .pws-chat-msg-user-nickname{color:#5394f6}.plv-ai-assistant-chat--dark .pws-mobile-chat-msg-input{background-color:#ffffff1a}.plv-ai-assistant-chat--dark .pws-mobile-chat-msg-input-textarea{color:#fff}.plv-ai-assistant-chat--dark .pws-mobile-chat-msg-input-textarea::placeholder{color:#fff9}.plv-ai-assistant-chat--dark .pws-mobile-chat-msg-input-textarea::-webkit-scrollbar-thumb{background-color:#ffffff1a}.plv-ai-assistant-chat--dark .pws-mobile-msg-input-suffix-icon{color:#adadc0}.plv-ai-assistant-chat--dark .pws-mobile-msg-send-button{background:linear-gradient(110deg,#6685ff 7%,#0a77ff 98%);color:#fff}.plv-ai-assistant-chat--light{background-color:#f2f2f2}.plv-ai-assistant-chat--light .pws-ai-assistant-chat-msg-list::-webkit-scrollbar-thumb{background-color:#6663}.plv-ai-assistant-chat--light .pws-ai-assistant-chat__not-config{filter:brightness(.3)}.plv-ai-assistant-chat--light .pws-primary-text-color{color:#000c}.plv-ai-assistant-chat--light .pws-light-basic-bg-20{background-color:#fff3}.plv-ai-assistant-chat--light .pws-normal-msg-bubble-color{background:linear-gradient(106deg,#6685ff 6%,#0a77ff 98%);color:#fff}.plv-ai-assistant-chat--light .pws-ai-msg-bubble-color{color:#fff;background:#0003}.plv-ai-assistant-chat--light .pws-ai-assistant-msg-dot{background-color:#fff}.plv-ai-assistant-chat--light .pws-markdown-render{padding:0;background:none}.plv-ai-assistant-chat--light .pws-markdown-render code{color:#24292e}.plv-ai-assistant-chat--light .pws-markdown-render a{color:#3f76fc}.plv-ai-assistant-chat--light .pws-chat-msg-user-nickname{color:#adadc0}.plv-ai-assistant-chat--light .pws-msg-user-info-special .pws-chat-msg-user-nickname{color:#3f76fc}.plv-ai-assistant-chat--light .pws-mobile-chat-msg-input{background-color:#ffffffe6}.plv-ai-assistant-chat--light .pws-mobile-chat-msg-input-textarea{color:#666}.plv-ai-assistant-chat--light .pws-mobile-chat-msg-input-textarea::placeholder{color:#969ba5}.plv-ai-assistant-chat--light .pws-mobile-chat-msg-input-textarea::-webkit-scrollbar-thumb{background-color:#1571d033}.plv-ai-assistant-chat--light .pws-mobile-msg-input-suffix-icon{color:#adadc0b3}.plv-ai-assistant-chat--light .pws-mobile-msg-send-button{background:linear-gradient(110deg,#6685ff 7%,#0a77ff 98%);color:#fff}.plv-ai-assistant-chat{display:flex;height:100%;box-sizing:border-box;overflow:auto;position:relative}.plv-ai-assistant-chat p{margin:0;padding:0}.plv-ai-assistant-chat img{vertical-align:middle;border:none}.plv-ai-assistant-chat input,.plv-ai-assistant-chat textarea,.plv-ai-assistant-chat select,.plv-ai-assistant-chat button{outline:none}.plv-ai-assistant-chat input[disabled]{opacity:1}.plv-ai-assistant-chat input[type=button],.plv-ai-assistant-chat input[type=submit],.plv-ai-assistant-chat input[type=reset],.plv-ai-assistant-chat button{-webkit-appearance:none;border:none}.plv-ai-assistant-chat__direction--row{flex-direction:row}.plv-ai-assistant-chat__direction--row .plv-ai-msg-input-wrap__main{padding-bottom:0}.plv-ai-assistant-chat__direction--row .plv-ai-assistant-chat__aside-right{width:0}.plv-ai-assistant-chat__direction--column{flex-direction:column;justify-content:flex-end}.plv-ai-assistant-chat__direction--column .plv-ai-assistant-chat__aside-left{position:absolute;background:inherit;top:0;left:0;width:100%;height:100%}.plv-ai-assistant-chat__direction--column .plv-ai-assistant-chat__aside-left .plv-ai-assistant-chat__digital-preview{border-radius:0!important}.plv-ai-assistant-chat__direction--column.plv-ai-assistant-chat__exist-digital .plv-ai-assistant-chat__aside-right{max-height:60%;background:none}.plv-ai-assistant-chat__aside-left{background:inherit}.plv-ai-assistant-chat__aside-right{flex:1;width:100%;height:100%;background:inherit}.plv-ai-assistant-chat__digital-preview__wrapper,.plv-ai-assistant-chat__chatroom{display:flex;flex-direction:column;height:100%;overflow:hidden}.plv-ai-assistant-chat__chatroom__not-config{display:flex;flex-direction:column;height:100%;overflow:hidden;align-items:center;justify-content:center}.plv-ai-assistant-chat__chatroom__not-config__image{width:112px;height:112px}.plv-ai-assistant-chat__chatroom__not-config__text{margin-top:18px;color:#fff}.plv-ai-assistant-chat__chatroom__msg-list{flex:1;overflow:hidden}")),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}}();
|
|
1
|
+
!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode("@charset \"UTF-8\";.plv-polyv-ui-empty-css{font-size:14px}.plv-click-out-side{display:none}.plv-popper{position:fixed;border:1px solid #e5e5e5;font-size:14px;background:#fff;border-radius:2px}.plv-popper .popper__arrow,.plv-popper .popper__arrow:after{position:absolute;display:block;width:0;height:0;border-color:#0000;border-style:solid}.plv-popper .popper__arrow{border-width:6px}.plv-popper .popper__arrow:after{content:\" \";border-width:6px}.plv-popper[x-placement^=top]{margin-bottom:9px}.plv-popper[x-placement^=top] .popper__arrow{bottom:-7px;border-top-color:#e5e5e5;border-bottom-width:0}.plv-popper[x-placement^=top] .popper__arrow:after{bottom:1.5px;margin-left:-6px;border-top-color:#fff;border-bottom-width:0}.plv-popper[x-placement^=bottom]{margin-top:9px}.plv-popper[x-placement^=bottom] .popper__arrow{top:-7px;border-top-width:0;border-bottom-color:#e5e5e5}.plv-popper[x-placement^=bottom] .popper__arrow:after{top:1.5px;margin-left:-6px;border-top-width:0;border-bottom-color:#fff}.plv-popper[x-placement=bottom-start] .popper__arrow,.plv-popper[x-placement=top-start] .popper__arrow{margin-left:-13px}.plv-popper[x-placement=bottom] .popper__arrow,.plv-popper[x-placement=top] .popper__arrow{left:50%!important;margin-left:-6px}.plv-popper[x-placement=bottom-end] .popper__arrow,.plv-popper[x-placement=top-end] .popper__arrow{margin-left:-13px}.plv-popper[x-placement^=right]{margin-left:9px}.plv-popper[x-placement^=right] .popper__arrow{left:-7px;border-right-color:#e5e5e5;border-left-width:0}.plv-popper[x-placement^=right] .popper__arrow:after{bottom:-6px;left:1.5px;border-right-color:#fff;border-left-width:0}.plv-popper[x-placement^=left]{margin-right:9px}.plv-popper[x-placement^=left] .popper__arrow{right:-7px;border-right-width:0;border-left-color:#e5e5e5}.plv-popper[x-placement^=left] .popper__arrow:after{right:1.5px;bottom:-6px;margin-left:-6px;border-right-width:0;border-left-color:#fff}.plv-popper[x-placement=left] .popper__arrow,.plv-popper[x-placement=right] .popper__arrow{top:50%!important;margin-top:-6px}.plv-popper[x-placement=left-end] .popper__arrow,.plv-popper[x-placement=left-start] .popper__arrow,.plv-popper[x-placement=right-end] .popper__arrow,.plv-popper[x-placement=right-start] .popper__arrow{margin-top:-11px}.plv-popper.plv-popper--dark{border:none;background:#0a0a11cc;color:#fff}.plv-popper.plv-popper--dark .popper__arrow:after{display:none}.plv-popper.plv-popper--dark[x-placement^=bottom] .popper__arrow{top:-4px!important;border-bottom-color:#0a0a11cc}.plv-popper.plv-popper--dark[x-placement^=top] .popper__arrow{bottom:-4px;border-top-color:#0a0a11cc}.plv-popper.plv-popper--dark[x-placement^=left] .popper__arrow{right:-4px;border-left-color:#0a0a11cc}.plv-popper.plv-popper--dark[x-placement^=right] .popper__arrow{left:-4px;border-right-color:#0a0a11cc}.plv-markdown-render.plv-markdown-render--light{color:#1d2129;background:#f5f5f5}.plv-markdown-render.plv-markdown-render--light pre code.hljs{display:block;overflow-x:auto;padding:1em}.plv-markdown-render.plv-markdown-render--light code.hljs{padding:3px 5px}.plv-markdown-render.plv-markdown-render--light .hljs{color:#24292e;background:#fff}.plv-markdown-render.plv-markdown-render--light .hljs-doctag,.plv-markdown-render.plv-markdown-render--light .hljs-keyword,.plv-markdown-render.plv-markdown-render--light .hljs-meta .hljs-keyword,.plv-markdown-render.plv-markdown-render--light .hljs-template-tag,.plv-markdown-render.plv-markdown-render--light .hljs-template-variable,.plv-markdown-render.plv-markdown-render--light .hljs-type,.plv-markdown-render.plv-markdown-render--light .hljs-variable.language_{color:#d73a49}.plv-markdown-render.plv-markdown-render--light .hljs-title,.plv-markdown-render.plv-markdown-render--light .hljs-title.class_,.plv-markdown-render.plv-markdown-render--light .hljs-title.class_.inherited__,.plv-markdown-render.plv-markdown-render--light .hljs-title.function_{color:#6f42c1}.plv-markdown-render.plv-markdown-render--light .hljs-attr,.plv-markdown-render.plv-markdown-render--light .hljs-attribute,.plv-markdown-render.plv-markdown-render--light .hljs-literal,.plv-markdown-render.plv-markdown-render--light .hljs-meta,.plv-markdown-render.plv-markdown-render--light .hljs-number,.plv-markdown-render.plv-markdown-render--light .hljs-operator,.plv-markdown-render.plv-markdown-render--light .hljs-selector-attr,.plv-markdown-render.plv-markdown-render--light .hljs-selector-class,.plv-markdown-render.plv-markdown-render--light .hljs-selector-id,.plv-markdown-render.plv-markdown-render--light .hljs-variable{color:#005cc5}.plv-markdown-render.plv-markdown-render--light .hljs-meta .hljs-string,.plv-markdown-render.plv-markdown-render--light .hljs-regexp,.plv-markdown-render.plv-markdown-render--light .hljs-string{color:#032f62}.plv-markdown-render.plv-markdown-render--light .hljs-built_in,.plv-markdown-render.plv-markdown-render--light .hljs-symbol{color:#e36209}.plv-markdown-render.plv-markdown-render--light .hljs-code,.plv-markdown-render.plv-markdown-render--light .hljs-comment,.plv-markdown-render.plv-markdown-render--light .hljs-formula{color:#6a737d}.plv-markdown-render.plv-markdown-render--light .hljs-name,.plv-markdown-render.plv-markdown-render--light .hljs-quote,.plv-markdown-render.plv-markdown-render--light .hljs-selector-pseudo,.plv-markdown-render.plv-markdown-render--light .hljs-selector-tag{color:#22863a}.plv-markdown-render.plv-markdown-render--light .hljs-subst{color:#24292e}.plv-markdown-render.plv-markdown-render--light .hljs-section{color:#005cc5;font-weight:700}.plv-markdown-render.plv-markdown-render--light .hljs-bullet{color:#735c0f}.plv-markdown-render.plv-markdown-render--light .hljs-emphasis{color:#24292e;font-style:italic}.plv-markdown-render.plv-markdown-render--light .hljs-strong{color:#24292e;font-weight:700}.plv-markdown-render.plv-markdown-render--light .hljs-addition{color:#22863a;background-color:#f0fff4}.plv-markdown-render.plv-markdown-render--light .hljs-deletion{color:#b31d28;background-color:#ffeef0}.plv-markdown-render.plv-markdown-render--light blockquote{border-left:4px solid #ddd;color:#6a737d;background:#fff}.plv-markdown-render.plv-markdown-render--light code,.plv-markdown-render.plv-markdown-render--light pre{background:#fff}.plv-markdown-render.plv-markdown-render--light td,.plv-markdown-render.plv-markdown-render--light th{border:1px solid #ccc}.plv-markdown-render.plv-markdown-render--dark{color:#adadc0;background:#141518}.plv-markdown-render.plv-markdown-render--dark pre code.hljs{display:block;overflow-x:auto;padding:1em}.plv-markdown-render.plv-markdown-render--dark code.hljs{padding:3px 5px}.plv-markdown-render.plv-markdown-render--dark .hljs{color:#c9d1d9;background:#292b2e}.plv-markdown-render.plv-markdown-render--dark .hljs-doctag,.plv-markdown-render.plv-markdown-render--dark .hljs-keyword,.plv-markdown-render.plv-markdown-render--dark .hljs-meta .hljs-keyword,.plv-markdown-render.plv-markdown-render--dark .hljs-template-tag,.plv-markdown-render.plv-markdown-render--dark .hljs-template-variable,.plv-markdown-render.plv-markdown-render--dark .hljs-type,.plv-markdown-render.plv-markdown-render--dark .hljs-variable.language_{color:#ff7b72}.plv-markdown-render.plv-markdown-render--dark .hljs-title,.plv-markdown-render.plv-markdown-render--dark .hljs-title.class_,.plv-markdown-render.plv-markdown-render--dark .hljs-title.class_.inherited__,.plv-markdown-render.plv-markdown-render--dark .hljs-title.function_{color:#d2a8ff}.plv-markdown-render.plv-markdown-render--dark .hljs-attr,.plv-markdown-render.plv-markdown-render--dark .hljs-attribute,.plv-markdown-render.plv-markdown-render--dark .hljs-literal,.plv-markdown-render.plv-markdown-render--dark .hljs-meta,.plv-markdown-render.plv-markdown-render--dark .hljs-number,.plv-markdown-render.plv-markdown-render--dark .hljs-operator,.plv-markdown-render.plv-markdown-render--dark .hljs-selector-attr,.plv-markdown-render.plv-markdown-render--dark .hljs-selector-class,.plv-markdown-render.plv-markdown-render--dark .hljs-selector-id,.plv-markdown-render.plv-markdown-render--dark .hljs-variable{color:#79c0ff}.plv-markdown-render.plv-markdown-render--dark .hljs-meta .hljs-string,.plv-markdown-render.plv-markdown-render--dark .hljs-regexp,.plv-markdown-render.plv-markdown-render--dark .hljs-string{color:#a5d6ff}.plv-markdown-render.plv-markdown-render--dark .hljs-built_in,.plv-markdown-render.plv-markdown-render--dark .hljs-symbol{color:#ffa657}.plv-markdown-render.plv-markdown-render--dark .hljs-code,.plv-markdown-render.plv-markdown-render--dark .hljs-comment,.plv-markdown-render.plv-markdown-render--dark .hljs-formula{color:#8b949e}.plv-markdown-render.plv-markdown-render--dark .hljs-name,.plv-markdown-render.plv-markdown-render--dark .hljs-quote,.plv-markdown-render.plv-markdown-render--dark .hljs-selector-pseudo,.plv-markdown-render.plv-markdown-render--dark .hljs-selector-tag{color:#7ee787}.plv-markdown-render.plv-markdown-render--dark .hljs-subst{color:#c9d1d9}.plv-markdown-render.plv-markdown-render--dark .hljs-section{color:#1f6feb;font-weight:700}.plv-markdown-render.plv-markdown-render--dark .hljs-bullet{color:#f2cc60}.plv-markdown-render.plv-markdown-render--dark .hljs-emphasis{color:#c9d1d9;font-style:italic}.plv-markdown-render.plv-markdown-render--dark .hljs-strong{color:#c9d1d9;font-weight:700}.plv-markdown-render.plv-markdown-render--dark .hljs-addition{color:#aff5b4;background-color:#033a16}.plv-markdown-render.plv-markdown-render--dark .hljs-deletion{color:#ffdcd7;background-color:#67060c}.plv-markdown-render.plv-markdown-render--dark blockquote{border-left:4px solid #6a737d;color:#adadc0}.plv-markdown-render.plv-markdown-render--dark code,.plv-markdown-render.plv-markdown-render--dark pre{color:#fff;background:#292b2e}.plv-markdown-render.plv-markdown-render--dark td,.plv-markdown-render.plv-markdown-render--dark th{border:1px solid #6a737d}.plv-markdown-render{line-height:normal;word-break:break-all;padding:1em}.plv-markdown-render,.plv-markdown-render *{-webkit-box-sizing:border-box;box-sizing:border-box}.plv-markdown-render h1,.plv-markdown-render h2,.plv-markdown-render h3,.plv-markdown-render h4,.plv-markdown-render h5,.plv-markdown-render h6{font-weight:700;margin:.5em 0;line-height:1.25}.plv-markdown-render h1{font-size:2em}.plv-markdown-render h2{font-size:1.75em}.plv-markdown-render h3{font-size:1.5em}.plv-markdown-render h4{font-size:1.25em}.plv-markdown-render h5{font-size:1.1em}.plv-markdown-render h6{font-size:1em}.plv-markdown-render p{margin:0}.plv-markdown-render ol,.plv-markdown-render ul{margin:0;padding:0 0 0 2em}.plv-markdown-render ul{list-style-type:disc}.plv-markdown-render ol{list-style-type:decimal}.plv-markdown-render li{margin:.5em 0;list-style-position:outside}.plv-markdown-render table{width:100%;margin:1em 0;border-collapse:collapse;border-spacing:0}.plv-markdown-render td,.plv-markdown-render th{padding:1em}.plv-markdown-render img{display:inline-block;vertical-align:middle;max-width:35%}.plv-markdown-render blockquote{margin:1em 0;padding:.5em 1em;border-radius:4px}.plv-markdown-render code{display:inline-block;padding:.2em .4em;border-radius:4px}.plv-markdown-render pre{margin:.5em 0;padding:1em 0;overflow:auto;border-radius:4px}.plv-markdown-render a{color:#3f76fc;text-decoration:none}.plv-ai-playback-outline{width:100%;height:100%;overflow:hidden}.plv-ai-playback-outline__content{width:100%;height:100%;overflow:hidden;box-sizing:border-box;padding:8px 16px;position:relative;display:flex;flex-direction:column}.plv-ai-playback-outline--color .plv-ai-playback-outline__content{background:#202127}.plv-ai-playback-outline__content__body{width:100%;height:100%;overflow-y:auto;padding-bottom:20px}.plv-ai-playback-outline__content__body::-webkit-scrollbar{display:none}.plv-ai-playback-outline__title{padding:10px 0;font-size:16px;font-weight:700;line-height:24px;display:flex;align-items:center;justify-content:space-between}.plv-ai-playback-outline--color .plv-ai-playback-outline__title{color:#fff}.plv-ai-playback-outline__min-map{display:flex;align-items:center;gap:4px;font-size:14px;cursor:pointer;-webkit-tap-highlight-color:transparent}.plv-ai-playback-outline__min-map span{display:flex;font-size:14px}.plv-ai-playback-outline__abstract{position:relative;box-sizing:border-box;padding:12px;margin-bottom:10px;border-radius:4px;font-size:14px;line-height:22px}.plv-ai-playback-outline--color .plv-ai-playback-outline__abstract{background:#ffffff1a;color:#fffc}.plv-ai-playback-outline__abstract-footer{text-align:right;cursor:pointer;-webkit-tap-highlight-color:transparent;line-height:22px}.plv-ai-playback-outline--color .plv-ai-playback-outline__abstract-footer{color:#3f76fc}.plv-ai-playback-outline__summary{padding:12px;font-size:14px;line-height:17px;border-radius:4px}.plv-ai-playback-outline--color .plv-ai-playback-outline__summary{background:#ffffff1a;color:#fffc}.plv-ai-playback-outline--color .plv-ai-playback-outline__summary-item{border-color:#ffffff1a}.plv-ai-playback-outline__summary-item+.plv-ai-playback-outline__summary-item{margin-top:12px;padding-top:12px;border-top-width:1px;border-top-style:solid}.plv-ai-playback-outline__summary-item-title{white-space:nowrap;display:flex;align-items:center;gap:8px;margin-bottom:8px}.plv-ai-playback-outline__summary-item-title-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}.plv-ai-playback-outline__summary-item-time{line-height:20px;cursor:pointer;border-bottom:1px solid currentColor;-webkit-tap-highlight-color:transparent}.plv-ai-playback-outline--color .plv-ai-playback-outline__summary-item-time{color:#5394f6}.plv-ai-playback-outline__summary-item__children{line-height:22px}.plv-ai-playback-outline__content__footer{display:flex;align-items:center;justify-content:center;margin-top:8px;font-size:12px;text-align:center}.plv-ai-playback-outline--color .plv-ai-playback-outline__content__footer{color:#fff9}.plv-ai-playback-outline__empty{position:absolute;top:50%;left:50%;width:146px;font-size:14px;transform:translate(-50%,-100px);white-space:nowrap;display:flex;flex-direction:column;align-items:center;justify-content:center}.plv-ai-playback-outline--color .plv-ai-playback-outline__empty{color:#fffc}.plv-ai-playback-outline__empty__icon{width:26px;height:18px;margin-bottom:15px}.plv-ai-outline-mind-map__control{width:200px;height:24px;background-color:#ffffff1a;display:flex;border-radius:4px;box-sizing:border-box;align-items:center;user-select:none}.plv-ai-outline-mind-map__control__left{width:100%;display:flex;align-items:center;height:100%;padding:0 8px}.plv-ai-outline-mind-map__control__right{display:flex;align-items:center;padding:0 10px;position:relative;height:100%}.plv-ai-outline-mind-map__control__right:before{position:absolute;top:0;left:0;content:\"\";display:block;height:100%;width:2px;background-color:#fff3}.plv-ai-outline-mind-map__control__icon{width:16px;height:16px;cursor:pointer;-webkit-tap-highlight-color:transparent;font-size:16px;color:#fff}.plv-ai-outline-mind-map__control__track{position:relative;width:100%;height:100%;cursor:pointer;margin:0 8px;flex:1;-webkit-tap-highlight-color:transparent}.plv-ai-outline-mind-map__control__track-line{position:absolute;top:50%;right:0;left:0;height:2px;width:100%;background-color:#ffffff4d;transform:translateY(-50%)}.plv-ai-outline-mind-map__control__slider-thumb{position:absolute;top:50%;width:8px;height:8px;background:#fff;border:1px solid #bdbdbd;border-radius:50%;box-shadow:0 2px 4px #0003;transition:transform .2s ease,box-shadow .2s ease;transform:translate(-50%,-50%)}.plv-ai-outline-mind-map__control__slider-thumb.dragging{box-shadow:0 4px 8px #0003;transform:translate(-50%,-50%) scale(1.2)}.plv-ai-outline-mind-map__control__slider-container:hover .track-line{background:#bdbdbd}.plv-ai-outline-mind-map__control__slider-thumb:hover{transform:translate(-50%,-50%) scale(1.1)}.plv-ai-outline-mind-map{position:fixed;top:0;left:0;width:100%;height:100%;z-index:9999;background:#0000004d;display:flex;align-items:center;justify-content:center}.plv-ai-outline-mind-map__content{min-width:540px;min-height:376px;max-width:738px;max-height:420px;width:100%;height:100%;background:#36373d;border-radius:4px;position:relative;box-sizing:border-box;display:flex;flex-direction:column;box-shadow:0 0 10px #0000004d}.plv-ai-outline-mind-map__content--fullscreen{min-width:100%;min-height:100%;max-width:100%;max-height:100%;border-radius:0}.plv-ai-outline-mind-map__content--fullscreen .plv-ai-outline-mind-map__content-mind-map-container{max-height:100%}.plv-ai-outline-mind-map__content-mind-map-container{width:100%;height:100%;display:flex;box-sizing:border-box;background:#36373d;padding:20px;overflow:hidden}.plv-ai-outline-mind-map__content-mind-map{width:100%;height:100%}.plv-ai-outline-mind-map__header{box-sizing:border-box;height:48px;width:100%;display:flex;align-items:center;justify-content:flex-end;padding:0 12px;background:#36373d;flex-shrink:0;border-radius:4px;border:1px solid rgba(255,255,255,.1)}.plv-ai-outline-mind-map__icon{display:flex;align-items:center;justify-content:center;color:#fff;width:20px;height:20px;font-size:20px;cursor:pointer;-webkit-tap-highlight-color:transparent}.plv-ai-outline-mind-map__icon+.plv-ai-outline-mind-map__icon{margin-left:12px}.plv-ai-outline-mind-map__footer{box-sizing:border-box;width:100%;height:48px;display:flex;align-items:center;justify-content:center;background:#36373d;flex-shrink:0;border-radius:4px;border-top:1px solid rgba(255,255,255,.1)}.plv-ai-outline-mind-map__content--mobile{min-width:50vw;min-height:50vh;max-width:90vw;max-height:80vh;border:none;border-radius:8px}.plv-ai-outline-mind-map__content--mobile .plv-ai-outline-mind-map__header,.plv-ai-outline-mind-map__content--mobile .plv-ai-outline-mind-map__footer{border:none;border-radius:8px}.fade-enter-active{animation:fade-in .3s}.fade-leave-active{animation:fade-in .35s reverse}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.plv-ai-message-box{position:fixed;top:0;left:0;z-index:3000;display:flex;align-items:center;justify-content:center;width:100%;height:100%}.plv-ai-message-box__bg{position:absolute;width:100%;height:100%;background:#0009}.plv-ai-message-box__main{z-index:1;width:300px;overflow:hidden;background:#fff;border-radius:8px}.plv-ai-message-box__main--rotate{transform:rotate(90deg)}.plv-ai-message-box__header{box-sizing:border-box;padding:24px 0 16px;widows:100%}.plv-ai-message-box__header .plv-ai-message-box__title{font-size:16px;font-weight:500;line-height:24px;color:#333;text-align:center}.plv-ai-message-box__footer{box-sizing:border-box;display:flex;border-top:1px solid #ededef}.plv-ai-message-box__footer button{position:relative;box-sizing:border-box;display:inline-block;flex:1;width:100%;font-size:16px;line-height:48px;color:#3082fe;vertical-align:middle;background:#fff;border:none;-webkit-appearance:none}.plv-ai-message-box__footer button+button:before{position:absolute;top:0;bottom:0;left:0;display:block;width:1px;height:100%;margin:auto;content:\"\";background:#0000001a}.plv-ai-message-box__body{box-sizing:border-box;display:flex;justify-content:center;margin-bottom:10px;font-size:16px;line-height:24px;color:#333}.plv-ai-message-box__content{padding:0 14px 20px}.plv-ai-message-box__content a{color:#3082fe;text-decoration:none}.plv-ai-message-box__main:not(.plv-ai-message-box__main--rotate){display:flex;flex-direction:column;max-height:95%}.plv-ai-message-box__main:not(.plv-ai-message-box__main--rotate) .plv-ai-message-box__body{flex:1;overflow-y:auto}.plv-ai-digital-preview{width:100%;height:100%;display:flex;position:relative;border-radius:12px}.plv-ai-digital-preview__video{border-radius:inherit}.plv-ai-digital-preview__video--hidden{opacity:0;position:absolute;top:0;left:0;pointer-events:none}.plv-ai-digital-preview__video:not(.plv-ai-digital-preview__video--hidden){opacity:1}.plv-ai-digital-preview__direction--row .plv-ai-digital-preview__video{height:100%}.plv-ai-digital-preview__direction--column .plv-ai-digital-preview__video{width:100%}.plv-ai-digital-preview__fit-mode--cover .plv-ai-digital-preview__video{width:100%;height:100%;object-fit:cover}.plv-ai-digital-preview__fit-mode--contain .plv-ai-digital-preview__video{object-fit:contain}.plv-ai-digital-preview__loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:3}.plv-ai-digital-preview__loading:after{content:\"\";display:block;width:40px;height:40px;border:3px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.plv-ai-assistant-msg-user{position:relative;box-sizing:border-box;padding-right:40px;padding-left:40px;margin:0 16px}.plv-ai-assistant-msg-user__avatar{position:absolute;top:0;width:32px;height:32px;overflow:hidden;border-radius:50%;background-repeat:no-repeat;background-position:center center;background-size:cover}.plv-ai-assistant-msg-user__avatar:after{position:absolute;top:0;left:0;box-sizing:border-box;display:block;width:200%;height:200%;pointer-events:none;content:\"\";border:1px solid #e1e1e1;border-radius:50%;transform:scale(.5);transform-origin:0 0}.plv-ai-assistant-msg-user__avatar__left{left:0}.plv-ai-assistant-msg-user__avatar__right{right:0}.plv-ai-assistant-msg-user__nick-wrap{position:relative;box-sizing:border-box;display:flex;align-items:center;max-width:100%;font-size:12px;line-height:1.4}.plv-ai-assistant-msg-user__nick{color:#adadc0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.plv-ai-assistant-msg-container{display:flex;flex-direction:column}.plv-ai-assistant-msg-container__align-right{align-items:flex-end}.plv-ai-assistant-msg-container__content{display:flex;align-items:flex-end;padding:3px 40px 0;margin:0 16px}.plv-ai-assistant-msg-container__content--hide-user{padding:0}.plv-ai-assistant-msg-container__content__inner{position:relative;max-width:100%}.plv-ai-assistant-msg-container__tips-bubble{position:absolute;bottom:calc(100% + 10px);left:50%;padding:10px 15px;font-size:14px;color:#fffc;white-space:nowrap;background-color:#424453f2;border-radius:4px;transform:translate(-50%)}.plv-ai-assistant-msg-container__tips-bubble:after{position:absolute;top:100%;left:50%;height:0;content:\"\";border-color:rgba(66,68,83,.95) transparent transparent transparent;border-style:solid;border-width:5px;transform:translate(-50%)}.plv-ai-assistant-msg-container__content__bubble{padding:8px 12px;font-size:16px;line-height:22px;color:#e4e4e4;word-break:break-word;background-color:#2b2c35;border-radius:0 6px 6px}.plv-ai-assistant-msg-container__content__bubble__align-right{border-radius:6px 0 6px 6px}.plv-ai-assistant-msg-container__content__suffix{flex-shrink:0;margin-left:10px;font-size:12px;white-space:nowrap}.plv-ai-assistant-msg-container__content__suffix:empty{display:none}.plv-ai-assistant-answer-msg__content{text-align:justify}@keyframes dot-loading{0%{opacity:1}50%{opacity:.3}to{opacity:1}}.plv-ai-assistant-answer-msg__content__markdown-render{color:inherit!important}.plv-ai-assistant-answer-msg__dot{display:inline-block;width:7px;height:7px;border-radius:50%}.plv-ai-assistant-answer-msg__dot1{animation:dot-loading linear infinite .9s}.plv-ai-assistant-answer-msg__dot2{margin:0 7px;animation:dot-loading linear infinite .9s;animation-delay:.3s}.plv-ai-assistant-answer-msg__dot3{animation:dot-loading linear infinite .9s;animation-delay:.6s}.plv-ai-assistant-chat-msg-item{margin:16px 0}.plv-ai-assistant-chat-msg-list{height:100%;overflow-y:auto}.plv-ai-assistant-chat-msg-list::-webkit-scrollbar{width:8px;border-radius:3px}.plv-ai-assistant-chat-msg-list::-webkit-scrollbar-thumb{border-radius:3px}.plv-ai-auto-textarea{display:flex;align-items:center;width:100%;min-height:36px;border-radius:12px;transition:.3s}.plv-ai-auto-textarea--multi-row{border-radius:6px}.plv-ai-auto-textarea__inner{box-sizing:border-box;flex:1;width:100%;min-height:17px;padding:0 12px;margin:8px 0;overflow-x:hidden;overflow-y:auto;font-family:inherit;font-size:14px;line-height:1.6;color:inherit;vertical-align:top;resize:none;background:transparent;border:none}.plv-ai-auto-textarea__inner::-webkit-scrollbar{display:none}.plv-ai-auto-textarea__inner::-webkit-scrollbar{width:4px}.plv-ai-auto-textarea__inner::placeholder{color:#adadc0}.plv-ai-auto-textarea__inner:disabled,.plv-ai-auto-textarea__inner:disabled::placeholder{color:#adadc080}.plv-ai-auto-textarea__inner--disabled{pointer-events:none}.plv-ai-audio-input{display:flex;width:100%}.plv-ai-audio-input__mode-switch{min-width:44px;width:44px;height:44px;background:url(\"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20fill='none'%20version='1.1'%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%3e%3cdefs%3e%3clinearGradient%20x1='0.0528460256755352'%20y1='0.1759304404258728'%20x2='1'%20y2='0.8796386718749998'%20id='master_svg0_332_58348'%3e%3cstop%20offset='0%25'%20stop-color='%236685FF'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%230A77FF'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3c/defs%3e%3cg%3e%3cg%3e%3cg%3e%3cellipse%20cx='22'%20cy='22'%20rx='22'%20ry='22'%20fill='url(%23master_svg0_332_58348)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cg%3e%3cpath%20d='M22,9C14.8203,9,9,14.8203,9,22C9,29.1797,14.8203,35,22,35C29.1797,35,35,29.1797,35,22C34.992000000000004,14.82361,29.1764,9.00799465,22,9ZM21.997799999999998,11Q19.759700000000002,11.00043,17.71892,11.86361Q15.745239999999999,12.698409999999999,14.221820000000001,14.221820000000001Q12.698409999999999,15.745239999999999,11.86361,17.71892Q11,19.7607,11,22Q11,24.2393,11.86361,26.2811Q12.698409999999999,28.2548,14.22183,29.7782Q15.74525,31.3016,17.71892,32.136399999999995Q19.7607,33,22,33Q24.2393,33,26.2811,32.136399999999995Q28.2548,31.3016,29.7782,29.7782Q31.3016,28.2548,32.136399999999995,26.2811Q33,24.2393,33,22Q32.9975,19.7634,32.132999999999996,17.72241Q31.2972,15.74932,29.7739,14.22607Q28.2507,12.70281,26.2776,11.86704Q24.2376,11.00292,22,11L21.997799999999998,11Z'%20fill-rule='evenodd'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3crect%20x='19.03125'%20y='26'%20width='6'%20height='2'%20rx='1'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M17.8218428125,18.750281875Q17.8218428125,18.818701875,17.8151428125,18.886801875Q17.8084328125,18.954901875,17.7950828125,19.022011875Q17.7817328125,19.089121875,17.761872812500002,19.154601875Q17.7420128125,19.220081874999998,17.7158228125,19.283301875Q17.6896328125,19.346521875,17.6573828125,19.406871875Q17.6251228125,19.467211875,17.5871128125,19.524111875Q17.5490928125,19.581001875,17.505682812499998,19.633901875Q17.4622728125,19.686791875,17.4138928125,19.735181875Q17.3655028125,19.783561875,17.3126128125,19.826971874999998Q17.2597128125,19.870381875,17.2028228125,19.908401875Q17.1459228125,19.946411875,17.0855828125,19.978671875Q17.0252328125,20.010921875,16.9620128125,20.037111875Q16.898792812499998,20.063301875,16.8333128125,20.083161875000002Q16.7678328125,20.103021875,16.7007228125,20.116371875Q16.6336128125,20.129721875,16.5655128125,20.136431875Q16.4974128125,20.143131875,16.4289928125,20.143131875Q16.3605628125,20.143131875,16.2924628125,20.136431875Q16.2243728125,20.129721875,16.1572528125,20.116371875Q16.090142812499998,20.103021875,16.0246648125,20.083161875000002Q15.9591848125,20.063301875,15.8959668125,20.037111875Q15.8327488125,20.010921875,15.7724018125,19.978671875Q15.7120548125,19.946411875,15.655159812499999,19.908401875Q15.5982648125,19.870381875,15.5453708125,19.826971874999998Q15.4924758125,19.783561875,15.4440908125,19.735181875Q15.3957058125,19.686791875,15.3522968125,19.633901875Q15.3088878125,19.581001875,15.2708718125,19.524111875Q15.2328558125,19.467211875,15.2005998125,19.406871875Q15.1683438125,19.346521875,15.1421578125,19.283301875Q15.1159720125,19.220081874999998,15.0961088125,19.154601875Q15.0762455125,19.089121875,15.0628962125,19.022011875Q15.0495468125,18.954901875,15.0428398025,18.886801875Q15.0361328125,18.818701875,15.0361328125,18.750281875Q15.0361328125,18.681851875,15.0428398025,18.613751875Q15.0495468125,18.545661875,15.0628962125,18.478541875Q15.0762455125,18.411431874999998,15.0961088125,18.345953875Q15.1159720125,18.280473875,15.1421578125,18.217255875Q15.1683438125,18.154037875,15.2005998125,18.093690875Q15.2328558125,18.033343875,15.2708718125,17.976448875Q15.3088878125,17.919553875,15.3522968125,17.866659875Q15.3957058125,17.813764875,15.4440908125,17.765379875Q15.4924758125,17.716994875,15.5453708125,17.673585875Q15.5982648125,17.630176875,15.655159812499999,17.592160875Q15.7120548125,17.554144875,15.7724018125,17.521888875Q15.8327488125,17.489632875,15.8959668125,17.463446875Q15.9591848125,17.437261075,16.0246648125,17.417397875Q16.090142812499998,17.397534575,16.1572528125,17.384185275Q16.2243728125,17.370835875,16.2924628125,17.364128865Q16.3605628125,17.357421875,16.4289928125,17.357421875Q16.4974128125,17.357421875,16.5655128125,17.364128865Q16.6336128125,17.370835875,16.7007228125,17.384185275Q16.7678328125,17.397534575,16.8333128125,17.417397875Q16.898792812499998,17.437261075,16.9620128125,17.463446875Q17.0252328125,17.489632875,17.0855828125,17.521888875Q17.1459228125,17.554144875,17.2028228125,17.592160875Q17.2597128125,17.630176875,17.3126128125,17.673585875Q17.3655028125,17.716994875,17.4138928125,17.765379875Q17.4622728125,17.813764875,17.505682812499998,17.866659875Q17.5490928125,17.919553875,17.5871128125,17.976448875Q17.6251228125,18.033343875,17.6573828125,18.093690875Q17.6896328125,18.154037875,17.7158228125,18.217255875Q17.7420128125,18.280473875,17.761872812500002,18.345953875Q17.7817328125,18.411431874999998,17.7950828125,18.478541875Q17.8084328125,18.545661875,17.8151428125,18.613751875Q17.8218428125,18.681851875,17.8218428125,18.750281875Z'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M20.14286,20.143131875C20.91211,20.143141875,21.53572,19.519531875,21.53572,18.750281875C21.53572,17.981025875,20.91211,17.35742300851,20.14286,17.35742300851C19.373604,17.35742300851,18.75000113351,17.981025875,18.75,18.750281875C18.75000113351,19.519531875,19.373604,20.143141875,20.14286,20.143131875ZM23.85714,17.357421875C23.08789,17.35742300851,22.46429,17.981025875,22.46429,18.750281875C22.46429,19.519531875,23.08789,20.143141875,23.85714,20.143141875C24.6264,20.143141875,25.25,19.519531875,25.25,18.750281875C25.25,17.981025875,24.6264,17.35742300851,23.85714,17.357421875ZM27.57143,17.357421875C26.80218,17.35742300851,26.17857,17.981025875,26.17857,18.750281875C26.17857,19.519531875,26.80218,20.143141875,27.57143,20.143141875C28.34068,20.143141875,28.9643,19.519531875,28.9643,18.750281875C28.9643,17.981025875,28.34068,17.35742300851,27.57143,17.357421875Z'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M17.8218428125,22.465125625Q17.8218428125,22.533545625,17.8151428125,22.601645625Q17.8084328125,22.669745625,17.7950828125,22.736855625Q17.7817328125,22.803965625,17.761872812500002,22.869445625Q17.7420128125,22.934925624999998,17.7158228125,22.998145625Q17.6896328125,23.061365625,17.6573828125,23.121715625Q17.6251228125,23.182055625,17.5871128125,23.238955625Q17.5490928125,23.295845625,17.505682812499998,23.348745625Q17.4622728125,23.401635625,17.4138928125,23.450025625Q17.3655028125,23.498405625,17.3126128125,23.541815624999998Q17.2597128125,23.585225625,17.2028228125,23.623245625Q17.1459228125,23.661255625,17.0855828125,23.693515625Q17.0252328125,23.725765625,16.9620128125,23.751955625Q16.898792812499998,23.778145625,16.8333128125,23.798005625000002Q16.7678328125,23.817865625,16.7007228125,23.831215625Q16.6336128125,23.844565625,16.5655128125,23.851275625Q16.4974128125,23.857975625,16.4289928125,23.857975625Q16.3605628125,23.857975625,16.2924628125,23.851275625Q16.2243728125,23.844565625,16.1572528125,23.831215625Q16.090142812499998,23.817865625,16.0246648125,23.798005625000002Q15.9591848125,23.778145625,15.8959668125,23.751955625Q15.8327488125,23.725765625,15.7724018125,23.693515625Q15.7120548125,23.661255625,15.655159812499999,23.623245625Q15.5982648125,23.585225625,15.5453708125,23.541815624999998Q15.4924758125,23.498405625,15.4440908125,23.450025625Q15.3957058125,23.401635625,15.3522968125,23.348745625Q15.3088878125,23.295845625,15.2708718125,23.238955625Q15.2328558125,23.182055625,15.2005998125,23.121715625Q15.1683438125,23.061365625,15.1421578125,22.998145625Q15.1159720125,22.934925624999998,15.0961088125,22.869445625Q15.0762455125,22.803965625,15.0628962125,22.736855625Q15.0495468125,22.669745625,15.0428398025,22.601645625Q15.0361328125,22.533545625,15.0361328125,22.465125625Q15.0361328125,22.396695625,15.0428398025,22.328595625Q15.0495468125,22.260505625,15.0628962125,22.193385625Q15.0762455125,22.126275624999998,15.0961088125,22.060797625Q15.1159720125,21.995317625,15.1421578125,21.932099625Q15.1683438125,21.868881625,15.2005998125,21.808534625Q15.2328558125,21.748187625,15.2708718125,21.691292625Q15.3088878125,21.634397625,15.3522968125,21.581503625Q15.3957058125,21.528608625,15.4440908125,21.480223625Q15.4924758125,21.431838625,15.5453708125,21.388429625Q15.5982648125,21.345020625,15.655159812499999,21.307004625Q15.7120548125,21.268988625,15.7724018125,21.236732625Q15.8327488125,21.204476625,15.8959668125,21.178290625Q15.9591848125,21.152104825,16.0246648125,21.132241625Q16.090142812499998,21.112378325,16.1572528125,21.099029025Q16.2243728125,21.085679625,16.2924628125,21.078972615Q16.3605628125,21.072265625,16.4289928125,21.072265625Q16.4974128125,21.072265625,16.5655128125,21.078972615Q16.6336128125,21.085679625,16.7007228125,21.099029025Q16.7678328125,21.112378325,16.8333128125,21.132241625Q16.898792812499998,21.152104825,16.9620128125,21.178290625Q17.0252328125,21.204476625,17.0855828125,21.236732625Q17.1459228125,21.268988625,17.2028228125,21.307004625Q17.2597128125,21.345020625,17.3126128125,21.388429625Q17.3655028125,21.431838625,17.4138928125,21.480223625Q17.4622728125,21.528608625,17.505682812499998,21.581503625Q17.5490928125,21.634397625,17.5871128125,21.691292625Q17.6251228125,21.748187625,17.6573828125,21.808534625Q17.6896328125,21.868881625,17.7158228125,21.932099625Q17.7420128125,21.995317625,17.761872812500002,22.060797625Q17.7817328125,22.126275624999998,17.7950828125,22.193385625Q17.8084328125,22.260505625,17.8151428125,22.328595625Q17.8218428125,22.396695625,17.8218428125,22.465125625Z'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M20.14286,23.857975625C20.91211,23.857975625,21.53572,23.234375625,21.53572,22.465125625C21.53572,21.695868625,20.91211,21.072265625,20.14286,21.072265625C19.373604,21.072265625,18.75000113351,21.695868625,18.75,22.465125625C18.75000113351,23.234375625,19.373604,23.857975625,20.14286,23.857975625ZM23.85714,21.072265625C23.08789,21.072265625,22.46429,21.695868625,22.46429,22.465125625C22.46429,23.234375625,23.08789,23.857975625,23.85714,23.857975625C24.6264,23.857975625,25.25,23.234375625,25.25,22.465125625C25.25,21.695868625,24.6264,21.072265625,23.85714,21.072265625ZM27.57143,21.072265625C26.80218,21.072265625,26.17857,21.695868625,26.17857,22.465125625C26.17857,23.234375625,26.80218,23.857975625,27.57143,23.857975625C28.34068,23.857975625,28.9643,23.234375625,28.9643,22.465125625C28.9643,21.695868625,28.34068,21.072265625,27.57143,21.072265625Z'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e\") no-repeat left center;background-size:36px 36px;cursor:pointer}.plv-ai-audio-input__status{display:flex;align-items:center;justify-content:center;text-align:center;width:100%;height:44px;border-radius:12px;background-color:#fff;transition:all .3s ease;cursor:pointer;user-select:none;outline:none;-webkit-tap-highlight-color:transparent}.plv-ai-audio-input__status-text{flex:1;display:flex;align-items:center;justify-content:center}.plv-ai-audio-input__status-tap,.plv-ai-audio-input__status-listening{display:flex;align-items:center;justify-content:center;width:100%}.plv-ai-audio-input__status-tap{color:#b2b2b2;font-size:14px}.plv-ai-audio-input__status-tap-item,.plv-ai-audio-input__status-breathing{display:flex;align-items:center;justify-content:space-between;gap:3px}.plv-ai-audio-input__status-tap__left,.plv-ai-audio-input__status-breathing__left{margin-right:8px}.plv-ai-audio-input__status-tap__right,.plv-ai-audio-input__status-breathing__right{margin-left:8px}.plv-ai-audio-input__status-tap__bar{width:2px;height:8px;background-color:#b2b2b2}.plv-ai-audio-input__status-listening{color:#3f76fc;font-size:14px}.plv-ai-audio-input__status-breathing__bar{width:2px;height:8px;background-color:#3f76fc;animation:breathing 1.5s infinite ease-in-out}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(1){animation-delay:.3s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(1){animation-delay:.3s}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(2){animation-delay:.6s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(2){animation-delay:.6s}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(3){animation-delay:.9s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(3){animation-delay:.9s}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(4){animation-delay:1.2s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(4){animation-delay:1.2s}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(5){animation-delay:1.5s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(5){animation-delay:1.5s}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(6){animation-delay:1.8s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(6){animation-delay:1.8s}.plv-ai-audio-input__status-breathing__left .plv-ai-audio-input__status-breathing__bar:nth-child(7){animation-delay:2.1s}.plv-ai-audio-input__status-breathing__right .plv-ai-audio-input__status-breathing__bar:nth-child(7){animation-delay:2.1s}@keyframes breathing{0%,to{transform:scaleY(1)}50%{transform:scaleY(1.8)}}.plv-ai-msg-input-wrap{position:relative;z-index:999;display:flex;flex-direction:column;justify-content:flex-end;min-height:56px}.plv-ai-msg-input-wrap__main{box-sizing:border-box;display:flex;flex-shrink:0;align-items:center;width:100%;padding:8px 16px 16px}.plv-ai-msg-input-wrap__main.plv-ai-msg-input-wrap__main--multi-row,.plv-ai-msg-input-wrap__main.plv-ai-msg-input-wrap__main--multi-row .plv-ai-auto-textarea{align-items:flex-end}.plv-ai-msg-input-wrap__input{position:relative;flex:1;min-height:40px;margin-right:12px}.c-mobile-msg-input-wrap__audio-switch-btn{min-width:44px;width:44px;height:44px;background:url(\"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20fill='none'%20version='1.1'%20width='44'%20height='44'%20viewBox='0%200%2044%2044'%3e%3cdefs%3e%3clinearGradient%20x1='0.0528460256755352'%20y1='0.1759304404258728'%20x2='1'%20y2='0.8796386718749998'%20id='master_svg0_332_58348'%3e%3cstop%20offset='0%25'%20stop-color='%236685FF'%20stop-opacity='1'/%3e%3cstop%20offset='100%25'%20stop-color='%230A77FF'%20stop-opacity='1'/%3e%3c/linearGradient%3e%3c/defs%3e%3cg%3e%3cg%3e%3cellipse%20cx='22'%20cy='22'%20rx='22'%20ry='22'%20fill='url(%23master_svg0_332_58348)'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cg%3e%3cpath%20d='M19.853955,15.189435Q23.374265,17.73292,23.374265,22.08224Q23.374265,26.4062,19.571255,29.3967C19.395015,29.5353,19.177325,29.610599999999998,18.953125,29.610599999999998C18.40084,29.610599999999998,17.953125,29.1629,17.953125,28.610599999999998C17.953125,28.3039,18.093887,28.0141,18.334994000000002,27.8245Q21.374265,25.4346,21.374265,22.08224Q21.374265,18.7553,18.682662,16.81057C18.422442,16.62255,18.268311,16.32104,18.268311,16C18.268311,15.447715,18.716026,15,19.268315,15C19.478585,15,19.683515,15.0662859,19.853955,15.189435Z'%20fill-rule='evenodd'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cpath%20d='M25.5080353125,9.236984Q30.8402053125,13.754059999999999,30.8402053125,21.430799999999998Q30.8402053125,29.0823,25.0342853125,34.435199999999995C24.8496153125,34.6055,24.6076253125,34.7,24.3564453125,34.7C23.8041603125,34.7,23.3564453125,34.252300000000005,23.3564453125,33.7C23.3564453125,33.4207,23.4732553125,33.1541,23.6786013125,32.9648Q28.8402153125,28.2059,28.8402053125,21.430799999999998Q28.8402053125,14.681370000000001,24.2158373125,10.763490000000001L24.2158373125,10.763490000000001C23.990989312499998,10.57301,23.8616573125,10.29395,23.8616573125,10C23.8616573125,9.447715,24.3093733125,9,24.861655312499998,9C25.0983753125,9,25.3274153125,9.0839743,25.5080353125,9.236984Z'%20fill-rule='evenodd'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3cg%3e%3cellipse%20cx='14'%20cy='22'%20rx='2'%20ry='2'%20fill='%23FFFFFF'%20fill-opacity='1'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e\") no-repeat left center;background-size:36px 36px;cursor:pointer}.plv-ai-msg-input-wrap__input__set-nick{position:absolute;top:0;left:0;width:100%;height:100%}.plv-ai-msg-input-wrap__input__textarea{min-width:80px}.plv-ai-msg-input-wrap__emotion-btn{flex-shrink:0;width:24px;height:24px;margin:7px 7px 7px -9px}.plv-ai-msg-input-wrap__emotion-btn__icon{display:flex;font-size:24px!important}.plv-ai-msg-input-wrap__emotion-btn--disabled{opacity:.5}.plv-ai-msg-input-wrap__button{display:flex;flex-shrink:0;align-items:center;justify-content:center;min-width:88px;border-radius:12px;height:40px;text-align:center;cursor:pointer}.plv-ai-msg-input-wrap__button--disabled{cursor:not-allowed;opacity:.6}.plv-ai-msg-input-wrap__panel{flex-shrink:0;width:100%}.plv-ai-msg-input-wrap--alway-active .plv-ai-msg-input-wrap__main{padding:12px 12px 10px}.plv-ai-assistant-chat--dark{background-color:#202127}.plv-ai-assistant-chat--dark .pws-ai-assistant-chat-msg-list::-webkit-scrollbar-thumb{background-color:#46464f}.plv-ai-assistant-chat--dark .pws-primary-text-color{color:#fff}.plv-ai-assistant-chat--dark .pws-dark-basic-bg-20{background-color:#0003}.plv-ai-assistant-chat--dark .pws-normal-msg-bubble-color{background:linear-gradient(106deg,#6685ff 6%,#0a77ff 98%);color:#fff}.plv-ai-assistant-chat--dark .pws-ai-msg-bubble-color{color:#1d2129;background-color:#f5f5f5}.plv-ai-assistant-chat--dark .pws-ai-assistant-msg-dot{background-color:#1d2129}.plv-ai-assistant-chat--dark .pws-markdown-render{padding:0;background:none}.plv-ai-assistant-chat--dark .pws-markdown-render a{color:#3f76fc}.plv-ai-assistant-chat--dark .pws-chat-msg-user-nickname{color:#adadc0!important}.plv-ai-assistant-chat--dark .pws-msg-user-info-special .pws-chat-msg-user-nickname{color:#5394f6!important}.plv-ai-assistant-chat--dark .pws-mobile-chat-msg-input{background-color:#ffffff1a!important}.plv-ai-assistant-chat--dark .pws-mobile-chat-msg-input-textarea{color:#fff!important}.plv-ai-assistant-chat--dark .pws-mobile-chat-msg-input-textarea::placeholder{color:#fff9}.plv-ai-assistant-chat--dark .pws-mobile-chat-msg-input-textarea::-webkit-scrollbar-thumb{background-color:#ffffff1a}.plv-ai-assistant-chat--dark .pws-mobile-msg-input-suffix-icon{color:#adadc0!important}.plv-ai-assistant-chat--dark .pws-mobile-msg-send-button{background:linear-gradient(110deg,#6685ff 7%,#0a77ff 98%)!important;color:#fff!important}.plv-ai-assistant-chat--dark .plv-ai-assistant-chat__footer-tip{color:#adadc0!important}.plv-ai-assistant-chat--light{background-color:#f2f2f2}.plv-ai-assistant-chat--light .pws-ai-assistant-chat-msg-list::-webkit-scrollbar-thumb{background-color:#6663}.plv-ai-assistant-chat--light .pws-ai-assistant-chat__not-config{filter:brightness(.3)}.plv-ai-assistant-chat--light .pws-primary-text-color{color:#000c}.plv-ai-assistant-chat--light .pws-light-basic-bg-20{background-color:#fff3}.plv-ai-assistant-chat--light .pws-normal-msg-bubble-color{background:linear-gradient(106deg,#6685ff 6%,#0a77ff 98%);color:#fff}.plv-ai-assistant-chat--light .pws-ai-msg-bubble-color{color:#fff;background:#0003}.plv-ai-assistant-chat--light .pws-ai-assistant-msg-dot{background-color:#fff}.plv-ai-assistant-chat--light .pws-markdown-render{padding:0;background:none}.plv-ai-assistant-chat--light .pws-markdown-render code{color:#24292e}.plv-ai-assistant-chat--light .pws-markdown-render a{color:#3f76fc}.plv-ai-assistant-chat--light .pws-chat-msg-user-nickname{color:#adadc0!important}.plv-ai-assistant-chat--light .pws-msg-user-info-special .pws-chat-msg-user-nickname{color:#3f76fc!important}.plv-ai-assistant-chat--light .pws-mobile-chat-msg-input{background-color:#ffffffe6!important}.plv-ai-assistant-chat--light .pws-mobile-chat-msg-input-textarea{color:#666!important}.plv-ai-assistant-chat--light .pws-mobile-chat-msg-input-textarea::placeholder{color:#969ba5}.plv-ai-assistant-chat--light .pws-mobile-chat-msg-input-textarea::-webkit-scrollbar-thumb{background-color:#1571d033}.plv-ai-assistant-chat--light .pws-mobile-msg-input-suffix-icon{color:#adadc0b3!important}.plv-ai-assistant-chat--light .pws-mobile-msg-send-button{background:linear-gradient(110deg,#6685ff 7%,#0a77ff 98%)!important;color:#fff!important}.plv-ai-assistant-chat--light .plv-ai-assistant-chat__footer-tip{color:#bec2ca!important}.plv-ai-assistant-chat{display:flex;height:100%;box-sizing:border-box;overflow:auto;position:relative}.plv-ai-assistant-chat p{margin:0;padding:0}.plv-ai-assistant-chat img{vertical-align:middle;border:none}.plv-ai-assistant-chat input,.plv-ai-assistant-chat textarea,.plv-ai-assistant-chat select,.plv-ai-assistant-chat button{outline:none}.plv-ai-assistant-chat input[disabled]{opacity:1}.plv-ai-assistant-chat input[type=button],.plv-ai-assistant-chat input[type=submit],.plv-ai-assistant-chat input[type=reset],.plv-ai-assistant-chat button{-webkit-appearance:none;border:none}.plv-ai-assistant-chat__direction--row{flex-direction:row;padding-bottom:32px!important}.plv-ai-assistant-chat__direction--row .plv-ai-msg-input-wrap__main{padding-bottom:0}.plv-ai-assistant-chat__direction--row .plv-ai-assistant-chat__aside-right{width:0}.plv-ai-assistant-chat__direction--column{flex-direction:column;justify-content:flex-end}.plv-ai-assistant-chat__direction--column .plv-ai-assistant-chat__aside-left{position:absolute;background:inherit;top:0;left:0;width:100%;height:100%}.plv-ai-assistant-chat__direction--column .plv-ai-assistant-chat__aside-left .plv-ai-assistant-chat__digital-preview{border-radius:0!important}.plv-ai-assistant-chat__direction--column .plv-ai-assistant-chat__aside-right{padding-bottom:12px}.plv-ai-assistant-chat__direction--column.plv-ai-assistant-chat__exist-digital .plv-ai-assistant-chat__aside-right{max-height:60%;background:none}.plv-ai-assistant-chat__aside-left{background:inherit}.plv-ai-assistant-chat__aside-right{flex:1;width:100%;height:100%;background:inherit}.plv-ai-assistant-chat__digital-preview__wrapper,.plv-ai-assistant-chat__chatroom{display:flex;flex-direction:column;height:100%;overflow:hidden}.plv-ai-assistant-chat__chatroom__not-config{display:flex;flex-direction:column;height:100%;overflow:hidden;align-items:center;justify-content:center}.plv-ai-assistant-chat__chatroom__not-config__image{width:112px;height:112px}.plv-ai-assistant-chat__chatroom__not-config__text{margin-top:18px;color:#fff}.plv-ai-assistant-chat__chatroom__msg-list{flex:1;overflow:hidden}.plv-ai-assistant-chat__footer-tip{position:absolute;display:flex;justify-content:center;font-size:12px;align-items:center;text-align:center;margin:auto;left:0;bottom:0;right:0;max-width:100%;overflow:hidden}.plv-ai-assistant-chat__footer-tip-content{padding:8px 12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}")),document.head.appendChild(e)}}catch(a){console.error("vite-plugin-css-injected-by-js",a)}}();
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defProps = Object.defineProperties;
|
|
4
4
|
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
@@ -581,6 +581,66 @@ IconBuilder_1(
|
|
|
581
581
|
</svg>
|
|
582
582
|
`
|
|
583
583
|
);
|
|
584
|
+
const AiIconCancelFullscreen = IconBuilder_1(
|
|
585
|
+
"cancel-fullscreen",
|
|
586
|
+
(data2) => `
|
|
587
|
+
<svg width="${data2.size}" height="${data2.size}" fill="none" viewBox="0 0 20 20">
|
|
588
|
+
<defs>
|
|
589
|
+
<clipPath><rect width="20" height="20" x="0" y="0" rx="0" /></clipPath>
|
|
590
|
+
</defs>
|
|
591
|
+
<g clip-path="url(#master_svg0_5_9186)">
|
|
592
|
+
<g transform="matrix(-1,0,0,-1,32.26953125,16.388671875)">
|
|
593
|
+
<path
|
|
594
|
+
fill="${data2.colorDesc[0]}"
|
|
595
|
+
fill-opacity="1"
|
|
596
|
+
fill-rule="evenodd"
|
|
597
|
+
d="M19.745876325,8.9165581475L19.745876325,12.5276689375L19.748098625,12.5276689375L19.748095225,13.2476720375L21.188101725,13.2476720375L21.188098925,12.5276689375L21.190320525,12.5276689375L21.190320525,8.1943359375Q21.190320025,8.1232032625,21.176443125,8.0534373775Q21.162565225,7.9836715175,21.135344025000002,7.9179534875Q21.108122825,7.8522354975,21.068603525,7.7930908174999995Q21.029084225,7.7339461775,20.978786425,7.6836477475Q20.928487825,7.6333494175,20.869343325,7.5938301675Q20.810198825,7.5543109775,20.744480625,7.5270896575Q20.678762425000002,7.4998683375,20.608996825,7.4859909975Q20.539231325,7.4721137275,20.468098625,7.4721137275L16.134765625,7.4721137275L16.134765625,7.4743359075L15.414762315,7.4743326275L15.414762315,8.9143392475L16.134765625,8.9143359675L16.134765625,8.9165581475L19.745876325,8.9165581475Z"
|
|
598
|
+
/>
|
|
599
|
+
</g>
|
|
600
|
+
<g>
|
|
601
|
+
<path
|
|
602
|
+
fill="${data2.colorDesc[0]}"
|
|
603
|
+
fill-opacity="1"
|
|
604
|
+
fill-rule="evenodd"
|
|
605
|
+
d="M2.77777779,3.5L2.77777779,7.833333L2.77999997,7.833333L2.77999669,8.5533361L4.22000331,8.5533361L4.22000003,7.833333L4.22222221,7.833333L4.22222221,4.22222221L7.833333,4.22222221L7.833333,4.22000003L8.5533361,4.22000331L8.5533361,2.77999669L7.833333,2.77999997L7.833333,2.77777779L3.5,2.77777779Q3.428867325,2.77777779,3.35910144,2.79165506Q3.28933558,2.8055324,3.22361755,2.83275372Q3.15789956,2.85997504,3.09875488,2.89949423Q3.03961024,2.93901348,2.9893118100000002,2.9893118100000002Q2.93901348,3.03961024,2.89949423,3.09875488Q2.85997504,3.15789956,2.83275372,3.22361755Q2.8055324,3.28933558,2.79165506,3.35910144Q2.77777779,3.428867325,2.77777779,3.5Z"
|
|
606
|
+
/>
|
|
607
|
+
</g>
|
|
608
|
+
<g>
|
|
609
|
+
<path
|
|
610
|
+
fill="${data2.colorDesc[0]}"
|
|
611
|
+
fill-opacity="1"
|
|
612
|
+
fill-rule="evenodd"
|
|
613
|
+
d="M15.779345225,11.4469888775L15.779348625,12.1669921875L15.777126325,12.1669921875L15.777126325,15.7781028875L12.166015625,15.7781028875L12.166015625,15.7803251875L11.446012315,15.7803217875L11.446012315,17.2203282875L12.166015625,17.2203254875L12.166015625,17.2225470875L16.499348625,17.2225470875Q16.570481325,17.2225465875,16.640246825,17.2086696875Q16.710012425000002,17.1947917875,16.775730625,17.167570587500002Q16.841448825,17.1403493875,16.900593325,17.1008300875Q16.959737825,17.0613107875,17.010036425,17.0110129875Q17.060334225,16.9607143875,17.099853525,16.9015698875Q17.139372825,16.8424253875,17.166594025000002,16.7767071875Q17.193815225,16.710988987500002,17.207692625,16.6412233875Q17.221570025,16.5714578875,17.221570525,16.5003251875L17.221570525,12.1669921875L17.219348925,12.1669921875L17.219351725,11.4469888775L15.779345225,11.4469888775Z"
|
|
614
|
+
/>
|
|
615
|
+
</g>
|
|
616
|
+
<g transform="matrix(-1,0,0,-1,16.3828125,32.279296875)">
|
|
617
|
+
<path
|
|
618
|
+
fill="${data2.colorDesc[0]}"
|
|
619
|
+
fill-opacity="1"
|
|
620
|
+
fill-rule="evenodd"
|
|
621
|
+
d="M7.47140294,15.4196451275L7.47140622,16.1396484375L7.46918404,16.1396484375L7.46918404,20.4729814375Q7.46918404,20.5441141375,7.48306131,20.6138796375Q7.49693865,20.683645237500002,7.52415997,20.7493634375Q7.55138129,20.8150816375,7.59090048,20.8742261375Q7.63041973,20.9333706375,7.68071806,20.9836692375Q7.73101649,21.0339670375,7.7901611299999995,21.0734863375Q7.84930581,21.1130056375,7.9150238,21.140226837500002Q7.98074183,21.1674480375,8.05050769,21.1813254375Q8.120273575,21.1952028375,8.19140625,21.1952033375L12.52473925,21.1952033375L12.52473925,21.1929817375L13.24474235,21.1929845375L13.24474235,19.7529780375L12.52473925,19.7529814375L12.52473925,19.7507591375L8.91362846,19.7507591375L8.91362846,16.1396484375L8.91140628,16.1396484375L8.91140956,15.4196451275L7.47140294,15.4196451275Z"
|
|
622
|
+
/>
|
|
623
|
+
</g>
|
|
624
|
+
<g transform="matrix(-1,0,0,-1,32.9921875,16.388671875)">
|
|
625
|
+
<path
|
|
626
|
+
fill="${data2.colorDesc[0]}"
|
|
627
|
+
fill-opacity="1"
|
|
628
|
+
fill-rule="evenodd"
|
|
629
|
+
d="M21.699654549999998,8.7034529475Q21.80092435,8.6021832775,21.85573105,8.469868097500001Q21.91053775,8.3375528875,21.91053775,8.1943359375Q21.91053775,8.1234221305,21.89670325,8.0538709175Q21.88286825,7.9843196875,21.85573055,7.9188038675Q21.82859325,7.8532880575,21.78919555,7.7943253775Q21.74979825,7.7353627075,21.699654549999998,7.6852190475Q21.64951135,7.6350754475,21.59054805,7.5956778575Q21.53158565,7.5562802575,21.46606925,7.5291427375Q21.40055375,7.5020052175,21.33100275,7.4881705675Q21.26145175,7.4743359075,21.19053795,7.4743359075Q21.04732085,7.4743359075,20.91500565,7.5291425575Q20.78269105,7.5839493275,20.68142125,7.6852188675L20.67985015,7.6836477475L15.98540556,12.3780923375L15.98697662,12.3796634375L15.47785545,12.8887801375L16.49609375,13.9070186375L17.0052107,13.3978967375L17.00678194,13.399467937499999L21.70122575,8.7050241275L21.699654549999998,8.7034529475Z"
|
|
630
|
+
/>
|
|
631
|
+
</g>
|
|
632
|
+
<g transform="matrix(-1,0,0,-1,16.3828125,33.0009765625)">
|
|
633
|
+
<path
|
|
634
|
+
fill="${data2.colorDesc[0]}"
|
|
635
|
+
fill-opacity="1"
|
|
636
|
+
fill-rule="evenodd"
|
|
637
|
+
d="M12.88585045,15.48224998125L12.37673335,15.99137145125L12.37516265,15.98980009125L7.68071806,20.68424468125L7.68228918,20.68581578125Q7.58101964,20.78708558125,7.52621293,20.91940018125Q7.47140622,21.05171538125,7.47140622,21.19493248125Q7.47140622,21.26584628125,7.48524088,21.33539728125Q7.49907553,21.40494828125,7.52621305,21.47046378125Q7.55335057,21.53598018125,7.59274817,21.59494258125Q7.63214576,21.65390588125,7.68228936,21.704049081249998Q7.73243302,21.75419278125,7.79139566,21.79359058125Q7.85035837,21.83298778125,7.91587418,21.86012508125Q7.98139,21.88726278125,8.05094123,21.90109728125Q8.120492443,21.91493228125,8.19140625,21.91493228125Q8.3346232,21.91493228125,8.466938410000001,21.86012558125Q8.59925359,21.80531888125,8.70052326,21.704049081249998L8.70209444,21.70562028125L13.396538249999999,17.01117647125L13.39496705,17.00960523125L13.90408895,16.50048828125L12.88585045,15.48224998125Z"
|
|
638
|
+
/>
|
|
639
|
+
</g>
|
|
640
|
+
</g>
|
|
641
|
+
</svg>
|
|
642
|
+
`
|
|
643
|
+
);
|
|
584
644
|
const AiIconClose = IconBuilder_1(
|
|
585
645
|
"close",
|
|
586
646
|
(data2) => `
|
|
@@ -598,6 +658,214 @@ const AiIconClose = IconBuilder_1(
|
|
|
598
658
|
</svg>
|
|
599
659
|
`
|
|
600
660
|
);
|
|
661
|
+
const AiIconToFullscreen = IconBuilder_1(
|
|
662
|
+
"to-fullscreen",
|
|
663
|
+
(data2) => `
|
|
664
|
+
<svg width="${data2.size}" height="${data2.size}" fill="none" viewBox="0 0 20 20">
|
|
665
|
+
<defs>
|
|
666
|
+
<clipPath><rect width="20" height="20" x="0" y="0" rx="0" /></clipPath>
|
|
667
|
+
</defs>
|
|
668
|
+
<g clip-path="url(#master_svg0_5_8949)">
|
|
669
|
+
<g>
|
|
670
|
+
<path
|
|
671
|
+
fill="${data2.colorDesc[0]}"
|
|
672
|
+
fill-opacity="1"
|
|
673
|
+
fill-rule="evenodd"
|
|
674
|
+
d="M15.777126325,4.22222221L15.777126325,7.833333L15.779348625,7.833333L15.779345225,8.5533361L17.219351725,8.5533361L17.219348925,7.833333L17.221570525,7.833333L17.221570525,3.5Q17.221570025,3.428867325,17.207693125,3.35910144Q17.193815225,3.28933558,17.166594025000002,3.22361755Q17.139372825,3.15789956,17.099853525,3.09875488Q17.060334225,3.03961024,17.010036425,2.9893118100000002Q16.959737825,2.93901348,16.900593325,2.89949423Q16.841448825,2.85997504,16.775730625,2.83275372Q16.710012425000002,2.8055324,16.640246825,2.79165506Q16.570481325,2.77777779,16.499348625,2.77777779L12.166015625,2.77777779L12.166015625,2.77999997L11.446012315,2.77999669L11.446012315,4.22000331L12.166015625,4.22000003L12.166015625,4.22222221L15.777126325,4.22222221Z"
|
|
675
|
+
/>
|
|
676
|
+
</g>
|
|
677
|
+
<g>
|
|
678
|
+
<path
|
|
679
|
+
fill="${data2.colorDesc[0]}"
|
|
680
|
+
fill-opacity="1"
|
|
681
|
+
fill-rule="evenodd"
|
|
682
|
+
d="M2.77777779,3.5L2.77777779,7.833333L2.77999997,7.833333L2.77999669,8.5533361L4.22000331,8.5533361L4.22000003,7.833333L4.22222221,7.833333L4.22222221,4.22222221L7.833333,4.22222221L7.833333,4.22000003L8.5533361,4.22000331L8.5533361,2.77999669L7.833333,2.77999997L7.833333,2.77777779L3.5,2.77777779Q3.428867325,2.77777779,3.35910144,2.79165506Q3.28933558,2.8055324,3.22361755,2.83275372Q3.15789956,2.85997504,3.09875488,2.89949423Q3.03961024,2.93901348,2.9893118100000002,2.9893118100000002Q2.93901348,3.03961024,2.89949423,3.09875488Q2.85997504,3.15789956,2.83275372,3.22361755Q2.8055324,3.28933558,2.79165506,3.35910144Q2.77777779,3.428867325,2.77777779,3.5Z"
|
|
683
|
+
/>
|
|
684
|
+
</g>
|
|
685
|
+
<g>
|
|
686
|
+
<path
|
|
687
|
+
fill="${data2.colorDesc[0]}"
|
|
688
|
+
fill-opacity="1"
|
|
689
|
+
fill-rule="evenodd"
|
|
690
|
+
d="M15.779345225,11.4469888775L15.779348625,12.1669921875L15.777126325,12.1669921875L15.777126325,15.7781028875L12.166015625,15.7781028875L12.166015625,15.7803251875L11.446012315,15.7803217875L11.446012315,17.2203282875L12.166015625,17.2203254875L12.166015625,17.2225470875L16.499348625,17.2225470875Q16.570481325,17.2225465875,16.640246825,17.2086696875Q16.710012425000002,17.1947917875,16.775730625,17.167570587500002Q16.841448825,17.1403493875,16.900593325,17.1008300875Q16.959737825,17.0613107875,17.010036425,17.0110129875Q17.060334225,16.9607143875,17.099853525,16.9015698875Q17.139372825,16.8424253875,17.166594025000002,16.7767071875Q17.193815225,16.710988987500002,17.207692625,16.6412233875Q17.221570025,16.5714578875,17.221570525,16.5003251875L17.221570525,12.1669921875L17.219348925,12.1669921875L17.219351725,11.4469888775L15.779345225,11.4469888775Z"
|
|
691
|
+
/>
|
|
692
|
+
</g>
|
|
693
|
+
<g>
|
|
694
|
+
<path
|
|
695
|
+
fill="${data2.colorDesc[0]}"
|
|
696
|
+
fill-opacity="1"
|
|
697
|
+
fill-rule="evenodd"
|
|
698
|
+
d="M2.77999669,11.4469888775L2.77999997,12.1669921875L2.77777779,12.1669921875L2.77777779,16.5003251875Q2.77777779,16.5714578875,2.79165506,16.6412233875Q2.8055324,16.710988987500002,2.83275372,16.7767071875Q2.85997504,16.8424253875,2.89949423,16.9015698875Q2.93901348,16.9607143875,2.9893118100000002,17.0110129875Q3.03961024,17.0613107875,3.09875488,17.1008300875Q3.15789956,17.1403493875,3.22361755,17.167570587500002Q3.28933558,17.1947917875,3.35910144,17.2086691875Q3.428867325,17.2225465875,3.5,17.2225470875L7.833333,17.2225470875L7.833333,17.2203254875L8.5533361,17.2203282875L8.5533361,15.7803217875L7.833333,15.7803251875L7.833333,15.7781028875L4.22222221,15.7781028875L4.22222221,12.1669921875L4.22000003,12.1669921875L4.22000331,11.4469888775L2.77999669,11.4469888775Z"
|
|
699
|
+
/>
|
|
700
|
+
</g>
|
|
701
|
+
<g>
|
|
702
|
+
<path
|
|
703
|
+
fill="${data2.colorDesc[0]}"
|
|
704
|
+
fill-opacity="1"
|
|
705
|
+
fill-rule="evenodd"
|
|
706
|
+
d="M17.009224862499998,4.00911701Q17.1104946625,3.90784734,17.1653013625,3.77553216Q17.2201080625,3.6432169500000002,17.2201080625,3.5Q17.2201080625,3.429086193,17.2062735625,3.35953498Q17.1924385625,3.28998375,17.1653008625,3.22446793Q17.1381635625,3.15895212,17.0987658625,3.09998944Q17.0593685625,3.04102677,17.009224862499998,2.99088311Q16.9590816625,2.9407395100000002,16.9001183625,2.90134192Q16.8411559625,2.86194432,16.7756395625,2.8348068Q16.7101240625,2.80766928,16.6405730625,2.79383463Q16.5710220625,2.77999997,16.5001082625,2.77999997Q16.3568911625,2.77999997,16.2245759625,2.83480662Q16.0922613625,2.88961339,15.9909915625,2.99088293L15.9894204625,2.9893118100000002L11.2949758725,7.6837564L11.2965469325,7.6853275L10.7874257625,8.1944442L11.8056640625,9.2126827L12.3147810125,8.7035608L12.3163522525,8.705131999999999L17.0107960625,4.01068819L17.009224862499998,4.00911701Z"
|
|
707
|
+
/>
|
|
708
|
+
</g>
|
|
709
|
+
<g>
|
|
710
|
+
<path
|
|
711
|
+
fill="${data2.colorDesc[0]}"
|
|
712
|
+
fill-opacity="1"
|
|
713
|
+
fill-rule="evenodd"
|
|
714
|
+
d="M8.1944442,10.78791404375L7.6853271,11.29703551375L7.6837564,11.29546415375L2.9893118100000002,15.98990874375L2.99088293,15.99147984375Q2.88961339,16.09274964375,2.83480668,16.22506424375Q2.77999997,16.35737944375,2.77999997,16.50059654375Q2.77999997,16.57151034375,2.79383463,16.64106134375Q2.80766928,16.71061234375,2.8348068,16.77612784375Q2.86194432,16.84164424375,2.90134192,16.90060664375Q2.9407395100000002,16.95956994375,2.99088311,17.009713143749998Q3.04102677,17.05985684375,3.09998941,17.09925464375Q3.15895212,17.13865184375,3.22446793,17.16578914375Q3.28998375,17.19292684375,3.35953498,17.20676134375Q3.429086193,17.22059634375,3.5,17.22059634375Q3.6432169500000002,17.22059634375,3.77553216,17.16578964375Q3.90784734,17.11098294375,4.00911701,17.009713143749998L4.01068819,17.01128434375L8.705131999999999,12.31684053375L8.7035608,12.31526929375L9.2126827,11.80615234375L8.1944442,10.78791404375Z"
|
|
715
|
+
/>
|
|
716
|
+
</g>
|
|
717
|
+
</g>
|
|
718
|
+
</svg>
|
|
719
|
+
`
|
|
720
|
+
);
|
|
721
|
+
const AiIconZoomIn = IconBuilder_1(
|
|
722
|
+
"zoom-in",
|
|
723
|
+
(data2) => `
|
|
724
|
+
<svg width="${data2.size}" height="${data2.size}" fill="none" viewBox="0 0 14 14">
|
|
725
|
+
<defs>
|
|
726
|
+
<clipPath>
|
|
727
|
+
<rect
|
|
728
|
+
width="14.000000953674316"
|
|
729
|
+
height="14.000000953674316"
|
|
730
|
+
x="0"
|
|
731
|
+
y="0"
|
|
732
|
+
rx="0"
|
|
733
|
+
/>
|
|
734
|
+
</clipPath>
|
|
735
|
+
</defs>
|
|
736
|
+
<g clip-path="url(#master_svg0_5_9506)">
|
|
737
|
+
<g>
|
|
738
|
+
<path
|
|
739
|
+
fill="${data2.colorDesc[0]}"
|
|
740
|
+
fill-opacity="1"
|
|
741
|
+
fill-rule="evenodd"
|
|
742
|
+
d="M3.0554851367645264,3.0554673745803833Q1.5322757667645264,4.5786770745803835,1.5322757367645263,6.732806374580384Q1.5322754367645264,8.886935374580382,3.0554850367645265,10.410144974580383Q4.578694836764527,11.933354474580383,6.732823636764526,11.933354474580383Q8.886952636764526,11.933354474580383,10.410161736764527,10.410144974580383Q11.933371336764527,8.886935374580382,11.933371336764527,6.732806374580384Q11.933371336764527,4.5786770745803835,10.410162736764526,3.055467474580383Q8.886953136764525,1.5322579145803834,6.732825036764527,1.5322579745803833Q4.578694336764526,1.5322576745803833,3.0554851367645264,3.0554673745803833ZM3.7154513367645263,9.750178974580383Q2.4656088367645266,8.500336274580384,2.4656088367645266,6.732806374580384Q2.4656090767645265,4.9652765745803835,3.7154514367645266,3.7154336745803835Q4.965293836764527,2.4655910745803835,6.732825036764527,2.465591344580383Q8.500354036764527,2.4655911645803834,9.750196236764527,3.7154336745803835Q11.000037936764526,4.9652765745803835,11.000037936764526,6.732806374580384Q11.000037936764526,8.500336274580384,9.750195736764526,9.750178974580383Q8.500352636764527,11.000022074580384,6.732823636764526,11.000022074580384Q4.965294336764527,11.000022074580384,3.7154513367645263,9.750178974580383Z"
|
|
743
|
+
/>
|
|
744
|
+
</g>
|
|
745
|
+
<g>
|
|
746
|
+
<path
|
|
747
|
+
fill="${data2.colorDesc[0]}"
|
|
748
|
+
fill-opacity="1"
|
|
749
|
+
fill-rule="evenodd"
|
|
750
|
+
d="M11.585663584558105,12.245612104370117L9.586686764558106,10.246671234370117L10.246647204558105,9.586698974370117L12.245624084558106,11.585639904370117L11.585663584558105,12.245612104370117Z"
|
|
751
|
+
/>
|
|
752
|
+
</g>
|
|
753
|
+
<g>
|
|
754
|
+
<path
|
|
755
|
+
fill="${data2.colorDesc[0]}"
|
|
756
|
+
fill-opacity="1"
|
|
757
|
+
fill-rule="evenodd"
|
|
758
|
+
d="M6.270833967572021,8.773334034057617L6.270833967572021,4.690000534057617L7.204167367572022,4.690000534057617L7.204167367572022,8.773334034057617L6.270833967572021,8.773334034057617Z"
|
|
759
|
+
/>
|
|
760
|
+
</g>
|
|
761
|
+
<g transform="matrix(0,1,-1,0,15.510840892791748,-2.0481019020080566)">
|
|
762
|
+
<path
|
|
763
|
+
fill="${data2.colorDesc[0]}"
|
|
764
|
+
fill-opacity="1"
|
|
765
|
+
fill-rule="evenodd"
|
|
766
|
+
d="M8.312804697399903,10.814702995391846L8.312804697399903,6.731369495391846L9.246138097399902,6.731369495391846L9.246138097399902,10.814702995391846L8.312804697399903,10.814702995391846Z"
|
|
767
|
+
/>
|
|
768
|
+
</g>
|
|
769
|
+
</g>
|
|
770
|
+
</svg>
|
|
771
|
+
`
|
|
772
|
+
);
|
|
773
|
+
const AiIconZoomOut = IconBuilder_1(
|
|
774
|
+
"zoom-out",
|
|
775
|
+
(data2) => `
|
|
776
|
+
<svg width="${data2.size}" height="${data2.size}" fill="none" viewBox="0 0 14 14">
|
|
777
|
+
<defs>
|
|
778
|
+
<clipPath>
|
|
779
|
+
<rect
|
|
780
|
+
width="14.000000953674316"
|
|
781
|
+
height="14.000000953674316"
|
|
782
|
+
x="0"
|
|
783
|
+
y="0"
|
|
784
|
+
rx="0"
|
|
785
|
+
/>
|
|
786
|
+
</clipPath>
|
|
787
|
+
</defs>
|
|
788
|
+
<g clip-path="url(#master_svg0_5_9514)">
|
|
789
|
+
<g>
|
|
790
|
+
<path
|
|
791
|
+
fill="${data2.colorDesc[0]}"
|
|
792
|
+
fill-opacity="1"
|
|
793
|
+
fill-rule="evenodd"
|
|
794
|
+
d="M3.0554851367645264,3.0554673745803833Q1.5322757667645264,4.5786770745803835,1.5322757367645263,6.732806374580384Q1.5322754367645264,8.886935374580382,3.0554850367645265,10.410144974580383Q4.578694836764527,11.933354474580383,6.732823636764526,11.933354474580383Q8.886952636764526,11.933354474580383,10.410161736764527,10.410144974580383Q11.933371336764527,8.886935374580382,11.933371336764527,6.732806374580384Q11.933371336764527,4.5786770745803835,10.410162736764526,3.055467474580383Q8.886953136764525,1.5322579145803834,6.732825036764527,1.5322579745803833Q4.578694336764526,1.5322576745803833,3.0554851367645264,3.0554673745803833ZM3.7154513367645263,9.750178974580383Q2.4656088367645266,8.500336274580384,2.4656088367645266,6.732806374580384Q2.4656090767645265,4.9652765745803835,3.7154514367645266,3.7154336745803835Q4.965293836764527,2.4655910745803835,6.732825036764527,2.465591344580383Q8.500354036764527,2.4655911645803834,9.750196236764527,3.7154336745803835Q11.000037936764526,4.9652765745803835,11.000037936764526,6.732806374580384Q11.000037936764526,8.500336274580384,9.750195736764526,9.750178974580383Q8.500352636764527,11.000022074580384,6.732823636764526,11.000022074580384Q4.965294336764527,11.000022074580384,3.7154513367645263,9.750178974580383Z"
|
|
795
|
+
/>
|
|
796
|
+
</g>
|
|
797
|
+
<g>
|
|
798
|
+
<path
|
|
799
|
+
fill="${data2.colorDesc[0]}"
|
|
800
|
+
fill-opacity="1"
|
|
801
|
+
fill-rule="evenodd"
|
|
802
|
+
d="M11.585663584558105,12.245612104370117L9.586686764558106,10.246671234370117L10.246647204558105,9.586698974370117L12.245624084558106,11.585639904370117L11.585663584558105,12.245612104370117Z"
|
|
803
|
+
/>
|
|
804
|
+
</g>
|
|
805
|
+
<g transform="matrix(0,1,-1,0,15.510840892791748,-2.0481019020080566)">
|
|
806
|
+
<path
|
|
807
|
+
fill="${data2.colorDesc[0]}"
|
|
808
|
+
fill-opacity="1"
|
|
809
|
+
fill-rule="evenodd"
|
|
810
|
+
d="M8.312804697399903,10.814702995391846L8.312804697399903,6.731369495391846L9.246138097399902,6.731369495391846L9.246138097399902,10.814702995391846L8.312804697399903,10.814702995391846Z"
|
|
811
|
+
/>
|
|
812
|
+
</g>
|
|
813
|
+
</g>
|
|
814
|
+
</svg>
|
|
815
|
+
`
|
|
816
|
+
);
|
|
817
|
+
const AiIconZoomRecover = IconBuilder_1(
|
|
818
|
+
"zoom-recover",
|
|
819
|
+
(data2) => `
|
|
820
|
+
<svg width="${data2.size}" height="${data2.size}" fill="none" viewBox="0 0 14 14">
|
|
821
|
+
<defs>
|
|
822
|
+
<clipPath><rect width="14" height="14" x="0" y="0" rx="0" /></clipPath>
|
|
823
|
+
</defs>
|
|
824
|
+
<g clip-path="url(#master_svg0_5_9179)">
|
|
825
|
+
<g>
|
|
826
|
+
<path
|
|
827
|
+
fill="${data2.colorDesc[0]}"
|
|
828
|
+
fill-opacity="1"
|
|
829
|
+
fill-rule="evenodd"
|
|
830
|
+
d="M13.3336581875,11.37483690625L13.3336581875,2.62483721625Q13.3336581875,2.17610564625,13.0163631875,1.85880692625Q12.6990641875,1.54150384625,12.2503261875,1.54150390625L1.7503254975,1.54150390625Q1.3015940375,1.54150390625,0.9842931075,1.85880482625Q0.6669921275,2.17610582625,0.6669921875,2.62483733625L0.6669921875,11.37483690625Q0.6669921875,11.82357600625,0.9842952075,12.14087490625Q1.3015939275,12.45816990625,1.7503254975,12.45816990625L12.2503261875,12.45816990625Q12.6990641875,12.45816990625,13.0163611875,12.14087290625Q13.3336581875,11.82357500625,13.3336581875,11.37483690625ZM12.2503261875,2.54150390625Q12.3336581875,2.54150390625,12.3336581875,2.62483721625L12.3336581875,11.37483690625Q12.3336581875,11.45816990625,12.2503261875,11.45816990625L1.7503254975,11.45816990625Q1.6669921875,11.45816990625,1.6669921875,11.37483690625L1.6669921875,2.62483715625Q1.6669921875,2.54150390625,1.7503254975,2.54150390625L12.2503261875,2.54150390625Z"
|
|
831
|
+
/>
|
|
832
|
+
</g>
|
|
833
|
+
<g>
|
|
834
|
+
<path
|
|
835
|
+
fill="${data2.colorDesc[0]}"
|
|
836
|
+
fill-opacity="1"
|
|
837
|
+
fill-rule="evenodd"
|
|
838
|
+
d="M4.16666663,6.16746515L4.16666663,8.75L4.16666436,9.2500024L5.1666688999999995,9.2500024L5.1666666,8.75L5.1666666,5.25Q5.1666665,5.2007543,5.1570592,5.152454846Q5.1474518,5.10415539,5.1286062,5.0586583Q5.1097608,5.01316121,5.0824013,4.97221494Q5.0550419,4.93126863,5.02022,4.89644665Q4.9853979,4.86162469,4.9444516,4.8342652600000005Q4.9035053,4.80690581,4.8580081,4.78806028Q4.8125112,4.76921475,4.7642117,4.7596074Q4.7159123,4.75000003,4.6666666,4.75Q4.5194091,4.75,4.39565837,4.82981607L3.22899178,5.5822871L2.80880475,5.85329461L3.35082361,6.6936662L3.77100825,6.422655L4.16666663,6.16746515Z"
|
|
839
|
+
/>
|
|
840
|
+
</g>
|
|
841
|
+
<g>
|
|
842
|
+
<path
|
|
843
|
+
fill="${data2.colorDesc[0]}"
|
|
844
|
+
fill-opacity="1"
|
|
845
|
+
fill-rule="evenodd"
|
|
846
|
+
d="M9.7086588175,6.16746515L9.7086588175,8.75L9.7086565475,9.2500024L10.7086610875,9.2500024L10.7086587875,8.75L10.7086587875,5.25Q10.7086586875,5.2007543,10.699051387499999,5.152454846Q10.6894439875,5.10415539,10.6705983875,5.0586583Q10.6517529875,5.01316121,10.6243934875,4.97221494Q10.597034087499999,4.93126863,10.5622121875,4.89644665Q10.5273900875,4.86162469,10.4864437875,4.8342652600000005Q10.445497487499999,4.80690581,10.4000002875,4.78806028Q10.3545033875,4.76921475,10.3062038875,4.7596074Q10.2579044875,4.75000003,10.2086587875,4.75Q10.0614012875,4.75,9.9376505575,4.82981607L8.7709839675,5.5822871L8.3507969375,5.85329461L8.8928157975,6.6936662L9.3130004375,6.422655L9.7086588175,6.16746515Z"
|
|
847
|
+
/>
|
|
848
|
+
</g>
|
|
849
|
+
<g>
|
|
850
|
+
<path
|
|
851
|
+
fill="${data2.colorDesc[0]}"
|
|
852
|
+
fill-opacity="1"
|
|
853
|
+
fill-rule="evenodd"
|
|
854
|
+
d="M7.5,5.83349609375L7.5,6.12516275375Q7.49999997,6.17440843375,7.4903926,6.22270783375Q7.48078522,6.27100730375,7.46193969,6.31650436375Q7.44309419,6.36200147375,7.41573477,6.40294778375Q7.38837531,6.44389408375,7.35355335,6.47871607375Q7.31873137,6.51353800375,7.27778509,6.54089743375Q7.23683879,6.56825685375,7.1913417,6.58710241375Q7.14584461,6.60594797375,7.097545154,6.61555534375Q7.0492457,6.62516272375,7,6.62516272375Q6.9507543,6.62516272375,6.902454846,6.61555528375Q6.85415539,6.60594797375,6.8086583,6.58710241375Q6.76316121,6.56825685375,6.72221494,6.54089743375Q6.68126863,6.51353800375,6.64644665,6.47871607375Q6.61162469,6.44389408375,6.5842652600000005,6.40294778375Q6.55690581,6.36200147375,6.53806028,6.31650436375Q6.51921475,6.2710072737499996,6.5096074,6.22270783375Q6.50000003,6.17440837375,6.5,6.12516272375L6.5,5.83349609375Q6.50000003,5.78425039375,6.5096074,5.73595093975Q6.51921478,5.68765148375,6.53806031,5.64215439375Q6.55690581,5.59665730375,6.58426523,5.55571103375Q6.61162469,5.51476472375,6.64644665,5.47994274375Q6.68126863,5.44512078375,6.72221491,5.4177613537500005Q6.76316121,5.39040190375,6.8086583,5.37155637375Q6.85415539,5.35271084375,6.902454846,5.34310349375Q6.9507543,5.33349612375,7,5.33349609375Q7.0492457,5.33349612375,7.097545154,5.34310349375Q7.14584461,5.35271087375,7.1913417,5.37155640375Q7.23683879,5.39040190375,7.27778506,5.41776132375Q7.31873137,5.44512078375,7.35355335,5.47994274375Q7.38837531,5.51476472375,7.4157347399999995,5.55571100375Q7.44309419,5.59665730375,7.46193972,5.64215439375Q7.48078525,5.68765148375,7.4903926,5.73595093975Q7.49999997,5.78425039375,7.5,5.83349609375Z"
|
|
855
|
+
/>
|
|
856
|
+
</g>
|
|
857
|
+
<g>
|
|
858
|
+
<path
|
|
859
|
+
fill="${data2.colorDesc[0]}"
|
|
860
|
+
fill-opacity="1"
|
|
861
|
+
fill-rule="evenodd"
|
|
862
|
+
d="M7.5,7.875L7.5,8.16666666Q7.49999997,8.21591234,7.4903926,8.26421174Q7.48078522,8.31251121,7.46193969,8.35800827Q7.44309419,8.40350538,7.41573477,8.44445169Q7.38837531,8.48539799,7.35355335,8.52021998Q7.31873137,8.55504191,7.27778509,8.58240134Q7.23683879,8.60976076,7.1913417,8.62860632Q7.14584461,8.64745188,7.097545154,8.65705925Q7.0492457,8.66666663,7,8.66666663Q6.9507543,8.66666663,6.902454846,8.65705919Q6.85415539,8.64745188,6.8086583,8.62860632Q6.76316121,8.60976076,6.72221494,8.58240134Q6.68126863,8.55504191,6.64644665,8.52021998Q6.61162469,8.48539799,6.5842652600000005,8.44445169Q6.55690581,8.40350538,6.53806028,8.35800827Q6.51921475,8.31251118,6.5096074,8.26421174Q6.50000003,8.21591228,6.5,8.16666663L6.5,7.875Q6.50000003,7.8257543,6.5096074,7.777454846Q6.51921478,7.72915539,6.53806031,7.6836583Q6.55690581,7.63816121,6.58426523,7.59721494Q6.61162469,7.55626863,6.64644665,7.52144665Q6.68126863,7.48662469,6.72221491,7.4592652600000005Q6.76316121,7.43190581,6.8086583,7.41306028Q6.85415539,7.39421475,6.902454846,7.3846074Q6.9507543,7.37500003,7,7.375Q7.0492457,7.37500003,7.097545154,7.3846074Q7.14584461,7.39421478,7.1913417,7.41306031Q7.23683879,7.43190581,7.27778506,7.45926523Q7.31873137,7.48662469,7.35355335,7.52144665Q7.38837531,7.55626863,7.4157347399999995,7.59721491Q7.44309419,7.63816121,7.46193972,7.6836583Q7.48078525,7.72915539,7.4903926,7.777454846Q7.49999997,7.8257543,7.5,7.875Z"
|
|
863
|
+
/>
|
|
864
|
+
</g>
|
|
865
|
+
</g>
|
|
866
|
+
</svg>
|
|
867
|
+
`
|
|
868
|
+
);
|
|
601
869
|
const useLineClamp = (lineCount = 3) => {
|
|
602
870
|
const isExpand = ref(false);
|
|
603
871
|
const isMultiLineClamp = ref(false);
|
|
@@ -666,6 +934,7 @@ const zhCN = {
|
|
|
666
934
|
"base.spreadOut": "展开",
|
|
667
935
|
"chat.send": "发送",
|
|
668
936
|
"chat.msg.fast": "您的发言过快,请稍后再试",
|
|
937
|
+
"ai.base.tip": "内容由AI生成,请仔细甄别",
|
|
669
938
|
"ai.summary.desc": "摘要",
|
|
670
939
|
"ai.summary.mind": "思维导图",
|
|
671
940
|
"ai.summary.sum": "分段总结",
|
|
@@ -688,6 +957,7 @@ const zhTW = {
|
|
|
688
957
|
"base.spreadOut": "展開",
|
|
689
958
|
"chat.send": "發送",
|
|
690
959
|
"chat.msg.fast": "您的發言過快,請稍後再試",
|
|
960
|
+
"ai.base.tip": "內容由AI生成,請仔細甄別",
|
|
691
961
|
"ai.summary.desc": "摘要",
|
|
692
962
|
"ai.summary.mind": "心智圖",
|
|
693
963
|
"ai.summary.sum": "分段摘要",
|
|
@@ -710,6 +980,7 @@ const en = {
|
|
|
710
980
|
"base.spreadOut": "Open",
|
|
711
981
|
"chat.send": "Send",
|
|
712
982
|
"chat.msg.fast": "Sending too frequent try again later",
|
|
983
|
+
"ai.base.tip": "Content is generated by AI. Please review carefully",
|
|
713
984
|
"ai.summary.desc": "Abstract",
|
|
714
985
|
"ai.summary.mind": "Mind map",
|
|
715
986
|
"ai.summary.sum": "Segmented summary",
|
|
@@ -732,6 +1003,7 @@ const ja = {
|
|
|
732
1003
|
"base.spreadOut": "展開する",
|
|
733
1004
|
"chat.send": "送信",
|
|
734
1005
|
"chat.msg.fast": "発言が速すぎます。しばらくしてから再度お試しください",
|
|
1006
|
+
"ai.base.tip": "コンテンツはAIによって生成されました。ご注意ください",
|
|
735
1007
|
"ai.summary.desc": "要約",
|
|
736
1008
|
"ai.summary.mind": "マインドマップ",
|
|
737
1009
|
"ai.summary.sum": "セクションごとの要約",
|
|
@@ -754,6 +1026,7 @@ const ko = {
|
|
|
754
1026
|
"base.spreadOut": "펼치기",
|
|
755
1027
|
"chat.send": "전송",
|
|
756
1028
|
"chat.msg.fast": "발언이 너무 빠릅니다. 잠시 후 다시 시도해 주세요",
|
|
1029
|
+
"ai.base.tip": "내용은 AI에 의해 생성되었습니다. 신중히 판단해 주십시오",
|
|
757
1030
|
"ai.summary.desc": "요약",
|
|
758
1031
|
"ai.summary.mind": "마인드맵",
|
|
759
1032
|
"ai.summary.sum": "단락 요약",
|
|
@@ -776,6 +1049,7 @@ const ru = {
|
|
|
776
1049
|
"base.spreadOut": "Развернуть",
|
|
777
1050
|
"chat.send": "Отправить",
|
|
778
1051
|
"chat.msg.fast": "Вы отправляете сообщения слишком часто, пожалуйста, подождите",
|
|
1052
|
+
"ai.base.tip": "Контент сгенерирован AI, пожалуйста, тщательно оцените",
|
|
779
1053
|
"ai.summary.desc": "Резюме",
|
|
780
1054
|
"ai.summary.mind": "Карта мыслей",
|
|
781
1055
|
"ai.summary.sum": "Сводка по разделам",
|
|
@@ -5134,13 +5408,13 @@ function normalizeComponent(scriptExports, render16, staticRenderFns, functional
|
|
|
5134
5408
|
}
|
|
5135
5409
|
var _sfc_render$e = function render() {
|
|
5136
5410
|
var _vm = this, _c = _vm._self._c, _setup = _vm._self._setupProxy;
|
|
5137
|
-
return _c("div", { staticClass: "plv-ai-playback-outline", class: { "plv-ai-playback-outline--color": _vm.showColor } }, [_c("div", { staticClass: "plv-ai-playback-outline__content" }, [_vm.outlineData && _setup.outlineStatus === "finish" ? [_c("div", { staticClass: "plv-ai-playback-outline__title pws-primary-text-color" }, [_vm._v(" " + _vm._s(_setup.$t("ai.summary.desc")) + " "), _c("span", { staticClass: "plv-ai-playback-outline__min-map", on: { "click": _setup.openMinMap } }, [_vm._v(" " + _vm._s(_setup.$t("ai.summary.mind")) + " "), _c(_setup.AiIconArrowRight)], 1)]), _c("div", { staticClass: "plv-ai-playback-outline__abstract pws-dark-white-bg-10 pws-light-basic-bg-60 pws-dark-white-color-80 pws-light-black-color-80" }, [_vm.outlineData.introduction ? _c("div", { ref: "contentRef", style: _setup.contentStyle }, [_vm._v(" " + _vm._s(_vm.outlineData.introduction) + " ")]) : _vm._e(), _setup.isMultiLineClamp ? _c("div", { staticClass: "plv-ai-playback-outline__abstract-footer pws-special-text-color", on: { "click": _setup.toggleExpand } }, [_vm._v(" " + _vm._s(_setup.isExpand ? _setup.$t("base.packUp") : _setup.$t("base.spreadOut")) + " ")]) : _vm._e()]), _c("div", { staticClass: "plv-ai-playback-outline__title pws-primary-text-color" }, [_vm._v(" " + _vm._s(_setup.$t("ai.summary.sum")) + " ")]), _c("div", { staticClass: "plv-ai-playback-outline__summary pws-dark-white-bg-10 pws-light-basic-bg-60 pws-dark-white-color-80 pws-light-black-color-80" }, _vm._l(_vm.outlineData.outlineContent, function(item, index) {
|
|
5411
|
+
return _c("div", { staticClass: "plv-ai-playback-outline", class: { "plv-ai-playback-outline--color": _vm.showColor } }, [_c("div", { staticClass: "plv-ai-playback-outline__content" }, [_vm.outlineData && _setup.outlineStatus === "finish" ? [_c("section", { staticClass: "plv-ai-playback-outline__content__body" }, [_c("div", { staticClass: "plv-ai-playback-outline__title pws-primary-text-color" }, [_vm._v(" " + _vm._s(_setup.$t("ai.summary.desc")) + " "), _c("span", { staticClass: "plv-ai-playback-outline__min-map", on: { "click": _setup.openMinMap } }, [_vm._v(" " + _vm._s(_setup.$t("ai.summary.mind")) + " "), _c(_setup.AiIconArrowRight)], 1)]), _c("div", { staticClass: "plv-ai-playback-outline__abstract pws-dark-white-bg-10 pws-light-basic-bg-60 pws-dark-white-color-80 pws-light-black-color-80" }, [_vm.outlineData.introduction ? _c("div", { ref: "contentRef", style: _setup.contentStyle }, [_vm._v(" " + _vm._s(_vm.outlineData.introduction) + " ")]) : _vm._e(), _setup.isMultiLineClamp ? _c("div", { staticClass: "plv-ai-playback-outline__abstract-footer pws-special-text-color", on: { "click": _setup.toggleExpand } }, [_vm._v(" " + _vm._s(_setup.isExpand ? _setup.$t("base.packUp") : _setup.$t("base.spreadOut")) + " ")]) : _vm._e()]), _c("div", { staticClass: "plv-ai-playback-outline__title pws-primary-text-color" }, [_vm._v(" " + _vm._s(_setup.$t("ai.summary.sum")) + " ")]), _c("div", { staticClass: "plv-ai-playback-outline__summary pws-dark-white-bg-10 pws-light-basic-bg-60 pws-dark-white-color-80 pws-light-black-color-80" }, _vm._l(_vm.outlineData.outlineContent, function(item, index) {
|
|
5138
5412
|
return _c("div", { key: index, staticClass: "plv-ai-playback-outline__summary-item pws-basic-border-color" }, [_c("div", { staticClass: "plv-ai-playback-outline__summary-item-title" }, [_c("span", { staticClass: "plv-ai-playback-outline__summary-item-title-text" }, [_vm._v(_vm._s(item.title))]), _c("span", { staticClass: "plv-ai-playback-outline__summary-item-time pws-special-text-color", on: { "click": function($event) {
|
|
5139
5413
|
return _setup.onClickTime(item.startTime);
|
|
5140
5414
|
} } }, [!_setup.isMobile() ? _c(_setup.PlvPopper, { attrs: { "theme": "dark", "trigger": "hover", "placement": "bottom" } }, [_c("div", [_vm._v(" " + _vm._s(_setup.$t("ai.summary.redirect.tip", { content: _setup.formatTime(item.startTime) })) + " ")]), _c("div", { attrs: { "slot": "reference" }, slot: "reference" }, [_vm._v(_vm._s(_setup.formatTime(item.startTime)))])]) : _c("div", [_vm._v(_vm._s(_setup.formatTime(item.startTime)))])], 1)]), _vm._l(item.summary, function(child, childIndex) {
|
|
5141
5415
|
return _c("div", { key: `${index}-${childIndex}`, staticClass: "plv-ai-playback-outline__summary-item__children" }, [_vm._v(" " + _vm._s(childIndex + 1) + ". " + _vm._s(child) + " ")]);
|
|
5142
5416
|
})], 2);
|
|
5143
|
-
}), 0)] : _vm._e(), _setup.outlineStatus !== "finish" ? _c("div", { staticClass: "plv-ai-playback-outline__empty" }, [_setup.outlineStatus === "init" ? _c("img", { staticClass: "plv-ai-playback-outline__empty__icon", attrs: { "src": __$_require_3eb91578__ } }) : _vm._e(), _vm._v(" " + _vm._s(_setup.outlineStatus === "init" ? _setup.$t("ai.summary.init") : _setup.$t("ai.summary.empty")) + " ")]) : _vm._e()], 2)]);
|
|
5417
|
+
}), 0)]), _c("div", { staticClass: "plv-ai-playback-outline__content__footer pws-dark-white-color-60 pws-light-black-color-60" }, [_vm._v(" " + _vm._s(_setup.$t("ai.base.tip")) + " ")])] : _vm._e(), _setup.outlineStatus !== "finish" ? _c("div", { staticClass: "plv-ai-playback-outline__empty pws-dark-white-color-80 pws-light-black-color-80" }, [_setup.outlineStatus === "init" ? _c("img", { staticClass: "plv-ai-playback-outline__empty__icon", attrs: { "src": __$_require_3eb91578__ } }) : _vm._e(), _vm._v(" " + _vm._s(_setup.outlineStatus === "init" ? _setup.$t("ai.summary.init") : _setup.$t("ai.summary.empty")) + " ")]) : _vm._e()], 2)]);
|
|
5144
5418
|
};
|
|
5145
5419
|
var _sfc_staticRenderFns$e = [];
|
|
5146
5420
|
var __component__$e = /* @__PURE__ */ normalizeComponent(
|
|
@@ -5149,10 +5423,145 @@ var __component__$e = /* @__PURE__ */ normalizeComponent(
|
|
|
5149
5423
|
_sfc_staticRenderFns$e
|
|
5150
5424
|
);
|
|
5151
5425
|
const playbackOutline = __component__$e.exports;
|
|
5426
|
+
const useAppendTo = (elemRef, parentRef) => {
|
|
5427
|
+
function getBodyElement() {
|
|
5428
|
+
return document.body;
|
|
5429
|
+
}
|
|
5430
|
+
const appendToParent = computed(() => {
|
|
5431
|
+
let _parentRef2 = getBodyElement();
|
|
5432
|
+
if (unref(parentRef)) {
|
|
5433
|
+
_parentRef2 = unref(parentRef);
|
|
5434
|
+
}
|
|
5435
|
+
return _parentRef2;
|
|
5436
|
+
});
|
|
5437
|
+
function setAppend() {
|
|
5438
|
+
const elem = unref(elemRef);
|
|
5439
|
+
const parentElem = unref(appendToParent);
|
|
5440
|
+
if (!elem || !parentElem) {
|
|
5441
|
+
return;
|
|
5442
|
+
}
|
|
5443
|
+
parentElem.appendChild(elem);
|
|
5444
|
+
}
|
|
5445
|
+
watch(
|
|
5446
|
+
() => [unref(elemRef), unref(appendToParent)],
|
|
5447
|
+
() => {
|
|
5448
|
+
setAppend();
|
|
5449
|
+
},
|
|
5450
|
+
{
|
|
5451
|
+
immediate: true
|
|
5452
|
+
}
|
|
5453
|
+
);
|
|
5454
|
+
onBeforeUnmount(() => {
|
|
5455
|
+
const elem = unref(elemRef);
|
|
5456
|
+
if (elem && elem.parentNode) {
|
|
5457
|
+
elem.parentNode.removeChild(elem);
|
|
5458
|
+
}
|
|
5459
|
+
});
|
|
5460
|
+
};
|
|
5461
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
5462
|
+
__name: "map-control",
|
|
5463
|
+
props: {
|
|
5464
|
+
defaultScaleRate: PropUtils.number.def(1),
|
|
5465
|
+
currentScaleRate: PropUtils.number.def(1)
|
|
5466
|
+
},
|
|
5467
|
+
emits: {
|
|
5468
|
+
"update-mind-map-scale": emitFunc()
|
|
5469
|
+
},
|
|
5470
|
+
setup(__props, { emit }) {
|
|
5471
|
+
const props = __props;
|
|
5472
|
+
const isDragging = ref(false);
|
|
5473
|
+
const containerWidth = ref(0);
|
|
5474
|
+
const mindScale = ref(props.defaultScaleRate);
|
|
5475
|
+
const containerRect = ref();
|
|
5476
|
+
const trackRef = ref();
|
|
5477
|
+
watch(
|
|
5478
|
+
() => props.currentScaleRate,
|
|
5479
|
+
() => {
|
|
5480
|
+
mindScale.value = props.currentScaleRate;
|
|
5481
|
+
},
|
|
5482
|
+
{
|
|
5483
|
+
immediate: true
|
|
5484
|
+
}
|
|
5485
|
+
);
|
|
5486
|
+
const thumbPosition = computed(() => ({
|
|
5487
|
+
left: `${(mindScale.value - 0.1) / 1.9 * 100}%`
|
|
5488
|
+
}));
|
|
5489
|
+
const updateDimensions = () => {
|
|
5490
|
+
var _a;
|
|
5491
|
+
containerWidth.value = (_a = trackRef.value) == null ? void 0 : _a.offsetWidth;
|
|
5492
|
+
containerRect.value = trackRef.value.getBoundingClientRect();
|
|
5493
|
+
};
|
|
5494
|
+
const updateScale = (newScale) => {
|
|
5495
|
+
if (!containerRect.value) return;
|
|
5496
|
+
mindScale.value = Number(newScale);
|
|
5497
|
+
emit("update-mind-map-scale", mindScale.value);
|
|
5498
|
+
};
|
|
5499
|
+
const updateMindMapScale = (e) => {
|
|
5500
|
+
if (!containerRect.value) return;
|
|
5501
|
+
const rawScale = (e.clientX - containerRect.value.left) / containerRect.value.width;
|
|
5502
|
+
const newScale = Number(Math.min(2, Math.max(0.1, 0.1 + rawScale * 1.9)));
|
|
5503
|
+
if (mindScale.value !== newScale) {
|
|
5504
|
+
updateScale(newScale);
|
|
5505
|
+
}
|
|
5506
|
+
};
|
|
5507
|
+
const decrementScale = () => {
|
|
5508
|
+
if (mindScale.value <= 0.1) {
|
|
5509
|
+
return;
|
|
5510
|
+
}
|
|
5511
|
+
const newScale = Math.max(0.1, mindScale.value - 0.1);
|
|
5512
|
+
updateScale(newScale);
|
|
5513
|
+
};
|
|
5514
|
+
const incrementScale = () => {
|
|
5515
|
+
if (mindScale.value >= 2) {
|
|
5516
|
+
return;
|
|
5517
|
+
}
|
|
5518
|
+
const newScale = Math.min(2, mindScale.value + 0.1);
|
|
5519
|
+
updateScale(newScale);
|
|
5520
|
+
};
|
|
5521
|
+
const recoverScale = () => {
|
|
5522
|
+
mindScale.value = props.defaultScaleRate;
|
|
5523
|
+
updateScale(props.defaultScaleRate);
|
|
5524
|
+
};
|
|
5525
|
+
const handleScaleChange = (e) => {
|
|
5526
|
+
updateDimensions();
|
|
5527
|
+
updateMindMapScale(e);
|
|
5528
|
+
};
|
|
5529
|
+
const startDrag = (e) => {
|
|
5530
|
+
isDragging.value = true;
|
|
5531
|
+
updateMindMapScale(e);
|
|
5532
|
+
};
|
|
5533
|
+
const handleDrag = (e) => {
|
|
5534
|
+
if (isDragging.value) {
|
|
5535
|
+
updateMindMapScale(e);
|
|
5536
|
+
}
|
|
5537
|
+
};
|
|
5538
|
+
const endDrag = () => {
|
|
5539
|
+
isDragging.value = false;
|
|
5540
|
+
};
|
|
5541
|
+
onMounted(() => {
|
|
5542
|
+
updateDimensions();
|
|
5543
|
+
window.addEventListener("resize", updateDimensions);
|
|
5544
|
+
});
|
|
5545
|
+
onBeforeUnmount(() => {
|
|
5546
|
+
window.removeEventListener("resize", updateDimensions);
|
|
5547
|
+
});
|
|
5548
|
+
return { __sfc: true, props, emit, isDragging, containerWidth, mindScale, containerRect, trackRef, thumbPosition, updateDimensions, updateScale, updateMindMapScale, decrementScale, incrementScale, recoverScale, handleScaleChange, startDrag, handleDrag, endDrag, AiIconZoomIn, AiIconZoomOut, AiIconZoomRecover };
|
|
5549
|
+
}
|
|
5550
|
+
});
|
|
5551
|
+
var _sfc_render$d = function render2() {
|
|
5552
|
+
var _vm = this, _c = _vm._self._c, _setup = _vm._self._setupProxy;
|
|
5553
|
+
return _c("div", { staticClass: "plv-ai-outline-mind-map__control" }, [_c("div", { staticClass: "plv-ai-outline-mind-map__control__left" }, [_c(_setup.AiIconZoomOut, { staticClass: "plv-ai-outline-mind-map__control__icon", on: { "click": _setup.decrementScale } }), _c("div", { ref: "trackRef", staticClass: "plv-ai-outline-mind-map__control__track", on: { "click": _setup.handleScaleChange, "mousedown": _setup.startDrag, "mousemove": _setup.handleDrag, "mouseup": _setup.endDrag, "mouseleave": _setup.endDrag } }, [_c("div", { staticClass: "plv-ai-outline-mind-map__control__track-line" }), _c("div", { staticClass: "plv-ai-outline-mind-map__control__slider-thumb", class: { dragging: _setup.isDragging }, style: _setup.thumbPosition })]), _c(_setup.AiIconZoomIn, { staticClass: "plv-ai-outline-mind-map__control__icon", on: { "click": _setup.incrementScale } })], 1), _c("div", { staticClass: "plv-ai-outline-mind-map__control__right" }, [_c(_setup.AiIconZoomRecover, { staticClass: "plv-ai-outline-mind-map__control__icon", on: { "click": _setup.recoverScale } })], 1)]);
|
|
5554
|
+
};
|
|
5555
|
+
var _sfc_staticRenderFns$d = [];
|
|
5556
|
+
var __component__$d = /* @__PURE__ */ normalizeComponent(
|
|
5557
|
+
_sfc_main$d,
|
|
5558
|
+
_sfc_render$d,
|
|
5559
|
+
_sfc_staticRenderFns$d
|
|
5560
|
+
);
|
|
5561
|
+
const MapControl = __component__$d.exports;
|
|
5152
5562
|
const CONSTANTS = {
|
|
5153
5563
|
CHANGE_THEME: "changeTheme",
|
|
5154
5564
|
CHANGE_LAYOUT: "changeLayout",
|
|
5155
|
-
SET_DATA: "setData",
|
|
5156
5565
|
MODE: {
|
|
5157
5566
|
READONLY: "readonly",
|
|
5158
5567
|
EDIT: "edit"
|
|
@@ -5166,7 +5575,12 @@ const CONSTANTS = {
|
|
|
5166
5575
|
TIMELINE: "timeline",
|
|
5167
5576
|
TIMELINE2: "timeline2",
|
|
5168
5577
|
FISHBONE: "fishbone",
|
|
5169
|
-
|
|
5578
|
+
FISHBONE2: "fishbone2",
|
|
5579
|
+
RIGHT_FISHBONE: "rightFishbone",
|
|
5580
|
+
RIGHT_FISHBONE2: "rightFishbone2",
|
|
5581
|
+
VERTICAL_TIMELINE: "verticalTimeline",
|
|
5582
|
+
VERTICAL_TIMELINE2: "verticalTimeline2",
|
|
5583
|
+
VERTICAL_TIMELINE3: "verticalTimeline3"
|
|
5170
5584
|
},
|
|
5171
5585
|
DIR: {
|
|
5172
5586
|
UP: "up",
|
|
@@ -5221,14 +5635,15 @@ const CONSTANTS = {
|
|
|
5221
5635
|
NOT_ACTIVE: "notActive",
|
|
5222
5636
|
ACTIVE_ONLY: "activeOnly"
|
|
5223
5637
|
},
|
|
5224
|
-
|
|
5638
|
+
TAG_PLACEMENT: {
|
|
5225
5639
|
RIGHT: "right",
|
|
5226
5640
|
BOTTOM: "bottom"
|
|
5227
5641
|
},
|
|
5228
|
-
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5642
|
+
IMG_PLACEMENT: {
|
|
5643
|
+
LEFT: "left",
|
|
5644
|
+
TOP: "top",
|
|
5645
|
+
RIGHT: "right",
|
|
5646
|
+
BOTTOM: "bottom"
|
|
5232
5647
|
}
|
|
5233
5648
|
};
|
|
5234
5649
|
const initRootNodePositionMap = {
|
|
@@ -5238,6 +5653,64 @@ const initRootNodePositionMap = {
|
|
|
5238
5653
|
[CONSTANTS.INIT_ROOT_NODE_POSITION.BOTTOM]: 1,
|
|
5239
5654
|
[CONSTANTS.INIT_ROOT_NODE_POSITION.CENTER]: 0.5
|
|
5240
5655
|
};
|
|
5656
|
+
[
|
|
5657
|
+
{
|
|
5658
|
+
name: "逻辑结构图",
|
|
5659
|
+
value: CONSTANTS.LAYOUT.LOGICAL_STRUCTURE
|
|
5660
|
+
},
|
|
5661
|
+
{
|
|
5662
|
+
name: "向左逻辑结构图",
|
|
5663
|
+
value: CONSTANTS.LAYOUT.LOGICAL_STRUCTURE_LEFT
|
|
5664
|
+
},
|
|
5665
|
+
{
|
|
5666
|
+
name: "思维导图",
|
|
5667
|
+
value: CONSTANTS.LAYOUT.MIND_MAP
|
|
5668
|
+
},
|
|
5669
|
+
{
|
|
5670
|
+
name: "组织结构图",
|
|
5671
|
+
value: CONSTANTS.LAYOUT.ORGANIZATION_STRUCTURE
|
|
5672
|
+
},
|
|
5673
|
+
{
|
|
5674
|
+
name: "目录组织图",
|
|
5675
|
+
value: CONSTANTS.LAYOUT.CATALOG_ORGANIZATION
|
|
5676
|
+
},
|
|
5677
|
+
{
|
|
5678
|
+
name: "时间轴",
|
|
5679
|
+
value: CONSTANTS.LAYOUT.TIMELINE
|
|
5680
|
+
},
|
|
5681
|
+
{
|
|
5682
|
+
name: "时间轴2",
|
|
5683
|
+
value: CONSTANTS.LAYOUT.TIMELINE2
|
|
5684
|
+
},
|
|
5685
|
+
{
|
|
5686
|
+
name: "竖向时间轴",
|
|
5687
|
+
value: CONSTANTS.LAYOUT.VERTICAL_TIMELINE
|
|
5688
|
+
},
|
|
5689
|
+
{
|
|
5690
|
+
name: "竖向时间轴2",
|
|
5691
|
+
value: CONSTANTS.LAYOUT.VERTICAL_TIMELINE2
|
|
5692
|
+
},
|
|
5693
|
+
{
|
|
5694
|
+
name: "竖向时间轴3",
|
|
5695
|
+
value: CONSTANTS.LAYOUT.VERTICAL_TIMELINE3
|
|
5696
|
+
},
|
|
5697
|
+
{
|
|
5698
|
+
name: "鱼骨图",
|
|
5699
|
+
value: CONSTANTS.LAYOUT.FISHBONE
|
|
5700
|
+
},
|
|
5701
|
+
{
|
|
5702
|
+
name: "鱼骨图2",
|
|
5703
|
+
value: CONSTANTS.LAYOUT.FISHBONE2
|
|
5704
|
+
},
|
|
5705
|
+
{
|
|
5706
|
+
name: "向右鱼骨图",
|
|
5707
|
+
value: CONSTANTS.LAYOUT.RIGHT_FISHBONE
|
|
5708
|
+
},
|
|
5709
|
+
{
|
|
5710
|
+
name: "向右鱼骨图2",
|
|
5711
|
+
value: CONSTANTS.LAYOUT.RIGHT_FISHBONE2
|
|
5712
|
+
}
|
|
5713
|
+
];
|
|
5241
5714
|
const layoutValueList = [
|
|
5242
5715
|
CONSTANTS.LAYOUT.LOGICAL_STRUCTURE,
|
|
5243
5716
|
CONSTANTS.LAYOUT.LOGICAL_STRUCTURE_LEFT,
|
|
@@ -5247,7 +5720,12 @@ const layoutValueList = [
|
|
|
5247
5720
|
CONSTANTS.LAYOUT.TIMELINE,
|
|
5248
5721
|
CONSTANTS.LAYOUT.TIMELINE2,
|
|
5249
5722
|
CONSTANTS.LAYOUT.VERTICAL_TIMELINE,
|
|
5250
|
-
CONSTANTS.LAYOUT.
|
|
5723
|
+
CONSTANTS.LAYOUT.VERTICAL_TIMELINE2,
|
|
5724
|
+
CONSTANTS.LAYOUT.VERTICAL_TIMELINE3,
|
|
5725
|
+
CONSTANTS.LAYOUT.FISHBONE,
|
|
5726
|
+
CONSTANTS.LAYOUT.FISHBONE2,
|
|
5727
|
+
CONSTANTS.LAYOUT.RIGHT_FISHBONE,
|
|
5728
|
+
CONSTANTS.LAYOUT.RIGHT_FISHBONE2
|
|
5251
5729
|
];
|
|
5252
5730
|
const nodeDataNoStylePropList = [
|
|
5253
5731
|
"text",
|
|
@@ -5282,8 +5760,10 @@ const nodeDataNoStylePropList = [
|
|
|
5282
5760
|
"customTextWidth",
|
|
5283
5761
|
"checkbox",
|
|
5284
5762
|
"dir",
|
|
5285
|
-
"needUpdate"
|
|
5763
|
+
"needUpdate",
|
|
5286
5764
|
// 重新创建节点内容
|
|
5765
|
+
"imgMap",
|
|
5766
|
+
"nodeLink"
|
|
5287
5767
|
];
|
|
5288
5768
|
const ERROR_TYPES = {
|
|
5289
5769
|
READ_CLIPBOARD_ERROR: "read_clipboard_error",
|
|
@@ -5324,7 +5804,8 @@ const richTextSupportStyleList = [
|
|
|
5324
5804
|
"fontWeight",
|
|
5325
5805
|
"fontStyle",
|
|
5326
5806
|
"textDecoration",
|
|
5327
|
-
"color"
|
|
5807
|
+
"color",
|
|
5808
|
+
"textAlign"
|
|
5328
5809
|
];
|
|
5329
5810
|
class View {
|
|
5330
5811
|
// 构造函数
|
|
@@ -5404,10 +5885,10 @@ class View {
|
|
|
5404
5885
|
});
|
|
5405
5886
|
}
|
|
5406
5887
|
switch (true) {
|
|
5407
|
-
case dirs.includes(CONSTANTS.DIR.UP):
|
|
5888
|
+
case dirs.includes(CONSTANTS.DIR.UP || CONSTANTS.DIR.LEFT):
|
|
5408
5889
|
mousewheelZoomActionReverse ? this.enlarge(cx2, cy2, isTouchPad) : this.narrow(cx2, cy2, isTouchPad);
|
|
5409
5890
|
break;
|
|
5410
|
-
case dirs.includes(CONSTANTS.DIR.DOWN):
|
|
5891
|
+
case dirs.includes(CONSTANTS.DIR.DOWN || CONSTANTS.DIR.RIGHT):
|
|
5411
5892
|
mousewheelZoomActionReverse ? this.narrow(cx2, cy2, isTouchPad) : this.enlarge(cx2, cy2, isTouchPad);
|
|
5412
5893
|
break;
|
|
5413
5894
|
}
|
|
@@ -11691,7 +12172,7 @@ const defaultTheme = {
|
|
|
11691
12172
|
// 关联线激活状态的颜色
|
|
11692
12173
|
associativeLineActiveColor: "rgba(2, 167, 240, 1)",
|
|
11693
12174
|
// 关联线样式
|
|
11694
|
-
associativeLineDasharray:
|
|
12175
|
+
associativeLineDasharray: "6,4",
|
|
11695
12176
|
// 关联线文字颜色
|
|
11696
12177
|
associativeLineTextColor: "rgb(51, 51, 51)",
|
|
11697
12178
|
// 关联线文字大小
|
|
@@ -11736,7 +12217,16 @@ const defaultTheme = {
|
|
|
11736
12217
|
// 节点鼠标hover和激活时显示的矩形边框的颜色,主题里不设置,默认会取hoverRectColor实例化选项的值
|
|
11737
12218
|
hoverRectColor: "",
|
|
11738
12219
|
// 点鼠标hover和激活时显示的矩形边框的圆角大小
|
|
11739
|
-
hoverRectRadius: 5
|
|
12220
|
+
hoverRectRadius: 5,
|
|
12221
|
+
// 文本对齐
|
|
12222
|
+
textAlign: "left",
|
|
12223
|
+
// right、center、justify、left
|
|
12224
|
+
// 图片放置位置,相对于整个文本内容
|
|
12225
|
+
imgPlacement: "top",
|
|
12226
|
+
// left、right、bottom、top
|
|
12227
|
+
// 标签放置位置
|
|
12228
|
+
tagPlacement: "right"
|
|
12229
|
+
// right(文字右侧)、bottom(文本内容下方)
|
|
11740
12230
|
// 下列样式也支持给节点设置,用于覆盖最外层的设置
|
|
11741
12231
|
// paddingX,
|
|
11742
12232
|
// paddingY,
|
|
@@ -11771,7 +12261,10 @@ const defaultTheme = {
|
|
|
11771
12261
|
endDir: [1, 0],
|
|
11772
12262
|
lineMarkerDir: "end",
|
|
11773
12263
|
hoverRectColor: "",
|
|
11774
|
-
hoverRectRadius: 5
|
|
12264
|
+
hoverRectRadius: 5,
|
|
12265
|
+
textAlign: "left",
|
|
12266
|
+
imgPlacement: "top",
|
|
12267
|
+
tagPlacement: "right"
|
|
11775
12268
|
},
|
|
11776
12269
|
// 三级及以下节点样式
|
|
11777
12270
|
node: {
|
|
@@ -11796,7 +12289,10 @@ const defaultTheme = {
|
|
|
11796
12289
|
endDir: [1, 0],
|
|
11797
12290
|
lineMarkerDir: "end",
|
|
11798
12291
|
hoverRectColor: "",
|
|
11799
|
-
hoverRectRadius: 5
|
|
12292
|
+
hoverRectRadius: 5,
|
|
12293
|
+
textAlign: "left",
|
|
12294
|
+
imgPlacement: "top",
|
|
12295
|
+
tagPlacement: "right"
|
|
11800
12296
|
},
|
|
11801
12297
|
// 概要节点样式
|
|
11802
12298
|
generalization: {
|
|
@@ -11820,7 +12316,10 @@ const defaultTheme = {
|
|
|
11820
12316
|
startDir: [0, 0],
|
|
11821
12317
|
endDir: [1, 0],
|
|
11822
12318
|
hoverRectColor: "",
|
|
11823
|
-
hoverRectRadius: 5
|
|
12319
|
+
hoverRectRadius: 5,
|
|
12320
|
+
textAlign: "left",
|
|
12321
|
+
imgPlacement: "top",
|
|
12322
|
+
tagPlacement: "right"
|
|
11824
12323
|
}
|
|
11825
12324
|
};
|
|
11826
12325
|
const nodeSizeIndependenceList = [
|
|
@@ -11851,7 +12350,8 @@ const nodeSizeIndependenceList = [
|
|
|
11851
12350
|
"hoverRectRadius",
|
|
11852
12351
|
"lineFlow",
|
|
11853
12352
|
"lineFlowDuration",
|
|
11854
|
-
"lineFlowForward"
|
|
12353
|
+
"lineFlowForward",
|
|
12354
|
+
"textAlign"
|
|
11855
12355
|
];
|
|
11856
12356
|
const checkIsNodeSizeIndependenceConfig = (config2) => {
|
|
11857
12357
|
let keys = Object.keys(config2);
|
|
@@ -12026,12 +12526,10 @@ const debounce$1 = (fn, wait = 300, ctx) => {
|
|
|
12026
12526
|
let timeout = null;
|
|
12027
12527
|
return (...args) => {
|
|
12028
12528
|
if (timeout) clearTimeout(timeout);
|
|
12029
|
-
const callNow = !timeout;
|
|
12030
12529
|
timeout = setTimeout(() => {
|
|
12031
12530
|
timeout = null;
|
|
12032
12531
|
fn.apply(ctx, args);
|
|
12033
12532
|
}, wait);
|
|
12034
|
-
if (callNow) fn.apply(ctx, args);
|
|
12035
12533
|
};
|
|
12036
12534
|
};
|
|
12037
12535
|
const asyncRun = (taskList, callback = () => {
|
|
@@ -12090,7 +12588,7 @@ const nextTick = function(fn, ctx) {
|
|
|
12090
12588
|
timerFunc(handle, 0);
|
|
12091
12589
|
};
|
|
12092
12590
|
};
|
|
12093
|
-
const checkNodeOuter = (mindMap, node) => {
|
|
12591
|
+
const checkNodeOuter = (mindMap, node, offsetX = 0, offsetY = 0) => {
|
|
12094
12592
|
let elRect = mindMap.elRect;
|
|
12095
12593
|
let { scaleX, scaleY, translateX, translateY } = mindMap.draw.transform();
|
|
12096
12594
|
let { left, top, width: width2, height: height2 } = node;
|
|
@@ -12100,17 +12598,17 @@ const checkNodeOuter = (mindMap, node) => {
|
|
|
12100
12598
|
top = top * scaleY + translateY;
|
|
12101
12599
|
let offsetLeft = 0;
|
|
12102
12600
|
let offsetTop = 0;
|
|
12103
|
-
if (left < 0) {
|
|
12104
|
-
offsetLeft = -left;
|
|
12601
|
+
if (left < 0 + offsetX) {
|
|
12602
|
+
offsetLeft = -left + offsetX;
|
|
12105
12603
|
}
|
|
12106
|
-
if (right > elRect.width) {
|
|
12107
|
-
offsetLeft = -(right - elRect.width);
|
|
12604
|
+
if (right > elRect.width - offsetX) {
|
|
12605
|
+
offsetLeft = -(right - elRect.width) - offsetX;
|
|
12108
12606
|
}
|
|
12109
|
-
if (top < 0) {
|
|
12110
|
-
offsetTop = -top;
|
|
12607
|
+
if (top < 0 + offsetY) {
|
|
12608
|
+
offsetTop = -top + offsetY;
|
|
12111
12609
|
}
|
|
12112
|
-
if (bottom > elRect.height) {
|
|
12113
|
-
offsetTop = -(bottom - elRect.height);
|
|
12610
|
+
if (bottom > elRect.height - offsetY) {
|
|
12611
|
+
offsetTop = -(bottom - elRect.height) - offsetY;
|
|
12114
12612
|
}
|
|
12115
12613
|
return {
|
|
12116
12614
|
isOuter: offsetLeft !== 0 || offsetTop !== 0,
|
|
@@ -12182,13 +12680,13 @@ const checkIsRichText = (str) => {
|
|
|
12182
12680
|
return false;
|
|
12183
12681
|
};
|
|
12184
12682
|
const isWhite = (color) => {
|
|
12185
|
-
color = String(color).
|
|
12683
|
+
color = String(color).replace(/\s+/g, "");
|
|
12186
12684
|
return ["#fff", "#ffffff", "#FFF", "#FFFFFF", "rgb(255,255,255)"].includes(
|
|
12187
12685
|
color
|
|
12188
12686
|
) || /rgba\(255,255,255,[^)]+\)/.test(color);
|
|
12189
12687
|
};
|
|
12190
12688
|
const isTransparent = (color) => {
|
|
12191
|
-
color = String(color).
|
|
12689
|
+
color = String(color).replace(/\s+/g, "");
|
|
12192
12690
|
return ["", "transparent"].includes(color) || /rgba\(\d+,\d+,\d+,0\)/.test(color);
|
|
12193
12691
|
};
|
|
12194
12692
|
const getVisibleColorFromTheme = (themeConfig) => {
|
|
@@ -12392,7 +12890,7 @@ const addDataToAppointNodes = (appointNodes, data2 = {}) => {
|
|
|
12392
12890
|
walk2(appointNodes);
|
|
12393
12891
|
return appointNodes;
|
|
12394
12892
|
};
|
|
12395
|
-
const createUidForAppointNodes = (appointNodes, createNewId = false, handle = null) => {
|
|
12893
|
+
const createUidForAppointNodes = (appointNodes, createNewId = false, handle = null, handleGeneralization = false) => {
|
|
12396
12894
|
const walk2 = (list) => {
|
|
12397
12895
|
list.forEach((node) => {
|
|
12398
12896
|
if (!node.data) {
|
|
@@ -12401,6 +12899,14 @@ const createUidForAppointNodes = (appointNodes, createNewId = false, handle = nu
|
|
|
12401
12899
|
if (createNewId || isUndef(node.data.uid)) {
|
|
12402
12900
|
node.data.uid = createUid();
|
|
12403
12901
|
}
|
|
12902
|
+
if (handleGeneralization) {
|
|
12903
|
+
const generalizationList = formatGetNodeGeneralization(node.data);
|
|
12904
|
+
generalizationList.forEach((gNode) => {
|
|
12905
|
+
if (createNewId || isUndef(gNode.uid)) {
|
|
12906
|
+
gNode.uid = createUid();
|
|
12907
|
+
}
|
|
12908
|
+
});
|
|
12909
|
+
}
|
|
12404
12910
|
handle && handle(node);
|
|
12405
12911
|
if (node.children && node.children.length > 0) {
|
|
12406
12912
|
walk2(node.children);
|
|
@@ -12592,6 +13098,9 @@ const transformTreeDataToObject = (data2) => {
|
|
|
12592
13098
|
walk2(data2, null);
|
|
12593
13099
|
return res;
|
|
12594
13100
|
};
|
|
13101
|
+
const getTwoPointDistance = (x1, y1, x2, y2) => {
|
|
13102
|
+
return Math.sqrt(Math.pow(x1 - x2, 2) + Math.pow(y1 - y2, 2));
|
|
13103
|
+
};
|
|
12595
13104
|
const handleGetSvgDataExtraContent = ({
|
|
12596
13105
|
addContentToHeader,
|
|
12597
13106
|
addContentToFooter
|
|
@@ -12745,6 +13254,17 @@ const backgroundStyleProps = [
|
|
|
12745
13254
|
"backgroundPosition",
|
|
12746
13255
|
"backgroundSize"
|
|
12747
13256
|
];
|
|
13257
|
+
const shapeStyleProps = [
|
|
13258
|
+
"gradientStyle",
|
|
13259
|
+
"startColor",
|
|
13260
|
+
"endColor",
|
|
13261
|
+
"startDir",
|
|
13262
|
+
"endDir",
|
|
13263
|
+
"fillColor",
|
|
13264
|
+
"borderColor",
|
|
13265
|
+
"borderWidth",
|
|
13266
|
+
"borderDasharray"
|
|
13267
|
+
];
|
|
12748
13268
|
class Style2 {
|
|
12749
13269
|
// 设置背景样式
|
|
12750
13270
|
static setBackgroundStyle(el, themeConfig) {
|
|
@@ -12830,6 +13350,7 @@ class Style2 {
|
|
|
12830
13350
|
}
|
|
12831
13351
|
// 更新当前节点生效的样式数据
|
|
12832
13352
|
addToEffectiveStyles(styles) {
|
|
13353
|
+
if (!this.ctx.mindMap.painter) return;
|
|
12833
13354
|
this.ctx.effectiveStyles = __spreadValues(__spreadValues({}, this.ctx.effectiveStyles), styles);
|
|
12834
13355
|
}
|
|
12835
13356
|
// 矩形
|
|
@@ -12839,17 +13360,10 @@ class Style2 {
|
|
|
12839
13360
|
}
|
|
12840
13361
|
// 形状
|
|
12841
13362
|
shape(node) {
|
|
12842
|
-
const styles = {
|
|
12843
|
-
|
|
12844
|
-
|
|
12845
|
-
|
|
12846
|
-
startDir: this.merge("startDir"),
|
|
12847
|
-
endDir: this.merge("endDir"),
|
|
12848
|
-
fillColor: this.merge("fillColor"),
|
|
12849
|
-
borderColor: this.merge("borderColor"),
|
|
12850
|
-
borderWidth: this.merge("borderWidth"),
|
|
12851
|
-
borderDasharray: this.merge("borderDasharray")
|
|
12852
|
-
};
|
|
13363
|
+
const styles = {};
|
|
13364
|
+
shapeStyleProps.forEach((key) => {
|
|
13365
|
+
styles[key] = this.merge(key);
|
|
13366
|
+
});
|
|
12853
13367
|
if (styles.gradientStyle) {
|
|
12854
13368
|
if (!this._gradient) {
|
|
12855
13369
|
this._gradient = this.ctx.nodeDraw.gradient("linear");
|
|
@@ -12891,42 +13405,6 @@ class Style2 {
|
|
|
12891
13405
|
"text-decoration": styles.textDecoration
|
|
12892
13406
|
});
|
|
12893
13407
|
}
|
|
12894
|
-
// 生成内联样式
|
|
12895
|
-
createStyleText(customStyle = {}) {
|
|
12896
|
-
const styles = __spreadValues({
|
|
12897
|
-
color: this.merge("color"),
|
|
12898
|
-
fontFamily: this.merge("fontFamily"),
|
|
12899
|
-
fontSize: this.merge("fontSize"),
|
|
12900
|
-
fontWeight: this.merge("fontWeight"),
|
|
12901
|
-
fontStyle: this.merge("fontStyle"),
|
|
12902
|
-
textDecoration: this.merge("textDecoration")
|
|
12903
|
-
}, customStyle);
|
|
12904
|
-
return `
|
|
12905
|
-
color: ${styles.color};
|
|
12906
|
-
font-family: ${styles.fontFamily};
|
|
12907
|
-
font-size: ${styles.fontSize + "px"};
|
|
12908
|
-
font-weight: ${styles.fontWeight};
|
|
12909
|
-
font-style: ${styles.fontStyle};
|
|
12910
|
-
text-decoration: ${styles.textDecoration}
|
|
12911
|
-
`;
|
|
12912
|
-
}
|
|
12913
|
-
// 获取文本样式
|
|
12914
|
-
getTextFontStyle() {
|
|
12915
|
-
const styles = {
|
|
12916
|
-
color: this.merge("color"),
|
|
12917
|
-
fontFamily: this.merge("fontFamily"),
|
|
12918
|
-
fontSize: this.merge("fontSize"),
|
|
12919
|
-
fontWeight: this.merge("fontWeight"),
|
|
12920
|
-
fontStyle: this.merge("fontStyle"),
|
|
12921
|
-
textDecoration: this.merge("textDecoration")
|
|
12922
|
-
};
|
|
12923
|
-
return {
|
|
12924
|
-
italic: styles.fontStyle === "italic",
|
|
12925
|
-
bold: styles.fontWeight,
|
|
12926
|
-
fontSize: styles.fontSize,
|
|
12927
|
-
fontFamily: styles.fontFamily
|
|
12928
|
-
};
|
|
12929
|
-
}
|
|
12930
13408
|
// html文字节点
|
|
12931
13409
|
domText(node, fontSizeScale = 1) {
|
|
12932
13410
|
const styles = {
|
|
@@ -12935,7 +13413,8 @@ class Style2 {
|
|
|
12935
13413
|
fontSize: this.merge("fontSize"),
|
|
12936
13414
|
fontWeight: this.merge("fontWeight"),
|
|
12937
13415
|
fontStyle: this.merge("fontStyle"),
|
|
12938
|
-
textDecoration: this.merge("textDecoration")
|
|
13416
|
+
textDecoration: this.merge("textDecoration"),
|
|
13417
|
+
textAlign: this.merge("textAlign")
|
|
12939
13418
|
};
|
|
12940
13419
|
node.style.color = styles.color;
|
|
12941
13420
|
node.style.textDecoration = styles.textDecoration;
|
|
@@ -12943,6 +13422,7 @@ class Style2 {
|
|
|
12943
13422
|
node.style.fontSize = styles.fontSize * fontSizeScale + "px";
|
|
12944
13423
|
node.style.fontWeight = styles.fontWeight || "normal";
|
|
12945
13424
|
node.style.fontStyle = styles.fontStyle;
|
|
13425
|
+
node.style.textAlign = styles.textAlign;
|
|
12946
13426
|
}
|
|
12947
13427
|
// 标签文字
|
|
12948
13428
|
tagText(node, style) {
|
|
@@ -13119,12 +13599,31 @@ class Shape2 {
|
|
|
13119
13599
|
paddingX: actHeight > actWidth ? actOffset / 2 : 0,
|
|
13120
13600
|
paddingY: actHeight < actWidth ? actOffset / 2 : 0
|
|
13121
13601
|
};
|
|
13122
|
-
default:
|
|
13123
|
-
return {
|
|
13124
|
-
paddingX: 0,
|
|
13125
|
-
paddingY: 0
|
|
13126
|
-
};
|
|
13127
13602
|
}
|
|
13603
|
+
const extendShape = this.getShapeFromExtendList(shape);
|
|
13604
|
+
if (extendShape) {
|
|
13605
|
+
return extendShape.getPadding({
|
|
13606
|
+
node: this.node,
|
|
13607
|
+
width: width2,
|
|
13608
|
+
height: height2,
|
|
13609
|
+
paddingX,
|
|
13610
|
+
paddingY
|
|
13611
|
+
}) || {
|
|
13612
|
+
paddingX: 0,
|
|
13613
|
+
paddingY: 0
|
|
13614
|
+
};
|
|
13615
|
+
} else {
|
|
13616
|
+
return {
|
|
13617
|
+
paddingX: 0,
|
|
13618
|
+
paddingY: 0
|
|
13619
|
+
};
|
|
13620
|
+
}
|
|
13621
|
+
}
|
|
13622
|
+
// 从形状扩展列表里获取指定名称的形状
|
|
13623
|
+
getShapeFromExtendList(shape) {
|
|
13624
|
+
return this.mindMap.extendShapeList.find((item) => {
|
|
13625
|
+
return item.name === shape;
|
|
13626
|
+
});
|
|
13128
13627
|
}
|
|
13129
13628
|
// 创建形状节点
|
|
13130
13629
|
createShape() {
|
|
@@ -13149,7 +13648,13 @@ class Shape2 {
|
|
|
13149
13648
|
} else if (shape === CONSTANTS.SHAPE.CIRCLE) {
|
|
13150
13649
|
node = this.createCircle();
|
|
13151
13650
|
}
|
|
13152
|
-
|
|
13651
|
+
if (!node) {
|
|
13652
|
+
const extendShape = this.getShapeFromExtendList(shape);
|
|
13653
|
+
if (extendShape) {
|
|
13654
|
+
node = extendShape.createShape(this.node);
|
|
13655
|
+
}
|
|
13656
|
+
}
|
|
13657
|
+
return node || this.createRect();
|
|
13153
13658
|
}
|
|
13154
13659
|
// 获取节点减去节点边框宽度、hover节点边框宽度后的尺寸
|
|
13155
13660
|
getNodeSize() {
|
|
@@ -13412,7 +13917,7 @@ function renderGeneralization(forceRender) {
|
|
|
13412
13917
|
});
|
|
13413
13918
|
}
|
|
13414
13919
|
function updateGeneralizationData() {
|
|
13415
|
-
const childrenLength = this.
|
|
13920
|
+
const childrenLength = this.getChildrenLength();
|
|
13416
13921
|
const list = this.formatGetGeneralization();
|
|
13417
13922
|
const newList = [];
|
|
13418
13923
|
list.forEach((item) => {
|
|
@@ -13508,44 +14013,47 @@ const nodeGeneralizationMethods = {
|
|
|
13508
14013
|
handleGeneralizationMouseenter,
|
|
13509
14014
|
handleGeneralizationMouseleave
|
|
13510
14015
|
};
|
|
13511
|
-
const open = `<svg
|
|
13512
|
-
const close = `<svg
|
|
13513
|
-
const remove = `<svg width="14px" height="14px" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"
|
|
14016
|
+
const open = `<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="200" height="200"><path d="M475.136 327.168v147.968h-147.968v74.24h147.968v147.968h74.24v-147.968h147.968v-74.24h-147.968v-147.968h-74.24z m36.864-222.208c225.28 0 407.04 181.76 407.04 407.04s-181.76 407.04-407.04 407.04-407.04-181.76-407.04-407.04 181.76-407.04 407.04-407.04z m0-74.24c-265.216 0-480.768 215.552-480.768 480.768s215.552 480.768 480.768 480.768 480.768-215.552 480.768-480.768-215.552-480.768-480.768-480.768z"></path></svg>`;
|
|
14017
|
+
const close = `<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="200" height="200"><path d="M512 105.472c225.28 0 407.04 181.76 407.04 407.04s-181.76 407.04-407.04 407.04-407.04-181.76-407.04-407.04 181.76-407.04 407.04-407.04z m0-74.24c-265.216 0-480.768 215.552-480.768 480.768s215.552 480.768 480.768 480.768 480.768-215.552 480.768-480.768-215.552-480.768-480.768-480.768z"></path><path d="M252.928 474.624h518.144v74.24h-518.144z"></path></svg>`;
|
|
14018
|
+
const remove = `<svg width="14px" height="14px" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="200" height="200"><path fill="#ffffff" d="M512 105.472c225.28 0 407.04 181.76 407.04 407.04s-181.76 407.04-407.04 407.04-407.04-181.76-407.04-407.04 181.76-407.04 407.04-407.04z m0-74.24c-265.216 0-480.768 215.552-480.768 480.768s215.552 480.768 480.768 480.768 480.768-215.552 480.768-480.768-215.552-480.768-480.768-480.768z"></path><path fill="#ffffff" d="M252.928 474.624h518.144v74.24h-518.144z"></path></svg>`;
|
|
13514
14019
|
const imgAdjust = `<svg width="12px" height="12px" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg"><path fill="#ffffff" d="M1008.128 614.4a25.6 25.6 0 0 0-27.648 5.632l-142.848 142.848L259.072 186.88 401.92 43.52A25.6 25.6 0 0 0 384 0h-358.4a25.6 25.6 0 0 0-25.6 25.6v358.4a25.6 25.6 0 0 0 43.52 17.92l143.36-142.848 578.048 578.048-142.848 142.848a25.6 25.6 0 0 0 17.92 43.52h358.4a25.6 25.6 0 0 0 25.6-25.6v-358.4a25.6 25.6 0 0 0-15.872-25.088z" /></svg>`;
|
|
14020
|
+
const quickCreateChild = `<svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" width="48" height="48"><path d="M514.048 62.464q93.184 0 175.616 35.328t143.872 96.768 96.768 143.872 35.328 175.616q0 94.208-35.328 176.128t-96.768 143.36-143.872 96.768-175.616 35.328q-94.208 0-176.64-35.328t-143.872-96.768-96.768-143.36-35.328-176.128q0-93.184 35.328-175.616t96.768-143.872 143.872-96.768 176.64-35.328zM772.096 576.512q26.624 0 45.056-18.944t18.432-45.568-18.432-45.056-45.056-18.432l-192.512 0 0-192.512q0-26.624-18.944-45.568t-45.568-18.944-45.056 18.944-18.432 45.568l0 192.512-192.512 0q-26.624 0-45.056 18.432t-18.432 45.056 18.432 45.568 45.056 18.944l192.512 0 0 191.488q0 26.624 18.432 45.568t45.056 18.944 45.568-18.944 18.944-45.568l0-191.488 192.512 0z"></path></svg>`;
|
|
13515
14021
|
const btnsSvg = {
|
|
13516
14022
|
open,
|
|
13517
14023
|
close,
|
|
13518
14024
|
remove,
|
|
13519
|
-
imgAdjust
|
|
14025
|
+
imgAdjust,
|
|
14026
|
+
quickCreateChild
|
|
13520
14027
|
};
|
|
13521
14028
|
function createExpandNodeContent() {
|
|
13522
14029
|
if (this._openExpandNode) {
|
|
13523
14030
|
return;
|
|
13524
14031
|
}
|
|
13525
|
-
|
|
13526
|
-
|
|
14032
|
+
const { expandBtnSize, expandBtnIcon, isShowExpandNum } = this.mindMap.opt;
|
|
14033
|
+
let { close: close2, open: open2 } = expandBtnIcon || {};
|
|
14034
|
+
if (isShowExpandNum) {
|
|
13527
14035
|
this._openExpandNode = new Text();
|
|
13528
14036
|
this._openExpandNode.addClass("smm-expand-btn-text");
|
|
13529
14037
|
this._openExpandNode.attr({
|
|
13530
14038
|
"text-anchor": "middle",
|
|
13531
14039
|
"dominant-baseline": "middle",
|
|
13532
|
-
x:
|
|
14040
|
+
x: expandBtnSize / 2,
|
|
13533
14041
|
y: 2
|
|
13534
14042
|
});
|
|
13535
14043
|
} else {
|
|
13536
14044
|
this._openExpandNode = SVG(open2 || btnsSvg.open).size(
|
|
13537
|
-
|
|
13538
|
-
|
|
14045
|
+
expandBtnSize,
|
|
14046
|
+
expandBtnSize
|
|
13539
14047
|
);
|
|
13540
|
-
this._openExpandNode.x(0).y(-
|
|
14048
|
+
this._openExpandNode.x(0).y(-expandBtnSize / 2);
|
|
13541
14049
|
}
|
|
13542
14050
|
this._closeExpandNode = SVG(close2 || btnsSvg.close).size(
|
|
13543
|
-
|
|
13544
|
-
|
|
14051
|
+
expandBtnSize,
|
|
14052
|
+
expandBtnSize
|
|
13545
14053
|
);
|
|
13546
|
-
this._closeExpandNode.x(0).y(-
|
|
13547
|
-
this._fillExpandNode = new Circle().size(
|
|
13548
|
-
this._fillExpandNode.x(0).y(-
|
|
14054
|
+
this._closeExpandNode.x(0).y(-expandBtnSize / 2);
|
|
14055
|
+
this._fillExpandNode = new Circle().size(expandBtnSize);
|
|
14056
|
+
this._fillExpandNode.x(0).y(-expandBtnSize / 2);
|
|
13549
14057
|
this.style.iconBtn(
|
|
13550
14058
|
this._openExpandNode,
|
|
13551
14059
|
this._closeExpandNode,
|
|
@@ -13580,7 +14088,7 @@ function updateExpandBtnNode() {
|
|
|
13580
14088
|
this._fillExpandNode.stroke({
|
|
13581
14089
|
color: expandBtnStyle.strokeColor
|
|
13582
14090
|
});
|
|
13583
|
-
let count = this.sumNode(this.nodeData.children);
|
|
14091
|
+
let count = this.sumNode(this.nodeData.children || []);
|
|
13584
14092
|
if (typeof expandBtnNumHandler === "function") {
|
|
13585
14093
|
const res = expandBtnNumHandler(count, this);
|
|
13586
14094
|
if (!isUndef(res)) {
|
|
@@ -13602,7 +14110,7 @@ function updateExpandBtnPos() {
|
|
|
13602
14110
|
this.renderer.layout.renderExpandBtn(this, this._expandBtn);
|
|
13603
14111
|
}
|
|
13604
14112
|
function renderExpandBtn() {
|
|
13605
|
-
if (
|
|
14113
|
+
if (this.getChildrenLength() <= 0 || this.isRoot) {
|
|
13606
14114
|
return;
|
|
13607
14115
|
}
|
|
13608
14116
|
if (this._expandBtn) {
|
|
@@ -13715,9 +14223,9 @@ const nodeCommandWrapsMethods = {
|
|
|
13715
14223
|
setStyle,
|
|
13716
14224
|
setStyles
|
|
13717
14225
|
};
|
|
13718
|
-
const hyperlink = '<svg
|
|
13719
|
-
const note = '<svg
|
|
13720
|
-
const attachment = '<svg
|
|
14226
|
+
const hyperlink = '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M435.484444 251.733333v68.892445L295.822222 320.682667a168.504889 168.504889 0 0 0-2.844444 336.952889h142.506666v68.892444H295.822222a237.397333 237.397333 0 0 1 0-474.794667h139.662222z m248.945778 0a237.397333 237.397333 0 0 1 0 474.851556H544.654222v-69.006222l139.776 0.056889a168.504889 168.504889 0 0 0 2.844445-336.952889H544.597333V251.676444h139.776z m-25.827555 203.946667a34.474667 34.474667 0 0 1 0 68.892444H321.649778a34.474667 34.474667 0 0 1 0-68.892444h336.952889z" ></path></svg>';
|
|
14227
|
+
const note = '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M152.768 985.984 152.768 49.856l434.56 0 66.816 0 234.048 267.392 0 66.816 0 601.92L152.768 985.984 152.768 985.984zM654.144 193.088l0 124.16 108.736 0L654.144 193.088 654.144 193.088zM821.312 384.064l-167.168 0L587.328 384.064 587.328 317.312 587.328 116.736 219.584 116.736 219.584 919.04l601.728 0L821.312 384.064 821.312 384.064zM386.688 517.888 319.808 517.888 319.808 450.944l66.816 0L386.624 517.888 386.688 517.888zM386.688 651.584 319.808 651.584 319.808 584.704l66.816 0L386.624 651.584 386.688 651.584zM386.688 785.344 319.808 785.344l0-66.88 66.816 0L386.624 785.344 386.688 785.344zM721.024 517.888 453.632 517.888 453.632 450.944l267.392 0L721.024 517.888 721.024 517.888zM654.144 651.584 453.632 651.584 453.632 584.704l200.512 0L654.144 651.584 654.144 651.584zM620.672 785.344l-167.04 0 0-66.88 167.04 0L620.672 785.344 620.672 785.344z" ></path></svg>';
|
|
14228
|
+
const attachment = '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" width="128" height="128"><path d="M516.373333 375.978667l136.576-136.576a147.797333 147.797333 0 0 1 208.853334-0.021334 147.690667 147.690667 0 0 1-0.042667 208.832l-204.8 204.778667v0.021333l-153.621333 153.6c-85.973333 85.973333-225.28 85.973333-311.253334 0.021334-85.994667-85.973333-85.973333-225.216 0.149334-311.36L431.146667 256.362667a21.333333 21.333333 0 0 0-30.165334-30.165334L162.069333 465.066667c-102.805333 102.826667-102.826667 269.056-0.149333 371.733333 102.613333 102.613333 268.970667 102.613333 371.584 0l153.6-153.642667h0.021333l0.021334-0.021333 204.778666-204.778667c74.325333-74.325333 74.346667-194.858667 0.021334-269.184-74.24-74.24-194.88-74.24-269.162667 0.042667l-136.576 136.554667-187.626667 187.626666a117.845333 117.845333 0 0 0-0.106666 166.826667 118.037333 118.037333 0 0 0 166.826666-0.106667l255.850667-255.829333a21.333333 21.333333 0 0 0-30.165333-30.165333L435.136 669.973333a75.370667 75.370667 0 0 1-106.496 0.106667 75.178667 75.178667 0 0 1 0.128-106.496l187.605333-187.605333z" ></path></svg>';
|
|
13721
14229
|
const nodeIconList = [
|
|
13722
14230
|
{
|
|
13723
14231
|
name: "优先级图标",
|
|
@@ -13725,43 +14233,43 @@ const nodeIconList = [
|
|
|
13725
14233
|
list: [
|
|
13726
14234
|
{
|
|
13727
14235
|
name: "1",
|
|
13728
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512.042667 1024C229.248 1024 0 794.794667 0 511.957333 0 229.205333 229.248 0 512.042667 0 794.752 0 1024 229.205333 1024 511.957333 1024 794.794667 794.752 1024 512.042667 1024z" fill="#E93B30"></path><path d="M580.309333 256h-75.52c-10.666667 29.824-30.165333 55.765333-58.709333 78.165333-28.416 22.314667-54.869333 37.418667-79.146667 45.397334v84.608a320 320 0 0 0 120.234667-70.698667v352.085333H580.266667V256z" fill="#FFFFFF"></path></svg>`
|
|
14236
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512.042667 1024C229.248 1024 0 794.794667 0 511.957333 0 229.205333 229.248 0 512.042667 0 794.752 0 1024 229.205333 1024 511.957333 1024 794.794667 794.752 1024 512.042667 1024z" fill="#E93B30"></path><path d="M580.309333 256h-75.52c-10.666667 29.824-30.165333 55.765333-58.709333 78.165333-28.416 22.314667-54.869333 37.418667-79.146667 45.397334v84.608a320 320 0 0 0 120.234667-70.698667v352.085333H580.266667V256z" fill="#FFFFFF"></path></svg>`
|
|
13729
14237
|
},
|
|
13730
14238
|
{
|
|
13731
14239
|
name: "2",
|
|
13732
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M511.957333 1024C229.248 1024 0 794.752 0 512S229.248 0 511.957333 0C794.752 0 1024 229.248 1024 512s-229.248 512-512.042667 512z" fill="#FA8D2E"></path><path d="M667.946667 658.602667h-185.301334c4.864-8.533333 11.178667-17.066667 19.072-25.984 7.808-8.874667 26.453333-26.837333 55.936-53.888 29.525333-27.008 49.877333-47.786667 61.226667-62.165334 16.981333-21.717333 29.44-42.453333 37.290667-62.293333 7.808-19.84 11.776-40.746667 11.776-62.677333 0-38.570667-13.738667-70.741333-41.088-96.725334C599.466667 268.928 561.706667 256 513.834667 256c-43.690667 0-80.128 11.136-109.354667 33.578667-29.098667 22.4-46.506667 59.306667-52.010667 110.805333l93.184 9.301333c1.792-27.349333 8.405333-46.890667 19.754667-58.624 11.434667-11.776 26.837333-17.664 46.165333-17.664 19.541333 0 34.858667 5.589333 45.909334 16.768 11.136 11.264 16.682667 27.221333 16.682666 48.042667 0 18.858667-6.4 37.930667-19.242666 57.258667-9.472 14.037333-35.157333 40.533333-77.098667 79.872-52.096 48.554667-87.04 87.509333-104.704 116.821333A226.688 226.688 0 0 0 341.333333 745.429333h326.613334v-86.826666z" fill="#FFFFFF"></path></svg>`
|
|
14240
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M511.957333 1024C229.248 1024 0 794.752 0 512S229.248 0 511.957333 0C794.752 0 1024 229.248 1024 512s-229.248 512-512.042667 512z" fill="#FA8D2E"></path><path d="M667.946667 658.602667h-185.301334c4.864-8.533333 11.178667-17.066667 19.072-25.984 7.808-8.874667 26.453333-26.837333 55.936-53.888 29.525333-27.008 49.877333-47.786667 61.226667-62.165334 16.981333-21.717333 29.44-42.453333 37.290667-62.293333 7.808-19.84 11.776-40.746667 11.776-62.677333 0-38.570667-13.738667-70.741333-41.088-96.725334C599.466667 268.928 561.706667 256 513.834667 256c-43.690667 0-80.128 11.136-109.354667 33.578667-29.098667 22.4-46.506667 59.306667-52.010667 110.805333l93.184 9.301333c1.792-27.349333 8.405333-46.890667 19.754667-58.624 11.434667-11.776 26.837333-17.664 46.165333-17.664 19.541333 0 34.858667 5.589333 45.909334 16.768 11.136 11.264 16.682667 27.221333 16.682666 48.042667 0 18.858667-6.4 37.930667-19.242666 57.258667-9.472 14.037333-35.157333 40.533333-77.098667 79.872-52.096 48.554667-87.04 87.509333-104.704 116.821333A226.688 226.688 0 0 0 341.333333 745.429333h326.613334v-86.826666z" fill="#FFFFFF"></path></svg>`
|
|
13733
14241
|
},
|
|
13734
14242
|
{
|
|
13735
14243
|
name: "3",
|
|
13736
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#2E66FA"></path><path d="M627.754667 731.733333c-29.354667 25.088-66.901333 37.632-112.725334 37.632-44.928 0-81.792-11.52-110.592-34.773333-33.066667-26.538667-49.877333-64.469333-50.304-114.133333h92.16c0.426667 21.76 7.552 38.314667 21.333334 49.664 12.288 10.88 28.117333 16.341333 47.402666 16.341333 20.309333 0 36.778667-6.101333 49.322667-18.432 12.544-12.330667 18.773333-29.568 18.773333-51.797333 0-21.290667-6.229333-38.186667-18.773333-50.773334-12.544-12.501333-29.866667-18.773333-52.138667-18.773333h-13.525333v-80.042667H512c42.112 0 63.274667-21.034667 63.274667-63.146666 0-20.309333-5.888-36.096-17.706667-47.445334a60.757333 60.757333 0 0 0-43.818667-17.066666c-17.493333 0-32 5.504-43.434666 16.298666-11.562667 10.88-17.792 25.728-18.773334 44.714667H359.68c0.981333-43.946667 16.042667-78.976 45.397333-104.96 29.354667-25.941333 65.706667-39.04 109.226667-39.04 44.928 0 81.792 13.525333 110.592 40.490667 28.8 26.922667 43.306667 61.610667 43.306667 104.149333 0 48.213333-19.413333 82.688-58.154667 103.552 43.52 23.125333 65.28 61.44 65.28 114.858667 0 48.128-15.957333 85.76-47.573333 112.682666z" fill="#FFFFFF"></path></svg>`
|
|
14244
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#2E66FA"></path><path d="M627.754667 731.733333c-29.354667 25.088-66.901333 37.632-112.725334 37.632-44.928 0-81.792-11.52-110.592-34.773333-33.066667-26.538667-49.877333-64.469333-50.304-114.133333h92.16c0.426667 21.76 7.552 38.314667 21.333334 49.664 12.288 10.88 28.117333 16.341333 47.402666 16.341333 20.309333 0 36.778667-6.101333 49.322667-18.432 12.544-12.330667 18.773333-29.568 18.773333-51.797333 0-21.290667-6.229333-38.186667-18.773333-50.773334-12.544-12.501333-29.866667-18.773333-52.138667-18.773333h-13.525333v-80.042667H512c42.112 0 63.274667-21.034667 63.274667-63.146666 0-20.309333-5.888-36.096-17.706667-47.445334a60.757333 60.757333 0 0 0-43.818667-17.066666c-17.493333 0-32 5.504-43.434666 16.298666-11.562667 10.88-17.792 25.728-18.773334 44.714667H359.68c0.981333-43.946667 16.042667-78.976 45.397333-104.96 29.354667-25.941333 65.706667-39.04 109.226667-39.04 44.928 0 81.792 13.525333 110.592 40.490667 28.8 26.922667 43.306667 61.610667 43.306667 104.149333 0 48.213333-19.413333 82.688-58.154667 103.552 43.52 23.125333 65.28 61.44 65.28 114.858667 0 48.128-15.957333 85.76-47.573333 112.682666z" fill="#FFFFFF"></path></svg>`
|
|
13737
14245
|
},
|
|
13738
14246
|
{
|
|
13739
14247
|
name: "4",
|
|
13740
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512.042667 1024C229.248 1024 0 794.794667 0 512.042667 0 229.205333 229.248 0 512.042667 0 794.752 0 1024 229.205333 1024 512.042667 1024 794.794667 794.752 1024 512.042667 1024z" fill="#6D768D"></path><path d="M600.96 256v309.802667h60.117333v81.536h-60.16v98.218666h-90.154666v-98.218666H311.466667v-81.237334L522.666667 256h78.293333zM510.72 399.104l-112.042667 166.698667h112.042667V399.104z" fill="#FFFFFF"></path></svg>`
|
|
14248
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512.042667 1024C229.248 1024 0 794.794667 0 512.042667 0 229.205333 229.248 0 512.042667 0 794.752 0 1024 229.205333 1024 512.042667 1024 794.794667 794.752 1024 512.042667 1024z" fill="#6D768D"></path><path d="M600.96 256v309.802667h60.117333v81.536h-60.16v98.218666h-90.154666v-98.218666H311.466667v-81.237334L522.666667 256h78.293333zM510.72 399.104l-112.042667 166.698667h112.042667V399.104z" fill="#FFFFFF"></path></svg>`
|
|
13741
14249
|
},
|
|
13742
14250
|
{
|
|
13743
14251
|
name: "5",
|
|
13744
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512.042667 1024C229.248 1024 0 794.794667 0 512.042667 0 229.205333 229.248 0 512.042667 0 794.752 0 1024 229.205333 1024 512.042667 1024 794.794667 794.752 1024 512.042667 1024z" fill="#6D768D"></path><path d="M470.912 343.552h175.786667V256H400.256l-47.786667 253.952 75.434667 10.837333c21.205333-23.552 45.269333-35.413333 72.021333-35.413333 21.546667 0 38.997333 7.509333 52.437334 22.4 13.312 15.018667 20.053333 37.418667 20.053333 67.328 0 31.872-6.741333 55.765333-20.181333 71.552-13.397333 15.872-29.866667 23.765333-49.237334 23.765333-17.066667 0-32.085333-6.186667-45.013333-18.432-13.013333-12.373333-20.821333-29.013333-23.466667-50.133333L341.333333 611.498667c5.546667 40.874667 22.485333 73.429333 50.730667 97.621333 28.330667 24.32 64.938667 36.437333 109.866667 36.437333 56.149333 0 100.053333-21.546667 131.754666-64.554666a176.64 176.64 0 0 0 34.816-107.52c0-48.042667-14.378667-87.210667-43.221333-117.333334-28.8-30.208-63.957333-45.312-105.514667-45.312-21.674667 0-42.922667 5.248-63.829333 15.616l14.976-82.901333z" fill="#FFFFFF"></path></svg>`
|
|
14252
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512.042667 1024C229.248 1024 0 794.794667 0 512.042667 0 229.205333 229.248 0 512.042667 0 794.752 0 1024 229.205333 1024 512.042667 1024 794.794667 794.752 1024 512.042667 1024z" fill="#6D768D"></path><path d="M470.912 343.552h175.786667V256H400.256l-47.786667 253.952 75.434667 10.837333c21.205333-23.552 45.269333-35.413333 72.021333-35.413333 21.546667 0 38.997333 7.509333 52.437334 22.4 13.312 15.018667 20.053333 37.418667 20.053333 67.328 0 31.872-6.741333 55.765333-20.181333 71.552-13.397333 15.872-29.866667 23.765333-49.237334 23.765333-17.066667 0-32.085333-6.186667-45.013333-18.432-13.013333-12.373333-20.821333-29.013333-23.466667-50.133333L341.333333 611.498667c5.546667 40.874667 22.485333 73.429333 50.730667 97.621333 28.330667 24.32 64.938667 36.437333 109.866667 36.437333 56.149333 0 100.053333-21.546667 131.754666-64.554666a176.64 176.64 0 0 0 34.816-107.52c0-48.042667-14.378667-87.210667-43.221333-117.333334-28.8-30.208-63.957333-45.312-105.514667-45.312-21.674667 0-42.922667 5.248-63.829333 15.616l14.976-82.901333z" fill="#FFFFFF"></path></svg>`
|
|
13745
14253
|
},
|
|
13746
14254
|
{
|
|
13747
14255
|
name: "6",
|
|
13748
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 1024C229.248 1024 0 794.794667 0 512.042667 0 229.205333 229.248 0 512 0c282.88 0 512 229.205333 512 512.042667C1024 794.794667 794.88 1024 512 1024z" fill="#6D768D"></path><path d="M519.210667 256c36.992 0 67.626667 10.368 91.776 31.189333 24.192 20.821333 39.68 51.029333 46.293333 90.709334l-90.197333 9.984c-2.176-18.56-7.978667-32.298667-17.28-41.173334-9.258667-8.874667-21.418667-13.226667-36.224-13.226666-19.754667 0-36.437333 8.789333-50.048 26.453333-13.696 17.664-22.314667 54.613333-25.856 110.549333 23.296-27.52 52.138667-41.258667 86.656-41.258666 38.997333 0 72.362667 14.805333 100.181333 44.544 27.733333 29.696 41.685333 68.010667 41.685333 114.858666 0 49.877333-14.634667 89.856-43.818666 119.936-29.226667 30.208-66.730667 45.226667-112.554667 45.226667-49.066667 0-89.429333-19.072-121.130667-57.344C357.12 658.218667 341.333333 595.541333 341.333333 508.416c0-89.344 16.469333-153.813333 49.493334-193.194667C423.722667 275.754667 466.56 256 519.168 256z m-9.472 241.834667c-17.962667 0-33.066667 6.997333-45.525334 21.12-12.330667 14.037333-18.56 34.858667-18.56 62.293333 0 30.421333 6.912 53.76 20.906667 70.4 13.952 16.469333 29.866667 24.746667 47.786667 24.746667 17.28 0 31.701333-6.826667 43.178666-20.309334 11.52-13.525333 17.237333-35.669333 17.237334-66.56 0-31.658667-6.186667-54.869333-18.517334-69.546666a58.197333 58.197333 0 0 0-46.506666-22.144z" fill="#FFFFFF"></path></svg>`
|
|
14256
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 1024C229.248 1024 0 794.794667 0 512.042667 0 229.205333 229.248 0 512 0c282.88 0 512 229.205333 512 512.042667C1024 794.794667 794.88 1024 512 1024z" fill="#6D768D"></path><path d="M519.210667 256c36.992 0 67.626667 10.368 91.776 31.189333 24.192 20.821333 39.68 51.029333 46.293333 90.709334l-90.197333 9.984c-2.176-18.56-7.978667-32.298667-17.28-41.173334-9.258667-8.874667-21.418667-13.226667-36.224-13.226666-19.754667 0-36.437333 8.789333-50.048 26.453333-13.696 17.664-22.314667 54.613333-25.856 110.549333 23.296-27.52 52.138667-41.258667 86.656-41.258666 38.997333 0 72.362667 14.805333 100.181333 44.544 27.733333 29.696 41.685333 68.010667 41.685333 114.858666 0 49.877333-14.634667 89.856-43.818666 119.936-29.226667 30.208-66.730667 45.226667-112.554667 45.226667-49.066667 0-89.429333-19.072-121.130667-57.344C357.12 658.218667 341.333333 595.541333 341.333333 508.416c0-89.344 16.469333-153.813333 49.493334-193.194667C423.722667 275.754667 466.56 256 519.168 256z m-9.472 241.834667c-17.962667 0-33.066667 6.997333-45.525334 21.12-12.330667 14.037333-18.56 34.858667-18.56 62.293333 0 30.421333 6.912 53.76 20.906667 70.4 13.952 16.469333 29.866667 24.746667 47.786667 24.746667 17.28 0 31.701333-6.826667 43.178666-20.309334 11.52-13.525333 17.237333-35.669333 17.237334-66.56 0-31.658667-6.186667-54.869333-18.517334-69.546666a58.197333 58.197333 0 0 0-46.506666-22.144z" fill="#FFFFFF"></path></svg>`
|
|
13749
14257
|
},
|
|
13750
14258
|
{
|
|
13751
14259
|
name: "7",
|
|
13752
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512.042667 1024C229.248 1024 0 794.752 0 512S229.248 0 512.042667 0C794.752 0 1024 229.248 1024 512s-229.248 512-511.957333 512z" fill="#6D768D"></path><path d="M673.024 273.066667H354.133333v86.869333h212.224a691.2 691.2 0 0 0-104.746666 187.989333c-26.026667 70.101333-39.978667 138.88-41.429334 206.293334h89.6c-0.298667-42.922667 6.698667-91.776 21.034667-146.474667a654.72 654.72 0 0 1 62.08-154.965333c27.136-48.554667 53.888-85.76 80.128-111.701334V273.066667z" fill="#FFFFFF"></path></svg>`
|
|
14260
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512.042667 1024C229.248 1024 0 794.752 0 512S229.248 0 512.042667 0C794.752 0 1024 229.248 1024 512s-229.248 512-511.957333 512z" fill="#6D768D"></path><path d="M673.024 273.066667H354.133333v86.869333h212.224a691.2 691.2 0 0 0-104.746666 187.989333c-26.026667 70.101333-39.978667 138.88-41.429334 206.293334h89.6c-0.298667-42.922667 6.698667-91.776 21.034667-146.474667a654.72 654.72 0 0 1 62.08-154.965333c27.136-48.554667 53.888-85.76 80.128-111.701334V273.066667z" fill="#FFFFFF"></path></svg>`
|
|
13753
14261
|
},
|
|
13754
14262
|
{
|
|
13755
14263
|
name: "8",
|
|
13756
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 1024C229.248 1024 0 794.752 0 512S229.248 0 512 0s512 229.248 512 512-229.248 512-512 512z" fill="#6D768D"></path><path d="M512.426667 256c46.208 0 82.048 11.861333 107.605333 35.541333 25.6 23.68 38.314667 53.674667 38.314667 89.898667 0 22.613333-5.802667 42.666667-17.578667 60.330667a111.445333 111.445333 0 0 1-49.450667 40.277333c26.965333 10.837333 47.36 26.752 61.312 47.658667 13.994667 20.906667 21.034667 45.013333 21.034667 72.362666 0 45.098667-14.336 81.834667-42.965333 109.952-28.586667 28.245333-66.602667 42.368-114.090667 42.368-44.245333 0-81.066667-11.648-110.464-34.986666-34.645333-27.52-52.010667-65.28-52.010667-113.365334 0-26.368 6.528-50.645333 19.626667-72.746666 13.056-22.144 33.578667-39.210667 61.696-51.242667-24.064-10.154667-41.557333-24.192-52.48-41.941333a109.824 109.824 0 0 1-16.512-58.666667c0-36.224 12.757333-66.218667 37.973333-89.898667 25.386667-23.68 61.354667-35.541333 108.032-35.541333z m1.28 265.429333c-22.784 0-39.722667 7.978667-50.901334 23.893334-11.136 15.786667-16.64 33.066667-16.64 51.498666 0 25.984 6.485333 46.208 19.712 60.714667 13.098667 14.506667 29.525333 21.802667 49.152 21.802667 19.242667 0 35.157333-6.997333 47.786667-20.992 12.629333-13.909333 18.858667-34.048 18.858667-60.416 0-23.082667-6.314667-41.557333-19.2-55.466667a63.274667 63.274667 0 0 0-48.725334-21.034667z m-0.341334-191.488c-17.792 0-32 5.333333-42.581333 16-10.538667 10.666667-15.872 24.746667-15.872 42.325334 0 18.645333 5.248 33.152 15.701333 43.648 10.453333 10.453333 24.362667 15.658667 41.770667 15.658666 17.664 0 31.658667-5.290667 42.24-15.872 10.538667-10.581333 15.872-25.173333 15.872-43.818666 0-17.493333-5.248-31.573333-15.701333-42.154667s-24.277333-15.786667-41.429334-15.786667z" fill="#FFFFFF"></path></svg>`
|
|
14264
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 1024C229.248 1024 0 794.752 0 512S229.248 0 512 0s512 229.248 512 512-229.248 512-512 512z" fill="#6D768D"></path><path d="M512.426667 256c46.208 0 82.048 11.861333 107.605333 35.541333 25.6 23.68 38.314667 53.674667 38.314667 89.898667 0 22.613333-5.802667 42.666667-17.578667 60.330667a111.445333 111.445333 0 0 1-49.450667 40.277333c26.965333 10.837333 47.36 26.752 61.312 47.658667 13.994667 20.906667 21.034667 45.013333 21.034667 72.362666 0 45.098667-14.336 81.834667-42.965333 109.952-28.586667 28.245333-66.602667 42.368-114.090667 42.368-44.245333 0-81.066667-11.648-110.464-34.986666-34.645333-27.52-52.010667-65.28-52.010667-113.365334 0-26.368 6.528-50.645333 19.626667-72.746666 13.056-22.144 33.578667-39.210667 61.696-51.242667-24.064-10.154667-41.557333-24.192-52.48-41.941333a109.824 109.824 0 0 1-16.512-58.666667c0-36.224 12.757333-66.218667 37.973333-89.898667 25.386667-23.68 61.354667-35.541333 108.032-35.541333z m1.28 265.429333c-22.784 0-39.722667 7.978667-50.901334 23.893334-11.136 15.786667-16.64 33.066667-16.64 51.498666 0 25.984 6.485333 46.208 19.712 60.714667 13.098667 14.506667 29.525333 21.802667 49.152 21.802667 19.242667 0 35.157333-6.997333 47.786667-20.992 12.629333-13.909333 18.858667-34.048 18.858667-60.416 0-23.082667-6.314667-41.557333-19.2-55.466667a63.274667 63.274667 0 0 0-48.725334-21.034667z m-0.341334-191.488c-17.792 0-32 5.333333-42.581333 16-10.538667 10.666667-15.872 24.746667-15.872 42.325334 0 18.645333 5.248 33.152 15.701333 43.648 10.453333 10.453333 24.362667 15.658667 41.770667 15.658666 17.664 0 31.658667-5.290667 42.24-15.872 10.538667-10.581333 15.872-25.173333 15.872-43.818666 0-17.493333-5.248-31.573333-15.701333-42.154667s-24.277333-15.786667-41.429334-15.786667z" fill="#FFFFFF"></path></svg>`
|
|
13757
14265
|
},
|
|
13758
14266
|
{
|
|
13759
14267
|
name: "9",
|
|
13760
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 1024C229.248 1024 0 794.794667 0 512.042667 0 229.333333 229.248 0 512 0c282.88 0 512 229.333333 512 512.042667C1024 794.794667 794.88 1024 512 1024z" fill="#6D768D"></path><path d="M497.28 256c49.365333 0 89.856 19.157333 121.429333 57.429333 31.701333 38.229333 47.488 101.205333 47.488 188.842667 0 89.173333-16.384 153.386667-49.365333 192.853333-32.853333 39.594667-75.605333 59.264-128.426667 59.264-37.888 0-68.608-10.154667-91.989333-30.506666s-38.4-50.816-45.013333-91.306667l90.112-9.984c2.261333 18.474667 8.021333 32.085333 17.28 41.088 9.173333 8.874667 21.418667 13.312 36.608 13.312 19.2 0 35.541333-8.874667 48.981333-26.752 13.44-17.749333 22.016-54.613333 25.770667-110.549333-23.466667 27.264-52.821333 40.874667-88.064 40.874666-38.314667 0-71.253333-14.72-99.114667-44.330666C355.242667 506.709333 341.333333 468.224 341.333333 420.864c0-49.493333 14.592-89.258667 43.946667-119.466667C414.549333 271.104 451.925333 256 497.237333 256z m-4.352 77.482667c-17.237333 0-31.658667 6.826667-43.008 20.437333-11.477333 13.653333-17.194667 35.84-17.194667 66.816 0 31.402667 6.229333 54.485333 18.645334 69.205333 12.458667 14.72 27.946667 22.101333 46.592 22.101334 18.005333 0 33.066667-7.082667 45.44-21.205334 12.330667-14.208 18.432-35.029333 18.432-62.506666 0-29.994667-6.912-53.376-20.821334-69.973334-13.824-16.597333-29.866667-24.874667-48.085333-24.874666z" fill="#FFFFFF"></path></svg>`
|
|
14268
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 1024C229.248 1024 0 794.794667 0 512.042667 0 229.333333 229.248 0 512 0c282.88 0 512 229.333333 512 512.042667C1024 794.794667 794.88 1024 512 1024z" fill="#6D768D"></path><path d="M497.28 256c49.365333 0 89.856 19.157333 121.429333 57.429333 31.701333 38.229333 47.488 101.205333 47.488 188.842667 0 89.173333-16.384 153.386667-49.365333 192.853333-32.853333 39.594667-75.605333 59.264-128.426667 59.264-37.888 0-68.608-10.154667-91.989333-30.506666s-38.4-50.816-45.013333-91.306667l90.112-9.984c2.261333 18.474667 8.021333 32.085333 17.28 41.088 9.173333 8.874667 21.418667 13.312 36.608 13.312 19.2 0 35.541333-8.874667 48.981333-26.752 13.44-17.749333 22.016-54.613333 25.770667-110.549333-23.466667 27.264-52.821333 40.874667-88.064 40.874666-38.314667 0-71.253333-14.72-99.114667-44.330666C355.242667 506.709333 341.333333 468.224 341.333333 420.864c0-49.493333 14.592-89.258667 43.946667-119.466667C414.549333 271.104 451.925333 256 497.237333 256z m-4.352 77.482667c-17.237333 0-31.658667 6.826667-43.008 20.437333-11.477333 13.653333-17.194667 35.84-17.194667 66.816 0 31.402667 6.229333 54.485333 18.645334 69.205333 12.458667 14.72 27.946667 22.101333 46.592 22.101334 18.005333 0 33.066667-7.082667 45.44-21.205334 12.330667-14.208 18.432-35.029333 18.432-62.506666 0-29.994667-6.912-53.376-20.821334-69.973334-13.824-16.597333-29.866667-24.874667-48.085333-24.874666z" fill="#FFFFFF"></path></svg>`
|
|
13761
14269
|
},
|
|
13762
14270
|
{
|
|
13763
14271
|
name: "10",
|
|
13764
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512.042667 1024C229.248 1024 0 794.794667 0 511.957333 0 229.205333 229.248 0 512.042667 0 794.752 0 1024 229.205333 1024 511.957333 1024 794.794667 794.752 1024 512.042667 1024z" fill="#6D768D"></path><path d="M619.946667 273.066667c46.976 0 83.754667 16.042667 110.250666 48.042666 31.573333 37.973333 47.36 100.864 47.36 188.672 0 87.722667-15.829333 150.698667-47.658666 189.056-26.325333 31.616-62.976 47.36-109.952 47.36-47.274667 0-85.418667-17.237333-114.346667-51.968-28.885333-34.602667-43.392-96.426667-43.392-185.386666 0-87.168 15.872-150.016 47.701333-188.416 26.282667-31.488 62.933333-47.36 110.037334-47.36z m-207.488 12.8v452.266666H325.504V411.690667A299.904 299.904 0 0 1 213.333333 476.373333V398.933333c22.656-7.296 47.36-21.12 73.856-41.514666 26.624-20.522667 44.842667-44.288 54.784-71.552h70.485334z m207.488 60.842666c-11.306667 0-21.461333 3.413333-30.336 10.24-8.874667 6.826667-15.786667 19.157333-20.693334 36.864-6.4 22.997333-9.642667 61.653333-9.642666 115.968 0 54.442667 2.944 91.733333 8.661333 112.128 5.802667 20.352 13.098667 33.877333 21.845333 40.618667 8.789333 6.741333 18.858667 10.154667 30.165334 10.154667 11.349333 0 21.376-3.498667 30.250666-10.325334 8.874667-6.826667 15.786667-19.157333 20.693334-36.778666 6.4-22.826667 9.642667-61.354667 9.642666-115.797334 0-54.314667-2.858667-91.648-8.661333-112.042666-5.802667-20.352-13.013333-33.962667-21.76-40.789334a47.616 47.616 0 0 0-30.165333-10.24z" fill="#FFFFFF"></path></svg>`
|
|
14272
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512.042667 1024C229.248 1024 0 794.794667 0 511.957333 0 229.205333 229.248 0 512.042667 0 794.752 0 1024 229.205333 1024 511.957333 1024 794.794667 794.752 1024 512.042667 1024z" fill="#6D768D"></path><path d="M619.946667 273.066667c46.976 0 83.754667 16.042667 110.250666 48.042666 31.573333 37.973333 47.36 100.864 47.36 188.672 0 87.722667-15.829333 150.698667-47.658666 189.056-26.325333 31.616-62.976 47.36-109.952 47.36-47.274667 0-85.418667-17.237333-114.346667-51.968-28.885333-34.602667-43.392-96.426667-43.392-185.386666 0-87.168 15.872-150.016 47.701333-188.416 26.282667-31.488 62.933333-47.36 110.037334-47.36z m-207.488 12.8v452.266666H325.504V411.690667A299.904 299.904 0 0 1 213.333333 476.373333V398.933333c22.656-7.296 47.36-21.12 73.856-41.514666 26.624-20.522667 44.842667-44.288 54.784-71.552h70.485334z m207.488 60.842666c-11.306667 0-21.461333 3.413333-30.336 10.24-8.874667 6.826667-15.786667 19.157333-20.693334 36.864-6.4 22.997333-9.642667 61.653333-9.642666 115.968 0 54.442667 2.944 91.733333 8.661333 112.128 5.802667 20.352 13.098667 33.877333 21.845333 40.618667 8.789333 6.741333 18.858667 10.154667 30.165334 10.154667 11.349333 0 21.376-3.498667 30.250666-10.325334 8.874667-6.826667 15.786667-19.157333 20.693334-36.778666 6.4-22.826667 9.642667-61.354667 9.642666-115.797334 0-54.314667-2.858667-91.648-8.661333-112.042666-5.802667-20.352-13.013333-33.962667-21.76-40.789334a47.616 47.616 0 0 0-30.165333-10.24z" fill="#FFFFFF"></path></svg>`
|
|
13765
14273
|
}
|
|
13766
14274
|
]
|
|
13767
14275
|
},
|
|
@@ -13771,35 +14279,35 @@ const nodeIconList = [
|
|
|
13771
14279
|
list: [
|
|
13772
14280
|
{
|
|
13773
14281
|
name: "1",
|
|
13774
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 928c-229.76 0-416-186.24-416-416S282.24 96 512 96V512l294.144-294.144A414.72 414.72 0 0 1 928 512c0 229.76-186.24 416-416 416z" fill="#FFFFFF"></path></svg>`
|
|
14282
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 928c-229.76 0-416-186.24-416-416S282.24 96 512 96V512l294.144-294.144A414.72 414.72 0 0 1 928 512c0 229.76-186.24 416-416 416z" fill="#FFFFFF"></path></svg>`
|
|
13775
14283
|
},
|
|
13776
14284
|
{
|
|
13777
14285
|
name: "2",
|
|
13778
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 928c-229.76 0-416-186.24-416-416S282.24 96 512 96V512h416c0 229.76-186.24 416-416 416z" fill="#FFFFFF"></path></svg>`
|
|
14286
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 928c-229.76 0-416-186.24-416-416S282.24 96 512 96V512h416c0 229.76-186.24 416-416 416z" fill="#FFFFFF"></path></svg>`
|
|
13779
14287
|
},
|
|
13780
14288
|
{
|
|
13781
14289
|
name: "3",
|
|
13782
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 928c-229.76 0-416-186.24-416-416S282.24 96 512 96V512l294.144 294.144A414.72 414.72 0 0 1 512 928z" fill="#FFFFFF"></path></svg>`
|
|
14290
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 928c-229.76 0-416-186.24-416-416S282.24 96 512 96V512l294.144 294.144A414.72 414.72 0 0 1 512 928z" fill="#FFFFFF"></path></svg>`
|
|
13783
14291
|
},
|
|
13784
14292
|
{
|
|
13785
14293
|
name: "4",
|
|
13786
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 928c-229.76 0-416-186.24-416-416S282.24 96 512 96v832z" fill="#FFFFFF"></path></svg>`
|
|
14294
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 928c-229.76 0-416-186.24-416-416S282.24 96 512 96v832z" fill="#FFFFFF"></path></svg>`
|
|
13787
14295
|
},
|
|
13788
14296
|
{
|
|
13789
14297
|
name: "5",
|
|
13790
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 512l-294.144 294.144A414.72 414.72 0 0 1 96 512c0-229.76 186.24-416 416-416V512z" fill="#FFFFFF"></path></svg>`
|
|
14298
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 512l-294.144 294.144A414.72 414.72 0 0 1 96 512c0-229.76 186.24-416 416-416V512z" fill="#FFFFFF"></path></svg>`
|
|
13791
14299
|
},
|
|
13792
14300
|
{
|
|
13793
14301
|
name: "6",
|
|
13794
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 512H96c0-229.76 186.24-416 416-416V512z" fill="#FFFFFF"></path></svg>`
|
|
14302
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 512H96c0-229.76 186.24-416 416-416V512z" fill="#FFFFFF"></path></svg>`
|
|
13795
14303
|
},
|
|
13796
14304
|
{
|
|
13797
14305
|
name: "7",
|
|
13798
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 512L217.856 217.856A414.72 414.72 0 0 1 512 96V512z" fill="#FFFFFF"></path></svg>`
|
|
14306
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.752 0 512 0z" fill="#12BB37"></path><path d="M512 512L217.856 217.856A414.72 414.72 0 0 1 512 96V512z" fill="#FFFFFF"></path></svg>`
|
|
13799
14307
|
},
|
|
13800
14308
|
{
|
|
13801
14309
|
name: "8",
|
|
13802
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M0 512c0 282.752 229.248 512 512 512s512-229.248 512-512S794.752 0 512 0 0 229.248 0 512z" fill="#12BB37"></path><path d="M716.629333 341.333333h-51.328a35.072 35.072 0 0 0-28.330666 14.293334l-171.989334 233.984-77.909333-106.026667a35.2 35.2 0 0 0-28.330667-14.293333H307.413333c-7.082667 0-11.264 7.936-7.082666 13.653333l136.32 185.472a35.2 35.2 0 0 0 56.533333 0l230.4-313.429333a8.533333 8.533333 0 0 0-6.954667-13.653334z" fill="#FFFFFF"></path></svg>`
|
|
14310
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M0 512c0 282.752 229.248 512 512 512s512-229.248 512-512S794.752 0 512 0 0 229.248 0 512z" fill="#12BB37"></path><path d="M716.629333 341.333333h-51.328a35.072 35.072 0 0 0-28.330666 14.293334l-171.989334 233.984-77.909333-106.026667a35.2 35.2 0 0 0-28.330667-14.293333H307.413333c-7.082667 0-11.264 7.936-7.082666 13.653333l136.32 185.472a35.2 35.2 0 0 0 56.533333 0l230.4-313.429333a8.533333 8.533333 0 0 0-6.954667-13.653334z" fill="#FFFFFF"></path></svg>`
|
|
13803
14311
|
}
|
|
13804
14312
|
]
|
|
13805
14313
|
},
|
|
@@ -13809,83 +14317,83 @@ const nodeIconList = [
|
|
|
13809
14317
|
list: [
|
|
13810
14318
|
{
|
|
13811
14319
|
name: "1",
|
|
13812
|
-
icon: `<svg
|
|
14320
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1026 1024"><path d="M1.097856 1.097642h1021.804717v1021.804716H1.097856z" fill="#F09495" ></path><path d="M1024.000214 1024H0.000214V0h1024v1024z m-1021.804716-2.195284h1019.609433V2.195284H2.195498v1019.609432z" fill="#FFFFFF" ></path><path d="M234.695985 335.179887m-27.341259 0a27.341259 27.341259 0 1 0 54.682518 0 27.341259 27.341259 0 1 0-54.682518 0Z" fill="#040000" ></path><path d="M234.695985 363.519002c-15.666342 0-28.339115-12.772559-28.339115-28.339115 0-15.666342 12.772559-28.339115 28.339115-28.339115s28.339115 12.772559 28.339115 28.339115c0.099786 15.666342-12.672773 28.339115-28.339115 28.339115z m0-54.582732c-14.468914 0-26.243617 11.774703-26.243617 26.243617s11.774703 26.243617 26.243617 26.243617 26.243617-11.774703 26.243617-26.243617-11.774703-26.243617-26.243617-26.243617z" fill="#FFFFFF" ></path><path d="M776.232528 335.179887m-27.341259 0a27.341259 27.341259 0 1 0 54.682518 0 27.341259 27.341259 0 1 0-54.682518 0Z" fill="#040000" ></path><path d="M776.232528 363.519002c-15.666342 0-28.339115-12.772559-28.339115-28.339115 0-15.666342 12.772559-28.339115 28.339115-28.339115 15.666342 0 28.339115 12.772559 28.339115 28.339115 0 15.666342-12.772559 28.339115-28.339115 28.339115z m0-54.582732c-14.468914 0-26.243617 11.774703-26.243617 26.243617s11.774703 26.243617 26.243617 26.243617 26.243617-11.774703 26.243617-26.243617c-0.099786-14.468914-11.874488-26.243617-26.243617-26.243617z" fill="#FFFFFF" ></path><path d="M512.000214 671.656987c-52.58702 0-105.872539-17.961411-105.872539-52.387449S459.413194 566.882089 512.000214 566.882089s105.872539 17.961411 105.87254 52.387449S564.587234 671.656987 512.000214 671.656987z m0-74.240499c-21.952836 0-43.207172 3.592282-58.2748 9.77899-13.870201 5.68778-17.06334 11.275775-17.06334 12.07406s3.19314 6.386279 17.06334 12.07406c15.067628 6.186708 36.321965 9.77899 58.2748 9.77899s43.207172-3.592282 58.274801-9.77899c13.870201-5.68778 17.06334-11.275775 17.06334-12.07406s-3.19314-6.386279-17.06334-12.07406c-15.067628-6.286494-36.321965-9.77899-58.274801-9.77899z" fill="#040000" ></path></svg>`
|
|
13813
14321
|
},
|
|
13814
14322
|
{
|
|
13815
14323
|
name: "2",
|
|
13816
|
-
icon: `<svg
|
|
14324
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M0 0h1024v1024H0z" fill="#E6A6C9" ></path><path d="M315.1 368.1c-23.9 0-43.3-19.4-43.3-43.3s19.4-43.3 43.3-43.3 43.3 19.4 43.3 43.3-19.4 43.3-43.3 43.3z m0-74.7c-17.3 0-31.3 14.1-31.3 31.3 0 17.3 14.1 31.3 31.3 31.3 17.3 0 31.3-14.1 31.3-31.3 0-17.2-14-31.3-31.3-31.3zM738.7 368.1c-23.9 0-43.3-19.4-43.3-43.3s19.4-43.3 43.3-43.3 43.3 19.4 43.3 43.3-19.4 43.3-43.3 43.3z m0-74.7c-17.3 0-31.3 14.1-31.3 31.3 0 17.3 14.1 31.3 31.3 31.3 17.3 0 31.3-14.1 31.3-31.3 0-17.2-14-31.3-31.3-31.3zM293.5 698.8l-14.5-1.3c0.1-0.6 1.5-14.6 15.1-27.9 17.2-16.7 45-24.8 82.7-24 4.9-0.1 10.9-10.5 16.1-19.6 8.4-14.7 19-33.1 37.9-34.3 19.4-1.2 42.2 16.4 71.5 55.4 9.9 5.2 16.5 11.2 21.8 16.1 8.4 7.7 13.1 11.9 25.1 10.8 14.9-1.4 38.9-11.1 77.5-31.4 26.8-28.4 56.4-41.4 83.5-36.6 27.9 4.9 50.6 27.6 67.5 67.5l-13.4 5.7c-14.7-34.5-34.3-54.9-56.7-58.8-22.3-3.9-47.6 7.8-71.2 33.1l-0.8 0.9-1.1 0.6c-85.6 45.1-99.4 38-120.2 19.1-5.5-5-11.2-10.2-20.1-14.7l-1.5-0.8-1-1.4c-32.2-43.2-50.4-51.6-60-51-11.1 0.7-18.8 14-26.2 27-7.6 13.2-15.4 26.9-28.8 26.9h-0.2c-78.4-1.6-83 38.3-83 38.7z" fill="#040000" ></path></svg>`
|
|
13817
14325
|
},
|
|
13818
14326
|
{
|
|
13819
14327
|
name: "3",
|
|
13820
|
-
icon: `<svg
|
|
14328
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1026 1024" ><path d="M1.1 1.097642h1021.804716v1021.804716H1.1z" fill="#F7E983" ></path><path d="M1024.002358 1024H0.002358V0h1024v1024z m-1021.804716-2.195284h1019.609433V2.195284H2.197642v1019.609432z" fill="#FFFFFF" ></path><path d="M329.174412 344.491728a38.118106 10.277919 57.6 1 0 17.355867-11.014369 38.118106 10.277919 57.6 1 0-17.355867 11.014369Z" fill="#040000" ></path><path d="M644.769475 355.956059a11.175989 36.321965 30 1 0 36.321965-62.911488 11.175989 36.321965 30 1 0-36.321965 62.911488Z" fill="#040000" ></path><path d="M569.678445 671.158059c-26.343403 0-51.190021-5.288638-70.049503-14.967843-20.755408-10.577275-32.230754-25.445332-32.230755-41.710388 0-16.265056 11.475346-31.133112 32.230755-41.710387 18.859482-9.579419 43.805886-14.967843 70.049503-14.967843s51.190021 5.288638 70.049503 14.967843c20.755408 10.577275 32.230754 25.445332 32.230754 41.710387 0 16.265056-11.475346 31.133112-32.230754 41.710388-18.859482 9.679205-43.805886 14.967843-70.049503 14.967843z m0-95.095693c-49.693237 0-84.318846 20.356266-84.318846 38.517248s34.625609 38.517248 84.318846 38.517248 84.318846-20.356266 84.318846-38.517248-34.725395-38.517248-84.318846-38.517248z" fill="#040000" ></path></svg>`
|
|
13821
14329
|
},
|
|
13822
14330
|
{
|
|
13823
14331
|
name: "4",
|
|
13824
|
-
icon: `<svg
|
|
14332
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1026 1024" ><path d="M1.1 1.097642h1021.804716v1021.804716H1.1z" fill="#A6D9E2" ></path><path d="M1024.002358 1024H0.002358V0h1024v1024z m-1021.804716-2.195284h1019.609433V2.195284H2.197642v1019.609432z" fill="#FFFFFF" ></path><path d="M376.194134 348.950302m-23.44962 0a23.44962 23.44962 0 1 0 46.89924 0 23.44962 23.44962 0 1 0-46.89924 0Z" fill="#040000" ></path><path d="M629.150672 348.950302m-24.647047 0a24.647047 24.647047 0 1 0 49.294095 0 24.647047 24.647047 0 1 0-49.294095 0Z" fill="#040000" ></path><path d="M397.847613 603.503411c13.471058 8.282206 28.738258 14.468914 43.7061 19.458195 29.835899 9.978562 62.266225 14.169558 93.299551 7.483921 21.054765-4.490353 40.213604-14.369129 56.778016-28.039758 6.785422-5.587995-2.893783-15.167414-9.579419-9.579419-46.999026 38.916391-112.258819 31.033327-163.847983 6.086922-4.590138-2.195284-9.080491-4.490353-13.371272-7.184564-7.583707-4.590138-14.468914 7.184564-6.984993 11.774703z" fill="#040000" ></path><path d="M627.753674 534.052621c-31.033327 24.048334-58.474371 68.253362-37.419607 106.970182 10.577275 19.35841 29.835899 32.629897 48.795167 42.708244 7.982849 4.190996 15.067628-7.883064 7.084779-12.07406-25.245761-13.271487-53.485091-35.324108-49.094524-66.557006 2.793997-20.156695 15.766127-37.319821 29.736114-51.190022 3.392711-3.392711 6.984993-6.785422 10.776847-9.77899 2.993569-2.295069 2.394855-7.483921 0-9.878776-2.893783-3.19314-6.885208-2.49464-9.878776-0.199572z" fill="#040000" ></path></svg>`
|
|
13825
14333
|
},
|
|
13826
14334
|
{
|
|
13827
14335
|
name: "5",
|
|
13828
|
-
icon: `<svg
|
|
14336
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1026 1024" ><path d="M1.1 1.097642h1021.804716v1021.804716H1.1z" fill="#AD6F59" ></path><path d="M1024.002358 1024H0.002358V0h1024v1024z m-1021.804716-2.195284h1019.609433V2.195284H2.197642v1019.609432z" fill="#FFFFFF" ></path><path d="M411.829832 330.730879a38.118106 10.277919 57.6 1 0 17.355867-11.014368 38.118106 10.277919 57.6 1 0-17.355867 11.014368Z" fill="#040000" ></path><path d="M480.669675 609.989476c11.774703-25.844475 27.740401-51.788735 44.60417-73.342429 13.770415-17.462483 29.237186-33.92711 47.897096-44.803742 17.262912-10.078347 35.324108-13.67063 54.283376-6.58585 11.974274 4.390567 23.948548 14.468914 33.128825 24.547261 14.369129 15.865913 25.145975 34.625609 34.725394 53.684662 4.290782 8.581563 17.262912 0.997856 12.972131-7.583707-15.167414-30.334828-35.224323-63.763009-66.157864-80.327421-21.054765-11.37556-44.504385-11.475346-66.157864-1.895927-21.054765 9.280062-38.617034 25.644904-53.485091 42.907815-14.468914 16.863769-27.041902 35.324108-38.217891 54.582733-5.887351 10.178133-11.674917 20.555837-16.464627 31.232898-1.696355 3.692068-0.997856 7.982849 2.694212 10.277918 3.19314 1.895927 8.581563 0.898071 10.178133-2.694211z" fill="#040000" ></path><path d="M663.863649 338.091735a14.468914 33.727538 30 1 0 33.727538-58.417811 14.468914 33.727538 30 1 0-33.727538 58.417811Z" fill="#040000" ></path></svg>`
|
|
13829
14337
|
},
|
|
13830
14338
|
{
|
|
13831
14339
|
name: "6",
|
|
13832
|
-
icon: `<svg
|
|
14340
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M762.9 77.4H261.1L10.2 512l250.9 434.6h501.8L1013.8 512z" fill="#83CEE3" ></path><path d="M369 375.8m-34.6 0a34.6 34.6 0 1 0 69.2 0 34.6 34.6 0 1 0-69.2 0Z" fill="#040000" ></path><path d="M369 411.7c-19.8 0-36-16.1-36-36s16.1-36 36-36 36 16.1 36 36-16.1 36-36 36z m0-69.1c-18.3 0-33.2 14.9-33.2 33.2S350.7 409 369 409s33.2-14.9 33.2-33.2-14.9-33.2-33.2-33.2z" fill="#FFFFFF" ></path><path d="M672.2 333.6c-15.1 7.6-30.2 15.6-44.3 25-5.9 3.9-17 10.4-14.6 19.1 1.8 6.5 12 11.2 17.3 14.3 15.7 9.3 32.1 17.6 48.3 25.9 8.6 4.4 16.2-8.5 7.6-13-14.1-7.3-28.3-14.5-42.1-22.3-3.9-2.2-7.9-4.5-11.7-6.9-1.2-0.8-2.4-1.5-3.5-2.4-0.6-0.4-1.1-0.8-1.6-1.2 2.2 1.7-0.3-0.3-0.3-0.3-0.9 0.1-1.5-3.2-0.2 0.5 0.9 2.4 1.1 3.8 0.3 5.8 0.6-1.5-0.9 0.8-0.1 0 0.5-0.5 1-1.1 1.6-1.6 0.5-0.5 1-0.9 1.6-1.3 0.6-0.5 0 0 1.2-0.9 1.7-1.3 3.5-2.5 5.3-3.6 8.4-5.5 17.2-10.4 26-15.2 5.6-3 11.2-6 16.8-8.9 8.6-4.4 1-17.3-7.6-13zM578.2 720.9c-12.5-96.7-33.3-154.7-55.6-155.6-8.8 3.9-22.3 17.5-37.7 60.1-10.8 29.8-18.4 62.2-23 81.6-1.2 5.1-2.1 9.1-2.9 11.8l-9.3-2.4c0.7-2.6 1.6-6.6 2.8-11.6 14.9-63 36-136.8 67.5-148.8l0.8-0.3h0.8c18.2-0.4 33.2 19.5 45.8 60.8 10.2 33.3 16.7 74.6 20.5 103.3l-9.7 1.1z" fill="#040000" ></path></svg>`
|
|
13833
14341
|
},
|
|
13834
14342
|
{
|
|
13835
14343
|
name: "7",
|
|
13836
|
-
icon: `<svg
|
|
14344
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M762.9 77.4H261.1L10.2 512l250.9 434.6h501.8L1013.8 512z" fill="#8CC66D" ></path><path d="M375.778679 404.47473a14.5 33.8 30 1 0 33.8-58.543317 14.5 33.8 30 1 0-33.8 58.543317Z" fill="#040000" ></path><path d="M627.220263 374.211388a43.1 11.6 57.6 1 0 19.588408-12.431182 43.1 11.6 57.6 1 0-19.588408 12.431182Z" fill="#040000" ></path><path d="M451.1 548.5c17.6-9.3 63.9-30 105.3-16.2 17 20.3 32.7 98.8 28.8 138.1-27.5 10.2-82.5 10.2-106.1 5.8-8.3-10.5-32.7-81.8-35.3-114.6-0.4-5.5 2.5-10.6 7.3-13.1z" fill="#040000" ></path></svg>`
|
|
13837
14345
|
},
|
|
13838
14346
|
{
|
|
13839
14347
|
name: "8",
|
|
13840
|
-
icon: `<svg
|
|
14348
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M762.9 77.4H261.1L10.2 512l250.9 434.6h501.8L1013.8 512z" fill="#5A74B8" ></path><path d="M357.7 400m-34.6 0a34.6 34.6 0 1 0 69.2 0 34.6 34.6 0 1 0-69.2 0Z" fill="#040000" ></path><path d="M357.7 436c-19.8 0-36-16.1-36-36s16.1-36 36-36 36 16.1 36 36-16.2 36-36 36z m0-69.2c-18.3 0-33.2 14.9-33.2 33.2s14.9 33.2 33.2 33.2 33.2-14.9 33.2-33.2-14.9-33.2-33.2-33.2z" fill="#FFFFFF" ></path><path d="M676 400m-34.6 0a34.6 34.6 0 1 0 69.2 0 34.6 34.6 0 1 0-69.2 0Z" fill="#040000" ></path><path d="M676 436c-19.8 0-36-16.1-36-36s16.1-36 36-36 36 16.1 36 36-16.2 36-36 36z m0-69.2c-18.3 0-33.2 14.9-33.2 33.2s14.9 33.2 33.2 33.2c18.3 0 33.2-14.9 33.2-33.2s-14.9-33.2-33.2-33.2z" fill="#FFFFFF" ></path><path d="M347.6 684.1c0.3-0.9 0.6-1.7 0.9-2.6 0.2-0.5 1.4-3.2 0.3-0.8 0.6-1.4 1.3-2.9 2-4.3 3.2-6.3 6-10.7 10.9-15.3 4.3-4 10.8-7.5 17.1-6.1 3.9 0.9 7.9 4.9 11.1 7.2 3.1 2.2 6.3 4.5 9.7 6.2 7.5 3.8 15.3 4.4 23.4 1.9 4.7-1.5 9.2-3.6 13.6-5.9 5-2.6 10.7-5 14.2-9.5 4.5-5.7 6.1-8.5 11.4-14.1 1-1 2-2 3.1-3 0.2-0.2 2.2-1.7 0.6-0.5 0.6-0.4 1.2-0.9 1.8-1.3 1-0.6 2.1-1.3 3.2-1.7-2 0.8 0.2 0 0.6-0.1 2.3-0.7-0.3-0.2 1.2-0.3 2.8-0.1 3.6 0 5.5 1 3.8 1.9 6.6 4.7 9.5 7.8 4.5 5 7.5 11.1 11.7 16.2 1.8 2.2 3.7 4.3 5.4 6.5 8.1 10.3 17.7 22.2 32.2 22 8.8-0.1 16.6-5.2 22.6-11.2 4.2-4.1 7.7-8.9 11-13.7 2.9-4.2 4.6-9.9 6.2-13.5 3.2-7.1 7.2-13.1 13-18.1 4.8-4.2 11.1-6.5 16.7-5.3 10.5 2.4 17.2 12.1 23.1 20.2 4.7 6.5 9.8 13 16 18.2 7.8 6.4 17.1 11.4 27.5 11.1 14.1-0.4 25.5-9.5 34.2-19.9 3-3.6 3.6-8.8 0-12.4-3.1-3.1-9.4-3.7-12.4 0-6.3 7.6-14.7 15.9-24.9 14.7-2.2-0.3-5.3-1.5-7.9-3.1-3.5-2.1-6.1-4.4-9.1-7.5-4.9-5.1-6.8-8.1-10.9-13.8-7.3-10.1-16.1-19.6-28.2-23.7-18.5-6.3-35.7 5.6-46 20.1-2.4 3.3-4.4 6.9-6.1 10.6-1.8 3.9-2.7 8.5-5.2 11.9-3.1 4.4-6.2 8.8-10.2 12.5-3 2.8-5.7 4.4-8.6 5.1-0.4 0.1-1.7 0.1 0.1 0h-2.2c2.1 0.1 0 0-0.5-0.1-0.7-0.2-1.4-0.4-2-0.6 1.8 0.7-1.8-1.1-2.4-1.5l-1.2-0.9c1.5 1.2-0.9-0.9-1.2-1.1-4.7-4.3-8.4-9.5-12.3-14.4-10.9-13.6-20.9-34-41-34.9-14.2-0.6-24.5 10.6-32.4 20.8-1.2 1.6-2.5 3.2-3.7 4.8-1.5 1.9 1.1-1.4-0.4 0.5-0.4 0.5-0.8 1.2-1.3 1.6-1.7 1.4-4.6 2.6-6.6 3.6-2.9 1.6-5.9 3.2-9 4.5-1.6 0.7-3.4 1.2-5.1 1.7-2.2 0.6-0.7 0.5-2.8 0.4-2.8 0-3.9-0.4-6.6-1.9-3.9-2.2-7.5-4.9-11.1-7.5-5.6-4-10-6.9-17-7.5-10.5-0.9-20.3 3.2-28.2 9.9-9.4 8.1-16.4 20.2-20.1 32-3.6 11.2 13.3 15.8 16.8 5.1z" fill="#040000" ></path></svg>`
|
|
13841
14349
|
},
|
|
13842
14350
|
{
|
|
13843
14351
|
name: "9",
|
|
13844
|
-
icon: `<svg
|
|
14352
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M762.9 77.4H261.1L10.2 512l250.9 434.6h501.8L1013.8 512z" fill="#F0884F" ></path><path d="M287.2 382c6.4 2.3 11.6-3.7 15.4-7.9 5.1-5.5 10.2-11 16-15.9 0.8-0.7 1.7-1.4 2.5-2.1 1.2-0.9-1.7 1.3 0.2-0.2l1.2-0.9c2.1-1.5 4.3-2.9 6.5-4.3 2-1.2 4-2.2 6.1-3.2 0.6-0.3 1.2-0.6 1.9-0.9-0.3 0.2-1.5 0.6 0.2-0.1 1.3-0.5 2.6-1 4-1.5 11.2-3.7 21.8-4 33.4-1.1 19.5 4.9 36.4 17 51.2 30.2 8.6 7.7 21.4-5 12.7-12.7-25.2-22.6-57.1-42.1-92.2-36.2-20.4 3.4-37.7 16.1-51.6 30.9-2.3 2.4-4.5 5-6.8 7.4-0.7 0.7-1.9 1.5-2.4 2.4-0.5 0.8 2.3-1.5 0.8-0.7 1.3-0.7 3.9-1.4 5.8-0.7-11.1-3.7-15.8 13.7-4.9 17.5zM598 382c6.4 2.3 11.6-3.7 15.4-7.9 5.1-5.5 10.2-11 16-15.9 0.8-0.7 1.7-1.4 2.5-2.1 1.2-0.9-1.7 1.3 0.2-0.2l1.2-0.9c2.1-1.5 4.3-2.9 6.5-4.3 2-1.2 4-2.2 6.1-3.2 0.6-0.3 1.2-0.6 1.9-0.9-0.3 0.2-1.5 0.6 0.2-0.1 1.3-0.5 2.6-1 4-1.5 11.2-3.7 21.8-4 33.4-1.1 19.5 4.9 36.4 17 51.2 30.2 8.6 7.7 21.4-5 12.7-12.7-25.2-22.6-57.1-42.1-92.2-36.2-20.4 3.4-37.7 16.1-51.6 30.9-2.3 2.4-4.5 5-6.8 7.4-0.7 0.7-1.9 1.5-2.4 2.4-0.5 0.8 2.3-1.5 0.8-0.7 1.3-0.7 3.9-1.4 5.8-0.7-11.1-3.7-15.8 13.7-4.9 17.5zM505.9 527.1c3.4 0.7 6.8 1.7 10.2 2.8 6.7 2.2 10.4 3.5 16.6 7.7 1.6 1.1-0.5-0.5 0.6 0.5 0.6 0.5 1.1 1.1 1.7 1.6 1.5 1.4-0.1-0.4 0.5 0.6 0.4 0.6 0.7 1.2 1 1.8-1-2 0.1 0 0 0.5 0.1-2-0.1 0-0.1 0-0.1 0.8 0 0.7 0.1-0.5-0.1 0.4-0.1 0.7-0.3 1.1-0.6 1 0.7-0.9-0.4 1-1.6 2.5-4.6 5.4-8.1 7.8-6.8 4.6-14.4 8.2-22 11.4-7 3-7.4 11.9 0 14.8 7.4 2.8 15 5.3 22.4 8.1 3.1 1.1 4.2 1.5 6.9 2.9 1.1 0.6 2.1 1.2 3.2 1.8 1.2 0.8-0.7-0.5 0.1 0 0.4 0.3 0.8 0.7 1.1 1.1 0.6 0.8-1.1-1.2-0.2-0.2 0.8 0.9-0.3-1.4-0.1-0.2 0.1 0.9 0.2-1.9 0-0.9-0.1 0.5-0.8 1.8 0 0.2-0.2 0.5-0.5 1-0.8 1.4-0.3 0.3-0.9 1.3-0.3 0.5-0.5 0.7-1.1 1.3-1.7 1.9-6.9 7.3-15.9 12.8-24.4 18.1-8.3 5.3-0.6 18.5 7.7 13.2 9.9-6.3 20.9-12.8 28.6-21.8 4.8-5.5 8.1-12.9 4.2-19.9-3.4-6-10.5-8.9-16.6-11.4-8.6-3.5-17.5-6.2-26.2-9.5v14.8c14.4-6.1 47.2-18.8 41.2-40.3-3.5-12.9-19.4-18.9-30.8-22.6-3.4-1.1-6.9-2.1-10.5-2.9-9.1-2.2-13.3 12.5-3.6 14.6z" fill="#040000" ></path></svg>`
|
|
13845
14353
|
},
|
|
13846
14354
|
{
|
|
13847
14355
|
name: "10",
|
|
13848
|
-
icon: `<svg
|
|
14356
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M762.9 77.4H261.1L10.2 512l250.9 434.6h501.8L1013.8 512z" fill="#F6F180" ></path><path d="M342.9 400.6m-29.5 0a29.5 29.5 0 1 0 59 0 29.5 29.5 0 1 0-59 0Z" fill="#040000" ></path><path d="M342.9 431.3c-16.9 0-30.7-13.8-30.7-30.7s13.8-30.7 30.7-30.7 30.7 13.8 30.7 30.7-13.7 30.7-30.7 30.7z m0-59c-15.6 0-28.3 12.7-28.3 28.3s12.7 28.3 28.3 28.3 28.3-12.7 28.3-28.3-12.6-28.3-28.3-28.3z" fill="#FFFFFF" ></path><path d="M702 400.6m-29.5 0a29.5 29.5 0 1 0 59 0 29.5 29.5 0 1 0-59 0Z" fill="#040000" ></path><path d="M702 431.3c-16.9 0-30.7-13.8-30.7-30.7s13.8-30.7 30.7-30.7 30.7 13.8 30.7 30.7-13.8 30.7-30.7 30.7z m0-59c-15.6 0-28.3 12.7-28.3 28.3s12.7 28.3 28.3 28.3 28.3-12.7 28.3-28.3-12.7-28.3-28.3-28.3z" fill="#FFFFFF" ></path><path d="M358.7 519.9c20 22 45.5 40.4 71.3 54.8 51.2 28.5 111.7 39.9 168 19.5 44.3-16.1 80.7-47.8 110.2-83.9 3-3.7 3.6-8.9 0-12.5-3.1-3.1-9.5-3.7-12.5 0-25.5 31.4-56.2 59.7-93.7 76-27.1 11.7-56.6 15.7-85.8 12.2-24.7-2.9-49.5-11.8-71.5-23.4-18.7-9.8-36.6-22.2-51.1-34.3-7.8-6.5-15.5-13.3-22.4-20.9-7.7-8.5-20.1 4.1-12.5 12.5z" ></path></svg>`
|
|
13849
14357
|
},
|
|
13850
14358
|
{
|
|
13851
14359
|
name: "11",
|
|
13852
|
-
icon: `<svg
|
|
14360
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M48.2 844.9c-68.5-210.6 186-782.1 409.1-795.4 6.3-0.4 12.5 0.2 18.6 1.6C665.1 94.6 985.4 515 987.1 821.3c0.1 20-12.9 37.9-22.4 43.1-162.7 89.8-605.8 179.7-884.4 30.9-15-7.9-24.2-26.1-32.1-50.4z" fill="#F0884F" ></path><path d="M401 352.1m-52.4 0a52.4 52.4 0 1 0 104.8 0 52.4 52.4 0 1 0-104.8 0Z" fill="#FFFFFF" ></path><path d="M408.7 329m-29.3 0a29.3 29.3 0 1 0 58.6 0 29.3 29.3 0 1 0-58.6 0Z" fill="#040000" ></path><path d="M527.5 352.1m-52.4 0a52.4 52.4 0 1 0 104.8 0 52.4 52.4 0 1 0-104.8 0Z" fill="#FFFFFF" ></path><path d="M527.5 329m-29.3 0a29.3 29.3 0 1 0 58.6 0 29.3 29.3 0 1 0-58.6 0Z" fill="#040000" ></path><path d="M450.7 517c1.1-8.2 3.2-16.4 6.1-24.1 0.1-0.3 1-2.5 0.5-1.4s0.3-0.7 0.5-1c0.7-1.4 1.4-2.8 2.2-4.1 0.4-0.8 2.8-3.9 1.3-2.1 0.8-1 1.7-1.9 2.6-2.8 1-1-1.5 1 0.1 0 0.5-0.3 1-0.6 1.5-0.8-1.3 0.7-1.2 0.3 0 0.1 1.9-0.3-1.8 0.3 0.1 0 1.2-0.2 1.5 0.3 0-0.1 0.6 0.2 1.3 0.3 1.9 0.5 0.3 0.1-1.3-0.7 0.2 0.1 0.8 0.5 1.6 0.9 2.4 1.4 1.4 1 0-0.1 1.4 1.1 0.9 0.8 1.8 1.7 2.6 2.6 1.8 1.9 3.5 3.9 5 6.1 5.1 7.1 9.3 14.8 13.2 22.6 3.5 6.9 13.7 4.7 15.8-2.1 2.6-8.7 4.8-17.4 7.4-26.1 0.9-3.2 1.9-6.4 3.2-9.4-0.7 1.6 0.8-1.6 1.2-2.2l0.9-1.5c0.7-1.2-1.4 0.7 0.1-0.1 1.7-0.9-1.2 0.3-0.3 0.1 0.8-0.2 1-1.2 0.3-0.3-0.6 0.8 0.6 0-0.5 0.2-2 0.3 2.4 0.5-1.1 0 0.5 0.1 1.2 0.2 1.6 0.4-1.1-0.8-0.8-0.4 0.2 0.2 0.7 0.4 3.4 2.3 2.7 1.8 8.9 7.1 15.9 16.9 22.5 26 2.8 3.8 7.5 5.6 11.8 3.1 3.7-2.2 5.9-8 3.1-11.8-8.2-11.1-16.6-23-27.7-31.4-6.3-4.7-14.5-7.6-21.7-3-6.7 4.2-9.6 12.5-11.9 19.6-3.2 9.9-5.5 20-8.6 29.9 5.3-0.7 10.5-1.4 15.8-2.1-7.8-15.5-24.8-50.1-48-41.7-14.1 5.1-19.7 23-22.9 36.2-0.9 3.8-1.8 7.7-2.3 11.6-0.6 4.6 1.1 9.3 6 10.6 4.2 1 10.2-1.5 10.8-6.1z" fill="#040000" ></path></svg>`
|
|
13853
14361
|
},
|
|
13854
14362
|
{
|
|
13855
14363
|
name: "12",
|
|
13856
|
-
icon: `<svg
|
|
14364
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M485.538528 993.072489a362.00362 481.804818 3.149 1 0 52.933731-962.15464 362.00362 481.804818 3.149 1 0-52.933731 962.15464Z" fill="#AADCF0" ></path><path d="M688.2 334.1c-15.1 7.6-30.2 15.6-44.3 25-5.9 3.9-17 10.4-14.6 19.1 1.8 6.5 12 11.2 17.3 14.3 15.7 9.3 32.1 17.6 48.3 25.9 8.6 4.4 16.2-8.5 7.6-13-14.1-7.3-28.3-14.5-42.1-22.3-3.9-2.2-7.9-4.5-11.7-6.9-1.2-0.8-2.4-1.5-3.5-2.4-0.6-0.4-1.1-0.8-1.6-1.2 2.2 1.7-0.3-0.3-0.3-0.3-0.9 0.1-1.5-3.2-0.2 0.5 0.9 2.4 1.1 3.8 0.3 5.8 0.6-1.5-0.9 0.8-0.1 0 0.5-0.5 1-1.1 1.6-1.6 0.5-0.5 1-0.9 1.6-1.3 0.6-0.5 0 0 1.2-0.9 1.7-1.3 3.5-2.5 5.3-3.6 8.4-5.5 17.2-10.4 26-15.2 5.6-3 11.2-6 16.8-8.9 8.6-4.4 1-17.4-7.6-13zM375.8 347c13.4 6.8 26.7 14 39.5 21.9 1.8 1.2 3.7 2.3 5.5 3.5 0.9 0.6 1.7 1.2 2.6 1.8 0.9 0.6 1.9 1.4 1.6 1.1 1.1 0.9 2.1 1.9 3.1 2.8 1.2 1 0-0.3 0.1 0 0-0.2-0.8-2.4-0.3-4.1 1.5-5.5 2.3-2.7 0.8-2-0.4 0.2-0.9 0.8-1.3 1.1 1.7-1.4-1.6 1.1-2.3 1.6-3.4 2.3-6.9 4.4-10.4 6.4-14.9 8.6-30.3 16.4-45.6 24.3-8.6 4.4-1 17.4 7.6 13 15-7.7 30.1-15.4 44.8-23.8 6.2-3.6 13.8-7.3 18.7-12.7 7.6-8.3-3.8-16.6-9.9-20.9-8.7-6.1-18-11.3-27.3-16.4-6.5-3.6-13-7.1-19.6-10.4-8.6-4.5-16.3 8.5-7.6 12.8zM412.8 570.9c13.5 7.7 28.5 13.3 43.3 17.9 29.8 9.2 61.7 13.1 92.6 7.3 20.6-3.9 40-12.5 56.6-25.2 2.8-2.2 4.3-5.6 2.3-9-1.6-2.8-6.2-4.5-9-2.3-48.3 36.9-113.3 30-165.6 6.7-4.6-2.1-9.2-4.2-13.7-6.7-7.3-4.2-13.9 7.2-6.5 11.3z" fill="#040000" ></path><path d="M644.6 505.2c-30.1 21.5-60.6 62.5-39.1 99.8 10.7 18.6 30.3 30.9 49.1 40.1 7.8 3.8 14.6-7.9 6.8-11.7-23.6-11.5-53.7-31.4-49.4-60.9 2.8-18.9 15.8-34.6 29.5-47.2 2.5-2.3 5.1-4.6 7.8-6.7 0.5-0.4 0.9-0.7 1.4-1.1-0.4 0.3-1.2 0.9-0.1 0.1l0.9-0.6c6.9-5.1 0.2-16.8-6.9-11.8z" fill="#040000" ></path></svg>`
|
|
13857
14365
|
},
|
|
13858
14366
|
{
|
|
13859
14367
|
name: "13",
|
|
13860
|
-
icon: `<svg
|
|
14368
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M235.1 76.9c75.6-26.5 297.3-90.1 514.2-16.6 16.3 5.5 29.8 17.4 37.1 33 57.5 122.4 127.1 602.1 62.1 785.6a62.58 62.58 0 0 1-32.5 35.8c-109.5 51.8-428.1 136.7-609.3 37.2-14.4-7.9-25-21.3-29.7-37.1-41.9-140.6-37-627.7 19.1-798 6.1-18.7 20.5-33.4 39-39.9z" fill="#F9DABD" ></path><path d="M392.2 360.2m-35.2 0a35.2 35.2 0 1 0 70.4 0 35.2 35.2 0 1 0-70.4 0Z" fill="#040000" ></path><path d="M618.6 360.2m-35.2 0a35.2 35.2 0 1 0 70.4 0 35.2 35.2 0 1 0-70.4 0Z" fill="#040000" ></path><path d="M512 562.6c-36 0-65.3-29.3-65.3-65.3S476 432 512 432s65.3 29.3 65.3 65.3-29.3 65.3-65.3 65.3z m0-122.9c-31.7 0-57.6 25.8-57.6 57.6s25.8 57.6 57.6 57.6c31.7 0 57.6-25.8 57.6-57.6s-25.9-57.6-57.6-57.6z" fill="#040000" ></path></svg>`
|
|
13861
14369
|
},
|
|
13862
14370
|
{
|
|
13863
14371
|
name: "14",
|
|
13864
|
-
icon: `<svg
|
|
14372
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M178.1 971.5c38.1 15.9 98.7 26.6 171.3-12.3 3.7-2 8.4-1.6 11.6 1.1 43.3 35.9 123.3 80.8 236 10.9 3.8-2.4 8.7-2.4 12.6-0.2 41.8 23.9 191.6 58.2 246.6 14.2 4.4-3.5 9.1-6.6 14.5-8.5C1065 909.5 678.2-652 194.3 351c-37.5 77.8-38.4 94.1-71.9 211.3-27.6 96.3-29.1 231.3 1.4 348.1 7.2 27.3 27.3 49.9 54.3 61.1z" fill="#ABAAAA" ></path><path d="M468.9 349H418c-6.1 0-11.1-5-11.1-11.1V336c0-6.1 5-11.1 11.1-11.1h50.9c6.1 0 11.1 5 11.1 11.1v1.9c0 6.1-5 11.1-11.1 11.1zM643 471.9H390c-6.6 0-12-5.4-12-12s5.4-12 12-12h253c6.6 0 12 5.4 12 12s-5.4 12-12 12zM609 349h-61.2c-6 0-11-4.9-11-11v-2.1c0-6 4.9-11 11-11H609c6 0 11 4.9 11 11v2.1c0 6.1-4.9 11-11 11z" fill="#040000" ></path></svg>`
|
|
13865
14373
|
},
|
|
13866
14374
|
{
|
|
13867
14375
|
name: "15",
|
|
13868
|
-
icon: `<svg
|
|
14376
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M673.1 318.7c3.7-17.5 5.6-35.7 5.6-54.4 0-137.9-105.5-249.7-235.6-249.7S207.4 126.4 207.4 264.3c0 55.4 17.1 106.7 45.9 148.1-55.2 63.3-88.6 145.9-88.6 236.3 0 199.2 162.1 360.6 362.1 360.6 200 0 362.1-161.5 362.1-360.6 0.1-147.3-88.7-274-215.8-330z" fill="#4F8A54" ></path><path d="M392 246.2m-47.1 0a47.1 47.1 0 1 0 94.2 0 47.1 47.1 0 1 0-94.2 0Z" fill="#FFFFFF" ></path><path d="M386 252.8m-26.4 0a26.4 26.4 0 1 0 52.8 0 26.4 26.4 0 1 0-52.8 0Z" fill="#040000" ></path><path d="M505.6 246.2m-47.1 0a47.1 47.1 0 1 0 94.2 0 47.1 47.1 0 1 0-94.2 0Z" fill="#FFFFFF" ></path><path d="M501.4 252.8m-26.4 0a26.4 26.4 0 1 0 52.8 0 26.4 26.4 0 1 0-52.8 0Z" fill="#040000" ></path><path d="M474.3 364.8h-50.9c-6.1 0-11.1-5-11.1-11.1v-1.9c0-6.1 5-11.1 11.1-11.1h50.9c6.1 0 11.1 5 11.1 11.1v1.9c0 6.2-5 11.1-11.1 11.1z" fill="#040000" ></path></svg>`
|
|
13869
14377
|
},
|
|
13870
14378
|
{
|
|
13871
14379
|
name: "16",
|
|
13872
|
-
icon: `<svg
|
|
14380
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M246.4 227.6c-166.9 101.1-461.9 344 87 564.1 1.5 0.6 2.9 1.1 4.4 1.6 80.7 27.7 392.8 165.4 641-198.1 40-58.6 38.5-136.2-3.7-193.3C892 289.5 727 201.1 429.1 182.7c-64.1-4-127.8 11.6-182.7 44.9z" fill="#CF92BE" ></path><path d="M617.1 393.4c-17.4 8.8-34.9 18.1-51.2 28.9-6.9 4.6-20.3 12.3-17.4 22.6 1.2 4.3 5.6 7 9 9.5 3.7 2.7 7.6 5 11.5 7.3 18.2 10.8 37.1 20.3 55.9 30 10 5.1 18.9-10 8.8-15.1-16.4-8.4-32.9-16.9-49-26-4.5-2.6-9.1-5.2-13.5-8l-4.5-3c-0.7-0.5-1.3-1-2-1.5 1.6 1.2 0.7 0.4-0.2-0.2-1.3-0.9-0.3-0.9-0.5-0.3 0.2 0.2 0.4 0.5 0.6 0.7 1 1.9 1.3 3.7 0.8 5.7 0.1-0.6 0.7-1.4-0.6 1.3 0.7-1.5-0.1 0-0.2 0.1 0.6-0.6 1.2-1.3 1.9-1.9l1.8-1.5c1.8-1.6-0.6 0.3 1.2-0.9 2-1.5 4.1-2.9 6.2-4.3 10-6.5 20.4-12.4 30.9-18 6.5-3.5 13.1-7 19.7-10.4 9.6-5 0.8-20.1-9.2-15zM323.1 408.5c15.9 8.1 31.7 16.5 46.8 26 2.2 1.4 4.3 2.8 6.5 4.2 1 0.7 1.9 1.3 2.8 2 0.5 0.3 1 0.7 1.4 1.1-1.1-0.9-0.3-0.3 0.3 0.3 1.1 1 2.2 2.2 3.3 3.1 1.4 1.1-1-1.7-0.1-0.1-0.6-1.1-0.9-4.1 0.3-6.7 2.2-4.8 0.7 0.1 0-0.5 0 0-1.1 0.9-1.3 1 2.3-1.9 0 0-0.5 0.4-0.8 0.5-1.5 1.1-2.3 1.6-4 2.7-8.1 5.1-12.3 7.5-17.3 10-35.1 19.1-52.8 28.2-10 5.1-1.2 20.2 8.8 15.1 17.5-9 35-17.9 52-27.7 7.3-4.2 15.9-8.6 21.8-14.7 9.3-9.7-4.3-19.7-11.5-24.7-10.1-7.1-20.9-13.1-31.7-19-7.6-4.2-15.2-8.2-22.9-12.1-9.7-5.2-18.6 9.9-8.6 15zM513 592.1c-12.2 0-24.6-1.4-36.3-4.3-8-2-13.9-8.2-15.4-16.2s1.7-15.8 8.4-20.5c23.2-16.3 60.5-31.9 106.2-13 6.4 2.6 11 8.3 12.3 15.1 1.3 6.7-0.8 13.6-5.7 18.3-13.5 13.1-40.9 20.6-69.5 20.6z m-37.4-32.5c-3.4 2.4-4.9 6.2-4.2 10.2 0.8 4.1 3.6 7.1 7.7 8.1 39.1 9.7 81.2 0.7 96.1-13.7 2.4-2.3 3.4-5.6 2.7-8.9-0.7-3.4-2.9-6.2-6.1-7.5-41.2-17.2-75.1-3.1-96.2 11.8z" fill="#040000" ></path></svg>`
|
|
13873
14381
|
},
|
|
13874
14382
|
{
|
|
13875
14383
|
name: "17",
|
|
13876
|
-
icon: `<svg
|
|
14384
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M1008.6 465.7c0-124.9-95.5-226.2-213.4-226.2-12 0-23.8 1.1-35.2 3.1v-3.1c0-124.9-95.5-226.2-213.4-226.2S333.4 114.6 333.4 239.5c0 2.4 0 4.8 0.1 7.2-17.1-4.7-35-7.2-53.4-7.2-117.8 0-213.4 101.3-213.4 226.2 0 92.1 51.9 171.3 126.3 206.6-13.7 29.9-21.4 63.4-21.4 98.8 0 124.9 95.5 226.2 213.4 226.2 68.8 0 130-34.5 169-88.1 39 53.6 100.2 88.1 169 88.1 117.8 0 213.4-101.3 213.4-226.2 0-41.2-10.4-79.9-28.6-113.1 60.5-39.9 100.8-111.1 100.8-192.3z" fill="#8CC66D" ></path><path d="M437.8 400.7m-24.7 0a24.7 24.7 0 1 0 49.4 0 24.7 24.7 0 1 0-49.4 0Z" fill="#040000" ></path><path d="M649.7 400.7m-24.7 0a24.7 24.7 0 1 0 49.4 0 24.7 24.7 0 1 0-49.4 0Z" fill="#040000" ></path><path d="M527.3 625.9c6.3-14.2 13.1-28.3 17.9-43 6.2-19 8.3-38.6 10.5-58.3l2.1-19.2c0.7-6.2-9-6.1-9.7 0-1.7 16.3-2.8 32.8-5.7 48.9-4.2 23.7-13.8 45-23.5 66.7-2.5 5.6 5.9 10.5 8.4 4.9z" fill="#252525" ></path><path d="M447.7 522.3c20.3-0.1 40.6-0.2 61-0.4l96.6-0.6c7.5 0 14.9-0.1 22.4-0.1 16.6-0.1 16.7-25.9 0-25.8-20.3 0.1-40.6 0.2-61 0.4l-96.6 0.6c-7.5 0-14.9 0.1-22.4 0.1-16.6 0.1-16.7 25.9 0 25.8z" fill="#040000" ></path><path d="M495.4 508.2c-10.3 3.8-9.2 20.9-9.2 29.5 0.1 16 2.1 32.3 6.1 47.8 3.5 13.7 8.7 29.9 20.6 38.7 12.9 9.5 27.6 2.1 37.6-7.9 10.2-10.3 17.8-23 24.7-35.6 11.6-21.3 20.9-43.8 29.7-66.4 3-7.8-9.5-11.1-12.5-3.4-7.4 19.1-15.3 38.1-24.7 56.4-5.9 11.5-12.2 23-20.3 33.1-2.8 3.5-5.8 6.9-9.2 9.8-1.9 1.7-1.4 1.3-3.3 2.5-1.3 0.8-2.6 1.6-3.9 2.2-0.7 0.3 1-0.2-0.8 0.3-0.6 0.2-1.2 0.3-1.8 0.5-1.1 0.3-1.2 0.2-0.5 0.1-0.6 0-1.3 0-1.9 0.1-2.2 0.1 0.6 0.5-1.8-0.2l-1.8-0.6c1.5 0.5 0.2 0.1-0.5-0.3-0.8-0.5-2.9-2.1-1.7-1.1-1-0.9-2-1.7-2.8-2.7-0.4-0.5-0.9-1-1.3-1.5 0.4 0.5 0.1 0.2-0.5-0.7-0.8-1.3-1.7-2.5-2.4-3.9-0.7-1.3-1.4-2.5-2-3.8-0.4-0.8-0.8-1.6-1.1-2.4-0.1-0.2-0.5-1.1 0 0l-0.6-1.5a86.8 86.8 0 0 1-3.3-9.8c-4.4-14.9-6.2-27.9-6.8-42.8-0.3-6.6-0.3-13.1 0.4-19.7 0.2-1.5-0.3 1.5 0.1-0.5l0.3-1.8c0.2-0.9 0.5-1.8 0.7-2.8 0.4-1.9-0.7 1.1 0.3-0.7 0.5-1-1.3 1.2-0.3 0.5-0.3 0.3-1.1 0.8-2 1.1 7.7-2.9 4.3-15.4-3.5-12.5z" fill="#040000" ></path></svg>`
|
|
13877
14385
|
},
|
|
13878
14386
|
{
|
|
13879
14387
|
name: "18",
|
|
13880
|
-
icon: `<svg
|
|
14388
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M75.4 739.8c-78.7-134.4-194-455.7 401.4-579.6 9.8-2 19.2-6.2 29.2-7.5C656.8 133 947.3 205 1000.1 578.4c42.6 223.8 29.7 392.1-822 233.6-43.1-8-80.6-34.4-102.7-72.2z" fill="#F09495" ></path><path d="M704.6 875.4c-129 0-301.8-20.5-526.6-62.3-43.5-8.1-81.2-34.6-103.5-72.7-19.3-32.9-44.8-84.3-57.1-142.5-13.9-65.1-8.8-125.3 15.1-179.2 54.3-122.3 203.7-209.6 444-259.6 4.1-0.9 8.3-2.1 12.3-3.4 5.5-1.7 11.1-3.4 16.9-4.2 29-3.8 75.7-5.9 133.8 5.7 54.5 10.9 105.3 31 150.8 59.9C843.7 251 888.2 296 922.7 351c39.7 63.1 66.1 139.6 78.5 227.3 8.1 42.4 15.2 87.3 12.5 127.9-2.8 42.6-16.4 75.5-41.5 100.7-42.5 42.7-120.3 65-237.8 68.1-9.6 0.2-19.6 0.4-29.8 0.4zM76.3 739.3c22 37.6 59.2 63.7 102.1 71.7 242.5 45.1 424.4 65.3 556.1 61.9 116.9-3.1 194.1-25.2 236.3-67.5 55.4-55.6 44.4-142.5 28.3-226.7C976 415.8 903.4 291.5 789.2 219c-124-78.7-248.1-69.9-283.2-65.3-5.6 0.7-11.2 2.4-16.6 4.1-4.1 1.2-8.3 2.5-12.5 3.4C237.3 211.1 88.5 298 34.5 419.6c-54.6 122.8 2.8 253 41.8 319.7z" fill="#FFFFFF" ></path><path d="M424.1 442.5m-24.7 0a24.7 24.7 0 1 0 49.4 0 24.7 24.7 0 1 0-49.4 0Z" fill="#040000" ></path><path d="M635.9 442.5m-24.7 0a24.7 24.7 0 1 0 49.4 0 24.7 24.7 0 1 0-49.4 0Z" fill="#040000" ></path><path d="M426.2 543.3c17.1 7.9 36.6 26 25.5 46.1-6.9 12.5-19.8 21.2-31.7 28.4-4.5 2.7-0.4 9.8 4.1 7.1 17.4-10.5 41.6-27.6 39-51.1-1.6-14-12.4-24.8-23.5-32.3-3-2-6.1-3.9-9.3-5.4-4.8-2.1-8.9 5-4.1 7.2zM629.5 535.4c-21.8 11.7-40.6 37-25.7 61.3 8.2 13.4 22.2 22.7 35.7 30.3 4.7 2.7 8.9-4.6 4.2-7.2-15.5-8.7-39.9-23.9-36.9-45.2 1.6-11.4 10.7-20.7 19.6-27.2 2.4-1.7 4.8-3.4 7.4-4.8 4.7-2.5 0.4-9.8-4.3-7.2z" fill="#040000" ></path><path d="M457.2 584.6c25.6 25.6 66.7 41 101.8 28.3 18.2-6.6 33.2-19.1 45.5-33.8 4.2-5.1-3-12.4-7.3-7.3-18.5 22-43.3 38.1-73 35-18.6-1.9-36.2-10.8-50.9-22-2.9-2.2-6.1-4.8-8.8-7.5-4.7-4.7-12 2.6-7.3 7.3z" fill="#040000" ></path></svg>`
|
|
13881
14389
|
},
|
|
13882
14390
|
{
|
|
13883
14391
|
name: "19",
|
|
13884
|
-
icon: `<svg
|
|
14392
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M915.9 510.5c8.4-19 13.1-39.8 13.1-61.7 0-90-78.9-162.9-176.2-162.9-3.2 0-6.3 0.1-9.5 0.2v-0.2c0-94.8-116.2-171.6-259.6-171.6S224 191.2 224 286v2c-96.2 0-174.1 72-174.1 160.9 0 38 14.3 73 38.2 100.5-41.8 29.4-68.8 75.9-68.8 128.2 0 88.9 78 160.9 174.1 160.9 17.1 0 33.6-2.3 49.3-6.5 28.9 46.1 88.7 77.7 157.6 77.7 49.4 0 94-16.2 126-42.3 32 26.1 76.6 42.3 126 42.3 77.3 0 143-39.7 166.7-95 3.1 0.2 6.3 0.2 9.5 0.2 97.3 0 176.2-72.9 176.2-162.9 0-60.6-35.7-113.4-88.8-141.5z" fill="#5A74B8" ></path><path d="M357.6 449.5a46.6 73.2 0 1 0 93.2 0 46.6 73.2 0 1 0-93.2 0Z" fill="#FEFEFD" ></path><path d="M357.5 449.5a25.1 39.4 0 1 0 50.2 0 25.1 39.4 0 1 0-50.2 0Z" fill="#040000" ></path><path d="M531.3 449.5a46.6 73.2 0 1 0 93.2 0 46.6 73.2 0 1 0-93.2 0Z" fill="#FEFEFD" ></path><path d="M531.2 449.5a25.1 39.4 0 1 0 50.2 0 25.1 39.4 0 1 0-50.2 0Z" fill="#040000" ></path><path d="M426.7 574.6c20.9 29.9 59.7 52.2 96.2 38.6 19.2-7.2 34.7-21.2 47.6-36.9 2.8-3.5 3.4-8.3 0-11.7-2.9-2.9-8.9-3.5-11.7 0-16.5 20.2-40.9 40.9-68.1 35.5-17.3-3.4-31-13.2-42.9-25.9-2-2.2-3.9-4.4-5.8-6.7-1.6-1.9 1.1 1.5-0.4-0.6-0.2-0.2-0.3-0.5-0.5-0.7-6.2-8.7-20.6-0.4-14.4 8.4z" fill="#040000" ></path></svg>`
|
|
13885
14393
|
},
|
|
13886
14394
|
{
|
|
13887
14395
|
name: "20",
|
|
13888
|
-
icon: `<svg
|
|
14396
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024" ><path d="M792.8 301.4c-8.2 0-16.2 0.4-24.2 1.3-12.3-81.8-129.2-145.9-271.8-145.9-137.1 0-250.5 59.3-269.9 136.6C105.3 295.5 7.4 391.2 7.4 508.9c0 119.1 100.2 215.6 223.7 215.6 5.3 0 10.6-0.2 15.8-0.5 14.4 80.5 130.4 143.2 271.3 143.2 135.9 0 248.6-58.3 269.4-134.6 1.7 0 3.4 0.1 5.1 0.1 123.6 0 223.7-96.5 223.7-215.6s-100-215.7-223.6-215.7z" fill="#F6CD50" ></path><path d="M435.9 431.5m-52.2 0a52.2 52.2 0 1 0 104.4 0 52.2 52.2 0 1 0-104.4 0Z" fill="#FAFAFA" ></path><path d="M588.1 431.5m-52.2 0a52.2 52.2 0 1 0 104.4 0 52.2 52.2 0 1 0-104.4 0Z" fill="#FAFAFA" ></path><path d="M435.9 431.5m-27.8 0a27.8 27.8 0 1 0 55.6 0 27.8 27.8 0 1 0-55.6 0Z" fill="#040000" ></path><path d="M601.9 407.4c-5.7 2.9-11.3 5.9-16.9 9-6.8 3.8-15.3 7.8-20.5 13.8-5.6 6.5 1.6 11.1 6.7 14.4 11.2 7.1 23.3 13 35.1 19 5.7 2.9 10.8-5.7 5.1-8.6-10.9-5.6-21.9-11.1-32.4-17.4-2.4-1.4-4.6-3.1-7-4.6 1 0.6-0.4-0.4-0.4-0.4-1.9-0.3-0.5 4.2 0.5 4.1-0.1 0-0.6 0.3 0.3-0.3 0.5-0.3 1-0.9 1.5-1.3 9.7-7.9 21.9-13.5 33.1-19.2 5.7-2.7 0.6-11.4-5.1-8.5zM406.6 547.6c11.5 14.4 27 26.7 42.7 36.3 32.2 19.8 71.2 27.2 107.6 15.4 29.5-9.6 54.6-29.1 75.5-51.6 10.8-11.6-6.6-29.1-17.5-17.5-9.4 10.1-19.5 19.7-30.8 27.7-4.6 3.2-9.3 6.2-14.2 8.9-5 2.8-9.9 5.1-14.1 6.7-4.6 1.7-9.3 3.2-14.1 4.4-2.2 0.5-4.4 1-6.6 1.4-1 0.2-2 0.3-2.9 0.5 2.6-0.4-2.1 0.2-2.5 0.3-4.1 0.4-8.3 0.5-12.5 0.4-2.2-0.1-4.4-0.2-6.6-0.4-1.1-0.1-2.2-0.2-3.2-0.3-1.5-0.2-1.4-0.2 0.1 0l-2.1-0.3c-7.8-1.3-15.4-3.4-22.8-6.2-0.9-0.4-1.8-0.7-2.8-1.1-3.1-1.2 2.3 1.1-0.7-0.3-1.5-0.7-2.9-1.3-4.4-2-3.7-1.8-7.2-3.7-10.8-5.8-5.7-3.4-11.1-7.1-16.4-11.1 3 2.3-1.1-0.9-1.8-1.5-1.1-0.9-2.1-1.7-3.1-2.6-2.1-1.8-4.2-3.7-6.3-5.6-4.4-4.1-8.7-8.4-12.4-13.1-4.2-5.2-13.1-4.3-17.5 0-5 5.1-4 12.2 0.2 17.4z" fill="#040000" ></path></svg>`
|
|
13889
14397
|
}
|
|
13890
14398
|
]
|
|
13891
14399
|
},
|
|
@@ -13895,95 +14403,95 @@ const nodeIconList = [
|
|
|
13895
14403
|
list: [
|
|
13896
14404
|
{
|
|
13897
14405
|
name: "1",
|
|
13898
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M809.728 429.696a18.901333 18.901333 0 0 0-15.274667-12.885333l-183.466666-26.624-81.92-166.272a18.901333 18.901333 0 0 0-34.005334 0l-81.92 166.272-183.594666 26.624a19.029333 19.029333 0 0 0-10.496 32.298666l132.693333 129.536-31.274667 182.741334a18.816 18.816 0 0 0 27.477334 19.84l164.138666-86.186667 164.096 86.058667a18.773333 18.773333 0 1 0 27.434667-19.84l-31.36-182.741334 132.693333-129.408a18.901333 18.901333 0 0 0 4.778667-19.413333z" fill="#FFFFFF"></path></svg>`
|
|
14406
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M809.728 429.696a18.901333 18.901333 0 0 0-15.274667-12.885333l-183.466666-26.624-81.92-166.272a18.901333 18.901333 0 0 0-34.005334 0l-81.92 166.272-183.594666 26.624a19.029333 19.029333 0 0 0-10.496 32.298666l132.693333 129.536-31.274667 182.741334a18.816 18.816 0 0 0 27.477334 19.84l164.138666-86.186667 164.096 86.058667a18.773333 18.773333 0 1 0 27.434667-19.84l-31.36-182.741334 132.693333-129.408a18.901333 18.901333 0 0 0 4.778667-19.413333z" fill="#FFFFFF"></path></svg>`
|
|
13899
14407
|
},
|
|
13900
14408
|
{
|
|
13901
14409
|
name: "2",
|
|
13902
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M644.565333 306.901333c32.128 0 65.834667-5.76 101.077334-17.237333a17.066667 17.066667 0 0 1 22.357333 16.213333v328.32c-1.109333 0.768 10.325333 27.093333-99.370667 19.84-109.653333-7.210667-181.76-45.098667-246.869333-45.098666-65.152 0-49.322667 2.688-74.154667 8.405333v168.064a24.746667 24.746667 0 0 1-24.490666 25.258667 22.528 22.528 0 0 1-17.28-7.253334 24.149333 24.149333 0 0 1-7.168-18.005333V281.258667C299.776 280.490667 328.106667 256 421.76 256s164.437333 50.901333 222.805333 50.901333z" fill="#FFFFFF"></path></svg>`
|
|
14410
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M644.565333 306.901333c32.128 0 65.834667-5.76 101.077334-17.237333a17.066667 17.066667 0 0 1 22.357333 16.213333v328.32c-1.109333 0.768 10.325333 27.093333-99.370667 19.84-109.653333-7.210667-181.76-45.098667-246.869333-45.098666-65.152 0-49.322667 2.688-74.154667 8.405333v168.064a24.746667 24.746667 0 0 1-24.490666 25.258667 22.528 22.528 0 0 1-17.28-7.253334 24.149333 24.149333 0 0 1-7.168-18.005333V281.258667C299.776 280.490667 328.106667 256 421.76 256s164.437333 50.901333 222.805333 50.901333z" fill="#FFFFFF"></path></svg>`
|
|
13903
14411
|
},
|
|
13904
14412
|
{
|
|
13905
14413
|
name: "3",
|
|
13906
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M524.074667 225.408l274.517333 274.517333a17.066667 17.066667 0 0 1 0 24.149334l-274.517333 274.517333a17.066667 17.066667 0 0 1-24.149334 0l-274.517333-274.517333a17.066667 17.066667 0 0 1 0-24.149334l274.517333-274.517333a17.066667 17.066667 0 0 1 24.149334 0z" fill="#FFFFFF"></path></svg>`
|
|
14414
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M524.074667 225.408l274.517333 274.517333a17.066667 17.066667 0 0 1 0 24.149334l-274.517333 274.517333a17.066667 17.066667 0 0 1-24.149334 0l-274.517333-274.517333a17.066667 17.066667 0 0 1 0-24.149334l274.517333-274.517333a17.066667 17.066667 0 0 1 24.149334 0z" fill="#FFFFFF"></path></svg>`
|
|
13907
14415
|
},
|
|
13908
14416
|
{
|
|
13909
14417
|
name: "4",
|
|
13910
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M317.866667 300.8h388.266666c9.386667 0 17.066667 7.68 17.066667 17.066667v388.266666a17.066667 17.066667 0 0 1-17.066667 17.066667h-388.266666a17.066667 17.066667 0 0 1-17.066667-17.066667v-388.266666c0-9.386667 7.68-17.066667 17.066667-17.066667z" fill="#FFFFFF"></path></svg>`
|
|
14418
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M317.866667 300.8h388.266666c9.386667 0 17.066667 7.68 17.066667 17.066667v388.266666a17.066667 17.066667 0 0 1-17.066667 17.066667h-388.266666a17.066667 17.066667 0 0 1-17.066667-17.066667v-388.266666c0-9.386667 7.68-17.066667 17.066667-17.066667z" fill="#FFFFFF"></path></svg>`
|
|
13911
14419
|
},
|
|
13912
14420
|
{
|
|
13913
14421
|
name: "5",
|
|
13914
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M498.346667 279.082667L248.789333 701.44a15.829333 15.829333 0 0 0 13.653334 23.893333h499.114666a15.829333 15.829333 0 0 0 13.653334-23.893333l-249.6-422.357333a15.829333 15.829333 0 0 0-27.264 0z" fill="#FFFFFF"></path></svg>`
|
|
14422
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M498.346667 279.082667L248.789333 701.44a15.829333 15.829333 0 0 0 13.653334 23.893333h499.114666a15.829333 15.829333 0 0 0 13.653334-23.893333l-249.6-422.357333a15.829333 15.829333 0 0 0-27.264 0z" fill="#FFFFFF"></path></svg>`
|
|
13915
14423
|
},
|
|
13916
14424
|
{
|
|
13917
14425
|
name: "6",
|
|
13918
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M497.749333 798.549333l-31.445333-28.501333C313.941333 631.722667 213.333333 540.501333 213.333333 428.8a160.981333 160.981333 0 0 1 162.730667-162.730667c51.498667 0 100.906667 23.978667 133.12 61.696a177.536 177.536 0 0 1 133.162667-61.696 160.981333 160.981333 0 0 1 162.730666 162.730667c0 111.701333-100.608 202.965333-252.970666 341.333333l-31.445334 28.458667a17.066667 17.066667 0 0 1-22.912 0z" fill="#FFFFFF"></path><path d="M634.538667 487.808L555.050667 426.24 507.306667 256a201.002667 201.002667 0 0 0-23.594667 20.394667l-0.256-0.256L525.653333 426.666667l-133.290666 59.946666a14.08 14.08 0 0 0-8.021334 15.957334l28.757334 126.378666a14.208 14.208 0 0 0 27.733333-6.229333l-26.24-115.114667 126.037333-56.704 76.416 59.136a14.250667 14.250667 0 0 0 19.968-2.474666 14.08 14.08 0 0 0-2.474666-19.797334z" fill="#6D768D"></path></svg>`
|
|
14426
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M497.749333 798.549333l-31.445333-28.501333C313.941333 631.722667 213.333333 540.501333 213.333333 428.8a160.981333 160.981333 0 0 1 162.730667-162.730667c51.498667 0 100.906667 23.978667 133.12 61.696a177.536 177.536 0 0 1 133.162667-61.696 160.981333 160.981333 0 0 1 162.730666 162.730667c0 111.701333-100.608 202.965333-252.970666 341.333333l-31.445334 28.458667a17.066667 17.066667 0 0 1-22.912 0z" fill="#FFFFFF"></path><path d="M634.538667 487.808L555.050667 426.24 507.306667 256a201.002667 201.002667 0 0 0-23.594667 20.394667l-0.256-0.256L525.653333 426.666667l-133.290666 59.946666a14.08 14.08 0 0 0-8.021334 15.957334l28.757334 126.378666a14.208 14.208 0 0 0 27.733333-6.229333l-26.24-115.114667 126.037333-56.704 76.416 59.136a14.250667 14.250667 0 0 0 19.968-2.474666 14.08 14.08 0 0 0-2.474666-19.797334z" fill="#6D768D"></path></svg>`
|
|
13919
14427
|
},
|
|
13920
14428
|
{
|
|
13921
14429
|
name: "7",
|
|
13922
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M497.749333 798.549333l-31.445333-28.501333C313.941333 631.722667 213.333333 540.501333 213.333333 428.8a160.981333 160.981333 0 0 1 162.730667-162.730667c51.498667 0 100.906667 23.978667 133.12 61.696a177.536 177.536 0 0 1 133.162667-61.696 160.981333 160.981333 0 0 1 162.730666 162.730667c0 111.701333-100.608 202.965333-252.970666 341.333333l-31.445334 28.458667a17.066667 17.066667 0 0 1-22.912 0z" fill="#FFFFFF"></path></svg>`
|
|
14430
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M497.749333 798.549333l-31.445333-28.501333C313.941333 631.722667 213.333333 540.501333 213.333333 428.8a160.981333 160.981333 0 0 1 162.730667-162.730667c51.498667 0 100.906667 23.978667 133.12 61.696a177.536 177.536 0 0 1 133.162667-61.696 160.981333 160.981333 0 0 1 162.730666 162.730667c0 111.701333-100.608 202.965333-252.970666 341.333333l-31.445334 28.458667a17.066667 17.066667 0 0 1-22.912 0z" fill="#FFFFFF"></path></svg>`
|
|
13923
14431
|
},
|
|
13924
14432
|
{
|
|
13925
14433
|
name: "8",
|
|
13926
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M374.656 273.194667c5.973333 4.48 12.117333 9.6 18.346667 15.36 6.272 5.717333 11.904 12.373333 16.896 19.84 2.517333 4.010667 5.504 8.490667 9.002666 13.482666a529.493333 529.493333 0 0 1 20.266667 32.213334h155.221333a169.813333 169.813333 0 0 0 9.770667-15.744c2.474667-4.48 5.248-8.96 8.234667-13.482667a460.842667 460.842667 0 0 1 23.253333-31.829333c4.992-6.229333 12.245333-12.373333 21.76-18.346667a34.261333 34.261333 0 0 0 10.112-9.728 31.274667 31.274667 0 0 0 5.248-11.989333 18.56 18.56 0 0 0-1.536-11.605334 17.664 17.664 0 0 0-10.112-8.618666c-4.48-1.493333-8.362667-2.005333-11.605333-1.493334a46.933333 46.933333 0 0 0-9.770667 2.602667c-3.242667 1.28-6.613333 2.645333-10.112 4.138667a32.426667 32.426667 0 0 1-12.757333 2.261333 26.026667 26.026667 0 0 1-12.373334-2.645333 45.653333 45.653333 0 0 1-8.96-6.357334l-8.661333-7.850666a30.336 30.336 0 0 0-11.989333-6.4c-9.984-3.968-18.005333-4.693333-24.021334-2.218667-5.973333 2.474667-11.946667 6.485333-17.962666 11.946667a88.618667 88.618667 0 0 1-11.989334 10.496 7.338667 7.338667 0 0 1-3.754666 1.493333 46.165333 46.165333 0 0 1-8.277334-5.205333 71.808 71.808 0 0 1-7.125333-4.906667 37.973333 37.973333 0 0 1-6.4-6.357333c-3.968-3.968-9.941333-6.613333-17.92-7.850667a31.061333 31.061333 0 0 0-21.76 4.138667c-8.533333 5.461333-14.506667 10.069333-18.048 13.824a29.354667 29.354667 0 0 1-15.744 7.893333 23.978667 23.978667 0 0 1-13.098667-0.768 987.733333 987.733333 0 0 0-14.634666-4.48 80.725333 80.725333 0 0 0-14.250667-2.986667 16.768 16.768 0 0 0-11.989333 2.986667c-6.997333 5.461333-9.258667 12.074667-6.741334 19.84a34.56 34.56 0 0 0 13.482667 18.346667z" fill="#FFFFFF"></path><path d="M780.757333 545.152a219.306667 219.306667 0 0 0-19.882666-65.536 224.981333 224.981333 0 0 0-33.365334-49.792 430.336 430.336 0 0 0-37.12-37.12c-14.506667-11.946667-27.264-23.296-38.272-34.048a544.512 544.512 0 0 1-27.733333-28.842667 305.28 305.28 0 0 1-22.485333-26.197333h-168.746667c-6.485333 8.490667-13.994667 17.493333-22.485333 26.965333a360.96 360.96 0 0 1-26.24 28.074667c-10.538667 10.24-22.272 21.12-35.285334 32.597333a305.493333 305.493333 0 0 0-41.6 44.16 250.026667 250.026667 0 0 0-49.493333 117.589334 216.106667 216.106667 0 0 0 1.877333 70.4 220.586667 220.586667 0 0 0 75.349334 126.549333c21.248 18.005333 47.146667 32.597333 77.653333 43.818667 30.464 11.264 65.493333 16.853333 104.96 16.853333 38.528 0 72.874667-4.864 103.125333-14.592a265.045333 265.045333 0 0 0 78.378667-39.338667c21.973333-16.469333 39.594667-35.797333 52.864-58.026666 13.226667-22.186667 22.101333-45.824 26.624-70.784 4.992-30.421333 5.632-58.026667 1.877333-82.773334z" fill="#FFFFFF"></path><path d="M593.322667 647.509333a20.48 20.48 0 0 1-11.861334 3.2h-50.133333v14.165334c0 4.266667-1.792 8.362667-5.376 12.373333a15.914667 15.914667 0 0 1-13.952 5.333333 24.917333 24.917333 0 0 1-14.336-3.882666c-3.84-2.602667-5.973333-7.210667-6.4-13.824v-14.165334h-48.725333a17.792 17.792 0 0 1-11.818667-3.882666 10.24 10.24 0 0 1-3.968-9.6c0-4.266667 1.578667-7.68 4.693333-10.24a16.768 16.768 0 0 1 11.093334-3.925334h48.682666v-24.789333h-48.682666a15.573333 15.573333 0 0 1-11.52-4.266667 13.525333 13.525333 0 0 1-4.266667-9.941333 15.36 15.36 0 0 1 4.693333-10.624 14.72 14.72 0 0 1 11.093334-4.949333h48.682666l0.725334-14.890667a1053.568 1053.568 0 0 1-40.832-42.538667l-10.752-9.898666a41.216 41.216 0 0 1-6.442667-11.690667c-1.92-4.992-0.938667-10.069333 2.858667-15.274667a13.653333 13.653333 0 0 1 15.786666-3.84c6.186667 2.090667 11.221333 4.821333 15.018667 8.106667 1.92 2.389333 5.248 5.888 10.026667 10.666667l15.061333 14.848 19.328 19.157333 22.186667-20.565333a987.605333 987.605333 0 0 1 29.397333-25.514667 21.162667 21.162667 0 0 1 14.293333-5.674667c5.290667 0 9.557333 2.133333 12.928 6.4 6.186667 7.082667 3.84 15.36-7.168 24.789334a179.072 179.072 0 0 0-12.885333 12.373333c-5.76 5.973333-11.52 11.733333-17.194667 17.408-6.698667 7.082667-14.08 14.378667-22.186666 21.973333v13.44h46.506666c6.698667 0 11.605333 1.536 14.72 4.608a14.165333 14.165333 0 0 1 4.650667 10.282667c0 4.266667-1.450667 7.936-4.309333 11.008-2.858667 3.029333-7.637333 4.352-14.336 3.84l-46.506667 0.768-0.768 24.064h45.866667c13.354667 0 20.053333 4.992 20.053333 14.933333 0.469333 4.693333-0.853333 8.106667-3.925333 10.24z" fill="#6D768D"></path></svg>`
|
|
14434
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M374.656 273.194667c5.973333 4.48 12.117333 9.6 18.346667 15.36 6.272 5.717333 11.904 12.373333 16.896 19.84 2.517333 4.010667 5.504 8.490667 9.002666 13.482666a529.493333 529.493333 0 0 1 20.266667 32.213334h155.221333a169.813333 169.813333 0 0 0 9.770667-15.744c2.474667-4.48 5.248-8.96 8.234667-13.482667a460.842667 460.842667 0 0 1 23.253333-31.829333c4.992-6.229333 12.245333-12.373333 21.76-18.346667a34.261333 34.261333 0 0 0 10.112-9.728 31.274667 31.274667 0 0 0 5.248-11.989333 18.56 18.56 0 0 0-1.536-11.605334 17.664 17.664 0 0 0-10.112-8.618666c-4.48-1.493333-8.362667-2.005333-11.605333-1.493334a46.933333 46.933333 0 0 0-9.770667 2.602667c-3.242667 1.28-6.613333 2.645333-10.112 4.138667a32.426667 32.426667 0 0 1-12.757333 2.261333 26.026667 26.026667 0 0 1-12.373334-2.645333 45.653333 45.653333 0 0 1-8.96-6.357334l-8.661333-7.850666a30.336 30.336 0 0 0-11.989333-6.4c-9.984-3.968-18.005333-4.693333-24.021334-2.218667-5.973333 2.474667-11.946667 6.485333-17.962666 11.946667a88.618667 88.618667 0 0 1-11.989334 10.496 7.338667 7.338667 0 0 1-3.754666 1.493333 46.165333 46.165333 0 0 1-8.277334-5.205333 71.808 71.808 0 0 1-7.125333-4.906667 37.973333 37.973333 0 0 1-6.4-6.357333c-3.968-3.968-9.941333-6.613333-17.92-7.850667a31.061333 31.061333 0 0 0-21.76 4.138667c-8.533333 5.461333-14.506667 10.069333-18.048 13.824a29.354667 29.354667 0 0 1-15.744 7.893333 23.978667 23.978667 0 0 1-13.098667-0.768 987.733333 987.733333 0 0 0-14.634666-4.48 80.725333 80.725333 0 0 0-14.250667-2.986667 16.768 16.768 0 0 0-11.989333 2.986667c-6.997333 5.461333-9.258667 12.074667-6.741334 19.84a34.56 34.56 0 0 0 13.482667 18.346667z" fill="#FFFFFF"></path><path d="M780.757333 545.152a219.306667 219.306667 0 0 0-19.882666-65.536 224.981333 224.981333 0 0 0-33.365334-49.792 430.336 430.336 0 0 0-37.12-37.12c-14.506667-11.946667-27.264-23.296-38.272-34.048a544.512 544.512 0 0 1-27.733333-28.842667 305.28 305.28 0 0 1-22.485333-26.197333h-168.746667c-6.485333 8.490667-13.994667 17.493333-22.485333 26.965333a360.96 360.96 0 0 1-26.24 28.074667c-10.538667 10.24-22.272 21.12-35.285334 32.597333a305.493333 305.493333 0 0 0-41.6 44.16 250.026667 250.026667 0 0 0-49.493333 117.589334 216.106667 216.106667 0 0 0 1.877333 70.4 220.586667 220.586667 0 0 0 75.349334 126.549333c21.248 18.005333 47.146667 32.597333 77.653333 43.818667 30.464 11.264 65.493333 16.853333 104.96 16.853333 38.528 0 72.874667-4.864 103.125333-14.592a265.045333 265.045333 0 0 0 78.378667-39.338667c21.973333-16.469333 39.594667-35.797333 52.864-58.026666 13.226667-22.186667 22.101333-45.824 26.624-70.784 4.992-30.421333 5.632-58.026667 1.877333-82.773334z" fill="#FFFFFF"></path><path d="M593.322667 647.509333a20.48 20.48 0 0 1-11.861334 3.2h-50.133333v14.165334c0 4.266667-1.792 8.362667-5.376 12.373333a15.914667 15.914667 0 0 1-13.952 5.333333 24.917333 24.917333 0 0 1-14.336-3.882666c-3.84-2.602667-5.973333-7.210667-6.4-13.824v-14.165334h-48.725333a17.792 17.792 0 0 1-11.818667-3.882666 10.24 10.24 0 0 1-3.968-9.6c0-4.266667 1.578667-7.68 4.693333-10.24a16.768 16.768 0 0 1 11.093334-3.925334h48.682666v-24.789333h-48.682666a15.573333 15.573333 0 0 1-11.52-4.266667 13.525333 13.525333 0 0 1-4.266667-9.941333 15.36 15.36 0 0 1 4.693333-10.624 14.72 14.72 0 0 1 11.093334-4.949333h48.682666l0.725334-14.890667a1053.568 1053.568 0 0 1-40.832-42.538667l-10.752-9.898666a41.216 41.216 0 0 1-6.442667-11.690667c-1.92-4.992-0.938667-10.069333 2.858667-15.274667a13.653333 13.653333 0 0 1 15.786666-3.84c6.186667 2.090667 11.221333 4.821333 15.018667 8.106667 1.92 2.389333 5.248 5.888 10.026667 10.666667l15.061333 14.848 19.328 19.157333 22.186667-20.565333a987.605333 987.605333 0 0 1 29.397333-25.514667 21.162667 21.162667 0 0 1 14.293333-5.674667c5.290667 0 9.557333 2.133333 12.928 6.4 6.186667 7.082667 3.84 15.36-7.168 24.789334a179.072 179.072 0 0 0-12.885333 12.373333c-5.76 5.973333-11.52 11.733333-17.194667 17.408-6.698667 7.082667-14.08 14.378667-22.186666 21.973333v13.44h46.506666c6.698667 0 11.605333 1.536 14.72 4.608a14.165333 14.165333 0 0 1 4.650667 10.282667c0 4.266667-1.450667 7.936-4.309333 11.008-2.858667 3.029333-7.637333 4.352-14.336 3.84l-46.506667 0.768-0.768 24.064h45.866667c13.354667 0 20.053333 4.992 20.053333 14.933333 0.469333 4.693333-0.853333 8.106667-3.925333 10.24z" fill="#6D768D"></path></svg>`
|
|
13927
14435
|
},
|
|
13928
14436
|
{
|
|
13929
14437
|
name: "9",
|
|
13930
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M512 213.333333l234.666667 341.333334h-128v213.333333h-213.333334v-213.333333h-128L512 213.333333z" fill="#FFFFFF"></path></svg>`
|
|
14438
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M512 213.333333l234.666667 341.333334h-128v213.333333h-213.333334v-213.333333h-128L512 213.333333z" fill="#FFFFFF"></path></svg>`
|
|
13931
14439
|
},
|
|
13932
14440
|
{
|
|
13933
14441
|
name: "10",
|
|
13934
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M533.333333 810.666667L298.666667 469.333333h128V256h213.333333v213.333333h128l-234.666667 341.333334z" fill="#FFFFFF"></path></svg>`
|
|
14442
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M533.333333 810.666667L298.666667 469.333333h128V256h213.333333v213.333333h128l-234.666667 341.333334z" fill="#FFFFFF"></path></svg>`
|
|
13935
14443
|
},
|
|
13936
14444
|
{
|
|
13937
14445
|
name: "11",
|
|
13938
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M213.333333 533.333333L554.666667 298.666667v128h213.333333v213.333333h-213.333333v128l-341.333334-234.666667z" fill="#FFFFFF"></path></svg>`
|
|
14446
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M213.333333 533.333333L554.666667 298.666667v128h213.333333v213.333333h-213.333333v128l-341.333334-234.666667z" fill="#FFFFFF"></path></svg>`
|
|
13939
14447
|
},
|
|
13940
14448
|
{
|
|
13941
14449
|
name: "12",
|
|
13942
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M810.666667 533.333333L469.333333 768v-128H256v-213.333333h213.333333V298.666667l341.333334 234.666666z" fill="#FFFFFF"></path></svg>`
|
|
14450
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M810.666667 533.333333L469.333333 768v-128H256v-213.333333h213.333333V298.666667l341.333334 234.666666z" fill="#FFFFFF"></path></svg>`
|
|
13943
14451
|
},
|
|
13944
14452
|
{
|
|
13945
14453
|
name: "13",
|
|
13946
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M0 512c0 282.752 229.248 512 512 512s512-229.248 512-512S794.752 0 512 0 0 229.248 0 512z" fill="#6D768D"></path><path d="M571.349333 508.586667l162.389334-162.346667a44.330667 44.330667 0 1 0-62.72-62.72l-162.389334 162.389333-162.517333-162.389333a44.330667 44.330667 0 1 0-62.72 62.72l162.389333 162.389333-162.389333 162.474667a44.330667 44.330667 0 1 0 62.72 62.72l162.389333-162.346667 162.389334 162.389334a44.330667 44.330667 0 1 0 62.72-62.72l-162.261334-162.56z" fill="#FFFFFF"></path></svg>`
|
|
14454
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M0 512c0 282.752 229.248 512 512 512s512-229.248 512-512S794.752 0 512 0 0 229.248 0 512z" fill="#6D768D"></path><path d="M571.349333 508.586667l162.389334-162.346667a44.330667 44.330667 0 1 0-62.72-62.72l-162.389334 162.389333-162.517333-162.389333a44.330667 44.330667 0 1 0-62.72 62.72l162.389333 162.389333-162.389333 162.474667a44.330667 44.330667 0 1 0 62.72 62.72l162.389333-162.346667 162.389334 162.389334a44.330667 44.330667 0 1 0 62.72-62.72l-162.261334-162.56z" fill="#FFFFFF"></path></svg>`
|
|
13947
14455
|
},
|
|
13948
14456
|
{
|
|
13949
14457
|
name: "14",
|
|
13950
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 0C233.386667 0 0 225.877333 0 512s225.877333 512 512 512 512-225.877333 512-512S790.613333 0 512 0z" fill="#6D768D"></path><path d="M726.144 311.210667l-277.333333 305.066666-124.8-124.8c-13.866667-13.866667-41.6-13.866667-55.466667 0-13.866667 13.866667-13.866667 41.6 0 55.466667l159.445333 152.533333c13.866667 13.866667 41.6 13.866667 55.466667 0l305.066667-332.8c13.866667-13.866667 13.866667-41.6 0-55.466666-20.778667-13.866667-48.512-13.866667-62.378667 0z" fill="#FFFFFF"></path></svg>`
|
|
14458
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 0C233.386667 0 0 225.877333 0 512s225.877333 512 512 512 512-225.877333 512-512S790.613333 0 512 0z" fill="#6D768D"></path><path d="M726.144 311.210667l-277.333333 305.066666-124.8-124.8c-13.866667-13.866667-41.6-13.866667-55.466667 0-13.866667 13.866667-13.866667 41.6 0 55.466667l159.445333 152.533333c13.866667 13.866667 41.6 13.866667 55.466667 0l305.066667-332.8c13.866667-13.866667 13.866667-41.6 0-55.466666-20.778667-13.866667-48.512-13.866667-62.378667 0z" fill="#FFFFFF"></path></svg>`
|
|
13951
14459
|
},
|
|
13952
14460
|
{
|
|
13953
14461
|
name: "15",
|
|
13954
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M541.952 755.626667a40.618667 40.618667 0 0 1-29.824 12.373333 41.344 41.344 0 0 1-30.122667-12.373333 40.106667 40.106667 0 0 1-12.672-30.122667c0-11.605333 4.096-21.845333 12.672-30.122667a40.405333 40.405333 0 0 1 30.122667-12.714666c11.605333 0 21.546667 4.138667 29.824 12.714666a40.32 40.32 0 0 1 12.714667 30.122667c0 11.861333-4.096 21.76-12.714667 30.122667zM450.986667 241.28A77.866667 77.866667 0 0 1 512.256 213.333333c24.874667 0 45.354667 8.917333 61.354667 27.946667 15.488 18.432 23.722667 41.685333 23.722666 69.674667 0 23.765333-33.152 200.533333-44.672 329.045333h-80.128C463.146667 511.402667 426.666667 334.677333 426.666667 310.954667c0-27.392 8.277333-50.645333 24.32-69.674667z" fill="#FFFFFF"></path></svg>`
|
|
14462
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M541.952 755.626667a40.618667 40.618667 0 0 1-29.824 12.373333 41.344 41.344 0 0 1-30.122667-12.373333 40.106667 40.106667 0 0 1-12.672-30.122667c0-11.605333 4.096-21.845333 12.672-30.122667a40.405333 40.405333 0 0 1 30.122667-12.714666c11.605333 0 21.546667 4.138667 29.824 12.714666a40.32 40.32 0 0 1 12.714667 30.122667c0 11.861333-4.096 21.76-12.714667 30.122667zM450.986667 241.28A77.866667 77.866667 0 0 1 512.256 213.333333c24.874667 0 45.354667 8.917333 61.354667 27.946667 15.488 18.432 23.722667 41.685333 23.722666 69.674667 0 23.765333-33.152 200.533333-44.672 329.045333h-80.128C463.146667 511.402667 426.666667 334.677333 426.666667 310.954667c0-27.392 8.277333-50.645333 24.32-69.674667z" fill="#FFFFFF"></path></svg>`
|
|
13955
14463
|
},
|
|
13956
14464
|
{
|
|
13957
14465
|
name: "16",
|
|
13958
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.794667 0 512 0z" fill="#6D768D"></path><path d="M490.666667 682.666667a64 64 0 1 1 0 128 64 64 0 0 1 0-128z m13.994666-490.752c61.397333 0 112.341333 14.634667 153.002667 43.946666 40.533333 29.269333 60.885333 72.618667 60.885333 130.133334 0 35.242667-12.373333 64.938667-29.952 89.045333-10.282667 14.677333-33.664 33.408-62.890666 56.192l-32.426667 22.357333c-15.701333 12.202667-29.696 26.453333-34.858667 42.666667-1.706667 5.546667-3.072 14.677333-3.968 24.533333-0.426667 4.949333-4.864 15.018667-15.232 15.018667h-83.328c-13.568 0-15.957333-10.581333-15.744-15.786667 1.493333-34.005333 4.608-64.213333 18.474667-80.469333 28.074667-32.896 91.904-73.813333 91.904-73.813333a104.106667 104.106667 0 0 0 23.552-24.021334c10.837333-14.933333 19.797333-31.317333 19.797333-49.237333 0-20.565333-6.016-39.338667-18.090666-56.32-12.032-16.938667-34.090667-25.386667-66.005334-25.386667-31.445333 0-53.76 10.410667-66.901333 31.274667-9.685333 15.445333-15.786667 29.610667-18.346667 45.013333-0.853333 5.461333-4.394667 16.981333-16.042666 16.981334H327.210667c-17.322667 0-21.12-11.221333-20.650667-16.64 6.272-68.138667 32.896-114.688 80-144.597334 32-20.565333 71.381333-30.890667 118.101333-30.890666z" fill="#FFFFFF"></path></svg>`
|
|
14466
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 0C229.248 0 0 229.248 0 512s229.248 512 512 512 512-229.248 512-512S794.794667 0 512 0z" fill="#6D768D"></path><path d="M490.666667 682.666667a64 64 0 1 1 0 128 64 64 0 0 1 0-128z m13.994666-490.752c61.397333 0 112.341333 14.634667 153.002667 43.946666 40.533333 29.269333 60.885333 72.618667 60.885333 130.133334 0 35.242667-12.373333 64.938667-29.952 89.045333-10.282667 14.677333-33.664 33.408-62.890666 56.192l-32.426667 22.357333c-15.701333 12.202667-29.696 26.453333-34.858667 42.666667-1.706667 5.546667-3.072 14.677333-3.968 24.533333-0.426667 4.949333-4.864 15.018667-15.232 15.018667h-83.328c-13.568 0-15.957333-10.581333-15.744-15.786667 1.493333-34.005333 4.608-64.213333 18.474667-80.469333 28.074667-32.896 91.904-73.813333 91.904-73.813333a104.106667 104.106667 0 0 0 23.552-24.021334c10.837333-14.933333 19.797333-31.317333 19.797333-49.237333 0-20.565333-6.016-39.338667-18.090666-56.32-12.032-16.938667-34.090667-25.386667-66.005334-25.386667-31.445333 0-53.76 10.410667-66.901333 31.274667-9.685333 15.445333-15.786667 29.610667-18.346667 45.013333-0.853333 5.461333-4.394667 16.981333-16.042666 16.981334H327.210667c-17.322667 0-21.12-11.221333-20.650667-16.64 6.272-68.138667 32.896-114.688 80-144.597334 32-20.565333 71.381333-30.890667 118.101333-30.890666z" fill="#FFFFFF"></path></svg>`
|
|
13959
14467
|
},
|
|
13960
14468
|
{
|
|
13961
14469
|
name: "17",
|
|
13962
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M336.256 410.026667H253.312a40.021333 40.021333 0 0 0-39.850667 43.264l23.296 278.101333c1.706667 20.693333 19.072 36.608 39.850667 36.608h59.648c11.050667 0 20.010667-8.96 20.010667-19.968v-318.037333a19.968 19.968 0 0 0-20.010667-19.968z m434.432 0h-178.944C653.312 182.314667 548.949333 170.666667 548.949333 170.666667c-44.288 0-35.114667 34.986667-38.442666 40.832 0 84.48-68.010667 155.093333-101.034667 184.362666a39.552 39.552 0 0 0-13.226667 29.653334v322.56c0 11.008 8.96 19.925333 20.010667 19.925333h233.728c30.378667 0 58.154667-17.152 71.68-44.373333 18.176-36.736 40.448-90.112 54.656-133.973334 13.781333-42.410667 26.24-94.976 33.578667-131.968a39.850667 39.850667 0 0 0-39.253334-47.658666z" fill="#FFFFFF"></path></svg>`
|
|
14470
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M336.256 410.026667H253.312a40.021333 40.021333 0 0 0-39.850667 43.264l23.296 278.101333c1.706667 20.693333 19.072 36.608 39.850667 36.608h59.648c11.050667 0 20.010667-8.96 20.010667-19.968v-318.037333a19.968 19.968 0 0 0-20.010667-19.968z m434.432 0h-178.944C653.312 182.314667 548.949333 170.666667 548.949333 170.666667c-44.288 0-35.114667 34.986667-38.442666 40.832 0 84.48-68.010667 155.093333-101.034667 184.362666a39.552 39.552 0 0 0-13.226667 29.653334v322.56c0 11.008 8.96 19.925333 20.010667 19.925333h233.728c30.378667 0 58.154667-17.152 71.68-44.373333 18.176-36.736 40.448-90.112 54.656-133.973334 13.781333-42.410667 26.24-94.976 33.578667-131.968a39.850667 39.850667 0 0 0-39.253334-47.658666z" fill="#FFFFFF"></path></svg>`
|
|
13963
14471
|
},
|
|
13964
14472
|
{
|
|
13965
14473
|
name: "18",
|
|
13966
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M796.16 413.909333c-31.146667-0.298667-115.626667-0.085333-146.858667-0.085333h-158.464c8.533333-7.68 15.914667-14.506667 23.594667-20.906667 29.781333-24.874667 25.813333-71.082667-14.208-88.874666-22.954667-10.24-44.970667-5.632-64 11.52-34.944 31.274667-69.632 62.677333-104.277333 93.994666a15.488 15.488 0 0 1-11.178667 4.437334c-11.221333-0.085333-26.88-0.128-46.933333-0.170667a17.066667 17.066667 0 0 0-17.109334 17.066667L256 719.701333a17.066667 17.066667 0 0 0 17.066667 17.152l49.578666-0.085333c3.968 0 7.466667 0.768 10.88 2.602667 15.829333 8.832 31.701333 17.493333 47.616 26.24a18.133333 18.133333 0 0 0 9.301334 2.346666h168.405333c6.186667 0 11.946667-0.981333 17.834667-2.56 29.44-7.253333 40.021333-30.293333 38.528-52.565333-0.768-9.728-4.266667-18.346667-9.984-26.24 19.626667-5.76 35.114667-16.213333 42.112-36.096 7.125333-20.394667 1.621333-38.4-12.672-53.333333 28.16-19.754667 34.858667-44.672 18.645333-75.648h140.458667c6.570667 0 13.013333-0.597333 19.370666-2.645334 31.957333-9.813333 48.810667-42.88 35.626667-71.552-10.154667-22.186667-28.629333-33.152-52.608-33.450666z" fill="#FFFFFF"></path></svg>`
|
|
14474
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M796.16 413.909333c-31.146667-0.298667-115.626667-0.085333-146.858667-0.085333h-158.464c8.533333-7.68 15.914667-14.506667 23.594667-20.906667 29.781333-24.874667 25.813333-71.082667-14.208-88.874666-22.954667-10.24-44.970667-5.632-64 11.52-34.944 31.274667-69.632 62.677333-104.277333 93.994666a15.488 15.488 0 0 1-11.178667 4.437334c-11.221333-0.085333-26.88-0.128-46.933333-0.170667a17.066667 17.066667 0 0 0-17.109334 17.066667L256 719.701333a17.066667 17.066667 0 0 0 17.066667 17.152l49.578666-0.085333c3.968 0 7.466667 0.768 10.88 2.602667 15.829333 8.832 31.701333 17.493333 47.616 26.24a18.133333 18.133333 0 0 0 9.301334 2.346666h168.405333c6.186667 0 11.946667-0.981333 17.834667-2.56 29.44-7.253333 40.021333-30.293333 38.528-52.565333-0.768-9.728-4.266667-18.346667-9.984-26.24 19.626667-5.76 35.114667-16.213333 42.112-36.096 7.125333-20.394667 1.621333-38.4-12.672-53.333333 28.16-19.754667 34.858667-44.672 18.645333-75.648h140.458667c6.570667 0 13.013333-0.597333 19.370666-2.645334 31.957333-9.813333 48.810667-42.88 35.626667-71.552-10.154667-22.186667-28.629333-33.152-52.608-33.450666z" fill="#FFFFFF"></path></svg>`
|
|
13967
14475
|
},
|
|
13968
14476
|
{
|
|
13969
14477
|
name: "19",
|
|
13970
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M270.506667 413.909333c31.146667-0.298667 115.626667-0.085333 146.858666-0.085333h158.464c-8.533333-7.68-15.914667-14.506667-23.594666-20.906667-29.781333-24.874667-25.813333-71.082667 14.208-88.874666 22.954667-10.24 44.970667-5.632 64 11.52 34.944 31.274667 69.632 62.677333 104.277333 93.994666 3.413333 2.986667 6.528 4.437333 11.178667 4.437334 11.221333-0.085333 26.88-0.128 46.933333-0.170667a17.066667 17.066667 0 0 1 17.109333 17.066667l0.682667 288.853333a17.066667 17.066667 0 0 1-17.066667 17.152l-49.578666-0.085333a22.101333 22.101333 0 0 0-10.88 2.602666c-15.829333 8.832-31.701333 17.493333-47.616 26.24a18.133333 18.133333 0 0 1-9.301334 2.346667h-168.405333a68.693333 68.693333 0 0 1-17.834667-2.56c-29.44-7.253333-40.021333-30.293333-38.528-52.565333 0.768-9.728 4.266667-18.346667 9.984-26.24-19.626667-5.76-35.114667-16.213333-42.112-36.096-7.125333-20.394667-1.621333-38.4 12.672-53.333334-28.16-19.754667-34.858667-44.672-18.645333-75.648H272.853333c-6.570667 0-13.013333-0.597333-19.370666-2.645333-31.957333-9.813333-48.810667-42.88-35.626667-71.552 10.154667-22.186667 28.629333-33.152 52.608-33.450667z" fill="#FFFFFF"></path></svg>`
|
|
14478
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M270.506667 413.909333c31.146667-0.298667 115.626667-0.085333 146.858666-0.085333h158.464c-8.533333-7.68-15.914667-14.506667-23.594666-20.906667-29.781333-24.874667-25.813333-71.082667 14.208-88.874666 22.954667-10.24 44.970667-5.632 64 11.52 34.944 31.274667 69.632 62.677333 104.277333 93.994666 3.413333 2.986667 6.528 4.437333 11.178667 4.437334 11.221333-0.085333 26.88-0.128 46.933333-0.170667a17.066667 17.066667 0 0 1 17.109333 17.066667l0.682667 288.853333a17.066667 17.066667 0 0 1-17.066667 17.152l-49.578666-0.085333a22.101333 22.101333 0 0 0-10.88 2.602666c-15.829333 8.832-31.701333 17.493333-47.616 26.24a18.133333 18.133333 0 0 1-9.301334 2.346667h-168.405333a68.693333 68.693333 0 0 1-17.834667-2.56c-29.44-7.253333-40.021333-30.293333-38.528-52.565333 0.768-9.728 4.266667-18.346667 9.984-26.24-19.626667-5.76-35.114667-16.213333-42.112-36.096-7.125333-20.394667-1.621333-38.4 12.672-53.333334-28.16-19.754667-34.858667-44.672-18.645333-75.648H272.853333c-6.570667 0-13.013333-0.597333-19.370666-2.645333-31.957333-9.813333-48.810667-42.88-35.626667-71.552 10.154667-22.186667 28.629333-33.152 52.608-33.450667z" fill="#FFFFFF"></path></svg>`
|
|
13971
14479
|
},
|
|
13972
14480
|
{
|
|
13973
14481
|
name: "20",
|
|
13974
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M667.733333 480.128H400v-111.36a97.706667 97.706667 0 0 1 97.621333-97.621333 97.706667 97.706667 0 0 1 97.578667 97.621333 28.885333 28.885333 0 0 0 57.813333 0A155.605333 155.605333 0 0 0 497.621333 213.333333a155.605333 155.605333 0 0 0-155.392 155.434667v111.36h-14.677333A28.885333 28.885333 0 0 0 298.666667 509.013333v292.010667a28.885333 28.885333 0 0 0 28.885333 28.885333h340.138667a28.885333 28.885333 0 0 0 28.928-28.885333V509.013333a28.885333 28.885333 0 0 0-28.928-28.885333z" fill="#FFFFFF"></path></svg>`
|
|
14482
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M667.733333 480.128H400v-111.36a97.706667 97.706667 0 0 1 97.621333-97.621333 97.706667 97.706667 0 0 1 97.578667 97.621333 28.885333 28.885333 0 0 0 57.813333 0A155.605333 155.605333 0 0 0 497.621333 213.333333a155.605333 155.605333 0 0 0-155.392 155.434667v111.36h-14.677333A28.885333 28.885333 0 0 0 298.666667 509.013333v292.010667a28.885333 28.885333 0 0 0 28.885333 28.885333h340.138667a28.885333 28.885333 0 0 0 28.928-28.885333V509.013333a28.885333 28.885333 0 0 0-28.928-28.885333z" fill="#FFFFFF"></path></svg>`
|
|
13975
14483
|
},
|
|
13976
14484
|
{
|
|
13977
14485
|
name: "21",
|
|
13978
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M400.042667 437.461333v-111.36a97.706667 97.706667 0 0 1 97.621333-97.621333 97.706667 97.706667 0 0 1 97.578667 97.621333 28.885333 28.885333 0 0 0 57.813333 0A155.605333 155.605333 0 0 0 497.621333 170.666667a155.605333 155.605333 0 0 0-155.392 155.434666v111.36h-14.677333A28.885333 28.885333 0 0 0 298.666667 466.346667v292.010666a28.885333 28.885333 0 0 0 28.885333 28.885334h340.138667a28.885333 28.885333 0 0 0 28.928-28.885334V466.346667a28.885333 28.885333 0 0 0-28.928-28.885334H400.042667z" fill="#FFFFFF"></path><path d="M595.242667 437.461333v-111.36a97.706667 97.706667 0 0 0-97.621334-97.621333 97.706667 97.706667 0 0 0-97.578666 97.621333 28.885333 28.885333 0 0 1-57.813334 0A155.605333 155.605333 0 0 1 497.621333 170.666667a155.605333 155.605333 0 0 1 155.434667 155.434666v111.36h14.634667c16 0 28.928 12.928 28.928 28.885334v292.010666a28.885333 28.885333 0 0 1-28.928 28.885334H327.552A28.885333 28.885333 0 0 1 298.666667 758.357333V466.346667c0-15.957333 12.928-28.885333 28.885333-28.885334h267.690667z" fill="#FFFFFF"></path></svg>`
|
|
14486
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M400.042667 437.461333v-111.36a97.706667 97.706667 0 0 1 97.621333-97.621333 97.706667 97.706667 0 0 1 97.578667 97.621333 28.885333 28.885333 0 0 0 57.813333 0A155.605333 155.605333 0 0 0 497.621333 170.666667a155.605333 155.605333 0 0 0-155.392 155.434666v111.36h-14.677333A28.885333 28.885333 0 0 0 298.666667 466.346667v292.010666a28.885333 28.885333 0 0 0 28.885333 28.885334h340.138667a28.885333 28.885333 0 0 0 28.928-28.885334V466.346667a28.885333 28.885333 0 0 0-28.928-28.885334H400.042667z" fill="#FFFFFF"></path><path d="M595.242667 437.461333v-111.36a97.706667 97.706667 0 0 0-97.621334-97.621333 97.706667 97.706667 0 0 0-97.578666 97.621333 28.885333 28.885333 0 0 1-57.813334 0A155.605333 155.605333 0 0 1 497.621333 170.666667a155.605333 155.605333 0 0 1 155.434667 155.434666v111.36h14.634667c16 0 28.928 12.928 28.928 28.885334v292.010666a28.885333 28.885333 0 0 1-28.928 28.885334H327.552A28.885333 28.885333 0 0 1 298.666667 758.357333V466.346667c0-15.957333 12.928-28.885333 28.885333-28.885334h267.690667z" fill="#FFFFFF"></path></svg>`
|
|
13979
14487
|
},
|
|
13980
14488
|
{
|
|
13981
14489
|
name: "22",
|
|
13982
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M511.999787 512.000213m-511.999787 0a511.999787 511.999787 0 1 0 1023.999573 0 511.999787 511.999787 0 1 0-1023.999573 0Z" fill="#6D768D"></path><path d="M381.354508 364.586941c0 54.015977 29.013321 103.935957 75.946635 130.986613a152.53327 152.53327 0 0 0 151.935936 0 151.12527 151.12527 0 0 0 75.946636-130.986613A151.594604 151.594604 0 0 0 533.333111 213.333671a151.594604 151.594604 0 0 0-151.89327 151.25327zM660.479725 498.901552a185.258589 185.258589 0 0 1-127.146614 50.346646c-49.066646 0-93.866628-19.199992-127.06128-50.346646C317.141201 544.853533 255.999893 637.440161 255.999893 744.106783c0 13.183995 10.709329 23.850657 23.978657 23.850657h506.709122a23.893323 23.893323 0 0 0 23.978657-23.893323c0-106.538622-61.098641-199.25325-150.186604-245.205232z" fill="#FFFFFF"></path></svg>`
|
|
14490
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M511.999787 512.000213m-511.999787 0a511.999787 511.999787 0 1 0 1023.999573 0 511.999787 511.999787 0 1 0-1023.999573 0Z" fill="#6D768D"></path><path d="M381.354508 364.586941c0 54.015977 29.013321 103.935957 75.946635 130.986613a152.53327 152.53327 0 0 0 151.935936 0 151.12527 151.12527 0 0 0 75.946636-130.986613A151.594604 151.594604 0 0 0 533.333111 213.333671a151.594604 151.594604 0 0 0-151.89327 151.25327zM660.479725 498.901552a185.258589 185.258589 0 0 1-127.146614 50.346646c-49.066646 0-93.866628-19.199992-127.06128-50.346646C317.141201 544.853533 255.999893 637.440161 255.999893 744.106783c0 13.183995 10.709329 23.850657 23.978657 23.850657h506.709122a23.893323 23.893323 0 0 0 23.978657-23.893323c0-106.538622-61.098641-199.25325-150.186604-245.205232z" fill="#FFFFFF"></path></svg>`
|
|
13983
14491
|
},
|
|
13984
14492
|
{
|
|
13985
14493
|
name: "23",
|
|
13986
|
-
icon: `<svg viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M445.610667 401.578667a129.322667 129.322667 0 1 0 258.645333 0 129.322667 129.322667 0 0 0-258.645333 0z m237.568 114.901333a157.354667 157.354667 0 0 1-216.362667 0 236.373333 236.373333 0 0 0-127.957333 209.706667c0 11.264 9.130667 20.394667 20.394666 20.394666h431.402667a20.394667 20.394667 0 0 0 20.394667-20.394666 236.373333 236.373333 0 0 0-127.872-209.706667zM409.813333 401.578667c0-40.362667 14.592-77.397333 38.698667-106.112a112.725333 112.725333 0 0 0-29.013333-3.925334 112.64 112.64 0 0 0-112.426667 112.469334 112.64 112.64 0 0 0 144.853333 107.648 164.693333 164.693333 0 0 1-42.112-110.08z m-18.602666 136.704a136.533333 136.533333 0 0 1-65.706667-34.474667 205.44 205.44 0 0 0-111.232 182.4c0 9.813333 7.936 17.706667 17.706667 17.706667H303.36a273.621333 273.621333 0 0 1 87.893333-165.632z" fill="#FFFFFF"></path></svg>`
|
|
14494
|
+
icon: `<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 1024 1024"><path d="M512 512m-512 0a512 512 0 1 0 1024 0 512 512 0 1 0-1024 0Z" fill="#6D768D"></path><path d="M445.610667 401.578667a129.322667 129.322667 0 1 0 258.645333 0 129.322667 129.322667 0 0 0-258.645333 0z m237.568 114.901333a157.354667 157.354667 0 0 1-216.362667 0 236.373333 236.373333 0 0 0-127.957333 209.706667c0 11.264 9.130667 20.394667 20.394666 20.394666h431.402667a20.394667 20.394667 0 0 0 20.394667-20.394666 236.373333 236.373333 0 0 0-127.872-209.706667zM409.813333 401.578667c0-40.362667 14.592-77.397333 38.698667-106.112a112.725333 112.725333 0 0 0-29.013333-3.925334 112.64 112.64 0 0 0-112.426667 112.469334 112.64 112.64 0 0 0 144.853333 107.648 164.693333 164.693333 0 0 1-42.112-110.08z m-18.602666 136.704a136.533333 136.533333 0 0 1-65.706667-34.474667 205.44 205.44 0 0 0-111.232 182.4c0 9.813333 7.936 17.706667 17.706667 17.706667H303.36a273.621333 273.621333 0 0 1 87.893333-165.632z" fill="#FFFFFF"></path></svg>`
|
|
13987
14495
|
}
|
|
13988
14496
|
]
|
|
13989
14497
|
}
|
|
@@ -14034,10 +14542,11 @@ const defaultTagStyle = {
|
|
|
14034
14542
|
//width: 30 // 标签矩形的宽度,如果不设置,默认以文字的宽度+paddingX*2为宽度
|
|
14035
14543
|
};
|
|
14036
14544
|
function createImgNode() {
|
|
14037
|
-
|
|
14545
|
+
let img = this.getData("image");
|
|
14038
14546
|
if (!img) {
|
|
14039
14547
|
return;
|
|
14040
14548
|
}
|
|
14549
|
+
img = (this.mindMap.renderer.renderTree.data.imgMap || {})[img] || img;
|
|
14041
14550
|
const imgSize = this.getImgShowSize();
|
|
14042
14551
|
const node = new Image$1().load(img).size(...imgSize);
|
|
14043
14552
|
const { defaultNodeImage } = this.mindMap.opt;
|
|
@@ -14051,8 +14560,11 @@ function createImgNode() {
|
|
|
14051
14560
|
if (this.getData("imageTitle")) {
|
|
14052
14561
|
node.attr("title", this.getData("imageTitle"));
|
|
14053
14562
|
}
|
|
14563
|
+
node.on("click", (e) => {
|
|
14564
|
+
this.mindMap.emit("node_img_click", this, node, e);
|
|
14565
|
+
});
|
|
14054
14566
|
node.on("dblclick", (e) => {
|
|
14055
|
-
this.mindMap.emit("node_img_dblclick", this, e);
|
|
14567
|
+
this.mindMap.emit("node_img_dblclick", this, e, node);
|
|
14056
14568
|
});
|
|
14057
14569
|
node.on("mouseenter", (e) => {
|
|
14058
14570
|
this.mindMap.emit("node_img_mouseenter", this, node, e);
|
|
@@ -14206,8 +14718,9 @@ function createTextNode(specifyText) {
|
|
|
14206
14718
|
if (this.getData("resetRichText")) {
|
|
14207
14719
|
delete this.nodeData.data.resetRichText;
|
|
14208
14720
|
}
|
|
14209
|
-
|
|
14210
|
-
|
|
14721
|
+
const g2 = new G();
|
|
14722
|
+
const fontSize = this.getStyle("fontSize", false);
|
|
14723
|
+
const textAlign = this.getStyle("textAlign", false);
|
|
14211
14724
|
let textArr = [];
|
|
14212
14725
|
if (!isUndef(text)) {
|
|
14213
14726
|
textArr = String(text).split(/\n/gim);
|
|
@@ -14243,6 +14756,14 @@ function createTextNode(specifyText) {
|
|
|
14243
14756
|
}
|
|
14244
14757
|
const node = new Text().text(item);
|
|
14245
14758
|
node.addClass("smm-text-node-wrap");
|
|
14759
|
+
node.attr(
|
|
14760
|
+
"text-anchor",
|
|
14761
|
+
{
|
|
14762
|
+
left: "start",
|
|
14763
|
+
center: "middle",
|
|
14764
|
+
right: "end"
|
|
14765
|
+
}[textAlign] || "start"
|
|
14766
|
+
);
|
|
14246
14767
|
this.style.text(node);
|
|
14247
14768
|
node.y(
|
|
14248
14769
|
fontSize * noneRichTextNodeLineHeight * index + (noneRichTextNodeLineHeight - 1) * fontSize / 2
|
|
@@ -14493,10 +15014,10 @@ const nodeCreateContentsMethods = {
|
|
|
14493
15014
|
isUseCustomNodeContent
|
|
14494
15015
|
};
|
|
14495
15016
|
function renderExpandBtnPlaceholderRect() {
|
|
14496
|
-
if (
|
|
15017
|
+
if (this.getChildrenLength() <= 0 || this.isRoot) {
|
|
14497
15018
|
return;
|
|
14498
15019
|
}
|
|
14499
|
-
const { alwaysShowExpandBtn, notShowExpandBtn } = this.mindMap.opt;
|
|
15020
|
+
const { alwaysShowExpandBtn, notShowExpandBtn, expandBtnSize } = this.mindMap.opt;
|
|
14500
15021
|
if (!alwaysShowExpandBtn && !notShowExpandBtn) {
|
|
14501
15022
|
let { width: width2, height: height2 } = this;
|
|
14502
15023
|
if (!this._unVisibleRectRegionNode) {
|
|
@@ -14508,7 +15029,7 @@ function renderExpandBtnPlaceholderRect() {
|
|
|
14508
15029
|
this.group.add(this._unVisibleRectRegionNode);
|
|
14509
15030
|
this.renderer.layout.renderExpandBtnRect(
|
|
14510
15031
|
this._unVisibleRectRegionNode,
|
|
14511
|
-
|
|
15032
|
+
expandBtnSize,
|
|
14512
15033
|
width2,
|
|
14513
15034
|
height2,
|
|
14514
15035
|
this
|
|
@@ -14527,7 +15048,7 @@ function updateExpandBtnPlaceholderRect() {
|
|
|
14527
15048
|
this.needRerenderExpandBtnPlaceholderRect = false;
|
|
14528
15049
|
this.renderExpandBtnPlaceholderRect();
|
|
14529
15050
|
}
|
|
14530
|
-
if (this.
|
|
15051
|
+
if (this.getChildrenLength() > 0) {
|
|
14531
15052
|
if (!this._unVisibleRectRegionNode) {
|
|
14532
15053
|
this.renderExpandBtnPlaceholderRect();
|
|
14533
15054
|
}
|
|
@@ -14746,6 +15267,439 @@ const nodeCooperateMethods = {
|
|
|
14746
15267
|
removeUser,
|
|
14747
15268
|
emptyUser
|
|
14748
15269
|
};
|
|
15270
|
+
function initQuickCreateChildBtn() {
|
|
15271
|
+
if (this.isGeneralization) return;
|
|
15272
|
+
this._quickCreateChildBtn = null;
|
|
15273
|
+
this._showQuickCreateChildBtn = false;
|
|
15274
|
+
}
|
|
15275
|
+
function showQuickCreateChildBtn() {
|
|
15276
|
+
if (this.isGeneralization || this.getChildrenLength() > 0) return;
|
|
15277
|
+
if (this._quickCreateChildBtn) {
|
|
15278
|
+
this.group.add(this._quickCreateChildBtn);
|
|
15279
|
+
} else {
|
|
15280
|
+
const { quickCreateChildBtnIcon, expandBtnStyle, expandBtnSize } = this.mindMap.opt;
|
|
15281
|
+
const { icon, style } = quickCreateChildBtnIcon;
|
|
15282
|
+
let { color, fill } = expandBtnStyle || {
|
|
15283
|
+
color: "#808080",
|
|
15284
|
+
fill: "#fff"
|
|
15285
|
+
};
|
|
15286
|
+
color = style.color || color;
|
|
15287
|
+
const iconNode = SVG(icon || btnsSvg.quickCreateChild).size(
|
|
15288
|
+
expandBtnSize,
|
|
15289
|
+
expandBtnSize
|
|
15290
|
+
);
|
|
15291
|
+
iconNode.css({
|
|
15292
|
+
cursor: "pointer"
|
|
15293
|
+
});
|
|
15294
|
+
iconNode.x(0).y(-expandBtnSize / 2);
|
|
15295
|
+
this.style.iconNode(iconNode, color);
|
|
15296
|
+
const fillNode = new Circle().size(expandBtnSize);
|
|
15297
|
+
fillNode.x(0).y(-expandBtnSize / 2);
|
|
15298
|
+
fillNode.fill({ color: fill }).css({
|
|
15299
|
+
cursor: "pointer"
|
|
15300
|
+
});
|
|
15301
|
+
this._quickCreateChildBtn = new G();
|
|
15302
|
+
this._quickCreateChildBtn.add(fillNode).add(iconNode);
|
|
15303
|
+
this._quickCreateChildBtn.on("click", (e) => {
|
|
15304
|
+
e.stopPropagation();
|
|
15305
|
+
this.mindMap.emit("quick_create_btn_click", this);
|
|
15306
|
+
const { customQuickCreateChildBtnClick } = this.mindMap.opt;
|
|
15307
|
+
if (typeof customQuickCreateChildBtnClick === "function") {
|
|
15308
|
+
customQuickCreateChildBtnClick(this);
|
|
15309
|
+
return;
|
|
15310
|
+
}
|
|
15311
|
+
this.mindMap.execCommand("INSERT_CHILD_NODE", true, [this]);
|
|
15312
|
+
});
|
|
15313
|
+
this._quickCreateChildBtn.on("dblclick", (e) => {
|
|
15314
|
+
e.stopPropagation();
|
|
15315
|
+
});
|
|
15316
|
+
this._quickCreateChildBtn.addClass("smm-quick-create-child-btn");
|
|
15317
|
+
this.group.add(this._quickCreateChildBtn);
|
|
15318
|
+
}
|
|
15319
|
+
this._showQuickCreateChildBtn = true;
|
|
15320
|
+
this.renderer.layout.renderExpandBtn(this, this._quickCreateChildBtn);
|
|
15321
|
+
}
|
|
15322
|
+
function removeQuickCreateChildBtn() {
|
|
15323
|
+
if (this.isGeneralization) return;
|
|
15324
|
+
if (this._quickCreateChildBtn && this._showQuickCreateChildBtn) {
|
|
15325
|
+
this._quickCreateChildBtn.remove();
|
|
15326
|
+
this._showQuickCreateChildBtn = false;
|
|
15327
|
+
}
|
|
15328
|
+
}
|
|
15329
|
+
function hideQuickCreateChildBtn() {
|
|
15330
|
+
if (this.isGeneralization) return;
|
|
15331
|
+
const { isActive } = this.getData();
|
|
15332
|
+
if (!isActive) {
|
|
15333
|
+
this.removeQuickCreateChildBtn();
|
|
15334
|
+
}
|
|
15335
|
+
}
|
|
15336
|
+
const quickCreateChildBtnMethods = {
|
|
15337
|
+
initQuickCreateChildBtn,
|
|
15338
|
+
showQuickCreateChildBtn,
|
|
15339
|
+
removeQuickCreateChildBtn,
|
|
15340
|
+
hideQuickCreateChildBtn
|
|
15341
|
+
};
|
|
15342
|
+
function getImgTextMarin(dir, imgWidth, textWidth, imgHeight, textHeight) {
|
|
15343
|
+
const { imgTextMargin } = this.mindMap.opt;
|
|
15344
|
+
if (dir === "v") {
|
|
15345
|
+
return imgHeight > 0 && textHeight > 0 ? imgTextMargin : 0;
|
|
15346
|
+
} else {
|
|
15347
|
+
return imgWidth > 0 && textWidth > 0 ? imgTextMargin : 0;
|
|
15348
|
+
}
|
|
15349
|
+
}
|
|
15350
|
+
function getTagContentSize(space) {
|
|
15351
|
+
let maxTagHeight = 0;
|
|
15352
|
+
let width2 = this._tagData.reduce((sum, cur) => {
|
|
15353
|
+
maxTagHeight = Math.max(maxTagHeight, cur.height);
|
|
15354
|
+
return sum += cur.width;
|
|
15355
|
+
}, 0);
|
|
15356
|
+
width2 += (this._tagData.length - 1) * space;
|
|
15357
|
+
return {
|
|
15358
|
+
width: width2,
|
|
15359
|
+
height: maxTagHeight
|
|
15360
|
+
};
|
|
15361
|
+
}
|
|
15362
|
+
function getNodeRect() {
|
|
15363
|
+
if (this.isUseCustomNodeContent()) {
|
|
15364
|
+
const rect = this.measureCustomNodeContentSize(this._customNodeContent);
|
|
15365
|
+
return {
|
|
15366
|
+
width: this.hasCustomWidth() ? this.customTextWidth : rect.width,
|
|
15367
|
+
height: rect.height
|
|
15368
|
+
};
|
|
15369
|
+
}
|
|
15370
|
+
const { TAG_PLACEMENT, IMG_PLACEMENT } = CONSTANTS;
|
|
15371
|
+
const { textContentMargin } = this.mindMap.opt;
|
|
15372
|
+
const tagPlacement = this.getStyle("tagPlacement") || TAG_PLACEMENT.RIGHT;
|
|
15373
|
+
const tagIsBottom = tagPlacement === TAG_PLACEMENT.BOTTOM;
|
|
15374
|
+
const imgPlacement = this.getStyle("imgPlacement") || IMG_PLACEMENT.TOP;
|
|
15375
|
+
let imgContentWidth = 0;
|
|
15376
|
+
let imgContentHeight = 0;
|
|
15377
|
+
let textContentWidth = 0;
|
|
15378
|
+
let textContentHeight = 0;
|
|
15379
|
+
let tagContentWidth = 0;
|
|
15380
|
+
let tagContentHeight = 0;
|
|
15381
|
+
let spaceCount = 0;
|
|
15382
|
+
if (this._imgData) {
|
|
15383
|
+
imgContentWidth = this._imgData.width;
|
|
15384
|
+
imgContentHeight = this._imgData.height;
|
|
15385
|
+
}
|
|
15386
|
+
this.mindMap.nodeInnerPrefixList.forEach((item) => {
|
|
15387
|
+
const itemData = this[`_${item.name}Data`];
|
|
15388
|
+
if (itemData) {
|
|
15389
|
+
textContentWidth += itemData.width;
|
|
15390
|
+
textContentHeight = Math.max(textContentHeight, itemData.height);
|
|
15391
|
+
spaceCount++;
|
|
15392
|
+
}
|
|
15393
|
+
});
|
|
15394
|
+
if (this._prefixData) {
|
|
15395
|
+
textContentWidth += this._prefixData.width;
|
|
15396
|
+
textContentHeight = Math.max(textContentHeight, this._prefixData.height);
|
|
15397
|
+
spaceCount++;
|
|
15398
|
+
}
|
|
15399
|
+
if (this._iconData.length > 0) {
|
|
15400
|
+
textContentWidth += this._iconData.reduce((sum, cur) => {
|
|
15401
|
+
textContentHeight = Math.max(textContentHeight, cur.height);
|
|
15402
|
+
return sum += cur.width;
|
|
15403
|
+
}, 0) + (this._iconData.length - 1) * textContentMargin;
|
|
15404
|
+
spaceCount++;
|
|
15405
|
+
}
|
|
15406
|
+
if (this._textData) {
|
|
15407
|
+
textContentWidth += this._textData.width;
|
|
15408
|
+
textContentHeight = Math.max(textContentHeight, this._textData.height);
|
|
15409
|
+
spaceCount++;
|
|
15410
|
+
}
|
|
15411
|
+
if (this._hyperlinkData) {
|
|
15412
|
+
textContentWidth += this._hyperlinkData.width;
|
|
15413
|
+
textContentHeight = Math.max(textContentHeight, this._hyperlinkData.height);
|
|
15414
|
+
spaceCount++;
|
|
15415
|
+
}
|
|
15416
|
+
if (this._tagData.length > 0) {
|
|
15417
|
+
const { width: totalTagWidth, height: maxTagHeight } = this.getTagContentSize(textContentMargin);
|
|
15418
|
+
if (tagIsBottom) {
|
|
15419
|
+
tagContentWidth = totalTagWidth;
|
|
15420
|
+
tagContentHeight = maxTagHeight;
|
|
15421
|
+
} else {
|
|
15422
|
+
textContentWidth += totalTagWidth;
|
|
15423
|
+
textContentHeight = Math.max(textContentHeight, maxTagHeight);
|
|
15424
|
+
spaceCount++;
|
|
15425
|
+
}
|
|
15426
|
+
}
|
|
15427
|
+
if (this._noteData) {
|
|
15428
|
+
textContentWidth += this._noteData.width;
|
|
15429
|
+
textContentHeight = Math.max(textContentHeight, this._noteData.height);
|
|
15430
|
+
spaceCount++;
|
|
15431
|
+
}
|
|
15432
|
+
if (this._attachmentData) {
|
|
15433
|
+
textContentWidth += this._attachmentData.width;
|
|
15434
|
+
textContentHeight = Math.max(textContentHeight, this._attachmentData.height);
|
|
15435
|
+
spaceCount++;
|
|
15436
|
+
}
|
|
15437
|
+
if (this._postfixData) {
|
|
15438
|
+
textContentWidth += this._postfixData.width;
|
|
15439
|
+
textContentHeight = Math.max(textContentHeight, this._postfixData.height);
|
|
15440
|
+
spaceCount++;
|
|
15441
|
+
}
|
|
15442
|
+
this.mindMap.nodeInnerPostfixList.forEach((item) => {
|
|
15443
|
+
const itemData = this[`_${item.name}Data`];
|
|
15444
|
+
if (itemData) {
|
|
15445
|
+
textContentWidth += itemData.width;
|
|
15446
|
+
textContentHeight = Math.max(textContentHeight, itemData.height);
|
|
15447
|
+
spaceCount++;
|
|
15448
|
+
}
|
|
15449
|
+
});
|
|
15450
|
+
textContentWidth += (spaceCount - 1) * textContentMargin;
|
|
15451
|
+
if (tagIsBottom && textContentWidth > 0 && tagContentHeight > 0) {
|
|
15452
|
+
this._rectInfo.textContentWidthWithoutTag = textContentWidth;
|
|
15453
|
+
textContentWidth = Math.max(textContentWidth, tagContentWidth);
|
|
15454
|
+
textContentHeight = textContentHeight + textContentMargin + tagContentHeight;
|
|
15455
|
+
}
|
|
15456
|
+
this._rectInfo.textContentWidth = textContentWidth;
|
|
15457
|
+
this._rectInfo.textContentHeight = textContentHeight;
|
|
15458
|
+
let _width = 0;
|
|
15459
|
+
let _height = 0;
|
|
15460
|
+
if ([IMG_PLACEMENT.TOP, IMG_PLACEMENT.BOTTOM].includes(imgPlacement)) {
|
|
15461
|
+
_width = Math.max(imgContentWidth, textContentWidth);
|
|
15462
|
+
_height = imgContentHeight + textContentHeight + this.getImgTextMarin("v", 0, 0, imgContentHeight, textContentHeight);
|
|
15463
|
+
} else {
|
|
15464
|
+
_width = imgContentWidth + textContentWidth + this.getImgTextMarin("h", imgContentWidth, textContentWidth);
|
|
15465
|
+
_height = Math.max(imgContentHeight, textContentHeight);
|
|
15466
|
+
}
|
|
15467
|
+
const { paddingX, paddingY } = this.getPaddingVale();
|
|
15468
|
+
const { paddingX: shapePaddingX, paddingY: shapePaddingY } = this.shapeInstance.getShapePadding(_width, _height, paddingX, paddingY);
|
|
15469
|
+
this.shapePadding.paddingX = shapePaddingX;
|
|
15470
|
+
this.shapePadding.paddingY = shapePaddingY;
|
|
15471
|
+
const borderWidth = this.getBorderWidth();
|
|
15472
|
+
return {
|
|
15473
|
+
width: _width + paddingX * 2 + shapePaddingX * 2 + borderWidth,
|
|
15474
|
+
height: _height + paddingY * 2 + shapePaddingY * 2 + borderWidth
|
|
15475
|
+
};
|
|
15476
|
+
}
|
|
15477
|
+
function layout() {
|
|
15478
|
+
if (!this.group) return;
|
|
15479
|
+
this.group.clear();
|
|
15480
|
+
const {
|
|
15481
|
+
hoverRectPadding,
|
|
15482
|
+
openRealtimeRenderOnNodeTextEdit,
|
|
15483
|
+
textContentMargin,
|
|
15484
|
+
addCustomContentToNode
|
|
15485
|
+
} = this.mindMap.opt;
|
|
15486
|
+
const { width: width2, height: height2 } = this;
|
|
15487
|
+
let { paddingX, paddingY } = this.getPaddingVale();
|
|
15488
|
+
const halfBorderWidth = this.getBorderWidth() / 2;
|
|
15489
|
+
paddingX += this.shapePadding.paddingX + halfBorderWidth;
|
|
15490
|
+
paddingY += this.shapePadding.paddingY + halfBorderWidth;
|
|
15491
|
+
this.shapeNode = this.shapeInstance.createShape();
|
|
15492
|
+
this.shapeNode.addClass("smm-node-shape");
|
|
15493
|
+
this.shapeNode.translate(halfBorderWidth, halfBorderWidth);
|
|
15494
|
+
this.style.shape(this.shapeNode);
|
|
15495
|
+
this.group.add(this.shapeNode);
|
|
15496
|
+
this.renderExpandBtnPlaceholderRect();
|
|
15497
|
+
if (this.createUserListNode) this.createUserListNode();
|
|
15498
|
+
if (this.isGeneralization && this.generalizationBelongNode) {
|
|
15499
|
+
this.group.addClass("generalization_" + this.generalizationBelongNode.uid);
|
|
15500
|
+
}
|
|
15501
|
+
const addHoverNode = () => {
|
|
15502
|
+
this.hoverNode = new Rect().size(width2 + hoverRectPadding * 2, height2 + hoverRectPadding * 2).x(-hoverRectPadding).y(-hoverRectPadding);
|
|
15503
|
+
this.hoverNode.addClass("smm-hover-node");
|
|
15504
|
+
this.style.hoverNode(this.hoverNode, width2, height2);
|
|
15505
|
+
this.group.add(this.hoverNode);
|
|
15506
|
+
};
|
|
15507
|
+
if (this.isUseCustomNodeContent()) {
|
|
15508
|
+
const foreignObject = createForeignObjectNode({
|
|
15509
|
+
el: this._customNodeContent,
|
|
15510
|
+
width: width2,
|
|
15511
|
+
height: height2
|
|
15512
|
+
});
|
|
15513
|
+
this.group.add(foreignObject);
|
|
15514
|
+
addHoverNode();
|
|
15515
|
+
return;
|
|
15516
|
+
}
|
|
15517
|
+
const { IMG_PLACEMENT, TAG_PLACEMENT } = CONSTANTS;
|
|
15518
|
+
const imgPlacement = this.getStyle("imgPlacement") || IMG_PLACEMENT.TOP;
|
|
15519
|
+
const tagPlacement = this.getStyle("tagPlacement") || TAG_PLACEMENT.RIGHT;
|
|
15520
|
+
const tagIsBottom = tagPlacement === TAG_PLACEMENT.BOTTOM;
|
|
15521
|
+
let { textContentWidth, textContentHeight, textContentWidthWithoutTag } = this._rectInfo;
|
|
15522
|
+
const textContentHeightWithTag = textContentHeight;
|
|
15523
|
+
let totalTagWidth = 0;
|
|
15524
|
+
let maxTagHeight = 0;
|
|
15525
|
+
const hasTagContent = this._tagData && this._tagData.length > 0;
|
|
15526
|
+
if (hasTagContent) {
|
|
15527
|
+
const res = this.getTagContentSize(textContentMargin);
|
|
15528
|
+
totalTagWidth = res.width;
|
|
15529
|
+
maxTagHeight = res.height;
|
|
15530
|
+
if (tagIsBottom) {
|
|
15531
|
+
textContentHeight -= maxTagHeight + textContentMargin;
|
|
15532
|
+
}
|
|
15533
|
+
}
|
|
15534
|
+
let imgWidth = 0;
|
|
15535
|
+
let imgHeight = 0;
|
|
15536
|
+
if (this._imgData) {
|
|
15537
|
+
imgWidth = this._imgData.width;
|
|
15538
|
+
imgHeight = this._imgData.height;
|
|
15539
|
+
this.group.add(this._imgData.node);
|
|
15540
|
+
switch (imgPlacement) {
|
|
15541
|
+
case IMG_PLACEMENT.TOP:
|
|
15542
|
+
this._imgData.node.cx(width2 / 2).y(paddingY);
|
|
15543
|
+
break;
|
|
15544
|
+
case IMG_PLACEMENT.BOTTOM:
|
|
15545
|
+
this._imgData.node.cx(width2 / 2).y(height2 - paddingY - imgHeight);
|
|
15546
|
+
break;
|
|
15547
|
+
case IMG_PLACEMENT.LEFT:
|
|
15548
|
+
this._imgData.node.x(paddingX).cy(height2 / 2);
|
|
15549
|
+
break;
|
|
15550
|
+
case IMG_PLACEMENT.RIGHT:
|
|
15551
|
+
this._imgData.node.x(width2 - paddingX - imgWidth).cy(height2 / 2);
|
|
15552
|
+
break;
|
|
15553
|
+
}
|
|
15554
|
+
}
|
|
15555
|
+
let textContentNested = new G();
|
|
15556
|
+
let textContentOffsetX = 0;
|
|
15557
|
+
if (hasTagContent && tagIsBottom) {
|
|
15558
|
+
textContentOffsetX = textContentWidthWithoutTag < textContentWidth ? (textContentWidth - textContentWidthWithoutTag) / 2 : 0;
|
|
15559
|
+
}
|
|
15560
|
+
this.mindMap.nodeInnerPrefixList.forEach((item) => {
|
|
15561
|
+
const itemData = this[`_${item.name}Data`];
|
|
15562
|
+
if (itemData) {
|
|
15563
|
+
itemData.node.x(textContentOffsetX).y((textContentHeight - itemData.height) / 2);
|
|
15564
|
+
textContentNested.add(itemData.node);
|
|
15565
|
+
textContentOffsetX += itemData.width + textContentMargin;
|
|
15566
|
+
}
|
|
15567
|
+
});
|
|
15568
|
+
if (this._prefixData) {
|
|
15569
|
+
const foreignObject = createForeignObjectNode({
|
|
15570
|
+
el: this._prefixData.el,
|
|
15571
|
+
width: this._prefixData.width,
|
|
15572
|
+
height: this._prefixData.height
|
|
15573
|
+
});
|
|
15574
|
+
foreignObject.x(textContentOffsetX).y((textContentHeight - this._prefixData.height) / 2);
|
|
15575
|
+
textContentNested.add(foreignObject);
|
|
15576
|
+
textContentOffsetX += this._prefixData.width + textContentMargin;
|
|
15577
|
+
}
|
|
15578
|
+
let iconNested = new G();
|
|
15579
|
+
if (this._iconData && this._iconData.length > 0) {
|
|
15580
|
+
let iconLeft = 0;
|
|
15581
|
+
this._iconData.forEach((item) => {
|
|
15582
|
+
item.node.x(textContentOffsetX + iconLeft).y((textContentHeight - item.height) / 2);
|
|
15583
|
+
iconNested.add(item.node);
|
|
15584
|
+
iconLeft += item.width + textContentMargin;
|
|
15585
|
+
});
|
|
15586
|
+
textContentNested.add(iconNested);
|
|
15587
|
+
textContentOffsetX += iconLeft;
|
|
15588
|
+
}
|
|
15589
|
+
if (this._textData) {
|
|
15590
|
+
const oldX = this._textData.node.attr("data-offsetx") || 0;
|
|
15591
|
+
this._textData.node.attr("data-offsetx", textContentOffsetX);
|
|
15592
|
+
(this._textData.nodeContent || this._textData.node).x(-oldX).x(textContentOffsetX).y((textContentHeight - this._textData.height) / 2);
|
|
15593
|
+
if (openRealtimeRenderOnNodeTextEdit) {
|
|
15594
|
+
this._textData.node.opacity(
|
|
15595
|
+
this.mindMap.renderer.textEdit.getCurrentEditNode() === this ? 0 : 1
|
|
15596
|
+
);
|
|
15597
|
+
}
|
|
15598
|
+
textContentNested.add(this._textData.node);
|
|
15599
|
+
textContentOffsetX += this._textData.width + textContentMargin;
|
|
15600
|
+
}
|
|
15601
|
+
if (this._hyperlinkData) {
|
|
15602
|
+
this._hyperlinkData.node.x(textContentOffsetX).y((textContentHeight - this._hyperlinkData.height) / 2);
|
|
15603
|
+
textContentNested.add(this._hyperlinkData.node);
|
|
15604
|
+
textContentOffsetX += this._hyperlinkData.width + textContentMargin;
|
|
15605
|
+
}
|
|
15606
|
+
let tagNested = new G();
|
|
15607
|
+
if (hasTagContent) {
|
|
15608
|
+
if (tagIsBottom) {
|
|
15609
|
+
let tagLeft = 0;
|
|
15610
|
+
this._tagData.forEach((item) => {
|
|
15611
|
+
item.node.x(tagLeft).y((maxTagHeight - item.height) / 2);
|
|
15612
|
+
tagNested.add(item.node);
|
|
15613
|
+
tagLeft += item.width + textContentMargin;
|
|
15614
|
+
});
|
|
15615
|
+
tagNested.x((textContentWidth - totalTagWidth) / 2).y(textContentHeightWithTag - maxTagHeight);
|
|
15616
|
+
textContentNested.add(tagNested);
|
|
15617
|
+
} else {
|
|
15618
|
+
let tagLeft = 0;
|
|
15619
|
+
this._tagData.forEach((item) => {
|
|
15620
|
+
item.node.x(textContentOffsetX + tagLeft).y((textContentHeight - item.height) / 2);
|
|
15621
|
+
tagNested.add(item.node);
|
|
15622
|
+
tagLeft += item.width + textContentMargin;
|
|
15623
|
+
});
|
|
15624
|
+
textContentNested.add(tagNested);
|
|
15625
|
+
textContentOffsetX += tagLeft;
|
|
15626
|
+
}
|
|
15627
|
+
}
|
|
15628
|
+
if (this._noteData) {
|
|
15629
|
+
this._noteData.node.x(textContentOffsetX).y((textContentHeight - this._noteData.height) / 2);
|
|
15630
|
+
textContentNested.add(this._noteData.node);
|
|
15631
|
+
textContentOffsetX += this._noteData.width + textContentMargin;
|
|
15632
|
+
}
|
|
15633
|
+
if (this._attachmentData) {
|
|
15634
|
+
this._attachmentData.node.x(textContentOffsetX).y((textContentHeight - this._attachmentData.height) / 2);
|
|
15635
|
+
textContentNested.add(this._attachmentData.node);
|
|
15636
|
+
textContentOffsetX += this._attachmentData.width + textContentMargin;
|
|
15637
|
+
}
|
|
15638
|
+
if (this._postfixData) {
|
|
15639
|
+
const foreignObject = createForeignObjectNode({
|
|
15640
|
+
el: this._postfixData.el,
|
|
15641
|
+
width: this._postfixData.width,
|
|
15642
|
+
height: this._postfixData.height
|
|
15643
|
+
});
|
|
15644
|
+
foreignObject.x(textContentOffsetX).y((textContentHeight - this._postfixData.height) / 2);
|
|
15645
|
+
textContentNested.add(foreignObject);
|
|
15646
|
+
textContentOffsetX += this._postfixData.width + textContentMargin;
|
|
15647
|
+
}
|
|
15648
|
+
this.mindMap.nodeInnerPostfixList.forEach((item) => {
|
|
15649
|
+
const itemData = this[`_${item.name}Data`];
|
|
15650
|
+
if (itemData) {
|
|
15651
|
+
itemData.node.x(textContentOffsetX).y((textContentHeight - itemData.height) / 2);
|
|
15652
|
+
textContentNested.add(itemData.node);
|
|
15653
|
+
textContentOffsetX += itemData.width + textContentMargin;
|
|
15654
|
+
}
|
|
15655
|
+
});
|
|
15656
|
+
this.group.add(textContentNested);
|
|
15657
|
+
const { width: bboxWidth, height: bboxHeight } = textContentNested.bbox();
|
|
15658
|
+
let translateX = 0;
|
|
15659
|
+
let translateY = 0;
|
|
15660
|
+
switch (imgPlacement) {
|
|
15661
|
+
case IMG_PLACEMENT.TOP:
|
|
15662
|
+
translateX = width2 / 2 - bboxWidth / 2;
|
|
15663
|
+
translateY = paddingY + // 内边距
|
|
15664
|
+
imgHeight + // 图片高度
|
|
15665
|
+
this.getImgTextMarin("v", 0, 0, imgHeight, textContentHeightWithTag);
|
|
15666
|
+
break;
|
|
15667
|
+
case IMG_PLACEMENT.BOTTOM:
|
|
15668
|
+
translateX = width2 / 2 - bboxWidth / 2;
|
|
15669
|
+
translateY = paddingY;
|
|
15670
|
+
break;
|
|
15671
|
+
case IMG_PLACEMENT.LEFT:
|
|
15672
|
+
translateX = imgWidth + paddingX + this.getImgTextMarin("h", imgWidth, textContentWidth);
|
|
15673
|
+
translateY = height2 / 2 - bboxHeight / 2;
|
|
15674
|
+
break;
|
|
15675
|
+
case IMG_PLACEMENT.RIGHT:
|
|
15676
|
+
translateX = paddingX;
|
|
15677
|
+
translateY = height2 / 2 - bboxHeight / 2;
|
|
15678
|
+
break;
|
|
15679
|
+
}
|
|
15680
|
+
textContentNested.translate(translateX, translateY);
|
|
15681
|
+
addHoverNode();
|
|
15682
|
+
if (this._customContentAddToNodeAdd && this._customContentAddToNodeAdd.el) {
|
|
15683
|
+
const foreignObject = createForeignObjectNode(
|
|
15684
|
+
this._customContentAddToNodeAdd
|
|
15685
|
+
);
|
|
15686
|
+
this.group.add(foreignObject);
|
|
15687
|
+
if (addCustomContentToNode && typeof addCustomContentToNode.handle === "function") {
|
|
15688
|
+
addCustomContentToNode.handle({
|
|
15689
|
+
content: this._customContentAddToNodeAdd,
|
|
15690
|
+
element: foreignObject,
|
|
15691
|
+
node: this
|
|
15692
|
+
});
|
|
15693
|
+
}
|
|
15694
|
+
}
|
|
15695
|
+
this.mindMap.emit("node_layout_end", this);
|
|
15696
|
+
}
|
|
15697
|
+
const nodeLayoutMethods = {
|
|
15698
|
+
getImgTextMarin,
|
|
15699
|
+
getTagContentSize,
|
|
15700
|
+
getNodeRect,
|
|
15701
|
+
layout
|
|
15702
|
+
};
|
|
14749
15703
|
class MindMapNode {
|
|
14750
15704
|
// 构造函数
|
|
14751
15705
|
constructor(opt = {}) {
|
|
@@ -14806,22 +15760,23 @@ class MindMapNode {
|
|
|
14806
15760
|
this._generalizationList = [];
|
|
14807
15761
|
this._unVisibleRectRegionNode = null;
|
|
14808
15762
|
this._isMouseenter = false;
|
|
15763
|
+
this._customContentAddToNodeAdd = null;
|
|
14809
15764
|
this._rectInfo = {
|
|
14810
|
-
imgContentWidth: 0,
|
|
14811
|
-
imgContentHeight: 0,
|
|
14812
15765
|
textContentWidth: 0,
|
|
14813
|
-
textContentHeight: 0
|
|
15766
|
+
textContentHeight: 0,
|
|
15767
|
+
textContentWidthWithoutTag: 0
|
|
14814
15768
|
};
|
|
14815
15769
|
this._generalizationNodeWidth = 0;
|
|
14816
15770
|
this._generalizationNodeHeight = 0;
|
|
14817
|
-
this.textContentItemMargin = this.mindMap.opt.textContentMargin;
|
|
14818
|
-
this.blockContentMargin = this.mindMap.opt.imgTextMargin;
|
|
14819
15771
|
this.expandBtnSize = this.mindMap.opt.expandBtnSize;
|
|
14820
15772
|
this.isMultipleChoice = false;
|
|
14821
15773
|
this.needLayout = false;
|
|
14822
15774
|
this.isHide = false;
|
|
14823
15775
|
const proto = Object.getPrototypeOf(this);
|
|
14824
15776
|
if (!proto.bindEvent) {
|
|
15777
|
+
Object.keys(nodeLayoutMethods).forEach((item) => {
|
|
15778
|
+
proto[item] = nodeLayoutMethods[item];
|
|
15779
|
+
});
|
|
14825
15780
|
Object.keys(nodeGeneralizationMethods).forEach((item) => {
|
|
14826
15781
|
proto[item] = nodeGeneralizationMethods[item];
|
|
14827
15782
|
});
|
|
@@ -14845,6 +15800,12 @@ class MindMapNode {
|
|
|
14845
15800
|
Object.keys(nodeModifyWidthMethods).forEach((item) => {
|
|
14846
15801
|
proto[item] = nodeModifyWidthMethods[item];
|
|
14847
15802
|
});
|
|
15803
|
+
if (this.mindMap.opt.isShowCreateChildBtnIcon) {
|
|
15804
|
+
Object.keys(quickCreateChildBtnMethods).forEach((item) => {
|
|
15805
|
+
proto[item] = quickCreateChildBtnMethods[item];
|
|
15806
|
+
});
|
|
15807
|
+
this.initQuickCreateChildBtn();
|
|
15808
|
+
}
|
|
14848
15809
|
proto.bindEvent = true;
|
|
14849
15810
|
}
|
|
14850
15811
|
this.getSize();
|
|
@@ -14891,7 +15852,8 @@ class MindMapNode {
|
|
|
14891
15852
|
isUseCustomNodeContent: isUseCustomNodeContent2,
|
|
14892
15853
|
customCreateNodeContent,
|
|
14893
15854
|
createNodePrefixContent,
|
|
14894
|
-
createNodePostfixContent
|
|
15855
|
+
createNodePostfixContent,
|
|
15856
|
+
addCustomContentToNode
|
|
14895
15857
|
} = this.mindMap.opt;
|
|
14896
15858
|
const typeList = [
|
|
14897
15859
|
"custom",
|
|
@@ -14906,6 +15868,9 @@ class MindMapNode {
|
|
|
14906
15868
|
"postfix",
|
|
14907
15869
|
...this.mindMap.nodeInnerPrefixList.map((item) => {
|
|
14908
15870
|
return item.name;
|
|
15871
|
+
}),
|
|
15872
|
+
...this.mindMap.nodeInnerPostfixList.map((item) => {
|
|
15873
|
+
return item.name;
|
|
14909
15874
|
})
|
|
14910
15875
|
];
|
|
14911
15876
|
const createTypes = {};
|
|
@@ -14952,6 +15917,17 @@ class MindMapNode {
|
|
|
14952
15917
|
addXmlns(this._postfixData.el);
|
|
14953
15918
|
}
|
|
14954
15919
|
}
|
|
15920
|
+
this.mindMap.nodeInnerPostfixList.forEach((item) => {
|
|
15921
|
+
if (createTypes[item.name]) {
|
|
15922
|
+
this[`_${item.name}Data`] = item.createContent(this);
|
|
15923
|
+
}
|
|
15924
|
+
});
|
|
15925
|
+
if (addCustomContentToNode && typeof addCustomContentToNode.create === "function") {
|
|
15926
|
+
this._customContentAddToNodeAdd = addCustomContentToNode.create(this);
|
|
15927
|
+
if (this._customContentAddToNodeAdd && this._customContentAddToNodeAdd.el) {
|
|
15928
|
+
addXmlns(this._customContentAddToNodeAdd.el);
|
|
15929
|
+
}
|
|
15930
|
+
}
|
|
14955
15931
|
}
|
|
14956
15932
|
// 计算节点的宽高
|
|
14957
15933
|
getSize(recreateTypes, opt = {}) {
|
|
@@ -14968,255 +15944,6 @@ class MindMapNode {
|
|
|
14968
15944
|
this.height = height2;
|
|
14969
15945
|
return changed;
|
|
14970
15946
|
}
|
|
14971
|
-
// 计算节点尺寸信息
|
|
14972
|
-
getNodeRect() {
|
|
14973
|
-
if (this.isUseCustomNodeContent()) {
|
|
14974
|
-
const rect = this.measureCustomNodeContentSize(this._customNodeContent);
|
|
14975
|
-
return {
|
|
14976
|
-
width: this.hasCustomWidth() ? this.customTextWidth : rect.width,
|
|
14977
|
-
height: rect.height
|
|
14978
|
-
};
|
|
14979
|
-
}
|
|
14980
|
-
const { tagPosition } = this.mindMap.opt;
|
|
14981
|
-
const tagIsBottom = tagPosition === CONSTANTS.TAG_POSITION.BOTTOM;
|
|
14982
|
-
let imgContentWidth = 0;
|
|
14983
|
-
let imgContentHeight = 0;
|
|
14984
|
-
let textContentWidth = 0;
|
|
14985
|
-
let textContentHeight = 0;
|
|
14986
|
-
let tagContentWidth = 0;
|
|
14987
|
-
let tagContentHeight = 0;
|
|
14988
|
-
if (this._imgData) {
|
|
14989
|
-
this._rectInfo.imgContentWidth = imgContentWidth = this._imgData.width;
|
|
14990
|
-
this._rectInfo.imgContentHeight = imgContentHeight = this._imgData.height;
|
|
14991
|
-
}
|
|
14992
|
-
this.mindMap.nodeInnerPrefixList.forEach((item) => {
|
|
14993
|
-
const itemData = this[`_${item.name}Data`];
|
|
14994
|
-
if (itemData) {
|
|
14995
|
-
textContentWidth += itemData.width;
|
|
14996
|
-
textContentHeight = Math.max(textContentHeight, itemData.height);
|
|
14997
|
-
}
|
|
14998
|
-
});
|
|
14999
|
-
if (this._prefixData) {
|
|
15000
|
-
textContentWidth += this._prefixData.width;
|
|
15001
|
-
textContentHeight = Math.max(textContentHeight, this._prefixData.height);
|
|
15002
|
-
}
|
|
15003
|
-
if (this._iconData.length > 0) {
|
|
15004
|
-
textContentWidth += this._iconData.reduce((sum, cur) => {
|
|
15005
|
-
textContentHeight = Math.max(textContentHeight, cur.height);
|
|
15006
|
-
return sum += cur.width + this.textContentItemMargin;
|
|
15007
|
-
}, 0);
|
|
15008
|
-
}
|
|
15009
|
-
if (this._textData) {
|
|
15010
|
-
textContentWidth += this._textData.width;
|
|
15011
|
-
textContentHeight = Math.max(textContentHeight, this._textData.height);
|
|
15012
|
-
}
|
|
15013
|
-
if (this._hyperlinkData) {
|
|
15014
|
-
textContentWidth += this._hyperlinkData.width;
|
|
15015
|
-
textContentHeight = Math.max(
|
|
15016
|
-
textContentHeight,
|
|
15017
|
-
this._hyperlinkData.height
|
|
15018
|
-
);
|
|
15019
|
-
}
|
|
15020
|
-
if (this._tagData.length > 0) {
|
|
15021
|
-
let maxTagHeight = 0;
|
|
15022
|
-
const totalTagWidth = this._tagData.reduce((sum, cur) => {
|
|
15023
|
-
maxTagHeight = Math.max(maxTagHeight, cur.height);
|
|
15024
|
-
return sum += cur.width + this.textContentItemMargin;
|
|
15025
|
-
}, 0);
|
|
15026
|
-
if (tagIsBottom) {
|
|
15027
|
-
tagContentWidth = totalTagWidth;
|
|
15028
|
-
tagContentHeight = maxTagHeight;
|
|
15029
|
-
} else {
|
|
15030
|
-
textContentWidth += totalTagWidth;
|
|
15031
|
-
textContentHeight = Math.max(textContentHeight, maxTagHeight);
|
|
15032
|
-
}
|
|
15033
|
-
}
|
|
15034
|
-
if (this._noteData) {
|
|
15035
|
-
textContentWidth += this._noteData.width;
|
|
15036
|
-
textContentHeight = Math.max(textContentHeight, this._noteData.height);
|
|
15037
|
-
}
|
|
15038
|
-
if (this._attachmentData) {
|
|
15039
|
-
textContentWidth += this._attachmentData.width;
|
|
15040
|
-
textContentHeight = Math.max(
|
|
15041
|
-
textContentHeight,
|
|
15042
|
-
this._attachmentData.height
|
|
15043
|
-
);
|
|
15044
|
-
}
|
|
15045
|
-
if (this._postfixData) {
|
|
15046
|
-
textContentWidth += this._postfixData.width;
|
|
15047
|
-
textContentHeight = Math.max(textContentHeight, this._postfixData.height);
|
|
15048
|
-
}
|
|
15049
|
-
this._rectInfo.textContentWidth = textContentWidth;
|
|
15050
|
-
this._rectInfo.textContentHeight = textContentHeight;
|
|
15051
|
-
let margin = imgContentHeight > 0 && textContentHeight > 0 ? this.blockContentMargin : 0;
|
|
15052
|
-
const { paddingX, paddingY } = this.getPaddingVale();
|
|
15053
|
-
let _width = Math.max(imgContentWidth, textContentWidth);
|
|
15054
|
-
let _height = imgContentHeight + textContentHeight;
|
|
15055
|
-
if (tagIsBottom && tagContentHeight > 0 && textContentHeight > 0) {
|
|
15056
|
-
margin += this.blockContentMargin;
|
|
15057
|
-
_width = Math.max(_width, tagContentWidth);
|
|
15058
|
-
_height += tagContentHeight;
|
|
15059
|
-
}
|
|
15060
|
-
const { paddingX: shapePaddingX, paddingY: shapePaddingY } = this.shapeInstance.getShapePadding(_width, _height, paddingX, paddingY);
|
|
15061
|
-
this.shapePadding.paddingX = shapePaddingX;
|
|
15062
|
-
this.shapePadding.paddingY = shapePaddingY;
|
|
15063
|
-
const borderWidth = this.getBorderWidth();
|
|
15064
|
-
return {
|
|
15065
|
-
width: _width + paddingX * 2 + shapePaddingX * 2 + borderWidth,
|
|
15066
|
-
height: _height + paddingY * 2 + margin + shapePaddingY * 2 + borderWidth
|
|
15067
|
-
};
|
|
15068
|
-
}
|
|
15069
|
-
// 定位节点内容
|
|
15070
|
-
layout() {
|
|
15071
|
-
if (!this.group) return;
|
|
15072
|
-
this.group.clear();
|
|
15073
|
-
const { hoverRectPadding, tagPosition, openRealtimeRenderOnNodeTextEdit } = this.mindMap.opt;
|
|
15074
|
-
let { width: width2, height: height2, textContentItemMargin } = this;
|
|
15075
|
-
let { paddingY } = this.getPaddingVale();
|
|
15076
|
-
const halfBorderWidth = this.getBorderWidth() / 2;
|
|
15077
|
-
paddingY += this.shapePadding.paddingY + halfBorderWidth;
|
|
15078
|
-
this.shapeNode = this.shapeInstance.createShape();
|
|
15079
|
-
this.shapeNode.addClass("smm-node-shape");
|
|
15080
|
-
this.shapeNode.translate(halfBorderWidth, halfBorderWidth);
|
|
15081
|
-
this.style.shape(this.shapeNode);
|
|
15082
|
-
this.group.add(this.shapeNode);
|
|
15083
|
-
this.renderExpandBtnPlaceholderRect();
|
|
15084
|
-
if (this.createUserListNode) this.createUserListNode();
|
|
15085
|
-
if (this.isGeneralization && this.generalizationBelongNode) {
|
|
15086
|
-
this.group.addClass("generalization_" + this.generalizationBelongNode.uid);
|
|
15087
|
-
}
|
|
15088
|
-
const addHoverNode = () => {
|
|
15089
|
-
this.hoverNode = new Rect().size(width2 + hoverRectPadding * 2, height2 + hoverRectPadding * 2).x(-hoverRectPadding).y(-hoverRectPadding);
|
|
15090
|
-
this.hoverNode.addClass("smm-hover-node");
|
|
15091
|
-
this.style.hoverNode(this.hoverNode, width2, height2);
|
|
15092
|
-
this.group.add(this.hoverNode);
|
|
15093
|
-
};
|
|
15094
|
-
if (this.isUseCustomNodeContent()) {
|
|
15095
|
-
const foreignObject = createForeignObjectNode({
|
|
15096
|
-
el: this._customNodeContent,
|
|
15097
|
-
width: width2,
|
|
15098
|
-
height: height2
|
|
15099
|
-
});
|
|
15100
|
-
this.group.add(foreignObject);
|
|
15101
|
-
addHoverNode();
|
|
15102
|
-
return;
|
|
15103
|
-
}
|
|
15104
|
-
const tagIsBottom = tagPosition === CONSTANTS.TAG_POSITION.BOTTOM;
|
|
15105
|
-
const { textContentHeight } = this._rectInfo;
|
|
15106
|
-
let imgHeight = 0;
|
|
15107
|
-
if (this._imgData) {
|
|
15108
|
-
imgHeight = this._imgData.height;
|
|
15109
|
-
this.group.add(this._imgData.node);
|
|
15110
|
-
this._imgData.node.cx(width2 / 2).y(paddingY);
|
|
15111
|
-
}
|
|
15112
|
-
let textContentNested = new G();
|
|
15113
|
-
let textContentOffsetX = 0;
|
|
15114
|
-
this.mindMap.nodeInnerPrefixList.forEach((item) => {
|
|
15115
|
-
const itemData = this[`_${item.name}Data`];
|
|
15116
|
-
if (itemData) {
|
|
15117
|
-
itemData.node.x(textContentOffsetX).y((textContentHeight - itemData.height) / 2);
|
|
15118
|
-
textContentNested.add(itemData.node);
|
|
15119
|
-
textContentOffsetX += itemData.width + textContentItemMargin;
|
|
15120
|
-
}
|
|
15121
|
-
});
|
|
15122
|
-
if (this._prefixData) {
|
|
15123
|
-
const foreignObject = createForeignObjectNode({
|
|
15124
|
-
el: this._prefixData.el,
|
|
15125
|
-
width: this._prefixData.width,
|
|
15126
|
-
height: this._prefixData.height
|
|
15127
|
-
});
|
|
15128
|
-
foreignObject.x(textContentOffsetX).y((textContentHeight - this._prefixData.height) / 2);
|
|
15129
|
-
textContentNested.add(foreignObject);
|
|
15130
|
-
textContentOffsetX += this._prefixData.width + textContentItemMargin;
|
|
15131
|
-
}
|
|
15132
|
-
let iconNested = new G();
|
|
15133
|
-
if (this._iconData && this._iconData.length > 0) {
|
|
15134
|
-
let iconLeft = 0;
|
|
15135
|
-
this._iconData.forEach((item) => {
|
|
15136
|
-
item.node.x(textContentOffsetX + iconLeft).y((textContentHeight - item.height) / 2);
|
|
15137
|
-
iconNested.add(item.node);
|
|
15138
|
-
iconLeft += item.width + textContentItemMargin;
|
|
15139
|
-
});
|
|
15140
|
-
textContentNested.add(iconNested);
|
|
15141
|
-
textContentOffsetX += iconLeft;
|
|
15142
|
-
}
|
|
15143
|
-
if (this._textData) {
|
|
15144
|
-
const oldX = this._textData.node.attr("data-offsetx") || 0;
|
|
15145
|
-
this._textData.node.attr("data-offsetx", textContentOffsetX);
|
|
15146
|
-
(this._textData.nodeContent || this._textData.node).x(-oldX).x(textContentOffsetX).y((textContentHeight - this._textData.height) / 2);
|
|
15147
|
-
if (openRealtimeRenderOnNodeTextEdit) {
|
|
15148
|
-
this._textData.node.opacity(
|
|
15149
|
-
this.mindMap.renderer.textEdit.getCurrentEditNode() === this ? 0 : 1
|
|
15150
|
-
);
|
|
15151
|
-
}
|
|
15152
|
-
textContentNested.add(this._textData.node);
|
|
15153
|
-
textContentOffsetX += this._textData.width + textContentItemMargin;
|
|
15154
|
-
}
|
|
15155
|
-
if (this._hyperlinkData) {
|
|
15156
|
-
this._hyperlinkData.node.x(textContentOffsetX).y((textContentHeight - this._hyperlinkData.height) / 2);
|
|
15157
|
-
textContentNested.add(this._hyperlinkData.node);
|
|
15158
|
-
textContentOffsetX += this._hyperlinkData.width + textContentItemMargin;
|
|
15159
|
-
}
|
|
15160
|
-
let tagNested = new G();
|
|
15161
|
-
if (this._tagData && this._tagData.length > 0) {
|
|
15162
|
-
if (tagIsBottom) {
|
|
15163
|
-
let tagLeft = 0;
|
|
15164
|
-
this._tagData.forEach((item) => {
|
|
15165
|
-
item.node.x(tagLeft).y(0);
|
|
15166
|
-
tagNested.add(item.node);
|
|
15167
|
-
tagLeft += item.width + textContentItemMargin;
|
|
15168
|
-
});
|
|
15169
|
-
tagNested.cx(width2 / 2).y(
|
|
15170
|
-
paddingY + // 内边距
|
|
15171
|
-
imgHeight + // 图片高度
|
|
15172
|
-
textContentHeight + // 文本区域高度
|
|
15173
|
-
(imgHeight > 0 && textContentHeight > 0 ? this.blockContentMargin : 0) + // 图片和文本之间的间距
|
|
15174
|
-
this.blockContentMargin
|
|
15175
|
-
// 标签和文本之间的间距
|
|
15176
|
-
);
|
|
15177
|
-
this.group.add(tagNested);
|
|
15178
|
-
} else {
|
|
15179
|
-
let tagLeft = 0;
|
|
15180
|
-
this._tagData.forEach((item) => {
|
|
15181
|
-
item.node.x(textContentOffsetX + tagLeft).y((textContentHeight - item.height) / 2);
|
|
15182
|
-
tagNested.add(item.node);
|
|
15183
|
-
tagLeft += item.width + textContentItemMargin;
|
|
15184
|
-
});
|
|
15185
|
-
textContentNested.add(tagNested);
|
|
15186
|
-
textContentOffsetX += tagLeft;
|
|
15187
|
-
}
|
|
15188
|
-
}
|
|
15189
|
-
if (this._noteData) {
|
|
15190
|
-
this._noteData.node.x(textContentOffsetX).y((textContentHeight - this._noteData.height) / 2);
|
|
15191
|
-
textContentNested.add(this._noteData.node);
|
|
15192
|
-
textContentOffsetX += this._noteData.width;
|
|
15193
|
-
}
|
|
15194
|
-
if (this._attachmentData) {
|
|
15195
|
-
this._attachmentData.node.x(textContentOffsetX).y((textContentHeight - this._attachmentData.height) / 2);
|
|
15196
|
-
textContentNested.add(this._attachmentData.node);
|
|
15197
|
-
textContentOffsetX += this._attachmentData.width;
|
|
15198
|
-
}
|
|
15199
|
-
if (this._postfixData) {
|
|
15200
|
-
const foreignObject = createForeignObjectNode({
|
|
15201
|
-
el: this._postfixData.el,
|
|
15202
|
-
width: this._postfixData.width,
|
|
15203
|
-
height: this._postfixData.height
|
|
15204
|
-
});
|
|
15205
|
-
foreignObject.x(textContentOffsetX).y((textContentHeight - this._postfixData.height) / 2);
|
|
15206
|
-
textContentNested.add(foreignObject);
|
|
15207
|
-
textContentOffsetX += this._postfixData.width;
|
|
15208
|
-
}
|
|
15209
|
-
this.group.add(textContentNested);
|
|
15210
|
-
textContentNested.translate(
|
|
15211
|
-
width2 / 2 - textContentNested.bbox().width / 2,
|
|
15212
|
-
paddingY + // 内边距
|
|
15213
|
-
imgHeight + // 图片高度
|
|
15214
|
-
(imgHeight > 0 && textContentHeight > 0 ? this.blockContentMargin : 0)
|
|
15215
|
-
// 和图片的间距
|
|
15216
|
-
);
|
|
15217
|
-
addHoverNode();
|
|
15218
|
-
this.mindMap.emit("node_layout_end", this);
|
|
15219
|
-
}
|
|
15220
15947
|
// 给节点绑定事件
|
|
15221
15948
|
bindGroupEvent() {
|
|
15222
15949
|
this.group.on("click", (e) => {
|
|
@@ -15343,9 +16070,14 @@ class MindMapNode {
|
|
|
15343
16070
|
return;
|
|
15344
16071
|
}
|
|
15345
16072
|
this.updateNodeActiveClass();
|
|
15346
|
-
const {
|
|
16073
|
+
const {
|
|
16074
|
+
alwaysShowExpandBtn,
|
|
16075
|
+
notShowExpandBtn,
|
|
16076
|
+
isShowCreateChildBtnIcon,
|
|
16077
|
+
readonly
|
|
16078
|
+
} = this.mindMap.opt;
|
|
16079
|
+
const childrenLength = this.getChildrenLength();
|
|
15347
16080
|
if (!notShowExpandBtn) {
|
|
15348
|
-
const childrenLength = this.nodeData.children.length;
|
|
15349
16081
|
if (alwaysShowExpandBtn) {
|
|
15350
16082
|
if (this._expandBtn && childrenLength <= 0) {
|
|
15351
16083
|
this.removeExpandBtn();
|
|
@@ -15363,11 +16095,23 @@ class MindMapNode {
|
|
|
15363
16095
|
}
|
|
15364
16096
|
}
|
|
15365
16097
|
}
|
|
16098
|
+
if (isShowCreateChildBtnIcon) {
|
|
16099
|
+
if (childrenLength > 0) {
|
|
16100
|
+
this.removeQuickCreateChildBtn();
|
|
16101
|
+
} else {
|
|
16102
|
+
const { isActive } = this.getData();
|
|
16103
|
+
if (isActive) {
|
|
16104
|
+
this.showQuickCreateChildBtn();
|
|
16105
|
+
} else {
|
|
16106
|
+
this.hideQuickCreateChildBtn();
|
|
16107
|
+
}
|
|
16108
|
+
}
|
|
16109
|
+
}
|
|
15366
16110
|
this.updateDragHandle();
|
|
15367
16111
|
this.renderGeneralization(forceRender);
|
|
15368
16112
|
if (this.updateUserListNode) this.updateUserListNode();
|
|
15369
16113
|
const t2 = this.group.transform();
|
|
15370
|
-
this.nodeDataSnapshot = JSON.stringify(this.getData());
|
|
16114
|
+
this.nodeDataSnapshot = readonly ? "" : JSON.stringify(this.getData());
|
|
15371
16115
|
if (this.left !== t2.translateX || this.top !== t2.translateY) {
|
|
15372
16116
|
this.group.translate(this.left - t2.translateX, this.top - t2.translateY);
|
|
15373
16117
|
}
|
|
@@ -15404,10 +16148,17 @@ class MindMapNode {
|
|
|
15404
16148
|
// 根据是否激活更新节点
|
|
15405
16149
|
updateNodeByActive(active) {
|
|
15406
16150
|
if (this.group) {
|
|
16151
|
+
const { isShowCreateChildBtnIcon } = this.mindMap.opt;
|
|
15407
16152
|
if (active) {
|
|
15408
16153
|
this.showExpandBtn();
|
|
16154
|
+
if (isShowCreateChildBtnIcon) {
|
|
16155
|
+
this.showQuickCreateChildBtn();
|
|
16156
|
+
}
|
|
15409
16157
|
} else {
|
|
15410
16158
|
this.hideExpandBtn();
|
|
16159
|
+
if (isShowCreateChildBtnIcon) {
|
|
16160
|
+
this.hideQuickCreateChildBtn();
|
|
16161
|
+
}
|
|
15411
16162
|
}
|
|
15412
16163
|
this.updateNodeActiveClass();
|
|
15413
16164
|
this.updateDragHandle();
|
|
@@ -15595,9 +16346,11 @@ class MindMapNode {
|
|
|
15595
16346
|
if (this.getData("expand") === false) {
|
|
15596
16347
|
return;
|
|
15597
16348
|
}
|
|
15598
|
-
let childrenLen = this.
|
|
15599
|
-
if (this.mindMap.
|
|
15600
|
-
|
|
16349
|
+
let childrenLen = this.getChildrenLength();
|
|
16350
|
+
if (this.mindMap.renderer.layout.nodeIsRemoveAllLines) {
|
|
16351
|
+
if (this.mindMap.renderer.layout.nodeIsRemoveAllLines(this)) {
|
|
16352
|
+
childrenLen = 0;
|
|
16353
|
+
}
|
|
15601
16354
|
}
|
|
15602
16355
|
if (childrenLen > this._lines.length) {
|
|
15603
16356
|
new Array(childrenLen - this._lines.length).fill(0).forEach(() => {
|
|
@@ -15659,9 +16412,11 @@ class MindMapNode {
|
|
|
15659
16412
|
}
|
|
15660
16413
|
// 设置连线样式
|
|
15661
16414
|
styleLine(line2, childNode, enableMarker) {
|
|
15662
|
-
const
|
|
15663
|
-
const
|
|
15664
|
-
const
|
|
16415
|
+
const { enableInheritAncestorLineStyle } = this.mindMap.opt;
|
|
16416
|
+
const getName = enableInheritAncestorLineStyle ? "getSelfInhertStyle" : "getSelfStyle";
|
|
16417
|
+
const width2 = childNode[getName]("lineWidth") || childNode.getStyle("lineWidth", true);
|
|
16418
|
+
const color = childNode[getName]("lineColor") || this.getRainbowLineColor(childNode) || childNode.getStyle("lineColor", true);
|
|
16419
|
+
const dasharray = childNode[getName]("lineDasharray") || childNode.getStyle("lineDasharray", true);
|
|
15665
16420
|
this.style.line(
|
|
15666
16421
|
line2,
|
|
15667
16422
|
{
|
|
@@ -15845,6 +16600,10 @@ class MindMapNode {
|
|
|
15845
16600
|
hasCustomWidth() {
|
|
15846
16601
|
return this.checkEnableDragModifyNodeWidth() && this.customTextWidth !== void 0;
|
|
15847
16602
|
}
|
|
16603
|
+
// 获取子节点的数量
|
|
16604
|
+
getChildrenLength() {
|
|
16605
|
+
return this.nodeData.children ? this.nodeData.children.length : 0;
|
|
16606
|
+
}
|
|
15848
16607
|
}
|
|
15849
16608
|
class Lru {
|
|
15850
16609
|
constructor(max) {
|
|
@@ -15914,7 +16673,7 @@ class Base2 {
|
|
|
15914
16673
|
}
|
|
15915
16674
|
// 检查当前来源是否需要重新计算节点大小
|
|
15916
16675
|
checkIsNeedResizeSources() {
|
|
15917
|
-
return
|
|
16676
|
+
return this.renderer.checkHasRenderSource(CONSTANTS.CHANGE_THEME);
|
|
15918
16677
|
}
|
|
15919
16678
|
// 层级类型改变
|
|
15920
16679
|
checkIsLayerTypeChange(oldIndex, newIndex) {
|
|
@@ -15924,7 +16683,7 @@ class Base2 {
|
|
|
15924
16683
|
}
|
|
15925
16684
|
// 检查是否是结构布局改变重新渲染展开收起按钮占位元素
|
|
15926
16685
|
checkIsLayoutChangeRerenderExpandBtnPlaceholderRect(node) {
|
|
15927
|
-
if (this.renderer.
|
|
16686
|
+
if (this.renderer.checkHasRenderSource(CONSTANTS.CHANGE_LAYOUT)) {
|
|
15928
16687
|
node.needRerenderExpandBtnPlaceholderRect = true;
|
|
15929
16688
|
}
|
|
15930
16689
|
}
|
|
@@ -15935,9 +16694,33 @@ class Base2 {
|
|
|
15935
16694
|
lastData.isActive = curData.isActive;
|
|
15936
16695
|
lastData.expand = curData.expand;
|
|
15937
16696
|
lastData = JSON.stringify(lastData);
|
|
16697
|
+
} else {
|
|
16698
|
+
return false;
|
|
15938
16699
|
}
|
|
15939
16700
|
return lastData !== JSON.stringify(curData);
|
|
15940
16701
|
}
|
|
16702
|
+
// 检查库前置或后置内容是否改变了
|
|
16703
|
+
checkNodeFixChange(newNode, nodeInnerPrefixData, nodeInnerPostfixData) {
|
|
16704
|
+
let isNodeInnerPrefixChange = false;
|
|
16705
|
+
this.mindMap.nodeInnerPrefixList.forEach((item) => {
|
|
16706
|
+
if (item.updateNodeData) {
|
|
16707
|
+
const isChange = item.updateNodeData(newNode, nodeInnerPrefixData);
|
|
16708
|
+
if (isChange) {
|
|
16709
|
+
isNodeInnerPrefixChange = isChange;
|
|
16710
|
+
}
|
|
16711
|
+
}
|
|
16712
|
+
});
|
|
16713
|
+
let isNodeInnerPostfixChange = false;
|
|
16714
|
+
this.mindMap.nodeInnerPostfixList.forEach((item) => {
|
|
16715
|
+
if (item.updateNodeData) {
|
|
16716
|
+
const isChange = item.updateNodeData(newNode, nodeInnerPostfixData);
|
|
16717
|
+
if (isChange) {
|
|
16718
|
+
isNodeInnerPostfixChange = isChange;
|
|
16719
|
+
}
|
|
16720
|
+
}
|
|
16721
|
+
});
|
|
16722
|
+
return isNodeInnerPrefixChange || isNodeInnerPostfixChange;
|
|
16723
|
+
}
|
|
15941
16724
|
// 创建节点实例
|
|
15942
16725
|
createNode(data2, parent, isRoot, layerIndex, index, ancestors) {
|
|
15943
16726
|
const nodeInnerPrefixData = {};
|
|
@@ -15953,6 +16736,19 @@ class Base2 {
|
|
|
15953
16736
|
nodeInnerPrefixData[key] = value;
|
|
15954
16737
|
}
|
|
15955
16738
|
});
|
|
16739
|
+
const nodeInnerPostfixData = {};
|
|
16740
|
+
this.mindMap.nodeInnerPostfixList.forEach((item) => {
|
|
16741
|
+
if (item.createNodeData) {
|
|
16742
|
+
const [key, value] = item.createNodeData({
|
|
16743
|
+
data: data2,
|
|
16744
|
+
parent,
|
|
16745
|
+
ancestors,
|
|
16746
|
+
layerIndex,
|
|
16747
|
+
index
|
|
16748
|
+
});
|
|
16749
|
+
nodeInnerPostfixData[key] = value;
|
|
16750
|
+
}
|
|
16751
|
+
});
|
|
15956
16752
|
const uid = data2.data.uid;
|
|
15957
16753
|
let newNode = null;
|
|
15958
16754
|
if (data2 && data2._node && !this.renderer.reRender) {
|
|
@@ -15970,21 +16766,17 @@ class Base2 {
|
|
|
15970
16766
|
}
|
|
15971
16767
|
this.cacheNode(data2._node.uid, newNode);
|
|
15972
16768
|
this.checkIsLayoutChangeRerenderExpandBtnPlaceholderRect(newNode);
|
|
15973
|
-
|
|
15974
|
-
|
|
15975
|
-
|
|
15976
|
-
|
|
15977
|
-
|
|
15978
|
-
isNodeInnerPrefixChange = isChange;
|
|
15979
|
-
}
|
|
15980
|
-
}
|
|
15981
|
-
});
|
|
16769
|
+
const isNodeInnerFixChange = this.checkNodeFixChange(
|
|
16770
|
+
newNode,
|
|
16771
|
+
nodeInnerPrefixData,
|
|
16772
|
+
nodeInnerPostfixData
|
|
16773
|
+
);
|
|
15982
16774
|
const isResizeSource = this.checkIsNeedResizeSources();
|
|
15983
16775
|
const isNodeDataChange = this.checkIsNodeDataChange(
|
|
15984
16776
|
data2._node.nodeDataSnapshot,
|
|
15985
16777
|
data2.data
|
|
15986
16778
|
);
|
|
15987
|
-
if (isResizeSource || isNodeDataChange || isLayerTypeChange || newNode.getData("resetRichText") || newNode.getData("needUpdate") ||
|
|
16779
|
+
if (isResizeSource || isNodeDataChange || isLayerTypeChange || newNode.getData("resetRichText") || newNode.getData("needUpdate") || isNodeInnerFixChange) {
|
|
15988
16780
|
newNode.getSize();
|
|
15989
16781
|
newNode.needLayout = true;
|
|
15990
16782
|
}
|
|
@@ -16009,16 +16801,12 @@ class Base2 {
|
|
|
16009
16801
|
data2._node = newNode;
|
|
16010
16802
|
const isResizeSource = this.checkIsNeedResizeSources();
|
|
16011
16803
|
const isNodeDataChange = this.checkIsNodeDataChange(lastData, data2.data);
|
|
16012
|
-
|
|
16013
|
-
|
|
16014
|
-
|
|
16015
|
-
|
|
16016
|
-
|
|
16017
|
-
|
|
16018
|
-
}
|
|
16019
|
-
}
|
|
16020
|
-
});
|
|
16021
|
-
if (isResizeSource || isNodeDataChange || isLayerTypeChange || newNode.getData("resetRichText") || newNode.getData("needUpdate") || isNodeInnerPrefixChange) {
|
|
16804
|
+
const isNodeInnerFixChange = this.checkNodeFixChange(
|
|
16805
|
+
newNode,
|
|
16806
|
+
nodeInnerPrefixData,
|
|
16807
|
+
nodeInnerPostfixData
|
|
16808
|
+
);
|
|
16809
|
+
if (isResizeSource || isNodeDataChange || isLayerTypeChange || newNode.getData("resetRichText") || newNode.getData("needUpdate") || isNodeInnerFixChange) {
|
|
16022
16810
|
newNode.getSize();
|
|
16023
16811
|
newNode.needLayout = true;
|
|
16024
16812
|
}
|
|
@@ -16398,9 +17186,9 @@ class Base2 {
|
|
|
16398
17186
|
}
|
|
16399
17187
|
class LogicalStructure extends Base2 {
|
|
16400
17188
|
// 构造函数
|
|
16401
|
-
constructor(opt = {},
|
|
17189
|
+
constructor(opt = {}, layout2) {
|
|
16402
17190
|
super(opt);
|
|
16403
|
-
this.isUseLeft =
|
|
17191
|
+
this.isUseLeft = layout2 === CONSTANTS.LAYOUT.LOGICAL_STRUCTURE_LEFT;
|
|
16404
17192
|
}
|
|
16405
17193
|
// 布局
|
|
16406
17194
|
doLayout(callback) {
|
|
@@ -17580,9 +18368,9 @@ class OrganizationStructure extends Base2 {
|
|
|
17580
18368
|
}
|
|
17581
18369
|
class Timeline2 extends Base2 {
|
|
17582
18370
|
// 构造函数
|
|
17583
|
-
constructor(opt = {},
|
|
18371
|
+
constructor(opt = {}, layout2) {
|
|
17584
18372
|
super(opt);
|
|
17585
|
-
this.layout =
|
|
18373
|
+
this.layout = layout2;
|
|
17586
18374
|
}
|
|
17587
18375
|
// 布局
|
|
17588
18376
|
doLayout(callback) {
|
|
@@ -17865,9 +18653,9 @@ class Timeline2 extends Base2 {
|
|
|
17865
18653
|
}
|
|
17866
18654
|
class VerticalTimeline extends Base2 {
|
|
17867
18655
|
// 构造函数
|
|
17868
|
-
constructor(opt = {},
|
|
18656
|
+
constructor(opt = {}, layout2) {
|
|
17869
18657
|
super(opt);
|
|
17870
|
-
this.layout =
|
|
18658
|
+
this.layout = layout2;
|
|
17871
18659
|
}
|
|
17872
18660
|
// 布局
|
|
17873
18661
|
doLayout(callback) {
|
|
@@ -17893,14 +18681,27 @@ class VerticalTimeline extends Base2 {
|
|
|
17893
18681
|
this.renderer.renderTree,
|
|
17894
18682
|
null,
|
|
17895
18683
|
(cur, parent, isRoot, layerIndex, index, ancestors) => {
|
|
17896
|
-
let newNode = this.createNode(
|
|
18684
|
+
let newNode = this.createNode(
|
|
18685
|
+
cur,
|
|
18686
|
+
parent,
|
|
18687
|
+
isRoot,
|
|
18688
|
+
layerIndex,
|
|
18689
|
+
index,
|
|
18690
|
+
ancestors
|
|
18691
|
+
);
|
|
17897
18692
|
if (isRoot) {
|
|
17898
18693
|
this.setNodeCenter(newNode);
|
|
17899
18694
|
} else {
|
|
17900
18695
|
if (parent._node.dir) {
|
|
17901
18696
|
newNode.dir = parent._node.dir;
|
|
17902
18697
|
} else {
|
|
17903
|
-
|
|
18698
|
+
if (this.layout === CONSTANTS.LAYOUT.VERTICAL_TIMELINE2) {
|
|
18699
|
+
newNode.dir = CONSTANTS.LAYOUT_GROW_DIR.LEFT;
|
|
18700
|
+
} else if (this.layout === CONSTANTS.LAYOUT.VERTICAL_TIMELINE3) {
|
|
18701
|
+
newNode.dir = CONSTANTS.LAYOUT_GROW_DIR.RIGHT;
|
|
18702
|
+
} else {
|
|
18703
|
+
newNode.dir = index % 2 === 0 ? CONSTANTS.LAYOUT_GROW_DIR.RIGHT : CONSTANTS.LAYOUT_GROW_DIR.LEFT;
|
|
18704
|
+
}
|
|
17904
18705
|
}
|
|
17905
18706
|
if (parent._node.isRoot) {
|
|
17906
18707
|
newNode.left = parent._node.left + (cur._node.width > parent._node.width ? -(cur._node.width - parent._node.width) / 2 : (parent._node.width - cur._node.width) / 2);
|
|
@@ -18382,22 +19183,78 @@ const utils = {
|
|
|
18382
19183
|
};
|
|
18383
19184
|
class Fishbone extends Base2 {
|
|
18384
19185
|
// 构造函数
|
|
18385
|
-
constructor(opt = {}) {
|
|
19186
|
+
constructor(opt = {}, layout2) {
|
|
18386
19187
|
super(opt);
|
|
19188
|
+
this.layout = layout2;
|
|
18387
19189
|
this.indent = 0.3;
|
|
18388
19190
|
this.childIndent = 0.5;
|
|
19191
|
+
this.fishTail = null;
|
|
19192
|
+
this.maxx = 0;
|
|
19193
|
+
this.headRatio = 1;
|
|
19194
|
+
this.tailRatio = 0.6;
|
|
19195
|
+
this.paddingXRatio = 0.3;
|
|
19196
|
+
this.fishHeadPathStr = "M4,181 C4,181, 0,177, 4,173 Q 96.09523809523809,0, 288.2857142857143,0 L 288.2857142857143,354 Q 48.047619047619044,354, 8,218.18367346938777 C8,218.18367346938777, 6,214.18367346938777, 8,214.18367346938777 L 41.183673469387756,214.18367346938777 Z";
|
|
19197
|
+
this.fishTailPathStr = "M 606.9342905223708 0 Q 713.1342905223709 -177 819.3342905223708 -177 L 766.2342905223709 0 L 819.3342905223708 177 Q 713.1342905223709 177 606.9342905223708 0 z";
|
|
19198
|
+
this.bindEvent();
|
|
19199
|
+
this.extendShape();
|
|
19200
|
+
this.beforeChange = this.beforeChange.bind(this);
|
|
19201
|
+
}
|
|
19202
|
+
// 重新渲染时,节点连线是否全部删除
|
|
19203
|
+
// 鱼尾鱼骨图会多渲染一些连线,按需删除无法删除掉,只能全部删除重新创建
|
|
19204
|
+
nodeIsRemoveAllLines(node) {
|
|
19205
|
+
return node.isRoot || node.layerIndex === 1;
|
|
19206
|
+
}
|
|
19207
|
+
// 是否是带鱼头鱼尾的鱼骨图
|
|
19208
|
+
isFishbone2() {
|
|
19209
|
+
return this.layout === CONSTANTS.LAYOUT.FISHBONE2;
|
|
19210
|
+
}
|
|
19211
|
+
bindEvent() {
|
|
19212
|
+
if (!this.isFishbone2()) return;
|
|
19213
|
+
this.onCheckUpdateFishTail = this.onCheckUpdateFishTail.bind(this);
|
|
19214
|
+
this.mindMap.on("afterExecCommand", this.onCheckUpdateFishTail);
|
|
19215
|
+
}
|
|
19216
|
+
unBindEvent() {
|
|
19217
|
+
this.mindMap.off("afterExecCommand", this.onCheckUpdateFishTail);
|
|
19218
|
+
}
|
|
19219
|
+
// 扩展节点形状
|
|
19220
|
+
extendShape() {
|
|
19221
|
+
if (!this.isFishbone2()) return;
|
|
19222
|
+
this.mindMap.addShape({
|
|
19223
|
+
name: "fishHead",
|
|
19224
|
+
createShape: (node) => {
|
|
19225
|
+
const rect = SVG(`<path d="${this.fishHeadPathStr}"></path>`);
|
|
19226
|
+
const { width: width2, height: height2 } = node.shapeInstance.getNodeSize();
|
|
19227
|
+
rect.size(width2, height2);
|
|
19228
|
+
return rect;
|
|
19229
|
+
},
|
|
19230
|
+
getPadding: ({ width: width2, height: height2, paddingX, paddingY }) => {
|
|
19231
|
+
width2 += paddingX * 2;
|
|
19232
|
+
height2 += paddingY * 2;
|
|
19233
|
+
let shapePaddingX = this.paddingXRatio * width2;
|
|
19234
|
+
let shapePaddingY = 0;
|
|
19235
|
+
width2 += shapePaddingX * 2;
|
|
19236
|
+
const newHeight = width2 / this.headRatio;
|
|
19237
|
+
shapePaddingY = (newHeight - height2) / 2;
|
|
19238
|
+
return {
|
|
19239
|
+
paddingX: shapePaddingX,
|
|
19240
|
+
paddingY: shapePaddingY
|
|
19241
|
+
};
|
|
19242
|
+
}
|
|
19243
|
+
});
|
|
18389
19244
|
}
|
|
18390
19245
|
// 布局
|
|
18391
19246
|
doLayout(callback) {
|
|
18392
19247
|
let task = [
|
|
18393
19248
|
() => {
|
|
18394
19249
|
this.computedBaseValue();
|
|
19250
|
+
this.addFishTail();
|
|
18395
19251
|
},
|
|
18396
19252
|
() => {
|
|
18397
19253
|
this.computedLeftTopValue();
|
|
18398
19254
|
},
|
|
18399
19255
|
() => {
|
|
18400
19256
|
this.adjustLeftTopValue();
|
|
19257
|
+
this.updateFishTailPosition();
|
|
18401
19258
|
},
|
|
18402
19259
|
() => {
|
|
18403
19260
|
callback(this.root);
|
|
@@ -18405,13 +19262,68 @@ class Fishbone extends Base2 {
|
|
|
18405
19262
|
];
|
|
18406
19263
|
asyncRun(task);
|
|
18407
19264
|
}
|
|
19265
|
+
// 创建鱼尾
|
|
19266
|
+
addFishTail() {
|
|
19267
|
+
if (!this.isFishbone2()) return;
|
|
19268
|
+
const exist = this.mindMap.lineDraw.findOne(".smm-layout-fishbone-tail");
|
|
19269
|
+
if (!exist) {
|
|
19270
|
+
this.fishTail = SVG(`<path d="${this.fishTailPathStr}"></path>`);
|
|
19271
|
+
this.fishTail.addClass("smm-layout-fishbone-tail");
|
|
19272
|
+
} else {
|
|
19273
|
+
this.fishTail = exist;
|
|
19274
|
+
}
|
|
19275
|
+
const tailHeight = this.root.height;
|
|
19276
|
+
const tailWidth = tailHeight * this.tailRatio;
|
|
19277
|
+
this.fishTail.size(tailWidth, tailHeight);
|
|
19278
|
+
this.styleFishTail();
|
|
19279
|
+
this.mindMap.lineDraw.add(this.fishTail);
|
|
19280
|
+
}
|
|
19281
|
+
// 如果根节点更新了形状样式,那么鱼尾也要更新
|
|
19282
|
+
onCheckUpdateFishTail(name2, node, data2) {
|
|
19283
|
+
if (name2 === "SET_NODE_DATA") {
|
|
19284
|
+
let hasShapeProp = false;
|
|
19285
|
+
Object.keys(data2).forEach((key) => {
|
|
19286
|
+
if (shapeStyleProps.includes(key)) {
|
|
19287
|
+
hasShapeProp = true;
|
|
19288
|
+
}
|
|
19289
|
+
});
|
|
19290
|
+
if (hasShapeProp) {
|
|
19291
|
+
this.styleFishTail();
|
|
19292
|
+
}
|
|
19293
|
+
}
|
|
19294
|
+
}
|
|
19295
|
+
styleFishTail() {
|
|
19296
|
+
this.root.style.shape(this.fishTail);
|
|
19297
|
+
}
|
|
19298
|
+
// 删除鱼尾
|
|
19299
|
+
removeFishTail() {
|
|
19300
|
+
const exist = this.mindMap.lineDraw.findOne(".smm-layout-fishbone-tail");
|
|
19301
|
+
if (exist) {
|
|
19302
|
+
exist.remove();
|
|
19303
|
+
}
|
|
19304
|
+
}
|
|
19305
|
+
// 更新鱼尾形状位置
|
|
19306
|
+
updateFishTailPosition() {
|
|
19307
|
+
if (!this.isFishbone2()) return;
|
|
19308
|
+
this.fishTail.x(this.maxx).cy(this.root.top + this.root.height / 2);
|
|
19309
|
+
}
|
|
18408
19310
|
// 遍历数据创建节点、计算根节点的位置,计算根节点的子节点的top值
|
|
18409
19311
|
computedBaseValue() {
|
|
18410
19312
|
walk(
|
|
18411
19313
|
this.renderer.renderTree,
|
|
18412
19314
|
null,
|
|
18413
19315
|
(node, parent, isRoot, layerIndex, index, ancestors) => {
|
|
18414
|
-
|
|
19316
|
+
if (isRoot && this.isFishbone2()) {
|
|
19317
|
+
node.data.shape = "fishHead";
|
|
19318
|
+
}
|
|
19319
|
+
let newNode = this.createNode(
|
|
19320
|
+
node,
|
|
19321
|
+
parent,
|
|
19322
|
+
isRoot,
|
|
19323
|
+
layerIndex,
|
|
19324
|
+
index,
|
|
19325
|
+
ancestors
|
|
19326
|
+
);
|
|
18415
19327
|
if (isRoot) {
|
|
18416
19328
|
this.setNodeCenter(newNode);
|
|
18417
19329
|
} else {
|
|
@@ -18422,10 +19334,11 @@ class Fishbone extends Base2 {
|
|
|
18422
19334
|
}
|
|
18423
19335
|
if (parent._node.isRoot) {
|
|
18424
19336
|
let marginY = this.getMarginY(layerIndex);
|
|
19337
|
+
const topOffset = this.isFishbone2() ? parent._node.height / 4 : 0;
|
|
18425
19338
|
if (this.checkIsTop(newNode)) {
|
|
18426
|
-
newNode.top = parent._node.top - newNode.height - marginY;
|
|
19339
|
+
newNode.top = parent._node.top - newNode.height - marginY + topOffset;
|
|
18427
19340
|
} else {
|
|
18428
|
-
newNode.top = parent._node.top + parent._node.height + marginY;
|
|
19341
|
+
newNode.top = parent._node.top + parent._node.height + marginY - topOffset;
|
|
18429
19342
|
}
|
|
18430
19343
|
}
|
|
18431
19344
|
}
|
|
@@ -18446,8 +19359,9 @@ class Fishbone extends Base2 {
|
|
|
18446
19359
|
(node, parent, isRoot, layerIndex) => {
|
|
18447
19360
|
if (node.isRoot) {
|
|
18448
19361
|
let marginX = this.getMarginX(layerIndex + 1);
|
|
18449
|
-
|
|
18450
|
-
let
|
|
19362
|
+
const heightOffsetRatio = this.isFishbone2() ? 2 : 1;
|
|
19363
|
+
let topTotalLeft = node.left + node.width + node.height / heightOffsetRatio + marginX;
|
|
19364
|
+
let bottomTotalLeft = node.left + node.width + node.height / heightOffsetRatio + marginX;
|
|
18451
19365
|
node.children.forEach((item) => {
|
|
18452
19366
|
if (this.checkIsTop(item)) {
|
|
18453
19367
|
item.left = topTotalLeft;
|
|
@@ -18495,19 +19409,27 @@ class Fishbone extends Base2 {
|
|
|
18495
19409
|
if (node.isRoot) {
|
|
18496
19410
|
let topTotalLeft = 0;
|
|
18497
19411
|
let bottomTotalLeft = 0;
|
|
19412
|
+
let maxx = -Infinity;
|
|
18498
19413
|
node.children.forEach((item) => {
|
|
18499
19414
|
if (this.checkIsTop(item)) {
|
|
18500
19415
|
item.left += topTotalLeft;
|
|
18501
19416
|
this.updateChildren(item.children, "left", topTotalLeft);
|
|
18502
19417
|
let { left, right } = this.getNodeBoundaries(item, "h");
|
|
19418
|
+
if (right > maxx) {
|
|
19419
|
+
maxx = right;
|
|
19420
|
+
}
|
|
18503
19421
|
topTotalLeft += right - left;
|
|
18504
19422
|
} else {
|
|
18505
19423
|
item.left += bottomTotalLeft;
|
|
18506
19424
|
this.updateChildren(item.children, "left", bottomTotalLeft);
|
|
18507
19425
|
let { left, right } = this.getNodeBoundaries(item, "h");
|
|
19426
|
+
if (right > maxx) {
|
|
19427
|
+
maxx = right;
|
|
19428
|
+
}
|
|
18508
19429
|
bottomTotalLeft += right - left;
|
|
18509
19430
|
}
|
|
18510
19431
|
});
|
|
19432
|
+
this.maxx = maxx;
|
|
18511
19433
|
}
|
|
18512
19434
|
},
|
|
18513
19435
|
true
|
|
@@ -18596,7 +19518,7 @@ class Fishbone extends Base2 {
|
|
|
18596
19518
|
}
|
|
18597
19519
|
let marginY = this.getMarginY(item.layerIndex);
|
|
18598
19520
|
let nodeLineX = item.left;
|
|
18599
|
-
let offset2 = node.height / 2 + marginY;
|
|
19521
|
+
let offset2 = node.height / 2 + marginY - (this.isFishbone2() ? node.height / 4 : 0);
|
|
18600
19522
|
let offsetX = offset2 / Math.tan(degToRad(this.mindMap.opt.fishboneDeg));
|
|
18601
19523
|
let line3 = this.lineDraw.path();
|
|
18602
19524
|
if (this.checkIsTop(item)) {
|
|
@@ -18619,9 +19541,10 @@ class Fishbone extends Base2 {
|
|
|
18619
19541
|
let nodeHalfTop = node.top + node.height / 2;
|
|
18620
19542
|
let offset = node.height / 2 + this.getMarginY(node.layerIndex + 1);
|
|
18621
19543
|
let line2 = this.lineDraw.path();
|
|
19544
|
+
const lineEndX = this.isFishbone2() ? this.maxx : maxx - offset / Math.tan(degToRad(this.mindMap.opt.fishboneDeg));
|
|
18622
19545
|
line2.plot(
|
|
18623
19546
|
this.transformPath(
|
|
18624
|
-
`M ${node.left + node.width},${nodeHalfTop} L ${
|
|
19547
|
+
`M ${node.left + node.width},${nodeHalfTop} L ${lineEndX},${nodeHalfTop}`
|
|
18625
19548
|
)
|
|
18626
19549
|
);
|
|
18627
19550
|
node.style.line(line2);
|
|
@@ -18733,7 +19656,16 @@ class Fishbone extends Base2 {
|
|
|
18733
19656
|
rect.size(width2, expandBtnSize).x(0).y(height2);
|
|
18734
19657
|
}
|
|
18735
19658
|
}
|
|
19659
|
+
// 切换切换为其他结构时的处理
|
|
19660
|
+
beforeChange() {
|
|
19661
|
+
if (!this.isFishbone2()) return;
|
|
19662
|
+
this.root.nodeData.data.shape = CONSTANTS.SHAPE.RECTANGLE;
|
|
19663
|
+
this.removeFishTail();
|
|
19664
|
+
this.unBindEvent();
|
|
19665
|
+
this.mindMap.removeShape("fishHead");
|
|
19666
|
+
}
|
|
18736
19667
|
}
|
|
19668
|
+
const SMM_NODE_EDIT_WRAP = "smm-node-edit-wrap";
|
|
18737
19669
|
class TextEdit {
|
|
18738
19670
|
// 构造函数
|
|
18739
19671
|
constructor(renderer) {
|
|
@@ -18747,6 +19679,7 @@ class TextEdit {
|
|
|
18747
19679
|
this.textNodePaddingX = 5;
|
|
18748
19680
|
this.textNodePaddingY = 3;
|
|
18749
19681
|
this.isNeedUpdateTextEditNode = false;
|
|
19682
|
+
this.mindMap.addEditNodeClass(SMM_NODE_EDIT_WRAP);
|
|
18750
19683
|
this.bindEvent();
|
|
18751
19684
|
}
|
|
18752
19685
|
// 事件
|
|
@@ -18868,6 +19801,15 @@ class TextEdit {
|
|
|
18868
19801
|
}
|
|
18869
19802
|
return this.showTextEdit;
|
|
18870
19803
|
}
|
|
19804
|
+
// 设置文本编辑框是否处于显示状态
|
|
19805
|
+
setIsShowTextEdit(val) {
|
|
19806
|
+
this.showTextEdit = val;
|
|
19807
|
+
if (val) {
|
|
19808
|
+
this.mindMap.keyCommand.stopCheckInSvg();
|
|
19809
|
+
} else {
|
|
19810
|
+
this.mindMap.keyCommand.recoveryCheckInSvg();
|
|
19811
|
+
}
|
|
19812
|
+
}
|
|
18871
19813
|
// 显示文本编辑框
|
|
18872
19814
|
// isInserting:是否是刚创建的节点
|
|
18873
19815
|
// isFromKeyDown:是否是在按键事件进入的编辑
|
|
@@ -18936,7 +19878,7 @@ class TextEdit {
|
|
|
18936
19878
|
this.mindMap.richText.showTextEdit = false;
|
|
18937
19879
|
} else {
|
|
18938
19880
|
this.cacheEditingText = this.getEditText();
|
|
18939
|
-
this.
|
|
19881
|
+
this.setIsShowTextEdit(false);
|
|
18940
19882
|
}
|
|
18941
19883
|
this.show({
|
|
18942
19884
|
node,
|
|
@@ -18959,9 +19901,7 @@ class TextEdit {
|
|
|
18959
19901
|
this.registerTmpShortcut();
|
|
18960
19902
|
if (!this.textEditNode) {
|
|
18961
19903
|
this.textEditNode = document.createElement("div");
|
|
18962
|
-
this.textEditNode.classList.add(
|
|
18963
|
-
CONSTANTS.EDIT_NODE_CLASS.SMM_NODE_EDIT_WRAP
|
|
18964
|
-
);
|
|
19904
|
+
this.textEditNode.classList.add(SMM_NODE_EDIT_WRAP);
|
|
18965
19905
|
this.textEditNode.style.cssText = `
|
|
18966
19906
|
position: fixed;
|
|
18967
19907
|
box-sizing: border-box;
|
|
@@ -19032,7 +19972,7 @@ class TextEdit {
|
|
|
19032
19972
|
} else {
|
|
19033
19973
|
this.textEditNode.style.lineHeight = "normal";
|
|
19034
19974
|
}
|
|
19035
|
-
this.
|
|
19975
|
+
this.setIsShowTextEdit(true);
|
|
19036
19976
|
if (isInserting || selectTextOnEnterEditText && !isFromKeyDown) {
|
|
19037
19977
|
selectAllInput(this.textEditNode);
|
|
19038
19978
|
} else {
|
|
@@ -19107,7 +20047,7 @@ class TextEdit {
|
|
|
19107
20047
|
this.textEditNode.style.fontSize = "inherit";
|
|
19108
20048
|
this.textEditNode.style.fontWeight = "normal";
|
|
19109
20049
|
this.textEditNode.style.transform = "translateY(0)";
|
|
19110
|
-
this.
|
|
20050
|
+
this.setIsShowTextEdit(false);
|
|
19111
20051
|
this.mindMap.execCommand("SET_NODE_TEXT", currentNode, text);
|
|
19112
20052
|
this.mindMap.render();
|
|
19113
20053
|
this.mindMap.emit(
|
|
@@ -19142,8 +20082,14 @@ const layouts = {
|
|
|
19142
20082
|
[CONSTANTS.LAYOUT.TIMELINE2]: Timeline2,
|
|
19143
20083
|
// 竖向时间轴
|
|
19144
20084
|
[CONSTANTS.LAYOUT.VERTICAL_TIMELINE]: VerticalTimeline,
|
|
20085
|
+
// 竖向时间轴2
|
|
20086
|
+
[CONSTANTS.LAYOUT.VERTICAL_TIMELINE2]: VerticalTimeline,
|
|
20087
|
+
// 竖向时间轴3
|
|
20088
|
+
[CONSTANTS.LAYOUT.VERTICAL_TIMELINE3]: VerticalTimeline,
|
|
19145
20089
|
// 鱼骨图
|
|
19146
|
-
[CONSTANTS.LAYOUT.FISHBONE]: Fishbone
|
|
20090
|
+
[CONSTANTS.LAYOUT.FISHBONE]: Fishbone,
|
|
20091
|
+
// 鱼骨图2
|
|
20092
|
+
[CONSTANTS.LAYOUT.FISHBONE2]: Fishbone
|
|
19147
20093
|
};
|
|
19148
20094
|
class Render {
|
|
19149
20095
|
// 构造函数
|
|
@@ -19155,11 +20101,13 @@ class Render {
|
|
|
19155
20101
|
this.reRender = false;
|
|
19156
20102
|
this.isRendering = false;
|
|
19157
20103
|
this.hasWaitRendering = false;
|
|
19158
|
-
this.waitRenderingParams = [];
|
|
19159
20104
|
this.nodeCache = {};
|
|
19160
20105
|
this.lastNodeCache = {};
|
|
19161
|
-
this.
|
|
20106
|
+
this.renderSourceList = [];
|
|
20107
|
+
this.renderCallbackList = [];
|
|
19162
20108
|
this.activeNodeList = [];
|
|
20109
|
+
this.emitNodeActiveEventTimer = null;
|
|
20110
|
+
this.renderTimer = null;
|
|
19163
20111
|
this.root = null;
|
|
19164
20112
|
this.textEdit = new TextEdit(this);
|
|
19165
20113
|
this.beingCopyData = null;
|
|
@@ -19173,8 +20121,16 @@ class Render {
|
|
|
19173
20121
|
}
|
|
19174
20122
|
// 设置布局结构
|
|
19175
20123
|
setLayout() {
|
|
19176
|
-
|
|
19177
|
-
|
|
20124
|
+
if (this.layout && this.layout.beforeChange) {
|
|
20125
|
+
this.layout.beforeChange();
|
|
20126
|
+
}
|
|
20127
|
+
const { layout: layout2 } = this.mindMap.opt;
|
|
20128
|
+
let L2 = layouts[layout2] || this.mindMap[layout2];
|
|
20129
|
+
if (!L2) {
|
|
20130
|
+
L2 = layouts[CONSTANTS.LAYOUT.LOGICAL_STRUCTURE];
|
|
20131
|
+
this.mindMap.opt.layout = CONSTANTS.LAYOUT.LOGICAL_STRUCTURE;
|
|
20132
|
+
}
|
|
20133
|
+
this.layout = new L2(this, layout2);
|
|
19178
20134
|
}
|
|
19179
20135
|
// 重新设置思维导图数据
|
|
19180
20136
|
setData(data2) {
|
|
@@ -19198,6 +20154,9 @@ class Render {
|
|
|
19198
20154
|
this.setRootNodeCenter();
|
|
19199
20155
|
});
|
|
19200
20156
|
const onViewDataChange = throttle$1(() => {
|
|
20157
|
+
if (!this.renderTree) {
|
|
20158
|
+
return;
|
|
20159
|
+
}
|
|
19201
20160
|
if (this.root) {
|
|
19202
20161
|
this.mindMap.emit("node_tree_render_start");
|
|
19203
20162
|
this.root.render(
|
|
@@ -19415,9 +20374,10 @@ class Render {
|
|
|
19415
20374
|
);
|
|
19416
20375
|
if (!isChange) return;
|
|
19417
20376
|
this.lastActiveNodeList = [...activeNodeList];
|
|
19418
|
-
this.
|
|
20377
|
+
clearTimeout(this.emitNodeActiveEventTimer);
|
|
20378
|
+
this.emitNodeActiveEventTimer = setTimeout(() => {
|
|
19419
20379
|
this.mindMap.emit("node_active", node, activeNodeList);
|
|
19420
|
-
});
|
|
20380
|
+
}, 0);
|
|
19421
20381
|
}
|
|
19422
20382
|
// 鼠标点击画布时清空当前激活节点列表
|
|
19423
20383
|
clearActiveNodeListOnDrawClick(e, eventType) {
|
|
@@ -19446,27 +20406,71 @@ class Render {
|
|
|
19446
20406
|
this.nodeCache = {};
|
|
19447
20407
|
this.lastNodeCache = {};
|
|
19448
20408
|
}
|
|
19449
|
-
//
|
|
19450
|
-
|
|
19451
|
-
|
|
19452
|
-
|
|
20409
|
+
// 保存触发渲染的参数
|
|
20410
|
+
addRenderParams(callback, source) {
|
|
20411
|
+
if (callback) {
|
|
20412
|
+
const index = this.renderCallbackList.findIndex((fn) => {
|
|
20413
|
+
return fn === callback;
|
|
20414
|
+
});
|
|
20415
|
+
if (index === -1) {
|
|
20416
|
+
this.renderCallbackList.push(callback);
|
|
20417
|
+
}
|
|
20418
|
+
}
|
|
20419
|
+
if (source) {
|
|
20420
|
+
const index = this.renderSourceList.findIndex((s2) => {
|
|
20421
|
+
return s2 === source;
|
|
20422
|
+
});
|
|
20423
|
+
if (index === -1) {
|
|
20424
|
+
this.renderSourceList.push(source);
|
|
20425
|
+
}
|
|
20426
|
+
}
|
|
20427
|
+
}
|
|
20428
|
+
// 判断是否包含某种触发渲染源
|
|
20429
|
+
checkHasRenderSource(val) {
|
|
20430
|
+
val = Array.isArray(val) ? val : [val];
|
|
20431
|
+
for (let i2 = 0; i2 < this.renderSourceList.length; i2++) {
|
|
20432
|
+
if (val.includes(this.renderSourceList[i2])) {
|
|
20433
|
+
return true;
|
|
20434
|
+
}
|
|
20435
|
+
}
|
|
20436
|
+
return false;
|
|
20437
|
+
}
|
|
20438
|
+
// 渲染完毕的操作
|
|
20439
|
+
onRenderEnd() {
|
|
20440
|
+
this.renderCallbackList.forEach((fn) => {
|
|
20441
|
+
fn();
|
|
20442
|
+
});
|
|
20443
|
+
this.isRendering = false;
|
|
20444
|
+
this.reRender = false;
|
|
20445
|
+
this.renderCallbackList = [];
|
|
20446
|
+
this.renderSourceList = [];
|
|
20447
|
+
this.mindMap.emit("node_tree_render_end");
|
|
20448
|
+
}
|
|
20449
|
+
// 渲染
|
|
20450
|
+
render(callback, source) {
|
|
20451
|
+
this.addRenderParams(callback, source);
|
|
20452
|
+
clearTimeout(this.renderTimer);
|
|
20453
|
+
this.renderTimer = setTimeout(() => {
|
|
20454
|
+
this._render();
|
|
20455
|
+
}, 0);
|
|
20456
|
+
}
|
|
20457
|
+
// 真正的渲染
|
|
20458
|
+
_render() {
|
|
20459
|
+
if (this.checkHasRenderSource(CONSTANTS.CHANGE_THEME)) {
|
|
19453
20460
|
this.resetUnExpandNodeStyle();
|
|
19454
20461
|
}
|
|
19455
20462
|
if (this.isRendering) {
|
|
19456
20463
|
this.hasWaitRendering = true;
|
|
19457
|
-
this.waitRenderingParams = [callback, source];
|
|
19458
20464
|
return;
|
|
19459
20465
|
}
|
|
19460
20466
|
this.isRendering = true;
|
|
19461
|
-
this.renderSource = source;
|
|
19462
20467
|
this.lastNodeCache = this.nodeCache;
|
|
19463
20468
|
this.nodeCache = {};
|
|
19464
20469
|
if (this.reRender) {
|
|
19465
20470
|
this.clearActiveNodeList();
|
|
19466
20471
|
}
|
|
19467
20472
|
if (!this.renderTree) {
|
|
19468
|
-
this.
|
|
19469
|
-
this.mindMap.emit("node_tree_render_end");
|
|
20473
|
+
this.onRenderEnd();
|
|
19470
20474
|
return;
|
|
19471
20475
|
}
|
|
19472
20476
|
this.mindMap.emit("node_tree_render_start");
|
|
@@ -19482,19 +20486,12 @@ class Render {
|
|
|
19482
20486
|
this.root = root2;
|
|
19483
20487
|
this.root.render(() => {
|
|
19484
20488
|
this.isRendering = false;
|
|
19485
|
-
callback && callback();
|
|
19486
20489
|
if (this.hasWaitRendering) {
|
|
19487
|
-
const params = this.waitRenderingParams;
|
|
19488
20490
|
this.hasWaitRendering = false;
|
|
19489
|
-
this.
|
|
19490
|
-
|
|
19491
|
-
} else {
|
|
19492
|
-
this.renderSource = "";
|
|
19493
|
-
if (this.reRender) {
|
|
19494
|
-
this.reRender = false;
|
|
19495
|
-
}
|
|
20491
|
+
this.render();
|
|
20492
|
+
return;
|
|
19496
20493
|
}
|
|
19497
|
-
this.
|
|
20494
|
+
this.onRenderEnd();
|
|
19498
20495
|
});
|
|
19499
20496
|
});
|
|
19500
20497
|
this.emitNodeActiveEvent();
|
|
@@ -20914,6 +21911,8 @@ class KeyCommand {
|
|
|
20914
21911
|
this.shortcutMapCache = {};
|
|
20915
21912
|
this.isPause = false;
|
|
20916
21913
|
this.isInSvg = false;
|
|
21914
|
+
this.isStopCheckInSvg = false;
|
|
21915
|
+
this.defaultEnableCheck = this.defaultEnableCheck.bind(this);
|
|
20917
21916
|
this.bindEvent();
|
|
20918
21917
|
}
|
|
20919
21918
|
// 扩展按键映射
|
|
@@ -20950,6 +21949,20 @@ class KeyCommand {
|
|
|
20950
21949
|
this.shortcutMap = this.shortcutMapCache;
|
|
20951
21950
|
this.shortcutMapCache = {};
|
|
20952
21951
|
}
|
|
21952
|
+
// 停止对鼠标是否在画布内的检查,前提是开启了enableShortcutOnlyWhenMouseInSvg选项
|
|
21953
|
+
// 库内部节点文本编辑、关联线文本编辑、外框文本编辑前都会暂停检查,否则无法响应回车快捷键用于结束编辑
|
|
21954
|
+
// 如果你新增了额外的文本编辑,也可以在编辑前调用此方法
|
|
21955
|
+
stopCheckInSvg() {
|
|
21956
|
+
const { enableShortcutOnlyWhenMouseInSvg } = this.mindMap.opt;
|
|
21957
|
+
if (!enableShortcutOnlyWhenMouseInSvg) return;
|
|
21958
|
+
this.isStopCheckInSvg = true;
|
|
21959
|
+
}
|
|
21960
|
+
// 恢复对鼠标是否在画布内的检查
|
|
21961
|
+
recoveryCheckInSvg() {
|
|
21962
|
+
const { enableShortcutOnlyWhenMouseInSvg } = this.mindMap.opt;
|
|
21963
|
+
if (!enableShortcutOnlyWhenMouseInSvg) return;
|
|
21964
|
+
this.isStopCheckInSvg = true;
|
|
21965
|
+
}
|
|
20953
21966
|
// 绑定事件
|
|
20954
21967
|
bindEvent() {
|
|
20955
21968
|
this.onKeydown = this.onKeydown.bind(this);
|
|
@@ -20957,10 +21970,6 @@ class KeyCommand {
|
|
|
20957
21970
|
this.isInSvg = true;
|
|
20958
21971
|
});
|
|
20959
21972
|
this.mindMap.on("svg_mouseleave", () => {
|
|
20960
|
-
if (this.mindMap.renderer.textEdit.isShowTextEdit()) return;
|
|
20961
|
-
if (this.mindMap.associativeLine && this.mindMap.associativeLine.showTextEdit) {
|
|
20962
|
-
return;
|
|
20963
|
-
}
|
|
20964
21973
|
this.isInSvg = false;
|
|
20965
21974
|
});
|
|
20966
21975
|
window.addEventListener("keydown", this.onKeydown);
|
|
@@ -20975,7 +21984,14 @@ class KeyCommand {
|
|
|
20975
21984
|
// 根据事件目标判断是否响应快捷键事件
|
|
20976
21985
|
defaultEnableCheck(e) {
|
|
20977
21986
|
const target = e.target;
|
|
20978
|
-
|
|
21987
|
+
if (target === document.body) return true;
|
|
21988
|
+
for (let i2 = 0; i2 < this.mindMap.editNodeClassList.length; i2++) {
|
|
21989
|
+
const cur = this.mindMap.editNodeClassList[i2];
|
|
21990
|
+
if (target.classList.contains(cur)) {
|
|
21991
|
+
return true;
|
|
21992
|
+
}
|
|
21993
|
+
}
|
|
21994
|
+
return false;
|
|
20979
21995
|
}
|
|
20980
21996
|
// 按键事件
|
|
20981
21997
|
onKeydown(e) {
|
|
@@ -20986,7 +22002,7 @@ class KeyCommand {
|
|
|
20986
22002
|
} = this.mindMap.opt;
|
|
20987
22003
|
const checkFn = typeof customCheckEnableShortcut === "function" ? customCheckEnableShortcut : this.defaultEnableCheck;
|
|
20988
22004
|
if (!checkFn(e)) return;
|
|
20989
|
-
if (this.isPause || enableShortcutOnlyWhenMouseInSvg && !this.isInSvg) {
|
|
22005
|
+
if (this.isPause || enableShortcutOnlyWhenMouseInSvg && !this.isStopCheckInSvg && !this.isInSvg) {
|
|
20990
22006
|
return;
|
|
20991
22007
|
}
|
|
20992
22008
|
Object.keys(this.shortcutMap).forEach((key) => {
|
|
@@ -21099,7 +22115,7 @@ class KeyCommand {
|
|
|
21099
22115
|
}
|
|
21100
22116
|
}
|
|
21101
22117
|
const name = "simple-mind-map";
|
|
21102
|
-
const version = "0.
|
|
22118
|
+
const version = "0.14.0-fix.1";
|
|
21103
22119
|
const description = "一个简单的web在线思维导图";
|
|
21104
22120
|
const authors = [
|
|
21105
22121
|
{
|
|
@@ -21254,15 +22270,16 @@ class Command {
|
|
|
21254
22270
|
if (this.mindMap.opt.readonly || this.isPause) {
|
|
21255
22271
|
return;
|
|
21256
22272
|
}
|
|
21257
|
-
|
|
22273
|
+
this.mindMap.emit("beforeAddHistory");
|
|
22274
|
+
const lastDataStr = this.history.length > 0 ? this.history[this.activeHistoryIndex] : null;
|
|
21258
22275
|
const data2 = this.getCopyData();
|
|
21259
|
-
|
|
21260
|
-
if (
|
|
22276
|
+
const dataStr = JSON.stringify(data2);
|
|
22277
|
+
if (lastDataStr && lastDataStr === dataStr) {
|
|
21261
22278
|
return;
|
|
21262
22279
|
}
|
|
21263
|
-
this.emitDataUpdatesEvent(
|
|
22280
|
+
this.emitDataUpdatesEvent(lastDataStr, dataStr);
|
|
21264
22281
|
this.history = this.history.slice(0, this.activeHistoryIndex + 1);
|
|
21265
|
-
this.history.push(
|
|
22282
|
+
this.history.push(dataStr);
|
|
21266
22283
|
if (this.history.length > this.mindMap.opt.maxHistoryCount) {
|
|
21267
22284
|
this.history.shift();
|
|
21268
22285
|
}
|
|
@@ -21280,15 +22297,16 @@ class Command {
|
|
|
21280
22297
|
return;
|
|
21281
22298
|
}
|
|
21282
22299
|
if (this.activeHistoryIndex - step >= 0) {
|
|
21283
|
-
const
|
|
22300
|
+
const lastDataStr = this.history[this.activeHistoryIndex];
|
|
21284
22301
|
this.activeHistoryIndex -= step;
|
|
21285
22302
|
this.mindMap.emit(
|
|
21286
22303
|
"back_forward",
|
|
21287
22304
|
this.activeHistoryIndex,
|
|
21288
22305
|
this.history.length
|
|
21289
22306
|
);
|
|
21290
|
-
const
|
|
21291
|
-
|
|
22307
|
+
const dataStr = this.history[this.activeHistoryIndex];
|
|
22308
|
+
const data2 = JSON.parse(dataStr);
|
|
22309
|
+
this.emitDataUpdatesEvent(lastDataStr, dataStr);
|
|
21292
22310
|
return data2;
|
|
21293
22311
|
}
|
|
21294
22312
|
}
|
|
@@ -21299,15 +22317,16 @@ class Command {
|
|
|
21299
22317
|
}
|
|
21300
22318
|
let len = this.history.length;
|
|
21301
22319
|
if (this.activeHistoryIndex + step <= len - 1) {
|
|
21302
|
-
const
|
|
22320
|
+
const lastDataStr = this.history[this.activeHistoryIndex];
|
|
21303
22321
|
this.activeHistoryIndex += step;
|
|
21304
22322
|
this.mindMap.emit(
|
|
21305
22323
|
"back_forward",
|
|
21306
22324
|
this.activeHistoryIndex,
|
|
21307
22325
|
this.history.length
|
|
21308
22326
|
);
|
|
21309
|
-
const
|
|
21310
|
-
|
|
22327
|
+
const dataStr = this.history[this.activeHistoryIndex];
|
|
22328
|
+
const data2 = JSON.parse(dataStr);
|
|
22329
|
+
this.emitDataUpdatesEvent(lastDataStr, dataStr);
|
|
21311
22330
|
return data2;
|
|
21312
22331
|
}
|
|
21313
22332
|
}
|
|
@@ -21333,11 +22352,13 @@ class Command {
|
|
|
21333
22352
|
return data2;
|
|
21334
22353
|
}
|
|
21335
22354
|
// 派发思维导图更新明细事件
|
|
21336
|
-
emitDataUpdatesEvent(
|
|
22355
|
+
emitDataUpdatesEvent(lastDataStr, dataStr) {
|
|
21337
22356
|
try {
|
|
21338
22357
|
const eventName = "data_change_detail";
|
|
21339
22358
|
const count = this.mindMap.event.listenerCount(eventName);
|
|
21340
|
-
if (count > 0 &&
|
|
22359
|
+
if (count > 0 && lastDataStr && dataStr) {
|
|
22360
|
+
const lastData = JSON.parse(lastDataStr);
|
|
22361
|
+
const data2 = JSON.parse(dataStr);
|
|
21341
22362
|
const lastDataObj = simpleDeepClone(transformTreeDataToObject(lastData));
|
|
21342
22363
|
const dataObj = simpleDeepClone(transformTreeDataToObject(data2));
|
|
21343
22364
|
const res = [];
|
|
@@ -21459,8 +22480,6 @@ const defaultOpt = {
|
|
|
21459
22480
|
mouseScaleCenterUseMousePosition: true,
|
|
21460
22481
|
// 最多显示几个标签
|
|
21461
22482
|
maxTag: 5,
|
|
21462
|
-
// 标签显示的位置,相对于节点文本,bottom(下方)、right(右侧)
|
|
21463
|
-
tagPosition: CONSTANTS.TAG_POSITION.RIGHT,
|
|
21464
22483
|
// 展开收缩按钮尺寸
|
|
21465
22484
|
expandBtnSize: 20,
|
|
21466
22485
|
// 节点里图片和文字的间距
|
|
@@ -21726,6 +22745,40 @@ const defaultOpt = {
|
|
|
21726
22745
|
// color: '',// 图标颜色,不手动设置则会使用节点文本的颜色
|
|
21727
22746
|
}
|
|
21728
22747
|
},
|
|
22748
|
+
// 是否显示快捷创建子节点按钮
|
|
22749
|
+
isShowCreateChildBtnIcon: true,
|
|
22750
|
+
// 自定义快捷创建子节点按钮图标
|
|
22751
|
+
quickCreateChildBtnIcon: {
|
|
22752
|
+
icon: "",
|
|
22753
|
+
// svg字符串,如果不是确定要使用svg自带的样式,否则请去除其中的fill等样式属性
|
|
22754
|
+
style: {
|
|
22755
|
+
// 图标大小使用的是expandBtnSize选项
|
|
22756
|
+
// color: '',// 图标颜色,不手动设置则会使用expandBtnStyle选项的color字段
|
|
22757
|
+
}
|
|
22758
|
+
},
|
|
22759
|
+
// 自定义快捷创建子节点按钮的点击操作,
|
|
22760
|
+
customQuickCreateChildBtnClick: null,
|
|
22761
|
+
// 添加自定义的节点内容
|
|
22762
|
+
// 可传递一个对象,格式如下:
|
|
22763
|
+
/*
|
|
22764
|
+
{
|
|
22765
|
+
// 返回要添加的DOM元素详细
|
|
22766
|
+
create: (node) => {
|
|
22767
|
+
return {
|
|
22768
|
+
el, // DOM节点
|
|
22769
|
+
width: 20, // 宽高
|
|
22770
|
+
height: 20
|
|
22771
|
+
}
|
|
22772
|
+
},
|
|
22773
|
+
// 处理生成的@svgdotjs/svg.js库的ForeignObject节点实例,可以设置其在节点内的位置
|
|
22774
|
+
handle: ({ content, element, node }) => {
|
|
22775
|
+
|
|
22776
|
+
}
|
|
22777
|
+
}
|
|
22778
|
+
*/
|
|
22779
|
+
addCustomContentToNode: null,
|
|
22780
|
+
// 节点连线样式是否允许继承祖先的连线样式
|
|
22781
|
+
enableInheritAncestorLineStyle: true,
|
|
21729
22782
|
// 【Select插件】
|
|
21730
22783
|
// 多选节点时鼠标移动到边缘时的画布移动偏移量
|
|
21731
22784
|
selectTranslateStep: 3,
|
|
@@ -21893,6 +22946,7 @@ const defaultOpt = {
|
|
|
21893
22946
|
// 【OuterFrame】插件
|
|
21894
22947
|
outerFramePaddingX: 10,
|
|
21895
22948
|
outerFramePaddingY: 10,
|
|
22949
|
+
defaultOuterFrameText: "外框",
|
|
21896
22950
|
// 【Painter】插件
|
|
21897
22951
|
// 是否只格式刷节点手动设置的样式,不考虑节点通过主题的应用的样式
|
|
21898
22952
|
onlyPainterNodeCustomStyles: false,
|
|
@@ -21908,7 +22962,12 @@ const defaultOpt = {
|
|
|
21908
22962
|
maxImgResizeWidthInheritTheme: false,
|
|
21909
22963
|
// 最大允许缩放的尺寸,maxImgResizeWidthInheritTheme选项设置为false时生效,不限制最大值可传递Infinity
|
|
21910
22964
|
maxImgResizeWidth: Infinity,
|
|
21911
|
-
maxImgResizeHeight: Infinity
|
|
22965
|
+
maxImgResizeHeight: Infinity,
|
|
22966
|
+
// 自定义删除按钮和尺寸调整按钮的内容
|
|
22967
|
+
// 默认为内置图标,你可以传递一个svg字符串,或者其他的html字符串
|
|
22968
|
+
// 整体大小请使用上面的minImgResizeWidth和minImgResizeHeight选项设置
|
|
22969
|
+
customDeleteBtnInnerHTML: "",
|
|
22970
|
+
customResizeBtnInnerHTML: ""
|
|
21912
22971
|
};
|
|
21913
22972
|
class MindMap2 {
|
|
21914
22973
|
// 构造函数
|
|
@@ -21928,9 +22987,17 @@ class MindMap2 {
|
|
|
21928
22987
|
this.cssEl = null;
|
|
21929
22988
|
this.cssTextMap = {};
|
|
21930
22989
|
this.nodeInnerPrefixList = [];
|
|
22990
|
+
this.nodeInnerPostfixList = [];
|
|
22991
|
+
this.editNodeClassList = [];
|
|
22992
|
+
this.extendShapeList = [];
|
|
21931
22993
|
this.initContainer();
|
|
21932
22994
|
this.initTheme();
|
|
21933
22995
|
this.initCache();
|
|
22996
|
+
MindMap2.pluginList.filter((plugin) => {
|
|
22997
|
+
return plugin.preload;
|
|
22998
|
+
}).forEach((plugin) => {
|
|
22999
|
+
this.initPlugin(plugin);
|
|
23000
|
+
});
|
|
21934
23001
|
this.event = new Event({
|
|
21935
23002
|
mindMap: this
|
|
21936
23003
|
});
|
|
@@ -21947,7 +23014,9 @@ class MindMap2 {
|
|
|
21947
23014
|
mindMap: this
|
|
21948
23015
|
});
|
|
21949
23016
|
this.batchExecution = new BatchExecution();
|
|
21950
|
-
MindMap2.pluginList.
|
|
23017
|
+
MindMap2.pluginList.filter((plugin) => {
|
|
23018
|
+
return !plugin.preload;
|
|
23019
|
+
}).forEach((plugin) => {
|
|
21951
23020
|
this.initPlugin(plugin);
|
|
21952
23021
|
});
|
|
21953
23022
|
this.addCss();
|
|
@@ -21972,6 +23041,7 @@ class MindMap2 {
|
|
|
21972
23041
|
if (data2.data && !data2.data.expand) {
|
|
21973
23042
|
data2.data.expand = true;
|
|
21974
23043
|
}
|
|
23044
|
+
createUidForAppointNodes([data2], false, null, true);
|
|
21975
23045
|
return data2;
|
|
21976
23046
|
}
|
|
21977
23047
|
// 创建容器元素
|
|
@@ -22037,12 +23107,30 @@ class MindMap2 {
|
|
|
22037
23107
|
removeCss() {
|
|
22038
23108
|
if (this.cssEl) document.head.removeChild(this.cssEl);
|
|
22039
23109
|
}
|
|
23110
|
+
// 检查某个编辑节点类名是否存在,返回索引
|
|
23111
|
+
checkEditNodeClassIndex(className) {
|
|
23112
|
+
return this.editNodeClassList.findIndex((item) => {
|
|
23113
|
+
return item === className;
|
|
23114
|
+
});
|
|
23115
|
+
}
|
|
23116
|
+
// 添加一个编辑节点类名
|
|
23117
|
+
addEditNodeClass(className) {
|
|
23118
|
+
const index = this.checkEditNodeClassIndex(className);
|
|
23119
|
+
if (index === -1) {
|
|
23120
|
+
this.editNodeClassList.push(className);
|
|
23121
|
+
}
|
|
23122
|
+
}
|
|
23123
|
+
// 删除一个编辑节点类名
|
|
23124
|
+
deleteEditNodeClass(className) {
|
|
23125
|
+
const index = this.checkEditNodeClassIndex(className);
|
|
23126
|
+
if (index !== -1) {
|
|
23127
|
+
this.editNodeClassList.splice(index, 1);
|
|
23128
|
+
}
|
|
23129
|
+
}
|
|
22040
23130
|
// 渲染,部分渲染
|
|
22041
23131
|
render(callback, source = "") {
|
|
22042
|
-
this.
|
|
22043
|
-
|
|
22044
|
-
this.renderer.render(callback, source);
|
|
22045
|
-
});
|
|
23132
|
+
this.initTheme();
|
|
23133
|
+
this.renderer.render(callback, source);
|
|
22046
23134
|
}
|
|
22047
23135
|
// 重新渲染
|
|
22048
23136
|
reRender(callback, source = "") {
|
|
@@ -22149,17 +23237,17 @@ class MindMap2 {
|
|
|
22149
23237
|
return this.opt.layout;
|
|
22150
23238
|
}
|
|
22151
23239
|
// 设置布局结构
|
|
22152
|
-
setLayout(
|
|
22153
|
-
if (!layoutValueList.includes(
|
|
22154
|
-
|
|
23240
|
+
setLayout(layout2, notRender = false) {
|
|
23241
|
+
if (!layoutValueList.includes(layout2)) {
|
|
23242
|
+
layout2 = CONSTANTS.LAYOUT.LOGICAL_STRUCTURE;
|
|
22155
23243
|
}
|
|
22156
|
-
this.opt.layout =
|
|
23244
|
+
this.opt.layout = layout2;
|
|
22157
23245
|
this.view.reset();
|
|
22158
23246
|
this.renderer.setLayout();
|
|
22159
23247
|
if (!notRender) {
|
|
22160
23248
|
this.render(null, CONSTANTS.CHANGE_LAYOUT);
|
|
22161
23249
|
}
|
|
22162
|
-
this.emit("layout_change",
|
|
23250
|
+
this.emit("layout_change", layout2);
|
|
22163
23251
|
}
|
|
22164
23252
|
// 执行命令
|
|
22165
23253
|
execCommand(...args) {
|
|
@@ -22167,6 +23255,7 @@ class MindMap2 {
|
|
|
22167
23255
|
}
|
|
22168
23256
|
// 更新画布数据,如果新的数据是在当前画布节点数据基础上增删改查后形成的,那么可以使用该方法来更新画布数据
|
|
22169
23257
|
updateData(data2) {
|
|
23258
|
+
data2 = this.handleData(data2);
|
|
22170
23259
|
this.emit("before_update_data", data2);
|
|
22171
23260
|
this.renderer.setData(data2);
|
|
22172
23261
|
this.render();
|
|
@@ -22182,8 +23271,7 @@ class MindMap2 {
|
|
|
22182
23271
|
this.command.clearHistory();
|
|
22183
23272
|
this.command.addHistory();
|
|
22184
23273
|
this.renderer.setData(data2);
|
|
22185
|
-
this.reRender(
|
|
22186
|
-
}, CONSTANTS.SET_DATA);
|
|
23274
|
+
this.reRender();
|
|
22187
23275
|
this.emit("set_data", data2);
|
|
22188
23276
|
}
|
|
22189
23277
|
// 动态设置思维导图数据,包括节点数据、布局、主题、视图
|
|
@@ -22382,6 +23470,32 @@ class MindMap2 {
|
|
|
22382
23470
|
// 思维导图图形的垂直缩放值
|
|
22383
23471
|
};
|
|
22384
23472
|
}
|
|
23473
|
+
// 扩展节点形状
|
|
23474
|
+
addShape(shape) {
|
|
23475
|
+
if (!shape) return;
|
|
23476
|
+
const exist = this.extendShapeList.find((item) => {
|
|
23477
|
+
return item.name === shape.name;
|
|
23478
|
+
});
|
|
23479
|
+
if (exist) return;
|
|
23480
|
+
this.extendShapeList.push(shape);
|
|
23481
|
+
}
|
|
23482
|
+
// 删除扩展的形状
|
|
23483
|
+
removeShape(name2) {
|
|
23484
|
+
const index = this.extendShapeList.findIndex((item) => {
|
|
23485
|
+
return item.name === name2;
|
|
23486
|
+
});
|
|
23487
|
+
if (index !== -1) {
|
|
23488
|
+
this.extendShapeList.splice(index, 1);
|
|
23489
|
+
}
|
|
23490
|
+
}
|
|
23491
|
+
// 获取SVG.js库的一些对象
|
|
23492
|
+
getSvgObjects() {
|
|
23493
|
+
return {
|
|
23494
|
+
SVG,
|
|
23495
|
+
G,
|
|
23496
|
+
Rect
|
|
23497
|
+
};
|
|
23498
|
+
}
|
|
22385
23499
|
// 添加插件
|
|
22386
23500
|
addPlugin(plugin, opt) {
|
|
22387
23501
|
let index = MindMap2.hasPlugin(plugin);
|
|
@@ -22432,6 +23546,22 @@ class MindMap2 {
|
|
|
22432
23546
|
MindMap2.instanceCount--;
|
|
22433
23547
|
}
|
|
22434
23548
|
}
|
|
23549
|
+
let _extendNodeDataNoStylePropList = [];
|
|
23550
|
+
MindMap2.extendNodeDataNoStylePropList = (list = []) => {
|
|
23551
|
+
_extendNodeDataNoStylePropList.push(...list);
|
|
23552
|
+
nodeDataNoStylePropList.push(...list);
|
|
23553
|
+
};
|
|
23554
|
+
MindMap2.resetNodeDataNoStylePropList = () => {
|
|
23555
|
+
_extendNodeDataNoStylePropList.forEach((item) => {
|
|
23556
|
+
const index = nodeDataNoStylePropList.findIndex((item2) => {
|
|
23557
|
+
return item2 === item;
|
|
23558
|
+
});
|
|
23559
|
+
if (index !== -1) {
|
|
23560
|
+
nodeDataNoStylePropList.splice(index, 1);
|
|
23561
|
+
}
|
|
23562
|
+
});
|
|
23563
|
+
_extendNodeDataNoStylePropList = [];
|
|
23564
|
+
};
|
|
22435
23565
|
MindMap2.pluginList = [];
|
|
22436
23566
|
MindMap2.usePlugin = (plugin, opt = {}) => {
|
|
22437
23567
|
if (MindMap2.hasPlugin(plugin) !== -1) return MindMap2;
|
|
@@ -22456,273 +23586,377 @@ MindMap2.removeTheme = (name2) => {
|
|
|
22456
23586
|
theme[name2] = null;
|
|
22457
23587
|
}
|
|
22458
23588
|
};
|
|
22459
|
-
|
|
22460
|
-
|
|
22461
|
-
|
|
23589
|
+
class TouchEvent {
|
|
23590
|
+
// 构造函数
|
|
23591
|
+
constructor({ mindMap }) {
|
|
23592
|
+
this.mindMap = mindMap;
|
|
23593
|
+
this.touchesNum = 0;
|
|
23594
|
+
this.singleTouchstartEvent = null;
|
|
23595
|
+
this.clickNum = 0;
|
|
23596
|
+
this.touchStartScaleView = null;
|
|
23597
|
+
this.lastTouchStartPosition = null;
|
|
23598
|
+
this.lastTouchStartDistance = 0;
|
|
23599
|
+
this.bindEvent();
|
|
22462
23600
|
}
|
|
22463
|
-
|
|
22464
|
-
|
|
22465
|
-
|
|
22466
|
-
|
|
22467
|
-
|
|
22468
|
-
|
|
22469
|
-
|
|
22470
|
-
|
|
22471
|
-
|
|
22472
|
-
|
|
22473
|
-
|
|
22474
|
-
|
|
22475
|
-
}
|
|
22476
|
-
parentElem.appendChild(elem);
|
|
23601
|
+
// 绑定事件
|
|
23602
|
+
bindEvent() {
|
|
23603
|
+
this.onTouchstart = this.onTouchstart.bind(this);
|
|
23604
|
+
this.onTouchmove = this.onTouchmove.bind(this);
|
|
23605
|
+
this.onTouchcancel = this.onTouchcancel.bind(this);
|
|
23606
|
+
this.onTouchend = this.onTouchend.bind(this);
|
|
23607
|
+
window.addEventListener("touchstart", this.onTouchstart, { passive: false });
|
|
23608
|
+
window.addEventListener("touchmove", this.onTouchmove, { passive: false });
|
|
23609
|
+
window.addEventListener("touchcancel", this.onTouchcancel, {
|
|
23610
|
+
passive: false
|
|
23611
|
+
});
|
|
23612
|
+
window.addEventListener("touchend", this.onTouchend, { passive: false });
|
|
22477
23613
|
}
|
|
22478
|
-
|
|
22479
|
-
|
|
22480
|
-
()
|
|
22481
|
-
|
|
22482
|
-
|
|
22483
|
-
|
|
22484
|
-
|
|
22485
|
-
|
|
22486
|
-
)
|
|
22487
|
-
|
|
22488
|
-
|
|
22489
|
-
if (
|
|
22490
|
-
|
|
22491
|
-
|
|
22492
|
-
|
|
22493
|
-
|
|
22494
|
-
|
|
22495
|
-
|
|
22496
|
-
|
|
22497
|
-
|
|
22498
|
-
},
|
|
22499
|
-
setup(__props, { emit }) {
|
|
22500
|
-
const isDragging = ref(false);
|
|
22501
|
-
const containerWidth = ref(0);
|
|
22502
|
-
const mindScale = ref(1);
|
|
22503
|
-
const containerRect = ref();
|
|
22504
|
-
const trackRef = ref();
|
|
22505
|
-
const thumbPosition = computed(() => ({
|
|
22506
|
-
left: `${(mindScale.value - 0.1) / 1.9 * 100}%`
|
|
22507
|
-
}));
|
|
22508
|
-
const updateDimensions = () => {
|
|
22509
|
-
var _a;
|
|
22510
|
-
containerWidth.value = (_a = trackRef.value) == null ? void 0 : _a.offsetWidth;
|
|
22511
|
-
containerRect.value = trackRef.value.getBoundingClientRect();
|
|
22512
|
-
};
|
|
22513
|
-
const updateScale = (newScale) => {
|
|
22514
|
-
if (!containerRect.value) return;
|
|
22515
|
-
mindScale.value = Number(newScale.toFixed(1));
|
|
22516
|
-
emit("update-mind-map-scale", mindScale.value);
|
|
22517
|
-
};
|
|
22518
|
-
const updateMindMapScale = (e) => {
|
|
22519
|
-
if (!containerRect.value) return;
|
|
22520
|
-
const rawScale = (e.clientX - containerRect.value.left) / containerRect.value.width;
|
|
22521
|
-
const newScale = Number(Math.min(2, Math.max(0.1, 0.1 + rawScale * 1.9)).toFixed(1));
|
|
22522
|
-
if (mindScale.value !== newScale) {
|
|
22523
|
-
updateScale(newScale);
|
|
23614
|
+
// 解绑事件
|
|
23615
|
+
unBindEvent() {
|
|
23616
|
+
window.removeEventListener("touchstart", this.onTouchstart);
|
|
23617
|
+
window.removeEventListener("touchmove", this.onTouchmove);
|
|
23618
|
+
window.removeEventListener("touchcancel", this.onTouchcancel);
|
|
23619
|
+
window.removeEventListener("touchend", this.onTouchend);
|
|
23620
|
+
}
|
|
23621
|
+
// 手指按下事件
|
|
23622
|
+
onTouchstart(e) {
|
|
23623
|
+
this.touchesNum = e.touches.length;
|
|
23624
|
+
this.touchStartScaleView = null;
|
|
23625
|
+
if (this.touchesNum === 1) {
|
|
23626
|
+
let touch = e.touches[0];
|
|
23627
|
+
if (this.lastTouchStartPosition) {
|
|
23628
|
+
this.lastTouchStartDistance = getTwoPointDistance(
|
|
23629
|
+
this.lastTouchStartPosition.x,
|
|
23630
|
+
this.lastTouchStartPosition.y,
|
|
23631
|
+
touch.clientX,
|
|
23632
|
+
touch.clientY
|
|
23633
|
+
);
|
|
22524
23634
|
}
|
|
22525
|
-
|
|
22526
|
-
|
|
22527
|
-
|
|
23635
|
+
this.lastTouchStartPosition = {
|
|
23636
|
+
x: touch.clientX,
|
|
23637
|
+
y: touch.clientY
|
|
23638
|
+
};
|
|
23639
|
+
this.singleTouchstartEvent = touch;
|
|
23640
|
+
this.dispatchMouseEvent("mousedown", touch.target, touch);
|
|
23641
|
+
}
|
|
23642
|
+
}
|
|
23643
|
+
// 手指移动事件
|
|
23644
|
+
onTouchmove(e) {
|
|
23645
|
+
let len = e.touches.length;
|
|
23646
|
+
if (len === 1) {
|
|
23647
|
+
let touch = e.touches[0];
|
|
23648
|
+
this.dispatchMouseEvent("mousemove", touch.target, touch);
|
|
23649
|
+
} else if (len === 2) {
|
|
23650
|
+
let { disableTouchZoom, minTouchZoomScale, maxTouchZoomScale } = this.mindMap.opt;
|
|
23651
|
+
if (disableTouchZoom) return;
|
|
23652
|
+
minTouchZoomScale = minTouchZoomScale === -1 ? -Infinity : minTouchZoomScale / 100;
|
|
23653
|
+
maxTouchZoomScale = maxTouchZoomScale === -1 ? Infinity : maxTouchZoomScale / 100;
|
|
23654
|
+
let touch1 = e.touches[0];
|
|
23655
|
+
let touch2 = e.touches[1];
|
|
23656
|
+
let ox = touch1.clientX - touch2.clientX;
|
|
23657
|
+
let oy = touch1.clientY - touch2.clientY;
|
|
23658
|
+
let distance = Math.sqrt(Math.pow(ox, 2) + Math.pow(oy, 2));
|
|
23659
|
+
let { x: touch1ClientX, y: touch1ClientY } = this.mindMap.toPos(
|
|
23660
|
+
touch1.clientX,
|
|
23661
|
+
touch1.clientY
|
|
23662
|
+
);
|
|
23663
|
+
let { x: touch2ClientX, y: touch2ClientY } = this.mindMap.toPos(
|
|
23664
|
+
touch2.clientX,
|
|
23665
|
+
touch2.clientY
|
|
23666
|
+
);
|
|
23667
|
+
let cx2 = (touch1ClientX + touch2ClientX) / 2;
|
|
23668
|
+
let cy2 = (touch1ClientY + touch2ClientY) / 2;
|
|
23669
|
+
const view = this.mindMap.view;
|
|
23670
|
+
if (!this.touchStartScaleView) {
|
|
23671
|
+
this.touchStartScaleView = {
|
|
23672
|
+
distance,
|
|
23673
|
+
scale: view.scale,
|
|
23674
|
+
x: view.x,
|
|
23675
|
+
y: view.y,
|
|
23676
|
+
cx: cx2,
|
|
23677
|
+
cy: cy2
|
|
23678
|
+
};
|
|
22528
23679
|
return;
|
|
22529
23680
|
}
|
|
22530
|
-
const
|
|
22531
|
-
|
|
22532
|
-
|
|
22533
|
-
|
|
22534
|
-
|
|
22535
|
-
|
|
23681
|
+
const viewBefore = this.touchStartScaleView;
|
|
23682
|
+
let scale = viewBefore.scale * (distance / viewBefore.distance);
|
|
23683
|
+
if (Math.abs(distance - viewBefore.distance) <= 10) {
|
|
23684
|
+
scale = viewBefore.scale;
|
|
23685
|
+
}
|
|
23686
|
+
scale = scale < minTouchZoomScale ? minTouchZoomScale : scale > maxTouchZoomScale ? maxTouchZoomScale : scale;
|
|
23687
|
+
const ratio = 1 - scale / viewBefore.scale;
|
|
23688
|
+
view.scale = scale;
|
|
23689
|
+
view.x = viewBefore.x + (cx2 - viewBefore.x) * ratio + (cx2 - viewBefore.cx) * scale;
|
|
23690
|
+
view.y = viewBefore.y + (cy2 - viewBefore.y) * ratio + (cy2 - viewBefore.cy) * scale;
|
|
23691
|
+
view.transform();
|
|
23692
|
+
this.mindMap.emit("scale", scale);
|
|
23693
|
+
}
|
|
23694
|
+
}
|
|
23695
|
+
// 手指取消事件
|
|
23696
|
+
onTouchcancel(e) {
|
|
23697
|
+
}
|
|
23698
|
+
// 手指松开事件
|
|
23699
|
+
onTouchend(e) {
|
|
23700
|
+
this.dispatchMouseEvent("mouseup", e.target);
|
|
23701
|
+
if (this.touchesNum === 1) {
|
|
23702
|
+
this.clickNum++;
|
|
23703
|
+
setTimeout(() => {
|
|
23704
|
+
this.clickNum = 0;
|
|
23705
|
+
this.lastTouchStartPosition = null;
|
|
23706
|
+
this.lastTouchStartDistance = 0;
|
|
23707
|
+
}, 300);
|
|
23708
|
+
let ev = this.singleTouchstartEvent;
|
|
23709
|
+
if (this.clickNum > 1 && this.lastTouchStartDistance <= 5) {
|
|
23710
|
+
this.clickNum = 0;
|
|
23711
|
+
this.dispatchMouseEvent("dblclick", ev.target, ev);
|
|
23712
|
+
}
|
|
23713
|
+
}
|
|
23714
|
+
this.touchesNum = 0;
|
|
23715
|
+
this.singleTouchstartEvent = null;
|
|
23716
|
+
this.touchStartScaleView = null;
|
|
23717
|
+
}
|
|
23718
|
+
// 发送鼠标事件
|
|
23719
|
+
dispatchMouseEvent(eventName, target, e) {
|
|
23720
|
+
let opt = {};
|
|
23721
|
+
if (e) {
|
|
23722
|
+
opt = {
|
|
23723
|
+
screenX: e.screenX,
|
|
23724
|
+
screenY: e.screenY,
|
|
23725
|
+
clientX: e.clientX,
|
|
23726
|
+
clientY: e.clientY,
|
|
23727
|
+
which: 1
|
|
23728
|
+
};
|
|
23729
|
+
}
|
|
23730
|
+
let event = new MouseEvent(eventName, __spreadValues({
|
|
23731
|
+
view: document.defaultView,
|
|
23732
|
+
bubbles: true,
|
|
23733
|
+
cancelable: true
|
|
23734
|
+
}, opt));
|
|
23735
|
+
target.dispatchEvent(event);
|
|
23736
|
+
}
|
|
23737
|
+
// 插件被移除前做的事情
|
|
23738
|
+
beforePluginRemove() {
|
|
23739
|
+
this.unBindEvent();
|
|
23740
|
+
}
|
|
23741
|
+
// 插件被卸载前做的事情
|
|
23742
|
+
beforePluginDestroy() {
|
|
23743
|
+
this.unBindEvent();
|
|
23744
|
+
}
|
|
23745
|
+
}
|
|
23746
|
+
TouchEvent.instanceName = "touchEvent";
|
|
23747
|
+
MindMap2.usePlugin(TouchEvent);
|
|
23748
|
+
const useOutlineMindMapData = () => {
|
|
23749
|
+
const outlineData = ref();
|
|
23750
|
+
const summaryList = computed(() => {
|
|
23751
|
+
var _a;
|
|
23752
|
+
return ((_a = outlineData.value) == null ? void 0 : _a.outlineContent) || [];
|
|
23753
|
+
});
|
|
23754
|
+
const mapDomTree = computed(() => {
|
|
23755
|
+
return transformOutline(summaryList.value);
|
|
23756
|
+
});
|
|
23757
|
+
function transformOutline(outline) {
|
|
23758
|
+
if (!outline.length) return null;
|
|
23759
|
+
const createNode = (item) => {
|
|
23760
|
+
if (!outline.length) return [];
|
|
23761
|
+
const secondChildrenNode = [];
|
|
23762
|
+
for (let i2 = 0; i2 < item.length; i2++) {
|
|
23763
|
+
secondChildrenNode.push({
|
|
23764
|
+
data: { text: item[i2] }
|
|
23765
|
+
});
|
|
22536
23766
|
}
|
|
22537
|
-
|
|
22538
|
-
updateScale(newScale);
|
|
23767
|
+
return secondChildrenNode;
|
|
22539
23768
|
};
|
|
22540
|
-
|
|
22541
|
-
|
|
22542
|
-
|
|
22543
|
-
|
|
22544
|
-
|
|
22545
|
-
|
|
22546
|
-
|
|
23769
|
+
return {
|
|
23770
|
+
data: {
|
|
23771
|
+
text: outline[0].title
|
|
23772
|
+
},
|
|
23773
|
+
children: outline.map((item) => ({
|
|
23774
|
+
data: { text: item.title },
|
|
23775
|
+
children: createNode(item.summary)
|
|
23776
|
+
}))
|
|
22547
23777
|
};
|
|
22548
|
-
|
|
22549
|
-
|
|
22550
|
-
|
|
23778
|
+
}
|
|
23779
|
+
function setOutlineData(data2) {
|
|
23780
|
+
outlineData.value = data2;
|
|
23781
|
+
}
|
|
23782
|
+
return {
|
|
23783
|
+
setOutlineData,
|
|
23784
|
+
mapDomTree
|
|
23785
|
+
};
|
|
23786
|
+
};
|
|
23787
|
+
const useMindMap = () => {
|
|
23788
|
+
let mindMap = null;
|
|
23789
|
+
function getMindMap() {
|
|
23790
|
+
if (!mindMap) {
|
|
23791
|
+
throw new Error("need init mindMap");
|
|
23792
|
+
}
|
|
23793
|
+
return mindMap;
|
|
23794
|
+
}
|
|
23795
|
+
const mindMapContainerRef = ref();
|
|
23796
|
+
const currentScaleRate = ref(1);
|
|
23797
|
+
const defaultScaleRate = ref(1);
|
|
23798
|
+
function initMindMap(data2) {
|
|
23799
|
+
return __async(this, null, function* () {
|
|
23800
|
+
yield nextTick$1();
|
|
23801
|
+
destroyMindMap();
|
|
23802
|
+
if (!data2 || !mindMapContainerRef.value) {
|
|
23803
|
+
return;
|
|
22551
23804
|
}
|
|
22552
|
-
|
|
22553
|
-
|
|
22554
|
-
|
|
22555
|
-
|
|
22556
|
-
|
|
22557
|
-
|
|
22558
|
-
|
|
22559
|
-
|
|
22560
|
-
|
|
22561
|
-
|
|
23805
|
+
mindMap = new MindMap2({
|
|
23806
|
+
el: mindMapContainerRef.value,
|
|
23807
|
+
data: data2,
|
|
23808
|
+
enableFreeDrag: false,
|
|
23809
|
+
readonly: true,
|
|
23810
|
+
// 只读
|
|
23811
|
+
isLimitMindMapInCanvas: true,
|
|
23812
|
+
// 限制在画布内
|
|
23813
|
+
initRootNodePosition: ["center", "center"],
|
|
23814
|
+
layout: "logicalStructure",
|
|
23815
|
+
disableTouchZoom: false,
|
|
23816
|
+
minZoomRatio: 10,
|
|
23817
|
+
maxZoomRatio: 200,
|
|
23818
|
+
minTouchZoomScale: 10,
|
|
23819
|
+
maxTouchZoomScale: 200
|
|
23820
|
+
});
|
|
23821
|
+
mindMap.setThemeConfig({
|
|
23822
|
+
backgroundColor: "#36373d",
|
|
23823
|
+
lineColor: "#EEEEEE",
|
|
23824
|
+
lineWidth: 3,
|
|
23825
|
+
lineStyle: "straight",
|
|
23826
|
+
lineRadius: 4,
|
|
23827
|
+
paddingX: 15,
|
|
23828
|
+
paddingY: 10,
|
|
23829
|
+
root: {
|
|
23830
|
+
shape: "rectangle",
|
|
23831
|
+
fillColor: "#36373d",
|
|
23832
|
+
color: "#EEEEEE",
|
|
23833
|
+
borderColor: "#EEEEEE",
|
|
23834
|
+
borderRadius: 4,
|
|
23835
|
+
borderWidth: 2,
|
|
23836
|
+
borderDasharray: "none"
|
|
23837
|
+
},
|
|
23838
|
+
second: {
|
|
23839
|
+
shape: "rectangle",
|
|
23840
|
+
lineColor: "transparent",
|
|
23841
|
+
fillColor: "transparent",
|
|
23842
|
+
color: "#EEEEEE",
|
|
23843
|
+
borderColor: "#EEEEEE",
|
|
23844
|
+
borderRadius: 5,
|
|
23845
|
+
borderWidth: 2
|
|
23846
|
+
},
|
|
23847
|
+
node: {
|
|
23848
|
+
shape: "rectangle",
|
|
23849
|
+
lineColor: "transparent",
|
|
23850
|
+
fillColor: "transparent",
|
|
23851
|
+
color: "#EEEEEE",
|
|
23852
|
+
borderColor: "transparent",
|
|
23853
|
+
borderRadius: 5,
|
|
23854
|
+
borderWidth: 0
|
|
23855
|
+
}
|
|
23856
|
+
});
|
|
23857
|
+
mindMap.on("node_tree_render_end", () => {
|
|
23858
|
+
if (!mindMap) return;
|
|
23859
|
+
mindMap.view.fit(
|
|
23860
|
+
() => {
|
|
23861
|
+
getMindMap().getElRectInfo();
|
|
23862
|
+
getMindMap().resize();
|
|
23863
|
+
return false;
|
|
23864
|
+
},
|
|
23865
|
+
false,
|
|
23866
|
+
0
|
|
23867
|
+
);
|
|
23868
|
+
});
|
|
23869
|
+
mindMap.on("scale", () => {
|
|
23870
|
+
currentScaleRate.value = getMindMap().view.scale;
|
|
23871
|
+
});
|
|
23872
|
+
mindMap.on("resize", () => {
|
|
23873
|
+
currentScaleRate.value = getMindMap().view.scale;
|
|
23874
|
+
defaultScaleRate.value = getMindMap().view.scale;
|
|
23875
|
+
});
|
|
22562
23876
|
});
|
|
22563
|
-
return { __sfc: true, emit, isDragging, containerWidth, mindScale, containerRect, trackRef, thumbPosition, updateDimensions, updateScale, updateMindMapScale, decrementScale, incrementScale, handleScaleChange, startDrag, handleDrag, endDrag };
|
|
22564
23877
|
}
|
|
22565
|
-
|
|
22566
|
-
|
|
22567
|
-
|
|
22568
|
-
|
|
22569
|
-
|
|
22570
|
-
|
|
22571
|
-
|
|
22572
|
-
|
|
22573
|
-
|
|
22574
|
-
|
|
23878
|
+
function destroyMindMap() {
|
|
23879
|
+
if (!mindMap) return;
|
|
23880
|
+
mindMap.destroy();
|
|
23881
|
+
mindMap = null;
|
|
23882
|
+
}
|
|
23883
|
+
function updateMindMapScale(scale) {
|
|
23884
|
+
if (!mindMap) return;
|
|
23885
|
+
mindMap.view.setScale(scale, 0, 0);
|
|
23886
|
+
if (scale === defaultScaleRate.value) {
|
|
23887
|
+
mindMap.view.fit(
|
|
23888
|
+
() => {
|
|
23889
|
+
getMindMap().getElRectInfo();
|
|
23890
|
+
getMindMap().resize();
|
|
23891
|
+
return false;
|
|
23892
|
+
},
|
|
23893
|
+
false,
|
|
23894
|
+
0
|
|
23895
|
+
);
|
|
23896
|
+
}
|
|
23897
|
+
}
|
|
23898
|
+
function resizeMindMap() {
|
|
23899
|
+
if (!mindMap) return;
|
|
23900
|
+
mindMap.resize();
|
|
23901
|
+
}
|
|
23902
|
+
return {
|
|
23903
|
+
mindMapContainerRef,
|
|
23904
|
+
currentScaleRate,
|
|
23905
|
+
defaultScaleRate,
|
|
23906
|
+
initMindMap,
|
|
23907
|
+
destroyMindMap,
|
|
23908
|
+
resizeMindMap,
|
|
23909
|
+
updateMindMapScale
|
|
23910
|
+
};
|
|
22575
23911
|
};
|
|
22576
|
-
var _sfc_staticRenderFns$d = [];
|
|
22577
|
-
var __component__$d = /* @__PURE__ */ normalizeComponent(
|
|
22578
|
-
_sfc_main$d,
|
|
22579
|
-
_sfc_render$d,
|
|
22580
|
-
_sfc_staticRenderFns$d
|
|
22581
|
-
);
|
|
22582
|
-
const MapControl = __component__$d.exports;
|
|
22583
23912
|
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
22584
23913
|
__name: "outline-mind-map",
|
|
22585
23914
|
setup(__props, { expose }) {
|
|
22586
23915
|
const { isMobile: isMobile2 } = useGlobalInject();
|
|
22587
|
-
const outlineData = ref();
|
|
22588
|
-
const summaryList = computed(() => {
|
|
22589
|
-
var _a;
|
|
22590
|
-
return ((_a = outlineData.value) == null ? void 0 : _a.outlineContent) || [];
|
|
22591
|
-
});
|
|
22592
|
-
const mapDomTree = computed(() => {
|
|
22593
|
-
return transformOutline(summaryList.value);
|
|
22594
|
-
});
|
|
22595
|
-
function transformOutline(outline) {
|
|
22596
|
-
if (!outline.length) return null;
|
|
22597
|
-
const createNode = (item) => {
|
|
22598
|
-
if (!outline.length) return [];
|
|
22599
|
-
const secondChildrenNode = [];
|
|
22600
|
-
for (let i2 = 0; i2 < item.length; i2++) {
|
|
22601
|
-
secondChildrenNode.push({
|
|
22602
|
-
data: { text: item[i2] }
|
|
22603
|
-
});
|
|
22604
|
-
}
|
|
22605
|
-
return secondChildrenNode;
|
|
22606
|
-
};
|
|
22607
|
-
return {
|
|
22608
|
-
data: {
|
|
22609
|
-
text: outline[0].title
|
|
22610
|
-
},
|
|
22611
|
-
children: outline.map((item) => ({
|
|
22612
|
-
data: { text: item.title },
|
|
22613
|
-
children: createNode(item.summary)
|
|
22614
|
-
}))
|
|
22615
|
-
};
|
|
22616
|
-
}
|
|
22617
|
-
let mindMap = null;
|
|
22618
|
-
const mindMapContainerRef = ref();
|
|
22619
|
-
function initMindMap() {
|
|
22620
|
-
return __async(this, null, function* () {
|
|
22621
|
-
yield nextTick$1();
|
|
22622
|
-
destroyMindMap();
|
|
22623
|
-
if (!mapDomTree.value || !mindMapContainerRef.value) {
|
|
22624
|
-
return;
|
|
22625
|
-
}
|
|
22626
|
-
mindMap = new MindMap2({
|
|
22627
|
-
el: mindMapContainerRef.value,
|
|
22628
|
-
data: mapDomTree.value,
|
|
22629
|
-
enableFreeDrag: false,
|
|
22630
|
-
readonly: true,
|
|
22631
|
-
// 只读
|
|
22632
|
-
isLimitMindMapInCanvas: true,
|
|
22633
|
-
// 限制在画布内
|
|
22634
|
-
initRootNodePosition: ["center", "center"],
|
|
22635
|
-
layout: "logicalStructure"
|
|
22636
|
-
});
|
|
22637
|
-
mindMap.setThemeConfig({
|
|
22638
|
-
backgroundColor: "#36373d",
|
|
22639
|
-
lineColor: "#EEEEEE",
|
|
22640
|
-
lineWidth: 3,
|
|
22641
|
-
lineStyle: "straight",
|
|
22642
|
-
lineRadius: 4,
|
|
22643
|
-
paddingX: 15,
|
|
22644
|
-
paddingY: 10,
|
|
22645
|
-
root: {
|
|
22646
|
-
shape: "rectangle",
|
|
22647
|
-
fillColor: "#36373d",
|
|
22648
|
-
color: "#EEEEEE",
|
|
22649
|
-
borderColor: "#EEEEEE",
|
|
22650
|
-
borderRadius: 4,
|
|
22651
|
-
borderWidth: 2,
|
|
22652
|
-
borderDasharray: "none"
|
|
22653
|
-
},
|
|
22654
|
-
second: {
|
|
22655
|
-
shape: "rectangle",
|
|
22656
|
-
lineColor: "transparent",
|
|
22657
|
-
fillColor: "transparent",
|
|
22658
|
-
color: "#EEEEEE",
|
|
22659
|
-
borderColor: "#EEEEEE",
|
|
22660
|
-
borderRadius: 5,
|
|
22661
|
-
borderWidth: 2
|
|
22662
|
-
},
|
|
22663
|
-
node: {
|
|
22664
|
-
shape: "rectangle",
|
|
22665
|
-
lineColor: "transparent",
|
|
22666
|
-
fillColor: "transparent",
|
|
22667
|
-
color: "#EEEEEE",
|
|
22668
|
-
borderColor: "transparent",
|
|
22669
|
-
borderRadius: 5,
|
|
22670
|
-
borderWidth: 0
|
|
22671
|
-
}
|
|
22672
|
-
});
|
|
22673
|
-
mindMap.on("node_tree_render_end", () => {
|
|
22674
|
-
mindMap == null ? void 0 : mindMap.view.fit(
|
|
22675
|
-
() => {
|
|
22676
|
-
mindMap == null ? void 0 : mindMap.getElRectInfo();
|
|
22677
|
-
mindMap == null ? void 0 : mindMap.resize();
|
|
22678
|
-
return false;
|
|
22679
|
-
},
|
|
22680
|
-
false,
|
|
22681
|
-
0
|
|
22682
|
-
);
|
|
22683
|
-
});
|
|
22684
|
-
});
|
|
22685
|
-
}
|
|
22686
|
-
function destroyMindMap() {
|
|
22687
|
-
if (!mindMap) return;
|
|
22688
|
-
mindMap.destroy();
|
|
22689
|
-
mindMap = null;
|
|
22690
|
-
}
|
|
22691
|
-
function updateMindMapScale(scale) {
|
|
22692
|
-
if (!mindMap) return;
|
|
22693
|
-
mindMap.view.setScale(scale, 0, 0);
|
|
22694
|
-
}
|
|
22695
23916
|
const wrapRef = ref();
|
|
22696
23917
|
useAppendTo(wrapRef);
|
|
22697
|
-
|
|
22698
|
-
|
|
22699
|
-
|
|
22700
|
-
|
|
22701
|
-
|
|
22702
|
-
|
|
22703
|
-
|
|
22704
|
-
|
|
22705
|
-
);
|
|
23918
|
+
const {
|
|
23919
|
+
mindMapContainerRef,
|
|
23920
|
+
currentScaleRate,
|
|
23921
|
+
defaultScaleRate,
|
|
23922
|
+
initMindMap,
|
|
23923
|
+
destroyMindMap,
|
|
23924
|
+
resizeMindMap,
|
|
23925
|
+
updateMindMapScale
|
|
23926
|
+
} = useMindMap();
|
|
23927
|
+
const { mapDomTree, setOutlineData } = useOutlineMindMapData();
|
|
23928
|
+
const isFullscreen = ref(false);
|
|
23929
|
+
function toggleFullscreen() {
|
|
23930
|
+
isFullscreen.value = !isFullscreen.value;
|
|
23931
|
+
nextTick$1(() => {
|
|
23932
|
+
resizeMindMap();
|
|
23933
|
+
});
|
|
23934
|
+
}
|
|
22706
23935
|
const visible2 = ref(false);
|
|
22707
23936
|
function openMindMap(data2) {
|
|
22708
|
-
|
|
23937
|
+
isFullscreen.value = false;
|
|
23938
|
+
setOutlineData(data2);
|
|
23939
|
+
initMindMap(mapDomTree.value);
|
|
22709
23940
|
visible2.value = true;
|
|
22710
|
-
initMindMap();
|
|
22711
23941
|
}
|
|
22712
23942
|
function closeMindMap() {
|
|
22713
23943
|
visible2.value = false;
|
|
23944
|
+
isFullscreen.value = false;
|
|
22714
23945
|
destroyMindMap();
|
|
22715
23946
|
}
|
|
22716
23947
|
expose({
|
|
22717
23948
|
openMindMap,
|
|
22718
23949
|
closeMindMap
|
|
22719
23950
|
});
|
|
22720
|
-
return { __sfc: true, isMobile: isMobile2,
|
|
23951
|
+
return { __sfc: true, isMobile: isMobile2, wrapRef, mindMapContainerRef, currentScaleRate, defaultScaleRate, initMindMap, destroyMindMap, resizeMindMap, updateMindMapScale, mapDomTree, setOutlineData, isFullscreen, toggleFullscreen, visible: visible2, openMindMap, closeMindMap, AiIconClose, AiIconToFullscreen, AiIconCancelFullscreen, MapControl };
|
|
22721
23952
|
}
|
|
22722
23953
|
});
|
|
22723
23954
|
var _sfc_render$c = function render3() {
|
|
22724
23955
|
var _vm = this, _c = _vm._self._c, _setup = _vm._self._setupProxy;
|
|
22725
|
-
return _setup.visible ? _c("div", { ref: "wrapRef", staticClass: "plv-ai-outline-mind-map" }, [_c("div", { staticClass: "plv-ai-outline-mind-map__content"
|
|
23956
|
+
return _setup.visible ? _c("div", { ref: "wrapRef", staticClass: "plv-ai-outline-mind-map" }, [_c("div", { staticClass: "plv-ai-outline-mind-map__content", class: {
|
|
23957
|
+
"plv-ai-outline-mind-map__content--mobile": _setup.isMobile(),
|
|
23958
|
+
"plv-ai-outline-mind-map__content--fullscreen": _setup.isFullscreen
|
|
23959
|
+
} }, [_c("div", { staticClass: "plv-ai-outline-mind-map__header" }, [!_setup.isMobile() ? [!_setup.isFullscreen ? _c(_setup.AiIconToFullscreen, { staticClass: "plv-ai-outline-mind-map__icon", on: { "click": _setup.toggleFullscreen } }) : _c(_setup.AiIconCancelFullscreen, { staticClass: "plv-ai-outline-mind-map__icon", on: { "click": _setup.toggleFullscreen } })] : _vm._e(), _c(_setup.AiIconClose, { staticClass: "plv-ai-outline-mind-map__icon", on: { "click": _setup.closeMindMap } })], 2), _c("div", { staticClass: "plv-ai-outline-mind-map__content-mind-map-container" }, [_c("div", { ref: "mindMapContainerRef", staticClass: "plv-ai-outline-mind-map__content-mind-map" })]), _c("div", { staticClass: "plv-ai-outline-mind-map__footer" }, [_c(_setup.MapControl, { attrs: { "default-scale-rate": _setup.defaultScaleRate, "currentScaleRate": _setup.currentScaleRate }, on: { "update-mind-map-scale": _setup.updateMindMapScale } })], 1)])]) : _vm._e();
|
|
22726
23960
|
};
|
|
22727
23961
|
var _sfc_staticRenderFns$c = [];
|
|
22728
23962
|
var __component__$c = /* @__PURE__ */ normalizeComponent(
|
|
@@ -23681,10 +24915,10 @@ var _sfc_render$8 = function render7() {
|
|
|
23681
24915
|
} }, [_c("div", { ref: "referenceRef", staticClass: "plv-ai-assistant-msg-container__content__inner", on: { "click": _setup.onClickControl } }, [_setup.bubbleModel ? _c("div", { staticClass: "plv-ai-assistant-msg-container__content__bubble", class: {
|
|
23682
24916
|
"plv-ai-assistant-msg-container__content__bubble__align-right": _setup.msgPosition === "right",
|
|
23683
24917
|
"pws-ai-msg-bubble-color": _setup.isAIUser,
|
|
23684
|
-
"pws-normal-msg-bubble-color": !_setup.isAIUser
|
|
23685
|
-
|
|
23686
|
-
|
|
23687
|
-
|
|
24918
|
+
"pws-normal-msg-bubble-color": !_setup.isAIUser,
|
|
24919
|
+
"pws-primary-text-color": !_setup.isAIUser,
|
|
24920
|
+
"pws-dark-basic-bg-20": !_setup.isAIUser,
|
|
24921
|
+
"pws-light-basic-bg-20": !_setup.isAIUser
|
|
23688
24922
|
}, style: _setup.bubbleStyle }, [_vm._t("default")], 2) : _vm._t("default"), !_vm.disabledTips ? _c("transition", { attrs: { "name": "fade" } }, [_c("div", { directives: [{ name: "show", rawName: "v-show", value: _setup.tipsVisible, expression: "tipsVisible" }], staticClass: "plv-ai-assistant-msg-container__tips-bubble", on: { "click": function($event) {
|
|
23689
24923
|
$event.stopPropagation();
|
|
23690
24924
|
return _setup.onClickTips.apply(null, arguments);
|
|
@@ -33083,10 +34317,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
33083
34317
|
function getDigitalPreviewInstance() {
|
|
33084
34318
|
return digitalPreviewRef.value;
|
|
33085
34319
|
}
|
|
34320
|
+
function getMsgListInstance() {
|
|
34321
|
+
return msgListRef.value;
|
|
34322
|
+
}
|
|
33086
34323
|
expose({
|
|
33087
|
-
getDigitalPreviewInstance
|
|
34324
|
+
getDigitalPreviewInstance,
|
|
34325
|
+
getMsgListInstance
|
|
33088
34326
|
});
|
|
33089
|
-
return { __sfc: true, $t, currentTheme, props, forceFitMode, digitalPreviewRef, pushMsgPartToPlay, setMsgContent, cleanupDigitalPlay, AIAssistantChatVisible, AIAssistantChatInputDisabled, AIAssistantChatStatus, AIChatDigitalEnabled, msgListRef, forceUpdateAIAssistantChatMsgItem, msgInputWrapRef, AIAssistantChatMsgRenderList, AIAssistantInputPlaceholder, onSubmitMessage, toConfirmPlay, getDigitalPreviewInstance, PolyvAIAssistantChatStatus, AiDigitalPreview, MobileAiAssistantChatMsgList, MobileMsgInputWrap };
|
|
34327
|
+
return { __sfc: true, $t, currentTheme, props, forceFitMode, digitalPreviewRef, pushMsgPartToPlay, setMsgContent, cleanupDigitalPlay, AIAssistantChatVisible, AIAssistantChatInputDisabled, AIAssistantChatStatus, AIChatDigitalEnabled, msgListRef, forceUpdateAIAssistantChatMsgItem, msgInputWrapRef, AIAssistantChatMsgRenderList, AIAssistantInputPlaceholder, onSubmitMessage, toConfirmPlay, getDigitalPreviewInstance, getMsgListInstance, PolyvAIAssistantChatStatus, AiDigitalPreview, MobileAiAssistantChatMsgList, MobileMsgInputWrap };
|
|
33090
34328
|
}
|
|
33091
34329
|
});
|
|
33092
34330
|
const __$_require_3b18b7e0__ = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQgAAAEICAYAAACj9mr/AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAABkxSURBVHic7d1/iF7Vncfx93fJQv4I7CybsvOHpSN1aaSRRrBspFkaMaVTGmmkKRsxUqWKiilJ6JZu2YqWrmixkkiUKlVs0RKLiilGGjGSSCNatJhiFvNHilMa2FkccJadhflj4Lt/nDPx2Wlm5t773HvPuff5vCBIw8x9vnn63M9zzrnnB4iIiIiIiIiIiIiIiIiIiIj0g6UuQNJw9zHgb5b89Vj87+ySv/9vM1v6dzICFBA94u7rgU8BEwN/1g38dz0wDqyt+BLzwDQwA8wBUwP/XfzzR4VJfyggOsjdLwE+B2wENgEbCCEwtsKvtWmWEBZngdPAGeAPZnY+ZVFSngIic7FV8AVgC7CZEAq5BEFZs4SweAs4BbxhZjNpS5KVKCAy4+4TwLV8HAgbkhbUvLN8HBivmdlU2nJkkAIiMXdfS2ghTALb6X8grOYscBQ4RmhhzCeuZ6QpIBJw93XA14BdwFbCAKL8pTngOPA88Gszm0tcz8hRQLRkIBR2EloLVZ8kjKp5QqtCYdEiBUTD3P3LwK2E7oNCoR7zhG7IE2b2Supi+kwB0YD4GPJW4JuEx4/SnCngCeAXeoxaPwVEjWJrYQ+hC7EmcTmjZoHQBTloZq+lLqYvFBBDcvc1wI3APsKkJUnvNHAQ+KWZLaQupssUEBXFtQy3E4JhPHE5cnHTwE+AJzX9uxoFREkxGPYBe+nujMZRMws8TOh+KChKUEAUFCc0/SsKhi6bBR4AHtYErGIUEKuIwXA7IRzUleiHaUJQPK6gWJkCYgXuvgN4ELgsdS3SiHPAfjM7mrqQXCkgLsLdNwIHgG2pa5FWHCcExZnUheRGATEgDkDeT5jkpHkMo2WBMOHq+xrI/JgCInL3ncAhNM4w6qaBb5vZ86kLycHIB0ScFn0I2JG6FsnKEUJQjPT07b9KXUBK7n4X8B4KB/lLO4D33P321IWkNJItCHcfB54irJkQWc0x4BYzm05dSNtGLiDcfTshHNanrkU6ZYYQEiP1SHRkuhjuvs7dfwq8hMJBylsPvOTuh+LkuZEwEi0Id98APEfYEVpkWGeAb5jZ2dSFNK33LYj4+PJtFA5Sn43A2/Gz1Wu9DQh3X+Pu9xNaDtoUVuq2DnjO3e+Pe4L0Ui+7GPGwmcNoqrS04zhwQx8PAepdQMTxhpfQAitp1zngur6NS/QqINx9CyEctF+DpDBLCIlTqQupS2/GINx9N3AChYOkMwaciJ/FXuhFQLj7vcDTaAWmpLcGeNrd/y11IXXofBfD3Q8Q9ogUyc1BM9ufuohhdDYg4qOlQ8AdqWsRWcEjhM1oOrn9ficDIobDYcI5lyK5e57wGLRzIdG5gFA4SEd1MiQ6FRAKB+m4zoVEZwJC4SA90amQ6NJjzkMoHKT7dhJ2TO+ETgREfJSppxXSF3viZzp72QdEnASleQ7SN/vc/Qepi1hN1mMQccrq06nrEGnQDWb2bOoilpNtQLj7VuBVNH1a+m0BuCbXBV5ZBkRcsv0mWnglo2EG+Kccl4pnFxBxs5e3gYnEpYi06RxwdW6bzmQ1SDkw12EicSkibbsMOJzb9nVZBQTwI7RNnIyubcA9qYsYlE0XI+4Q/FzqOkQycL2ZHUldBGQSEHFQ8m20+7QIwBzw+RwGLZN3Mdx9HdqaXmTQ4pb6yU/wSh4QwIPoUBuRpTYS7o2kknYx4kG6L6WsQSRz16U8MDhZQLj7OPAeOkhXZCUzwBVmNp3ixVN2MZ5C4SCymvWEeyWJJAHh7nuAyRSvLdJBk+6eZLuD1rsY7n4JoWuhdRYixc0Suhrn23zRFC2IQygcRMoaI9w7rWo1IOJsyR1tvqZIj+yI91BrWutiuPsY8D4w3tZrivTQeUJXY7aNF2uzBXE/CgeRYV1CuJda0UoLwt03Au+i3aFE6rAAXGlmZ5p+obZaEAdQOIjUZQ0tbZ3feEDEQRXt8SBSr21xqUKjGu1ixNVo7xF2yxGRep0DLm/ylK6mm/130N9wmAPOAFPxz/8SRpglrXWE6cl/T/jsXUZ/tzC8DNgDHGzqBRprQcTWwwf058nFOeA48DrwjpmdS1yPFBT3HLkK2Ax8EdgKJN9roSbTwKVmNt/ExZsMiHvJbH+9Ct4BfgkcMbOpxLVITeKX1yTwdcLEva5vVvRdM/tJExduJCDipKgP6OaU6jngF8BjbTxGkrRiWOwC9gKbEpdT1SyhFVH75KmmnmLso3vhMAt8H/ikme1ROIwGM5s3s5+b2ZXANcDJxCVVMUZD59fW3oLoYOthHvgxcLCt6auSt3js44OEcYuuaKQV0UQL4na6Ew4vAP9gZvcqHGSRmZ00s88DtxFuvC4YA26t+6K1tiDiqUB/Jv8nFzPAnWb2fOpCJG/xKMjHCAOauZsmdJFrmxdRdwtiN/mHwyuE1XAKB1mVmc2Y2U5Ca2IudT2rGCcMuNam7hbEu+Q9EnwfcG+TM8+kv9x9E+EMl5wn/52OA661qK0F4e6T5BsO88ANZvYDhYNUZWangauBN1LXsoJN7l7b2qc6uxh31XitOs0BXzKzZ1MXIt1nZjOExYcvpK5lBXvrulAtXYy4Ee0H5Lekew74ipmdSl2I9EsckH+WPAcvFwiDlUOfpVFXC+JWFA4yQmJXdRd5tiTWAN+s40J1tSA+IK8VcwuEI8uOpS5E+i22JE4CX0hcylJTZnbpsBcZugURBycnhr1Oze5UOEgbYktiO2G1b04m4r05lDq6GN+q4Rp1etLMnkhdhIyOOAv3evKbJzH0vTlUFyOus/+QfNbWnwaubmptvMhK3H038HTqOgbMA58ws8rBNWwLYgf5hMM8cJPCQVIxs2eAX6WuY8BahjyoatiAyOkRz91aoi0ZuIOw1icXQ92jlbsYmXUvzhDOCdAsSUnO3XcBh1PXEQ3VzRimBZFT9+LbCgfJRZy1m8v8m6G6GcMExD8P8bt1OmJmJ1MXIbLE/tQFDKjczajUxYj7+H1IHpt9XhkX0Yhkxd1fJI/T7OcI3YzSA/hVWxBbyCMcjigcJGP3pS4gWke4Z0urGhBfrvh7dXsodQEiyzGzd8hnE9xK92zVgGj8TMACzmghlnTAo6kLiCrds6UDwt0ngA1VXqxmj6cuQKSAo+QxL2JD3JahlCotiBxO6l4grMUXyVocGMxldmXpe7dKQOSwrPVk3NlHpAty+TL7YtlfqBIQmyv8Tt1+nboAkRLeIo/zNUrfu6UCIp4RkMP4g/Z6kM6Is3xz+MxuiPdwYWVbEJWepdZs2sxy25xDZDW57IRd6h4uGxA5jD/o0aZ0US6f238s88NlAyKH8YffpS5ApIIzhJWVqZW6h8sGxMaSP9+Es6kLECkrjkPk8NktdbhV4YCIkyxyOLU7hzdZpIocxs7G3L3w+bllWhC5HKs3lboAkYpyCAiAq4r+YJnDbj5boZC6TXdxYxh3HwOuBa6If/Uh8Lq2yFtd3LnsWkL39q8J790pM/tD0sKq+a/UBUSfIUwBX1WZgMihBZHbtuIrit2yHxFOYPqL3bfc/TTwQzM70nZtuYvN4HuAm7n4e3cG+Hczy2UacxE5TJaCEi2Iwtz9XU/vRO3/sIa4+253/5+C/67DHr4phXAYk7t/VPC9e7Er7527byv9iW/Gu0VrLjMGMVH+LRlN7r6PcD5C0Q/uLuCElxg86it33wO8RPEB8R3Amx1573LpHk8U/cFCAeFhemYOTzCy5+63Agcq/OpVQGe+DZvgYTfoQ5Q/CHoj8Ooov3cljXkYF1tV0RbERPVaRoe7XwX8dIhLbAZ+VlM5nRLfu6eGuMRG4LmayhkFE0V+SAFREw+nPP+M8t9+S+1y9501lNQZ8b17iuGPUZh095uHr2gkTBT5oaIB8anqdYyMPdT3pOdA0SZgT3yP+mbpPuglVyyOqIkiP6QWRA1i3/eeGi95CXB7jdfLVgzCf6nxkusJYS0r+3SRHyoaEBr8Wdmt1D+Iu8/D+SN918R7t1cDlqsq9P6oBVGPJr7tx4FRGIvY28A1x4DdDVy3TwptYKsWxJDcfTPN7bKV0+nptXP3LRT8oFZwY0PX7YtaWxAa9Fne1xq89mTPm8pNBuAWr7DN+wgpNLGsaEB0YZZaKk0eIrSWPI4ZaErT/7atDV+/ywp96RcNiFEYLCstPk5rehOdHLb5q118etH0e1dqe7URU08XQ8+UV9TGJr45bPPXhDbeuxw2Wc5WkadkRVoQfe4DD+szLbxGDtv8NUHvXXqrDh1UPbxXgjY+gIUX1nTMZS28xhoNVA5HATGctj58bdxMbZvo2ev0kgJiOG0FRB+7eW09GetjuLamSEBokHJ5bT3dmWjpddrUx25T16z6xaMWxHDUv83fsMvvR1qRgJhpvAqR5ijEl7fqJtBqQQwnl12KZXnnUxfQZQqI4bQVELlsdtpFeu+GoIDohj5+CypcO6BIQORwInGuplp6nT52ZdoKvamWXqeLplf7gVUDwsxWvcgIm+rZ67Rpqmev0zlmtuqXf9EuRqeOvGvRn1p4jVkz62MLoo33bt7M+tg9q0Ohe7poQOhR58Wd7slrpNDGwcVnW3iNrip0TysghvNWC6/xuxZeI4U23ruTLbxGVxUaOlAXYwhxfGaq4Zdp40ZqXew2Nd066mu41qHWLsZU9Tp675UGrz0PHG/w+qm93OC1F+j3ezesQmMzRQOij4NkdXmmwWsfM7M+t96eb/DaJ81MXePl1dqCaGPEuZPM7BTNPdP/VUPXzYKZnQbONXT5Xr93NSh0T6uLUY9HG7jmeZr9hs1FE+/dNM227KrKaWVpoWDuWkDkuv3+Y9TfDXvIzEZhmvBj1P+U7PEik4ASyGll6VSRH+paQGS5/X4ckX+oxktOEW6c3os38n01XvI8cLDG6/XVVJEfKhQQ8QbIYaAyy4CIHqC+yT93ZvoN2JRHqO9x7v6MZ57+XeoCosKzc8us5mxqMKmM8VxPvI7dgVsYfs7Ik2Z2rIaSOiO+d3cy/Hv3KzPLedwmly7yVNEfLBMQbUyNLaKpg3KHZmbvEEKiqteBO2oqp1PiE40bqL48+w3g5toKakYun93CU9DLBMR/VCikCVnvUhy/wW6j/Af9dWD7iAxMXpSZHQVuovx79wawswPdslw+u78v+oNdbEF8OnUBqzGzJ4CvUHx0/nFgW88nRRViZs8C11B8bskvCO9dF7YlyCUg6l/E5u7jnocXa//HNcTdx9z9oLt/tMy/5VV335q6zhzF9+4Bd/9wmffut+4+mbrOotx9U833wTAKj4VYyX/kR6Q/z2DWzP42cQ2leBhY3Uz4BllH+HY81ZFvvaQG3rsJwhkt54G3zGwqYVmlufs+4EDqOih5/5QNiFeBbaVLqt+VcVBLpBM8tHx3pK6DsEblmqI/XHbT2lyWz25NXYBISVtTFxCVuofLBsSpkj/flK+mLkCkKA/jTKm75otKTUgrGxC5bF6y1XWsu3THjakLGHCyzA+XCog4PTOHx51rgJ2pixBZTRxk3ZW6juhs2WnoVQ7OyaUV8c3UBYgUsJ0Cp2i3pPS9WyUgXq/wO03Y5JpDIPm7K3UBA0rfu1UCIqeFRN9JXYDIcuIX2NbEZQwqvUdn6YCI+/y9U/b3GrLd3TelLkJkGXtTFzDgbJVDhKoe3vtaxd9rwj2pCxBZKn5x5TAxalGlHcSrBkRO3Ywd7p7D7E6RQYdSF7BEpXu21FTrRe6+BviIfEZnzwJXjPJSacmHu+8Gnk5dx4A54BNVlsNXakHEG/FIld9tyAZgT+oiRNx9DHgwdR1LHK+6V0bVLgbAC0P8bhN+5O657Ngjo+sA+Wwtt6jyvVqpiwEXZoh9SD7dDAhnPV7dgZ2FpIfc/WbgqdR1LDFP6F5U2oyocgsi3oQ5dTMANpHHmnsZMbH1mtvAJAx5fOMwXQzIr5sBcEccJBJphbuvAw6TV2t60VD3aOUuBlx4Y/6T/N6YBeArZqbTnaVR8YneCWBL6louYqjuBQzZgogvnOM5BGuAF919c+pCpL9iOBwmz3AAODrsRsjDdjEg7Mico3WEkNCTDaldDIdD5L3twJPDXmCoLsYid3+ffA4FWWqO0N3IZTcs6biBlkPO4TBlZpcOe5E6WhBQQ1I1aB3wqrvn/H+mdEQcdztB3uEANbXs62pBjAN/JvT9c7UA/MDMfpy6EOmm2F19DtiYupZVLACXVlm9uVQtLYh4vkNucyKWWgM84O6/cff1qYuRbomToN4m/3CAMPdh6HCA+roYAA/VeK0mTQLveYdOZZJ0PJzw9RRhhmRuj/OX83BdF6otIMzsLfLZr3I148Bv3P2wdseW5bj7jcD75H9q+KDTdc7/qbMFAd1pRSzaBbzv7t+La0tEcPer3P1N4BnyW3i1mlrvwVoGKRfFxz8fAF38Vp4GfgI8WXZrcOmHuIfkdwg7UXfRNPDJOvdFqbUFEQvrWiti0TghID5w9/vdPZej2qVB7r7W3b/u7icIjy+7Gg4AD9W9aVKtLQi4sAz8A7rXNLuYdwjNzF/GzXqlB2JL94uELuYuujP4uJJZwqPNWlu/tQcEZHXUeZ1OE44tOwm8ocDojhgInyWcTL+NsHaiD6Ew6Idmdm/dF20qIPrUiljODHAu/vkjYVXrfPwznbCuUbWWjz9v4/HPZfFPrssA6tJI6wEaCgjobStCJEf7zexgExduMiBGoRUhkto0ofXQyDaLdc+DuCAW/MOmri8iAPy4yT1YG2tBwIXBoffofx9QJIVzwOVNngfTWAsCLsyL2N/ka4iMsP1NHxbVaAtikbv/hrBISkTqcdzMvtT0i7QVEBuBd8l7vwiRrlgArjSzM02/UKNdjEXxH5Lr3pUiXfN4G+EALbUg4MJWXe/TzYVcIrk4TzioupUFha20IODCFvnfbuv1RHpqf5urjVsLCAAzO0Kep3GJdMELZtbqOTStdTEWxR2c3gPG2n5tkQ6bJXQtatlrsqhWWxAA8R/43bZfV6Tjvt92OECCFsQidz8KfDXV64t0yMtmlmQjm5QBsZ7Q1dBiLpHlzRC6Fkm2EGi9i7EobrhyW6rXF+mIW1KFAyQMCAAzOwo8mrIGkYw9Gu+RZJJ1MRbFCVRv0o0Ti0Tacgb4fJNLuYtIHhAAcQfpd+nfPoEiVcwRwuFs6kKSdjEWmdk54KbUdYhk4qYcwgEyCQi4MMtSJ2/LqLsv3gtZyKKLsSjuQHUMuDZ1LSIJvAZMNr0JTBlZBQSAu48DvyVsVy4yKs4BV+d23ko2XYxF8ZnvdYQJIiKjYAa4LrdwgAwDAiAO0FxP2DlHpM8WgOtzGZRcKsuAADCzU8AtqesQadhN8bOepWwDAsDMnkFna0h/3W1mz6YuYiXZDVJejLsfBPamrkOkRg+b2b7URaymEwEB4O6PAHelrkOkBp0IB+hWQKwBngW+nroWkSG8AOzKaa7DSjoTEKCQkM7rVDhAxwICFBLSWZ0LB+hgQIBCQjqnk+EAmT/mXE58o3ehzWYkfw/T0XCAjrYgBukRqGSsM08rltPJFsSg+H/A3anrEFni7q6HA/SgBbHI3XcDT6ETxCWtBcL06axnSBbVm4AAcPctwIvA+tS1yEiaISy8ynZtRVm9CggAd99ACIkNqWuRkXKOsGQ7y1WZVXV+DGKp+H/QNYTdeUTa8Bphs5dehQP0MCDgwqYzk2iPS2nefYRt4rLb7KUOvetiLOXuO4Cn0Zb6Uq85wmBkNhvMNqH3AQEXzt14ER3OI/U4A3yjj12KpXrZxVgqnrtxNZp5KcN7lEwOtWnDSLQgBrn7duBn6FRxKWeGcJBu0rMy2zZyAQHg7uuBnwNfTVyKdMMrwM0pT9lOZSS6GEuZ2YyZbQduA2ZT1yPZmgXuNLPJUQwHGNEWxCB3vwQ4iJaOy//3ArDPzM6nLiSlkQ+IRXFs4qfAJalrkaTOA/vN7PnUheRgJLsYFxMHny4nrN/v5Np9GcoC8DhwhcLhY2pBXERcz3GAMBtT+u84odVwJnUhuVFArMDdJ4EH0QSrvjpHCIaRenRZhroYKzCzY8CVwJ3ASI5i99Q0sB+4XOGwMrUgCnL3tcAdwPfQJKuumiUsrnrEzOZTF9MFCoiSFBSdNEsYfD5oZpr3UoICoqKBoNgLTKStRpYxDTwEPKFgqEYBMaR4RscO4DvA5sTlSHCaEAzPdnW7+VwoIGrk7psJQbEDbZ7btgXgGGGr+eOpi+kLBUQD3H0c2A18C+2N2bQpwgSnZ0Z9WnQTFBANi62K24GdaFeruswDR4En46NoaYgCoiVxUHOSsChsBwqLsuYJXYgXgCNmNpe4npGggEhAYVHYHGEatEIhEQVEYvEpyBZgG/Bl4Kq0FSV3FniZ0Fo4pQlNaSkgMhN3u5oEvkAIjr6vAzkLvAW8ARw3s6m05cggBUTm3H2MML9iMyE0NtHdowVnCXMU3iEEwqm+nifRFwqIDoqPUTcRHqF+jtDKuAwYS1nXgFnC48ezwO/jf0/rMWT3KCB6JLY2Jgb+fIoQGhPAWsLakfVUHxSdI+zuPE14qjAV/+5PhKXTU8CUpjX3hwJiRMUwWdriWPzfS2/wGT1BEBEREREREREREREREREREZEu+z++G3lWt12PrgAAAABJRU5ErkJggg==";
|
|
@@ -33094,10 +34332,10 @@ var _sfc_render = function render15() {
|
|
|
33094
34332
|
var _vm = this, _c = _vm._self._c, _setup = _vm._self._setupProxy;
|
|
33095
34333
|
return _c("div", { class: [
|
|
33096
34334
|
"plv-ai-assistant-chat",
|
|
33097
|
-
`plv-ai-assistant-chat--${_setup.currentTheme}
|
|
34335
|
+
_setup.currentTheme ? `plv-ai-assistant-chat--${_setup.currentTheme}` : "plv-ai-assistant-chat--not-theme",
|
|
33098
34336
|
`plv-ai-assistant-chat__direction--${_vm.direction}`,
|
|
33099
34337
|
_setup.AIChatDigitalEnabled ? "plv-ai-assistant-chat__exist-digital" : ""
|
|
33100
|
-
] }, [_setup.AIChatDigitalEnabled ? _c("section", { staticClass: "plv-ai-assistant-chat__aside-left" }, [_c("div", { staticClass: "plv-ai-assistant-chat__digital-preview__wrapper" }, [_c(_setup.AiDigitalPreview, { ref: "digitalPreviewRef", staticClass: "plv-ai-assistant-chat__digital-preview", attrs: { "direction": _vm.direction, "enabled-loading": false, "force-fit-mode": _setup.forceFitMode }, on: { "video-first-load": _setup.toConfirmPlay } })], 1)]) : _vm._e(), _c("section", { staticClass: "plv-ai-assistant-chat__aside-right" }, [_setup.AIAssistantChatVisible ? _c("div", { staticClass: "plv-ai-assistant-chat__chatroom" }, [_c("div", { staticClass: "plv-ai-assistant-chat__chatroom__msg-list" }, [_c(_setup.MobileAiAssistantChatMsgList, _vm._b({ ref: "msgListRef", attrs: { "msg-list": _setup.AIAssistantChatMsgRenderList } }, "mobile-ai-assistant-chat-msg-list", _vm.chatListProps || {}, false))], 1), !_setup.AIAssistantChatInputDisabled ? _c("div", { staticClass: "plv-ai-assistant-chat__chatroom__input" }, [_c(_setup.MobileMsgInputWrap, { ref: "msgInputWrapRef", attrs: { "audio-recognize-enabled": _vm.audioRecognizeEnabled, "placeholder": _setup.AIAssistantInputPlaceholder, "disabled-input": false, "disabled-submit-btn": _setup.AIAssistantChatStatus === _setup.PolyvAIAssistantChatStatus.Replaying }, on: { "submit": _setup.onSubmitMessage } })], 1) : _vm._e()]) : _c("div", { staticClass: "plv-ai-assistant-chat__chatroom" }, [_c("div", { staticClass: "plv-ai-assistant-chat__chatroom__not-config pws-ai-assistant-chat__not-config" }, [_c("img", { staticClass: "plv-ai-assistant-chat__chatroom__not-config__image", attrs: { "src": __$_require_3b18b7e0__, "alt": _setup.$t("ai.not.config") } }), _c("p", { staticClass: "plv-ai-assistant-chat__chatroom__not-config__text" }, [_vm._v(" " + _vm._s(_setup.$t("ai.not.config")) + " ")])])])])]);
|
|
34338
|
+
] }, [_setup.AIChatDigitalEnabled ? _c("section", { staticClass: "plv-ai-assistant-chat__aside-left" }, [_c("div", { staticClass: "plv-ai-assistant-chat__digital-preview__wrapper" }, [_c(_setup.AiDigitalPreview, { ref: "digitalPreviewRef", staticClass: "plv-ai-assistant-chat__digital-preview", attrs: { "direction": _vm.direction, "enabled-loading": false, "force-fit-mode": _setup.forceFitMode }, on: { "video-first-load": _setup.toConfirmPlay } })], 1)]) : _vm._e(), _c("section", { staticClass: "plv-ai-assistant-chat__aside-right" }, [_setup.AIAssistantChatVisible ? _c("div", { staticClass: "plv-ai-assistant-chat__chatroom" }, [_c("div", { staticClass: "plv-ai-assistant-chat__chatroom__msg-list" }, [_c(_setup.MobileAiAssistantChatMsgList, _vm._b({ ref: "msgListRef", attrs: { "msg-list": _setup.AIAssistantChatMsgRenderList } }, "mobile-ai-assistant-chat-msg-list", _vm.chatListProps || {}, false))], 1), !_setup.AIAssistantChatInputDisabled ? _c("div", { staticClass: "plv-ai-assistant-chat__chatroom__input" }, [_c(_setup.MobileMsgInputWrap, { ref: "msgInputWrapRef", attrs: { "audio-recognize-enabled": _vm.audioRecognizeEnabled, "placeholder": _setup.AIAssistantInputPlaceholder, "disabled-input": false, "disabled-submit-btn": _setup.AIAssistantChatStatus === _setup.PolyvAIAssistantChatStatus.Replaying }, on: { "submit": _setup.onSubmitMessage } })], 1) : _vm._e()]) : _c("div", { staticClass: "plv-ai-assistant-chat__chatroom" }, [_c("div", { staticClass: "plv-ai-assistant-chat__chatroom__not-config pws-ai-assistant-chat__not-config" }, [_c("img", { staticClass: "plv-ai-assistant-chat__chatroom__not-config__image", attrs: { "src": __$_require_3b18b7e0__, "alt": _setup.$t("ai.not.config") } }), _c("p", { staticClass: "plv-ai-assistant-chat__chatroom__not-config__text" }, [_vm._v(" " + _vm._s(_setup.$t("ai.not.config")) + " ")])])])]), _c("div", { staticClass: "plv-ai-assistant-chat__footer-tip pws-dark-white-color-80 pws-light-black-color-80" }, [_c("span", { staticClass: "plv-ai-assistant-chat__footer-tip-content" }, [_vm._v(_vm._s(_setup.$t("ai.base.tip")))])])]);
|
|
33101
34339
|
};
|
|
33102
34340
|
var _sfc_staticRenderFns = [];
|
|
33103
34341
|
var __component__ = /* @__PURE__ */ normalizeComponent(
|
|
@@ -33113,8 +34351,8 @@ const useAIGlobalProvider = (provideData) => {
|
|
|
33113
34351
|
console.log(
|
|
33114
34352
|
"%c@polyv/live-watch-ai-ui",
|
|
33115
34353
|
"background:#a20a1f;padding: 2px 6px;border-radius: 3px;color: #fff",
|
|
33116
|
-
"[version: 1.0.0-rc-
|
|
33117
|
-
"[buildTime: 2025-
|
|
34354
|
+
"[version: 1.0.0-rc-20250925.1]",
|
|
34355
|
+
"[buildTime: 2025-09-25 02:16:15]"
|
|
33118
34356
|
);
|
|
33119
34357
|
export {
|
|
33120
34358
|
AI_UI_INJECT_KEY,
|