flow-mindmap 0.5.3 → 0.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/entry.d.ts +2 -2
- package/dist/flow-mindmap.js +5499 -5154
- package/dist/flow-mindmap.umd.cjs +70 -68
- package/dist/style.css +1 -1
- package/dist/types.d.ts +33 -3
- package/package.json +2 -2
package/dist/style.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.zm-node-menu{position:fixed;z-index:40;min-width:168px;padding:4px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 8px 24px #0f172a24;display:flex;flex-direction:column;gap:2px;font-size:13px;color:#1e293b;-webkit-user-select:none;user-select:none}.zm-node-menu-item{display:flex;align-items:center;gap:8px;padding:6px 10px;border:none;background:transparent;color:inherit;font:inherit;text-align:left;border-radius:4px;cursor:pointer;width:100%;transition:background .1s}.zm-node-menu-item:hover:not(:disabled){background:#f1f5f9}.zm-node-menu-item:active:not(:disabled){background:#e2e8f0}.zm-node-menu-item:disabled{color:#94a3b8;cursor:not-allowed}.zm-node-menu-icon{display:inline-flex;align-items:center;justify-content:center;width:13px;height:13px;font-size:10px;font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-weight:600;color:#64748b;flex-shrink:0}.zm-node-menu-icon-code{font-size:10px;letter-spacing:-1px}.zm-node-menu-icon-table{font-size:12px;font-family:inherit}.zm-node-menu-divider{height:1px;background:#e2e8f0;margin:2px 4px}.zm-node-menu-arrow{margin-left:auto;font-size:14px;color:#94a3b8;transition:transform .15s}.zm-node-menu-arrow.is-open{transform:rotate(90deg)}.zm-marker-picker{padding:4px 8px 6px;display:flex;flex-direction:column;gap:6px}.zm-marker-group{display:flex;flex-direction:column;gap:3px}.zm-marker-group-label{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#94a3b8}.zm-marker-grid{display:flex;flex-wrap:wrap;gap:3px}.zm-marker-cell{width:26px;height:26px;display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:4px;background:#f8fafc;cursor:pointer;padding:0;transition:all .1s}.zm-marker-cell:hover{background:#e2e8f0;border-color:#cbd5e1}.zm-marker-cell.is-active{background:#eff6ff;border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f633}.zm-marker-cell svg{display:block}.zm-marker-clear{font:inherit;font-size:11px;color:#b91c1c;background:transparent;border:none;cursor:pointer;text-align:center;padding:3px;border-radius:4px}.zm-marker-clear:hover{background:#fee2e2}.zm-canvas-menu{position:fixed;z-index:40;min-width:140px;padding:4px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-sizing:border-box;box-shadow:0 8px 24px #0f172a24;display:flex;flex-direction:column;gap:2px;font-size:13px;color:#1e293b;-webkit-user-select:none;user-select:none}.zm-canvas-menu-item{display:flex;align-items:center;gap:8px;padding:6px 10px;border:none;background:transparent;color:inherit;font:inherit;text-align:left;border-radius:4px;cursor:pointer;width:100%;box-sizing:border-box;transition:background .1s}.zm-canvas-menu-item:hover:not(:disabled){background:#f1f5f9}.zm-canvas-menu-item:active:not(:disabled){background:#e2e8f0}.zm-canvas-menu-item:disabled{color:#94a3b8;cursor:not-allowed}.zm-canvas-menu-item-has-submenu{position:relative;box-sizing:border-box}.zm-canvas-menu-item-has-submenu.is-open,.zm-canvas-menu-item-has-submenu:hover{background:#f1f5f9}.zm-canvas-menu-caret{margin-left:auto;color:#94a3b8;flex-shrink:0;display:inline-flex;align-items:center}.zm-canvas-menu-divider{height:1px;background:#e2e8f0;margin:2px 4px}.zm-canvas-submenu{position:fixed;z-index:41;min-width:160px;padding:4px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-sizing:border-box;box-shadow:0 8px 24px #0f172a24;display:flex;flex-direction:column;gap:2px;font-size:13px;color:#1e293b;-webkit-user-select:none;user-select:none;animation:zm-submenu-in .12s ease-out}@keyframes zm-submenu-in{0%{opacity:0;transform:translate(-4px)}to{opacity:1;transform:translate(0)}}.zm-drawer{display:flex;flex-direction:column;height:100%;background:#fff;border-right:1px solid #e2e8f0;overflow:hidden;flex-shrink:0}.zm-drawer--canvas{position:absolute;top:0;bottom:0;height:100%;z-index:40;box-shadow:0 8px 24px #0f172a1f}.zm-drawer--left.zm-drawer--canvas{left:0;border-right:1px solid #e2e8f0}.zm-drawer--right.zm-drawer--canvas{right:0;border-right:none;border-left:1px solid #e2e8f0}.zm-drawer-canvas-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f172a47;z-index:39;cursor:pointer}.zm-drawer-enter-active,.zm-drawer-leave-active{transition:width .22s ease,opacity .15s ease}.zm-drawer-enter-from,.zm-drawer-leave-to{width:0!important;opacity:0;border-right:none}.zm-slide-left-enter-active,.zm-slide-left-leave-active,.zm-slide-right-enter-active,.zm-slide-right-leave-active{transition:transform .22s ease,opacity .18s ease}.zm-slide-left-enter-from,.zm-slide-left-leave-to{transform:translate(-100%);opacity:0}.zm-slide-right-enter-from,.zm-slide-right-leave-to{transform:translate(100%);opacity:0}.zm-fade-enter-active,.zm-fade-leave-active{transition:opacity .18s ease}.zm-fade-enter-from,.zm-fade-leave-to{opacity:0}.zm-drawer--right{border-right:none;border-left:1px solid #e2e8f0}.zm-drawer-header{display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #f1f5f9;flex-shrink:0}.zm-drawer-title{margin:0;flex:1;font-size:13px;font-weight:600;color:#1e293b;letter-spacing:.02em}.zm-drawer-close{width:24px;height:24px;border:none;background:transparent;color:#94a3b8;cursor:pointer;border-radius:4px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.zm-drawer-close:hover{background:#f1f5f9;color:#1e293b}.zm-drawer-body{flex:1;overflow:auto;min-height:0}.zm-outline-root{display:flex;flex-direction:column;height:100%}.zm-outline-search{display:flex;align-items:center;gap:6px;padding:8px 10px 4px;flex-shrink:0}.zm-outline-search-icon{color:#94a3b8;flex-shrink:0}.zm-outline-search-input{flex:1;min-width:0;padding:4px 8px;font:inherit;font-size:12px;color:#1e293b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;outline:none;box-sizing:border-box}.zm-outline-search-input:focus{border-color:#3b82f6;background:#fff;box-shadow:0 0 0 2px #3b82f61f}.zm-outline-search-input::placeholder{color:#94a3b8;font-size:11px}.zm-outline-search-count{font-size:11px;color:#64748b;white-space:nowrap;min-width:36px;text-align:center;flex-shrink:0}.zm-outline-search-empty{color:#ef4444}.zm-outline-search-clear{width:20px;height:20px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;border-radius:4px;cursor:pointer;color:#94a3b8;font-size:16px;line-height:1;flex-shrink:0}.zm-outline-search-clear:hover{background:#f1f5f9;color:#1e293b}.zm-outline-actions{display:flex;justify-content:flex-end;padding:4px 10px;flex-shrink:0}.zm-outline-action-btn{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;font-size:11px;font-family:inherit;color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:5px;cursor:pointer;transition:all .1s}.zm-outline-action-btn:hover{background:#f1f5f9;color:#1e293b;border-color:#cbd5e1}.zm-outline-action-btn.is-success{background:#ecfdf5;color:#047857;border-color:#a7f3d0}.zm-outline{list-style:none;margin:0;padding:4px 0 8px;font-size:13px;overflow:auto;flex:1;min-height:0}.zm-outline-row{display:flex;align-items:center;gap:6px;padding-right:6px;padding-top:4px;padding-bottom:4px;cursor:grab;color:#334155;border-radius:4px;margin:0 6px;-webkit-user-select:none;user-select:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:background .1s;position:relative}.zm-outline-row:active{cursor:grabbing}.zm-outline-row:hover{background:#f1f5f9}.zm-outline-row.is-root{font-weight:600;color:#0f172a}.zm-outline-row.is-selected{background:#eff6ff;color:#1d4ed8}.zm-outline-row.is-selected .zm-outline-toggle,.zm-outline-row.is-selected .zm-outline-dot,.zm-outline-row.is-selected .zm-outline-row-copy,.zm-outline-row.is-selected .zm-outline-row-action{color:#1d4ed8}.zm-outline-row.is-search-hit{background:#fffbeb;box-shadow:inset 3px 0 #f59e0b}.zm-outline-row.is-search-current{background:#fef3c7;box-shadow:inset 3px 0 #f97316,inset 0 0 0 1px #f973164d}.zm-outline-row.is-drag-over-before:before,.zm-outline-row.is-drag-over-after:after{content:"";position:absolute;left:6px;right:6px;height:2px;background:#3b82f6;border-radius:1px;pointer-events:none}.zm-outline-row.is-drag-over-before:before{top:0}.zm-outline-row.is-drag-over-after:after{bottom:0}.zm-outline-row.is-drag-over-child{background:#dbeafe!important;outline:2px solid #3b82f6;outline-offset:-2px}.zm-outline-toggle{width:16px;height:16px;border:none;background:transparent;color:#94a3b8;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:3px;flex-shrink:0;padding:0}.zm-outline-toggle:hover{background:#e2e8f0;color:#475569}.zm-outline-dot{width:4px;height:4px;border-radius:50%;background:#cbd5e1;flex-shrink:0;margin:0 6px}.zm-outline-index{font-size:11px;color:#94a3b8;font-variant-numeric:tabular-nums;min-width:22px;flex-shrink:0;-webkit-user-select:none;user-select:none}.zm-outline-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.zm-outline-input{flex:1;font:inherit;font-size:13px;color:inherit;background:#fff;border:1px solid #3b82f6;border-radius:3px;padding:1px 4px;margin:-2px 0;outline:none}.zm-outline-row-action{width:20px;height:20px;border:1px solid transparent;background:transparent;color:#94a3b8;cursor:pointer;border-radius:4px;flex-shrink:0;padding:0;display:inline-flex;align-items:center;justify-content:center;opacity:0;transition:opacity .1s,background .1s,color .1s,border-color .1s}.zm-outline-row:hover .zm-outline-row-action,.zm-outline-row.is-selected .zm-outline-row-action{opacity:1}.zm-outline-row-action:hover{background:#e0e7ff;color:#4338ca;border-color:#c7d2fe}.zm-outline-row-action img{filter:invert(38%) sepia(94%) saturate(2417%) hue-rotate(229deg) brightness(91%) contrast(91%)}.zm-outline-row-copy{width:20px;height:20px;border:none;background:transparent;color:#94a3b8;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:3px;flex-shrink:0;padding:0;opacity:0;transition:opacity .1s,background .1s,color .1s}.zm-outline-row:hover .zm-outline-row-copy,.zm-outline-row.is-selected .zm-outline-row-copy{opacity:1}.zm-outline-row-copy:hover{background:#e2e8f0;color:#475569}.zm-outline-row-copy.is-success{opacity:1;color:#047857;background:#ecfdf5}.zm-jtv-root{font-family:SF Mono,Menlo,Consolas,monospace;font-size:12px;line-height:1.6;color:#334155}.zm-jtv-header{display:flex;align-items:center;gap:4px;cursor:pointer;border-radius:3px;padding-right:6px;-webkit-user-select:none;user-select:none}.zm-jtv-header:hover{background:#f1f5f9}.zm-jtv-toggle{display:inline-block;width:12px;text-align:center;font-size:9px;color:#94a3b8;flex-shrink:0}.zm-jtv-toggle.is-leaf{color:#cbd5e1}.zm-jtv-key{color:#1d4ed8;font-weight:500}.zm-jtv-colon{color:#94a3b8;margin-right:4px}.zm-jtv-size{color:#64748b;font-style:italic}.zm-jtv-bracket,.zm-jtv-brace{color:#94a3b8;font-weight:500;margin-left:4px}.zm-jtv-footer{color:#94a3b8;font-weight:500}.zm-jtv-leaf{display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding-right:6px;border-radius:3px}.zm-jtv-leaf:hover{background:#f8fafc}.zm-jtv-value{word-break:break-all}.zm-jtv-string{color:#047857}.zm-jtv-number{color:#b45309}.zm-jtv-boolean{color:#7c3aed;font-weight:500}.zm-jtv-null,.zm-jtv-undefined{color:#94a3b8;font-style:italic}.zm-jtv-thumb-wrap{display:inline-flex;align-items:center;gap:4px;margin-left:6px;flex-shrink:0}.zm-jtv-thumb{max-width:48px;max-height:32px;border:1px solid #e2e8f0;border-radius:3px;background:#fff;object-fit:contain}.zm-jtv-thumb-link{font-size:10px;color:#3b82f6;text-decoration:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.zm-jtv-thumb-link:hover{text-decoration:underline}.zm-jtv-leaf mark,.zm-jtv-key mark{background:#fef08a;color:#422006;padding:0 1px;border-radius:2px}.zm-data-panel{display:flex;flex-direction:column;height:100%;background:#fff}.zm-data-header{display:flex;align-items:center;padding:8px 12px 6px;border-bottom:1px solid #f1f5f9;background:#f8fafc;flex-shrink:0}.zm-data-title{display:flex;align-items:baseline;gap:8px;flex:1;min-width:0}.zm-data-title-text{font-size:12px;font-weight:600;color:#1e293b;letter-spacing:.02em}.zm-data-title-meta{font-size:11px;color:#94a3b8;font-variant-numeric:tabular-nums}.zm-data-toolbar{display:flex;align-items:center;gap:4px;padding:6px 10px;border-bottom:1px solid #f1f5f9;background:#fff;flex-shrink:0;flex-wrap:wrap}.zm-data-btn{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;font-size:12px;font-family:inherit;color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;transition:all .1s}.zm-data-btn:hover{background:#f1f5f9;color:#1e293b;border-color:#cbd5e1}.zm-data-btn.is-icon{padding:4px 8px}.zm-data-btn.is-active{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.zm-data-btn.is-success{background:#ecfdf5;color:#047857;border-color:#a7f3d0}.zm-data-btn.is-primary{background:#3b82f6;color:#fff;border-color:#3b82f6}.zm-data-btn.is-primary:hover{background:#2563eb;border-color:#2563eb;color:#fff}.zm-data-btn:disabled{opacity:.4;cursor:not-allowed}.zm-data-btn-label{font-size:11px}.zm-data-toolbar-spacer{flex:1;min-width:4px}.zm-data-search{display:flex;align-items:center;gap:4px;padding:3px 6px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;transition:all .1s;flex:0 1 160px;min-width:0}.zm-data-search:focus-within,.zm-data-search.is-active{background:#fff;border-color:#3b82f6}.zm-data-search svg{color:#94a3b8;flex-shrink:0}.zm-data-search input{flex:1;min-width:0;border:none;outline:none;background:transparent;font:inherit;font-size:11px;color:#1e293b;padding:0}.zm-data-search input::placeholder{color:#94a3b8}.zm-data-search-clear{border:none;background:transparent;color:#94a3b8;cursor:pointer;padding:0 2px;font-size:14px;line-height:1;border-radius:2px}.zm-data-search-clear:hover{background:#e2e8f0;color:#1e293b}.zm-data-paste{padding:8px 10px 10px;border-bottom:1px solid #f1f5f9;background:#f8fafc;flex-shrink:0}.zm-data-tabs{display:flex;gap:4px;margin-bottom:6px}.zm-data-tab{font:inherit;font-size:11px;padding:2px 8px;border:1px solid #e2e8f0;border-radius:4px;background:#fff;color:#475569;cursor:pointer;transition:all .1s}.zm-data-tab:hover{background:#f1f5f9}.zm-data-tab.is-active{background:#1e293b;border-color:#1e293b;color:#fff}.zm-data-paste textarea{width:100%;min-height:60px;max-height:160px;padding:6px 8px;font-family:SF Mono,Menlo,Consolas,monospace;font-size:11px;line-height:1.4;border:1px solid #e2e8f0;border-radius:4px;background:#fff;resize:vertical;box-sizing:border-box}.zm-data-paste textarea:focus{outline:none;border-color:#3b82f6}.zm-data-paste-actions{display:flex;gap:4px;margin-top:6px}.zm-data-error{margin-top:6px;font-size:11px;color:#dc2626}.zm-data-tree{flex:1;overflow:auto;padding:8px 4px 8px 6px;background:#fff}.zm-data-footer{padding:6px 12px;border-top:1px solid #f1f5f9;background:#f8fafc;font-size:10px;color:#94a3b8;line-height:1.5;flex-shrink:0}.zm-data-footer-hint code{font-family:SF Mono,Menlo,Consolas,monospace;font-size:10px;background:#fff;border:1px solid #e2e8f0;padding:0 3px;border-radius:3px;color:#475569;margin:0 1px}.zm-md-panel{display:flex;flex-direction:column;height:100%;background:#f8fafc}.zm-md-toolbar{display:flex;align-items:center;gap:6px;padding:8px 10px;border-bottom:1px solid #f1f5f9;background:#f8fafc;flex-shrink:0}.zm-md-spacer{flex:1}.zm-md-btn{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;font-size:12px;font-family:inherit;color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;transition:all .1s;white-space:nowrap}.zm-md-btn:hover:not(:disabled){background:#f1f5f9;color:#1e293b;border-color:#cbd5e1}.zm-md-btn:disabled{opacity:.4;cursor:not-allowed}.zm-md-btn.is-primary{background:#3b82f6;color:#fff;border-color:#3b82f6}.zm-md-btn.is-primary:hover:not(:disabled){background:#2563eb;border-color:#2563eb;color:#fff}.zm-md-error{padding:6px 10px;font-size:11px;color:#dc2626;background:#fef2f2;border-bottom:1px solid #fee2e2;flex-shrink:0}.zm-md-split{flex:1;display:flex;flex-direction:column;min-height:0}.zm-md-edit,.zm-md-preview{display:flex;flex-direction:column;min-height:0;flex:1}.zm-md-pane-header{display:flex;align-items:center;gap:8px;padding:6px 10px;font-size:11px;font-weight:600;color:#475569;background:#f1f5f9;border-bottom:1px solid #e2e8f0;letter-spacing:.02em;flex-shrink:0}.zm-md-hint{margin-left:auto;font-weight:400;color:#94a3b8;font-size:10px}.zm-md-textarea{flex:1;width:100%;padding:10px 12px;font-family:SF Mono,Menlo,Consolas,monospace;font-size:12px;line-height:1.5;color:#1e293b;border:none;border-bottom:1px solid #e2e8f0;background:#fff;resize:none;outline:none;box-sizing:border-box}.zm-md-textarea:focus{background:#fafbfc}.zm-md-preview-body{flex:1;position:relative;min-height:0;background:#fff;border-bottom:1px solid #e2e8f0}.zm-md-footer{display:flex;justify-content:flex-end;padding:8px 10px;background:#f8fafc;border-top:1px solid #e2e8f0;flex-shrink:0}.zm-settings-panel[data-v-3fc1672c]{display:flex;flex-direction:column;gap:12px;padding:14px 14px 18px}.zm-settings-section[data-v-3fc1672c]{background:#fff;border:1px solid #eef0f3;border-radius:10px;padding:14px}.zm-settings-section--actions[data-v-3fc1672c]{background:transparent;border:none;padding:0}.zm-settings-section-title[data-v-3fc1672c]{margin:0 0 12px;font-size:13px;font-weight:700;color:#0f172a;letter-spacing:.01em;display:flex;align-items:baseline;gap:6px}.zm-settings-section-sub[data-v-3fc1672c]{font-size:11px;font-weight:500;color:#64748b;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zm-settings-field[data-v-3fc1672c]{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0;font-size:13px;color:#1e293b;min-height:28px}.zm-settings-label[data-v-3fc1672c]{flex:1;color:#334155;font-weight:500}.zm-settings-value-tag[data-v-3fc1672c]{font-size:11px;color:#64748b;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:4px;padding:2px 8px;white-space:nowrap;font-family:ui-monospace,monospace}.zm-settings-number[data-v-3fc1672c]{font-size:12px;color:#0f172a;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:4px 8px;width:64px;text-align:right;-moz-appearance:textfield;transition:border-color .12s}.zm-settings-number[data-v-3fc1672c]::-webkit-outer-spin-button,.zm-settings-number[data-v-3fc1672c]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.zm-settings-number[data-v-3fc1672c]:focus{outline:none;border-color:#6366f1;background:#fff}.zm-select[data-v-3fc1672c]{font-size:12px;font-family:inherit;color:#1e293b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:4px 8px;cursor:pointer;outline:none;transition:border-color .12s;min-width:100px}.zm-select[data-v-3fc1672c]:focus,.zm-select[data-v-3fc1672c]:hover{border-color:#6366f1}.zm-select[data-v-3fc1672c]:focus{background:#fff}.zm-settings-hint[data-v-3fc1672c]{margin:6px 0 0;font-size:11px;color:#94a3b8;line-height:1.5}.zm-settings-divider[data-v-3fc1672c]{height:1px;background:#f1f5f9;margin:10px 0}.zm-slider[data-v-3fc1672c]{position:relative;height:22px;display:flex;align-items:center;margin:2px 0 6px}.zm-slider-track[data-v-3fc1672c]{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);height:4px;background:#e2e8f0;border-radius:999px;pointer-events:none}.zm-slider input[type=range][data-v-3fc1672c]{position:relative;width:100%;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;height:22px;cursor:pointer;z-index:1}.zm-slider input[type=range][data-v-3fc1672c]::-webkit-slider-runnable-track{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:4px;background:transparent;border-radius:999px}.zm-slider input[type=range][data-v-3fc1672c]::-moz-range-track{height:4px;background:transparent;border-radius:999px}.zm-slider input[type=range][data-v-3fc1672c]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid #6366f1;box-shadow:0 1px 4px #6366f140;cursor:pointer;margin-top:-6px;transition:border-color .12s,box-shadow .12s}.zm-slider input[type=range][data-v-3fc1672c]::-webkit-slider-thumb:hover{border-color:#4f46e5;box-shadow:0 2px 8px #6366f159}.zm-slider input[type=range][data-v-3fc1672c]::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid #6366f1;box-shadow:0 1px 4px #6366f140;cursor:pointer}.zm-toggle[data-v-3fc1672c]{position:relative;width:38px;height:22px;border:none;background:#cbd5e1;border-radius:999px;padding:0;cursor:pointer;transition:background .15s;flex-shrink:0}.zm-toggle.is-on[data-v-3fc1672c]{background:#6366f1}.zm-toggle-knob[data-v-3fc1672c]{position:absolute;top:2px;left:2px;width:18px;height:18px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0000002e;transition:transform .15s}.zm-toggle.is-on .zm-toggle-knob[data-v-3fc1672c]{transform:translate(16px)}.zm-swatch-row[data-v-3fc1672c]{display:flex;flex-wrap:wrap;gap:5px;margin:4px 0 10px}.zm-swatch-row--compact[data-v-3fc1672c]{gap:4px;margin-bottom:6px}.zm-swatch[data-v-3fc1672c]{width:22px;height:22px;border-radius:5px;border:1.5px solid #e2e8f0;cursor:pointer;padding:0;flex-shrink:0;transition:transform .1s,border-color .12s,box-shadow .12s}.zm-swatch[data-v-3fc1672c]:hover{transform:scale(1.12);border-color:#94a3b8}.zm-swatch.is-active[data-v-3fc1672c]{border-color:#6366f1;box-shadow:0 0 0 2px #6366f133}.zm-swatch.is-reset[data-v-3fc1672c]{background:#fff;color:#94a3b8;font-size:12px;line-height:1;display:flex;align-items:center;justify-content:center}.zm-swatch.is-reset[data-v-3fc1672c]:hover{color:#ef4444;border-color:#fca5a5}.zm-swatch--custom[data-v-3fc1672c]{position:relative;overflow:hidden;background:conic-gradient(from 0deg,#f87171,#fbbf24,#34d399,#22d3ee,#818cf8,#c084fc,#f87171);border:1.5px solid #e2e8f0}.zm-swatch--custom input[type=color][data-v-3fc1672c]{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;border:none;padding:0}.zm-color-input-wrap[data-v-3fc1672c]{display:inline-flex;align-items:center;gap:6px;cursor:pointer}.zm-color-input[data-v-3fc1672c]{width:28px;height:22px;border:1.5px solid #e2e8f0;border-radius:5px;cursor:pointer;padding:0;background:none}.zm-color-input-text[data-v-3fc1672c]{font-size:11px;color:#64748b;font-family:ui-monospace,monospace}.zm-line-style-group[data-v-3fc1672c]{display:flex;gap:6px}.zm-line-style-btn[data-v-3fc1672c]{display:inline-flex;flex-direction:column;align-items:center;gap:2px;padding:4px 10px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;color:#94a3b8;transition:all .12s;font-family:inherit;min-width:56px}.zm-line-style-btn[data-v-3fc1672c]:hover{border-color:#cbd5e1;color:#475569;background:#fff}.zm-line-style-btn.is-on[data-v-3fc1672c]{border-color:#6366f1;background:#eef2ff;color:#6366f1}.zm-line-style-label[data-v-3fc1672c]{font-size:11px;font-weight:500}.zm-settings-preview[data-v-3fc1672c]{margin-top:10px;background:#f8fafc;border:1px solid #eef0f3;border-radius:8px;padding:8px 8px 6px}.zm-settings-preview svg[data-v-3fc1672c]{display:block}.zm-settings-preview-labels[data-v-3fc1672c]{display:flex;justify-content:space-between;font-size:10px;color:#94a3b8;margin-top:4px;padding:0 2px}.zm-palette-dropdown[data-v-3fc1672c]{margin:8px 0;padding:10px;background:#f8fafc;border-radius:8px;border:1px solid #eef0f3}.zm-palette-preview-bar[data-v-3fc1672c]{display:flex;gap:2px;height:10px;border-radius:4px;overflow:hidden;margin-top:8px}.zm-palette-preview-swatch[data-v-3fc1672c]{flex:1;height:100%;min-width:0}.zm-palette-custom-editor[data-v-3fc1672c]{margin-top:8px}.zm-palette-textarea[data-v-3fc1672c]{width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;line-height:1.5;color:#0f172a;background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:6px 8px;resize:vertical;min-height:36px;outline:none;box-sizing:border-box;transition:border-color .1s}.zm-palette-textarea[data-v-3fc1672c]:focus{border-color:#6366f1}.zm-palette-custom-actions[data-v-3fc1672c]{display:flex;gap:6px;margin-top:6px}.zm-palette-add[data-v-3fc1672c]{margin-top:8px;width:100%;padding:6px 8px;font-size:12px;font-family:inherit;font-weight:500;color:#6366f1;background:#fff;border:1px dashed #c7d2fe;border-radius:6px;cursor:pointer;transition:all .1s}.zm-palette-add[data-v-3fc1672c]:hover{background:#eef2ff;border-color:#6366f1}.zm-data-btn[data-v-3fc1672c]{display:inline-flex;align-items:center;gap:5px;padding:5px 12px;font-size:12px;font-family:inherit;color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;transition:all .1s}.zm-data-btn[data-v-3fc1672c]:hover{background:#f1f5f9;color:#1e293b;border-color:#cbd5e1}.zm-data-btn.is-primary[data-v-3fc1672c]{background:#6366f1;color:#fff;border-color:#6366f1}.zm-data-btn.is-primary[data-v-3fc1672c]:hover{background:#4f46e5;border-color:#4f46e5;color:#fff}.zm-settings-reset[data-v-3fc1672c]{width:100%;padding:8px 12px;font-size:12px;font-family:inherit;font-weight:500;color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:all .1s}.zm-settings-reset[data-v-3fc1672c]:hover{background:#fef2f2;color:#ef4444;border-color:#fecaca}.zm-note-panel{display:flex;flex-direction:column;height:100%;padding:12px 12px 16px;gap:10px;background:#f8fafc}.zm-note-empty{padding:20px 12px;color:#64748b;font-size:13px;line-height:1.6}.zm-note-empty p{margin:0 0 6px}.zm-note-hint{color:#94a3b8;font-size:12px}.zm-note-header{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px;display:flex;flex-direction:column;gap:4px;flex-shrink:0}.zm-note-title-row{display:flex;align-items:baseline;gap:8px;min-width:0}.zm-note-label{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#94a3b8;flex-shrink:0}.zm-note-name{font-size:13px;font-weight:600;color:#1e293b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}.zm-note-meta{font-size:11px;color:#94a3b8}.zm-note-scroll{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding-right:2px}.zm-note-section{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px;display:flex;flex-direction:column;gap:8px}.zm-note-section-head{display:flex;align-items:center;gap:8px;min-width:0}.zm-note-section-title{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#64748b;flex:1;min-width:0}.zm-note-section-hint{font-size:10px;color:#94a3b8}.zm-note-section-tag{font-size:10px;font-family:JetBrains Mono,Fira Code,Consolas,monospace;color:#475569;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:4px;padding:1px 6px;line-height:1.4}.zm-note-section-actions{display:flex;justify-content:flex-end}.zm-note-textarea{width:100%;min-height:120px;padding:10px 12px;font:inherit;font-size:13px;line-height:20px;color:#1e293b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;resize:none;outline:none;box-sizing:border-box;font-family:inherit;overflow:hidden}.zm-note-textarea:focus{border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f61f}.zm-note-textarea:disabled{background:#f8fafc;color:#94a3b8;cursor:not-allowed}.zm-note-textarea::placeholder{color:#94a3b8;white-space:pre-line}.zm-note-split{display:flex;flex-direction:column;gap:6px}.zm-note-preview-toggle{font:inherit;font-size:10px;color:#1d4ed8;background:transparent;border:1px solid #bfdbfe;border-radius:999px;padding:1px 8px;cursor:pointer;transition:all .1s;flex-shrink:0}.zm-note-preview-toggle:hover{background:#eff6ff;border-color:#93c5fd}.zm-note-preview{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:8px 12px;max-height:240px;overflow:auto;font-size:13px;line-height:1.6;color:#1e293b}.zm-note-preview-hint{color:#94a3b8;font-size:12px;font-style:italic}.zm-note-preview-body h1,.zm-note-preview-body h2,.zm-note-preview-body h3{margin:8px 0 4px;font-weight:600;color:#0f172a}.zm-note-preview-body h1{font-size:16px}.zm-note-preview-body h2{font-size:14px}.zm-note-preview-body h3{font-size:13px}.zm-note-preview-body h4,.zm-note-preview-body h5,.zm-note-preview-body h6{margin:6px 0 4px;font-size:12px;font-weight:600;color:#334155}.zm-note-preview-body p{margin:0 0 6px}.zm-note-preview-body p:last-child{margin-bottom:0}.zm-note-preview-body ul,.zm-note-preview-body ol{margin:0 0 6px;padding-left:20px}.zm-note-preview-body li{margin:0 0 2px}.zm-note-preview-body blockquote{margin:0 0 6px;padding:4px 10px;border-left:3px solid #cbd5e1;color:#475569;background:#f1f5f9}.zm-note-preview-body code{font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-size:12px;background:#f1f5f9;padding:1px 4px;border-radius:3px;color:#be185d}.zm-note-preview-body pre{margin:0 0 6px;padding:8px 10px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;overflow:auto}.zm-note-preview-body pre code{background:transparent;padding:0;color:inherit;font-size:12px;line-height:1.55}.zm-note-preview-body a{color:#1d4ed8;text-decoration:underline;text-decoration-color:#bfdbfe}.zm-note-preview-body a:hover{text-decoration-color:#1d4ed8}.zm-note-preview-body table{border-collapse:collapse;margin:0 0 6px;font-size:12px}.zm-note-preview-body th,.zm-note-preview-body td{border:1px solid #e2e8f0;padding:4px 8px;text-align:left}.zm-note-preview-body th{background:#f1f5f9;font-weight:600}.zm-note-preview-body hr{border:none;border-top:1px solid #e2e8f0;margin:8px 0}.zm-note-preview-body img{max-width:100%;max-height:200px;border-radius:4px;display:block}.zm-note-input{width:100%;padding:7px 10px;font:inherit;font-size:12px;line-height:1.5;color:#1e293b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;outline:none;box-sizing:border-box;font-family:inherit}.zm-note-input:focus{border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f61f}.zm-note-input:disabled{background:#f8fafc;color:#94a3b8;cursor:not-allowed}.zm-note-input-code{font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-size:11px;min-height:80px;resize:none;white-space:pre;line-height:20px;overflow:hidden}.zm-note-add-row{display:flex;flex-wrap:wrap;gap:6px;padding:2px 2px 0}.zm-note-add-chip{font:inherit;font-size:11px;color:#64748b;background:#fff;border:1px dashed #cbd5e1;border-radius:999px;padding:3px 10px;cursor:pointer;transition:all .1s}.zm-note-add-chip:hover{color:#1d4ed8;border-color:#93c5fd;background:#eff6ff}.zm-note-link-chip{display:inline-block;max-width:100%;padding:6px 10px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;color:#1d4ed8;font-size:12px;text-decoration:none;word-break:break-all;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;transition:background .1s}.zm-note-link-chip:hover{background:#dbeafe}.zm-note-image{display:block;max-width:100%;max-height:240px;object-fit:contain;border-radius:6px;background:#f1f5f9;margin:0 auto}.zm-note-code{margin:0;padding:10px 12px;background:#f1f5f9;color:#24292e;border:1px solid #e2e8f0;border-radius:8px;font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-size:12px;line-height:1.55;white-space:pre-wrap;word-break:break-word;max-height:320px;overflow:auto;box-shadow:0 1px 3px #0f172a14}.zm-note-code code{font:inherit;color:inherit;background:transparent;padding:0}.zm-note-table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px;color:#1e293b;table-layout:auto;background:#fffbeb;border:1px solid #fcd34d;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #92400e14}.zm-note-table td{border-top:1px solid #fde68a;border-right:1px solid #fde68a;padding:6px 10px;text-align:left;vertical-align:top;word-break:break-word;background:#fffbeb}.zm-note-table tr:last-child td{border-bottom:none}.zm-note-table td:last-child{border-right:none}.zm-note-table-sort{background:#fef3c7;font-weight:600;padding:6px 10px;border-bottom:1px solid #fcd34d;border-right:1px solid #fde68a;text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none;position:relative}.zm-note-table-sort:last-child{border-right:none}.zm-note-table-sort:hover{background:#fde68a}.zm-note-table-sort.is-sorted{background:#fde68a;color:#92400e}.zm-note-table-sort-mark{position:absolute;right:6px;top:50%;transform:translateY(-50%);font-size:10px;color:#94a3b8}.zm-note-table-sort.is-sorted .zm-note-table-sort-mark{color:#1d4ed8}.zm-note-action-btn{padding:4px 10px;font-size:12px;font-family:inherit;color:#fff;background:#3b82f6;border:1px solid #3b82f6;border-radius:6px;cursor:pointer;transition:all .1s}.zm-note-action-btn.is-danger{color:#b91c1c;background:#fff;border-color:#fca5a5}.zm-note-action-btn.is-danger:hover{background:#fee2e2;border-color:#f87171}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
|
|
1
|
+
.zm-node-menu{position:fixed;z-index:40;min-width:168px;padding:4px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-shadow:0 8px 24px #0f172a24;display:flex;flex-direction:column;gap:2px;font-size:13px;color:#1e293b;-webkit-user-select:none;user-select:none}.zm-node-menu-item{display:flex;align-items:center;gap:8px;padding:6px 10px;border:none;background:transparent;color:inherit;font:inherit;text-align:left;border-radius:4px;cursor:pointer;width:100%;transition:background .1s}.zm-node-menu-item:hover:not(:disabled){background:#f1f5f9}.zm-node-menu-item:active:not(:disabled){background:#e2e8f0}.zm-node-menu-item:disabled{color:#94a3b8;cursor:not-allowed}.zm-node-menu-icon{display:inline-flex;align-items:center;justify-content:center;width:13px;height:13px;font-size:10px;font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-weight:600;color:#64748b;flex-shrink:0}.zm-node-menu-icon-code{font-size:10px;letter-spacing:-1px}.zm-node-menu-icon-table{font-size:12px;font-family:inherit}.zm-node-menu-divider{height:1px;background:#e2e8f0;margin:2px 4px}.zm-node-menu-arrow{margin-left:auto;font-size:14px;color:#94a3b8;transition:transform .15s}.zm-node-menu-arrow.is-open{transform:rotate(90deg)}.zm-marker-picker{padding:4px 8px 6px;display:flex;flex-direction:column;gap:6px}.zm-marker-group{display:flex;flex-direction:column;gap:3px}.zm-marker-group-label{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#94a3b8}.zm-marker-grid{display:flex;flex-wrap:wrap;gap:3px}.zm-marker-cell{width:26px;height:26px;display:flex;align-items:center;justify-content:center;border:1px solid transparent;border-radius:4px;background:#f8fafc;cursor:pointer;padding:0;transition:all .1s}.zm-marker-cell:hover{background:#e2e8f0;border-color:#cbd5e1}.zm-marker-cell.is-active{background:#eff6ff;border-color:#3b82f6;box-shadow:0 0 0 1px #3b82f633}.zm-marker-cell svg{display:block}.zm-marker-clear{font:inherit;font-size:11px;color:#b91c1c;background:transparent;border:none;cursor:pointer;text-align:center;padding:3px;border-radius:4px}.zm-marker-clear:hover{background:#fee2e2}.zm-canvas-menu{position:fixed;z-index:40;min-width:140px;padding:4px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-sizing:border-box;box-shadow:0 8px 24px #0f172a24;display:flex;flex-direction:column;gap:2px;font-size:13px;color:#1e293b;-webkit-user-select:none;user-select:none}.zm-canvas-menu-item{display:flex;align-items:center;gap:8px;padding:6px 10px;border:none;background:transparent;color:inherit;font:inherit;text-align:left;border-radius:4px;cursor:pointer;width:100%;box-sizing:border-box;transition:background .1s}.zm-canvas-menu-item:hover:not(:disabled){background:#f1f5f9}.zm-canvas-menu-item:active:not(:disabled){background:#e2e8f0}.zm-canvas-menu-item:disabled{color:#94a3b8;cursor:not-allowed}.zm-canvas-menu-item-has-submenu{position:relative;box-sizing:border-box}.zm-canvas-menu-item-has-submenu.is-open,.zm-canvas-menu-item-has-submenu:hover{background:#f1f5f9}.zm-canvas-menu-caret{margin-left:auto;color:#94a3b8;flex-shrink:0;display:inline-flex;align-items:center}.zm-canvas-menu-divider{height:1px;background:#e2e8f0;margin:2px 4px}.zm-canvas-submenu{position:fixed;z-index:41;min-width:160px;padding:4px;background:#fff;border:1px solid #e2e8f0;border-radius:8px;box-sizing:border-box;box-shadow:0 8px 24px #0f172a24;display:flex;flex-direction:column;gap:2px;font-size:13px;color:#1e293b;-webkit-user-select:none;user-select:none;animation:zm-submenu-in .12s ease-out}@keyframes zm-submenu-in{0%{opacity:0;transform:translate(-4px)}to{opacity:1;transform:translate(0)}}.zm-drawer{display:flex;flex-direction:column;height:100%;background:#fff;border-right:1px solid #e2e8f0;overflow:hidden;flex-shrink:0}.zm-drawer--canvas{position:absolute;top:0;bottom:0;height:100%;z-index:40;box-shadow:0 8px 24px #0f172a1f}.zm-drawer--left.zm-drawer--canvas{left:0;border-right:1px solid #e2e8f0}.zm-drawer--right.zm-drawer--canvas{right:0;border-right:none;border-left:1px solid #e2e8f0}.zm-drawer-canvas-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f172a47;z-index:39;cursor:pointer}.zm-drawer-enter-active,.zm-drawer-leave-active{transition:width .22s ease,opacity .15s ease}.zm-drawer-enter-from,.zm-drawer-leave-to{width:0!important;opacity:0;border-right:none}.zm-slide-left-enter-active,.zm-slide-left-leave-active,.zm-slide-right-enter-active,.zm-slide-right-leave-active{transition:transform .22s ease,opacity .18s ease}.zm-slide-left-enter-from,.zm-slide-left-leave-to{transform:translate(-100%);opacity:0}.zm-slide-right-enter-from,.zm-slide-right-leave-to{transform:translate(100%);opacity:0}.zm-fade-enter-active,.zm-fade-leave-active{transition:opacity .18s ease}.zm-fade-enter-from,.zm-fade-leave-to{opacity:0}.zm-drawer--right{border-right:none;border-left:1px solid #e2e8f0}.zm-drawer-header{display:flex;align-items:center;gap:8px;padding:12px 16px;border-bottom:1px solid #f1f5f9;flex-shrink:0}.zm-drawer-title{margin:0;flex:1;font-size:13px;font-weight:600;color:#1e293b;letter-spacing:.02em}.zm-drawer-close{width:24px;height:24px;border:none;background:transparent;color:#94a3b8;cursor:pointer;border-radius:4px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.zm-drawer-close:hover{background:#f1f5f9;color:#1e293b}.zm-drawer-body{flex:1;overflow:auto;min-height:0}.zm-outline-root{display:flex;flex-direction:column;height:100%}.zm-outline-search{display:flex;align-items:center;gap:6px;padding:8px 10px 4px;flex-shrink:0}.zm-outline-search-icon{color:#94a3b8;flex-shrink:0}.zm-outline-search-input{flex:1;min-width:0;padding:4px 8px;font:inherit;font-size:12px;color:#1e293b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;outline:none;box-sizing:border-box}.zm-outline-search-input:focus{border-color:#3b82f6;background:#fff;box-shadow:0 0 0 2px #3b82f61f}.zm-outline-search-input::placeholder{color:#94a3b8;font-size:11px}.zm-outline-search-count{font-size:11px;color:#64748b;white-space:nowrap;min-width:36px;text-align:center;flex-shrink:0}.zm-outline-search-empty{color:#ef4444}.zm-outline-search-clear{width:20px;height:20px;display:flex;align-items:center;justify-content:center;border:none;background:transparent;border-radius:4px;cursor:pointer;color:#94a3b8;font-size:16px;line-height:1;flex-shrink:0}.zm-outline-search-clear:hover{background:#f1f5f9;color:#1e293b}.zm-outline-actions{display:flex;justify-content:flex-end;padding:4px 10px;flex-shrink:0}.zm-outline-action-btn{display:inline-flex;align-items:center;gap:5px;padding:3px 8px;font-size:11px;font-family:inherit;color:#64748b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:5px;cursor:pointer;transition:all .1s}.zm-outline-action-btn:hover{background:#f1f5f9;color:#1e293b;border-color:#cbd5e1}.zm-outline-action-btn.is-success{background:#ecfdf5;color:#047857;border-color:#a7f3d0}.zm-outline{list-style:none;margin:0;padding:4px 0 8px;font-size:13px;overflow:auto;flex:1;min-height:0}.zm-outline-row{display:flex;align-items:center;gap:6px;padding-right:6px;padding-top:4px;padding-bottom:4px;cursor:grab;color:#334155;border-radius:4px;margin:0 6px;-webkit-user-select:none;user-select:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:background .1s;position:relative}.zm-outline-row:active{cursor:grabbing}.zm-outline-row:hover{background:#f1f5f9}.zm-outline-row.is-root{font-weight:600;color:#0f172a}.zm-outline-row.is-selected{background:#eff6ff;color:#1d4ed8}.zm-outline-row.is-selected .zm-outline-toggle,.zm-outline-row.is-selected .zm-outline-dot,.zm-outline-row.is-selected .zm-outline-row-copy,.zm-outline-row.is-selected .zm-outline-row-action{color:#1d4ed8}.zm-outline-row.is-search-hit{background:#fffbeb;box-shadow:inset 3px 0 #f59e0b}.zm-outline-row.is-search-current{background:#fef3c7;box-shadow:inset 3px 0 #f97316,inset 0 0 0 1px #f973164d}.zm-outline-row.is-drag-over-before:before,.zm-outline-row.is-drag-over-after:after{content:"";position:absolute;left:6px;right:6px;height:2px;background:#3b82f6;border-radius:1px;pointer-events:none}.zm-outline-row.is-drag-over-before:before{top:0}.zm-outline-row.is-drag-over-after:after{bottom:0}.zm-outline-row.is-drag-over-child{background:#dbeafe!important;outline:2px solid #3b82f6;outline-offset:-2px}.zm-outline-toggle{width:16px;height:16px;border:none;background:transparent;color:#94a3b8;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:3px;flex-shrink:0;padding:0}.zm-outline-toggle:hover{background:#e2e8f0;color:#475569}.zm-outline-dot{width:4px;height:4px;border-radius:50%;background:#cbd5e1;flex-shrink:0;margin:0 6px}.zm-outline-index{font-size:11px;color:#94a3b8;font-variant-numeric:tabular-nums;min-width:22px;flex-shrink:0;-webkit-user-select:none;user-select:none}.zm-outline-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.zm-outline-input{flex:1;font:inherit;font-size:13px;color:inherit;background:#fff;border:1px solid #3b82f6;border-radius:3px;padding:1px 4px;margin:-2px 0;outline:none}.zm-outline-row-action{width:20px;height:20px;border:1px solid transparent;background:transparent;color:#94a3b8;cursor:pointer;border-radius:4px;flex-shrink:0;padding:0;display:inline-flex;align-items:center;justify-content:center;opacity:0;transition:opacity .1s,background .1s,color .1s,border-color .1s}.zm-outline-row:hover .zm-outline-row-action,.zm-outline-row.is-selected .zm-outline-row-action{opacity:1}.zm-outline-row-action:hover{background:#e0e7ff;color:#4338ca;border-color:#c7d2fe}.zm-outline-row-action img{filter:invert(38%) sepia(94%) saturate(2417%) hue-rotate(229deg) brightness(91%) contrast(91%)}.zm-outline-row-copy{width:20px;height:20px;border:none;background:transparent;color:#94a3b8;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:3px;flex-shrink:0;padding:0;opacity:0;transition:opacity .1s,background .1s,color .1s}.zm-outline-row:hover .zm-outline-row-copy,.zm-outline-row.is-selected .zm-outline-row-copy{opacity:1}.zm-outline-row-copy:hover{background:#e2e8f0;color:#475569}.zm-outline-row-copy.is-success{opacity:1;color:#047857;background:#ecfdf5}.zm-jtv-root{font-family:SF Mono,Menlo,Consolas,monospace;font-size:12px;line-height:1.6;color:#334155}.zm-jtv-header{display:flex;align-items:center;gap:4px;cursor:pointer;border-radius:3px;padding-right:6px;-webkit-user-select:none;user-select:none}.zm-jtv-header:hover{background:#f1f5f9}.zm-jtv-toggle{display:inline-block;width:12px;text-align:center;font-size:9px;color:#94a3b8;flex-shrink:0}.zm-jtv-toggle.is-leaf{color:#cbd5e1}.zm-jtv-key{color:#1d4ed8;font-weight:500}.zm-jtv-colon{color:#94a3b8;margin-right:4px}.zm-jtv-size{color:#64748b;font-style:italic}.zm-jtv-bracket,.zm-jtv-brace{color:#94a3b8;font-weight:500;margin-left:4px}.zm-jtv-footer{color:#94a3b8;font-weight:500}.zm-jtv-leaf{display:flex;align-items:center;gap:4px;flex-wrap:wrap;padding-right:6px;border-radius:3px}.zm-jtv-leaf:hover{background:#f8fafc}.zm-jtv-value{word-break:break-all}.zm-jtv-string{color:#047857}.zm-jtv-number{color:#b45309}.zm-jtv-boolean{color:#7c3aed;font-weight:500}.zm-jtv-null,.zm-jtv-undefined{color:#94a3b8;font-style:italic}.zm-jtv-thumb-wrap{display:inline-flex;align-items:center;gap:4px;margin-left:6px;flex-shrink:0}.zm-jtv-thumb{max-width:48px;max-height:32px;border:1px solid #e2e8f0;border-radius:3px;background:#fff;object-fit:contain}.zm-jtv-thumb-link{font-size:10px;color:#3b82f6;text-decoration:none;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.zm-jtv-thumb-link:hover{text-decoration:underline}.zm-jtv-leaf mark,.zm-jtv-key mark{background:#fef08a;color:#422006;padding:0 1px;border-radius:2px}.zm-data-panel{display:flex;flex-direction:column;height:100%;background:#fff}.zm-data-header{display:flex;align-items:center;padding:8px 12px 6px;border-bottom:1px solid #f1f5f9;background:#f8fafc;flex-shrink:0}.zm-data-title{display:flex;align-items:baseline;gap:8px;flex:1;min-width:0}.zm-data-title-text{font-size:12px;font-weight:600;color:#1e293b;letter-spacing:.02em}.zm-data-title-meta{font-size:11px;color:#94a3b8;font-variant-numeric:tabular-nums}.zm-data-toolbar{display:flex;align-items:center;gap:4px;padding:6px 10px;border-bottom:1px solid #f1f5f9;background:#fff;flex-shrink:0;flex-wrap:wrap}.zm-data-btn{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;font-size:12px;font-family:inherit;color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;transition:all .1s}.zm-data-btn:hover{background:#f1f5f9;color:#1e293b;border-color:#cbd5e1}.zm-data-btn.is-icon{padding:4px 8px}.zm-data-btn.is-active{background:#eff6ff;color:#1d4ed8;border-color:#bfdbfe}.zm-data-btn.is-success{background:#ecfdf5;color:#047857;border-color:#a7f3d0}.zm-data-btn.is-primary{background:#3b82f6;color:#fff;border-color:#3b82f6}.zm-data-btn.is-primary:hover{background:#2563eb;border-color:#2563eb;color:#fff}.zm-data-btn:disabled{opacity:.4;cursor:not-allowed}.zm-data-btn-label{font-size:11px}.zm-data-toolbar-spacer{flex:1;min-width:4px}.zm-data-search{display:flex;align-items:center;gap:4px;padding:3px 6px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;transition:all .1s;flex:0 1 160px;min-width:0}.zm-data-search:focus-within,.zm-data-search.is-active{background:#fff;border-color:#3b82f6}.zm-data-search svg{color:#94a3b8;flex-shrink:0}.zm-data-search input{flex:1;min-width:0;border:none;outline:none;background:transparent;font:inherit;font-size:11px;color:#1e293b;padding:0}.zm-data-search input::placeholder{color:#94a3b8}.zm-data-search-clear{border:none;background:transparent;color:#94a3b8;cursor:pointer;padding:0 2px;font-size:14px;line-height:1;border-radius:2px}.zm-data-search-clear:hover{background:#e2e8f0;color:#1e293b}.zm-data-paste{padding:8px 10px 10px;border-bottom:1px solid #f1f5f9;background:#f8fafc;flex-shrink:0}.zm-data-tabs{display:flex;gap:4px;margin-bottom:6px}.zm-data-tab{font:inherit;font-size:11px;padding:2px 8px;border:1px solid #e2e8f0;border-radius:4px;background:#fff;color:#475569;cursor:pointer;transition:all .1s}.zm-data-tab:hover{background:#f1f5f9}.zm-data-tab.is-active{background:#1e293b;border-color:#1e293b;color:#fff}.zm-data-paste textarea{width:100%;min-height:60px;max-height:160px;padding:6px 8px;font-family:SF Mono,Menlo,Consolas,monospace;font-size:11px;line-height:1.4;border:1px solid #e2e8f0;border-radius:4px;background:#fff;resize:vertical;box-sizing:border-box}.zm-data-paste textarea:focus{outline:none;border-color:#3b82f6}.zm-data-paste-actions{display:flex;gap:4px;margin-top:6px}.zm-data-error{margin-top:6px;font-size:11px;color:#dc2626}.zm-data-tree{flex:1;overflow:auto;padding:8px 4px 8px 6px;background:#fff}.zm-data-footer{padding:6px 12px;border-top:1px solid #f1f5f9;background:#f8fafc;font-size:10px;color:#94a3b8;line-height:1.5;flex-shrink:0}.zm-data-footer-hint code{font-family:SF Mono,Menlo,Consolas,monospace;font-size:10px;background:#fff;border:1px solid #e2e8f0;padding:0 3px;border-radius:3px;color:#475569;margin:0 1px}.zm-md-panel{display:flex;flex-direction:column;height:100%;background:#f8fafc}.zm-md-toolbar{display:flex;align-items:center;gap:6px;padding:8px 10px;border-bottom:1px solid #f1f5f9;background:#f8fafc;flex-shrink:0}.zm-md-spacer{flex:1}.zm-md-btn{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;font-size:12px;font-family:inherit;color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;transition:all .1s;white-space:nowrap}.zm-md-btn:hover:not(:disabled){background:#f1f5f9;color:#1e293b;border-color:#cbd5e1}.zm-md-btn:disabled{opacity:.4;cursor:not-allowed}.zm-md-btn.is-primary{background:#3b82f6;color:#fff;border-color:#3b82f6}.zm-md-btn.is-primary:hover:not(:disabled){background:#2563eb;border-color:#2563eb;color:#fff}.zm-md-error{padding:6px 10px;font-size:11px;color:#dc2626;background:#fef2f2;border-bottom:1px solid #fee2e2;flex-shrink:0}.zm-md-split{flex:1;display:flex;flex-direction:column;min-height:0}.zm-md-edit,.zm-md-preview{display:flex;flex-direction:column;min-height:0;flex:1}.zm-md-pane-header{display:flex;align-items:center;gap:8px;padding:6px 10px;font-size:11px;font-weight:600;color:#475569;background:#f1f5f9;border-bottom:1px solid #e2e8f0;letter-spacing:.02em;flex-shrink:0}.zm-md-hint{margin-left:auto;font-weight:400;color:#94a3b8;font-size:10px}.zm-md-textarea{flex:1;width:100%;padding:10px 12px;font-family:SF Mono,Menlo,Consolas,monospace;font-size:12px;line-height:1.5;color:#1e293b;border:none;border-bottom:1px solid #e2e8f0;background:#fff;resize:none;outline:none;box-sizing:border-box}.zm-md-textarea:focus{background:#fafbfc}.zm-md-preview-body{flex:1;position:relative;min-height:0;background:#fff;border-bottom:1px solid #e2e8f0}.zm-md-footer{display:flex;justify-content:flex-end;padding:8px 10px;background:#f8fafc;border-top:1px solid #e2e8f0;flex-shrink:0}.zm-settings-panel[data-v-2fd1eea8]{display:flex;flex-direction:column;gap:12px;padding:14px 14px 18px}.zm-settings-section[data-v-2fd1eea8]{background:#fff;border:1px solid #eef0f3;border-radius:10px;padding:14px}.zm-settings-section--actions[data-v-2fd1eea8]{background:transparent;border:none;padding:0}.zm-settings-section-title[data-v-2fd1eea8]{margin:0 0 12px;font-size:13px;font-weight:700;color:#0f172a;letter-spacing:.01em;display:flex;align-items:baseline;gap:6px}.zm-settings-section-sub[data-v-2fd1eea8]{font-size:11px;font-weight:500;color:#64748b;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.zm-settings-field[data-v-2fd1eea8]{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0;font-size:13px;color:#1e293b;min-height:28px}.zm-settings-label[data-v-2fd1eea8]{flex:1;color:#334155;font-weight:500}.zm-settings-sub[data-v-2fd1eea8]{font-size:11px;color:#64748b;font-weight:400;font-family:ui-monospace,monospace;margin-left:4px}.zm-settings-value-tag[data-v-2fd1eea8]{font-size:11px;color:#64748b;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:4px;padding:2px 8px;white-space:nowrap;font-family:ui-monospace,monospace}.zm-settings-number[data-v-2fd1eea8]{font-size:12px;color:#0f172a;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:4px 8px;width:64px;text-align:right;-moz-appearance:textfield;transition:border-color .12s}.zm-settings-number[data-v-2fd1eea8]::-webkit-outer-spin-button,.zm-settings-number[data-v-2fd1eea8]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.zm-settings-number[data-v-2fd1eea8]:focus{outline:none;border-color:#6366f1;background:#fff}.zm-select[data-v-2fd1eea8]{font-size:12px;font-family:inherit;color:#1e293b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:4px 8px;cursor:pointer;outline:none;transition:border-color .12s;min-width:100px}.zm-select[data-v-2fd1eea8]:focus,.zm-select[data-v-2fd1eea8]:hover{border-color:#6366f1}.zm-select[data-v-2fd1eea8]:focus{background:#fff}.zm-settings-hint[data-v-2fd1eea8]{margin:6px 0 0;font-size:11px;color:#94a3b8;line-height:1.5}.zm-settings-divider[data-v-2fd1eea8]{height:1px;background:#f1f5f9;margin:10px 0}.zm-slider[data-v-2fd1eea8]{position:relative;height:22px;display:flex;align-items:center;margin:2px 0 6px}.zm-slider-track[data-v-2fd1eea8]{position:absolute;left:0;right:0;top:50%;transform:translateY(-50%);height:4px;background:#e2e8f0;border-radius:999px;pointer-events:none}.zm-slider input[type=range][data-v-2fd1eea8]{position:relative;width:100%;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;height:22px;cursor:pointer;z-index:1}.zm-slider input[type=range][data-v-2fd1eea8]::-webkit-slider-runnable-track{-webkit-appearance:none;-moz-appearance:none;appearance:none;height:4px;background:transparent;border-radius:999px}.zm-slider input[type=range][data-v-2fd1eea8]::-moz-range-track{height:4px;background:transparent;border-radius:999px}.zm-slider input[type=range][data-v-2fd1eea8]::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid #6366f1;box-shadow:0 1px 4px #6366f140;cursor:pointer;margin-top:-6px;transition:border-color .12s,box-shadow .12s}.zm-slider input[type=range][data-v-2fd1eea8]::-webkit-slider-thumb:hover{border-color:#4f46e5;box-shadow:0 2px 8px #6366f159}.zm-slider input[type=range][data-v-2fd1eea8]::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:#fff;border:2px solid #6366f1;box-shadow:0 1px 4px #6366f140;cursor:pointer}.zm-toggle[data-v-2fd1eea8]{position:relative;width:38px;height:22px;border:none;background:#cbd5e1;border-radius:999px;padding:0;cursor:pointer;transition:background .15s;flex-shrink:0}.zm-toggle.is-on[data-v-2fd1eea8]{background:#6366f1}.zm-toggle-knob[data-v-2fd1eea8]{position:absolute;top:2px;left:2px;width:18px;height:18px;background:#fff;border-radius:50%;box-shadow:0 1px 3px #0000002e;transition:transform .15s}.zm-toggle.is-on .zm-toggle-knob[data-v-2fd1eea8]{transform:translate(16px)}.zm-swatch-row[data-v-2fd1eea8]{display:flex;flex-wrap:wrap;gap:5px;margin:4px 0 10px}.zm-swatch-row--compact[data-v-2fd1eea8]{gap:4px;margin-bottom:6px}.zm-swatch[data-v-2fd1eea8]{width:22px;height:22px;border-radius:5px;border:1.5px solid #e2e8f0;cursor:pointer;padding:0;flex-shrink:0;transition:transform .1s,border-color .12s,box-shadow .12s}.zm-swatch[data-v-2fd1eea8]:hover{transform:scale(1.12);border-color:#94a3b8}.zm-swatch.is-active[data-v-2fd1eea8]{border-color:#6366f1;box-shadow:0 0 0 2px #6366f133}.zm-swatch.is-reset[data-v-2fd1eea8]{background:#fff;color:#94a3b8;font-size:12px;line-height:1;display:flex;align-items:center;justify-content:center}.zm-swatch.is-reset[data-v-2fd1eea8]:hover{color:#ef4444;border-color:#fca5a5}.zm-swatch--custom[data-v-2fd1eea8]{position:relative;overflow:hidden;background:conic-gradient(from 0deg,#f87171,#fbbf24,#34d399,#22d3ee,#818cf8,#c084fc,#f87171);border:1.5px solid #e2e8f0}.zm-swatch--custom input[type=color][data-v-2fd1eea8]{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;border:none;padding:0}.zm-color-input-wrap[data-v-2fd1eea8]{display:inline-flex;align-items:center;gap:6px;cursor:pointer}.zm-color-input[data-v-2fd1eea8]{width:28px;height:22px;border:1.5px solid #e2e8f0;border-radius:5px;cursor:pointer;padding:0;background:none}.zm-color-input-text[data-v-2fd1eea8]{font-size:11px;color:#64748b;font-family:ui-monospace,monospace}.zm-line-style-group[data-v-2fd1eea8]{display:flex;flex-wrap:wrap;gap:4px}.zm-line-style-btn[data-v-2fd1eea8]{display:inline-flex;flex-direction:column;align-items:center;gap:2px;padding:4px 7px;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;color:#94a3b8;transition:all .12s;font-family:inherit;min-width:48px}.zm-line-style-btn[data-v-2fd1eea8]:hover{border-color:#cbd5e1;color:#475569;background:#fff}.zm-line-style-btn.is-on[data-v-2fd1eea8]{border-color:#6366f1;background:#eef2ff;color:#6366f1}.zm-line-style-label[data-v-2fd1eea8]{font-size:11px;font-weight:500}.zm-settings-preview[data-v-2fd1eea8]{margin-top:10px;background:#f8fafc;border:1px solid #eef0f3;border-radius:8px;padding:8px 8px 6px}.zm-settings-preview svg[data-v-2fd1eea8]{display:block}.zm-settings-preview-labels[data-v-2fd1eea8]{display:flex;justify-content:space-between;font-size:10px;color:#94a3b8;margin-top:4px;padding:0 2px}.zm-palette-dropdown[data-v-2fd1eea8]{margin:8px 0;padding:10px;background:#f8fafc;border-radius:8px;border:1px solid #eef0f3}.zm-palette-preview-bar[data-v-2fd1eea8]{display:flex;gap:2px;height:10px;border-radius:4px;overflow:hidden;margin-top:8px}.zm-palette-preview-swatch[data-v-2fd1eea8]{flex:1;height:100%;min-width:0}.zm-palette-custom-editor[data-v-2fd1eea8]{margin-top:8px}.zm-palette-textarea[data-v-2fd1eea8]{width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:11px;line-height:1.5;color:#0f172a;background:#fff;border:1px solid #e2e8f0;border-radius:6px;padding:6px 8px;resize:vertical;min-height:36px;outline:none;box-sizing:border-box;transition:border-color .1s}.zm-palette-textarea[data-v-2fd1eea8]:focus{border-color:#6366f1}.zm-palette-custom-actions[data-v-2fd1eea8]{display:flex;gap:6px;margin-top:6px}.zm-palette-add[data-v-2fd1eea8]{margin-top:8px;width:100%;padding:6px 8px;font-size:12px;font-family:inherit;font-weight:500;color:#6366f1;background:#fff;border:1px dashed #c7d2fe;border-radius:6px;cursor:pointer;transition:all .1s}.zm-palette-add[data-v-2fd1eea8]:hover{background:#eef2ff;border-color:#6366f1}.zm-data-btn[data-v-2fd1eea8]{display:inline-flex;align-items:center;gap:5px;padding:5px 12px;font-size:12px;font-family:inherit;color:#475569;background:#fff;border:1px solid #e2e8f0;border-radius:6px;cursor:pointer;transition:all .1s}.zm-data-btn[data-v-2fd1eea8]:hover{background:#f1f5f9;color:#1e293b;border-color:#cbd5e1}.zm-data-btn.is-primary[data-v-2fd1eea8]{background:#6366f1;color:#fff;border-color:#6366f1}.zm-data-btn.is-primary[data-v-2fd1eea8]:hover{background:#4f46e5;border-color:#4f46e5;color:#fff}.zm-settings-reset[data-v-2fd1eea8]{width:100%;padding:8px 12px;font-size:12px;font-family:inherit;font-weight:500;color:#64748b;background:#fff;border:1px solid #e2e8f0;border-radius:8px;cursor:pointer;transition:all .1s}.zm-settings-reset[data-v-2fd1eea8]:hover{background:#fef2f2;color:#ef4444;border-color:#fecaca}.zm-note-panel{display:flex;flex-direction:column;height:100%;padding:12px 12px 16px;gap:10px;background:#f8fafc}.zm-note-empty{padding:20px 12px;color:#64748b;font-size:13px;line-height:1.6}.zm-note-empty p{margin:0 0 6px}.zm-note-hint{color:#94a3b8;font-size:12px}.zm-note-header{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px;display:flex;flex-direction:column;gap:4px;flex-shrink:0}.zm-note-title-row{display:flex;align-items:baseline;gap:8px;min-width:0}.zm-note-label{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#94a3b8;flex-shrink:0}.zm-note-name{font-size:13px;font-weight:600;color:#1e293b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0}.zm-note-meta{font-size:11px;color:#94a3b8}.zm-note-scroll{flex:1;min-height:0;overflow-y:auto;display:flex;flex-direction:column;gap:10px;padding-right:2px}.zm-note-section{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:10px 12px;display:flex;flex-direction:column;gap:8px}.zm-note-section-head{display:flex;align-items:center;gap:8px;min-width:0}.zm-note-section-title{font-size:10px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:#64748b;flex:1;min-width:0}.zm-note-section-hint{font-size:10px;color:#94a3b8}.zm-note-section-tag{font-size:10px;font-family:JetBrains Mono,Fira Code,Consolas,monospace;color:#475569;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:4px;padding:1px 6px;line-height:1.4}.zm-note-section-actions{display:flex;justify-content:flex-end}.zm-note-textarea{width:100%;min-height:120px;padding:10px 12px;font:inherit;font-size:13px;line-height:20px;color:#1e293b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;resize:none;outline:none;box-sizing:border-box;font-family:inherit;overflow:hidden}.zm-note-textarea:focus{border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f61f}.zm-note-textarea:disabled{background:#f8fafc;color:#94a3b8;cursor:not-allowed}.zm-note-textarea::placeholder{color:#94a3b8;white-space:pre-line}.zm-note-split{display:flex;flex-direction:column;gap:6px}.zm-note-preview-toggle{font:inherit;font-size:10px;color:#1d4ed8;background:transparent;border:1px solid #bfdbfe;border-radius:999px;padding:1px 8px;cursor:pointer;transition:all .1s;flex-shrink:0}.zm-note-preview-toggle:hover{background:#eff6ff;border-color:#93c5fd}.zm-note-preview{background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;padding:8px 12px;max-height:240px;overflow:auto;font-size:13px;line-height:1.6;color:#1e293b}.zm-note-preview-hint{color:#94a3b8;font-size:12px;font-style:italic}.zm-note-preview-body h1,.zm-note-preview-body h2,.zm-note-preview-body h3{margin:8px 0 4px;font-weight:600;color:#0f172a}.zm-note-preview-body h1{font-size:16px}.zm-note-preview-body h2{font-size:14px}.zm-note-preview-body h3{font-size:13px}.zm-note-preview-body h4,.zm-note-preview-body h5,.zm-note-preview-body h6{margin:6px 0 4px;font-size:12px;font-weight:600;color:#334155}.zm-note-preview-body p{margin:0 0 6px}.zm-note-preview-body p:last-child{margin-bottom:0}.zm-note-preview-body ul,.zm-note-preview-body ol{margin:0 0 6px;padding-left:20px}.zm-note-preview-body li{margin:0 0 2px}.zm-note-preview-body blockquote{margin:0 0 6px;padding:4px 10px;border-left:3px solid #cbd5e1;color:#475569;background:#f1f5f9}.zm-note-preview-body code{font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-size:12px;background:#f1f5f9;padding:1px 4px;border-radius:3px;color:#be185d}.zm-note-preview-body pre{margin:0 0 6px;padding:8px 10px;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:6px;overflow:auto}.zm-note-preview-body pre code{background:transparent;padding:0;color:inherit;font-size:12px;line-height:1.55}.zm-note-preview-body a{color:#1d4ed8;text-decoration:underline;text-decoration-color:#bfdbfe}.zm-note-preview-body a:hover{text-decoration-color:#1d4ed8}.zm-note-preview-body table{border-collapse:collapse;margin:0 0 6px;font-size:12px}.zm-note-preview-body th,.zm-note-preview-body td{border:1px solid #e2e8f0;padding:4px 8px;text-align:left}.zm-note-preview-body th{background:#f1f5f9;font-weight:600}.zm-note-preview-body hr{border:none;border-top:1px solid #e2e8f0;margin:8px 0}.zm-note-preview-body img{max-width:100%;max-height:200px;border-radius:4px;display:block}.zm-note-input{width:100%;padding:7px 10px;font:inherit;font-size:12px;line-height:1.5;color:#1e293b;background:#f8fafc;border:1px solid #e2e8f0;border-radius:6px;outline:none;box-sizing:border-box;font-family:inherit}.zm-note-input:focus{border-color:#3b82f6;background:#fff;box-shadow:0 0 0 3px #3b82f61f}.zm-note-input:disabled{background:#f8fafc;color:#94a3b8;cursor:not-allowed}.zm-note-input-code{font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-size:11px;min-height:80px;resize:none;white-space:pre;line-height:20px;overflow:hidden}.zm-note-add-row{display:flex;flex-wrap:wrap;gap:6px;padding:2px 2px 0}.zm-note-add-chip{font:inherit;font-size:11px;color:#64748b;background:#fff;border:1px dashed #cbd5e1;border-radius:999px;padding:3px 10px;cursor:pointer;transition:all .1s}.zm-note-add-chip:hover{color:#1d4ed8;border-color:#93c5fd;background:#eff6ff}.zm-note-link-chip{display:inline-block;max-width:100%;padding:6px 10px;background:#eff6ff;border:1px solid #bfdbfe;border-radius:6px;color:#1d4ed8;font-size:12px;text-decoration:none;word-break:break-all;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;transition:background .1s}.zm-note-link-chip:hover{background:#dbeafe}.zm-note-image{display:block;max-width:100%;max-height:240px;object-fit:contain;border-radius:6px;background:#f1f5f9;margin:0 auto}.zm-note-code{margin:0;padding:10px 12px;background:#f1f5f9;color:#24292e;border:1px solid #e2e8f0;border-radius:8px;font-family:JetBrains Mono,Fira Code,Consolas,monospace;font-size:12px;line-height:1.55;white-space:pre-wrap;word-break:break-word;max-height:320px;overflow:auto;box-shadow:0 1px 3px #0f172a14}.zm-note-code code{font:inherit;color:inherit;background:transparent;padding:0}.zm-note-table{width:100%;border-collapse:separate;border-spacing:0;font-size:12px;color:#1e293b;table-layout:auto;background:#fffbeb;border:1px solid #fcd34d;border-radius:8px;overflow:hidden;box-shadow:0 1px 3px #92400e14}.zm-note-table td{border-top:1px solid #fde68a;border-right:1px solid #fde68a;padding:6px 10px;text-align:left;vertical-align:top;word-break:break-word;background:#fffbeb}.zm-note-table tr:last-child td{border-bottom:none}.zm-note-table td:last-child{border-right:none}.zm-note-table-sort{background:#fef3c7;font-weight:600;padding:6px 10px;border-bottom:1px solid #fcd34d;border-right:1px solid #fde68a;text-align:left;cursor:pointer;-webkit-user-select:none;user-select:none;position:relative}.zm-note-table-sort:last-child{border-right:none}.zm-note-table-sort:hover{background:#fde68a}.zm-note-table-sort.is-sorted{background:#fde68a;color:#92400e}.zm-note-table-sort-mark{position:absolute;right:6px;top:50%;transform:translateY(-50%);font-size:10px;color:#94a3b8}.zm-note-table-sort.is-sorted .zm-note-table-sort-mark{color:#1d4ed8}.zm-note-action-btn{padding:4px 10px;font-size:12px;font-family:inherit;color:#fff;background:#3b82f6;border:1px solid #3b82f6;border-radius:6px;cursor:pointer;transition:all .1s}.zm-note-action-btn.is-danger{color:#b91c1c;background:#fff;border-color:#fca5a5}.zm-note-action-btn.is-danger:hover{background:#fee2e2;border-color:#f87171}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}/*!
|
|
2
2
|
Theme: GitHub
|
|
3
3
|
Description: Light theme as seen on github.com
|
|
4
4
|
Author: github.com
|
package/dist/types.d.ts
CHANGED
|
@@ -122,8 +122,16 @@ export interface MindMapTheme {
|
|
|
122
122
|
*/
|
|
123
123
|
rainbowBranch?: boolean;
|
|
124
124
|
}
|
|
125
|
-
export type LineStyle = 'curve' | 'straight';
|
|
125
|
+
export type LineStyle = 'curve' | 'straight' | 'arc' | 'elbow' | 'rounded-elbow';
|
|
126
126
|
export type LayoutMode = 'mindmap' | 'tree' | 'org';
|
|
127
|
+
/** Where root-originated edges start on the root node.
|
|
128
|
+
* 'edge' = left/right mid-edge (default, XMind classic),
|
|
129
|
+
* 'center' = root node center — the line emerges from underneath
|
|
130
|
+
* the root box, covered by it.
|
|
131
|
+
* 'proportional' = the exit point on the root edge is projected
|
|
132
|
+
* from the child's position (ray-cast), so children above the
|
|
133
|
+
* center exit from the upper part of the edge and vice versa. */
|
|
134
|
+
export type LineOrigin = 'edge' | 'center' | 'proportional';
|
|
127
135
|
/** Identifier for a branch palette — the id of a built-in (e.g.
|
|
128
136
|
* 'default', 'classic', 'vivid', 'dev', 'mint') or a user-defined
|
|
129
137
|
* custom palette. Strings rather than a string union so users
|
|
@@ -163,9 +171,26 @@ export interface MindMapSettings {
|
|
|
163
171
|
* canvas treats these as first-class palettes alongside the
|
|
164
172
|
* built-ins. Persisted by the host app. */
|
|
165
173
|
customPalettes: BranchPalette[];
|
|
166
|
-
/** Edge shape between parent and child.
|
|
167
|
-
*
|
|
174
|
+
/** Edge shape between parent and child.
|
|
175
|
+
* 'curve' = S-shaped cubic bezier (XMind default),
|
|
176
|
+
* 'straight' = direct diagonal line segment,
|
|
177
|
+
* 'arc' = smooth rounded arc with semicircular caps (bubble look),
|
|
178
|
+
* 'elbow' = orthogonal right-angle routing (org-chart style). */
|
|
179
|
+
/** Line style for edges between NON-root nodes (i.e. level-1→
|
|
180
|
+
* level-2, level-2→level-3, …). 'rounded-elbow' = orthogonal
|
|
181
|
+
* routing with rounded corners (default, modern org-chart look). */
|
|
168
182
|
lineStyle: LineStyle;
|
|
183
|
+
/** Line style for edges that originate FROM the root node.
|
|
184
|
+
* Default 'arc' — smooth rainbow arcs fanning out from the root. */
|
|
185
|
+
rootLineStyle: LineStyle;
|
|
186
|
+
/** Where root-originated edges start. 'edge' (default) = the
|
|
187
|
+
* left/right mid-edge of the root node; 'center' = the root
|
|
188
|
+
* node's geometric center — the line is drawn from the center
|
|
189
|
+
* but visually covered by the root box, so it appears to emerge
|
|
190
|
+
* from underneath the root; 'proportional' = the exit point is
|
|
191
|
+
* projected from the child's position so each child exits the
|
|
192
|
+
* root at the closest edge point (fan / ray-cast). */
|
|
193
|
+
lineOrigin: LineOrigin;
|
|
169
194
|
/** Layout mode (1.html parity). 'mindmap' = center + left/right
|
|
170
195
|
* fans; 'tree' = single column expanding to the right; 'org' =
|
|
171
196
|
* downward hierarchy. Default 'mindmap'. */
|
|
@@ -179,6 +204,11 @@ export interface MindMapSettings {
|
|
|
179
204
|
* every edge's parent end = the previous edge's child end, so
|
|
180
205
|
* widths interpolate continuously from root to leaves. */
|
|
181
206
|
taperedEdge: boolean;
|
|
207
|
+
/** Per-level width decay ratio (tapered mode only). Each depth's
|
|
208
|
+
* parent-side width = lineWidthStart × taper^depth. Default 0.67
|
|
209
|
+
* — a level-1 edge is 67% as wide as the root, level-2 is 67%²
|
|
210
|
+
* ≈ 45%, and so on. Range 0.3–1.0; 1.0 means no decay. */
|
|
211
|
+
lineWidthTaper: number;
|
|
182
212
|
/** When true, every node shows a small badge with its zero-based
|
|
183
213
|
* position in its parent's children array ("1.", "2.", "3.").
|
|
184
214
|
* Default false — useful when verifying the data-tree order
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "flow-mindmap",
|
|
3
|
-
"version":
|
|
4
|
-
"description": "A modern, minimalist mind mapping tool
|
|
3
|
+
"version": "0.5.5",
|
|
4
|
+
"description": "A modern, minimalist mind mapping tool �?xmind-style, embeddable as a Vue component.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"author": {
|