@aithe/aithe-ui 26.2.3 → 26.3.2
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 +19 -11
- package/dist/apps/admin/app.js +12 -0
- package/dist/apps/admin/components/admin-app.js +83 -0
- package/dist/apps/admin/components/admin-layout.d.ts +0 -1
- package/dist/apps/admin/components/admin-layout.d.ts.map +1 -1
- package/dist/apps/admin/components/admin-layout.js +250 -0
- package/dist/apps/admin/datahub/auth.js +24 -0
- package/dist/apps/admin/datahub/dashboard.js +16 -0
- package/dist/apps/admin/datahub/index.js +42 -0
- package/dist/apps/admin/datahub/menu.js +16 -0
- package/dist/apps/admin/datahub/mock/auth.js +11 -0
- package/dist/apps/admin/datahub/mock/dashboard.js +10 -0
- package/dist/apps/admin/datahub/mock/menu.js +42 -0
- package/dist/apps/admin/i18n/de-DE.js +37 -0
- package/dist/apps/admin/i18n/en-US.js +37 -0
- package/dist/apps/admin/i18n/es-ES.js +38 -0
- package/dist/apps/admin/i18n/fr-FR.js +37 -0
- package/dist/apps/admin/i18n/index.js +27 -0
- package/dist/apps/admin/i18n/ja-JP.js +38 -0
- package/dist/apps/admin/i18n/ko-KR.js +37 -0
- package/dist/apps/admin/i18n/pt-BR.js +37 -0
- package/dist/apps/admin/i18n/zh-CN.js +37 -0
- package/dist/apps/admin/i18n/zh-HK.js +37 -0
- package/dist/apps/admin/i18n/zh-TW.js +37 -0
- package/dist/apps/admin/pages/dashboard-page.d.ts +1 -0
- package/dist/apps/admin/pages/dashboard-page.d.ts.map +1 -1
- package/dist/apps/admin/pages/dashboard-page.js +199 -0
- package/dist/apps/admin/pages/login-page.js +278 -0
- package/dist/apps/admin/pages/not-found-page.js +57 -0
- package/dist/apps/admin/pages/role-page.js +76 -0
- package/dist/apps/admin/pages/settings-page.js +95 -0
- package/dist/apps/admin/pages/user-page.js +76 -0
- package/dist/apps/admin/router/index.js +43 -0
- package/dist/apps/admin/standalone.js +1 -0
- package/dist/apps/admin/store/auth.js +42 -0
- package/dist/apps/api/app.js +82 -0
- 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.js +684 -0
- package/dist/apps/api/i18n/de-DE.d.ts.map +1 -1
- package/dist/apps/api/i18n/de-DE.js +131 -0
- package/dist/apps/api/i18n/en-US.d.ts.map +1 -1
- package/dist/apps/api/i18n/en-US.js +141 -0
- package/dist/apps/api/i18n/es-ES.d.ts.map +1 -1
- package/dist/apps/api/i18n/es-ES.js +131 -0
- package/dist/apps/api/i18n/fr-FR.d.ts.map +1 -1
- package/dist/apps/api/i18n/fr-FR.js +131 -0
- package/dist/apps/api/i18n/index.js +27 -0
- package/dist/apps/api/i18n/ja-JP.d.ts.map +1 -1
- package/dist/apps/api/i18n/ja-JP.js +131 -0
- package/dist/apps/api/i18n/ko-KR.d.ts.map +1 -1
- package/dist/apps/api/i18n/ko-KR.js +131 -0
- package/dist/apps/api/i18n/pt-BR.d.ts.map +1 -1
- package/dist/apps/api/i18n/pt-BR.js +131 -0
- package/dist/apps/api/i18n/zh-CN.d.ts.map +1 -1
- package/dist/apps/api/i18n/zh-CN.js +141 -0
- package/dist/apps/api/i18n/zh-HK.d.ts.map +1 -1
- package/dist/apps/api/i18n/zh-HK.js +131 -0
- package/dist/apps/api/i18n/zh-TW.d.ts.map +1 -1
- package/dist/apps/api/i18n/zh-TW.js +131 -0
- package/dist/apps/api/pages/docs.d.ts.map +1 -1
- package/dist/apps/api/pages/docs.js +369 -0
- package/dist/apps/api/standalone.js +1 -0
- package/dist/apps/demo/app.d.ts.map +1 -1
- package/dist/apps/demo/app.js +275 -0
- package/dist/apps/demo/editor.d.ts.map +1 -1
- package/dist/apps/demo/editor.js +270 -0
- package/dist/apps/demo/helpers.js +7 -0
- package/dist/apps/demo/i18n/de-DE.d.ts.map +1 -1
- package/dist/apps/demo/i18n/de-DE.js +289 -0
- package/dist/apps/demo/i18n/en-US.d.ts.map +1 -1
- package/dist/apps/demo/i18n/en-US.js +301 -0
- package/dist/apps/demo/i18n/es-ES.d.ts.map +1 -1
- package/dist/apps/demo/i18n/es-ES.js +289 -0
- package/dist/apps/demo/i18n/fr-FR.d.ts.map +1 -1
- package/dist/apps/demo/i18n/fr-FR.js +289 -0
- package/dist/apps/demo/i18n/index.js +27 -0
- package/dist/apps/demo/i18n/ja-JP.d.ts.map +1 -1
- package/dist/apps/demo/i18n/ja-JP.js +289 -0
- package/dist/apps/demo/i18n/ko-KR.d.ts.map +1 -1
- package/dist/apps/demo/i18n/ko-KR.js +289 -0
- package/dist/apps/demo/i18n/pt-BR.d.ts.map +1 -1
- package/dist/apps/demo/i18n/pt-BR.js +289 -0
- package/dist/apps/demo/i18n/zh-CN.d.ts.map +1 -1
- package/dist/apps/demo/i18n/zh-CN.js +301 -0
- package/dist/apps/demo/i18n/zh-HK.d.ts.map +1 -1
- package/dist/apps/demo/i18n/zh-HK.js +289 -0
- package/dist/apps/demo/i18n/zh-TW.d.ts.map +1 -1
- package/dist/apps/demo/i18n/zh-TW.js +289 -0
- package/dist/apps/demo/pages/autoform.d.ts.map +1 -1
- package/dist/apps/demo/pages/autoform.js +422 -0
- package/dist/apps/demo/pages/autoview.d.ts +3 -0
- package/dist/apps/demo/pages/autoview.d.ts.map +1 -0
- package/dist/apps/demo/pages/autoview.js +310 -0
- package/dist/apps/demo/pages/basic.js +157 -0
- package/dist/apps/demo/pages/code.js +1088 -0
- package/dist/apps/demo/pages/container.js +42 -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.js +94 -0
- package/dist/apps/demo/pages/form.d.ts.map +1 -1
- package/dist/apps/demo/pages/form.js +119 -0
- package/dist/apps/demo/pages/layout.js +74 -0
- package/dist/apps/demo/pages/navigation.js +54 -0
- package/dist/apps/demo/pages/progress.js +42 -0
- package/dist/apps/demo/pages/theme.js +126 -0
- package/dist/apps/demo/standalone.js +1 -0
- package/dist/components/basic/AGENTS.md +1 -0
- package/dist/components/basic/avatar.js +168 -0
- package/dist/components/basic/badge.js +157 -0
- package/dist/components/basic/button-group.js +70 -0
- package/dist/components/basic/button.d.ts +2 -4
- package/dist/components/basic/button.d.ts.map +1 -1
- package/dist/components/basic/button.js +315 -0
- package/dist/components/basic/card.js +186 -0
- package/dist/components/basic/chip.js +103 -0
- package/dist/components/basic/divider.js +127 -0
- package/dist/components/basic/empty.js +72 -0
- package/dist/components/basic/icon.js +129 -0
- 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 +7 -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 +0 -1
- package/dist/components/basic/textarea.d.ts.map +1 -1
- package/dist/components/basic/textarea.js +130 -0
- package/dist/components/container/callout.js +108 -0
- package/dist/components/container/details.js +117 -0
- package/dist/components/container/scroller.js +144 -0
- package/dist/components/container/split-panel.js +150 -0
- package/dist/components/data/AGENTS.md +1 -1
- 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 +8 -5
- package/dist/components/data/dropdown.d.ts.map +1 -1
- package/dist/components/data/dropdown.js +219 -0
- package/dist/components/data/metrics-group.js +180 -0
- package/dist/components/data/metrics.d.ts +11 -0
- package/dist/components/data/metrics.d.ts.map +1 -1
- package/dist/components/data/metrics.js +309 -0
- package/dist/components/data/pagination.js +119 -0
- package/dist/components/data/tab-pane.d.ts +58 -12
- 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 +29 -5
- package/dist/components/data/table-column.d.ts.map +1 -1
- package/dist/components/data/table-column.js +123 -0
- package/dist/components/data/table.d.ts +134 -54
- 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 +60 -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.js +127 -0
- package/dist/components/data/timeline.js +204 -0
- package/dist/components/data/tree-menu.d.ts +12 -2
- package/dist/components/data/tree-menu.d.ts.map +1 -1
- package/dist/components/data/tree-menu.js +482 -0
- package/dist/components/data/tree.js +269 -0
- package/dist/components/display/AGENTS.md +5 -2
- package/dist/components/display/animated-image.js +98 -0
- package/dist/components/display/autoview.d.ts +139 -0
- package/dist/components/display/autoview.d.ts.map +1 -0
- package/dist/components/display/autoview.js +460 -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.js +223 -0
- package/dist/components/display/code-editor.d.ts.map +1 -1
- package/dist/components/display/code-editor.js +976 -0
- 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 +68 -0
- package/dist/components/display/desc.d.ts.map +1 -0
- package/dist/components/display/desc.js +405 -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.js +166 -0
- package/dist/components/display/markdown-editor.js +319 -0
- 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 +1 -0
- package/dist/components/feedback/alert.js +150 -0
- package/dist/components/feedback/dialog.js +228 -0
- package/dist/components/feedback/drawer.d.ts.map +1 -1
- package/dist/components/feedback/drawer.js +338 -0
- package/dist/components/feedback/loading.js +130 -0
- package/dist/components/feedback/modal.d.ts.map +1 -1
- package/dist/components/feedback/modal.js +303 -0
- package/dist/components/feedback/notification.js +170 -0
- package/dist/components/feedback/popover.d.ts +1 -1
- package/dist/components/feedback/popover.js +124 -0
- package/dist/components/feedback/toast.js +142 -0
- package/dist/components/feedback/tooltip.d.ts +1 -1
- package/dist/components/feedback/tooltip.js +153 -0
- package/dist/components/form/AGENTS.md +4 -0
- package/dist/components/form/autoform-item.d.ts +6 -0
- package/dist/components/form/autoform-item.d.ts.map +1 -1
- package/dist/components/form/autoform-item.js +791 -0
- package/dist/components/form/autoform.d.ts +15 -5
- package/dist/components/form/autoform.d.ts.map +1 -1
- package/dist/components/form/autoform.js +303 -0
- package/dist/components/form/checkbox-group.js +118 -0
- package/dist/components/form/checkbox.js +123 -0
- package/dist/components/form/color-picker.js +148 -0
- package/dist/components/form/combobox.d.ts +4 -0
- package/dist/components/form/combobox.d.ts.map +1 -1
- package/dist/components/form/combobox.js +325 -0
- package/dist/components/form/date-picker.js +123 -0
- 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.js +94 -0
- package/dist/components/form/radio-group.js +106 -0
- package/dist/components/form/radio.js +110 -0
- package/dist/components/form/rate.js +116 -0
- package/dist/components/form/select.d.ts +5 -1
- package/dist/components/form/select.d.ts.map +1 -1
- package/dist/components/form/select.js +539 -0
- package/dist/components/form/slider.js +134 -0
- package/dist/components/form/switch.js +146 -0
- package/dist/components/form/time-picker.js +92 -0
- package/dist/components/form/transfer.js +273 -0
- package/dist/components/form/upload.js +138 -0
- package/dist/components/framework/body.js +333 -0
- package/dist/components/framework/dashboard-panel.js +519 -0
- package/dist/components/framework/dashboard.d.ts.map +1 -1
- package/dist/components/framework/dashboard.js +1084 -0
- package/dist/components/framework/header.js +237 -0
- package/dist/components/framework/log-panel.js +637 -0
- package/dist/components/framework/page.js +151 -0
- package/dist/components/framework/sidebar.d.ts +4 -10
- package/dist/components/framework/sidebar.d.ts.map +1 -1
- package/dist/components/framework/sidebar.js +477 -0
- package/dist/components/layout/affix.js +137 -0
- package/dist/components/layout/col.js +103 -0
- package/dist/components/layout/collapse-item.js +165 -0
- package/dist/components/layout/collapse.js +108 -0
- package/dist/components/layout/container.js +92 -0
- package/dist/components/layout/flex.js +100 -0
- package/dist/components/layout/row.js +103 -0
- package/dist/components/layout/space.js +85 -0
- package/dist/components/navigation/back-top.js +127 -0
- package/dist/components/navigation/breadcrumb-item.js +108 -0
- package/dist/components/navigation/breadcrumb.js +70 -0
- package/dist/components/navigation/menu-item.js +181 -0
- package/dist/components/navigation/menu.js +126 -0
- package/dist/components/navigation/steps.js +183 -0
- package/dist/components/navigation/sub-menu.d.ts.map +1 -1
- package/dist/components/navigation/sub-menu.js +252 -0
- package/dist/components/progress/progress-bar.js +97 -0
- package/dist/components/progress/progress-ring.js +111 -0
- package/dist/components/progress/skeleton.js +108 -0
- package/dist/components/progress/spinner.js +129 -0
- package/dist/components/theme/locale-switch.js +241 -0
- package/dist/components/theme/shadow-picker.js +233 -0
- package/dist/components/theme/shape-picker.js +232 -0
- package/dist/components/theme/theme-picker.js +236 -0
- package/dist/components/theme/theme-preview.d.ts +1 -2
- package/dist/components/theme/theme-preview.d.ts.map +1 -1
- package/dist/components/theme/theme-preview.js +376 -0
- package/dist/components/theme/theme-switch.d.ts.map +1 -1
- package/dist/components/theme/theme-switch.js +318 -0
- package/dist/components/theme/typo-picker.js +219 -0
- package/dist/core/AGENTS.md +6 -1
- package/dist/core/aithe-element.d.ts +2 -2
- package/dist/core/aithe-element.js +135 -0
- package/dist/core/aithe-widget.js +30 -0
- package/dist/core/anchored-overlay.d.ts +3 -0
- package/dist/core/anchored-overlay.d.ts.map +1 -1
- package/dist/core/anchored-overlay.js +111 -0
- package/dist/core/autoform/autoform.js +79 -0
- package/dist/core/autoform/autoview.d.ts +86 -0
- package/dist/core/autoform/autoview.d.ts.map +1 -0
- package/dist/core/autoform/autoview.js +37 -0
- package/dist/core/autoform/condition.js +170 -0
- package/dist/core/autoform/index.d.ts +2 -0
- package/dist/core/autoform/index.d.ts.map +1 -1
- package/dist/core/autoform/index.js +9 -0
- package/dist/core/autoform/types.js +7 -0
- package/dist/core/datahub/__tests__/force-options.test.d.ts +8 -0
- package/dist/core/datahub/__tests__/force-options.test.d.ts.map +1 -0
- package/dist/core/datahub/__tests__/force-options.test.js +161 -0
- package/dist/core/datahub/config/strategy.d.ts +1 -1
- package/dist/core/datahub/config/strategy.d.ts.map +1 -1
- package/dist/core/datahub/config/strategy.js +50 -0
- package/dist/core/datahub/core/adapter/fetch-adapter.d.ts +1 -1
- package/dist/core/datahub/core/adapter/fetch-adapter.d.ts.map +1 -1
- package/dist/core/datahub/core/adapter/fetch-adapter.js +118 -0
- package/dist/core/datahub/core/adapter/index.js +7 -0
- package/dist/core/datahub/core/adapter/mock-adapter.d.ts +1 -1
- package/dist/core/datahub/core/adapter/mock-adapter.d.ts.map +1 -1
- package/dist/core/datahub/core/adapter/mock-adapter.js +58 -0
- package/dist/core/datahub/core/api-styles.d.ts +1 -1
- package/dist/core/datahub/core/api-styles.d.ts.map +1 -1
- package/dist/core/datahub/core/api-styles.js +136 -0
- package/dist/core/datahub/core/datahub-core.d.ts +53 -3
- package/dist/core/datahub/core/datahub-core.d.ts.map +1 -1
- package/dist/core/datahub/core/datahub-core.js +520 -0
- package/dist/core/datahub/core/index.js +7 -0
- package/dist/core/datahub/index.js +50 -0
- package/dist/core/datahub/types.d.ts +24 -0
- package/dist/core/datahub/types.d.ts.map +1 -1
- package/dist/core/datahub/types.js +31 -0
- package/dist/core/datahub/utils/cache.js +55 -0
- package/dist/core/datahub/utils/common.js +23 -0
- package/dist/core/datahub/utils/dedup.d.ts +1 -1
- package/dist/core/datahub/utils/dedup.d.ts.map +1 -1
- package/dist/core/datahub/utils/dedup.js +52 -0
- package/dist/core/datahub/utils/idempotent.js +61 -0
- package/dist/core/datahub/utils/is-query.js +53 -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.js +132 -0
- package/dist/core/highlight/index.js +43 -0
- package/dist/core/highlight/lang-bash.js +27 -0
- package/dist/core/highlight/lang-c.js +27 -0
- package/dist/core/highlight/lang-cmake.js +27 -0
- package/dist/core/highlight/lang-cpp.js +27 -0
- package/dist/core/highlight/lang-css.js +24 -0
- package/dist/core/highlight/lang-dart.js +27 -0
- package/dist/core/highlight/lang-dockerfile.js +16 -0
- package/dist/core/highlight/lang-fsharp.js +23 -0
- package/dist/core/highlight/lang-go.js +22 -0
- package/dist/core/highlight/lang-html.js +12 -0
- package/dist/core/highlight/lang-java.js +22 -0
- package/dist/core/highlight/lang-javascript.js +26 -0
- package/dist/core/highlight/lang-json.js +13 -0
- package/dist/core/highlight/lang-jsonline.js +13 -0
- package/dist/core/highlight/lang-jsx.js +30 -0
- package/dist/core/highlight/lang-kotlin.js +27 -0
- package/dist/core/highlight/lang-latex.js +22 -0
- package/dist/core/highlight/lang-lua.js +26 -0
- package/dist/core/highlight/lang-makefile.js +22 -0
- package/dist/core/highlight/lang-markdown.js +18 -0
- package/dist/core/highlight/lang-objectivec.js +24 -0
- package/dist/core/highlight/lang-perl.js +30 -0
- package/dist/core/highlight/lang-powershell.js +23 -0
- package/dist/core/highlight/lang-python.js +27 -0
- package/dist/core/highlight/lang-r.js +21 -0
- package/dist/core/highlight/lang-ruby.js +29 -0
- package/dist/core/highlight/lang-rust.js +24 -0
- package/dist/core/highlight/lang-scala.js +26 -0
- package/dist/core/highlight/lang-sql.js +21 -0
- package/dist/core/highlight/lang-svelte.js +27 -0
- package/dist/core/highlight/lang-swift.js +28 -0
- package/dist/core/highlight/lang-tsx.js +35 -0
- package/dist/core/highlight/lang-typescript.js +31 -0
- package/dist/core/highlight/lang-vue.js +29 -0
- package/dist/core/highlight/lang-wasm.js +22 -0
- package/dist/core/highlight/lang-xml.js +12 -0
- package/dist/core/highlight/lang-yaml.js +14 -0
- package/dist/core/highlight/registry.js +99 -0
- package/dist/core/logger/LoggerCore.js +626 -0
- package/dist/core/logger/index.js +10 -0
- package/dist/core/logger/types.js +29 -0
- package/dist/core/markdown/index.js +20 -0
- package/dist/core/markdown/parser.d.ts +2 -0
- package/dist/core/markdown/parser.d.ts.map +1 -1
- package/dist/core/markdown/parser.js +376 -0
- package/dist/core/markdown/plugins.d.ts +2 -1
- package/dist/core/markdown/plugins.d.ts.map +1 -1
- package/dist/core/markdown/plugins.js +755 -0
- package/dist/core/markdown/types.d.ts +5 -0
- package/dist/core/markdown/types.d.ts.map +1 -1
- package/dist/core/markdown/types.js +7 -0
- package/dist/core/router/index.js +244 -0
- package/dist/core/styles.js +44 -0
- package/dist/core/types.d.ts +52 -3
- package/dist/core/types.d.ts.map +1 -1
- package/dist/core/types.js +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3695 -1622
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1844 -758
- package/dist/index.umd.js.map +1 -1
- package/dist/styles/aithe-ui.d.ts +23 -0
- package/dist/styles/aithe-ui.d.ts.map +1 -1
- package/dist/styles/aithe-ui.js +185 -0
- package/dist/styles/global.css.d.ts +1 -1
- package/dist/styles/global.css.d.ts.map +1 -1
- package/dist/styles/global.css.js +119 -0
- package/dist/styles/i18n/index.js +206 -0
- package/dist/styles/i18n/locales/de-DE.d.ts.map +1 -1
- package/dist/styles/i18n/locales/de-DE.js +151 -0
- package/dist/styles/i18n/locales/en-US.d.ts.map +1 -1
- package/dist/styles/i18n/locales/en-US.js +160 -0
- package/dist/styles/i18n/locales/es-ES.d.ts.map +1 -1
- package/dist/styles/i18n/locales/es-ES.js +151 -0
- package/dist/styles/i18n/locales/fr-FR.d.ts.map +1 -1
- package/dist/styles/i18n/locales/fr-FR.js +151 -0
- package/dist/styles/i18n/locales/index.js +14 -0
- package/dist/styles/i18n/locales/ja-JP.d.ts.map +1 -1
- package/dist/styles/i18n/locales/ja-JP.js +151 -0
- package/dist/styles/i18n/locales/ko-KR.d.ts.map +1 -1
- package/dist/styles/i18n/locales/ko-KR.js +151 -0
- package/dist/styles/i18n/locales/pt-BR.d.ts.map +1 -1
- package/dist/styles/i18n/locales/pt-BR.js +151 -0
- package/dist/styles/i18n/locales/zh-CN.d.ts.map +1 -1
- package/dist/styles/i18n/locales/zh-CN.js +160 -0
- package/dist/styles/i18n/locales/zh-HK.d.ts.map +1 -1
- package/dist/styles/i18n/locales/zh-HK.js +151 -0
- package/dist/styles/i18n/locales/zh-TW.d.ts.map +1 -1
- package/dist/styles/i18n/locales/zh-TW.js +151 -0
- package/dist/styles/layout/index.js +88 -0
- package/dist/styles/mixins.js +43 -0
- package/dist/styles/shadow/cyber.js +19 -0
- package/dist/styles/shadow/deep.js +19 -0
- package/dist/styles/shadow/diffuse.js +19 -0
- package/dist/styles/shadow/flat.js +19 -0
- package/dist/styles/shadow/glassmorphism.js +19 -0
- package/dist/styles/shadow/index.js +129 -0
- package/dist/styles/shadow/neumorphism.js +21 -0
- package/dist/styles/shadow/retro.js +19 -0
- package/dist/styles/shadow/sharp-business.js +19 -0
- package/dist/styles/shadow/skeuomorphic.js +21 -0
- package/dist/styles/shape/chamfer.js +19 -0
- package/dist/styles/shape/circle.js +19 -0
- package/dist/styles/shape/index.js +174 -0
- package/dist/styles/shape/organic.js +19 -0
- package/dist/styles/shape/pill.js +19 -0
- package/dist/styles/shape/rounded.js +21 -0
- package/dist/styles/shape/rounder.js +19 -0
- package/dist/styles/shape/sharp.js +19 -0
- package/dist/styles/shape/smooth.js +19 -0
- package/dist/styles/theme/aliyun.d.ts +1 -1
- package/dist/styles/theme/aliyun.d.ts.map +1 -1
- package/dist/styles/theme/aliyun.js +102 -0
- package/dist/styles/theme/amber.d.ts +1 -1
- package/dist/styles/theme/amber.d.ts.map +1 -1
- package/dist/styles/theme/amber.js +101 -0
- package/dist/styles/theme/blue.d.ts +1 -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 +1 -1
- package/dist/styles/theme/charcoal.d.ts.map +1 -1
- package/dist/styles/theme/charcoal.js +106 -0
- package/dist/styles/theme/cyan.d.ts +1 -1
- package/dist/styles/theme/cyan.d.ts.map +1 -1
- package/dist/styles/theme/cyan.js +96 -0
- package/dist/styles/theme/dark.d.ts +1 -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 +1 -1
- package/dist/styles/theme/ebony.d.ts.map +1 -1
- package/dist/styles/theme/ebony.js +106 -0
- package/dist/styles/theme/festive.d.ts +1 -1
- package/dist/styles/theme/festive.d.ts.map +1 -1
- package/dist/styles/theme/festive.js +101 -0
- package/dist/styles/theme/graphite.d.ts +1 -1
- package/dist/styles/theme/graphite.d.ts.map +1 -1
- package/dist/styles/theme/graphite.js +106 -0
- package/dist/styles/theme/gray.d.ts +1 -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 +1 -1
- package/dist/styles/theme/huawei.d.ts.map +1 -1
- package/dist/styles/theme/huawei.js +102 -0
- package/dist/styles/theme/index.d.ts +1 -1
- package/dist/styles/theme/index.d.ts.map +1 -1
- package/dist/styles/theme/index.js +276 -0
- package/dist/styles/theme/indigo.d.ts +1 -1
- package/dist/styles/theme/indigo.d.ts.map +1 -1
- package/dist/styles/theme/indigo.js +101 -0
- package/dist/styles/theme/ink.d.ts +1 -1
- package/dist/styles/theme/ink.d.ts.map +1 -1
- package/dist/styles/theme/ink.js +106 -0
- package/dist/styles/theme/light.d.ts +1 -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 +1 -1
- package/dist/styles/theme/midnight.d.ts.map +1 -1
- package/dist/styles/theme/midnight.js +106 -0
- package/dist/styles/theme/navy.d.ts +1 -1
- package/dist/styles/theme/navy.d.ts.map +1 -1
- package/dist/styles/theme/navy.js +106 -0
- package/dist/styles/theme/obsidian.d.ts +1 -1
- package/dist/styles/theme/obsidian.d.ts.map +1 -1
- package/dist/styles/theme/obsidian.js +106 -0
- package/dist/styles/theme/onyx.d.ts +1 -1
- package/dist/styles/theme/onyx.d.ts.map +1 -1
- package/dist/styles/theme/onyx.js +106 -0
- package/dist/styles/theme/orange.d.ts +1 -1
- package/dist/styles/theme/orange.d.ts.map +1 -1
- package/dist/styles/theme/orange.js +101 -0
- package/dist/styles/theme/pink.d.ts +1 -1
- package/dist/styles/theme/pink.d.ts.map +1 -1
- package/dist/styles/theme/pink.js +101 -0
- package/dist/styles/theme/purple.d.ts +1 -1
- package/dist/styles/theme/purple.d.ts.map +1 -1
- package/dist/styles/theme/purple.js +101 -0
- package/dist/styles/theme/raisin.d.ts +1 -1
- package/dist/styles/theme/raisin.d.ts.map +1 -1
- package/dist/styles/theme/raisin.js +106 -0
- package/dist/styles/theme/slate.d.ts +1 -1
- package/dist/styles/theme/slate.d.ts.map +1 -1
- package/dist/styles/theme/slate.js +106 -0
- package/dist/styles/theme/teal.d.ts +1 -1
- package/dist/styles/theme/teal.d.ts.map +1 -1
- package/dist/styles/theme/teal.js +101 -0
- package/dist/styles/theme/tianyi.d.ts +1 -1
- package/dist/styles/theme/tianyi.d.ts.map +1 -1
- package/dist/styles/theme/tianyi.js +102 -0
- package/dist/styles/types.js +1 -0
- package/dist/styles/typo/business.js +34 -0
- package/dist/styles/typo/compact.js +34 -0
- package/dist/styles/typo/index.js +99 -0
- package/dist/styles/typo/luxury.js +34 -0
- package/dist/styles/typo/minimal.js +34 -0
- package/dist/types/index.js +2 -0
- package/dist/utils/dom.js +51 -0
- package/dist/utils/events.js +32 -0
- package/dist/utils/icon.js +176 -0
- package/dist/utils/index.js +4 -0
- package/dist/utils/utils.d.ts +5 -5
- package/dist/utils/utils.js +89 -0
- package/dist/utils/validation.js +52 -0
- package/docs/api/basic/button.md +9 -6
- package/docs/api/basic/tag.md +24 -17
- package/docs/api/data/box-table.md +73 -0
- package/docs/api/data/dropdown.md +3 -2
- package/docs/api/data/metrics.md +2 -0
- package/docs/api/data/table-column.md +37 -23
- package/docs/api/data/table.md +158 -44
- package/docs/api/data/tabs.md +46 -1
- package/docs/api/data/tree-menu.md +55 -2
- package/docs/api/display/autoview.md +277 -0
- package/docs/api/display/box.md +66 -0
- package/docs/api/display/brief-box.md +73 -0
- package/docs/api/display/desc-item.md +57 -0
- package/docs/api/display/desc.md +246 -0
- package/docs/api/display/detail-box.md +75 -0
- 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 +115 -0
- package/docs/api/form/autoform.md +7 -3
- package/docs/api/form/combobox.md +27 -7
- package/docs/api/form/select.md +50 -28
- package/docs/api/framework/log-panel.md +46 -0
- package/docs/api/framework/sidebar.md +3 -2
- package/docs/api/summary.md +46 -35
- package/docs/api/theme/theme-switch.md +1 -1
- package/docs/autoform.md +14 -33
- package/docs/changelog/CHANGELOG.md +155 -0
- package/docs/changelog/VERSION_26.3.1.md +966 -0
- package/docs/changelog/VERSION_26.3.2.md +852 -0
- package/docs/datahub.md +4 -1
- package/docs/filter.md +332 -0
- package/docs/framework-integration.md +2 -2
- package/docs/guide.md +72 -6
- package/docs/i18n.md +2 -4
- package/docs/issue/26.3.1/issue_26.3.1.0.md +84 -0
- package/docs/issue/26.3.1/issue_26.3.1.1.md +72 -0
- package/docs/issue/26.3.1/issue_26.3.1.2.md +75 -0
- package/docs/issue/26.3.1/issue_26.3.1.3.md +78 -0
- package/docs/issue/26.3.1/issue_26.3.1.4.md +113 -0
- package/docs/issue/26.3.1/issue_26.3.1.5.md +142 -0
- package/docs/issue/26.3.1/issue_26.3.1.6.md +100 -0
- package/docs/issue/26.3.1/issue_26.3.1.7.md +78 -0
- package/docs/issue/26.3.2/issue_26.3.2.1.md +46 -0
- package/docs/issue/26.3.2/issue_26.3.2.2.md +82 -0
- package/docs/issue/26.3.2/issue_26.3.2.3.md +57 -0
- package/docs/issue/26.3.2/issue_26.3.2.4.md +43 -0
- package/docs/issue/AGENTS.md +24 -3
- package/docs/markdown.md +2 -2
- package/docs/quickstart.md +5 -5
- package/docs/theming.md +5 -4
- package/package.json +5 -2
- package/dist/components/navigation/dropdown.d.ts +0 -56
- package/dist/components/navigation/dropdown.d.ts.map +0 -1
- /package/docs/issue/{issue_26.2.2.1.md → 26.2.2/issue_26.2.2.1.md} +0 -0
- /package/docs/issue/{issue_26.2.2.2.md → 26.2.2/issue_26.2.2.2.md} +0 -0
- /package/docs/issue/{issue_26.2.2.3.md → 26.2.2/issue_26.2.2.3.md} +0 -0
- /package/docs/issue/{issue_26.2.2.4.md → 26.2.2/issue_26.2.2.4.md} +0 -0
- /package/docs/issue/{issue_26.2.3.1.md → 26.2.3/issue_26.2.3.1.md} +0 -0
- /package/docs/issue/{issue_26.2.3.10.md → 26.2.3/issue_26.2.3.10.md} +0 -0
- /package/docs/issue/{issue_26.2.3.11.md → 26.2.3/issue_26.2.3.11.md} +0 -0
- /package/docs/issue/{issue_26.2.3.12.md → 26.2.3/issue_26.2.3.12.md} +0 -0
- /package/docs/issue/{issue_26.2.3.13.md → 26.2.3/issue_26.2.3.13.md} +0 -0
- /package/docs/issue/{issue_26.2.3.14.md → 26.2.3/issue_26.2.3.14.md} +0 -0
- /package/docs/issue/{issue_26.2.3.15.md → 26.2.3/issue_26.2.3.15.md} +0 -0
- /package/docs/issue/{issue_26.2.3.16.md → 26.2.3/issue_26.2.3.16.md} +0 -0
- /package/docs/issue/{issue_26.2.3.2.md → 26.2.3/issue_26.2.3.2.md} +0 -0
- /package/docs/issue/{issue_26.2.3.3.md → 26.2.3/issue_26.2.3.3.md} +0 -0
- /package/docs/issue/{issue_26.2.3.4.md → 26.2.3/issue_26.2.3.4.md} +0 -0
- /package/docs/issue/{issue_26.2.3.5.md → 26.2.3/issue_26.2.3.5.md} +0 -0
- /package/docs/issue/{issue_26.2.3.6.md → 26.2.3/issue_26.2.3.6.md} +0 -0
- /package/docs/issue/{issue_26.2.3.7.md → 26.2.3/issue_26.2.3.7.md} +0 -0
- /package/docs/issue/{issue_26.2.3.8.md → 26.2.3/issue_26.2.3.8.md} +0 -0
- /package/docs/issue/{issue_26.2.3.9.md → 26.2.3/issue_26.2.3.9.md} +0 -0
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API 應用繁體中文(香港)翻譯資源
|
|
3
|
+
* Traditional Chinese (zh-HK) translation resource for the API documentation app.
|
|
4
|
+
*/
|
|
5
|
+
export const apiZhHk = {
|
|
6
|
+
'api.brand': 'Aithe UI API 文檔',
|
|
7
|
+
'api.meta': 'Lit + TypeScript + Web Components 企業級設計系統',
|
|
8
|
+
'api.demoLink': '示例',
|
|
9
|
+
'api.empty': '從側邊欄選擇一個元件以檢視其 API 文檔。',
|
|
10
|
+
'api.demoSection': '示例演示',
|
|
11
|
+
'api.code': '程式碼',
|
|
12
|
+
'api.reset': '重設',
|
|
13
|
+
'api.category.summary': '概覽',
|
|
14
|
+
'api.category.basic': '基礎',
|
|
15
|
+
'api.category.layout': '佈局',
|
|
16
|
+
'api.category.navigation': '導航',
|
|
17
|
+
'api.category.form': '表單',
|
|
18
|
+
'api.category.feedback': '回饋',
|
|
19
|
+
'api.category.data': '資料',
|
|
20
|
+
'api.category.display': '展示',
|
|
21
|
+
'api.category.progress': '進度',
|
|
22
|
+
'api.category.container': '容器',
|
|
23
|
+
'api.category.framework': '框架',
|
|
24
|
+
'api.category.theme': '主題',
|
|
25
|
+
'api.summary.apiSummary': 'API 概覽',
|
|
26
|
+
'api.basic.button': '按鈕',
|
|
27
|
+
'api.basic.buttonGroup': '按鈕組',
|
|
28
|
+
'api.basic.icon': '圖示',
|
|
29
|
+
'api.basic.input': '輸入框',
|
|
30
|
+
'api.basic.textarea': '文字域',
|
|
31
|
+
'api.basic.card': '卡片',
|
|
32
|
+
'api.basic.badge': '徽標',
|
|
33
|
+
'api.basic.tag': '標籤',
|
|
34
|
+
'api.basic.avatar': '頭像',
|
|
35
|
+
'api.basic.divider': '分割線',
|
|
36
|
+
'api.basic.empty': '空狀態',
|
|
37
|
+
'api.basic.chip': '晶片',
|
|
38
|
+
'api.layout.container': '容器',
|
|
39
|
+
'api.layout.row': '行',
|
|
40
|
+
'api.layout.col': '列',
|
|
41
|
+
'api.layout.flex': '彈性佈局',
|
|
42
|
+
'api.layout.space': '間距',
|
|
43
|
+
'api.layout.pageContainer': '頁面容器',
|
|
44
|
+
'api.layout.page': '頁面',
|
|
45
|
+
'api.layout.collapse': '折疊面板',
|
|
46
|
+
'api.layout.collapseItem': '折疊面板項',
|
|
47
|
+
'api.layout.affix': '固釘',
|
|
48
|
+
'api.framework.header': '頁首',
|
|
49
|
+
'api.framework.body': '頁體',
|
|
50
|
+
'api.framework.sidebar': '側邊欄',
|
|
51
|
+
'api.framework.page': '頁面',
|
|
52
|
+
'api.framework.dashboard': '儀表盤',
|
|
53
|
+
'api.framework.dashboardPanel': '儀表盤面板',
|
|
54
|
+
'api.navigation.menu': '選單',
|
|
55
|
+
'api.navigation.menuItem': '選單項',
|
|
56
|
+
'api.navigation.subMenu': '子選單',
|
|
57
|
+
'api.navigation.breadcrumb': '麵包屑',
|
|
58
|
+
'api.navigation.breadcrumbItem': '麵包屑項',
|
|
59
|
+
'api.navigation.steps': '步驟條',
|
|
60
|
+
'api.navigation.backTop': '回到頂部',
|
|
61
|
+
'api.data.dropdown': '下拉選單',
|
|
62
|
+
'api.form.checkbox': '核取方塊',
|
|
63
|
+
'api.form.checkboxGroup': '核取方塊組',
|
|
64
|
+
'api.form.radio': '選項按鈕',
|
|
65
|
+
'api.form.radioGroup': '選項按鈕組',
|
|
66
|
+
'api.form.select': '選擇器',
|
|
67
|
+
'api.form.switch': '開關',
|
|
68
|
+
'api.form.colorPicker': '顏色選擇器',
|
|
69
|
+
'api.form.combobox': '組合框',
|
|
70
|
+
'api.form.datePicker': '日期選擇器',
|
|
71
|
+
'api.form.timePicker': '時間選擇器',
|
|
72
|
+
'api.form.slider': '滑桿',
|
|
73
|
+
'api.form.rate': '評分',
|
|
74
|
+
'api.form.form': '表單',
|
|
75
|
+
'api.form.formItem': '表單項',
|
|
76
|
+
'api.form.upload': '上傳',
|
|
77
|
+
'api.form.transfer': '穿梭框',
|
|
78
|
+
'api.form.autoform': '自動表單',
|
|
79
|
+
'api.feedback.dialog': '對話方塊',
|
|
80
|
+
'api.feedback.modal': '模態方塊',
|
|
81
|
+
'api.feedback.drawer': '抽屜',
|
|
82
|
+
'api.feedback.tooltip': '工具提示',
|
|
83
|
+
'api.feedback.popover': '氣泡卡片',
|
|
84
|
+
'api.feedback.toast': '輕提示',
|
|
85
|
+
'api.feedback.alert': '警告',
|
|
86
|
+
'api.feedback.notification': '通知',
|
|
87
|
+
'api.feedback.loading': '載入',
|
|
88
|
+
'api.data.table': '表格',
|
|
89
|
+
'api.data.tableColumn': '表格列',
|
|
90
|
+
'api.data.timeline': '時間線',
|
|
91
|
+
'api.data.timelineItem': '時間線項',
|
|
92
|
+
'api.data.tabs': '標籤頁',
|
|
93
|
+
'api.data.tabPane': '標籤面板',
|
|
94
|
+
'api.data.tree': '樹形控制項',
|
|
95
|
+
'api.data.treeMenu': '樹形選單',
|
|
96
|
+
'api.data.pagination': '分頁',
|
|
97
|
+
'api.data.boxTable': '盒式表格',
|
|
98
|
+
'api.data.metrics': '業務指標',
|
|
99
|
+
'api.data.metricsGroup': '指標組',
|
|
100
|
+
'api.display.miniBox': '迷你記錄盒',
|
|
101
|
+
'api.display.briefBox': '簡要記錄盒',
|
|
102
|
+
'api.display.detailBox': '詳情記錄盒',
|
|
103
|
+
'api.display.profile': 'Profile',
|
|
104
|
+
'api.display.desc': '描述列表',
|
|
105
|
+
'api.data.box': '記錄盒基類',
|
|
106
|
+
'api.data.boxItem': '記錄盒區域項',
|
|
107
|
+
'api.display.carousel': '走馬燈',
|
|
108
|
+
'api.display.comparison': '對比',
|
|
109
|
+
'api.display.animatedImage': '動態圖片',
|
|
110
|
+
'api.display.markdown': 'Markdown',
|
|
111
|
+
'api.display.markdownEditor': 'Markdown 編輯器',
|
|
112
|
+
'api.display.codeEditor': '代碼編輯器',
|
|
113
|
+
'api.display.label': '標籤',
|
|
114
|
+
'api.display.labelDescription': '輕量級標籤組件,渲染 Markdown 子集。',
|
|
115
|
+
'api.display.autoview': '自動視圖',
|
|
116
|
+
'api.guides.filter': '數據格式化',
|
|
117
|
+
'api.progress.progressBar': '進度條',
|
|
118
|
+
'api.progress.progressRing': '進度環',
|
|
119
|
+
'api.progress.spinner': '旋轉器',
|
|
120
|
+
'api.progress.skeleton': '骨架屏',
|
|
121
|
+
'api.container.callout': '標註',
|
|
122
|
+
'api.container.details': '詳情面板',
|
|
123
|
+
'api.container.scroller': '捲動容器',
|
|
124
|
+
'api.container.splitPanel': '分割面板',
|
|
125
|
+
'api.theme.themePicker': '主題選擇器',
|
|
126
|
+
'api.theme.shapePicker': '形狀選擇器',
|
|
127
|
+
'api.theme.shadowPicker': '陰影選擇器',
|
|
128
|
+
'api.theme.typoPicker': '排版選擇器',
|
|
129
|
+
'api.theme.themePreview': '主題預覽',
|
|
130
|
+
'api.theme.localeSwitch': '語言切換',
|
|
131
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zh-TW.d.ts","sourceRoot":"","sources":["../../../../src/apps/api/i18n/zh-TW.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"zh-TW.d.ts","sourceRoot":"","sources":["../../../../src/apps/api/i18n/zh-TW.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CA4I1C,CAAC"}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* API 應用繁體中文(台灣)翻譯資源
|
|
3
|
+
* Traditional Chinese (zh-TW) translation resource for the API documentation app.
|
|
4
|
+
*/
|
|
5
|
+
export const apiZhTw = {
|
|
6
|
+
'api.brand': 'Aithe UI API 文檔',
|
|
7
|
+
'api.meta': 'Lit + TypeScript + Web Components 企業級設計系統',
|
|
8
|
+
'api.demoLink': '示例',
|
|
9
|
+
'api.empty': '從側邊欄選擇一個元件以檢視其 API 文檔。',
|
|
10
|
+
'api.demoSection': '示例演示',
|
|
11
|
+
'api.code': '程式碼',
|
|
12
|
+
'api.reset': '重設',
|
|
13
|
+
'api.category.summary': '概覽',
|
|
14
|
+
'api.category.basic': '基礎',
|
|
15
|
+
'api.category.layout': '佈局',
|
|
16
|
+
'api.category.navigation': '導航',
|
|
17
|
+
'api.category.form': '表單',
|
|
18
|
+
'api.category.feedback': '回饋',
|
|
19
|
+
'api.category.data': '資料',
|
|
20
|
+
'api.category.display': '展示',
|
|
21
|
+
'api.category.progress': '進度',
|
|
22
|
+
'api.category.container': '容器',
|
|
23
|
+
'api.category.framework': '框架',
|
|
24
|
+
'api.category.theme': '主題',
|
|
25
|
+
'api.summary.apiSummary': 'API 概覽',
|
|
26
|
+
'api.basic.button': '按鈕',
|
|
27
|
+
'api.basic.buttonGroup': '按鈕組',
|
|
28
|
+
'api.basic.icon': '圖示',
|
|
29
|
+
'api.basic.input': '輸入框',
|
|
30
|
+
'api.basic.textarea': '文字域',
|
|
31
|
+
'api.basic.card': '卡片',
|
|
32
|
+
'api.basic.badge': '徽標',
|
|
33
|
+
'api.basic.tag': '標籤',
|
|
34
|
+
'api.basic.avatar': '頭像',
|
|
35
|
+
'api.basic.divider': '分割線',
|
|
36
|
+
'api.basic.empty': '空狀態',
|
|
37
|
+
'api.basic.chip': '晶片',
|
|
38
|
+
'api.layout.container': '容器',
|
|
39
|
+
'api.layout.row': '行',
|
|
40
|
+
'api.layout.col': '列',
|
|
41
|
+
'api.layout.flex': '彈性佈局',
|
|
42
|
+
'api.layout.space': '間距',
|
|
43
|
+
'api.layout.pageContainer': '頁面容器',
|
|
44
|
+
'api.layout.page': '頁面',
|
|
45
|
+
'api.layout.collapse': '折疊面板',
|
|
46
|
+
'api.layout.collapseItem': '折疊面板項',
|
|
47
|
+
'api.layout.affix': '固釘',
|
|
48
|
+
'api.framework.header': '頁首',
|
|
49
|
+
'api.framework.body': '頁體',
|
|
50
|
+
'api.framework.sidebar': '側邊欄',
|
|
51
|
+
'api.framework.page': '頁面',
|
|
52
|
+
'api.framework.dashboard': '儀表盤',
|
|
53
|
+
'api.framework.dashboardPanel': '儀表盤面板',
|
|
54
|
+
'api.navigation.menu': '選單',
|
|
55
|
+
'api.navigation.menuItem': '選單項',
|
|
56
|
+
'api.navigation.subMenu': '子選單',
|
|
57
|
+
'api.navigation.breadcrumb': '麵包屑',
|
|
58
|
+
'api.navigation.breadcrumbItem': '麵包屑項',
|
|
59
|
+
'api.navigation.steps': '步驟條',
|
|
60
|
+
'api.navigation.backTop': '回到頂部',
|
|
61
|
+
'api.data.dropdown': '下拉選單',
|
|
62
|
+
'api.form.checkbox': '核取方塊',
|
|
63
|
+
'api.form.checkboxGroup': '核取方塊組',
|
|
64
|
+
'api.form.radio': '選項按鈕',
|
|
65
|
+
'api.form.radioGroup': '選項按鈕組',
|
|
66
|
+
'api.form.select': '選擇器',
|
|
67
|
+
'api.form.switch': '開關',
|
|
68
|
+
'api.form.colorPicker': '顏色選擇器',
|
|
69
|
+
'api.form.combobox': '組合框',
|
|
70
|
+
'api.form.datePicker': '日期選擇器',
|
|
71
|
+
'api.form.timePicker': '時間選擇器',
|
|
72
|
+
'api.form.slider': '滑桿',
|
|
73
|
+
'api.form.rate': '評分',
|
|
74
|
+
'api.form.form': '表單',
|
|
75
|
+
'api.form.formItem': '表單項',
|
|
76
|
+
'api.form.upload': '上傳',
|
|
77
|
+
'api.form.transfer': '穿梭框',
|
|
78
|
+
'api.form.autoform': '自動表單',
|
|
79
|
+
'api.feedback.dialog': '對話方塊',
|
|
80
|
+
'api.feedback.modal': '模態方塊',
|
|
81
|
+
'api.feedback.drawer': '抽屜',
|
|
82
|
+
'api.feedback.tooltip': '工具提示',
|
|
83
|
+
'api.feedback.popover': '氣泡卡片',
|
|
84
|
+
'api.feedback.toast': '輕提示',
|
|
85
|
+
'api.feedback.alert': '警告',
|
|
86
|
+
'api.feedback.notification': '通知',
|
|
87
|
+
'api.feedback.loading': '載入',
|
|
88
|
+
'api.data.table': '表格',
|
|
89
|
+
'api.data.tableColumn': '表格列',
|
|
90
|
+
'api.data.timeline': '時間線',
|
|
91
|
+
'api.data.timelineItem': '時間線項',
|
|
92
|
+
'api.data.tabs': '標籤頁',
|
|
93
|
+
'api.data.tabPane': '標籤面板',
|
|
94
|
+
'api.data.tree': '樹形控制項',
|
|
95
|
+
'api.data.treeMenu': '樹形選單',
|
|
96
|
+
'api.data.pagination': '分頁',
|
|
97
|
+
'api.data.boxTable': '盒式表格',
|
|
98
|
+
'api.data.metrics': '業務指標',
|
|
99
|
+
'api.data.metricsGroup': '指標組',
|
|
100
|
+
'api.display.miniBox': '迷你記錄盒',
|
|
101
|
+
'api.display.briefBox': '簡要記錄盒',
|
|
102
|
+
'api.display.detailBox': '詳情記錄盒',
|
|
103
|
+
'api.display.profile': 'Profile',
|
|
104
|
+
'api.display.desc': '描述列表',
|
|
105
|
+
'api.data.box': '記錄盒基類',
|
|
106
|
+
'api.data.boxItem': '記錄盒區域項',
|
|
107
|
+
'api.display.carousel': '走馬燈',
|
|
108
|
+
'api.display.comparison': '對比',
|
|
109
|
+
'api.display.animatedImage': '動態圖片',
|
|
110
|
+
'api.display.markdown': 'Markdown',
|
|
111
|
+
'api.display.markdownEditor': 'Markdown 編輯器',
|
|
112
|
+
'api.display.codeEditor': '代碼編輯器',
|
|
113
|
+
'api.display.label': '標籤',
|
|
114
|
+
'api.display.labelDescription': '輕量級標籤組件,渲染 Markdown 子集。',
|
|
115
|
+
'api.display.autoview': '自動視圖',
|
|
116
|
+
'api.guides.filter': '數據格式化',
|
|
117
|
+
'api.progress.progressBar': '進度條',
|
|
118
|
+
'api.progress.progressRing': '進度環',
|
|
119
|
+
'api.progress.spinner': '旋轉器',
|
|
120
|
+
'api.progress.skeleton': '骨架屏',
|
|
121
|
+
'api.container.callout': '標註',
|
|
122
|
+
'api.container.details': '詳情面板',
|
|
123
|
+
'api.container.scroller': '捲動容器',
|
|
124
|
+
'api.container.splitPanel': '分割面板',
|
|
125
|
+
'api.theme.themePicker': '主題選擇器',
|
|
126
|
+
'api.theme.shapePicker': '形狀選擇器',
|
|
127
|
+
'api.theme.shadowPicker': '陰影選擇器',
|
|
128
|
+
'api.theme.typoPicker': '排版選擇器',
|
|
129
|
+
'api.theme.themePreview': '主題預覽',
|
|
130
|
+
'api.theme.localeSwitch': '語言切換',
|
|
131
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../../../src/apps/api/pages/docs.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,WAAW,EAAY,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../../../src/apps/api/pages/docs.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AACH,OAAO,KAAK,EAAE,WAAW,EAAY,MAAM,gBAAgB,CAAC;AA8H5D,QAAA,MAAM,aAAa,EAAE,WAAW,EAmP/B,CAAC;AAeF,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
import { getDemoData } from '../demo-data';
|
|
2
|
+
import { t } from '../../../styles/i18n';
|
|
3
|
+
import { html as summaryHtml } from '../../../../docs/api/summary.md';
|
|
4
|
+
import { html as buttonHtml } from '../../../../docs/api/basic/button.md';
|
|
5
|
+
import { html as buttonGroupHtml } from '../../../../docs/api/basic/button-group.md';
|
|
6
|
+
import { html as iconHtml } from '../../../../docs/api/basic/icon.md';
|
|
7
|
+
import { html as inputHtml } from '../../../../docs/api/basic/input.md';
|
|
8
|
+
import { html as textareaHtml } from '../../../../docs/api/basic/textarea.md';
|
|
9
|
+
import { html as cardHtml } from '../../../../docs/api/basic/card.md';
|
|
10
|
+
import { html as badgeHtml } from '../../../../docs/api/basic/badge.md';
|
|
11
|
+
import { html as tagHtml } from '../../../../docs/api/basic/tag.md';
|
|
12
|
+
import { html as avatarHtml } from '../../../../docs/api/basic/avatar.md';
|
|
13
|
+
import { html as dividerHtml } from '../../../../docs/api/basic/divider.md';
|
|
14
|
+
import { html as emptyHtml } from '../../../../docs/api/basic/empty.md';
|
|
15
|
+
import { html as chipHtml } from '../../../../docs/api/basic/chip.md';
|
|
16
|
+
import { html as containerHtml } from '../../../../docs/api/layout/container.md';
|
|
17
|
+
import { html as rowHtml } from '../../../../docs/api/layout/row.md';
|
|
18
|
+
import { html as colHtml } from '../../../../docs/api/layout/col.md';
|
|
19
|
+
import { html as flexHtml } from '../../../../docs/api/layout/flex.md';
|
|
20
|
+
import { html as spaceHtml } from '../../../../docs/api/layout/space.md';
|
|
21
|
+
import { html as collapseHtml } from '../../../../docs/api/layout/collapse.md';
|
|
22
|
+
import { html as collapseItemHtml } from '../../../../docs/api/layout/collapse-item.md';
|
|
23
|
+
import { html as affixHtml } from '../../../../docs/api/layout/affix.md';
|
|
24
|
+
import { html as headerHtml } from '../../../../docs/api/framework/header.md';
|
|
25
|
+
import { html as bodyHtml } from '../../../../docs/api/framework/body.md';
|
|
26
|
+
import { html as sidebarHtml } from '../../../../docs/api/framework/sidebar.md';
|
|
27
|
+
import { html as pageHtml } from '../../../../docs/api/framework/page.md';
|
|
28
|
+
import { html as dashboardHtml } from '../../../../docs/api/framework/dashboard.md';
|
|
29
|
+
import { html as dashboardPanelHtml } from '../../../../docs/api/framework/dashboard-panel.md';
|
|
30
|
+
import { html as metricsHtml } from '../../../../docs/api/data/metrics.md';
|
|
31
|
+
import { html as metricsGroupHtml } from '../../../../docs/api/data/metrics-group.md';
|
|
32
|
+
import { html as menuHtml } from '../../../../docs/api/navigation/menu.md';
|
|
33
|
+
import { html as menuItemHtml } from '../../../../docs/api/navigation/menu-item.md';
|
|
34
|
+
import { html as subMenuHtml } from '../../../../docs/api/navigation/sub-menu.md';
|
|
35
|
+
import { html as breadcrumbHtml } from '../../../../docs/api/navigation/breadcrumb.md';
|
|
36
|
+
import { html as breadcrumbItemHtml } from '../../../../docs/api/navigation/breadcrumb-item.md';
|
|
37
|
+
import { html as stepsHtml } from '../../../../docs/api/navigation/steps.md';
|
|
38
|
+
import { html as backTopHtml } from '../../../../docs/api/navigation/back-top.md';
|
|
39
|
+
import { html as checkboxHtml } from '../../../../docs/api/form/checkbox.md';
|
|
40
|
+
import { html as checkboxGroupHtml } from '../../../../docs/api/form/checkbox-group.md';
|
|
41
|
+
import { html as radioHtml } from '../../../../docs/api/form/radio.md';
|
|
42
|
+
import { html as radioGroupHtml } from '../../../../docs/api/form/radio-group.md';
|
|
43
|
+
import { html as selectHtml } from '../../../../docs/api/form/select.md';
|
|
44
|
+
import { html as switchHtml } from '../../../../docs/api/form/switch.md';
|
|
45
|
+
import { html as colorPickerHtml } from '../../../../docs/api/form/color-picker.md';
|
|
46
|
+
import { html as comboboxHtml } from '../../../../docs/api/form/combobox.md';
|
|
47
|
+
import { html as datePickerHtml } from '../../../../docs/api/form/date-picker.md';
|
|
48
|
+
import { html as timePickerHtml } from '../../../../docs/api/form/time-picker.md';
|
|
49
|
+
import { html as sliderHtml } from '../../../../docs/api/form/slider.md';
|
|
50
|
+
import { html as rateHtml } from '../../../../docs/api/form/rate.md';
|
|
51
|
+
import { html as formHtml } from '../../../../docs/api/form/form.md';
|
|
52
|
+
import { html as formItemHtml } from '../../../../docs/api/form/form-item.md';
|
|
53
|
+
import { html as uploadHtml } from '../../../../docs/api/form/upload.md';
|
|
54
|
+
import { html as transferHtml } from '../../../../docs/api/form/transfer.md';
|
|
55
|
+
import { html as autoformHtml } from '../../../../docs/api/form/autoform.md';
|
|
56
|
+
import { html as dialogHtml } from '../../../../docs/api/feedback/dialog.md';
|
|
57
|
+
import { html as modalHtml } from '../../../../docs/api/feedback/modal.md';
|
|
58
|
+
import { html as drawerHtml } from '../../../../docs/api/feedback/drawer.md';
|
|
59
|
+
import { html as tooltipHtml } from '../../../../docs/api/feedback/tooltip.md';
|
|
60
|
+
import { html as popoverHtml } from '../../../../docs/api/feedback/popover.md';
|
|
61
|
+
import { html as dropdownHtml } from '../../../../docs/api/data/dropdown.md';
|
|
62
|
+
import { html as toastHtml } from '../../../../docs/api/feedback/toast.md';
|
|
63
|
+
import { html as alertHtml } from '../../../../docs/api/feedback/alert.md';
|
|
64
|
+
import { html as notificationHtml } from '../../../../docs/api/feedback/notification.md';
|
|
65
|
+
import { html as loadingHtml } from '../../../../docs/api/feedback/loading.md';
|
|
66
|
+
import { html as tableHtml } from '../../../../docs/api/data/table.md';
|
|
67
|
+
import { html as tableColumnHtml } from '../../../../docs/api/data/table-column.md';
|
|
68
|
+
import { html as timelineHtml } from '../../../../docs/api/data/timeline.md';
|
|
69
|
+
import { html as timelineItemHtml } from '../../../../docs/api/data/timeline-item.md';
|
|
70
|
+
import { html as tabsHtml } from '../../../../docs/api/data/tabs.md';
|
|
71
|
+
import { html as tabPaneHtml } from '../../../../docs/api/data/tab-pane.md';
|
|
72
|
+
import { html as treeHtml } from '../../../../docs/api/data/tree.md';
|
|
73
|
+
import { html as treeMenuHtml } from '../../../../docs/api/data/tree-menu.md';
|
|
74
|
+
import { html as paginationHtml } from '../../../../docs/api/data/pagination.md';
|
|
75
|
+
import { html as boxTableHtml } from '../../../../docs/api/data/box-table.md';
|
|
76
|
+
import { html as carouselHtml } from '../../../../docs/api/display/carousel.md';
|
|
77
|
+
import { html as comparisonHtml } from '../../../../docs/api/display/comparison.md';
|
|
78
|
+
import { html as animatedImageHtml } from '../../../../docs/api/display/animated-image.md';
|
|
79
|
+
import { html as markdownHtml } from '../../../../docs/api/display/markdown.md';
|
|
80
|
+
import { html as markdownEditorHtml } from '../../../../docs/api/display/markdown-editor.md';
|
|
81
|
+
import { html as codeEditorHtml } from '../../../../docs/api/display/code-editor.md';
|
|
82
|
+
import { html as labelHtml } from '../../../../docs/api/display/label.md';
|
|
83
|
+
import { html as miniBoxHtml } from '../../../../docs/api/display/mini-box.md';
|
|
84
|
+
import { html as briefBoxHtml } from '../../../../docs/api/display/brief-box.md';
|
|
85
|
+
import { html as detailBoxHtml } from '../../../../docs/api/display/detail-box.md';
|
|
86
|
+
import { html as profileHtml } from '../../../../docs/api/display/profile.md';
|
|
87
|
+
import { html as descHtml } from '../../../../docs/api/display/desc.md';
|
|
88
|
+
import { html as autoviewHtml } from '../../../../docs/api/display/autoview.md';
|
|
89
|
+
import { html as progressBarHtml } from '../../../../docs/api/progress/progress-bar.md';
|
|
90
|
+
import { html as progressRingHtml } from '../../../../docs/api/progress/progress-ring.md';
|
|
91
|
+
import { html as spinnerHtml } from '../../../../docs/api/progress/spinner.md';
|
|
92
|
+
import { html as skeletonHtml } from '../../../../docs/api/progress/skeleton.md';
|
|
93
|
+
import { html as calloutHtml } from '../../../../docs/api/container/callout.md';
|
|
94
|
+
import { html as detailsHtml } from '../../../../docs/api/container/details.md';
|
|
95
|
+
import { html as scrollerHtml } from '../../../../docs/api/container/scroller.md';
|
|
96
|
+
import { html as splitPanelHtml } from '../../../../docs/api/container/split-panel.md';
|
|
97
|
+
import { html as themePickerHtml } from '../../../../docs/api/theme/theme-picker.md';
|
|
98
|
+
import { html as shapePickerHtml } from '../../../../docs/api/theme/shape-picker.md';
|
|
99
|
+
import { html as shadowPickerHtml } from '../../../../docs/api/theme/shadow-picker.md';
|
|
100
|
+
import { html as typoPickerHtml } from '../../../../docs/api/theme/typo-picker.md';
|
|
101
|
+
import { html as themePreviewHtml } from '../../../../docs/api/theme/theme-preview.md';
|
|
102
|
+
import { html as localeSwitchHtml } from '../../../../docs/api/theme/locale-switch.md';
|
|
103
|
+
import { html as guideQuickstartHtml } from '../../../../docs/quickstart.md';
|
|
104
|
+
import { html as guideGuideHtml } from '../../../../docs/guide.md';
|
|
105
|
+
import { html as guideThemingHtml } from '../../../../docs/theming.md';
|
|
106
|
+
import { html as guideI18nHtml } from '../../../../docs/i18n.md';
|
|
107
|
+
import { html as guideDatahubHtml } from '../../../../docs/datahub.md';
|
|
108
|
+
import { html as guideFrameworkIntegrationHtml } from '../../../../docs/framework-integration.md';
|
|
109
|
+
import { html as guideAutoformHtml } from '../../../../docs/autoform.md';
|
|
110
|
+
import { html as guideMarkdownHtml } from '../../../../docs/markdown.md';
|
|
111
|
+
import { html as guideHighlightHtml } from '../../../../docs/highlight.md';
|
|
112
|
+
import { html as guideFilterHtml } from '../../../../docs/filter.md';
|
|
113
|
+
const docCategories = [
|
|
114
|
+
{
|
|
115
|
+
key: 'summary',
|
|
116
|
+
label: () => t('api.category.summary'),
|
|
117
|
+
entries: [{ key: 'summary', label: () => t('api.summary.apiSummary'), html: summaryHtml }],
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
key: 'guides',
|
|
121
|
+
label: () => t('api.category.guides'),
|
|
122
|
+
entries: [
|
|
123
|
+
{
|
|
124
|
+
key: 'guide-quickstart',
|
|
125
|
+
label: () => t('api.guides.quickstart'),
|
|
126
|
+
html: guideQuickstartHtml,
|
|
127
|
+
},
|
|
128
|
+
{ key: 'guide-guide', label: () => t('api.guides.guide'), html: guideGuideHtml },
|
|
129
|
+
{ key: 'guide-theming', label: () => t('api.guides.theming'), html: guideThemingHtml },
|
|
130
|
+
{ key: 'guide-i18n', label: () => t('api.guides.i18n'), html: guideI18nHtml },
|
|
131
|
+
{ key: 'guide-datahub', label: () => t('api.guides.datahub'), html: guideDatahubHtml },
|
|
132
|
+
{
|
|
133
|
+
key: 'guide-framework-integration',
|
|
134
|
+
label: () => t('api.guides.frameworkIntegration'),
|
|
135
|
+
html: guideFrameworkIntegrationHtml,
|
|
136
|
+
},
|
|
137
|
+
{ key: 'guide-autoform', label: () => t('api.guides.autoform'), html: guideAutoformHtml },
|
|
138
|
+
{ key: 'guide-markdown', label: () => t('api.guides.markdown'), html: guideMarkdownHtml },
|
|
139
|
+
{ key: 'guide-highlight', label: () => t('api.guides.highlight'), html: guideHighlightHtml },
|
|
140
|
+
{ key: 'guide-filter', label: () => t('api.guides.filter'), html: guideFilterHtml },
|
|
141
|
+
],
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
key: 'basic',
|
|
145
|
+
label: () => t('api.category.basic'),
|
|
146
|
+
entries: [
|
|
147
|
+
{ key: 'basic-button', label: () => t('api.basic.button'), html: buttonHtml },
|
|
148
|
+
{ key: 'basic-button-group', label: () => t('api.basic.buttonGroup'), html: buttonGroupHtml },
|
|
149
|
+
{ key: 'basic-icon', label: () => t('api.basic.icon'), html: iconHtml },
|
|
150
|
+
{ key: 'basic-input', label: () => t('api.basic.input'), html: inputHtml },
|
|
151
|
+
{ key: 'basic-textarea', label: () => t('api.basic.textarea'), html: textareaHtml },
|
|
152
|
+
{ key: 'basic-card', label: () => t('api.basic.card'), html: cardHtml },
|
|
153
|
+
{ key: 'basic-badge', label: () => t('api.basic.badge'), html: badgeHtml },
|
|
154
|
+
{ key: 'basic-tag', label: () => t('api.basic.tag'), html: tagHtml },
|
|
155
|
+
{ key: 'basic-avatar', label: () => t('api.basic.avatar'), html: avatarHtml },
|
|
156
|
+
{ key: 'basic-divider', label: () => t('api.basic.divider'), html: dividerHtml },
|
|
157
|
+
{ key: 'basic-empty', label: () => t('api.basic.empty'), html: emptyHtml },
|
|
158
|
+
{ key: 'basic-chip', label: () => t('api.basic.chip'), html: chipHtml },
|
|
159
|
+
],
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
key: 'layout',
|
|
163
|
+
label: () => t('api.category.layout'),
|
|
164
|
+
entries: [
|
|
165
|
+
{ key: 'layout-container', label: () => t('api.layout.container'), html: containerHtml },
|
|
166
|
+
{ key: 'layout-row', label: () => t('api.layout.row'), html: rowHtml },
|
|
167
|
+
{ key: 'layout-col', label: () => t('api.layout.col'), html: colHtml },
|
|
168
|
+
{ key: 'layout-flex', label: () => t('api.layout.flex'), html: flexHtml },
|
|
169
|
+
{ key: 'layout-space', label: () => t('api.layout.space'), html: spaceHtml },
|
|
170
|
+
{ key: 'layout-collapse', label: () => t('api.layout.collapse'), html: collapseHtml },
|
|
171
|
+
{
|
|
172
|
+
key: 'layout-collapse-item',
|
|
173
|
+
label: () => t('api.layout.collapseItem'),
|
|
174
|
+
html: collapseItemHtml,
|
|
175
|
+
},
|
|
176
|
+
{ key: 'layout-affix', label: () => t('api.layout.affix'), html: affixHtml },
|
|
177
|
+
],
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
key: 'framework',
|
|
181
|
+
label: () => t('api.category.framework'),
|
|
182
|
+
entries: [
|
|
183
|
+
{ key: 'framework-header', label: () => t('api.framework.header'), html: headerHtml },
|
|
184
|
+
{ key: 'framework-body', label: () => t('api.framework.body'), html: bodyHtml },
|
|
185
|
+
{ key: 'framework-sidebar', label: () => t('api.framework.sidebar'), html: sidebarHtml },
|
|
186
|
+
{ key: 'framework-page', label: () => t('api.framework.page'), html: pageHtml },
|
|
187
|
+
{
|
|
188
|
+
key: 'framework-dashboard',
|
|
189
|
+
label: () => t('api.framework.dashboard'),
|
|
190
|
+
html: dashboardHtml,
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
key: 'framework-dashboard-panel',
|
|
194
|
+
label: () => t('api.framework.dashboardPanel'),
|
|
195
|
+
html: dashboardPanelHtml,
|
|
196
|
+
},
|
|
197
|
+
],
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
key: 'navigation',
|
|
201
|
+
label: () => t('api.category.navigation'),
|
|
202
|
+
entries: [
|
|
203
|
+
{ key: 'nav-menu', label: () => t('api.navigation.menu'), html: menuHtml },
|
|
204
|
+
{ key: 'nav-menu-item', label: () => t('api.navigation.menuItem'), html: menuItemHtml },
|
|
205
|
+
{ key: 'nav-sub-menu', label: () => t('api.navigation.subMenu'), html: subMenuHtml },
|
|
206
|
+
{ key: 'nav-breadcrumb', label: () => t('api.navigation.breadcrumb'), html: breadcrumbHtml },
|
|
207
|
+
{
|
|
208
|
+
key: 'nav-breadcrumb-item',
|
|
209
|
+
label: () => t('api.navigation.breadcrumbItem'),
|
|
210
|
+
html: breadcrumbItemHtml,
|
|
211
|
+
},
|
|
212
|
+
{ key: 'nav-steps', label: () => t('api.navigation.steps'), html: stepsHtml },
|
|
213
|
+
{ key: 'nav-back-top', label: () => t('api.navigation.backTop'), html: backTopHtml },
|
|
214
|
+
],
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
key: 'form',
|
|
218
|
+
label: () => t('api.category.form'),
|
|
219
|
+
entries: [
|
|
220
|
+
{ key: 'form-checkbox', label: () => t('api.form.checkbox'), html: checkboxHtml },
|
|
221
|
+
{
|
|
222
|
+
key: 'form-checkbox-group',
|
|
223
|
+
label: () => t('api.form.checkboxGroup'),
|
|
224
|
+
html: checkboxGroupHtml,
|
|
225
|
+
},
|
|
226
|
+
{ key: 'form-radio', label: () => t('api.form.radio'), html: radioHtml },
|
|
227
|
+
{ key: 'form-radio-group', label: () => t('api.form.radioGroup'), html: radioGroupHtml },
|
|
228
|
+
{ key: 'form-select', label: () => t('api.form.select'), html: selectHtml },
|
|
229
|
+
{ key: 'form-switch', label: () => t('api.form.switch'), html: switchHtml },
|
|
230
|
+
{ key: 'form-color-picker', label: () => t('api.form.colorPicker'), html: colorPickerHtml },
|
|
231
|
+
{ key: 'form-combobox', label: () => t('api.form.combobox'), html: comboboxHtml },
|
|
232
|
+
{ key: 'form-date-picker', label: () => t('api.form.datePicker'), html: datePickerHtml },
|
|
233
|
+
{ key: 'form-time-picker', label: () => t('api.form.timePicker'), html: timePickerHtml },
|
|
234
|
+
{ key: 'form-slider', label: () => t('api.form.slider'), html: sliderHtml },
|
|
235
|
+
{ key: 'form-rate', label: () => t('api.form.rate'), html: rateHtml },
|
|
236
|
+
{ key: 'form-form', label: () => t('api.form.form'), html: formHtml },
|
|
237
|
+
{ key: 'form-form-item', label: () => t('api.form.formItem'), html: formItemHtml },
|
|
238
|
+
{ key: 'form-upload', label: () => t('api.form.upload'), html: uploadHtml },
|
|
239
|
+
{ key: 'form-transfer', label: () => t('api.form.transfer'), html: transferHtml },
|
|
240
|
+
{ key: 'form-autoform', label: () => t('api.form.autoform'), html: autoformHtml },
|
|
241
|
+
],
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
key: 'feedback',
|
|
245
|
+
label: () => t('api.category.feedback'),
|
|
246
|
+
entries: [
|
|
247
|
+
{ key: 'fb-dialog', label: () => t('api.feedback.dialog'), html: dialogHtml },
|
|
248
|
+
{ key: 'fb-modal', label: () => t('api.feedback.modal'), html: modalHtml },
|
|
249
|
+
{ key: 'fb-drawer', label: () => t('api.feedback.drawer'), html: drawerHtml },
|
|
250
|
+
{ key: 'fb-tooltip', label: () => t('api.feedback.tooltip'), html: tooltipHtml },
|
|
251
|
+
{ key: 'fb-popover', label: () => t('api.feedback.popover'), html: popoverHtml },
|
|
252
|
+
{ key: 'fb-toast', label: () => t('api.feedback.toast'), html: toastHtml },
|
|
253
|
+
{ key: 'fb-alert', label: () => t('api.feedback.alert'), html: alertHtml },
|
|
254
|
+
{
|
|
255
|
+
key: 'fb-notification',
|
|
256
|
+
label: () => t('api.feedback.notification'),
|
|
257
|
+
html: notificationHtml,
|
|
258
|
+
},
|
|
259
|
+
{ key: 'fb-loading', label: () => t('api.feedback.loading'), html: loadingHtml },
|
|
260
|
+
],
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
key: 'data',
|
|
264
|
+
label: () => t('api.category.data'),
|
|
265
|
+
entries: [
|
|
266
|
+
{ key: 'data-table', label: () => t('api.data.table'), html: tableHtml },
|
|
267
|
+
{ key: 'data-table-column', label: () => t('api.data.tableColumn'), html: tableColumnHtml },
|
|
268
|
+
{ key: 'data-timeline', label: () => t('api.data.timeline'), html: timelineHtml },
|
|
269
|
+
{
|
|
270
|
+
key: 'data-timeline-item',
|
|
271
|
+
label: () => t('api.data.timelineItem'),
|
|
272
|
+
html: timelineItemHtml,
|
|
273
|
+
},
|
|
274
|
+
{ key: 'data-tabs', label: () => t('api.data.tabs'), html: tabsHtml },
|
|
275
|
+
{ key: 'data-tab-pane', label: () => t('api.data.tabPane'), html: tabPaneHtml },
|
|
276
|
+
{ key: 'data-tree', label: () => t('api.data.tree'), html: treeHtml },
|
|
277
|
+
{ key: 'data-tree-menu', label: () => t('api.data.treeMenu'), html: treeMenuHtml },
|
|
278
|
+
{ key: 'data-dropdown', label: () => t('api.data.dropdown'), html: dropdownHtml },
|
|
279
|
+
{ key: 'data-pagination', label: () => t('api.data.pagination'), html: paginationHtml },
|
|
280
|
+
{ key: 'data-box-table', label: () => t('api.data.boxTable'), html: boxTableHtml },
|
|
281
|
+
{ key: 'data-metrics', label: () => t('api.data.metrics'), html: metricsHtml },
|
|
282
|
+
{ key: 'data-metrics-group', label: () => t('api.data.metricsGroup'), html: metricsGroupHtml },
|
|
283
|
+
],
|
|
284
|
+
},
|
|
285
|
+
{
|
|
286
|
+
key: 'display',
|
|
287
|
+
label: () => t('api.category.display'),
|
|
288
|
+
entries: [
|
|
289
|
+
{ key: 'disp-carousel', label: () => t('api.display.carousel'), html: carouselHtml },
|
|
290
|
+
{ key: 'disp-comparison', label: () => t('api.display.comparison'), html: comparisonHtml },
|
|
291
|
+
{
|
|
292
|
+
key: 'disp-animated-image',
|
|
293
|
+
label: () => t('api.display.animatedImage'),
|
|
294
|
+
html: animatedImageHtml,
|
|
295
|
+
},
|
|
296
|
+
{ key: 'disp-markdown', label: () => t('api.display.markdown'), html: markdownHtml },
|
|
297
|
+
{
|
|
298
|
+
key: 'disp-markdown-editor',
|
|
299
|
+
label: () => t('api.display.markdownEditor'),
|
|
300
|
+
html: markdownEditorHtml,
|
|
301
|
+
},
|
|
302
|
+
{ key: 'disp-code-editor', label: () => t('api.display.codeEditor'), html: codeEditorHtml },
|
|
303
|
+
{ key: 'disp-label', label: () => t('api.display.label'), html: labelHtml },
|
|
304
|
+
{ key: 'disp-mini-box', label: () => t('api.display.miniBox'), html: miniBoxHtml },
|
|
305
|
+
{ key: 'disp-brief-box', label: () => t('api.display.briefBox'), html: briefBoxHtml },
|
|
306
|
+
{ key: 'disp-detail-box', label: () => t('api.display.detailBox'), html: detailBoxHtml },
|
|
307
|
+
{ key: 'disp-profile', label: () => t('api.display.profile'), html: profileHtml },
|
|
308
|
+
{ key: 'disp-desc', label: () => t('api.display.desc'), html: descHtml },
|
|
309
|
+
{ key: 'disp-autoview', label: () => t('api.display.autoview'), html: autoviewHtml },
|
|
310
|
+
],
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
key: 'progress',
|
|
314
|
+
label: () => t('api.category.progress'),
|
|
315
|
+
entries: [
|
|
316
|
+
{ key: 'prog-bar', label: () => t('api.progress.progressBar'), html: progressBarHtml },
|
|
317
|
+
{ key: 'prog-ring', label: () => t('api.progress.progressRing'), html: progressRingHtml },
|
|
318
|
+
{ key: 'prog-spinner', label: () => t('api.progress.spinner'), html: spinnerHtml },
|
|
319
|
+
{ key: 'prog-skeleton', label: () => t('api.progress.skeleton'), html: skeletonHtml },
|
|
320
|
+
],
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
key: 'container',
|
|
324
|
+
label: () => t('api.category.container'),
|
|
325
|
+
entries: [
|
|
326
|
+
{ key: 'cont-callout', label: () => t('api.container.callout'), html: calloutHtml },
|
|
327
|
+
{ key: 'cont-details', label: () => t('api.container.details'), html: detailsHtml },
|
|
328
|
+
{ key: 'cont-scroller', label: () => t('api.container.scroller'), html: scrollerHtml },
|
|
329
|
+
{ key: 'cont-split-panel', label: () => t('api.container.splitPanel'), html: splitPanelHtml },
|
|
330
|
+
],
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
key: 'theme',
|
|
334
|
+
label: () => t('api.category.theme'),
|
|
335
|
+
entries: [
|
|
336
|
+
{ key: 'theme-picker', label: () => t('api.theme.themePicker'), html: themePickerHtml },
|
|
337
|
+
{ key: 'theme-shape-picker', label: () => t('api.theme.shapePicker'), html: shapePickerHtml },
|
|
338
|
+
{
|
|
339
|
+
key: 'theme-shadow-picker',
|
|
340
|
+
label: () => t('api.theme.shadowPicker'),
|
|
341
|
+
html: shadowPickerHtml,
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
key: 'theme-typo-picker',
|
|
345
|
+
label: () => t('api.theme.typoPicker'),
|
|
346
|
+
html: typoPickerHtml,
|
|
347
|
+
},
|
|
348
|
+
{ key: 'theme-preview', label: () => t('api.theme.themePreview'), html: themePreviewHtml },
|
|
349
|
+
{
|
|
350
|
+
key: 'theme-locale-switch',
|
|
351
|
+
label: () => t('api.theme.localeSwitch'),
|
|
352
|
+
html: localeSwitchHtml,
|
|
353
|
+
},
|
|
354
|
+
],
|
|
355
|
+
},
|
|
356
|
+
];
|
|
357
|
+
/** 为文档条目注入 demo 数据 / Enrich doc entries with demo data */
|
|
358
|
+
function enrichWithDemo(entries) {
|
|
359
|
+
return entries.map((entry) => {
|
|
360
|
+
const demo = getDemoData(entry.key);
|
|
361
|
+
if (!demo)
|
|
362
|
+
return entry;
|
|
363
|
+
return { ...entry, ...demo };
|
|
364
|
+
});
|
|
365
|
+
}
|
|
366
|
+
for (const cat of docCategories) {
|
|
367
|
+
cat.entries = enrichWithDemo(cat.entries);
|
|
368
|
+
}
|
|
369
|
+
export { docCategories };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import './app';
|