@billtaofbj/explosion-3d 1.0.0
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/LICENSE +21 -0
- package/dist/explosion-3d.css +2 -0
- package/dist/index.cjs.js +197 -0
- package/dist/index.es.js +6758 -0
- package/package.json +27 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 @yourcompany
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
.ai-chat-panel[data-v-01960100]{z-index:2000;background:#fff;border-left:1px solid #e4e7ed;flex-direction:column;height:100vh;display:flex;position:fixed;top:0;right:0;box-shadow:-2px 0 12px #0000001a}.chat-header[data-v-01960100]{background:linear-gradient(#fff,#fafafa);border-bottom:1px solid #e4e7ed;justify-content:space-between;align-items:center;min-height:44px;padding:10px 16px;display:flex}.chat-header-left[data-v-01960100]{align-items:center;gap:8px;display:flex}.chat-title[data-v-01960100]{color:#303133;font-size:14px;font-weight:600}.chat-header-right[data-v-01960100]{align-items:center;gap:2px;display:flex}.online-tag[data-v-01960100]{cursor:pointer}.mention-bell[data-v-01960100]{cursor:pointer;justify-content:center;align-items:center;padding:2px;animation:.8s ease-in-out infinite bellShake-01960100;display:flex}.mention-bell[data-v-01960100]:hover{opacity:.8}@keyframes bellShake-01960100{0%,to{transform:rotate(0)}15%{transform:rotate(15deg)}30%{transform:rotate(-15deg)}45%{transform:rotate(10deg)}60%{transform:rotate(-10deg)}75%{transform:rotate(5deg)}}.online-users-list[data-v-01960100]{flex-direction:column;gap:8px;max-height:280px;display:flex;overflow-y:auto}.online-user-item[data-v-01960100]{align-items:center;gap:10px;display:flex}.online-user-avatar[data-v-01960100]{color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:28px;height:28px;font-size:13px;font-weight:600;display:flex}.online-user-name[data-v-01960100]{color:#303133;text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:13px;overflow:hidden}.role-tag[data-v-01960100]{flex-shrink:0}.self-tag[data-v-01960100]{color:#909399;flex-shrink:0;font-size:12px}.chat-messages[data-v-01960100]{flex-direction:column;flex:1;gap:12px;padding:16px;display:flex;overflow-y:auto}.chat-empty[data-v-01960100]{color:#909399;flex-direction:column;justify-content:center;align-items:center;height:100%;display:flex}.chat-empty p[data-v-01960100]{margin:8px 0 0;font-size:14px}.chat-empty-hint[data-v-01960100]{color:#c0c4cc!important;font-size:12px!important}.chat-message[data-v-01960100]{gap:10px;max-width:90%;display:flex}.chat-message-user[data-v-01960100]{flex-direction:row-reverse;align-self:flex-end}.chat-message-ai[data-v-01960100],.chat-message-other[data-v-01960100]{align-self:flex-start}.message-avatar[data-v-01960100]{color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:32px;font-size:13px;font-weight:600;display:flex}.message-avatar.ai[data-v-01960100]{background:linear-gradient(135deg,#409eff,#337ecc)}.message-content[data-v-01960100]{flex-direction:column;gap:4px;display:flex}.chat-message-user .message-content[data-v-01960100]{align-items:flex-end}.message-meta[data-v-01960100]{align-items:center;gap:6px;padding:0 4px;display:flex}.message-sender[data-v-01960100]{font-size:11px;font-weight:600}.message-mention[data-v-01960100]{color:#409eff;font-size:11px;font-weight:600}.message-text[data-v-01960100]{word-break:break-word;border-radius:12px;padding:10px 14px;font-size:13px;line-height:1.6}.chat-message-ai .message-text[data-v-01960100]{color:#303133;background:#f4f4f5;border-top-left-radius:4px}.chat-message-user .message-text[data-v-01960100]{color:#fff;background:linear-gradient(135deg,#409eff,#337ecc);border-top-right-radius:4px}.chat-message-other .message-text[data-v-01960100]{color:#303133;background:#f0f9ff;border:1px solid #d9ecff;border-top-left-radius:4px}.message-time[data-v-01960100]{color:#c0c4cc;padding:0 4px;font-size:11px}.chat-input-area[data-v-01960100]{background:#fafafa;border-top:1px solid #e4e7ed;padding:12px 16px}.chat-input-wrapper[data-v-01960100]{align-items:flex-end;gap:8px;display:flex;position:relative}.chat-input-wrapper[data-v-01960100] .el-textarea__inner{border:1px solid #dcdfe6;border-radius:10px;padding:8px 12px;font-size:13px;box-shadow:0 1px 4px #0000000f}.chat-input-wrapper[data-v-01960100] .el-textarea__inner:focus{border-color:#409eff;box-shadow:0 1px 6px #409eff26}.send-btn[data-v-01960100]{flex-shrink:0;width:34px;height:34px}.mention-popup[data-v-01960100]{z-index:10;background:#fff;border:1px solid #e4e7ed;border-radius:8px;min-width:160px;max-height:200px;margin-bottom:4px;position:absolute;bottom:100%;left:0;overflow-y:auto;box-shadow:0 4px 12px #0000001a}.mention-item[data-v-01960100]{cursor:pointer;align-items:center;gap:8px;padding:8px 12px;font-size:13px;display:flex}.mention-item[data-v-01960100]:hover,.mention-item.active[data-v-01960100]{background:#f5f7fa}.mention-avatar[data-v-01960100]{color:#fff;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:24px;height:24px;font-size:12px;font-weight:600;display:flex}.typing-indicator[data-v-01960100]{align-items:center;gap:4px;display:flex;padding:12px 16px!important}.typing-indicator span[data-v-01960100]{background:#c0c4cc;border-radius:50%;width:6px;height:6px;animation:1.2s infinite typingBounce-01960100}.typing-indicator span[data-v-01960100]:nth-child(2){animation-delay:.2s}.typing-indicator span[data-v-01960100]:nth-child(3){animation-delay:.4s}@keyframes typingBounce-01960100{0%,60%,to{opacity:.4;transform:translateY(0)}30%{opacity:1;transform:translateY(-4px)}}.version-history-panel[data-v-87924b7c]{flex-direction:column;height:100%;display:flex}.loading-state[data-v-87924b7c],.empty-state[data-v-87924b7c]{color:#909399;flex-direction:column;justify-content:center;align-items:center;height:200px;display:flex}.empty-state p[data-v-87924b7c]{margin-top:12px}.version-list[data-v-87924b7c]{flex:1;padding:0 4px;overflow-y:auto}.current-version[data-v-87924b7c]{background:#f0f9eb;border-radius:6px;flex-direction:column;gap:4px;margin-bottom:16px;padding:8px 12px;display:flex}.current-version-header[data-v-87924b7c]{align-items:center;gap:8px;display:flex}.version-meta[data-v-87924b7c]{color:#606266;font-size:13px}.version-item[data-v-87924b7c]{cursor:pointer;border-radius:6px;align-items:center;gap:20px;padding:8px 12px;transition:background .2s;display:flex}.version-item[data-v-87924b7c]:hover{background:#f5f7fa}.version-item.active[data-v-87924b7c]{background:#ecf5ff}.version-number[data-v-87924b7c]{color:#409eff;font-size:14px;font-weight:600}.version-user[data-v-87924b7c]{color:#303133;font-size:14px}.version-time[data-v-87924b7c]{color:#909399;margin-top:2px;font-size:12px}.panel-footer[data-v-87924b7c]{justify-content:flex-end;padding:12px 0;display:flex}.toolbar[data-v-3ac7baaa]{background:#fff;border-bottom:1px solid #e4e7ed;justify-content:space-between;align-items:center;height:48px;padding:6px 12px;display:flex}.toolbar-left[data-v-3ac7baaa],.toolbar-center[data-v-3ac7baaa],.toolbar-right[data-v-3ac7baaa]{align-items:center;gap:4px;display:flex}.title-input[data-v-3ac7baaa]{width:180px}.collab-users[data-v-3ac7baaa]{align-items:center;gap:2px;margin-right:4px;display:flex}.collab-avatar[data-v-3ac7baaa]{color:#fff;border:2px solid #fff;border-radius:50%;justify-content:center;align-items:center;width:22px;height:22px;margin-left:-4px;font-size:10px;font-weight:600;display:flex}.viewport-container[data-v-1fe4a338]{width:100%;height:100%;position:relative;overflow:hidden}.viewport-container canvas[data-v-1fe4a338]{width:100%!important;height:100%!important}.label-layer[data-v-1fe4a338]{pointer-events:none;position:absolute;top:0;left:0}.part-label{pointer-events:auto;cursor:pointer;text-align:center;background:#ffffffeb;border:1px solid #d0d3d9;border-radius:6px;min-width:60px;max-width:200px;padding:4px 10px;transition:all .15s;box-shadow:0 2px 8px #0000001a}.part-label:hover{border-color:#409eff;box-shadow:0 2px 12px #409eff40}.part-name{color:#333;white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:600;display:block;overflow:hidden}.part-notes{color:#666;white-space:nowrap;text-overflow:ellipsis;margin-top:2px;font-size:11px;display:block;overflow:hidden}.model-library[data-v-d4c40fe8]{background:#fff;border-right:1px solid #e4e7ed;flex-direction:column;width:240px;transition:width .2s;display:flex}.model-library.collapsed[data-v-d4c40fe8]{width:40px}.library-header[data-v-d4c40fe8]{border-bottom:1px solid #e4e7ed;flex-shrink:0;justify-content:space-between;align-items:center;padding:8px;font-size:13px;font-weight:700;display:flex}.library-body[data-v-d4c40fe8]{flex-direction:column;flex:1;display:flex;overflow:hidden}.library-top[data-v-d4c40fe8]{flex-shrink:0;padding:8px}.search-input[data-v-d4c40fe8]{margin-bottom:8px}.category-tabs[data-v-d4c40fe8]{gap:4px;display:flex}.tab-btn[data-v-d4c40fe8]{cursor:pointer;background:#fff;border:1px solid #dcdfe6;border-radius:4px;justify-content:center;align-items:center;width:32px;height:28px;transition:all .2s;display:flex}.tab-btn[data-v-d4c40fe8]:hover{color:#409eff;border-color:#409eff}.tab-btn.active[data-v-d4c40fe8]{color:#fff;background:#409eff;border-color:#409eff}.model-list[data-v-d4c40fe8]{flex:1;padding:0 8px;overflow-y:auto}.model-item[data-v-d4c40fe8]{cursor:pointer;border-radius:6px;align-items:center;gap:8px;padding:8px;transition:all .15s;display:flex}.model-item[data-v-d4c40fe8]:hover{background:#f5f7fa}.model-item[data-v-d4c40fe8]:active{background:#ecf5ff}.model-icon[data-v-d4c40fe8]{color:#fff;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;font-size:18px;display:flex}.model-info[data-v-d4c40fe8]{flex-direction:column;min-width:0;display:flex}.model-name[data-v-d4c40fe8]{color:#333;font-size:13px}.model-desc[data-v-d4c40fe8]{color:#999;text-overflow:ellipsis;white-space:nowrap;font-size:11px;overflow:hidden}.library-bottom[data-v-d4c40fe8]{border-top:1px solid #e4e7ed;flex-shrink:0;padding:8px}.section-title[data-v-d4c40fe8]{color:#999;margin-bottom:6px;font-size:12px}.url-input[data-v-d4c40fe8]{margin-bottom:8px}.upload-btn[data-v-d4c40fe8]{width:100%}.explosion-panel[data-v-4261bfa5]{background:#fff;border-left:1px solid #e4e7ed;width:260px;padding:12px;overflow-y:auto}.panel-header h4[data-v-4261bfa5]{margin:0 0 8px;font-size:13px;font-weight:600}.panel-section[data-v-4261bfa5]{margin-bottom:4px}.section-title[data-v-4261bfa5]{color:#333;margin-bottom:8px;font-size:12px;font-weight:600}.upload-area[data-v-4261bfa5]{cursor:pointer;border:2px dashed #dcdfe6;border-radius:6px;transition:border-color .2s;overflow:hidden}.upload-area[data-v-4261bfa5]:hover{border-color:#409eff}.upload-placeholder[data-v-4261bfa5]{color:#999;flex-direction:column;align-items:center;gap:4px;padding:16px;font-size:12px;display:flex}.upload-hint[data-v-4261bfa5]{color:#bbb;font-size:10px}.preview-area[data-v-4261bfa5]{position:relative}.preview-img[data-v-4261bfa5]{object-fit:contain;background:#f5f7fa;width:100%;height:120px}.remove-btn[data-v-4261bfa5]{position:absolute;top:4px;right:4px}.mode-tabs[data-v-4261bfa5]{gap:4px;margin:8px 0;display:flex}.mode-tab[data-v-4261bfa5]{text-align:center;cursor:pointer;border:1px solid #e4e7ed;border-radius:6px;flex:1;padding:6px 4px;transition:all .2s}.mode-tab[data-v-4261bfa5]:hover{border-color:#409eff}.mode-tab.active[data-v-4261bfa5]{background:#ecf5ff;border-color:#409eff}.mode-icon[data-v-4261bfa5]{margin-bottom:2px;font-size:16px;display:block}.mode-text[data-v-4261bfa5]{color:#333;font-size:11px;font-weight:600;display:block}.mode-desc[data-v-4261bfa5]{color:#999;margin-top:2px;font-size:9px;display:block}.api-config[data-v-4261bfa5]{margin-top:6px}.progress-bar[data-v-4261bfa5]{background:#eee;border-radius:2px;height:4px;margin-top:6px;overflow:hidden}.progress-fill[data-v-4261bfa5]{background:#409eff;height:100%;transition:width .3s}.error-text[data-v-4261bfa5]{color:#f56c6c;margin-top:4px;font-size:11px}.control-row[data-v-4261bfa5]{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.control-row label[data-v-4261bfa5]{color:#666;flex-shrink:0;font-size:12px}.control-row .el-select[data-v-4261bfa5]{width:110px}.btn-row[data-v-4261bfa5]{gap:6px;display:flex}.btn-row .el-button[data-v-4261bfa5]{flex:1}.parts-list[data-v-4261bfa5]{max-height:300px;overflow-y:auto}.part-item[data-v-4261bfa5]{border-bottom:1px solid #f5f5f5;align-items:center;gap:4px;padding:4px 0;transition:opacity .2s;display:flex}.part-item.hidden[data-v-4261bfa5]{opacity:.4}.part-color[data-v-4261bfa5]{border-radius:2px;flex-shrink:0;width:12px;height:12px}.part-name[data-v-4261bfa5]{flex:1}.empty-hint[data-v-4261bfa5]{text-align:center;color:#999;padding:20px 0;font-size:12px}.explosion-3d-editor[data-v-2672f0ac]{background:#f5f5f5;flex-direction:column;height:100vh;display:flex}.ai-chat-fab[data-v-2672f0ac]{z-index:1000;position:fixed;bottom:24px;right:24px;box-shadow:0 4px 12px #00000026}.editor-body[data-v-2672f0ac]{flex:1;display:flex;overflow:hidden}.side-panel[data-v-2672f0ac]{background:#fff;border-left:1px solid #e4e7ed;width:260px;padding:12px;overflow-y:auto}.panel-section[data-v-2672f0ac]{margin-bottom:16px}.panel-section h4[data-v-2672f0ac]{color:#333;margin:0 0 8px;font-size:13px}.mesh-item[data-v-2672f0ac]{cursor:pointer;border-radius:4px;align-items:center;gap:6px;padding:4px 8px;font-size:13px;display:flex}.mesh-item[data-v-2672f0ac]:hover{background:#f5f7fa}.mesh-item.selected[data-v-2672f0ac]{color:#409eff;background:#ecf5ff}.mesh-item.is-child[data-v-2672f0ac]{padding-left:20px}.mesh-color[data-v-2672f0ac]{border-radius:3px;flex-shrink:0;width:12px;height:12px}.mesh-name[data-v-2672f0ac]{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.prop-row[data-v-2672f0ac]{margin-bottom:10px}.prop-row label[data-v-2672f0ac]{color:#666;margin-bottom:2px;font-size:12px;display:block}
|
|
2
|
+
/*$vite$:1*/
|