@aithe/aithe-ui 26.2.2 → 26.3.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/README.md +216 -105
- package/dist/apps/admin/AGENTS.md +35 -0
- package/dist/apps/admin/app.d.ts +9 -0
- package/dist/apps/admin/app.d.ts.map +1 -0
- package/dist/apps/admin/app.js +12 -0
- package/dist/apps/admin/components/admin-app.d.ts +26 -0
- package/dist/apps/admin/components/admin-app.d.ts.map +1 -0
- package/dist/apps/admin/components/admin-app.js +83 -0
- package/dist/apps/admin/components/admin-layout.d.ts +29 -0
- package/dist/apps/admin/components/admin-layout.d.ts.map +1 -0
- package/dist/apps/admin/components/admin-layout.js +250 -0
- package/dist/apps/admin/datahub/auth.d.ts +21 -0
- package/dist/apps/admin/datahub/auth.d.ts.map +1 -0
- package/dist/apps/admin/datahub/auth.js +24 -0
- package/dist/apps/admin/datahub/dashboard.d.ts +16 -0
- package/dist/apps/admin/datahub/dashboard.d.ts.map +1 -0
- package/dist/apps/admin/datahub/dashboard.js +16 -0
- package/dist/apps/admin/datahub/index.d.ts +4 -0
- package/dist/apps/admin/datahub/index.d.ts.map +1 -0
- package/dist/apps/admin/datahub/index.js +42 -0
- package/dist/apps/admin/datahub/menu.d.ts +11 -0
- package/dist/apps/admin/datahub/menu.d.ts.map +1 -0
- package/dist/apps/admin/datahub/menu.js +16 -0
- package/dist/apps/admin/datahub/mock/auth.d.ts +10 -0
- package/dist/apps/admin/datahub/mock/auth.d.ts.map +1 -0
- package/dist/apps/admin/datahub/mock/auth.js +11 -0
- package/dist/apps/admin/datahub/mock/dashboard.d.ts +11 -0
- package/dist/apps/admin/datahub/mock/dashboard.d.ts.map +1 -0
- package/dist/apps/admin/datahub/mock/dashboard.js +10 -0
- package/dist/apps/admin/datahub/mock/menu.d.ts +26 -0
- package/dist/apps/admin/datahub/mock/menu.d.ts.map +1 -0
- package/dist/apps/admin/datahub/mock/menu.js +42 -0
- package/dist/apps/admin/i18n/de-DE.d.ts +6 -0
- package/dist/apps/admin/i18n/de-DE.d.ts.map +1 -0
- package/dist/apps/admin/i18n/de-DE.js +37 -0
- package/dist/apps/admin/i18n/en-US.d.ts +6 -0
- package/dist/apps/admin/i18n/en-US.d.ts.map +1 -0
- package/dist/apps/admin/i18n/en-US.js +37 -0
- package/dist/apps/admin/i18n/es-ES.d.ts +6 -0
- package/dist/apps/admin/i18n/es-ES.d.ts.map +1 -0
- package/dist/apps/admin/i18n/es-ES.js +38 -0
- package/dist/apps/admin/i18n/fr-FR.d.ts +6 -0
- package/dist/apps/admin/i18n/fr-FR.d.ts.map +1 -0
- package/dist/apps/admin/i18n/fr-FR.js +37 -0
- package/dist/apps/admin/i18n/index.d.ts +2 -0
- package/dist/apps/admin/i18n/index.d.ts.map +1 -0
- package/dist/apps/admin/i18n/index.js +27 -0
- package/dist/apps/admin/i18n/ja-JP.d.ts +6 -0
- package/dist/apps/admin/i18n/ja-JP.d.ts.map +1 -0
- package/dist/apps/admin/i18n/ja-JP.js +38 -0
- package/dist/apps/admin/i18n/ko-KR.d.ts +6 -0
- package/dist/apps/admin/i18n/ko-KR.d.ts.map +1 -0
- package/dist/apps/admin/i18n/ko-KR.js +37 -0
- package/dist/apps/admin/i18n/pt-BR.d.ts +6 -0
- package/dist/apps/admin/i18n/pt-BR.d.ts.map +1 -0
- package/dist/apps/admin/i18n/pt-BR.js +37 -0
- package/dist/apps/admin/i18n/zh-CN.d.ts +6 -0
- package/dist/apps/admin/i18n/zh-CN.d.ts.map +1 -0
- package/dist/apps/admin/i18n/zh-CN.js +37 -0
- package/dist/apps/admin/i18n/zh-HK.d.ts +6 -0
- package/dist/apps/admin/i18n/zh-HK.d.ts.map +1 -0
- package/dist/apps/admin/i18n/zh-HK.js +37 -0
- package/dist/apps/admin/i18n/zh-TW.d.ts +6 -0
- package/dist/apps/admin/i18n/zh-TW.d.ts.map +1 -0
- package/dist/apps/admin/i18n/zh-TW.js +37 -0
- package/dist/apps/admin/pages/dashboard-page.d.ts +33 -0
- package/dist/apps/admin/pages/dashboard-page.d.ts.map +1 -0
- package/dist/apps/admin/pages/dashboard-page.js +199 -0
- package/dist/apps/admin/pages/login-page.d.ts +25 -0
- package/dist/apps/admin/pages/login-page.d.ts.map +1 -0
- package/dist/apps/admin/pages/login-page.js +278 -0
- package/dist/apps/admin/pages/not-found-page.d.ts +14 -0
- package/dist/apps/admin/pages/not-found-page.d.ts.map +1 -0
- package/dist/apps/admin/pages/not-found-page.js +57 -0
- package/dist/apps/admin/pages/role-page.d.ts +14 -0
- package/dist/apps/admin/pages/role-page.d.ts.map +1 -0
- package/dist/apps/admin/pages/role-page.js +76 -0
- package/dist/apps/admin/pages/settings-page.d.ts +14 -0
- package/dist/apps/admin/pages/settings-page.d.ts.map +1 -0
- package/dist/apps/admin/pages/settings-page.js +95 -0
- package/dist/apps/admin/pages/user-page.d.ts +14 -0
- package/dist/apps/admin/pages/user-page.d.ts.map +1 -0
- package/dist/apps/admin/pages/user-page.js +76 -0
- package/dist/apps/admin/router/index.d.ts +6 -0
- package/dist/apps/admin/router/index.d.ts.map +1 -0
- package/dist/apps/admin/router/index.js +43 -0
- package/dist/apps/admin/standalone.d.ts.map +1 -0
- package/dist/apps/admin/standalone.js +1 -0
- package/dist/apps/admin/store/auth.d.ts +21 -0
- package/dist/apps/admin/store/auth.d.ts.map +1 -0
- package/dist/apps/admin/store/auth.js +42 -0
- package/dist/apps/api/AGENTS.md +30 -0
- package/dist/apps/api/app.d.ts +3 -7
- package/dist/apps/api/app.d.ts.map +1 -1
- package/dist/apps/api/app.js +82 -0
- package/dist/apps/api/demo-data.d.ts +1 -1
- package/dist/apps/api/demo-data.d.ts.map +1 -1
- package/dist/apps/api/demo-data.js +965 -0
- package/dist/apps/api/docs-viewer.d.ts +6 -3
- package/dist/apps/api/docs-viewer.d.ts.map +1 -1
- package/dist/apps/api/docs-viewer.js +684 -0
- package/dist/apps/api/i18n/de-DE.d.ts +6 -0
- package/dist/apps/api/i18n/de-DE.d.ts.map +1 -0
- package/dist/apps/api/i18n/de-DE.js +130 -0
- package/dist/apps/api/i18n/en-US.d.ts +1 -2
- package/dist/apps/api/i18n/en-US.d.ts.map +1 -1
- package/dist/apps/api/i18n/en-US.js +140 -0
- package/dist/apps/api/i18n/es-ES.d.ts +6 -0
- package/dist/apps/api/i18n/es-ES.d.ts.map +1 -0
- package/dist/apps/api/i18n/es-ES.js +130 -0
- package/dist/apps/api/i18n/fr-FR.d.ts +6 -0
- package/dist/apps/api/i18n/fr-FR.d.ts.map +1 -0
- package/dist/apps/api/i18n/fr-FR.js +130 -0
- package/dist/apps/api/i18n/index.d.ts.map +1 -1
- package/dist/apps/api/i18n/index.js +27 -0
- package/dist/apps/api/i18n/ja-JP.d.ts +6 -0
- package/dist/apps/api/i18n/ja-JP.d.ts.map +1 -0
- package/dist/apps/api/i18n/ja-JP.js +130 -0
- package/dist/apps/api/i18n/ko-KR.d.ts +6 -0
- package/dist/apps/api/i18n/ko-KR.d.ts.map +1 -0
- package/dist/apps/api/i18n/ko-KR.js +130 -0
- package/dist/apps/api/i18n/pt-BR.d.ts +6 -0
- package/dist/apps/api/i18n/pt-BR.d.ts.map +1 -0
- package/dist/apps/api/i18n/pt-BR.js +130 -0
- package/dist/apps/api/i18n/zh-CN.d.ts +1 -2
- package/dist/apps/api/i18n/zh-CN.d.ts.map +1 -1
- package/dist/apps/api/i18n/zh-CN.js +140 -0
- package/dist/apps/api/i18n/zh-HK.d.ts +6 -0
- package/dist/apps/api/i18n/zh-HK.d.ts.map +1 -0
- package/dist/apps/api/i18n/zh-HK.js +130 -0
- package/dist/apps/api/i18n/zh-TW.d.ts +6 -0
- package/dist/apps/api/i18n/zh-TW.d.ts.map +1 -0
- package/dist/apps/api/i18n/zh-TW.js +130 -0
- package/dist/apps/api/pages/docs.d.ts.map +1 -1
- package/dist/apps/api/pages/docs.js +367 -0
- package/dist/apps/api/standalone.d.ts.map +1 -1
- package/dist/apps/api/standalone.js +1 -0
- package/dist/apps/demo/AGENTS.md +48 -0
- package/dist/apps/demo/app.d.ts +4 -7
- package/dist/apps/demo/app.d.ts.map +1 -1
- package/dist/apps/demo/app.js +273 -0
- package/dist/apps/demo/editor.d.ts +6 -1
- package/dist/apps/demo/editor.d.ts.map +1 -1
- package/dist/apps/demo/editor.js +270 -0
- package/dist/apps/demo/helpers.d.ts.map +1 -1
- package/dist/apps/demo/helpers.js +7 -0
- package/dist/apps/demo/i18n/de-DE.d.ts +6 -0
- package/dist/apps/demo/i18n/de-DE.d.ts.map +1 -0
- package/dist/apps/demo/i18n/de-DE.js +269 -0
- package/dist/apps/demo/i18n/en-US.d.ts +1 -2
- package/dist/apps/demo/i18n/en-US.d.ts.map +1 -1
- package/dist/apps/demo/i18n/en-US.js +281 -0
- package/dist/apps/demo/i18n/es-ES.d.ts +6 -0
- package/dist/apps/demo/i18n/es-ES.d.ts.map +1 -0
- package/dist/apps/demo/i18n/es-ES.js +269 -0
- package/dist/apps/demo/i18n/fr-FR.d.ts +6 -0
- package/dist/apps/demo/i18n/fr-FR.d.ts.map +1 -0
- package/dist/apps/demo/i18n/fr-FR.js +269 -0
- package/dist/apps/demo/i18n/index.d.ts.map +1 -1
- package/dist/apps/demo/i18n/index.js +27 -0
- package/dist/apps/demo/i18n/ja-JP.d.ts +6 -0
- package/dist/apps/demo/i18n/ja-JP.d.ts.map +1 -0
- package/dist/apps/demo/i18n/ja-JP.js +269 -0
- package/dist/apps/demo/i18n/ko-KR.d.ts +6 -0
- package/dist/apps/demo/i18n/ko-KR.d.ts.map +1 -0
- package/dist/apps/demo/i18n/ko-KR.js +269 -0
- package/dist/apps/demo/i18n/pt-BR.d.ts +6 -0
- package/dist/apps/demo/i18n/pt-BR.d.ts.map +1 -0
- package/dist/apps/demo/i18n/pt-BR.js +269 -0
- package/dist/apps/demo/i18n/zh-CN.d.ts +1 -2
- package/dist/apps/demo/i18n/zh-CN.d.ts.map +1 -1
- package/dist/apps/demo/i18n/zh-CN.js +281 -0
- package/dist/apps/demo/i18n/zh-HK.d.ts +6 -0
- package/dist/apps/demo/i18n/zh-HK.d.ts.map +1 -0
- package/dist/apps/demo/i18n/zh-HK.js +269 -0
- package/dist/apps/demo/i18n/zh-TW.d.ts +6 -0
- package/dist/apps/demo/i18n/zh-TW.d.ts.map +1 -0
- package/dist/apps/demo/i18n/zh-TW.js +269 -0
- package/dist/apps/demo/pages/autoform.d.ts +3 -0
- package/dist/apps/demo/pages/autoform.d.ts.map +1 -0
- package/dist/apps/demo/pages/autoform.js +412 -0
- package/dist/apps/demo/pages/basic.d.ts.map +1 -1
- package/dist/apps/demo/pages/basic.js +157 -0
- package/dist/apps/demo/pages/code.d.ts +3 -0
- package/dist/apps/demo/pages/code.d.ts.map +1 -0
- package/dist/apps/demo/pages/code.js +1088 -0
- package/dist/apps/demo/pages/container.d.ts.map +1 -1
- package/dist/apps/demo/pages/container.js +42 -0
- package/dist/apps/demo/pages/dashboard.d.ts +3 -0
- package/dist/apps/demo/pages/dashboard.d.ts.map +1 -0
- package/dist/apps/demo/pages/dashboard.js +159 -0
- package/dist/apps/demo/pages/data.d.ts.map +1 -1
- package/dist/apps/demo/pages/data.js +327 -0
- package/dist/apps/demo/pages/display.d.ts.map +1 -1
- package/dist/apps/demo/pages/display.js +295 -0
- package/dist/apps/demo/pages/feedback.d.ts.map +1 -1
- package/dist/apps/demo/pages/feedback.js +94 -0
- package/dist/apps/demo/pages/form.d.ts.map +1 -1
- package/dist/apps/demo/pages/form.js +99 -0
- package/dist/apps/demo/pages/layout.d.ts.map +1 -1
- package/dist/apps/demo/pages/layout.js +74 -0
- package/dist/apps/demo/pages/navigation.d.ts.map +1 -1
- package/dist/apps/demo/pages/navigation.js +54 -0
- package/dist/apps/demo/pages/progress.d.ts.map +1 -1
- package/dist/apps/demo/pages/progress.js +42 -0
- package/dist/apps/demo/pages/theme.d.ts.map +1 -1
- package/dist/apps/demo/pages/theme.js +126 -0
- package/dist/apps/demo/standalone.d.ts.map +1 -1
- package/dist/apps/demo/standalone.js +1 -0
- package/dist/components/basic/AGENTS.md +35 -0
- package/dist/components/basic/avatar.d.ts +39 -2
- package/dist/components/basic/avatar.d.ts.map +1 -1
- package/dist/components/basic/avatar.js +168 -0
- package/dist/components/basic/badge.d.ts +21 -2
- package/dist/components/basic/badge.d.ts.map +1 -1
- package/dist/components/basic/badge.js +157 -0
- package/dist/components/basic/button-group.d.ts +14 -2
- package/dist/components/basic/button-group.d.ts.map +1 -1
- package/dist/components/basic/button-group.js +70 -0
- package/dist/components/basic/button.d.ts +43 -3
- package/dist/components/basic/button.d.ts.map +1 -1
- package/dist/components/basic/button.js +315 -0
- package/dist/components/basic/card.d.ts +27 -7
- package/dist/components/basic/card.d.ts.map +1 -1
- package/dist/components/basic/card.js +186 -0
- package/dist/components/basic/chip.d.ts +17 -4
- package/dist/components/basic/chip.d.ts.map +1 -1
- package/dist/components/basic/chip.js +103 -0
- package/dist/components/basic/divider.d.ts +14 -0
- package/dist/components/basic/divider.d.ts.map +1 -1
- package/dist/components/basic/divider.js +127 -0
- package/dist/components/basic/empty.d.ts +11 -2
- package/dist/components/basic/empty.d.ts.map +1 -1
- package/dist/components/basic/empty.js +72 -0
- package/dist/components/basic/icon.d.ts +81 -2
- package/dist/components/basic/icon.d.ts.map +1 -1
- package/dist/components/basic/icon.js +129 -0
- package/dist/components/basic/input.d.ts +36 -7
- package/dist/components/basic/input.d.ts.map +1 -1
- package/dist/components/basic/input.js +314 -0
- package/dist/components/basic/tag.d.ts +27 -2
- package/dist/components/basic/tag.d.ts.map +1 -1
- package/dist/components/basic/tag.js +248 -0
- package/dist/components/basic/textarea.d.ts +20 -5
- package/dist/components/basic/textarea.d.ts.map +1 -1
- package/dist/components/basic/textarea.js +130 -0
- package/dist/components/container/AGENTS.md +23 -0
- package/dist/components/container/callout.d.ts +14 -2
- package/dist/components/container/callout.d.ts.map +1 -1
- package/dist/components/container/callout.js +108 -0
- package/dist/components/container/details.d.ts +19 -3
- package/dist/components/container/details.d.ts.map +1 -1
- package/dist/components/container/details.js +117 -0
- package/dist/components/container/scroller.d.ts +19 -3
- package/dist/components/container/scroller.d.ts.map +1 -1
- package/dist/components/container/scroller.js +144 -0
- package/dist/components/container/split-panel.d.ts +23 -5
- package/dist/components/container/split-panel.d.ts.map +1 -1
- package/dist/components/container/split-panel.js +150 -0
- package/dist/components/data/AGENTS.md +34 -0
- package/dist/components/data/box-table.d.ts +53 -0
- package/dist/components/data/box-table.d.ts.map +1 -0
- package/dist/components/data/box-table.js +220 -0
- package/dist/components/data/dropdown.d.ts +59 -0
- package/dist/components/data/dropdown.d.ts.map +1 -0
- package/dist/components/data/dropdown.js +219 -0
- package/dist/components/data/metrics-group.d.ts +110 -0
- package/dist/components/data/metrics-group.d.ts.map +1 -0
- package/dist/components/data/metrics-group.js +180 -0
- package/dist/components/data/metrics.d.ts +131 -0
- package/dist/components/data/metrics.d.ts.map +1 -0
- package/dist/components/data/metrics.js +309 -0
- package/dist/components/data/pagination.d.ts +14 -2
- package/dist/components/data/pagination.d.ts.map +1 -1
- package/dist/components/data/pagination.js +119 -0
- package/dist/components/data/tab-pane.d.ts +69 -1
- package/dist/components/data/tab-pane.d.ts.map +1 -1
- package/dist/components/data/tab-pane.js +130 -0
- package/dist/components/data/table-column.d.ts +70 -0
- package/dist/components/data/table-column.d.ts.map +1 -0
- package/dist/components/data/table-column.js +123 -0
- package/dist/components/data/table.d.ts +145 -7
- package/dist/components/data/table.d.ts.map +1 -1
- package/dist/components/data/table.js +1210 -0
- package/dist/components/data/tabs.d.ts +81 -3
- package/dist/components/data/tabs.d.ts.map +1 -1
- package/dist/components/data/tabs.js +416 -0
- package/dist/components/data/timeline-item.d.ts +24 -0
- package/dist/components/data/timeline-item.d.ts.map +1 -0
- package/dist/components/data/timeline-item.js +127 -0
- package/dist/components/data/timeline.d.ts +49 -0
- package/dist/components/data/timeline.d.ts.map +1 -0
- package/dist/components/data/timeline.js +204 -0
- package/dist/components/data/tree-menu.d.ts +73 -0
- package/dist/components/data/tree-menu.d.ts.map +1 -0
- package/dist/components/data/tree-menu.js +482 -0
- package/dist/components/data/tree.d.ts +29 -2
- package/dist/components/data/tree.d.ts.map +1 -1
- package/dist/components/data/tree.js +269 -0
- package/dist/components/display/AGENTS.md +31 -0
- package/dist/components/display/animated-image.d.ts +14 -2
- package/dist/components/display/animated-image.d.ts.map +1 -1
- package/dist/components/display/animated-image.js +98 -0
- package/dist/components/display/brief-box.d.ts +42 -0
- package/dist/components/display/brief-box.d.ts.map +1 -0
- package/dist/components/display/brief-box.js +117 -0
- package/dist/components/display/carousel.d.ts +21 -3
- package/dist/components/display/carousel.d.ts.map +1 -1
- package/dist/components/display/carousel.js +223 -0
- package/dist/components/display/code-editor.d.ts +246 -0
- package/dist/components/display/code-editor.d.ts.map +1 -0
- package/dist/components/display/code-editor.js +976 -0
- package/dist/components/display/comparison.d.ts +14 -2
- package/dist/components/display/comparison.d.ts.map +1 -1
- package/dist/components/display/comparison.js +132 -0
- package/dist/components/display/desc-item.d.ts +48 -0
- package/dist/components/display/desc-item.d.ts.map +1 -0
- package/dist/components/display/desc-item.js +150 -0
- package/dist/components/display/desc.d.ts +64 -0
- package/dist/components/display/desc.d.ts.map +1 -0
- package/dist/components/display/desc.js +363 -0
- package/dist/components/display/detail-box.d.ts +51 -0
- package/dist/components/display/detail-box.d.ts.map +1 -0
- package/dist/components/display/detail-box.js +157 -0
- package/dist/components/display/label.d.ts +55 -0
- package/dist/components/display/label.d.ts.map +1 -0
- package/dist/components/display/label.js +166 -0
- package/dist/components/display/markdown-editor.d.ts +134 -0
- package/dist/components/display/markdown-editor.d.ts.map +1 -0
- package/dist/components/display/markdown-editor.js +319 -0
- package/dist/components/display/markdown.d.ts +53 -3
- package/dist/components/display/markdown.d.ts.map +1 -1
- package/dist/components/display/markdown.js +193 -0
- package/dist/components/display/mini-box.d.ts +31 -0
- package/dist/components/display/mini-box.d.ts.map +1 -0
- package/dist/components/display/mini-box.js +137 -0
- package/dist/components/display/profile.d.ts +18 -0
- package/dist/components/display/profile.d.ts.map +1 -0
- package/dist/components/display/profile.js +164 -0
- package/dist/components/feedback/AGENTS.md +31 -0
- package/dist/components/feedback/alert.d.ts +20 -3
- package/dist/components/feedback/alert.d.ts.map +1 -1
- package/dist/components/feedback/alert.js +150 -0
- package/dist/components/feedback/dialog.d.ts +27 -5
- package/dist/components/feedback/dialog.d.ts.map +1 -1
- package/dist/components/feedback/dialog.js +228 -0
- package/dist/components/feedback/drawer.d.ts +36 -6
- package/dist/components/feedback/drawer.d.ts.map +1 -1
- package/dist/components/feedback/drawer.js +338 -0
- package/dist/components/feedback/loading.d.ts +16 -2
- package/dist/components/feedback/loading.d.ts.map +1 -1
- package/dist/components/feedback/loading.js +130 -0
- package/dist/components/feedback/modal.d.ts +36 -6
- package/dist/components/feedback/modal.d.ts.map +1 -1
- package/dist/components/feedback/modal.js +303 -0
- package/dist/components/feedback/notification.d.ts +18 -3
- package/dist/components/feedback/notification.d.ts.map +1 -1
- package/dist/components/feedback/notification.js +170 -0
- package/dist/components/feedback/popover.d.ts +23 -4
- package/dist/components/feedback/popover.d.ts.map +1 -1
- package/dist/components/feedback/popover.js +124 -0
- package/dist/components/feedback/toast.d.ts +19 -2
- package/dist/components/feedback/toast.d.ts.map +1 -1
- package/dist/components/feedback/toast.js +142 -0
- package/dist/components/feedback/tooltip.d.ts +27 -4
- package/dist/components/feedback/tooltip.d.ts.map +1 -1
- package/dist/components/feedback/tooltip.js +153 -0
- package/dist/components/form/AGENTS.md +43 -0
- package/dist/components/form/autoform-item.d.ts +142 -0
- package/dist/components/form/autoform-item.d.ts.map +1 -0
- package/dist/components/form/autoform-item.js +761 -0
- package/dist/components/form/autoform.d.ts +100 -0
- package/dist/components/form/autoform.d.ts.map +1 -0
- package/dist/components/form/autoform.js +303 -0
- package/dist/components/form/checkbox-group.d.ts +24 -3
- package/dist/components/form/checkbox-group.d.ts.map +1 -1
- package/dist/components/form/checkbox-group.js +118 -0
- package/dist/components/form/checkbox.d.ts +22 -2
- package/dist/components/form/checkbox.d.ts.map +1 -1
- package/dist/components/form/checkbox.js +123 -0
- package/dist/components/form/color-picker.d.ts +19 -4
- package/dist/components/form/color-picker.d.ts.map +1 -1
- package/dist/components/form/color-picker.js +148 -0
- package/dist/components/form/combobox.d.ts +26 -3
- package/dist/components/form/combobox.d.ts.map +1 -1
- package/dist/components/form/combobox.js +282 -0
- package/dist/components/form/date-picker.d.ts +16 -1
- package/dist/components/form/date-picker.d.ts.map +1 -1
- package/dist/components/form/date-picker.js +123 -0
- package/dist/components/form/form-item.d.ts +20 -1
- package/dist/components/form/form-item.d.ts.map +1 -1
- package/dist/components/form/form-item.js +141 -0
- package/dist/components/form/form.d.ts +22 -3
- package/dist/components/form/form.d.ts.map +1 -1
- package/dist/components/form/form.js +94 -0
- package/dist/components/form/radio-group.d.ts +23 -3
- package/dist/components/form/radio-group.d.ts.map +1 -1
- package/dist/components/form/radio-group.js +106 -0
- package/dist/components/form/radio.d.ts +19 -1
- package/dist/components/form/radio.d.ts.map +1 -1
- package/dist/components/form/radio.js +110 -0
- package/dist/components/form/rate.d.ts +14 -1
- package/dist/components/form/rate.d.ts.map +1 -1
- package/dist/components/form/rate.js +116 -0
- package/dist/components/form/select.d.ts +47 -8
- package/dist/components/form/select.d.ts.map +1 -1
- package/dist/components/form/select.js +495 -0
- package/dist/components/form/slider.d.ts +17 -1
- package/dist/components/form/slider.d.ts.map +1 -1
- package/dist/components/form/slider.js +134 -0
- package/dist/components/form/switch.d.ts +16 -3
- package/dist/components/form/switch.d.ts.map +1 -1
- package/dist/components/form/switch.js +146 -0
- package/dist/components/form/time-picker.d.ts +14 -1
- package/dist/components/form/time-picker.d.ts.map +1 -1
- package/dist/components/form/time-picker.js +92 -0
- package/dist/components/form/transfer.d.ts +20 -2
- package/dist/components/form/transfer.d.ts.map +1 -1
- package/dist/components/form/transfer.js +273 -0
- package/dist/components/form/upload.d.ts +20 -2
- package/dist/components/form/upload.d.ts.map +1 -1
- package/dist/components/form/upload.js +138 -0
- package/dist/components/framework/AGENTS.md +27 -0
- package/dist/components/framework/body.d.ts +62 -0
- package/dist/components/framework/body.d.ts.map +1 -0
- package/dist/components/framework/body.js +333 -0
- package/dist/components/framework/dashboard-panel.d.ts +123 -0
- package/dist/components/framework/dashboard-panel.d.ts.map +1 -0
- package/dist/components/framework/dashboard-panel.js +519 -0
- package/dist/components/framework/dashboard.d.ts +182 -0
- package/dist/components/framework/dashboard.d.ts.map +1 -0
- package/dist/components/framework/dashboard.js +1084 -0
- package/dist/components/framework/header.d.ts +42 -0
- package/dist/components/framework/header.d.ts.map +1 -0
- package/dist/components/framework/header.js +237 -0
- package/dist/components/framework/log-panel.d.ts +32 -0
- package/dist/components/framework/log-panel.d.ts.map +1 -0
- package/dist/components/framework/log-panel.js +637 -0
- package/dist/components/framework/page.d.ts +46 -0
- package/dist/components/framework/page.d.ts.map +1 -0
- package/dist/components/framework/page.js +151 -0
- package/dist/components/framework/sidebar.d.ts +92 -0
- package/dist/components/framework/sidebar.d.ts.map +1 -0
- package/dist/components/framework/sidebar.js +477 -0
- package/dist/components/layout/AGENTS.md +27 -0
- package/dist/components/layout/affix.d.ts +15 -3
- package/dist/components/layout/affix.d.ts.map +1 -1
- package/dist/components/layout/affix.js +137 -0
- package/dist/components/layout/col.d.ts +16 -1
- package/dist/components/layout/col.d.ts.map +1 -1
- package/dist/components/layout/col.js +103 -0
- package/dist/components/layout/collapse-item.d.ts +20 -4
- package/dist/components/layout/collapse-item.d.ts.map +1 -1
- package/dist/components/layout/collapse-item.js +165 -0
- package/dist/components/layout/collapse.d.ts +17 -4
- package/dist/components/layout/collapse.d.ts.map +1 -1
- package/dist/components/layout/collapse.js +108 -0
- package/dist/components/layout/container.d.ts +16 -1
- package/dist/components/layout/container.d.ts.map +1 -1
- package/dist/components/layout/container.js +92 -0
- package/dist/components/layout/flex.d.ts +17 -1
- package/dist/components/layout/flex.d.ts.map +1 -1
- package/dist/components/layout/flex.js +100 -0
- package/dist/components/layout/row.d.ts +15 -1
- package/dist/components/layout/row.d.ts.map +1 -1
- package/dist/components/layout/row.js +103 -0
- package/dist/components/layout/space.d.ts +15 -1
- package/dist/components/layout/space.d.ts.map +1 -1
- package/dist/components/layout/space.js +85 -0
- package/dist/components/navigation/AGENTS.md +26 -0
- package/dist/components/navigation/back-top.d.ts +13 -4
- package/dist/components/navigation/back-top.d.ts.map +1 -1
- package/dist/components/navigation/back-top.js +127 -0
- package/dist/components/navigation/breadcrumb-item.d.ts +15 -0
- package/dist/components/navigation/breadcrumb-item.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumb-item.js +108 -0
- package/dist/components/navigation/breadcrumb.d.ts +17 -2
- package/dist/components/navigation/breadcrumb.d.ts.map +1 -1
- package/dist/components/navigation/breadcrumb.js +70 -0
- package/dist/components/navigation/dropdown.d.ts +56 -0
- package/dist/components/navigation/dropdown.d.ts.map +1 -0
- package/dist/components/navigation/menu-item.d.ts +27 -4
- package/dist/components/navigation/menu-item.d.ts.map +1 -1
- package/dist/components/navigation/menu-item.js +181 -0
- package/dist/components/navigation/menu.d.ts +21 -4
- package/dist/components/navigation/menu.d.ts.map +1 -1
- package/dist/components/navigation/menu.js +126 -0
- package/dist/components/navigation/steps.d.ts +19 -2
- package/dist/components/navigation/steps.d.ts.map +1 -1
- package/dist/components/navigation/steps.js +183 -0
- package/dist/components/navigation/sub-menu.d.ts +27 -3
- package/dist/components/navigation/sub-menu.d.ts.map +1 -1
- package/dist/components/navigation/sub-menu.js +253 -0
- package/dist/components/progress/AGENTS.md +24 -0
- package/dist/components/progress/progress-bar.d.ts +11 -2
- package/dist/components/progress/progress-bar.d.ts.map +1 -1
- package/dist/components/progress/progress-bar.js +97 -0
- package/dist/components/progress/progress-ring.d.ts +12 -2
- package/dist/components/progress/progress-ring.d.ts.map +1 -1
- package/dist/components/progress/progress-ring.js +111 -0
- package/dist/components/progress/skeleton.d.ts +17 -2
- package/dist/components/progress/skeleton.d.ts.map +1 -1
- package/dist/components/progress/skeleton.js +108 -0
- package/dist/components/progress/spinner.d.ts +11 -2
- package/dist/components/progress/spinner.d.ts.map +1 -1
- package/dist/components/progress/spinner.js +129 -0
- package/dist/components/theme/AGENTS.md +27 -0
- package/dist/components/theme/locale-switch.d.ts +37 -0
- package/dist/components/theme/locale-switch.d.ts.map +1 -0
- package/dist/components/theme/locale-switch.js +241 -0
- package/dist/components/theme/shadow-picker.d.ts +28 -0
- package/dist/components/theme/shadow-picker.d.ts.map +1 -0
- package/dist/components/theme/shadow-picker.js +233 -0
- package/dist/components/theme/shape-picker.d.ts +28 -0
- package/dist/components/theme/shape-picker.d.ts.map +1 -0
- package/dist/components/theme/shape-picker.js +232 -0
- package/dist/components/theme/theme-picker.d.ts +43 -0
- package/dist/components/theme/theme-picker.d.ts.map +1 -0
- package/dist/components/theme/theme-picker.js +236 -0
- package/dist/components/theme/theme-preview.d.ts +38 -0
- package/dist/components/theme/theme-preview.d.ts.map +1 -0
- package/dist/components/theme/theme-preview.js +376 -0
- package/dist/components/theme/theme-switch.d.ts +34 -0
- package/dist/components/theme/theme-switch.d.ts.map +1 -0
- package/dist/components/theme/theme-switch.js +318 -0
- package/dist/components/theme/typo-picker.d.ts +28 -0
- package/dist/components/theme/typo-picker.d.ts.map +1 -0
- package/dist/components/theme/typo-picker.js +219 -0
- package/dist/core/AGENTS.md +43 -0
- package/dist/core/aithe-element.d.ts +62 -1
- package/dist/core/aithe-element.d.ts.map +1 -1
- package/dist/core/aithe-element.js +135 -0
- package/dist/core/aithe-widget.d.ts +20 -0
- package/dist/core/aithe-widget.d.ts.map +1 -0
- package/dist/core/aithe-widget.js +30 -0
- package/dist/core/anchored-overlay.d.ts +29 -0
- package/dist/core/anchored-overlay.d.ts.map +1 -1
- package/dist/core/anchored-overlay.js +111 -0
- package/dist/core/autoform/autoform.d.ts +95 -0
- package/dist/core/autoform/autoform.d.ts.map +1 -0
- package/dist/core/autoform/autoform.js +79 -0
- package/dist/core/autoform/condition.d.ts +45 -0
- package/dist/core/autoform/condition.d.ts.map +1 -0
- package/dist/core/autoform/condition.js +170 -0
- package/dist/core/autoform/index.d.ts +11 -0
- package/dist/core/autoform/index.d.ts.map +1 -0
- package/dist/core/autoform/index.js +8 -0
- package/dist/core/autoform/types.d.ts +44 -0
- package/dist/core/autoform/types.d.ts.map +1 -0
- package/dist/core/autoform/types.js +7 -0
- package/dist/core/datahub/config/strategy.d.ts +25 -0
- package/dist/core/datahub/config/strategy.d.ts.map +1 -0
- package/dist/core/datahub/config/strategy.js +50 -0
- package/dist/core/datahub/core/adapter/fetch-adapter.d.ts +39 -0
- package/dist/core/datahub/core/adapter/fetch-adapter.d.ts.map +1 -0
- package/dist/core/datahub/core/adapter/fetch-adapter.js +118 -0
- package/dist/core/datahub/core/adapter/index.d.ts +8 -0
- package/dist/core/datahub/core/adapter/index.d.ts.map +1 -0
- package/dist/core/datahub/core/adapter/index.js +7 -0
- package/dist/core/datahub/core/adapter/mock-adapter.d.ts +31 -0
- package/dist/core/datahub/core/adapter/mock-adapter.d.ts.map +1 -0
- package/dist/core/datahub/core/adapter/mock-adapter.js +58 -0
- package/dist/core/datahub/core/api-styles.d.ts +25 -0
- package/dist/core/datahub/core/api-styles.d.ts.map +1 -0
- package/dist/core/datahub/core/api-styles.js +131 -0
- package/dist/core/datahub/core/datahub-core.d.ts +166 -0
- package/dist/core/datahub/core/datahub-core.d.ts.map +1 -0
- package/dist/core/datahub/core/datahub-core.js +441 -0
- package/dist/core/datahub/core/index.d.ts +8 -0
- package/dist/core/datahub/core/index.d.ts.map +1 -0
- package/dist/core/datahub/core/index.js +7 -0
- package/dist/core/datahub/index.d.ts +47 -0
- package/dist/core/datahub/index.d.ts.map +1 -0
- package/dist/core/datahub/index.js +50 -0
- package/dist/core/datahub/types.d.ts +232 -0
- package/dist/core/datahub/types.d.ts.map +1 -0
- package/dist/core/datahub/types.js +31 -0
- package/dist/core/datahub/utils/cache.d.ts +35 -0
- package/dist/core/datahub/utils/cache.d.ts.map +1 -0
- package/dist/core/datahub/utils/cache.js +55 -0
- package/dist/core/datahub/utils/common.d.ts +21 -0
- package/dist/core/datahub/utils/common.d.ts.map +1 -0
- package/dist/core/datahub/utils/common.js +23 -0
- package/dist/core/datahub/utils/dedup.d.ts +28 -0
- package/dist/core/datahub/utils/dedup.d.ts.map +1 -0
- package/dist/core/datahub/utils/dedup.js +52 -0
- package/dist/core/datahub/utils/idempotent.d.ts +31 -0
- package/dist/core/datahub/utils/idempotent.d.ts.map +1 -0
- package/dist/core/datahub/utils/idempotent.js +61 -0
- package/dist/core/datahub/utils/is-query.d.ts +39 -0
- package/dist/core/datahub/utils/is-query.d.ts.map +1 -0
- package/dist/core/datahub/utils/is-query.js +53 -0
- package/dist/core/datahub/utils/loading.d.ts +50 -0
- package/dist/core/datahub/utils/loading.d.ts.map +1 -0
- package/dist/core/datahub/utils/loading.js +78 -0
- package/dist/core/filter/__tests__/index.test.d.ts +2 -0
- package/dist/core/filter/__tests__/index.test.d.ts.map +1 -0
- package/dist/core/filter/__tests__/index.test.js +230 -0
- package/dist/core/filter/builtins.d.ts +60 -0
- package/dist/core/filter/builtins.d.ts.map +1 -0
- package/dist/core/filter/builtins.js +172 -0
- package/dist/core/filter/factory.d.ts +54 -0
- package/dist/core/filter/factory.d.ts.map +1 -0
- package/dist/core/filter/factory.js +96 -0
- package/dist/core/filter/index.d.ts +11 -0
- package/dist/core/filter/index.d.ts.map +1 -0
- package/dist/core/filter/index.js +9 -0
- package/dist/core/filter/types.d.ts +12 -0
- package/dist/core/filter/types.d.ts.map +1 -0
- package/dist/core/filter/types.js +1 -0
- package/dist/core/floating.d.ts +31 -0
- package/dist/core/floating.d.ts.map +1 -1
- package/dist/core/floating.js +132 -0
- package/dist/core/highlight/index.d.ts +44 -0
- package/dist/core/highlight/index.d.ts.map +1 -0
- package/dist/core/highlight/index.js +43 -0
- package/dist/core/highlight/lang-bash.d.ts +2 -0
- package/dist/core/highlight/lang-bash.d.ts.map +1 -0
- package/dist/core/highlight/lang-bash.js +27 -0
- package/dist/core/highlight/lang-c.d.ts +2 -0
- package/dist/core/highlight/lang-c.d.ts.map +1 -0
- package/dist/core/highlight/lang-c.js +27 -0
- package/dist/core/highlight/lang-cmake.d.ts +2 -0
- package/dist/core/highlight/lang-cmake.d.ts.map +1 -0
- package/dist/core/highlight/lang-cmake.js +27 -0
- package/dist/core/highlight/lang-cpp.d.ts +2 -0
- package/dist/core/highlight/lang-cpp.d.ts.map +1 -0
- package/dist/core/highlight/lang-cpp.js +27 -0
- package/dist/core/highlight/lang-css.d.ts +2 -0
- package/dist/core/highlight/lang-css.d.ts.map +1 -0
- package/dist/core/highlight/lang-css.js +24 -0
- package/dist/core/highlight/lang-dart.d.ts +2 -0
- package/dist/core/highlight/lang-dart.d.ts.map +1 -0
- package/dist/core/highlight/lang-dart.js +27 -0
- package/dist/core/highlight/lang-dockerfile.d.ts +2 -0
- package/dist/core/highlight/lang-dockerfile.d.ts.map +1 -0
- package/dist/core/highlight/lang-dockerfile.js +16 -0
- package/dist/core/highlight/lang-fsharp.d.ts +2 -0
- package/dist/core/highlight/lang-fsharp.d.ts.map +1 -0
- package/dist/core/highlight/lang-fsharp.js +23 -0
- package/dist/core/highlight/lang-go.d.ts +2 -0
- package/dist/core/highlight/lang-go.d.ts.map +1 -0
- package/dist/core/highlight/lang-go.js +22 -0
- package/dist/core/highlight/lang-html.d.ts +2 -0
- package/dist/core/highlight/lang-html.d.ts.map +1 -0
- package/dist/core/highlight/lang-html.js +12 -0
- package/dist/core/highlight/lang-java.d.ts +2 -0
- package/dist/core/highlight/lang-java.d.ts.map +1 -0
- package/dist/core/highlight/lang-java.js +22 -0
- package/dist/core/highlight/lang-javascript.d.ts +2 -0
- package/dist/core/highlight/lang-javascript.d.ts.map +1 -0
- package/dist/core/highlight/lang-javascript.js +26 -0
- package/dist/core/highlight/lang-json.d.ts +2 -0
- package/dist/core/highlight/lang-json.d.ts.map +1 -0
- package/dist/core/highlight/lang-json.js +13 -0
- package/dist/core/highlight/lang-jsonline.d.ts +2 -0
- package/dist/core/highlight/lang-jsonline.d.ts.map +1 -0
- package/dist/core/highlight/lang-jsonline.js +13 -0
- package/dist/core/highlight/lang-jsx.d.ts +2 -0
- package/dist/core/highlight/lang-jsx.d.ts.map +1 -0
- package/dist/core/highlight/lang-jsx.js +30 -0
- package/dist/core/highlight/lang-kotlin.d.ts +2 -0
- package/dist/core/highlight/lang-kotlin.d.ts.map +1 -0
- package/dist/core/highlight/lang-kotlin.js +27 -0
- package/dist/core/highlight/lang-latex.d.ts +2 -0
- package/dist/core/highlight/lang-latex.d.ts.map +1 -0
- package/dist/core/highlight/lang-latex.js +22 -0
- package/dist/core/highlight/lang-lua.d.ts +2 -0
- package/dist/core/highlight/lang-lua.d.ts.map +1 -0
- package/dist/core/highlight/lang-lua.js +26 -0
- package/dist/core/highlight/lang-makefile.d.ts +2 -0
- package/dist/core/highlight/lang-makefile.d.ts.map +1 -0
- package/dist/core/highlight/lang-makefile.js +22 -0
- package/dist/core/highlight/lang-markdown.d.ts +2 -0
- package/dist/core/highlight/lang-markdown.d.ts.map +1 -0
- package/dist/core/highlight/lang-markdown.js +18 -0
- package/dist/core/highlight/lang-objectivec.d.ts +2 -0
- package/dist/core/highlight/lang-objectivec.d.ts.map +1 -0
- package/dist/core/highlight/lang-objectivec.js +24 -0
- package/dist/core/highlight/lang-perl.d.ts +2 -0
- package/dist/core/highlight/lang-perl.d.ts.map +1 -0
- package/dist/core/highlight/lang-perl.js +30 -0
- package/dist/core/highlight/lang-powershell.d.ts +2 -0
- package/dist/core/highlight/lang-powershell.d.ts.map +1 -0
- package/dist/core/highlight/lang-powershell.js +23 -0
- package/dist/core/highlight/lang-python.d.ts +2 -0
- package/dist/core/highlight/lang-python.d.ts.map +1 -0
- package/dist/core/highlight/lang-python.js +27 -0
- package/dist/core/highlight/lang-r.d.ts +2 -0
- package/dist/core/highlight/lang-r.d.ts.map +1 -0
- package/dist/core/highlight/lang-r.js +21 -0
- package/dist/core/highlight/lang-ruby.d.ts +2 -0
- package/dist/core/highlight/lang-ruby.d.ts.map +1 -0
- package/dist/core/highlight/lang-ruby.js +29 -0
- package/dist/core/highlight/lang-rust.d.ts +2 -0
- package/dist/core/highlight/lang-rust.d.ts.map +1 -0
- package/dist/core/highlight/lang-rust.js +24 -0
- package/dist/core/highlight/lang-scala.d.ts +2 -0
- package/dist/core/highlight/lang-scala.d.ts.map +1 -0
- package/dist/core/highlight/lang-scala.js +26 -0
- package/dist/core/highlight/lang-sql.d.ts +2 -0
- package/dist/core/highlight/lang-sql.d.ts.map +1 -0
- package/dist/core/highlight/lang-sql.js +21 -0
- package/dist/core/highlight/lang-svelte.d.ts +2 -0
- package/dist/core/highlight/lang-svelte.d.ts.map +1 -0
- package/dist/core/highlight/lang-svelte.js +27 -0
- package/dist/core/highlight/lang-swift.d.ts +2 -0
- package/dist/core/highlight/lang-swift.d.ts.map +1 -0
- package/dist/core/highlight/lang-swift.js +28 -0
- package/dist/core/highlight/lang-tsx.d.ts +2 -0
- package/dist/core/highlight/lang-tsx.d.ts.map +1 -0
- package/dist/core/highlight/lang-tsx.js +35 -0
- package/dist/core/highlight/lang-typescript.d.ts +2 -0
- package/dist/core/highlight/lang-typescript.d.ts.map +1 -0
- package/dist/core/highlight/lang-typescript.js +31 -0
- package/dist/core/highlight/lang-vue.d.ts +2 -0
- package/dist/core/highlight/lang-vue.d.ts.map +1 -0
- package/dist/core/highlight/lang-vue.js +29 -0
- package/dist/core/highlight/lang-wasm.d.ts +2 -0
- package/dist/core/highlight/lang-wasm.d.ts.map +1 -0
- package/dist/core/highlight/lang-wasm.js +22 -0
- package/dist/core/highlight/lang-xml.d.ts +2 -0
- package/dist/core/highlight/lang-xml.d.ts.map +1 -0
- package/dist/core/highlight/lang-xml.js +12 -0
- package/dist/core/highlight/lang-yaml.d.ts +2 -0
- package/dist/core/highlight/lang-yaml.d.ts.map +1 -0
- package/dist/core/highlight/lang-yaml.js +14 -0
- package/dist/core/highlight/registry.d.ts +22 -0
- package/dist/core/highlight/registry.d.ts.map +1 -0
- package/dist/core/highlight/registry.js +99 -0
- package/dist/core/logger/LoggerCore.d.ts +186 -0
- package/dist/core/logger/LoggerCore.d.ts.map +1 -0
- package/dist/core/logger/LoggerCore.js +626 -0
- package/dist/core/logger/index.d.ts +12 -0
- package/dist/core/logger/index.d.ts.map +1 -0
- package/dist/core/logger/index.js +10 -0
- package/dist/core/logger/types.d.ts +106 -0
- package/dist/core/logger/types.d.ts.map +1 -0
- package/dist/core/logger/types.js +29 -0
- package/dist/core/markdown/index.d.ts +22 -0
- package/dist/core/markdown/index.d.ts.map +1 -0
- package/dist/core/markdown/index.js +20 -0
- package/dist/core/markdown/parser.d.ts +69 -0
- package/dist/core/markdown/parser.d.ts.map +1 -0
- package/dist/core/markdown/parser.js +376 -0
- package/dist/core/markdown/plugins.d.ts +113 -0
- package/dist/core/markdown/plugins.d.ts.map +1 -0
- package/dist/core/markdown/plugins.js +608 -0
- package/dist/core/markdown/types.d.ts +155 -0
- package/dist/core/markdown/types.d.ts.map +1 -0
- package/dist/core/markdown/types.js +7 -0
- package/dist/core/router/index.d.ts +113 -0
- package/dist/core/router/index.d.ts.map +1 -0
- package/dist/core/router/index.js +244 -0
- package/dist/core/styles.d.ts +11 -2
- package/dist/core/styles.d.ts.map +1 -1
- package/dist/core/styles.js +44 -0
- package/dist/core/types.d.ts +153 -16
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js +1 -0
- package/dist/index.d.ts +45 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +17381 -6235
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +8294 -3937
- package/dist/index.umd.js.map +1 -1
- package/dist/styles/AGENTS.md +36 -0
- package/dist/styles/aithe-ui.d.ts +113 -0
- package/dist/styles/aithe-ui.d.ts.map +1 -0
- package/dist/styles/aithe-ui.js +185 -0
- package/dist/styles/global.css.d.ts +3 -1
- package/dist/styles/global.css.d.ts.map +1 -1
- package/dist/styles/global.css.js +119 -0
- package/dist/styles/i18n/index.d.ts +66 -0
- package/dist/styles/i18n/index.d.ts.map +1 -0
- package/dist/styles/i18n/index.js +206 -0
- package/dist/styles/i18n/locales/de-DE.d.ts +6 -0
- package/dist/styles/i18n/locales/de-DE.d.ts.map +1 -0
- package/dist/styles/i18n/locales/de-DE.js +148 -0
- package/dist/styles/i18n/locales/en-US.d.ts +6 -0
- package/dist/styles/i18n/locales/en-US.d.ts.map +1 -0
- package/dist/styles/i18n/locales/en-US.js +157 -0
- package/dist/styles/i18n/locales/es-ES.d.ts +6 -0
- package/dist/styles/i18n/locales/es-ES.d.ts.map +1 -0
- package/dist/styles/i18n/locales/es-ES.js +148 -0
- package/dist/styles/i18n/locales/fr-FR.d.ts +6 -0
- package/dist/styles/i18n/locales/fr-FR.d.ts.map +1 -0
- package/dist/styles/i18n/locales/fr-FR.js +148 -0
- package/dist/styles/i18n/locales/index.d.ts +15 -0
- package/dist/styles/i18n/locales/index.d.ts.map +1 -0
- package/dist/styles/i18n/locales/index.js +14 -0
- package/dist/styles/i18n/locales/ja-JP.d.ts +6 -0
- package/dist/styles/i18n/locales/ja-JP.d.ts.map +1 -0
- package/dist/styles/i18n/locales/ja-JP.js +148 -0
- package/dist/styles/i18n/locales/ko-KR.d.ts +6 -0
- package/dist/styles/i18n/locales/ko-KR.d.ts.map +1 -0
- package/dist/styles/i18n/locales/ko-KR.js +148 -0
- package/dist/styles/i18n/locales/pt-BR.d.ts +6 -0
- package/dist/styles/i18n/locales/pt-BR.d.ts.map +1 -0
- package/dist/styles/i18n/locales/pt-BR.js +148 -0
- package/dist/styles/i18n/locales/zh-CN.d.ts +6 -0
- package/dist/styles/i18n/locales/zh-CN.d.ts.map +1 -0
- package/dist/styles/i18n/locales/zh-CN.js +157 -0
- package/dist/styles/i18n/locales/zh-HK.d.ts +6 -0
- package/dist/styles/i18n/locales/zh-HK.d.ts.map +1 -0
- package/dist/styles/i18n/locales/zh-HK.js +148 -0
- package/dist/styles/i18n/locales/zh-TW.d.ts +6 -0
- package/dist/styles/i18n/locales/zh-TW.d.ts.map +1 -0
- package/dist/styles/i18n/locales/zh-TW.js +148 -0
- package/dist/styles/layout/index.d.ts +44 -0
- package/dist/styles/layout/index.d.ts.map +1 -0
- package/dist/styles/layout/index.js +88 -0
- package/dist/styles/mixins.d.ts +4 -0
- package/dist/styles/mixins.d.ts.map +1 -1
- package/dist/styles/mixins.js +43 -0
- package/dist/styles/shadow/cyber.d.ts +9 -0
- package/dist/styles/shadow/cyber.d.ts.map +1 -0
- package/dist/styles/shadow/cyber.js +19 -0
- package/dist/styles/shadow/deep.d.ts +9 -0
- package/dist/styles/shadow/deep.d.ts.map +1 -0
- package/dist/styles/shadow/deep.js +19 -0
- package/dist/styles/shadow/diffuse.d.ts +9 -0
- package/dist/styles/shadow/diffuse.d.ts.map +1 -0
- package/dist/styles/shadow/diffuse.js +19 -0
- package/dist/styles/shadow/flat.d.ts +9 -0
- package/dist/styles/shadow/flat.d.ts.map +1 -0
- package/dist/styles/shadow/flat.js +19 -0
- package/dist/styles/shadow/glassmorphism.d.ts +9 -0
- package/dist/styles/shadow/glassmorphism.d.ts.map +1 -0
- package/dist/styles/shadow/glassmorphism.js +19 -0
- package/dist/styles/shadow/index.d.ts +30 -0
- package/dist/styles/shadow/index.d.ts.map +1 -0
- package/dist/styles/shadow/index.js +129 -0
- package/dist/styles/shadow/neumorphism.d.ts +11 -0
- package/dist/styles/shadow/neumorphism.d.ts.map +1 -0
- package/dist/styles/shadow/neumorphism.js +21 -0
- package/dist/styles/shadow/retro.d.ts +9 -0
- package/dist/styles/shadow/retro.d.ts.map +1 -0
- package/dist/styles/shadow/retro.js +19 -0
- package/dist/styles/shadow/sharp-business.d.ts +9 -0
- package/dist/styles/shadow/sharp-business.d.ts.map +1 -0
- package/dist/styles/shadow/sharp-business.js +19 -0
- package/dist/styles/shadow/skeuomorphic.d.ts +11 -0
- package/dist/styles/shadow/skeuomorphic.d.ts.map +1 -0
- package/dist/styles/shadow/skeuomorphic.js +21 -0
- package/dist/styles/shape/chamfer.d.ts +9 -0
- package/dist/styles/shape/chamfer.d.ts.map +1 -0
- package/dist/styles/shape/chamfer.js +19 -0
- package/dist/styles/shape/circle.d.ts +9 -0
- package/dist/styles/shape/circle.d.ts.map +1 -0
- package/dist/styles/shape/circle.js +19 -0
- package/dist/styles/shape/index.d.ts +66 -0
- package/dist/styles/shape/index.d.ts.map +1 -0
- package/dist/styles/shape/index.js +174 -0
- package/dist/styles/shape/organic.d.ts +9 -0
- package/dist/styles/shape/organic.d.ts.map +1 -0
- package/dist/styles/shape/organic.js +19 -0
- package/dist/styles/shape/pill.d.ts +9 -0
- package/dist/styles/shape/pill.d.ts.map +1 -0
- package/dist/styles/shape/pill.js +19 -0
- package/dist/styles/shape/rounded.d.ts +11 -0
- package/dist/styles/shape/rounded.d.ts.map +1 -0
- package/dist/styles/shape/rounded.js +21 -0
- package/dist/styles/shape/rounder.d.ts +9 -0
- package/dist/styles/shape/rounder.d.ts.map +1 -0
- package/dist/styles/shape/rounder.js +19 -0
- package/dist/styles/shape/sharp.d.ts +9 -0
- package/dist/styles/shape/sharp.d.ts.map +1 -0
- package/dist/styles/shape/sharp.js +19 -0
- package/dist/styles/shape/smooth.d.ts +9 -0
- package/dist/styles/shape/smooth.d.ts.map +1 -0
- package/dist/styles/shape/smooth.js +19 -0
- package/dist/styles/theme/aliyun.d.ts +10 -0
- package/dist/styles/theme/aliyun.d.ts.map +1 -0
- package/dist/styles/theme/aliyun.js +102 -0
- package/dist/styles/theme/amber.d.ts +9 -0
- package/dist/styles/theme/amber.d.ts.map +1 -0
- package/dist/styles/theme/amber.js +101 -0
- package/dist/styles/theme/blue.d.ts +8 -1
- package/dist/styles/theme/blue.d.ts.map +1 -1
- package/dist/styles/theme/blue.js +101 -0
- package/dist/styles/theme/charcoal.d.ts +9 -0
- package/dist/styles/theme/charcoal.d.ts.map +1 -0
- package/dist/styles/theme/charcoal.js +106 -0
- package/dist/styles/theme/cyan.d.ts +9 -0
- package/dist/styles/theme/cyan.d.ts.map +1 -0
- package/dist/styles/theme/cyan.js +96 -0
- package/dist/styles/theme/dark.d.ts +8 -1
- package/dist/styles/theme/dark.d.ts.map +1 -1
- package/dist/styles/theme/dark.js +106 -0
- package/dist/styles/theme/ebony.d.ts +9 -0
- package/dist/styles/theme/ebony.d.ts.map +1 -0
- package/dist/styles/theme/ebony.js +106 -0
- package/dist/styles/theme/festive.d.ts +9 -0
- package/dist/styles/theme/festive.d.ts.map +1 -0
- package/dist/styles/theme/festive.js +101 -0
- package/dist/styles/theme/graphite.d.ts +9 -0
- package/dist/styles/theme/graphite.d.ts.map +1 -0
- package/dist/styles/theme/graphite.js +106 -0
- package/dist/styles/theme/gray.d.ts +8 -1
- package/dist/styles/theme/gray.d.ts.map +1 -1
- package/dist/styles/theme/gray.js +101 -0
- package/dist/styles/theme/huawei.d.ts +10 -0
- package/dist/styles/theme/huawei.d.ts.map +1 -0
- package/dist/styles/theme/huawei.js +102 -0
- package/dist/styles/theme/index.d.ts +85 -0
- package/dist/styles/theme/index.d.ts.map +1 -0
- package/dist/styles/theme/index.js +276 -0
- package/dist/styles/theme/indigo.d.ts +9 -0
- package/dist/styles/theme/indigo.d.ts.map +1 -0
- package/dist/styles/theme/indigo.js +101 -0
- package/dist/styles/theme/ink.d.ts +9 -0
- package/dist/styles/theme/ink.d.ts.map +1 -0
- package/dist/styles/theme/ink.js +106 -0
- package/dist/styles/theme/light.d.ts +8 -1
- package/dist/styles/theme/light.d.ts.map +1 -1
- package/dist/styles/theme/light.js +102 -0
- package/dist/styles/theme/midnight.d.ts +9 -0
- package/dist/styles/theme/midnight.d.ts.map +1 -0
- package/dist/styles/theme/midnight.js +106 -0
- package/dist/styles/theme/navy.d.ts +9 -0
- package/dist/styles/theme/navy.d.ts.map +1 -0
- package/dist/styles/theme/navy.js +106 -0
- package/dist/styles/theme/obsidian.d.ts +9 -0
- package/dist/styles/theme/obsidian.d.ts.map +1 -0
- package/dist/styles/theme/obsidian.js +106 -0
- package/dist/styles/theme/onyx.d.ts +9 -0
- package/dist/styles/theme/onyx.d.ts.map +1 -0
- package/dist/styles/theme/onyx.js +106 -0
- package/dist/styles/theme/orange.d.ts +9 -0
- package/dist/styles/theme/orange.d.ts.map +1 -0
- package/dist/styles/theme/orange.js +101 -0
- package/dist/styles/theme/pink.d.ts +9 -0
- package/dist/styles/theme/pink.d.ts.map +1 -0
- package/dist/styles/theme/pink.js +101 -0
- package/dist/styles/theme/purple.d.ts +9 -0
- package/dist/styles/theme/purple.d.ts.map +1 -0
- package/dist/styles/theme/purple.js +101 -0
- package/dist/styles/theme/raisin.d.ts +9 -0
- package/dist/styles/theme/raisin.d.ts.map +1 -0
- package/dist/styles/theme/raisin.js +106 -0
- package/dist/styles/theme/slate.d.ts +9 -0
- package/dist/styles/theme/slate.d.ts.map +1 -0
- package/dist/styles/theme/slate.js +106 -0
- package/dist/styles/theme/teal.d.ts +9 -0
- package/dist/styles/theme/teal.d.ts.map +1 -0
- package/dist/styles/theme/teal.js +101 -0
- package/dist/styles/theme/tianyi.d.ts +10 -0
- package/dist/styles/theme/tianyi.d.ts.map +1 -0
- package/dist/styles/theme/tianyi.js +102 -0
- package/dist/styles/types.d.ts +56 -0
- package/dist/styles/types.d.ts.map +1 -0
- package/dist/styles/types.js +1 -0
- package/dist/styles/typo/business.d.ts +2 -0
- package/dist/styles/typo/business.d.ts.map +1 -0
- package/dist/styles/typo/business.js +34 -0
- package/dist/styles/typo/compact.d.ts +2 -0
- package/dist/styles/typo/compact.d.ts.map +1 -0
- package/dist/styles/typo/compact.js +34 -0
- package/dist/styles/typo/index.d.ts +22 -0
- package/dist/styles/typo/index.d.ts.map +1 -0
- package/dist/styles/typo/index.js +99 -0
- package/dist/styles/typo/luxury.d.ts +2 -0
- package/dist/styles/typo/luxury.d.ts.map +1 -0
- package/dist/styles/typo/luxury.js +34 -0
- package/dist/styles/typo/minimal.d.ts +2 -0
- package/dist/styles/typo/minimal.d.ts.map +1 -0
- package/dist/styles/typo/minimal.js +34 -0
- package/dist/types/AGENTS.md +25 -0
- package/dist/types/index.d.ts +1 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/index.js +2 -0
- package/dist/utils/AGENTS.md +28 -0
- package/dist/utils/dom.d.ts +22 -0
- package/dist/utils/dom.d.ts.map +1 -1
- package/dist/utils/dom.js +51 -0
- package/dist/utils/events.d.ts +11 -1
- package/dist/utils/events.d.ts.map +1 -1
- package/dist/utils/events.js +32 -0
- package/dist/utils/icon.d.ts +16 -0
- package/dist/utils/icon.d.ts.map +1 -0
- package/dist/utils/icon.js +176 -0
- package/dist/utils/index.d.ts +1 -2
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +4 -0
- package/dist/utils/utils.d.ts +47 -0
- package/dist/utils/utils.d.ts.map +1 -0
- package/dist/utils/utils.js +89 -0
- package/dist/utils/validation.d.ts +26 -0
- package/dist/utils/validation.d.ts.map +1 -1
- package/dist/utils/validation.js +52 -0
- package/docs/api/AGENTS.md +61 -0
- package/docs/api/basic/avatar.md +22 -2
- package/docs/api/basic/button.md +51 -23
- package/docs/api/basic/icon.md +64 -8
- package/docs/api/basic/tag.md +24 -17
- package/docs/api/data/box-table.md +73 -0
- package/docs/api/data/dropdown.md +74 -0
- package/docs/api/data/metrics-group.md +120 -0
- package/docs/api/data/metrics.md +155 -0
- package/docs/api/data/table-column.md +38 -24
- package/docs/api/data/table.md +159 -45
- package/docs/api/data/tabs.md +46 -1
- package/docs/api/data/timeline.md +4 -4
- package/docs/api/data/tree-menu.md +112 -20
- package/docs/api/data/tree.md +41 -24
- package/docs/api/display/box.md +66 -0
- package/docs/api/display/brief-box.md +73 -0
- package/docs/api/display/code-editor.md +275 -0
- package/docs/api/display/desc-item.md +57 -0
- package/docs/api/display/desc.md +204 -0
- package/docs/api/display/detail-box.md +75 -0
- package/docs/api/display/label.md +85 -0
- package/docs/api/display/markdown-editor.md +110 -0
- package/docs/api/display/markdown.md +72 -14
- package/docs/api/display/mini-box.md +100 -0
- package/docs/api/display/profile.md +92 -0
- package/docs/api/feedback/popover.md +10 -10
- package/docs/api/feedback/tooltip.md +14 -14
- package/docs/api/form/autoform-item.md +100 -0
- package/docs/api/form/autoform.md +271 -0
- package/docs/api/form/combobox.md +2 -2
- package/docs/api/form/select.md +28 -28
- package/docs/api/form/switch.md +2 -2
- package/docs/api/framework/body.md +72 -0
- package/docs/api/framework/dashboard-panel.md +127 -0
- package/docs/api/framework/dashboard.md +140 -0
- package/docs/api/framework/header.md +112 -0
- package/docs/api/framework/log-panel.md +46 -0
- package/docs/api/framework/page.md +144 -0
- package/docs/api/framework/sidebar.md +181 -0
- package/docs/api/navigation/menu-item.md +24 -16
- package/docs/api/navigation/sub-menu.md +29 -18
- package/docs/api/summary.md +143 -95
- package/docs/api/theme/locale-switch.md +65 -11
- package/docs/api/theme/shadow-picker.md +103 -0
- package/docs/api/theme/shape-picker.md +94 -0
- package/docs/api/theme/theme-picker.md +32 -14
- package/docs/api/theme/theme-preview.md +58 -11
- package/docs/api/theme/theme-switch.md +93 -0
- package/docs/api/theme/typo-picker.md +238 -0
- package/docs/api/utils/icon.md +192 -0
- package/docs/autoform.md +339 -0
- package/docs/changelog/AGENTS.md +23 -0
- package/docs/changelog/CHANGELOG.md +166 -1
- package/docs/changelog/VERSION_26.2.3.md +877 -0
- package/docs/changelog/VERSION_26.3.1.md +966 -0
- package/docs/datahub.md +832 -0
- package/docs/filter.md +332 -0
- package/docs/framework-integration.md +169 -21
- package/docs/guide.md +835 -7
- package/docs/highlight.md +363 -0
- package/docs/i18n.md +148 -82
- package/docs/issue/AGENTS.md +22 -0
- package/docs/issue/issue_26.2.3.1.md +45 -0
- package/docs/issue/issue_26.2.3.10.md +81 -0
- package/docs/issue/issue_26.2.3.11.md +87 -0
- package/docs/issue/issue_26.2.3.12.md +100 -0
- package/docs/issue/issue_26.2.3.13.md +72 -0
- package/docs/issue/issue_26.2.3.14.md +130 -0
- package/docs/issue/issue_26.2.3.15.md +208 -0
- package/docs/issue/issue_26.2.3.16.md +88 -0
- package/docs/issue/issue_26.2.3.2.md +83 -0
- package/docs/issue/issue_26.2.3.3.md +131 -0
- package/docs/issue/issue_26.2.3.4.md +24 -0
- package/docs/issue/issue_26.2.3.5.md +54 -0
- package/docs/issue/issue_26.2.3.6.md +84 -0
- package/docs/issue/issue_26.2.3.7.md +61 -0
- package/docs/issue/issue_26.2.3.8.md +90 -0
- package/docs/issue/issue_26.2.3.9.md +76 -0
- package/docs/issue/issue_26.3.1.0.md +84 -0
- package/docs/issue/issue_26.3.1.1.md +72 -0
- package/docs/issue/issue_26.3.1.2.md +75 -0
- package/docs/issue/issue_26.3.1.3.md +78 -0
- package/docs/issue/issue_26.3.1.4.md +113 -0
- package/docs/issue/issue_26.3.1.5.md +142 -0
- package/docs/issue/issue_26.3.1.6.md +100 -0
- package/docs/issue/issue_26.3.1.7.md +78 -0
- package/docs/markdown.md +432 -0
- package/docs/quickstart.md +163 -29
- package/docs/theming.md +421 -32
- package/package.json +17 -11
- package/dist/apps/api/index.html +0 -13
- package/dist/apps/demo/i18n/en.d.ts +0 -3
- package/dist/apps/demo/i18n/en.d.ts.map +0 -1
- package/dist/apps/demo/i18n/zh.d.ts +0 -3
- package/dist/apps/demo/i18n/zh.d.ts.map +0 -1
- package/dist/apps/demo/index.html +0 -13
- package/dist/base/aithe-element.d.ts +0 -29
- package/dist/base/aithe-element.d.ts.map +0 -1
- package/dist/components/avatar/avatar.d.ts +0 -13
- package/dist/components/avatar/avatar.d.ts.map +0 -1
- package/dist/components/badge/badge.d.ts +0 -14
- package/dist/components/badge/badge.d.ts.map +0 -1
- package/dist/components/breadcrumb/breadcrumb-item.d.ts +0 -11
- package/dist/components/breadcrumb/breadcrumb-item.d.ts.map +0 -1
- package/dist/components/breadcrumb/breadcrumb.d.ts +0 -9
- package/dist/components/breadcrumb/breadcrumb.d.ts.map +0 -1
- package/dist/components/button/button.d.ts +0 -13
- package/dist/components/button/button.d.ts.map +0 -1
- package/dist/components/card/card.d.ts +0 -18
- package/dist/components/card/card.d.ts.map +0 -1
- package/dist/components/checkbox/checkbox-group.d.ts +0 -17
- package/dist/components/checkbox/checkbox-group.d.ts.map +0 -1
- package/dist/components/checkbox/checkbox.d.ts +0 -15
- package/dist/components/checkbox/checkbox.d.ts.map +0 -1
- package/dist/components/data/tab-group.d.ts +0 -8
- package/dist/components/data/tab-group.d.ts.map +0 -1
- package/dist/components/divider/divider.d.ts +0 -9
- package/dist/components/divider/divider.d.ts.map +0 -1
- package/dist/components/drawer/drawer.d.ts +0 -29
- package/dist/components/drawer/drawer.d.ts.map +0 -1
- package/dist/components/dropdown/dropdown.d.ts +0 -34
- package/dist/components/dropdown/dropdown.d.ts.map +0 -1
- package/dist/components/feedback/dropdown.d.ts +0 -34
- package/dist/components/feedback/dropdown.d.ts.map +0 -1
- package/dist/components/input/input.d.ts +0 -28
- package/dist/components/input/input.d.ts.map +0 -1
- package/dist/components/layout/page-container.d.ts +0 -11
- package/dist/components/layout/page-container.d.ts.map +0 -1
- package/dist/components/layout/page.d.ts +0 -8
- package/dist/components/layout/page.d.ts.map +0 -1
- package/dist/components/layout/timeline-item.d.ts +0 -12
- package/dist/components/layout/timeline-item.d.ts.map +0 -1
- package/dist/components/layout/timeline.d.ts +0 -12
- package/dist/components/layout/timeline.d.ts.map +0 -1
- package/dist/components/modal/modal.d.ts +0 -28
- package/dist/components/modal/modal.d.ts.map +0 -1
- package/dist/components/popover/popover.d.ts +0 -16
- package/dist/components/popover/popover.d.ts.map +0 -1
- package/dist/components/radio/radio-group.d.ts +0 -15
- package/dist/components/radio/radio-group.d.ts.map +0 -1
- package/dist/components/radio/radio.d.ts +0 -12
- package/dist/components/radio/radio.d.ts.map +0 -1
- package/dist/components/select/select.d.ts +0 -35
- package/dist/components/select/select.d.ts.map +0 -1
- package/dist/components/switch/switch.d.ts +0 -12
- package/dist/components/switch/switch.d.ts.map +0 -1
- package/dist/components/table/table.d.ts +0 -30
- package/dist/components/table/table.d.ts.map +0 -1
- package/dist/components/tabs/tab-pane.d.ts +0 -11
- package/dist/components/tabs/tab-pane.d.ts.map +0 -1
- package/dist/components/tabs/tabs.d.ts +0 -15
- package/dist/components/tabs/tabs.d.ts.map +0 -1
- package/dist/components/tag/tag.d.ts +0 -14
- package/dist/components/tag/tag.d.ts.map +0 -1
- package/dist/components/tooltip/tooltip.d.ts +0 -18
- package/dist/components/tooltip/tooltip.d.ts.map +0 -1
- package/dist/core/utils.d.ts +0 -6
- package/dist/core/utils.d.ts.map +0 -1
- package/dist/demo/app.d.ts +0 -19
- package/dist/demo/app.d.ts.map +0 -1
- package/dist/demo/editor.d.ts +0 -28
- package/dist/demo/editor.d.ts.map +0 -1
- package/dist/demo/helpers.d.ts +0 -2
- package/dist/demo/helpers.d.ts.map +0 -1
- package/dist/demo/pages/basic.d.ts +0 -3
- package/dist/demo/pages/basic.d.ts.map +0 -1
- package/dist/demo/pages/container.d.ts +0 -3
- package/dist/demo/pages/container.d.ts.map +0 -1
- package/dist/demo/pages/data.d.ts +0 -3
- package/dist/demo/pages/data.d.ts.map +0 -1
- package/dist/demo/pages/display.d.ts +0 -3
- package/dist/demo/pages/display.d.ts.map +0 -1
- package/dist/demo/pages/feedback.d.ts +0 -3
- package/dist/demo/pages/feedback.d.ts.map +0 -1
- package/dist/demo/pages/form.d.ts +0 -3
- package/dist/demo/pages/form.d.ts.map +0 -1
- package/dist/demo/pages/layout.d.ts +0 -3
- package/dist/demo/pages/layout.d.ts.map +0 -1
- package/dist/demo/pages/navigation.d.ts +0 -3
- package/dist/demo/pages/navigation.d.ts.map +0 -1
- package/dist/demo/pages/progress.d.ts +0 -3
- package/dist/demo/pages/progress.d.ts.map +0 -1
- package/dist/demo/standalone.d.ts.map +0 -1
- package/dist/demo-page.d.ts +0 -2
- package/dist/demo-page.d.ts.map +0 -1
- package/dist/demo.d.ts +0 -2
- package/dist/demo.d.ts.map +0 -1
- package/dist/global.d.ts +0 -5
- package/dist/global.d.ts.map +0 -1
- package/dist/index-jd7NIlfT.js +0 -9798
- package/dist/index-jd7NIlfT.js.map +0 -1
- package/dist/index2.js +0 -9892
- package/dist/index2.js.map +0 -1
- package/dist/src/base/aithe-element.d.ts +0 -59
- package/dist/src/base/aithe-element.d.ts.map +0 -1
- package/dist/src/components/basic/avatar.d.ts +0 -31
- package/dist/src/components/basic/avatar.d.ts.map +0 -1
- package/dist/src/components/basic/badge.d.ts +0 -33
- package/dist/src/components/basic/badge.d.ts.map +0 -1
- package/dist/src/components/basic/button-group.d.ts +0 -23
- package/dist/src/components/basic/button-group.d.ts.map +0 -1
- package/dist/src/components/basic/button.d.ts +0 -44
- package/dist/src/components/basic/button.d.ts.map +0 -1
- package/dist/src/components/basic/card.d.ts +0 -38
- package/dist/src/components/basic/card.d.ts.map +0 -1
- package/dist/src/components/basic/chip.d.ts +0 -26
- package/dist/src/components/basic/chip.d.ts.map +0 -1
- package/dist/src/components/basic/divider.d.ts +0 -23
- package/dist/src/components/basic/divider.d.ts.map +0 -1
- package/dist/src/components/basic/empty.d.ts +0 -21
- package/dist/src/components/basic/empty.d.ts.map +0 -1
- package/dist/src/components/basic/icon.d.ts +0 -60
- package/dist/src/components/basic/icon.d.ts.map +0 -1
- package/dist/src/components/basic/input.d.ts +0 -57
- package/dist/src/components/basic/input.d.ts.map +0 -1
- package/dist/src/components/basic/tag.d.ts +0 -34
- package/dist/src/components/basic/tag.d.ts.map +0 -1
- package/dist/src/components/basic/textarea.d.ts +0 -34
- package/dist/src/components/basic/textarea.d.ts.map +0 -1
- package/dist/src/components/container/callout.d.ts +0 -23
- package/dist/src/components/container/callout.d.ts.map +0 -1
- package/dist/src/components/container/details.d.ts +0 -29
- package/dist/src/components/container/details.d.ts.map +0 -1
- package/dist/src/components/container/scroller.d.ts +0 -32
- package/dist/src/components/container/scroller.d.ts.map +0 -1
- package/dist/src/components/container/split-panel.d.ts +0 -38
- package/dist/src/components/container/split-panel.d.ts.map +0 -1
- package/dist/src/components/data/pagination.d.ts +0 -27
- package/dist/src/components/data/pagination.d.ts.map +0 -1
- package/dist/src/components/data/tab-pane.d.ts +0 -33
- package/dist/src/components/data/tab-pane.d.ts.map +0 -1
- package/dist/src/components/data/table-column.d.ts +0 -46
- package/dist/src/components/data/table-column.d.ts.map +0 -1
- package/dist/src/components/data/table.d.ts +0 -88
- package/dist/src/components/data/table.d.ts.map +0 -1
- package/dist/src/components/data/tabs.d.ts +0 -38
- package/dist/src/components/data/tabs.d.ts.map +0 -1
- package/dist/src/components/data/timeline-item.d.ts +0 -24
- package/dist/src/components/data/timeline-item.d.ts.map +0 -1
- package/dist/src/components/data/timeline.d.ts +0 -49
- package/dist/src/components/data/timeline.d.ts.map +0 -1
- package/dist/src/components/data/tree-menu.d.ts +0 -43
- package/dist/src/components/data/tree-menu.d.ts.map +0 -1
- package/dist/src/components/data/tree.d.ts +0 -45
- package/dist/src/components/data/tree.d.ts.map +0 -1
- package/dist/src/components/display/animated-image.d.ts +0 -25
- package/dist/src/components/display/animated-image.d.ts.map +0 -1
- package/dist/src/components/display/carousel.d.ts +0 -41
- package/dist/src/components/display/carousel.d.ts.map +0 -1
- package/dist/src/components/display/comparison.d.ts +0 -24
- package/dist/src/components/display/comparison.d.ts.map +0 -1
- package/dist/src/components/display/markdown.d.ts +0 -19
- package/dist/src/components/display/markdown.d.ts.map +0 -1
- package/dist/src/components/feedback/alert.d.ts +0 -32
- package/dist/src/components/feedback/alert.d.ts.map +0 -1
- package/dist/src/components/feedback/dialog.d.ts +0 -42
- package/dist/src/components/feedback/dialog.d.ts.map +0 -1
- package/dist/src/components/feedback/drawer.d.ts +0 -59
- package/dist/src/components/feedback/drawer.d.ts.map +0 -1
- package/dist/src/components/feedback/dropdown.d.ts +0 -70
- package/dist/src/components/feedback/dropdown.d.ts.map +0 -1
- package/dist/src/components/feedback/loading.d.ts +0 -27
- package/dist/src/components/feedback/loading.d.ts.map +0 -1
- package/dist/src/components/feedback/modal.d.ts +0 -58
- package/dist/src/components/feedback/modal.d.ts.map +0 -1
- package/dist/src/components/feedback/notification.d.ts +0 -35
- package/dist/src/components/feedback/notification.d.ts.map +0 -1
- package/dist/src/components/feedback/popover.d.ts +0 -35
- package/dist/src/components/feedback/popover.d.ts.map +0 -1
- package/dist/src/components/feedback/toast.d.ts +0 -35
- package/dist/src/components/feedback/toast.d.ts.map +0 -1
- package/dist/src/components/feedback/tooltip.d.ts +0 -41
- package/dist/src/components/feedback/tooltip.d.ts.map +0 -1
- package/dist/src/components/form/checkbox-group.d.ts +0 -38
- package/dist/src/components/form/checkbox-group.d.ts.map +0 -1
- package/dist/src/components/form/checkbox.d.ts +0 -35
- package/dist/src/components/form/checkbox.d.ts.map +0 -1
- package/dist/src/components/form/color-picker.d.ts +0 -32
- package/dist/src/components/form/color-picker.d.ts.map +0 -1
- package/dist/src/components/form/combobox.d.ts +0 -45
- package/dist/src/components/form/combobox.d.ts.map +0 -1
- package/dist/src/components/form/date-picker.d.ts +0 -30
- package/dist/src/components/form/date-picker.d.ts.map +0 -1
- package/dist/src/components/form/form-item.d.ts +0 -34
- package/dist/src/components/form/form-item.d.ts.map +0 -1
- package/dist/src/components/form/form.d.ts +0 -32
- package/dist/src/components/form/form.d.ts.map +0 -1
- package/dist/src/components/form/radio-group.d.ts +0 -34
- package/dist/src/components/form/radio-group.d.ts.map +0 -1
- package/dist/src/components/form/radio.d.ts +0 -30
- package/dist/src/components/form/radio.d.ts.map +0 -1
- package/dist/src/components/form/rate.d.ts +0 -27
- package/dist/src/components/form/rate.d.ts.map +0 -1
- package/dist/src/components/form/select.d.ts +0 -74
- package/dist/src/components/form/select.d.ts.map +0 -1
- package/dist/src/components/form/slider.d.ts +0 -33
- package/dist/src/components/form/slider.d.ts.map +0 -1
- package/dist/src/components/form/switch.d.ts +0 -28
- package/dist/src/components/form/switch.d.ts.map +0 -1
- package/dist/src/components/form/time-picker.d.ts +0 -26
- package/dist/src/components/form/time-picker.d.ts.map +0 -1
- package/dist/src/components/form/transfer.d.ts +0 -42
- package/dist/src/components/form/transfer.d.ts.map +0 -1
- package/dist/src/components/form/upload.d.ts +0 -34
- package/dist/src/components/form/upload.d.ts.map +0 -1
- package/dist/src/components/layout/affix.d.ts +0 -35
- package/dist/src/components/layout/affix.d.ts.map +0 -1
- package/dist/src/components/layout/col.d.ts +0 -32
- package/dist/src/components/layout/col.d.ts.map +0 -1
- package/dist/src/components/layout/collapse-item.d.ts +0 -31
- package/dist/src/components/layout/collapse-item.d.ts.map +0 -1
- package/dist/src/components/layout/collapse.d.ts +0 -31
- package/dist/src/components/layout/collapse.d.ts.map +0 -1
- package/dist/src/components/layout/container.d.ts +0 -30
- package/dist/src/components/layout/container.d.ts.map +0 -1
- package/dist/src/components/layout/flex.d.ts +0 -31
- package/dist/src/components/layout/flex.d.ts.map +0 -1
- package/dist/src/components/layout/page-container.d.ts +0 -22
- package/dist/src/components/layout/page-container.d.ts.map +0 -1
- package/dist/src/components/layout/page.d.ts +0 -26
- package/dist/src/components/layout/page.d.ts.map +0 -1
- package/dist/src/components/layout/row.d.ts +0 -27
- package/dist/src/components/layout/row.d.ts.map +0 -1
- package/dist/src/components/layout/space.d.ts +0 -27
- package/dist/src/components/layout/space.d.ts.map +0 -1
- package/dist/src/components/layout/timeline-item.d.ts +0 -24
- package/dist/src/components/layout/timeline-item.d.ts.map +0 -1
- package/dist/src/components/layout/timeline.d.ts +0 -49
- package/dist/src/components/layout/timeline.d.ts.map +0 -1
- package/dist/src/components/navigation/back-top.d.ts +0 -30
- package/dist/src/components/navigation/back-top.d.ts.map +0 -1
- package/dist/src/components/navigation/breadcrumb-item.d.ts +0 -26
- package/dist/src/components/navigation/breadcrumb-item.d.ts.map +0 -1
- package/dist/src/components/navigation/breadcrumb.d.ts +0 -24
- package/dist/src/components/navigation/breadcrumb.d.ts.map +0 -1
- package/dist/src/components/navigation/dropdown.d.ts +0 -70
- package/dist/src/components/navigation/dropdown.d.ts.map +0 -1
- package/dist/src/components/navigation/menu-item.d.ts +0 -33
- package/dist/src/components/navigation/menu-item.d.ts.map +0 -1
- package/dist/src/components/navigation/menu.d.ts +0 -35
- package/dist/src/components/navigation/menu.d.ts.map +0 -1
- package/dist/src/components/navigation/steps.d.ts +0 -31
- package/dist/src/components/navigation/steps.d.ts.map +0 -1
- package/dist/src/components/navigation/sub-menu.d.ts +0 -37
- package/dist/src/components/navigation/sub-menu.d.ts.map +0 -1
- package/dist/src/components/navigation/theme-picker.d.ts +0 -27
- package/dist/src/components/navigation/theme-picker.d.ts.map +0 -1
- package/dist/src/components/progress/progress-bar.d.ts +0 -21
- package/dist/src/components/progress/progress-bar.d.ts.map +0 -1
- package/dist/src/components/progress/progress-ring.d.ts +0 -23
- package/dist/src/components/progress/progress-ring.d.ts.map +0 -1
- package/dist/src/components/progress/skeleton.d.ts +0 -28
- package/dist/src/components/progress/skeleton.d.ts.map +0 -1
- package/dist/src/components/progress/spinner.d.ts +0 -21
- package/dist/src/components/progress/spinner.d.ts.map +0 -1
- package/dist/src/components/theme/locale-switch.d.ts +0 -24
- package/dist/src/components/theme/locale-switch.d.ts.map +0 -1
- package/dist/src/components/theme/theme-picker.d.ts +0 -43
- package/dist/src/components/theme/theme-picker.d.ts.map +0 -1
- package/dist/src/components/theme/theme-preview.d.ts +0 -29
- package/dist/src/components/theme/theme-preview.d.ts.map +0 -1
- package/dist/src/core/aithe-element.d.ts +0 -2
- package/dist/src/core/aithe-element.d.ts.map +0 -1
- package/dist/src/core/anchored-overlay.d.ts +0 -43
- package/dist/src/core/anchored-overlay.d.ts.map +0 -1
- package/dist/src/core/floating.d.ts +0 -43
- package/dist/src/core/floating.d.ts.map +0 -1
- package/dist/src/core/i18n/index.d.ts +0 -125
- package/dist/src/core/i18n/index.d.ts.map +0 -1
- package/dist/src/core/i18n/locales/en-US.d.ts +0 -7
- package/dist/src/core/i18n/locales/en-US.d.ts.map +0 -1
- package/dist/src/core/i18n/locales/en.d.ts +0 -3
- package/dist/src/core/i18n/locales/en.d.ts.map +0 -1
- package/dist/src/core/i18n/locales/index.d.ts +0 -7
- package/dist/src/core/i18n/locales/index.d.ts.map +0 -1
- package/dist/src/core/i18n/locales/zh-CN.d.ts +0 -7
- package/dist/src/core/i18n/locales/zh-CN.d.ts.map +0 -1
- package/dist/src/core/i18n/locales/zh.d.ts +0 -3
- package/dist/src/core/i18n/locales/zh.d.ts.map +0 -1
- package/dist/src/core/styles.d.ts +0 -17
- package/dist/src/core/styles.d.ts.map +0 -1
- package/dist/src/core/types.d.ts +0 -127
- package/dist/src/core/types.d.ts.map +0 -1
- package/dist/src/core/utils.d.ts +0 -44
- package/dist/src/core/utils.d.ts.map +0 -1
- package/dist/src/global.d.ts +0 -25
- package/dist/src/global.d.ts.map +0 -1
- package/dist/src/index.d.ts +0 -86
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/styles/global.css.d.ts +0 -5
- package/dist/src/styles/global.css.d.ts.map +0 -1
- package/dist/src/styles/mixins.d.ts +0 -9
- package/dist/src/styles/mixins.d.ts.map +0 -1
- package/dist/src/styles/theme/amber.d.ts +0 -3
- package/dist/src/styles/theme/amber.d.ts.map +0 -1
- package/dist/src/styles/theme/blue.d.ts +0 -3
- package/dist/src/styles/theme/blue.d.ts.map +0 -1
- package/dist/src/styles/theme/charcoal.d.ts +0 -3
- package/dist/src/styles/theme/charcoal.d.ts.map +0 -1
- package/dist/src/styles/theme/cyan.d.ts +0 -3
- package/dist/src/styles/theme/cyan.d.ts.map +0 -1
- package/dist/src/styles/theme/dark.d.ts +0 -3
- package/dist/src/styles/theme/dark.d.ts.map +0 -1
- package/dist/src/styles/theme/ebony.d.ts +0 -3
- package/dist/src/styles/theme/ebony.d.ts.map +0 -1
- package/dist/src/styles/theme/festive.d.ts +0 -3
- package/dist/src/styles/theme/festive.d.ts.map +0 -1
- package/dist/src/styles/theme/graphite.d.ts +0 -3
- package/dist/src/styles/theme/graphite.d.ts.map +0 -1
- package/dist/src/styles/theme/gray.d.ts +0 -3
- package/dist/src/styles/theme/gray.d.ts.map +0 -1
- package/dist/src/styles/theme/indigo.d.ts +0 -3
- package/dist/src/styles/theme/indigo.d.ts.map +0 -1
- package/dist/src/styles/theme/ink.d.ts +0 -3
- package/dist/src/styles/theme/ink.d.ts.map +0 -1
- package/dist/src/styles/theme/light.d.ts +0 -3
- package/dist/src/styles/theme/light.d.ts.map +0 -1
- package/dist/src/styles/theme/midnight.d.ts +0 -3
- package/dist/src/styles/theme/midnight.d.ts.map +0 -1
- package/dist/src/styles/theme/navy.d.ts +0 -3
- package/dist/src/styles/theme/navy.d.ts.map +0 -1
- package/dist/src/styles/theme/obsidian.d.ts +0 -3
- package/dist/src/styles/theme/obsidian.d.ts.map +0 -1
- package/dist/src/styles/theme/onyx.d.ts +0 -3
- package/dist/src/styles/theme/onyx.d.ts.map +0 -1
- package/dist/src/styles/theme/orange.d.ts +0 -3
- package/dist/src/styles/theme/orange.d.ts.map +0 -1
- package/dist/src/styles/theme/pink.d.ts +0 -3
- package/dist/src/styles/theme/pink.d.ts.map +0 -1
- package/dist/src/styles/theme/purple.d.ts +0 -3
- package/dist/src/styles/theme/purple.d.ts.map +0 -1
- package/dist/src/styles/theme/raisin.d.ts +0 -3
- package/dist/src/styles/theme/raisin.d.ts.map +0 -1
- package/dist/src/styles/theme/slate.d.ts +0 -3
- package/dist/src/styles/theme/slate.d.ts.map +0 -1
- package/dist/src/styles/theme/teal.d.ts +0 -3
- package/dist/src/styles/theme/teal.d.ts.map +0 -1
- package/dist/src/styles/theme.d.ts +0 -11
- package/dist/src/styles/theme.d.ts.map +0 -1
- package/dist/src/types/component.d.ts +0 -11
- package/dist/src/types/component.d.ts.map +0 -1
- package/dist/src/types/index.d.ts +0 -4
- package/dist/src/types/index.d.ts.map +0 -1
- package/dist/src/types/theme.d.ts +0 -17
- package/dist/src/types/theme.d.ts.map +0 -1
- package/dist/src/utils/dom.d.ts +0 -26
- package/dist/src/utils/dom.d.ts.map +0 -1
- package/dist/src/utils/events.d.ts +0 -11
- package/dist/src/utils/events.d.ts.map +0 -1
- package/dist/src/utils/index.d.ts +0 -6
- package/dist/src/utils/index.d.ts.map +0 -1
- package/dist/src/utils/theme.d.ts +0 -46
- package/dist/src/utils/theme.d.ts.map +0 -1
- package/dist/src/utils/validation.d.ts +0 -30
- package/dist/src/utils/validation.d.ts.map +0 -1
- package/dist/styles/theme.d.ts +0 -3
- package/dist/styles/theme.d.ts.map +0 -1
- package/dist/types/component.d.ts +0 -11
- package/dist/types/component.d.ts.map +0 -1
- package/dist/types/theme.d.ts +0 -17
- package/dist/types/theme.d.ts.map +0 -1
- package/dist/utils/theme.d.ts +0 -9
- package/dist/utils/theme.d.ts.map +0 -1
- package/docs/api/layout/page-container.md +0 -31
- package/docs/api/layout/page.md +0 -35
- package/docs/api/navigation/dropdown.md +0 -50
- /package/dist/{demo → apps/admin}/standalone.d.ts +0 -0
|
@@ -0,0 +1,965 @@
|
|
|
1
|
+
const animatedSvg = encodeURIComponent(`
|
|
2
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 960 540">
|
|
3
|
+
<defs>
|
|
4
|
+
<linearGradient id="g" x1="0" x2="1" y1="0" y2="1">
|
|
5
|
+
<stop stop-color="#1d4ed8"/>
|
|
6
|
+
<stop offset="1" stop-color="#0f172a"/>
|
|
7
|
+
</linearGradient>
|
|
8
|
+
</defs>
|
|
9
|
+
<rect width="960" height="540" fill="url(#g)"/>
|
|
10
|
+
<circle cx="180" cy="160" r="110" fill="rgba(255,255,255,0.1)"/>
|
|
11
|
+
<circle cx="760" cy="360" r="150" fill="rgba(96,165,250,0.18)"/>
|
|
12
|
+
<text x="80" y="300" fill="#eff6ff" font-family="Arial" font-size="72" font-weight="700">Aithe UI</text>
|
|
13
|
+
<text x="82" y="360" fill="#cbd5e1" font-family="Arial" font-size="28">Enterprise Design System</text>
|
|
14
|
+
</svg>
|
|
15
|
+
`);
|
|
16
|
+
const demoMap = {
|
|
17
|
+
'basic-button': {
|
|
18
|
+
demoCode: `<aithe-space size="16" direction="horizontal" wrap>
|
|
19
|
+
<aithe-button variant="primary" title="Submit form">Primary Action</aithe-button>
|
|
20
|
+
<aithe-button title="Default action">Default</aithe-button>
|
|
21
|
+
<aithe-button type="dashed">Dashed</aithe-button>
|
|
22
|
+
<aithe-button type="text">Text</aithe-button>
|
|
23
|
+
<aithe-button type="link">Link</aithe-button>
|
|
24
|
+
<aithe-button variant="primary" loading>Generating</aithe-button>
|
|
25
|
+
<aithe-button variant="danger">Delete</aithe-button>
|
|
26
|
+
</aithe-space>`,
|
|
27
|
+
},
|
|
28
|
+
'basic-button-group': {
|
|
29
|
+
demoCode: `<aithe-button-group gap="12">
|
|
30
|
+
<aithe-button type="default">Cancel</aithe-button>
|
|
31
|
+
<aithe-button variant="primary">Save Workspace</aithe-button>
|
|
32
|
+
</aithe-button-group>`,
|
|
33
|
+
},
|
|
34
|
+
'basic-icon': {
|
|
35
|
+
demoCode: `<style>
|
|
36
|
+
.icon-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(80px,1fr));gap:8px;}
|
|
37
|
+
.icon-cell{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 4px;border:1px solid var(--aithe-color-border);border-radius:8px;background:var(--aithe-color-surface);cursor:default;transition:background .15s;}
|
|
38
|
+
.icon-cell:hover{background:var(--aithe-color-bg-subtle);}
|
|
39
|
+
.icon-name{font-size:11px;color:var(--aithe-color-text-muted);font-family:var(--aithe-font-family-mono);word-break:break-all;text-align:center;line-height:1.3;}
|
|
40
|
+
</style>
|
|
41
|
+
<div class="icon-grid">
|
|
42
|
+
<div class="icon-cell"><aithe-icon name="sparkles" size="20"></aithe-icon><span class="icon-name">sparkles</span></div>
|
|
43
|
+
<div class="icon-cell"><aithe-icon name="close" size="20"></aithe-icon><span class="icon-name">close</span></div>
|
|
44
|
+
<div class="icon-cell"><aithe-icon name="check" size="20"></aithe-icon><span class="icon-name">check</span></div>
|
|
45
|
+
<div class="icon-cell"><aithe-icon name="info" size="20"></aithe-icon><span class="icon-name">info</span></div>
|
|
46
|
+
<div class="icon-cell"><aithe-icon name="warning" size="20"></aithe-icon><span class="icon-name">warning</span></div>
|
|
47
|
+
<div class="icon-cell"><aithe-icon name="image" size="20"></aithe-icon><span class="icon-name">image</span></div>
|
|
48
|
+
<div class="icon-cell"><aithe-icon name="search" size="20"></aithe-icon><span class="icon-name">search</span></div>
|
|
49
|
+
<div class="icon-cell"><aithe-icon name="plus" size="20"></aithe-icon><span class="icon-name">plus</span></div>
|
|
50
|
+
<div class="icon-cell"><aithe-icon name="minus" size="20"></aithe-icon><span class="icon-name">minus</span></div>
|
|
51
|
+
<div class="icon-cell"><aithe-icon name="menu" size="20"></aithe-icon><span class="icon-name">menu</span></div>
|
|
52
|
+
<div class="icon-cell"><aithe-icon name="more" size="20"></aithe-icon><span class="icon-name">more</span></div>
|
|
53
|
+
<div class="icon-cell"><aithe-icon name="settings" size="20"></aithe-icon><span class="icon-name">settings</span></div>
|
|
54
|
+
<div class="icon-cell"><aithe-icon name="home" size="20"></aithe-icon><span class="icon-name">home</span></div>
|
|
55
|
+
<div class="icon-cell"><aithe-icon name="star" size="20"></aithe-icon><span class="icon-name">star</span></div>
|
|
56
|
+
<div class="icon-cell"><aithe-icon name="heart" size="20"></aithe-icon><span class="icon-name">heart</span></div>
|
|
57
|
+
<div class="icon-cell"><aithe-icon name="copy" size="20"></aithe-icon><span class="icon-name">copy</span></div>
|
|
58
|
+
<div class="icon-cell"><aithe-icon name="download" size="20"></aithe-icon><span class="icon-name">download</span></div>
|
|
59
|
+
<div class="icon-cell"><aithe-icon name="upload" size="20"></aithe-icon><span class="icon-name">upload</span></div>
|
|
60
|
+
<div class="icon-cell"><aithe-icon name="share" size="20"></aithe-icon><span class="icon-name">share</span></div>
|
|
61
|
+
<div class="icon-cell"><aithe-icon name="link" size="20"></aithe-icon><span class="icon-name">link</span></div>
|
|
62
|
+
<div class="icon-cell"><aithe-icon name="external" size="20"></aithe-icon><span class="icon-name">external</span></div>
|
|
63
|
+
<div class="icon-cell"><aithe-icon name="refresh" size="20"></aithe-icon><span class="icon-name">refresh</span></div>
|
|
64
|
+
<div class="icon-cell"><aithe-icon name="edit" size="20"></aithe-icon><span class="icon-name">edit</span></div>
|
|
65
|
+
<div class="icon-cell"><aithe-icon name="trash" size="20"></aithe-icon><span class="icon-name">trash</span></div>
|
|
66
|
+
<div class="icon-cell"><aithe-icon name="filter" size="20"></aithe-icon><span class="icon-name">filter</span></div>
|
|
67
|
+
<div class="icon-cell"><aithe-icon name="sort" size="20"></aithe-icon><span class="icon-name">sort</span></div>
|
|
68
|
+
<div class="icon-cell"><aithe-icon name="lock" size="20"></aithe-icon><span class="icon-name">lock</span></div>
|
|
69
|
+
<div class="icon-cell"><aithe-icon name="unlock" size="20"></aithe-icon><span class="icon-name">unlock</span></div>
|
|
70
|
+
<div class="icon-cell"><aithe-icon name="eye" size="20"></aithe-icon><span class="icon-name">eye</span></div>
|
|
71
|
+
<div class="icon-cell"><aithe-icon name="eyeOff" size="20"></aithe-icon><span class="icon-name">eyeOff</span></div>
|
|
72
|
+
<div class="icon-cell"><aithe-icon name="clock" size="20"></aithe-icon><span class="icon-name">clock</span></div>
|
|
73
|
+
<div class="icon-cell"><aithe-icon name="calendar" size="20"></aithe-icon><span class="icon-name">calendar</span></div>
|
|
74
|
+
<div class="icon-cell"><aithe-icon name="pin" size="20"></aithe-icon><span class="icon-name">pin</span></div>
|
|
75
|
+
<div class="icon-cell"><aithe-icon name="flag" size="20"></aithe-icon><span class="icon-name">flag</span></div>
|
|
76
|
+
<div class="icon-cell"><aithe-icon name="bookmark" size="20"></aithe-icon><span class="icon-name">bookmark</span></div>
|
|
77
|
+
<div class="icon-cell"><aithe-icon name="paperclip" size="20"></aithe-icon><span class="icon-name">paperclip</span></div>
|
|
78
|
+
<div class="icon-cell"><aithe-icon name="tag" size="20"></aithe-icon><span class="icon-name">tag</span></div>
|
|
79
|
+
<div class="icon-cell"><aithe-icon name="thumbUp" size="20"></aithe-icon><span class="icon-name">thumbUp</span></div>
|
|
80
|
+
<div class="icon-cell"><aithe-icon name="thumbDown" size="20"></aithe-icon><span class="icon-name">thumbDown</span></div>
|
|
81
|
+
<div class="icon-cell"><aithe-icon name="arrowUp" size="20"></aithe-icon><span class="icon-name">arrowUp</span></div>
|
|
82
|
+
<div class="icon-cell"><aithe-icon name="arrowDown" size="20"></aithe-icon><span class="icon-name">arrowDown</span></div>
|
|
83
|
+
<div class="icon-cell"><aithe-icon name="arrowLeft" size="20"></aithe-icon><span class="icon-name">arrowLeft</span></div>
|
|
84
|
+
<div class="icon-cell"><aithe-icon name="arrowRight" size="20"></aithe-icon><span class="icon-name">arrowRight</span></div>
|
|
85
|
+
<div class="icon-cell"><aithe-icon name="chevronUp" size="20"></aithe-icon><span class="icon-name">chevronUp</span></div>
|
|
86
|
+
<div class="icon-cell"><aithe-icon name="chevronDown" size="20"></aithe-icon><span class="icon-name">chevronDown</span></div>
|
|
87
|
+
<div class="icon-cell"><aithe-icon name="chevronLeft" size="20"></aithe-icon><span class="icon-name">chevronLeft</span></div>
|
|
88
|
+
<div class="icon-cell"><aithe-icon name="chevronRight" size="20"></aithe-icon><span class="icon-name">chevronRight</span></div>
|
|
89
|
+
<div class="icon-cell"><aithe-icon name="expand" size="20"></aithe-icon><span class="icon-name">expand</span></div>
|
|
90
|
+
<div class="icon-cell"><aithe-icon name="collapse" size="20"></aithe-icon><span class="icon-name">collapse</span></div>
|
|
91
|
+
<div class="icon-cell"><aithe-icon name="success" size="20" color="var(--aithe-success-6)"></aithe-icon><span class="icon-name">success</span></div>
|
|
92
|
+
<div class="icon-cell"><aithe-icon name="error" size="20" color="var(--aithe-danger-6)"></aithe-icon><span class="icon-name">error</span></div>
|
|
93
|
+
<div class="icon-cell"><aithe-icon name="question" size="20" color="var(--aithe-primary-6)"></aithe-icon><span class="icon-name">question</span></div>
|
|
94
|
+
<div class="icon-cell"><aithe-icon name="play" size="20"></aithe-icon><span class="icon-name">play</span></div>
|
|
95
|
+
<div class="icon-cell"><aithe-icon name="pause" size="20"></aithe-icon><span class="icon-name">pause</span></div>
|
|
96
|
+
<div class="icon-cell"><aithe-icon name="volume" size="20"></aithe-icon><span class="icon-name">volume</span></div>
|
|
97
|
+
<div class="icon-cell"><aithe-icon name="mute" size="20"></aithe-icon><span class="icon-name">mute</span></div>
|
|
98
|
+
<div class="icon-cell"><aithe-icon name="camera" size="20"></aithe-icon><span class="icon-name">camera</span></div>
|
|
99
|
+
<div class="icon-cell"><aithe-icon name="video" size="20"></aithe-icon><span class="icon-name">video</span></div>
|
|
100
|
+
<div class="icon-cell"><aithe-icon name="music" size="20"></aithe-icon><span class="icon-name">music</span></div>
|
|
101
|
+
<div class="icon-cell"><aithe-icon name="mail" size="20"></aithe-icon><span class="icon-name">mail</span></div>
|
|
102
|
+
<div class="icon-cell"><aithe-icon name="bell" size="20"></aithe-icon><span class="icon-name">bell</span></div>
|
|
103
|
+
<div class="icon-cell"><aithe-icon name="chat" size="20"></aithe-icon><span class="icon-name">chat</span></div>
|
|
104
|
+
<div class="icon-cell"><aithe-icon name="phone" size="20"></aithe-icon><span class="icon-name">phone</span></div>
|
|
105
|
+
<div class="icon-cell"><aithe-icon name="barChart" size="20"></aithe-icon><span class="icon-name">barChart</span></div>
|
|
106
|
+
<div class="icon-cell"><aithe-icon name="pieChart" size="20"></aithe-icon><span class="icon-name">pieChart</span></div>
|
|
107
|
+
<div class="icon-cell"><aithe-icon name="database" size="20"></aithe-icon><span class="icon-name">database</span></div>
|
|
108
|
+
<div class="icon-cell"><aithe-icon name="code" size="20"></aithe-icon><span class="icon-name">code</span></div>
|
|
109
|
+
<div class="icon-cell"><aithe-icon name="terminal" size="20"></aithe-icon><span class="icon-name">terminal</span></div>
|
|
110
|
+
<div class="icon-cell"><aithe-icon name="file" size="20"></aithe-icon><span class="icon-name">file</span></div>
|
|
111
|
+
<div class="icon-cell"><aithe-icon name="folder" size="20"></aithe-icon><span class="icon-name">folder</span></div>
|
|
112
|
+
<div class="icon-cell"><aithe-icon name="grid" size="20"></aithe-icon><span class="icon-name">grid</span></div>
|
|
113
|
+
<div class="icon-cell"><aithe-icon name="list" size="20"></aithe-icon><span class="icon-name">list</span></div>
|
|
114
|
+
<div class="icon-cell"><aithe-icon name="sidebar" size="20"></aithe-icon><span class="icon-name">sidebar</span></div>
|
|
115
|
+
<div class="icon-cell"><aithe-icon name="maximize" size="20"></aithe-icon><span class="icon-name">maximize</span></div>
|
|
116
|
+
<div class="icon-cell"><aithe-icon name="minimize" size="20"></aithe-icon><span class="icon-name">minimize</span></div>
|
|
117
|
+
<div class="icon-cell"><aithe-icon name="user" size="20"></aithe-icon><span class="icon-name">user</span></div>
|
|
118
|
+
<div class="icon-cell"><aithe-icon name="users" size="20"></aithe-icon><span class="icon-name">users</span></div>
|
|
119
|
+
<div class="icon-cell"><aithe-icon name="sun" size="20"></aithe-icon><span class="icon-name">sun</span></div>
|
|
120
|
+
<div class="icon-cell"><aithe-icon name="moon" size="20"></aithe-icon><span class="icon-name">moon</span></div>
|
|
121
|
+
<div class="icon-cell"><aithe-icon name="cloud" size="20"></aithe-icon><span class="icon-name">cloud</span></div>
|
|
122
|
+
</div>
|
|
123
|
+
<div style="display:flex;gap:16px;align-items:center;margin-top:16px;">
|
|
124
|
+
<aithe-icon name="sparkles" size="sm"></aithe-icon><span style="font-size:12px;color:var(--aithe-color-text-muted);">sm</span>
|
|
125
|
+
<aithe-icon name="sparkles" size="md"></aithe-icon><span style="font-size:12px;color:var(--aithe-color-text-muted);">md</span>
|
|
126
|
+
<aithe-icon name="sparkles" size="lg"></aithe-icon><span style="font-size:12px;color:var(--aithe-color-text-muted);">lg</span>
|
|
127
|
+
<aithe-icon name="sparkles" size="32px" color="var(--aithe-primary-6)"></aithe-icon><span style="font-size:12px;color:var(--aithe-color-text-muted);">32px</span>
|
|
128
|
+
</div>`,
|
|
129
|
+
previewHeight: '520px',
|
|
130
|
+
},
|
|
131
|
+
'basic-input': {
|
|
132
|
+
demoCode: `<div style="display:grid;gap:16px;max-width:720px;">
|
|
133
|
+
<aithe-input placeholder="Search agents, prompts or datasets" clearable value="Aithe UI">
|
|
134
|
+
<span slot="prefix">⌕</span>
|
|
135
|
+
<span slot="suffix">⌘K</span>
|
|
136
|
+
</aithe-input>
|
|
137
|
+
<aithe-input type="email" placeholder="owner@company.com" status="success"></aithe-input>
|
|
138
|
+
</div>`,
|
|
139
|
+
},
|
|
140
|
+
'basic-textarea': {
|
|
141
|
+
demoCode: `<aithe-textarea rows="4" placeholder="Describe the system message..."></aithe-textarea>`,
|
|
142
|
+
},
|
|
143
|
+
'basic-card': {
|
|
144
|
+
demoCode: `<aithe-space direction="vertical" size="16">
|
|
145
|
+
<aithe-card style="display:block;max-width:720px;" shadow="3" title="Model Output Summary" icon="sparkles">
|
|
146
|
+
<div style="display:grid;gap:12px;">
|
|
147
|
+
<p style="margin:0;color:var(--aithe-color-text-muted);">
|
|
148
|
+
This card uses the design token system and supports fluid content width.
|
|
149
|
+
</p>
|
|
150
|
+
</div>
|
|
151
|
+
<span slot="footer">Updated just now</span>
|
|
152
|
+
</aithe-card>
|
|
153
|
+
<aithe-card style="display:block;max-width:720px;" shadow="2" title="No Dividers" icon="file-text" divider="none">
|
|
154
|
+
<p style="margin:0;">divider="none" — no lines between sections.</p>
|
|
155
|
+
<span slot="footer">Footer without divider</span>
|
|
156
|
+
</aithe-card>
|
|
157
|
+
</aithe-space>`,
|
|
158
|
+
},
|
|
159
|
+
'basic-badge': {
|
|
160
|
+
demoCode: `<aithe-badge value="128">
|
|
161
|
+
<aithe-button type="default">Queued Jobs</aithe-button>
|
|
162
|
+
</aithe-badge>`,
|
|
163
|
+
},
|
|
164
|
+
'basic-tag': {
|
|
165
|
+
demoCode: `<aithe-space size="12" direction="horizontal" wrap>
|
|
166
|
+
<aithe-tag variant="primary">Inference</aithe-tag>
|
|
167
|
+
<aithe-tag variant="success">Stable</aithe-tag>
|
|
168
|
+
<aithe-tag variant="warning" closable>Reviewing</aithe-tag>
|
|
169
|
+
<aithe-tag variant="danger">Critical</aithe-tag>
|
|
170
|
+
</aithe-space>`,
|
|
171
|
+
},
|
|
172
|
+
'basic-avatar': {
|
|
173
|
+
demoCode: `<aithe-space size="12" direction="horizontal">
|
|
174
|
+
<aithe-avatar text="AI"></aithe-avatar>
|
|
175
|
+
<aithe-avatar shape="square" text="ML"></aithe-avatar>
|
|
176
|
+
<aithe-avatar size="lg" text="SYS"></aithe-avatar>
|
|
177
|
+
</aithe-space>`,
|
|
178
|
+
},
|
|
179
|
+
'basic-divider': {
|
|
180
|
+
demoCode: `<div style="display:grid;gap:20px;max-width:720px;">
|
|
181
|
+
<aithe-divider>System Modules</aithe-divider>
|
|
182
|
+
<div style="display:flex;gap:16px;align-items:center;">
|
|
183
|
+
<span>Retrieval</span>
|
|
184
|
+
<aithe-divider direction="vertical"></aithe-divider>
|
|
185
|
+
<span>Reasoning</span>
|
|
186
|
+
<aithe-divider direction="vertical"></aithe-divider>
|
|
187
|
+
<span>Delivery</span>
|
|
188
|
+
</div>
|
|
189
|
+
</div>`,
|
|
190
|
+
},
|
|
191
|
+
'basic-empty': {
|
|
192
|
+
demoCode: `<aithe-empty text="No generated artifacts yet. Start by creating a workflow."></aithe-empty>`,
|
|
193
|
+
previewHeight: '220px',
|
|
194
|
+
},
|
|
195
|
+
'basic-chip': {
|
|
196
|
+
demoCode: `<aithe-space size="12" direction="horizontal" wrap>
|
|
197
|
+
<aithe-chip selected>Realtime</aithe-chip>
|
|
198
|
+
<aithe-chip closable>Vision</aithe-chip>
|
|
199
|
+
</aithe-space>`,
|
|
200
|
+
},
|
|
201
|
+
'layout-container': {
|
|
202
|
+
demoCode: `<aithe-container direction="column" gap="16">
|
|
203
|
+
<aithe-flex justify="space-between" align="center" gap="16">
|
|
204
|
+
<div style="font-weight:600;">Aithe Workspace</div>
|
|
205
|
+
<aithe-space size="8" direction="horizontal">
|
|
206
|
+
<aithe-tag>US-East</aithe-tag>
|
|
207
|
+
<aithe-tag variant="success">Healthy</aithe-tag>
|
|
208
|
+
</aithe-space>
|
|
209
|
+
</aithe-flex>
|
|
210
|
+
<aithe-space size="12" direction="vertical">
|
|
211
|
+
<aithe-card>Prompt Registry</aithe-card>
|
|
212
|
+
<aithe-card>Model Routing</aithe-card>
|
|
213
|
+
<aithe-card>Guardrails</aithe-card>
|
|
214
|
+
</aithe-space>
|
|
215
|
+
</aithe-container>`,
|
|
216
|
+
},
|
|
217
|
+
'layout-row': {
|
|
218
|
+
demoCode: `<aithe-row gutter="16">
|
|
219
|
+
<aithe-col span="12"><aithe-card>Span 12</aithe-card></aithe-col>
|
|
220
|
+
<aithe-col span="12"><aithe-card>Span 12</aithe-card></aithe-col>
|
|
221
|
+
<aithe-col span="8"><aithe-card>Span 8</aithe-card></aithe-col>
|
|
222
|
+
<aithe-col span="8"><aithe-card>Span 8</aithe-card></aithe-col>
|
|
223
|
+
<aithe-col span="8"><aithe-card>Span 8</aithe-card></aithe-col>
|
|
224
|
+
</aithe-row>`,
|
|
225
|
+
},
|
|
226
|
+
'layout-col': {
|
|
227
|
+
demoCode: `<aithe-row gutter="16">
|
|
228
|
+
<aithe-col span="12"><aithe-card>Span 12</aithe-card></aithe-col>
|
|
229
|
+
<aithe-col span="12"><aithe-card>Span 12</aithe-card></aithe-col>
|
|
230
|
+
</aithe-row>`,
|
|
231
|
+
},
|
|
232
|
+
'layout-flex': {
|
|
233
|
+
demoCode: `<aithe-flex justify="space-between" align="center" gap="16">
|
|
234
|
+
<div style="font-weight:600;">Aithe Workspace</div>
|
|
235
|
+
<aithe-space size="8" direction="horizontal">
|
|
236
|
+
<aithe-tag>US-East</aithe-tag>
|
|
237
|
+
<aithe-tag variant="success">Healthy</aithe-tag>
|
|
238
|
+
</aithe-space>
|
|
239
|
+
</aithe-flex>`,
|
|
240
|
+
},
|
|
241
|
+
'layout-space': {
|
|
242
|
+
demoCode: `<aithe-space size="12" direction="vertical">
|
|
243
|
+
<aithe-card>Prompt Registry</aithe-card>
|
|
244
|
+
<aithe-card>Model Routing</aithe-card>
|
|
245
|
+
<aithe-card>Guardrails</aithe-card>
|
|
246
|
+
</aithe-space>`,
|
|
247
|
+
},
|
|
248
|
+
'layout-collapse': {
|
|
249
|
+
demoCode: `<aithe-collapse active-key="api">
|
|
250
|
+
<aithe-collapse-item name="api" title="API Design" icon="settings">Stable, event-based and theme-driven.</aithe-collapse-item>
|
|
251
|
+
<aithe-collapse-item name="theme" title="Theme System" icon="star">4 official themes and unlimited extensions.</aithe-collapse-item>
|
|
252
|
+
</aithe-collapse>`,
|
|
253
|
+
previewHeight: '320px',
|
|
254
|
+
},
|
|
255
|
+
'layout-collapse-item': {
|
|
256
|
+
demoCode: `<aithe-collapse active-key="api">
|
|
257
|
+
<aithe-collapse-item name="api" title="API Design" icon="settings">Stable, event-based and theme-driven.</aithe-collapse-item>
|
|
258
|
+
<aithe-collapse-item name="theme" title="Theme System" icon="star">4 official themes and unlimited extensions.</aithe-collapse-item>
|
|
259
|
+
</aithe-collapse>`,
|
|
260
|
+
previewHeight: '320px',
|
|
261
|
+
},
|
|
262
|
+
'data-timeline': {
|
|
263
|
+
demoCode: `<aithe-timeline
|
|
264
|
+
items='[{"content":"Design tokens published","timestamp":"09:00","variant":"primary"},{"content":"Demo routing completed","timestamp":"11:30","variant":"success"},{"content":"Accessibility audit pending","timestamp":"15:20","variant":"warning"}]'
|
|
265
|
+
></aithe-timeline>`,
|
|
266
|
+
previewHeight: '260px',
|
|
267
|
+
},
|
|
268
|
+
'data-timeline-item': {
|
|
269
|
+
demoCode: `<aithe-timeline>
|
|
270
|
+
<aithe-timeline-item type="primary" timestamp="09:00">Design tokens published</aithe-timeline-item>
|
|
271
|
+
<aithe-timeline-item type="success" timestamp="11:30">Demo routing completed</aithe-timeline-item>
|
|
272
|
+
</aithe-timeline>`,
|
|
273
|
+
previewHeight: '260px',
|
|
274
|
+
},
|
|
275
|
+
'layout-affix': {
|
|
276
|
+
demoCode: `<div class="affix-scroll" style="height:280px;overflow:auto;border:1px solid var(--aithe-color-border);border-radius:20px;padding:16px;background:var(--aithe-color-surface-elevated);">
|
|
277
|
+
<aithe-affix offset-top="16" target=".affix-scroll">
|
|
278
|
+
<aithe-tag variant="primary">Pinned Summary</aithe-tag>
|
|
279
|
+
</aithe-affix>
|
|
280
|
+
<div style="height:560px;padding-top:48px;color:var(--aithe-color-text-muted);">
|
|
281
|
+
Scroll this panel to see the summary remain attached near the top edge.
|
|
282
|
+
</div>
|
|
283
|
+
</div>`,
|
|
284
|
+
previewHeight: '320px',
|
|
285
|
+
},
|
|
286
|
+
'nav-menu': {
|
|
287
|
+
demoCode: `<aithe-menu active="overview" style="max-width:280px;">
|
|
288
|
+
<aithe-menu-item name="overview">Overview</aithe-menu-item>
|
|
289
|
+
<aithe-sub-menu name="assets" title="Assets" icon="star" open>
|
|
290
|
+
<aithe-menu-item name="library">Component Library</aithe-menu-item>
|
|
291
|
+
<aithe-menu-item name="tokens">Design Tokens</aithe-menu-item>
|
|
292
|
+
</aithe-sub-menu>
|
|
293
|
+
<aithe-menu-item name="governance">Governance</aithe-menu-item>
|
|
294
|
+
</aithe-menu>`,
|
|
295
|
+
previewHeight: '260px',
|
|
296
|
+
},
|
|
297
|
+
'nav-menu-item': {
|
|
298
|
+
demoCode: `<aithe-menu active="overview" style="max-width:280px;">
|
|
299
|
+
<aithe-menu-item name="overview">Overview</aithe-menu-item>
|
|
300
|
+
<aithe-menu-item name="governance">Governance</aithe-menu-item>
|
|
301
|
+
</aithe-menu>`,
|
|
302
|
+
previewHeight: '260px',
|
|
303
|
+
},
|
|
304
|
+
'nav-sub-menu': {
|
|
305
|
+
demoCode: `<aithe-menu active="library" style="max-width:280px;">
|
|
306
|
+
<aithe-sub-menu name="assets" title="Assets" icon="star" open>
|
|
307
|
+
<aithe-menu-item name="library">Component Library</aithe-menu-item>
|
|
308
|
+
<aithe-menu-item name="tokens">Design Tokens</aithe-menu-item>
|
|
309
|
+
</aithe-sub-menu>
|
|
310
|
+
</aithe-menu>`,
|
|
311
|
+
previewHeight: '260px',
|
|
312
|
+
},
|
|
313
|
+
'nav-breadcrumb': {
|
|
314
|
+
demoCode: `<aithe-breadcrumb separator="/">
|
|
315
|
+
<aithe-breadcrumb-item href="#">Workspace</aithe-breadcrumb-item>
|
|
316
|
+
<aithe-breadcrumb-item href="#">Aithe UI</aithe-breadcrumb-item>
|
|
317
|
+
<aithe-breadcrumb-item>Release Candidate</aithe-breadcrumb-item>
|
|
318
|
+
</aithe-breadcrumb>`,
|
|
319
|
+
},
|
|
320
|
+
'nav-breadcrumb-item': {
|
|
321
|
+
demoCode: `<aithe-breadcrumb separator="/">
|
|
322
|
+
<aithe-breadcrumb-item href="#">Workspace</aithe-breadcrumb-item>
|
|
323
|
+
<aithe-breadcrumb-item>Current Page</aithe-breadcrumb-item>
|
|
324
|
+
</aithe-breadcrumb>`,
|
|
325
|
+
},
|
|
326
|
+
'nav-steps': {
|
|
327
|
+
demoCode: `<aithe-steps
|
|
328
|
+
current="1"
|
|
329
|
+
items='[
|
|
330
|
+
{"title":"Define","description":"Prompt and token system"},
|
|
331
|
+
{"title":"Implement","description":"Components and demo"},
|
|
332
|
+
{"title":"Release","description":"QA and package publish"}
|
|
333
|
+
]'
|
|
334
|
+
></aithe-steps>`,
|
|
335
|
+
previewHeight: '220px',
|
|
336
|
+
},
|
|
337
|
+
'nav-back-top': {
|
|
338
|
+
demoCode: `<div class="backtop-scroll" style="position:relative;height:280px;overflow:auto;border:1px solid var(--aithe-color-border);border-radius:20px;padding:16px;background:var(--aithe-color-surface-elevated);">
|
|
339
|
+
<aithe-back-top target=".backtop-scroll" visibility-height="80"></aithe-back-top>
|
|
340
|
+
<div style="height:720px;color:var(--aithe-color-text-muted);">
|
|
341
|
+
This block intentionally creates vertical overflow inside the preview region.
|
|
342
|
+
</div>
|
|
343
|
+
</div>`,
|
|
344
|
+
previewHeight: '320px',
|
|
345
|
+
},
|
|
346
|
+
'form-checkbox': {
|
|
347
|
+
demoCode: `<aithe-checkbox-group value='["components"]'>
|
|
348
|
+
<aithe-checkbox value="design">Design Tokens</aithe-checkbox>
|
|
349
|
+
<aithe-checkbox value="components">Components</aithe-checkbox>
|
|
350
|
+
<aithe-checkbox value="docs">Docs</aithe-checkbox>
|
|
351
|
+
</aithe-checkbox-group>`,
|
|
352
|
+
},
|
|
353
|
+
'form-checkbox-group': {
|
|
354
|
+
demoCode: `<aithe-checkbox-group value='["components"]'>
|
|
355
|
+
<aithe-checkbox value="design">Design Tokens</aithe-checkbox>
|
|
356
|
+
<aithe-checkbox value="components">Components</aithe-checkbox>
|
|
357
|
+
<aithe-checkbox value="docs">Docs</aithe-checkbox>
|
|
358
|
+
</aithe-checkbox-group>`,
|
|
359
|
+
},
|
|
360
|
+
'form-radio': {
|
|
361
|
+
demoCode: `<aithe-radio-group value="beta">
|
|
362
|
+
<aithe-radio value="alpha">Alpha</aithe-radio>
|
|
363
|
+
<aithe-radio value="beta">Beta</aithe-radio>
|
|
364
|
+
<aithe-radio value="ga">GA</aithe-radio>
|
|
365
|
+
</aithe-radio-group>`,
|
|
366
|
+
},
|
|
367
|
+
'form-radio-group': {
|
|
368
|
+
demoCode: `<aithe-radio-group value="beta">
|
|
369
|
+
<aithe-radio value="alpha">Alpha</aithe-radio>
|
|
370
|
+
<aithe-radio value="beta">Beta</aithe-radio>
|
|
371
|
+
<aithe-radio value="ga">GA</aithe-radio>
|
|
372
|
+
</aithe-radio-group>`,
|
|
373
|
+
},
|
|
374
|
+
'form-select': {
|
|
375
|
+
demoCode: `<aithe-select
|
|
376
|
+
placeholder="Choose a model"
|
|
377
|
+
clearable
|
|
378
|
+
searchable
|
|
379
|
+
options='[{"label":"GPT-5.4","id":"gpt-5.4","icon":"sparkles","description":"Frontier reasoning model"},{"label":"GPT-5.3 Codex","id":"gpt-5.3-codex","icon":"code","description":"Agentic coding model"},{"label":"Vision Worker","id":"vision-worker","icon":"eye","description":"Image parsing runtime","variant":"warning"}]'
|
|
380
|
+
></aithe-select>`,
|
|
381
|
+
},
|
|
382
|
+
'form-switch': {
|
|
383
|
+
demoCode: `<aithe-switch checked></aithe-switch>`,
|
|
384
|
+
},
|
|
385
|
+
'form-color-picker': {
|
|
386
|
+
demoCode: `<aithe-color-picker alpha></aithe-color-picker>`,
|
|
387
|
+
},
|
|
388
|
+
'form-combobox': {
|
|
389
|
+
demoCode: `<aithe-combobox
|
|
390
|
+
placeholder="Search presets"
|
|
391
|
+
options='[{"label":"A/B Test","id":"ab-test","icon":"barChart"},{"label":"Assistant Shell","id":"assistant-shell","icon":"terminal"},{"label":"Retrieval QA","id":"retrieval-qa","icon":"search","variant":"primary"},{"label":"Workflow Editor","id":"workflow-editor","icon":"edit","variant":"warning"}]'
|
|
392
|
+
></aithe-combobox>`,
|
|
393
|
+
},
|
|
394
|
+
'form-date-picker': {
|
|
395
|
+
demoCode: `<aithe-date-picker value="2026-05-08"></aithe-date-picker>`,
|
|
396
|
+
},
|
|
397
|
+
'form-time-picker': {
|
|
398
|
+
demoCode: `<aithe-time-picker value="10:30"></aithe-time-picker>`,
|
|
399
|
+
},
|
|
400
|
+
'form-slider': {
|
|
401
|
+
demoCode: `<div style="display:grid;gap:16px;max-width:360px;">
|
|
402
|
+
<aithe-slider value="64"></aithe-slider>
|
|
403
|
+
<aithe-slider range value="24,76"></aithe-slider>
|
|
404
|
+
</div>`,
|
|
405
|
+
},
|
|
406
|
+
'form-rate': {
|
|
407
|
+
demoCode: `<aithe-rate allow-half value="3.5"></aithe-rate>`,
|
|
408
|
+
},
|
|
409
|
+
'form-form': {
|
|
410
|
+
demoCode: `<aithe-form id="demo-form">
|
|
411
|
+
<aithe-form-item label="Project Name" required>
|
|
412
|
+
<aithe-input name="projectName" placeholder="Aithe UI"></aithe-input>
|
|
413
|
+
</aithe-form-item>
|
|
414
|
+
<aithe-form-item label="Owner Email" required>
|
|
415
|
+
<aithe-input name="ownerEmail" type="email" placeholder="owner@company.com"></aithe-input>
|
|
416
|
+
</aithe-form-item>
|
|
417
|
+
<aithe-button id="demo-submit" type="primary">Submit Form</aithe-button>
|
|
418
|
+
</aithe-form>`,
|
|
419
|
+
demoSetup: (root) => {
|
|
420
|
+
const button = root.querySelector('aithe-button');
|
|
421
|
+
const form = root.querySelector('aithe-form');
|
|
422
|
+
button?.addEventListener('click', () => {
|
|
423
|
+
form.validate?.();
|
|
424
|
+
form?.dispatchEvent(new Event('submit', { bubbles: true, cancelable: true }));
|
|
425
|
+
});
|
|
426
|
+
},
|
|
427
|
+
previewHeight: '260px',
|
|
428
|
+
},
|
|
429
|
+
'form-form-item': {
|
|
430
|
+
demoCode: `<aithe-form>
|
|
431
|
+
<aithe-form-item label="Project Name" required>
|
|
432
|
+
<aithe-input name="projectName" placeholder="Aithe UI"></aithe-input>
|
|
433
|
+
</aithe-form-item>
|
|
434
|
+
</aithe-form>`,
|
|
435
|
+
},
|
|
436
|
+
'form-upload': {
|
|
437
|
+
demoCode: `<aithe-upload accept=".png,.jpg,.svg">Upload Assets</aithe-upload>`,
|
|
438
|
+
},
|
|
439
|
+
'form-transfer': {
|
|
440
|
+
demoCode: `<aithe-transfer
|
|
441
|
+
searchable
|
|
442
|
+
titles='["Available Blocks","Enabled Blocks"]'
|
|
443
|
+
data='[{"label":"Button","id":"button"},{"label":"Input","id":"input"},{"label":"Modal","id":"modal"},{"label":"Table","id":"table"}]'
|
|
444
|
+
value='["button","modal"]'
|
|
445
|
+
></aithe-transfer>`,
|
|
446
|
+
previewHeight: '420px',
|
|
447
|
+
},
|
|
448
|
+
'form-autoform': {
|
|
449
|
+
demoCode: `<aithe-autoform
|
|
450
|
+
fields='[
|
|
451
|
+
{"name":"username","type":"input","label":"Username","icon":"user","required":true,"message":"Username is required","placeholder":"Enter username"},
|
|
452
|
+
{"name":"email","type":"input","label":"Email","tooltip":"Your work email","required":true,"inputType":"email","pattern":"^[^\\\\s@]+@[^\\\\s@]+\\\\.[^\\\\s@]+$","message":"Invalid email format","placeholder":"you@company.com"},
|
|
453
|
+
{"name":"role","type":"select","label":"Role","options":"[{\\"label\\":\\"Admin\\",\\"id\\":\\"admin\\"},{\\"label\\":\\"Editor\\",\\"id\\":\\"editor\\"},{\\"label\\":\\"Viewer\\",\\"id\\":\\"viewer\\"}]","dft":"viewer"},
|
|
454
|
+
{"name":"notifications","type":"switch","label":"Notifications","dft":"true"}
|
|
455
|
+
]'
|
|
456
|
+
></aithe-autoform>`,
|
|
457
|
+
previewHeight: '520px',
|
|
458
|
+
},
|
|
459
|
+
'fb-dialog': {
|
|
460
|
+
demoCode: `<div style="display:flex;gap:12px;flex-wrap:wrap;">
|
|
461
|
+
<aithe-button id="open-dialog" type="default">Open Dialog</aithe-button>
|
|
462
|
+
</div>
|
|
463
|
+
<aithe-dialog id="demo-dialog" title="Discard changes?">This action will remove unsaved prompt edits.</aithe-dialog>`,
|
|
464
|
+
demoSetup: (root) => {
|
|
465
|
+
const dialog = root.querySelector('#demo-dialog');
|
|
466
|
+
root.querySelector('#open-dialog')?.addEventListener('click', () => {
|
|
467
|
+
dialog.visible = true;
|
|
468
|
+
});
|
|
469
|
+
},
|
|
470
|
+
previewHeight: '240px',
|
|
471
|
+
},
|
|
472
|
+
'fb-modal': {
|
|
473
|
+
demoCode: `<div style="display:flex;gap:12px;flex-wrap:wrap;">
|
|
474
|
+
<aithe-button id="open-modal" type="primary">Open Modal</aithe-button>
|
|
475
|
+
</div>
|
|
476
|
+
<aithe-modal id="demo-modal" title="Aithe Release Notes">
|
|
477
|
+
<p style="margin:0;color:var(--aithe-color-text-muted);">The new build ships categorized exports and a live demo site.</p>
|
|
478
|
+
</aithe-modal>`,
|
|
479
|
+
demoSetup: (root) => {
|
|
480
|
+
const modal = root.querySelector('#demo-modal');
|
|
481
|
+
root.querySelector('#open-modal')?.addEventListener('click', () => {
|
|
482
|
+
modal.open = true;
|
|
483
|
+
});
|
|
484
|
+
},
|
|
485
|
+
previewHeight: '240px',
|
|
486
|
+
},
|
|
487
|
+
'fb-drawer': {
|
|
488
|
+
demoCode: `<div style="display:flex;gap:12px;flex-wrap:wrap;">
|
|
489
|
+
<aithe-button id="open-drawer" type="dashed">Open Drawer</aithe-button>
|
|
490
|
+
</div>
|
|
491
|
+
<aithe-drawer id="demo-drawer" title="Workspace Settings">
|
|
492
|
+
<p style="margin:0;color:var(--aithe-color-text-muted);">Configure theme, density and deployment defaults.</p>
|
|
493
|
+
</aithe-drawer>`,
|
|
494
|
+
demoSetup: (root) => {
|
|
495
|
+
const drawer = root.querySelector('#demo-drawer');
|
|
496
|
+
root.querySelector('#open-drawer')?.addEventListener('click', () => {
|
|
497
|
+
drawer.open = true;
|
|
498
|
+
});
|
|
499
|
+
},
|
|
500
|
+
previewHeight: '240px',
|
|
501
|
+
},
|
|
502
|
+
'fb-tooltip': {
|
|
503
|
+
demoCode: `<aithe-tooltip content="Realtime token usage insights">
|
|
504
|
+
<aithe-button type="default">Tooltip</aithe-button>
|
|
505
|
+
</aithe-tooltip>`,
|
|
506
|
+
},
|
|
507
|
+
'fb-popover': {
|
|
508
|
+
demoCode: `<aithe-popover>
|
|
509
|
+
<aithe-button type="default">Popover</aithe-button>
|
|
510
|
+
<div slot="content" style="display:grid;gap:8px;">
|
|
511
|
+
<strong>Assistant Context</strong>
|
|
512
|
+
<span style="color:var(--aithe-color-text-muted);">Aithe UI keeps tokens and themes isolated.</span>
|
|
513
|
+
</div>
|
|
514
|
+
</aithe-popover>`,
|
|
515
|
+
},
|
|
516
|
+
'data-dropdown': {
|
|
517
|
+
demoCode: `<aithe-dropdown
|
|
518
|
+
items='[{"label":"Open playground","id":"playground","icon":"play"},{"label":"Themes","id":"themes","icon":"palette","children":[{"label":"Light","id":"light"},{"label":"Dark","id":"dark"},{"label":"Blue","id":"blue"}]},{"type":"divider","label":"","id":"divider"},{"label":"Delete workspace","id":"delete","icon":"trash","variant":"danger"}]'
|
|
519
|
+
>
|
|
520
|
+
<aithe-button type="default">Dropdown</aithe-button>
|
|
521
|
+
</aithe-dropdown>`,
|
|
522
|
+
},
|
|
523
|
+
'fb-toast': {
|
|
524
|
+
demoCode: `<div style="display:flex;gap:12px;flex-wrap:wrap;">
|
|
525
|
+
<aithe-button id="show-toast" type="primary">Show Toast</aithe-button>
|
|
526
|
+
</div>
|
|
527
|
+
<aithe-toast id="demo-toast" content="" duration="1800"></aithe-toast>`,
|
|
528
|
+
demoSetup: (root) => {
|
|
529
|
+
const toast = root.querySelector('#demo-toast');
|
|
530
|
+
root.querySelector('#show-toast')?.addEventListener('click', () => {
|
|
531
|
+
toast.content = 'Build finished successfully.';
|
|
532
|
+
toast.visible = true;
|
|
533
|
+
});
|
|
534
|
+
},
|
|
535
|
+
previewHeight: '180px',
|
|
536
|
+
},
|
|
537
|
+
'fb-alert': {
|
|
538
|
+
demoCode: `<aithe-alert type="warning" title="Release Candidate" closable>
|
|
539
|
+
Accessibility review is still in progress.
|
|
540
|
+
</aithe-alert>`,
|
|
541
|
+
},
|
|
542
|
+
'fb-notification': {
|
|
543
|
+
demoCode: `<div style="display:flex;gap:12px;flex-wrap:wrap;">
|
|
544
|
+
<aithe-button id="show-notice" type="default">Show Notification</aithe-button>
|
|
545
|
+
</div>
|
|
546
|
+
<aithe-notification id="demo-notification" title="Deployment" content="" duration="2200"></aithe-notification>`,
|
|
547
|
+
demoSetup: (root) => {
|
|
548
|
+
const notice = root.querySelector('#demo-notification');
|
|
549
|
+
root.querySelector('#show-notice')?.addEventListener('click', () => {
|
|
550
|
+
notice.content = 'The demo site theme has been synchronized.';
|
|
551
|
+
notice.open = true;
|
|
552
|
+
});
|
|
553
|
+
},
|
|
554
|
+
previewHeight: '180px',
|
|
555
|
+
},
|
|
556
|
+
'fb-loading': {
|
|
557
|
+
demoCode: `<div style="position:relative;min-height:160px;">
|
|
558
|
+
<aithe-loading spinning tip="Rebuilding component registry...">
|
|
559
|
+
<aithe-card style="display:block;height:160px;">Content remains mounted below the overlay.</aithe-card>
|
|
560
|
+
</aithe-loading>
|
|
561
|
+
</div>`,
|
|
562
|
+
previewHeight: '280px',
|
|
563
|
+
},
|
|
564
|
+
'data-table': {
|
|
565
|
+
demoCode: `<aithe-table
|
|
566
|
+
striped
|
|
567
|
+
selectable="multi"
|
|
568
|
+
.selectionSet={selectionSet}
|
|
569
|
+
columns='[{"id":"name","title":"Module","icon":"folder","sortable":true},{"id":"owner","title":"Owner"},{"id":"status","title":"Status","variant":"success","sortable":true}]'
|
|
570
|
+
data='[{"id":1,"name":"Theme Engine","owner":"Design Systems","status":"Ready"},{"id":2,"name":"Component API","owner":"Frontend Platform","status":"Review"},{"id":3,"name":"Demo Router","owner":"Experience Team","status":"Ready"}]'
|
|
571
|
+
></aithe-table>
|
|
572
|
+
|
|
573
|
+
<script>
|
|
574
|
+
const selectionSet = new Set();
|
|
575
|
+
</script>`,
|
|
576
|
+
previewHeight: '320px',
|
|
577
|
+
},
|
|
578
|
+
'data-table-column': {
|
|
579
|
+
demoCode: `<aithe-table
|
|
580
|
+
striped
|
|
581
|
+
data='[{"id":1,"name":"Theme Engine","owner":"Design Systems","status":"Ready"},{"id":2,"name":"Component API","owner":"Frontend Platform","status":"Review"},{"id":3,"name":"Demo Router","owner":"Experience Team","status":"Ready"}]'
|
|
582
|
+
>
|
|
583
|
+
<aithe-table-column id="name" title="Module" icon="folder" sortable></aithe-table-column>
|
|
584
|
+
<aithe-table-column id="owner" title="Owner"></aithe-table-column>
|
|
585
|
+
<aithe-table-column id="status" title="Status" variant="success"></aithe-table-column>
|
|
586
|
+
</aithe-table>`,
|
|
587
|
+
previewHeight: '320px',
|
|
588
|
+
},
|
|
589
|
+
'data-tabs': {
|
|
590
|
+
demoCode: `<aithe-tabs type="card" active-key="tokens" max-visible-tabs="3">
|
|
591
|
+
<aithe-tab-pane tab-id="tokens" label="Tokens" icon="palette">Theme tokens and semantic scales.</aithe-tab-pane>
|
|
592
|
+
<aithe-tab-pane tab-id="components" label="Components" icon="box">Enterprise-ready component catalog.</aithe-tab-pane>
|
|
593
|
+
<aithe-tab-pane tab-id="demo" label="Demo Site" icon="play">Sidebar routing and live editing.</aithe-tab-pane>
|
|
594
|
+
<aithe-tab-pane tab-id="docs" label="Documentation" icon="file">API documentation.</aithe-tab-pane>
|
|
595
|
+
<span slot="extra">
|
|
596
|
+
<aithe-button type="primary" size="small">Action</aithe-button>
|
|
597
|
+
</span>
|
|
598
|
+
</aithe-tabs>`,
|
|
599
|
+
previewHeight: '220px',
|
|
600
|
+
},
|
|
601
|
+
'data-tab-pane': {
|
|
602
|
+
demoCode: `<aithe-tab-group type="card" active-key="tokens">
|
|
603
|
+
<aithe-tab-pane tab-id="tokens" label="Tokens">Theme tokens and semantic scales.</aithe-tab-pane>
|
|
604
|
+
<aithe-tab-pane tab-id="components" label="Components">Enterprise-ready component catalog.</aithe-tab-pane>
|
|
605
|
+
</aithe-tab-group>`,
|
|
606
|
+
previewHeight: '220px',
|
|
607
|
+
},
|
|
608
|
+
'data-tree': {
|
|
609
|
+
demoCode: `<aithe-tree
|
|
610
|
+
checkable
|
|
611
|
+
expand-all
|
|
612
|
+
data='[
|
|
613
|
+
{"label":"Foundation","id":"foundation","icon":"folder","children":[
|
|
614
|
+
{"label":"Theme","id":"theme","icon":"palette","variant":"primary"},
|
|
615
|
+
{"label":"Typography","id":"typography","icon":"edit"}
|
|
616
|
+
]},
|
|
617
|
+
{"label":"Components","id":"components","icon":"box","children":[
|
|
618
|
+
{"label":"Basic","id":"basic","variant":"success"},
|
|
619
|
+
{"label":"Feedback","id":"feedback","variant":"warning"}
|
|
620
|
+
]}
|
|
621
|
+
]'
|
|
622
|
+
></aithe-tree>`,
|
|
623
|
+
previewHeight: '260px',
|
|
624
|
+
},
|
|
625
|
+
'data-tree-menu': {
|
|
626
|
+
demoCode: `<aithe-tree-menu
|
|
627
|
+
active="overview"
|
|
628
|
+
items='[
|
|
629
|
+
{"label":"Overview","id":"overview","icon":"home"},
|
|
630
|
+
{"label":"Assets","id":"assets","icon":"star","children":[
|
|
631
|
+
{"label":"Component Library","id":"library"},
|
|
632
|
+
{"label":"Design Tokens","id":"tokens"}
|
|
633
|
+
]},
|
|
634
|
+
{"label":"Governance","id":"governance","icon":"settings"},
|
|
635
|
+
{"label":"Reports","id":"reports","icon":"barChart","children":[
|
|
636
|
+
{"label":"Usage Analytics","id":"analytics"},
|
|
637
|
+
{"label":"Compliance","id":"compliance","disabled":true}
|
|
638
|
+
]}
|
|
639
|
+
]'
|
|
640
|
+
></aithe-tree-menu>`,
|
|
641
|
+
previewHeight: '320px',
|
|
642
|
+
},
|
|
643
|
+
'data-pagination': {
|
|
644
|
+
demoCode: `<aithe-pagination total="96" page-size="12" current-page="3"></aithe-pagination>`,
|
|
645
|
+
},
|
|
646
|
+
'data-box-table': {
|
|
647
|
+
demoCode: `<aithe-box-table
|
|
648
|
+
mode="box"
|
|
649
|
+
box-cols="3"
|
|
650
|
+
striped
|
|
651
|
+
selectable="multi"
|
|
652
|
+
data='[{"id":1,"name":"Theme Engine","owner":"Design Systems","status":"Ready","version":"v2.1.0"},{"id":2,"name":"Component API","owner":"Frontend Platform","status":"Review","version":"v1.8.3"},{"id":3,"name":"Demo Router","owner":"Experience Team","status":"Ready","version":"v3.0.1"},{"id":4,"name":"Theme Engine","owner":"Design Systems","status":"Blocked","version":"v2.1.0"},{"id":5,"name":"Component API","owner":"Frontend Platform","status":"Review","version":"v1.8.3"},{"id":6,"name":"Demo Router","owner":"Experience Team","status":"Ready","version":"v3.0.1"}]'
|
|
653
|
+
>
|
|
654
|
+
<aithe-table-column id="name" title="Module" box="name"></aithe-table-column>
|
|
655
|
+
<aithe-table-column id="owner" title="Owner" box="tags"></aithe-table-column>
|
|
656
|
+
<aithe-table-column id="status" title="Status" box="status"></aithe-table-column>
|
|
657
|
+
<aithe-table-column id="version" title="Version" box="content"></aithe-table-column>
|
|
658
|
+
</aithe-box-table>`,
|
|
659
|
+
previewHeight: '480px',
|
|
660
|
+
},
|
|
661
|
+
'disp-carousel': {
|
|
662
|
+
demoCode: `<aithe-carousel autoplay interval="2400">
|
|
663
|
+
<div style="height:280px;display:grid;place-items:center;background:linear-gradient(135deg,#dbeafe,#eff6ff);font-size:28px;font-weight:700;">Launch Faster</div>
|
|
664
|
+
<div style="height:280px;display:grid;place-items:center;background:linear-gradient(135deg,#dcfce7,#f0fdf4);font-size:28px;font-weight:700;">Theme Everything</div>
|
|
665
|
+
<div style="height:280px;display:grid;place-items:center;background:linear-gradient(135deg,#ede9fe,#faf5ff);font-size:28px;font-weight:700;">Ship Cross-Framework</div>
|
|
666
|
+
</aithe-carousel>`,
|
|
667
|
+
previewHeight: '320px',
|
|
668
|
+
},
|
|
669
|
+
'disp-comparison': {
|
|
670
|
+
demoCode: `<aithe-comparison ratio="52">
|
|
671
|
+
<div slot="before" style="height:320px;display:grid;place-items:center;background:#f8fafc;color:#0f172a;font-size:28px;font-weight:700;">Before</div>
|
|
672
|
+
<div slot="after" style="height:320px;display:grid;place-items:center;background:#0f172a;color:#eff6ff;font-size:28px;font-weight:700;">After</div>
|
|
673
|
+
</aithe-comparison>`,
|
|
674
|
+
previewHeight: '360px',
|
|
675
|
+
},
|
|
676
|
+
'disp-animated-image': {
|
|
677
|
+
demoCode: `<aithe-animated-image src="data:image/svg+xml;utf8,${animatedSvg}" speed="1.2"></aithe-animated-image>`,
|
|
678
|
+
previewHeight: '280px',
|
|
679
|
+
},
|
|
680
|
+
'disp-markdown': {
|
|
681
|
+
demoCode: `<aithe-markdown content="# Aithe UI
|
|
682
|
+
|
|
683
|
+
- Lit + TypeScript + Web Components
|
|
684
|
+
- Multi-theme design tokens
|
|
685
|
+
- Live demo editor
|
|
686
|
+
|
|
687
|
+
> Enterprise-grade component architecture.
|
|
688
|
+
|
|
689
|
+
```ts
|
|
690
|
+
export const theme = 'blue';
|
|
691
|
+
```"></aithe-markdown>`,
|
|
692
|
+
previewHeight: '340px',
|
|
693
|
+
},
|
|
694
|
+
'disp-markdown-editor': {
|
|
695
|
+
demoCode: `<aithe-markdown-editor show-toolbar value="# Hello World
|
|
696
|
+
|
|
697
|
+
This is a **markdown editor** with \`live preview\`."></aithe-markdown-editor>`,
|
|
698
|
+
previewHeight: '360px',
|
|
699
|
+
},
|
|
700
|
+
'disp-code-editor': {
|
|
701
|
+
demoCode: `<aithe-code-editor language="javascript" show-toolbar></aithe-code-editor>`,
|
|
702
|
+
demoSetup: (root) => {
|
|
703
|
+
requestAnimationFrame(() => {
|
|
704
|
+
const editor = root.querySelector('aithe-code-editor');
|
|
705
|
+
if (editor) {
|
|
706
|
+
editor.value = `function greet(name) {
|
|
707
|
+
return 'Hello, ' + name + '!';
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
console.log(greet('Aithe'));`;
|
|
711
|
+
}
|
|
712
|
+
});
|
|
713
|
+
},
|
|
714
|
+
previewHeight: '280px',
|
|
715
|
+
},
|
|
716
|
+
'disp-label': {
|
|
717
|
+
demoCode: `<aithe-space size="16" direction="vertical">
|
|
718
|
+
<aithe-label content="**Bold** and \`code\`."></aithe-label>
|
|
719
|
+
<aithe-label content=":check: 已完成"></aithe-label>
|
|
720
|
+
</aithe-space>`,
|
|
721
|
+
},
|
|
722
|
+
'prog-bar': {
|
|
723
|
+
demoCode: `<div style="display:grid;gap:16px;max-width:420px;">
|
|
724
|
+
<aithe-progress-bar percent="42"></aithe-progress-bar>
|
|
725
|
+
<aithe-progress-bar percent="76" status="success"></aithe-progress-bar>
|
|
726
|
+
<aithe-progress-bar percent="91" status="danger"></aithe-progress-bar>
|
|
727
|
+
</div>`,
|
|
728
|
+
},
|
|
729
|
+
'prog-ring': {
|
|
730
|
+
demoCode: `<aithe-progress-ring percent="68" size="132" status="warning"></aithe-progress-ring>`,
|
|
731
|
+
previewHeight: '180px',
|
|
732
|
+
},
|
|
733
|
+
'prog-spinner': {
|
|
734
|
+
demoCode: `<div style="display:flex;gap:16px;align-items:center;">
|
|
735
|
+
<aithe-spinner size="sm"></aithe-spinner>
|
|
736
|
+
<aithe-spinner size="md"></aithe-spinner>
|
|
737
|
+
<aithe-spinner variant="dots" color="var(--aithe-success-6)"></aithe-spinner>
|
|
738
|
+
</div>`,
|
|
739
|
+
},
|
|
740
|
+
'prog-skeleton': {
|
|
741
|
+
demoCode: `<div style="display:grid;gap:16px;">
|
|
742
|
+
<aithe-skeleton rows="3"></aithe-skeleton>
|
|
743
|
+
<aithe-skeleton rows="1" shape="circle"></aithe-skeleton>
|
|
744
|
+
<aithe-skeleton rows="1" shape="rect"></aithe-skeleton>
|
|
745
|
+
</div>`,
|
|
746
|
+
previewHeight: '320px',
|
|
747
|
+
},
|
|
748
|
+
'cont-callout': {
|
|
749
|
+
demoCode: `<aithe-callout type="primary" title="Shipping Note">
|
|
750
|
+
Aithe UI components inherit theme changes automatically through CSS variables.
|
|
751
|
+
</aithe-callout>`,
|
|
752
|
+
},
|
|
753
|
+
'cont-details': {
|
|
754
|
+
demoCode: `<aithe-details summary="What does the global theme initializer do?">
|
|
755
|
+
It registers design tokens, restores the persisted theme and synchronizes the root attribute.
|
|
756
|
+
</aithe-details>`,
|
|
757
|
+
previewHeight: '200px',
|
|
758
|
+
},
|
|
759
|
+
'cont-scroller': {
|
|
760
|
+
demoCode: `<aithe-scroller height="220px" shadow>
|
|
761
|
+
<div style="height:560px;display:grid;place-items:center;color:var(--aithe-color-text-muted);">
|
|
762
|
+
Scroll inside this container to observe edge shadows and themed scrollbars.
|
|
763
|
+
</div>
|
|
764
|
+
</aithe-scroller>`,
|
|
765
|
+
previewHeight: '260px',
|
|
766
|
+
},
|
|
767
|
+
'cont-split-panel': {
|
|
768
|
+
demoCode: `<aithe-split-panel value="38">
|
|
769
|
+
<div slot="start" style="height:240px;display:grid;place-items:center;background:var(--aithe-neutral-1);">Navigator</div>
|
|
770
|
+
<div slot="end" style="height:240px;display:grid;place-items:center;background:var(--aithe-color-surface);">Editor</div>
|
|
771
|
+
</aithe-split-panel>`,
|
|
772
|
+
previewHeight: '300px',
|
|
773
|
+
},
|
|
774
|
+
'theme-picker': {
|
|
775
|
+
demoCode: `<aithe-theme-picker value="light"></aithe-theme-picker>`,
|
|
776
|
+
},
|
|
777
|
+
'theme-shape-picker': {
|
|
778
|
+
demoCode: `<aithe-shape-picker></aithe-shape-picker>`,
|
|
779
|
+
},
|
|
780
|
+
'theme-shadow-picker': {
|
|
781
|
+
demoCode: `<aithe-shadow-picker></aithe-shadow-picker>`,
|
|
782
|
+
},
|
|
783
|
+
'theme-typo-picker': {
|
|
784
|
+
demoCode: `<aithe-typo-picker></aithe-typo-picker>`,
|
|
785
|
+
},
|
|
786
|
+
'theme-preview': {
|
|
787
|
+
demoCode: `<aithe-theme-preview value="light"></aithe-theme-preview>`,
|
|
788
|
+
previewHeight: '520px',
|
|
789
|
+
},
|
|
790
|
+
'framework-sidebar': {
|
|
791
|
+
demoCode: `<aithe-sidebar
|
|
792
|
+
brand="Aithe UI"
|
|
793
|
+
icon="sparkles"
|
|
794
|
+
collapsible
|
|
795
|
+
items='[{"label":"Dashboard","id":"dashboard","icon":"home"},{"label":"Components","id":"components","icon":"grid","children":[{"label":"Basic","id":"basic"},{"label":"Layout","id":"layout"},{"label":"Form","id":"form"}]},{"label":"Settings","id":"settings","icon":"settings"},{"label":"Help","id":"help","icon":"question"}]'
|
|
796
|
+
active="dashboard"
|
|
797
|
+
style="height:420px;"
|
|
798
|
+
></aithe-sidebar>`,
|
|
799
|
+
previewHeight: '460px',
|
|
800
|
+
},
|
|
801
|
+
'framework-dashboard': {
|
|
802
|
+
demoCode: `<aithe-dashboard columns="12" cell-width="60" cell-height="50" gap="8" storage-key="api-demo-dashboard" style="height:420px;">
|
|
803
|
+
<aithe-dashboard-panel panel-id="users" x="0" y="0" w="4" h="3" label="Users" icon="users">
|
|
804
|
+
<aithe-metrics-group direction="vertical" gap="4" style="padding:8px;">
|
|
805
|
+
<aithe-metrics label="Active Users" value="1,024" variant="primary"></aithe-metrics>
|
|
806
|
+
<aithe-metrics label="New Today" value="47" variant="neutral"></aithe-metrics>
|
|
807
|
+
</aithe-metrics-group>
|
|
808
|
+
</aithe-dashboard-panel>
|
|
809
|
+
<aithe-dashboard-panel panel-id="revenue" x="4" y="0" w="4" h="3" label="Revenue" icon="barChart">
|
|
810
|
+
<aithe-metrics-group direction="vertical" gap="4" style="padding:8px;">
|
|
811
|
+
<aithe-metrics label="This Month" value="$42.5K" variant="success"></aithe-metrics>
|
|
812
|
+
<aithe-metrics label="vs Last Month" value="+12%" variant="primary"></aithe-metrics>
|
|
813
|
+
</aithe-metrics-group>
|
|
814
|
+
</aithe-dashboard-panel>
|
|
815
|
+
<aithe-dashboard-panel panel-id="uptime" x="8" y="0" w="4" h="3" label="Uptime" icon="clock">
|
|
816
|
+
<aithe-metrics-group direction="vertical" gap="4" style="padding:8px;">
|
|
817
|
+
<aithe-metrics label="Last 30 Days" value="99.9%" variant="primary"></aithe-metrics>
|
|
818
|
+
<aithe-metrics label="Incidents" value="0" variant="success"></aithe-metrics>
|
|
819
|
+
</aithe-metrics-group>
|
|
820
|
+
</aithe-dashboard-panel>
|
|
821
|
+
<aithe-dashboard-panel panel-id="requests" x="0" y="3" w="6" h="3" label="Requests" icon="database">
|
|
822
|
+
<aithe-metrics-group direction="horizontal" gap="24" style="justify-content:center;padding:16px;">
|
|
823
|
+
<aithe-metrics label="Total" value="8.2M" variant="warning" show-divider></aithe-metrics>
|
|
824
|
+
<aithe-metrics label="Today" value="12.4K" variant="primary" show-divider></aithe-metrics>
|
|
825
|
+
<aithe-metrics label="Avg Latency" value="45ms" variant="neutral"></aithe-metrics>
|
|
826
|
+
</aithe-metrics-group>
|
|
827
|
+
</aithe-dashboard-panel>
|
|
828
|
+
<aithe-dashboard-panel panel-id="health" x="6" y="3" w="6" h="3" label="System Health" icon="heart" closable="false">
|
|
829
|
+
<aithe-metrics-group direction="horizontal" gap="24" style="justify-content:center;padding:16px;">
|
|
830
|
+
<aithe-metrics label="Status" value="Healthy" variant="success" show-divider></aithe-metrics>
|
|
831
|
+
<aithe-metrics label="CPU" value="23%" variant="neutral" show-divider></aithe-metrics>
|
|
832
|
+
<aithe-metrics label="Memory" value="1.2GB" variant="neutral"></aithe-metrics>
|
|
833
|
+
</aithe-metrics-group>
|
|
834
|
+
</aithe-dashboard-panel>
|
|
835
|
+
</aithe-dashboard>`,
|
|
836
|
+
previewHeight: '520px',
|
|
837
|
+
layout: 'vertical',
|
|
838
|
+
},
|
|
839
|
+
'framework-dashboard-panel': {
|
|
840
|
+
demoCode: `<aithe-dashboard columns="12" cell-width="60" cell-height="50" gap="8" show-toolbar="false" style="height:200px;">
|
|
841
|
+
<aithe-dashboard-panel panel-id="demo-panel" x="0" y="0" w="6" h="3" label="Demo Panel" icon="sparkles">
|
|
842
|
+
<p style="margin:0;color:var(--aithe-color-text-muted);">Panel content goes here. Drag the header to reposition.</p>
|
|
843
|
+
</aithe-dashboard-panel>
|
|
844
|
+
<aithe-dashboard-panel panel-id="pinned-panel" x="6" y="0" w="6" h="3" label="Pinned" icon="pin" closable="false">
|
|
845
|
+
<p style="margin:0;color:var(--aithe-color-text-muted);">This panel cannot be closed.</p>
|
|
846
|
+
</aithe-dashboard-panel>
|
|
847
|
+
</aithe-dashboard>`,
|
|
848
|
+
previewHeight: '280px',
|
|
849
|
+
layout: 'vertical',
|
|
850
|
+
},
|
|
851
|
+
'data-metrics': {
|
|
852
|
+
demoCode: `<aithe-metrics-group direction="horizontal" gap="24">
|
|
853
|
+
<aithe-metrics label="Active Users" value="1,024" variant="primary" show-divider>
|
|
854
|
+
<aithe-icon name="arrowUp" size="16" style="color:var(--aithe-success-6);"></aithe-icon>
|
|
855
|
+
</aithe-metrics>
|
|
856
|
+
<aithe-metrics label="Revenue" value="$42.5K" variant="success" show-divider>
|
|
857
|
+
<aithe-icon name="arrowUp" size="16" style="color:var(--aithe-success-6);"></aithe-icon>
|
|
858
|
+
</aithe-metrics>
|
|
859
|
+
<aithe-metrics label="Errors" value="3" variant="danger" show-divider>
|
|
860
|
+
<aithe-icon name="close" size="16" style="color:var(--aithe-danger-6);"></aithe-icon>
|
|
861
|
+
</aithe-metrics>
|
|
862
|
+
<aithe-metrics label="Pending" value="12" variant="warning" show-divider></aithe-metrics>
|
|
863
|
+
<aithe-metrics label="Total" value="9,876" variant="neutral"></aithe-metrics>
|
|
864
|
+
</aithe-metrics-group>
|
|
865
|
+
|
|
866
|
+
<div style="display:flex;gap:32px;margin-top:16px;">
|
|
867
|
+
<aithe-metrics label="Small" value="1K" variant="primary" scale="small" align="center"></aithe-metrics>
|
|
868
|
+
<aithe-metrics label="Normal" value="1K" variant="success" scale="normal" align="center"></aithe-metrics>
|
|
869
|
+
<aithe-metrics label="Large" value="1K" variant="danger" scale="large" align="center"></aithe-metrics>
|
|
870
|
+
</div>
|
|
871
|
+
|
|
872
|
+
<div style="display:flex;gap:32px;margin-top:16px;">
|
|
873
|
+
<aithe-metrics label="Left" value="100" variant="primary" align="left"></aithe-metrics>
|
|
874
|
+
<aithe-metrics label="Center" value="200" variant="success" align="center"></aithe-metrics>
|
|
875
|
+
<aithe-metrics label="Right" value="300" variant="danger" align="right"></aithe-metrics>
|
|
876
|
+
</div>`,
|
|
877
|
+
previewHeight: '260px',
|
|
878
|
+
layout: 'horizontal',
|
|
879
|
+
},
|
|
880
|
+
'data-metrics-group': {
|
|
881
|
+
demoCode: `<div style="display:flex;flex-direction:column;gap:24px;">
|
|
882
|
+
<aithe-metrics-group direction="horizontal" gap="24">
|
|
883
|
+
<aithe-metrics label="Users" value="1,024" variant="primary" show-divider></aithe-metrics>
|
|
884
|
+
<aithe-metrics label="Revenue" value="$42.5K" variant="success" show-divider></aithe-metrics>
|
|
885
|
+
<aithe-metrics label="Errors" value="3" variant="danger"></aithe-metrics>
|
|
886
|
+
</aithe-metrics-group>
|
|
887
|
+
<aithe-metrics-group direction="vertical" gap="8" align="center">
|
|
888
|
+
<aithe-metrics label="CPU Usage" value="23%" variant="neutral" show-divider></aithe-metrics>
|
|
889
|
+
<aithe-metrics label="Memory" value="1.2 GB" variant="neutral" show-divider></aithe-metrics>
|
|
890
|
+
<aithe-metrics label="Disk" value="45% Used" variant="warning"></aithe-metrics>
|
|
891
|
+
</aithe-metrics-group>
|
|
892
|
+
<aithe-metrics-group direction="horizontal" gap="24">
|
|
893
|
+
<aithe-metrics label="Small" value="1K" variant="primary" scale="small"></aithe-metrics>
|
|
894
|
+
<aithe-metrics label="Normal" value="1K" variant="success" scale="normal"></aithe-metrics>
|
|
895
|
+
<aithe-metrics label="Large" value="1K" variant="danger" scale="large"></aithe-metrics>
|
|
896
|
+
</aithe-metrics-group>
|
|
897
|
+
</div>`,
|
|
898
|
+
previewHeight: '320px',
|
|
899
|
+
layout: 'vertical',
|
|
900
|
+
},
|
|
901
|
+
'disp-mini-box': {
|
|
902
|
+
demoCode: `<aithe-space direction="vertical" size="8" style="max-width:600px;">
|
|
903
|
+
<aithe-mini-box selectable="multi">
|
|
904
|
+
<aithe-profile slot="name" title="Design Tokens v2" desc="Frontend application" icon="app"></aithe-profile>
|
|
905
|
+
<span slot="status">Published</span>
|
|
906
|
+
</aithe-mini-box>
|
|
907
|
+
<aithe-mini-box selectable="multi">
|
|
908
|
+
<aithe-profile slot="name" title="Auth Service" desc="Authentication" icon="lock"></aithe-profile>
|
|
909
|
+
<span slot="status">In Review</span>
|
|
910
|
+
</aithe-mini-box>
|
|
911
|
+
<aithe-mini-box selectable="multi">
|
|
912
|
+
<aithe-profile slot="name" title="Legacy Dashboard" desc="Deprecated" icon="dashboard"></aithe-profile>
|
|
913
|
+
<span slot="status">Deprecated</span>
|
|
914
|
+
</aithe-mini-box>
|
|
915
|
+
<aithe-mini-box selectable="multi" selected>
|
|
916
|
+
<aithe-profile slot="name" title="Component Library" desc="Active" icon="app"></aithe-profile>
|
|
917
|
+
<span slot="status">Active</span>
|
|
918
|
+
</aithe-mini-box>
|
|
919
|
+
</aithe-space>`,
|
|
920
|
+
previewHeight: '280px',
|
|
921
|
+
},
|
|
922
|
+
'disp-brief-box': {
|
|
923
|
+
demoCode: `<aithe-space direction="vertical" size="8" style="max-width:600px;">
|
|
924
|
+
<aithe-brief-box selectable="multi">
|
|
925
|
+
<aithe-profile slot="name" title="Design Tokens v2" desc="Theme system" icon="app"></aithe-profile>
|
|
926
|
+
<span slot="status">Published</span>
|
|
927
|
+
<span slot="tags"><aithe-tag>theme</aithe-tag></span>
|
|
928
|
+
<span slot="actions"><aithe-button size="sm">Edit</aithe-button> <aithe-button size="sm" variant="danger">Delete</aithe-button></span>
|
|
929
|
+
</aithe-brief-box>
|
|
930
|
+
<aithe-brief-box selectable="multi">
|
|
931
|
+
<aithe-profile slot="name" title="Auth Service" desc="Security" icon="lock"></aithe-profile>
|
|
932
|
+
<span slot="status">In Review</span>
|
|
933
|
+
<span slot="tags"><aithe-tag>security</aithe-tag></span>
|
|
934
|
+
<span slot="actions"><aithe-button size="sm">View</aithe-button></span>
|
|
935
|
+
</aithe-brief-box>
|
|
936
|
+
<aithe-brief-box>
|
|
937
|
+
<aithe-profile slot="name" title="Custom Name" desc="Custom description" icon="star"></aithe-profile>
|
|
938
|
+
<span slot="actions"><aithe-button size="sm" variant="primary">Approve</aithe-button></span>
|
|
939
|
+
</aithe-brief-box>
|
|
940
|
+
</aithe-space>`,
|
|
941
|
+
previewHeight: '380px',
|
|
942
|
+
},
|
|
943
|
+
'disp-detail-box': {
|
|
944
|
+
demoCode: `<aithe-space direction="vertical" size="8" style="max-width:600px;">
|
|
945
|
+
<aithe-detail-box selectable="multi">
|
|
946
|
+
<aithe-profile slot="name" title="Design Tokens v2" desc="Theme system" icon="app"></aithe-profile>
|
|
947
|
+
<span slot="tags"><aithe-tag>theme</aithe-tag> <aithe-tag>tokens</aithe-tag> <aithe-tag>v2</aithe-tag></span>
|
|
948
|
+
<span slot="status">Published</span>
|
|
949
|
+
<span slot="actions"><aithe-button size="sm">Edit</aithe-button> <aithe-button size="sm" variant="danger">Delete</aithe-button></span>
|
|
950
|
+
<span slot="content">Semantic color scales, spacing units, and typography presets for the next theme engine release. Supports light, dark, and custom brand themes.</span>
|
|
951
|
+
</aithe-detail-box>
|
|
952
|
+
<aithe-detail-box selectable="multi" selected>
|
|
953
|
+
<aithe-profile slot="name" title="Auth Service" desc="Security" icon="lock"></aithe-profile>
|
|
954
|
+
<span slot="tags"><aithe-tag>security</aithe-tag> <aithe-tag>api</aithe-tag></span>
|
|
955
|
+
<span slot="status">In Review</span>
|
|
956
|
+
<span slot="actions"><aithe-button size="sm" variant="primary">Approve</aithe-button> <aithe-button size="sm">Reject</aithe-button></span>
|
|
957
|
+
<span slot="content">OAuth 2.0 + PKCE authentication microservice with session management and token refresh.</span>
|
|
958
|
+
</aithe-detail-box>
|
|
959
|
+
</aithe-space>`,
|
|
960
|
+
previewHeight: '320px',
|
|
961
|
+
},
|
|
962
|
+
};
|
|
963
|
+
export function getDemoData(entryKey) {
|
|
964
|
+
return demoMap[entryKey];
|
|
965
|
+
}
|