@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,248 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { css, html } from 'lit';
|
|
8
|
+
import { customElement, property } from 'lit/decorators.js';
|
|
9
|
+
import { classMap } from 'lit/directives/class-map.js';
|
|
10
|
+
import { AitheElement } from '../../core/aithe-element';
|
|
11
|
+
import { aitheBaseStyles } from '../../core/styles';
|
|
12
|
+
/**
|
|
13
|
+
* Colored tag / label with optional close and select behavior.
|
|
14
|
+
* 彩色标签,支持关闭和选中交互。
|
|
15
|
+
*
|
|
16
|
+
* @slot - Default slot for tag label text. 标签文本内容。
|
|
17
|
+
* @fires aithe-change - Emitted when selectable tag is toggled. 选中状态变更时触发。
|
|
18
|
+
* @fires aithe-close - Emitted when the close button is clicked. 关闭按钮点击时触发。
|
|
19
|
+
* @example
|
|
20
|
+
* ```html
|
|
21
|
+
* <aithe-tag variant="primary" closable>Selectable Tag</aithe-tag>
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
24
|
+
let AitheTag = class AitheTag extends AitheElement {
|
|
25
|
+
constructor() {
|
|
26
|
+
super(...arguments);
|
|
27
|
+
/**
|
|
28
|
+
* Tag color variant. 标签颜色类型。
|
|
29
|
+
* @deprecated Use `variant` instead. 请使用 `variant` 代替。
|
|
30
|
+
*/
|
|
31
|
+
this.type = 'success';
|
|
32
|
+
/** Whether the tag shows a close button. 是否显示关闭按钮。 */
|
|
33
|
+
this.closable = false;
|
|
34
|
+
/** Whether the tag can be toggled (selected/unselected). 是否可选中切换。 */
|
|
35
|
+
this.selectable = false;
|
|
36
|
+
/** Whether the tag is currently selected. 当前是否选中。 */
|
|
37
|
+
this.selected = false;
|
|
38
|
+
/** Border-radius preset. 圆角预设。 */
|
|
39
|
+
this.rounded = 'full';
|
|
40
|
+
/** Whether the tag is disabled. 是否禁用。 */
|
|
41
|
+
this.disabled = false;
|
|
42
|
+
/** Size scale of the tag. 标签的尺寸规格。 */
|
|
43
|
+
this.size = 'sm';
|
|
44
|
+
/** Toggles the selected state and emits change event. 切换选中状态并触发变更事件。 */
|
|
45
|
+
this.toggleTag = () => {
|
|
46
|
+
if (!this.selectable || this.disabled) {
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
this.selected = !this.selected;
|
|
50
|
+
this.emit('aithe-change', { selected: this.selected });
|
|
51
|
+
};
|
|
52
|
+
/** Handles close button click: emits event, then removes the tag from DOM. 处理关闭按钮点击:触发事件、然后从 DOM 移除标签。 */
|
|
53
|
+
this.handleClose = (event) => {
|
|
54
|
+
event.stopPropagation();
|
|
55
|
+
if (this.disabled)
|
|
56
|
+
return;
|
|
57
|
+
this.emit('aithe-close');
|
|
58
|
+
this.remove();
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
static { this.styles = [
|
|
62
|
+
aitheBaseStyles,
|
|
63
|
+
css `
|
|
64
|
+
:host {
|
|
65
|
+
display: inline-flex;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.tag {
|
|
69
|
+
display: inline-flex;
|
|
70
|
+
align-items: center;
|
|
71
|
+
gap: var(--aithe-space-2);
|
|
72
|
+
padding: 0 var(--aithe-space-3);
|
|
73
|
+
border: 1px solid transparent;
|
|
74
|
+
color: var(--aithe-color-text);
|
|
75
|
+
font-size: var(--aithe-font-size-sm);
|
|
76
|
+
transition:
|
|
77
|
+
background var(--aithe-duration-fast) var(--aithe-ease-standard),
|
|
78
|
+
border-color var(--aithe-duration-fast) var(--aithe-ease-standard),
|
|
79
|
+
color var(--aithe-duration-fast) var(--aithe-ease-standard),
|
|
80
|
+
box-shadow var(--aithe-duration-fast) var(--aithe-ease-standard);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
/* Size variants — use vertical padding to control overall height */
|
|
84
|
+
.size-sm {
|
|
85
|
+
font-size: var(--aithe-font-size-xs);
|
|
86
|
+
padding: 1px var(--aithe-space-2);
|
|
87
|
+
line-height: 1.4;
|
|
88
|
+
}
|
|
89
|
+
.size-md {
|
|
90
|
+
font-size: var(--aithe-font-size-sm);
|
|
91
|
+
padding: 3px var(--aithe-space-3);
|
|
92
|
+
line-height: 1.5;
|
|
93
|
+
}
|
|
94
|
+
.size-lg {
|
|
95
|
+
font-size: var(--aithe-font-size-md);
|
|
96
|
+
padding: 7px var(--aithe-space-4);
|
|
97
|
+
line-height: 1.6;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.tag.selectable {
|
|
101
|
+
cursor: pointer;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.tag.disabled {
|
|
105
|
+
opacity: 0.56;
|
|
106
|
+
cursor: not-allowed;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
/* Variant styles via :host attribute selector */
|
|
110
|
+
:host([variant='primary']) .tag {
|
|
111
|
+
color: var(--aithe-primary-8);
|
|
112
|
+
background: var(--aithe-primary-1);
|
|
113
|
+
border-color: var(--aithe-primary-3);
|
|
114
|
+
}
|
|
115
|
+
:host([variant='success']) .tag {
|
|
116
|
+
color: var(--aithe-success-8);
|
|
117
|
+
background: var(--aithe-success-1);
|
|
118
|
+
border-color: var(--aithe-success-3);
|
|
119
|
+
}
|
|
120
|
+
:host([variant='warning']) .tag {
|
|
121
|
+
color: var(--aithe-warning-8);
|
|
122
|
+
background: var(--aithe-warning-1);
|
|
123
|
+
border-color: var(--aithe-warning-3);
|
|
124
|
+
}
|
|
125
|
+
:host([variant='danger']) .tag {
|
|
126
|
+
color: var(--aithe-danger-8);
|
|
127
|
+
background: var(--aithe-danger-1);
|
|
128
|
+
border-color: var(--aithe-danger-3);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
/* Deprecated type class styles for backward compatibility */
|
|
132
|
+
.tag.primary {
|
|
133
|
+
color: var(--aithe-primary-8);
|
|
134
|
+
background: var(--aithe-primary-1);
|
|
135
|
+
border-color: var(--aithe-primary-3);
|
|
136
|
+
}
|
|
137
|
+
.tag.success {
|
|
138
|
+
color: var(--aithe-success-8);
|
|
139
|
+
background: var(--aithe-success-1);
|
|
140
|
+
border-color: var(--aithe-success-3);
|
|
141
|
+
}
|
|
142
|
+
.tag.warning {
|
|
143
|
+
color: var(--aithe-warning-8);
|
|
144
|
+
background: var(--aithe-warning-1);
|
|
145
|
+
border-color: var(--aithe-warning-3);
|
|
146
|
+
}
|
|
147
|
+
.tag.danger {
|
|
148
|
+
color: var(--aithe-danger-8);
|
|
149
|
+
background: var(--aithe-danger-1);
|
|
150
|
+
border-color: var(--aithe-danger-3);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.selected {
|
|
154
|
+
box-shadow: 0 0 0 3px var(--aithe-color-focus-ring);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.radius-sm {
|
|
158
|
+
border-radius: var(--aithe-radius-sm);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
.radius-md {
|
|
162
|
+
border-radius: var(--aithe-radius-md);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.radius-lg {
|
|
166
|
+
border-radius: var(--aithe-radius-lg);
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.radius-full {
|
|
170
|
+
border-radius: var(--aithe-radius-full);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.close {
|
|
174
|
+
display: inline-flex;
|
|
175
|
+
align-items: center;
|
|
176
|
+
justify-content: center;
|
|
177
|
+
width: 18px;
|
|
178
|
+
height: 18px;
|
|
179
|
+
border: none;
|
|
180
|
+
border-radius: 50%;
|
|
181
|
+
background: transparent;
|
|
182
|
+
color: inherit;
|
|
183
|
+
cursor: pointer;
|
|
184
|
+
}
|
|
185
|
+
`,
|
|
186
|
+
]; }
|
|
187
|
+
render() {
|
|
188
|
+
return html `
|
|
189
|
+
<span
|
|
190
|
+
class=${classMap({
|
|
191
|
+
tag: true,
|
|
192
|
+
[`size-${this.size}`]: true,
|
|
193
|
+
[`radius-${this.rounded}`]: true,
|
|
194
|
+
selectable: this.selectable,
|
|
195
|
+
selected: this.selected,
|
|
196
|
+
disabled: this.disabled,
|
|
197
|
+
// Deprecated: keep type class for backward compatibility
|
|
198
|
+
// eslint-disable-next-line sonarjs/deprecation
|
|
199
|
+
[this.type]: this.type !== 'default',
|
|
200
|
+
})}
|
|
201
|
+
aria-pressed=${this.selectable ? String(this.selected) : 'false'}
|
|
202
|
+
role=${this.selectable ? 'button' : 'status'}
|
|
203
|
+
tabindex=${this.selectable && !this.disabled ? 0 : -1}
|
|
204
|
+
@click=${this.toggleTag}
|
|
205
|
+
@keydown=${(event) => {
|
|
206
|
+
if (event.key === 'Enter' || event.key === ' ') {
|
|
207
|
+
event.preventDefault();
|
|
208
|
+
this.toggleTag();
|
|
209
|
+
}
|
|
210
|
+
}}
|
|
211
|
+
>
|
|
212
|
+
<slot></slot>
|
|
213
|
+
${this.closable
|
|
214
|
+
? html `
|
|
215
|
+
<button class="close" type="button" tabindex="-1" @click=${this.handleClose}>
|
|
216
|
+
×
|
|
217
|
+
</button>
|
|
218
|
+
`
|
|
219
|
+
: null}
|
|
220
|
+
</span>
|
|
221
|
+
`;
|
|
222
|
+
}
|
|
223
|
+
};
|
|
224
|
+
__decorate([
|
|
225
|
+
property({ type: String })
|
|
226
|
+
], AitheTag.prototype, "type", void 0);
|
|
227
|
+
__decorate([
|
|
228
|
+
property({ type: Boolean })
|
|
229
|
+
], AitheTag.prototype, "closable", void 0);
|
|
230
|
+
__decorate([
|
|
231
|
+
property({ type: Boolean })
|
|
232
|
+
], AitheTag.prototype, "selectable", void 0);
|
|
233
|
+
__decorate([
|
|
234
|
+
property({ type: Boolean, reflect: true })
|
|
235
|
+
], AitheTag.prototype, "selected", void 0);
|
|
236
|
+
__decorate([
|
|
237
|
+
property({ type: String })
|
|
238
|
+
], AitheTag.prototype, "rounded", void 0);
|
|
239
|
+
__decorate([
|
|
240
|
+
property({ type: Boolean, reflect: true })
|
|
241
|
+
], AitheTag.prototype, "disabled", void 0);
|
|
242
|
+
__decorate([
|
|
243
|
+
property({ type: String })
|
|
244
|
+
], AitheTag.prototype, "size", void 0);
|
|
245
|
+
AitheTag = __decorate([
|
|
246
|
+
customElement('aithe-tag')
|
|
247
|
+
], AitheTag);
|
|
248
|
+
export { AitheTag };
|
|
@@ -27,7 +27,6 @@ export declare class AitheTextarea extends AitheElement {
|
|
|
27
27
|
static readonly styles: (import("lit").CSSResult | import("lit").CSSResult[])[];
|
|
28
28
|
/** Handles input events and emits value. 处理输入事件并触发 input 事件。 */
|
|
29
29
|
private readonly handleInput;
|
|
30
|
-
/** Handles change events and emits value. 处理变更事件并触发 change 事件。 */
|
|
31
30
|
private readonly handleChange;
|
|
32
31
|
render(): import("lit-html").TemplateResult<1>;
|
|
33
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../src/components/basic/textarea.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAGnD;;;;;;;;;;;GAWG;AACH,qBACa,aAAc,SAAQ,YAAY;IAC7C,2CAA2C;IACf,IAAI,SAAK;IACrC,oDAAoD;IACxB,WAAW,SAAM;IAC7C,4DAA4D;IAChC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,YAAY,GAAG,UAAU,CAAc;IAC7F,qCAAqC;IACT,KAAK,SAAM;IACvC,sEAAsE;IAC1C,SAAS,SAAM;IAC3C,8CAA8C;IACF,QAAQ,UAAS;IAE7D,MAAM,CAAC,QAAQ,CAAC,MAAM,0DAuCpB;IAEF,gEAAgE;IAChE,OAAO,CAAC,QAAQ,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../src/components/basic/textarea.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAGnD;;;;;;;;;;;GAWG;AACH,qBACa,aAAc,SAAQ,YAAY;IAC7C,2CAA2C;IACf,IAAI,SAAK;IACrC,oDAAoD;IACxB,WAAW,SAAM;IAC7C,4DAA4D;IAChC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,YAAY,GAAG,UAAU,CAAc;IAC7F,qCAAqC;IACT,KAAK,SAAM;IACvC,sEAAsE;IAC1C,SAAS,SAAM;IAC3C,8CAA8C;IACF,QAAQ,UAAS;IAE7D,MAAM,CAAC,QAAQ,CAAC,MAAM,0DAuCpB;IAEF,gEAAgE;IAChE,OAAO,CAAC,QAAQ,CAAC,WAAW,CAI1B;IAEF,OAAO,CAAC,QAAQ,CAAC,YAAY,CAI3B;IAEF,MAAM;CAgBP"}
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { css, html } from 'lit';
|
|
8
|
+
import { customElement, property } from 'lit/decorators.js';
|
|
9
|
+
import { classMap } from 'lit/directives/class-map.js';
|
|
10
|
+
import { styleMap } from 'lit/directives/style-map.js';
|
|
11
|
+
import { AitheElement } from '../../core/aithe-element';
|
|
12
|
+
import { aitheBaseStyles, aitheControlFocusStyleBlock, aitheControlStyleBlock } from '../../core/styles';
|
|
13
|
+
/**
|
|
14
|
+
* Multi-line text input component with auto-grow support.
|
|
15
|
+
* 多行文本输入组件,支持自动增长。
|
|
16
|
+
*
|
|
17
|
+
* @slot - Default slot (unused; content controlled by value property). 默认插槽(未使用,内容由 value 属性控制)。
|
|
18
|
+
* @fires aithe-input - Emitted on each keystroke with current value. 每次输入时触发。
|
|
19
|
+
* @fires aithe-change - Emitted when the value is committed. 值提交时触发。
|
|
20
|
+
* @example
|
|
21
|
+
* ```html
|
|
22
|
+
* <aithe-textarea rows="4" placeholder="Enter text..." maxlength="200"></aithe-textarea>
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
let AitheTextarea = class AitheTextarea extends AitheElement {
|
|
26
|
+
constructor() {
|
|
27
|
+
super(...arguments);
|
|
28
|
+
/** Number of visible text rows. 可见文本行数。 */
|
|
29
|
+
this.rows = 4;
|
|
30
|
+
/** Placeholder text shown when empty. 空内容时的占位文本。 */
|
|
31
|
+
this.placeholder = '';
|
|
32
|
+
/** Resize direction allowed for the textarea. 允许的调整大小方向。 */
|
|
33
|
+
this.resize = 'vertical';
|
|
34
|
+
/** Current textarea value. 当前文本值。 */
|
|
35
|
+
this.value = '';
|
|
36
|
+
/** Maximum character length (-1 means unlimited). 最大字符长度(-1 表示不限)。 */
|
|
37
|
+
this.maxlength = -1;
|
|
38
|
+
/** Whether the textarea is disabled. 是否禁用。 */
|
|
39
|
+
this.disabled = false;
|
|
40
|
+
/** Handles input events and emits value. 处理输入事件并触发 input 事件。 */
|
|
41
|
+
this.handleInput = (event) => {
|
|
42
|
+
event.stopPropagation();
|
|
43
|
+
this.value = event.currentTarget.value;
|
|
44
|
+
this.emit('aithe-input', { value: this.value });
|
|
45
|
+
};
|
|
46
|
+
this.handleChange = (event) => {
|
|
47
|
+
event.stopPropagation();
|
|
48
|
+
this.value = event.currentTarget.value;
|
|
49
|
+
this.emit('aithe-change', { value: this.value });
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
static { this.styles = [
|
|
53
|
+
aitheBaseStyles,
|
|
54
|
+
css `
|
|
55
|
+
:host {
|
|
56
|
+
display: inline-flex;
|
|
57
|
+
width: 100%;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.field {
|
|
61
|
+
display: flex;
|
|
62
|
+
flex-direction: column;
|
|
63
|
+
${aitheControlStyleBlock}
|
|
64
|
+
width: 100%;
|
|
65
|
+
padding: var(--aithe-space-3) var(--aithe-space-3);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.field:focus-within {
|
|
69
|
+
${aitheControlFocusStyleBlock}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.field.disabled {
|
|
73
|
+
opacity: 0.56;
|
|
74
|
+
cursor: not-allowed;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
textarea {
|
|
78
|
+
width: 100%;
|
|
79
|
+
min-height: 100%;
|
|
80
|
+
border: none !important;
|
|
81
|
+
outline: none;
|
|
82
|
+
background: transparent;
|
|
83
|
+
color: inherit;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
textarea:focus {
|
|
87
|
+
border: none !important;
|
|
88
|
+
outline: none;
|
|
89
|
+
}
|
|
90
|
+
`,
|
|
91
|
+
]; }
|
|
92
|
+
render() {
|
|
93
|
+
return html `
|
|
94
|
+
<label class=${classMap({ field: true, disabled: this.disabled })}>
|
|
95
|
+
<textarea
|
|
96
|
+
.value=${this.value}
|
|
97
|
+
?disabled=${this.disabled}
|
|
98
|
+
maxlength=${this.maxlength > -1 ? String(this.maxlength) : ''}
|
|
99
|
+
placeholder=${this.placeholder}
|
|
100
|
+
rows=${String(this.rows)}
|
|
101
|
+
style=${styleMap({ resize: this.resize })}
|
|
102
|
+
@change=${this.handleChange}
|
|
103
|
+
@input=${this.handleInput}
|
|
104
|
+
></textarea>
|
|
105
|
+
</label>
|
|
106
|
+
`;
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
__decorate([
|
|
110
|
+
property({ type: Number })
|
|
111
|
+
], AitheTextarea.prototype, "rows", void 0);
|
|
112
|
+
__decorate([
|
|
113
|
+
property({ type: String })
|
|
114
|
+
], AitheTextarea.prototype, "placeholder", void 0);
|
|
115
|
+
__decorate([
|
|
116
|
+
property({ type: String })
|
|
117
|
+
], AitheTextarea.prototype, "resize", void 0);
|
|
118
|
+
__decorate([
|
|
119
|
+
property({ type: String })
|
|
120
|
+
], AitheTextarea.prototype, "value", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
property({ type: Number })
|
|
123
|
+
], AitheTextarea.prototype, "maxlength", void 0);
|
|
124
|
+
__decorate([
|
|
125
|
+
property({ type: Boolean, reflect: true })
|
|
126
|
+
], AitheTextarea.prototype, "disabled", void 0);
|
|
127
|
+
AitheTextarea = __decorate([
|
|
128
|
+
customElement('aithe-textarea')
|
|
129
|
+
], AitheTextarea);
|
|
130
|
+
export { AitheTextarea };
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { css, html, nothing } from 'lit';
|
|
8
|
+
import { customElement, property } from 'lit/decorators.js';
|
|
9
|
+
import { AitheElement } from '../../core/aithe-element';
|
|
10
|
+
import { aitheBaseStyles } from '../../core/styles';
|
|
11
|
+
/**
|
|
12
|
+
* Highlighted callout block with colored left border and optional title.
|
|
13
|
+
* 高亮提示块,带彩色左边框和可选标题。
|
|
14
|
+
*
|
|
15
|
+
* @slot - Default slot for callout body content. 提示块正文内容的默认插槽。
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```html
|
|
19
|
+
* <aithe-callout type="warning" title="Caution">Check before proceeding.</aithe-callout>
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
let AitheCallout = class AitheCallout extends AitheElement {
|
|
23
|
+
constructor() {
|
|
24
|
+
super(...arguments);
|
|
25
|
+
/** Color variant of the callout. 提示块的颜色类型。 */
|
|
26
|
+
this.type = 'default';
|
|
27
|
+
/** Optional title displayed above the body. 正文上方显示的可选标题。 */
|
|
28
|
+
this.title = '';
|
|
29
|
+
/** Icon name to display before the title. 在标题前显示的图标名称。 */
|
|
30
|
+
this.icon = '';
|
|
31
|
+
}
|
|
32
|
+
static { this.styles = [
|
|
33
|
+
aitheBaseStyles,
|
|
34
|
+
css `
|
|
35
|
+
:host {
|
|
36
|
+
display: block;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.callout {
|
|
40
|
+
display: grid;
|
|
41
|
+
gap: var(--aithe-space-2);
|
|
42
|
+
padding: var(--aithe-space-5);
|
|
43
|
+
border: 1px solid var(--aithe-color-border);
|
|
44
|
+
border-left-width: 4px;
|
|
45
|
+
border-radius: var(--aithe-container-radius-xl);
|
|
46
|
+
background: var(--aithe-color-surface-elevated);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.callout.success {
|
|
50
|
+
border-left-color: var(--aithe-success-6);
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.callout.warning {
|
|
54
|
+
border-left-color: var(--aithe-warning-6);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.callout.danger {
|
|
58
|
+
border-left-color: var(--aithe-danger-6);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.callout.default {
|
|
62
|
+
border-left-color: var(--aithe-primary-6);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.title {
|
|
66
|
+
display: inline-flex;
|
|
67
|
+
align-items: center;
|
|
68
|
+
gap: var(--aithe-space-2);
|
|
69
|
+
font-weight: var(--aithe-font-weight-semibold);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.title-icon {
|
|
73
|
+
flex-shrink: 0;
|
|
74
|
+
color: var(--aithe-color-text-muted);
|
|
75
|
+
}
|
|
76
|
+
`,
|
|
77
|
+
]; }
|
|
78
|
+
render() {
|
|
79
|
+
const titleIcon = this.icon
|
|
80
|
+
? html `
|
|
81
|
+
<aithe-icon class="title-icon" name=${this.icon} size="16"></aithe-icon>
|
|
82
|
+
`
|
|
83
|
+
: nothing;
|
|
84
|
+
return html `
|
|
85
|
+
<div class=${`callout ${this.type}`}>
|
|
86
|
+
${this.title
|
|
87
|
+
? html `
|
|
88
|
+
<div class="title">${titleIcon}${this.title}</div>
|
|
89
|
+
`
|
|
90
|
+
: null}
|
|
91
|
+
<slot></slot>
|
|
92
|
+
</div>
|
|
93
|
+
`;
|
|
94
|
+
}
|
|
95
|
+
};
|
|
96
|
+
__decorate([
|
|
97
|
+
property({ type: String })
|
|
98
|
+
], AitheCallout.prototype, "type", void 0);
|
|
99
|
+
__decorate([
|
|
100
|
+
property({ type: String })
|
|
101
|
+
], AitheCallout.prototype, "title", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
property({ type: String })
|
|
104
|
+
], AitheCallout.prototype, "icon", void 0);
|
|
105
|
+
AitheCallout = __decorate([
|
|
106
|
+
customElement('aithe-callout')
|
|
107
|
+
], AitheCallout);
|
|
108
|
+
export { AitheCallout };
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
2
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
3
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
4
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
5
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
6
|
+
};
|
|
7
|
+
import { css, html, nothing } from 'lit';
|
|
8
|
+
import { customElement, property, query } from 'lit/decorators.js';
|
|
9
|
+
import { AitheElement } from '../../core/aithe-element';
|
|
10
|
+
import { aitheBaseStyles } from '../../core/styles';
|
|
11
|
+
import { t } from '../../styles/i18n';
|
|
12
|
+
/**
|
|
13
|
+
* Themed details disclosure with expand/collapse toggle.
|
|
14
|
+
* 带展开/收起切换的主题化详情折叠组件。
|
|
15
|
+
*
|
|
16
|
+
* @slot - Default slot for the disclosure body content. 折叠正文内容的默认插槽。
|
|
17
|
+
*
|
|
18
|
+
* @fires aithe-toggle - Emitted when the disclosure is toggled with `{ open }`. 折叠切换时发出 `{ open }`。
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```html
|
|
22
|
+
* <aithe-details open summary="More info">Hidden content here.</aithe-details>
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
let AitheDetails = class AitheDetails extends AitheElement {
|
|
26
|
+
constructor() {
|
|
27
|
+
super(...arguments);
|
|
28
|
+
/** Whether the disclosure is initially open. 折叠是否初始展开。 */
|
|
29
|
+
this.open = false;
|
|
30
|
+
/** Summary text shown as the toggle label. 作为切换标签显示的摘要文本。 */
|
|
31
|
+
this.summary = '';
|
|
32
|
+
/** Icon name to display before the summary text. 在摘要文本前显示的图标名称。 */
|
|
33
|
+
this.icon = '';
|
|
34
|
+
/** Display title for the details (shown as tooltip). 详情折叠的显示标题(作为工具提示)。 */
|
|
35
|
+
this.title = '';
|
|
36
|
+
}
|
|
37
|
+
static { this.styles = [
|
|
38
|
+
aitheBaseStyles,
|
|
39
|
+
css `
|
|
40
|
+
:host {
|
|
41
|
+
display: block;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
details {
|
|
45
|
+
padding: var(--aithe-space-4);
|
|
46
|
+
border: 1px solid var(--aithe-color-border);
|
|
47
|
+
border-radius: var(--aithe-container-radius-lg);
|
|
48
|
+
background: var(--aithe-color-surface-elevated);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.summary-icon {
|
|
52
|
+
flex-shrink: 0;
|
|
53
|
+
color: var(--aithe-color-text-muted);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
summary {
|
|
57
|
+
display: inline-flex;
|
|
58
|
+
align-items: center;
|
|
59
|
+
gap: var(--aithe-space-2);
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
font-weight: var(--aithe-font-weight-semibold);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.body {
|
|
65
|
+
margin-top: var(--aithe-space-4);
|
|
66
|
+
color: var(--aithe-color-text-muted);
|
|
67
|
+
}
|
|
68
|
+
`,
|
|
69
|
+
]; }
|
|
70
|
+
updated(changed) {
|
|
71
|
+
if (changed.has('open') && this.detailsElement) {
|
|
72
|
+
this.detailsElement.open = this.open;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
render() {
|
|
76
|
+
return html `
|
|
77
|
+
<details
|
|
78
|
+
?open=${this.open}
|
|
79
|
+
title=${this.title}
|
|
80
|
+
@toggle=${() => {
|
|
81
|
+
this.open = Boolean(this.detailsElement?.open);
|
|
82
|
+
this.emit('aithe-toggle', { open: this.open });
|
|
83
|
+
}}
|
|
84
|
+
>
|
|
85
|
+
<summary>
|
|
86
|
+
${this.icon
|
|
87
|
+
? html `
|
|
88
|
+
<aithe-icon class="summary-icon" name=${this.icon} size="16"></aithe-icon>
|
|
89
|
+
`
|
|
90
|
+
: nothing}${this.summary || t('container.details.defaultSummary')}
|
|
91
|
+
</summary>
|
|
92
|
+
<div class="body">
|
|
93
|
+
<slot></slot>
|
|
94
|
+
</div>
|
|
95
|
+
</details>
|
|
96
|
+
`;
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
__decorate([
|
|
100
|
+
property({ type: Boolean, reflect: true })
|
|
101
|
+
], AitheDetails.prototype, "open", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
property({ type: String })
|
|
104
|
+
], AitheDetails.prototype, "summary", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
property({ type: String })
|
|
107
|
+
], AitheDetails.prototype, "icon", void 0);
|
|
108
|
+
__decorate([
|
|
109
|
+
property({ type: String })
|
|
110
|
+
], AitheDetails.prototype, "title", void 0);
|
|
111
|
+
__decorate([
|
|
112
|
+
query('details')
|
|
113
|
+
], AitheDetails.prototype, "detailsElement", void 0);
|
|
114
|
+
AitheDetails = __decorate([
|
|
115
|
+
customElement('aithe-details')
|
|
116
|
+
], AitheDetails);
|
|
117
|
+
export { AitheDetails };
|