@alauda/ui 5.7.7-beta.8 → 6.0.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/accordion-item/accordion-item.component.d.ts +1 -1
- package/alauda-ui.d.ts +21 -20
- package/alauda-ui.metadata.json +1 -1
- package/bundles/alauda-ui.umd.js +1937 -1000
- package/bundles/alauda-ui.umd.js.map +1 -1
- package/bundles/alauda-ui.umd.min.js +1 -1
- package/bundles/alauda-ui.umd.min.js.map +1 -1
- package/date-picker/calendar/date-picker-panel/component.d.ts +1 -0
- package/date-picker/calendar/footer/component.d.ts +2 -1
- package/date-picker/calendar/range-picker-panel/component.d.ts +1 -1
- package/date-picker/date-picker/date-picker.component.d.ts +1 -0
- package/drawer/component/drawer-ref.d.ts +26 -0
- package/drawer/component/drawer.component.d.ts +59 -0
- package/drawer/component/drawer.component.ngfactory.d.ts +1 -0
- package/drawer/component/drawer.component.scss.ngstyle.d.ts +1 -0
- package/drawer/component/drawer.service.d.ts +24 -0
- package/drawer/component/helper-directives.d.ts +10 -0
- package/drawer/drawer.module.d.ts +2 -0
- package/drawer/drawer.module.ngfactory.d.ts +3 -0
- package/drawer/public-api.d.ts +5 -0
- package/esm2015/accordion/accordion-item/accordion-item.component.js +2 -1
- package/esm2015/accordion/accordion.module.ngfactory.js +4 -3
- package/esm2015/accordion/accordion.module.ngsummary.json +1 -1
- package/esm2015/alauda-ui.js +22 -21
- package/esm2015/alauda-ui.ngsummary.json +1 -1
- package/esm2015/autocomplete/autocomplete.component.js +1 -1
- package/esm2015/autocomplete/autocomplete.component.scss.ngstyle.js +1 -1
- package/esm2015/autocomplete/suggestion/suggestion.component.js +1 -1
- package/esm2015/autocomplete/suggestion/suggestion.component.scss.ngstyle.js +1 -1
- package/esm2015/autocomplete/suggestion-group/suggestion-group.component.js +1 -1
- package/esm2015/autocomplete/suggestion-group/suggestion-group.component.scss.ngstyle.js +1 -1
- package/esm2015/back-top/back-top.module.ngfactory.js +3 -2
- package/esm2015/back-top/back-top.module.ngsummary.json +1 -1
- package/esm2015/breadcrumb/breadcrumb.module.ngfactory.js +3 -2
- package/esm2015/breadcrumb/breadcrumb.module.ngsummary.json +1 -1
- package/esm2015/button/button-group/button-group.component.js +1 -1
- package/esm2015/button/button-group/button-group.component.scss.ngstyle.js +1 -1
- package/esm2015/button/button.component.js +1 -1
- package/esm2015/button/button.component.scss.ngstyle.js +1 -1
- package/esm2015/button/button.module.ngfactory.js +3 -2
- package/esm2015/button/button.module.ngsummary.json +1 -1
- package/esm2015/card/card.component.js +1 -1
- package/esm2015/card/card.component.scss.ngstyle.js +1 -1
- package/esm2015/card/section.component.js +1 -1
- package/esm2015/card/section.component.scss.ngstyle.js +1 -1
- package/esm2015/checkbox/checkbox.component.js +3 -3
- package/esm2015/checkbox/checkbox.component.ngfactory.js +3 -3
- package/esm2015/checkbox/checkbox.component.scss.ngstyle.js +1 -1
- package/esm2015/checkbox/checkbox.module.ngfactory.js +4 -3
- package/esm2015/checkbox/checkbox.module.ngsummary.json +1 -1
- package/esm2015/date-picker/calendar/date-picker-panel/component.js +6 -3
- package/esm2015/date-picker/calendar/date-picker-panel/component.ngfactory.js +29 -19
- package/esm2015/date-picker/calendar/date-picker-panel/component.ngsummary.json +1 -1
- package/esm2015/date-picker/calendar/footer/component.js +4 -3
- package/esm2015/date-picker/calendar/footer/component.ngfactory.js +14 -12
- package/esm2015/date-picker/calendar/footer/component.ngsummary.json +1 -1
- package/esm2015/date-picker/calendar/header/component.js +3 -3
- package/esm2015/date-picker/calendar/header/component.ngfactory.js +22 -19
- package/esm2015/date-picker/calendar/header/style.scss.ngstyle.js +1 -1
- package/esm2015/date-picker/calendar/panel/picker-panel.js +1 -1
- package/esm2015/date-picker/calendar/panel/picker-panel.style.scss.ngstyle.js +1 -1
- package/esm2015/date-picker/calendar/range-picker-panel/component.js +6 -6
- package/esm2015/date-picker/calendar/range-picker-panel/component.ngfactory.js +3 -3
- package/esm2015/date-picker/date-picker/date-picker.component.js +3 -2
- package/esm2015/date-picker/date-picker/date-picker.component.ngfactory.js +4 -4
- package/esm2015/date-picker/date-picker/date-picker.component.ngsummary.json +1 -1
- package/esm2015/date-picker/date-picker.module.ngfactory.js +14 -13
- package/esm2015/date-picker/date-picker.module.ngsummary.json +1 -1
- package/esm2015/date-picker/range-picker/range-picker.component.js +2 -2
- package/esm2015/date-picker/range-picker/range-picker.component.ngfactory.js +2 -2
- package/esm2015/date-picker/trigger/trigger.component.js +4 -4
- package/esm2015/date-picker/trigger/trigger.component.ngfactory.js +2 -2
- package/esm2015/date-picker/trigger/trigger.style.scss.shim.ngstyle.js +1 -1
- package/esm2015/dialog/dialog.module.ngfactory.js +4 -3
- package/esm2015/dialog/dialog.module.ngsummary.json +1 -1
- package/esm2015/drawer/component/drawer-ref.js +9 -0
- package/esm2015/drawer/component/drawer-ref.ngsummary.json +1 -0
- package/esm2015/drawer/component/drawer.component.js +206 -0
- package/esm2015/drawer/component/drawer.component.ngfactory.js +40 -0
- package/esm2015/drawer/component/drawer.component.ngsummary.json +1 -0
- package/esm2015/drawer/component/drawer.component.scss.ngstyle.js +9 -0
- package/esm2015/drawer/component/drawer.service.js +52 -0
- package/esm2015/drawer/component/drawer.service.ngsummary.json +1 -0
- package/esm2015/drawer/component/helper-directives.js +27 -0
- package/esm2015/drawer/component/helper-directives.ngsummary.json +1 -0
- package/esm2015/drawer/drawer.module.js +25 -0
- package/esm2015/drawer/drawer.module.ngfactory.js +23 -0
- package/esm2015/drawer/drawer.module.ngsummary.json +1 -0
- package/esm2015/drawer/public-api.js +6 -0
- package/esm2015/drawer/public-api.ngsummary.json +1 -0
- package/esm2015/dropdown/dropdown-button/dropdown-button.component.js +1 -1
- package/esm2015/dropdown/dropdown-button/dropdown-button.component.scss.ngstyle.js +1 -1
- package/esm2015/dropdown/dropdown.module.ngfactory.js +4 -3
- package/esm2015/dropdown/dropdown.module.ngsummary.json +1 -1
- package/esm2015/dropdown/menu/menu.component.js +1 -1
- package/esm2015/dropdown/menu/menu.component.scss.ngstyle.js +1 -1
- package/esm2015/dropdown/menu-group/menu-group.component.js +1 -1
- package/esm2015/dropdown/menu-group/menu-group.component.scss.ngstyle.js +1 -1
- package/esm2015/dropdown/menu-item/menu-item.component.js +1 -1
- package/esm2015/dropdown/menu-item/menu-item.component.scss.ngstyle.js +1 -1
- package/esm2015/dropdown/submenu/submenu.component.js +3 -3
- package/esm2015/dropdown/submenu/submenu.component.scss.ngstyle.js +1 -1
- package/esm2015/i18n/language/en.js +2 -1
- package/esm2015/i18n/language/en.ngsummary.json +1 -1
- package/esm2015/i18n/language/zh.js +2 -1
- package/esm2015/i18n/language/zh.ngsummary.json +1 -1
- package/esm2015/icon/icon.component.js +13 -12
- package/esm2015/icon/icon.component.ngfactory.js +10 -7
- package/esm2015/icon/icon.component.ngsummary.json +1 -1
- package/esm2015/icon/icon.module.js +3 -2
- package/esm2015/icon/icon.module.ngfactory.js +3 -2
- package/esm2015/icon/icon.module.ngsummary.json +1 -1
- package/esm2015/icon/icons.js +2 -2
- package/esm2015/icon/icons.ngsummary.json +1 -1
- package/esm2015/inline-alert/inline-alert.module.ngfactory.js +3 -2
- package/esm2015/inline-alert/inline-alert.module.ngsummary.json +1 -1
- package/esm2015/input/input-group/input-group.component.js +1 -1
- package/esm2015/input/input-group/input-group.component.scss.ngstyle.js +1 -1
- package/esm2015/input/input.module.ngfactory.js +6 -5
- package/esm2015/input/input.module.ngsummary.json +1 -1
- package/esm2015/input/number-input/number-input.component.js +1 -1
- package/esm2015/input/number-input/number-input.component.scss.ngstyle.js +1 -1
- package/esm2015/input/search/search.component.js +1 -1
- package/esm2015/input/search/search.component.scss.ngstyle.js +1 -1
- package/esm2015/input/tags-input/tags-input.component.js +10 -3
- package/esm2015/input/tags-input/tags-input.component.scss.ngstyle.js +1 -1
- package/esm2015/message/message.module.ngfactory.js +3 -2
- package/esm2015/message/message.module.ngsummary.json +1 -1
- package/esm2015/nav-menu/nav-item/nav-item.component.js +76 -0
- package/esm2015/nav-menu/nav-item/nav-item.component.ngfactory.js +17 -0
- package/esm2015/nav-menu/nav-item/nav-item.component.ngsummary.json +1 -0
- package/esm2015/nav-menu/nav-item-group/nav-item-group.component.js +32 -0
- package/esm2015/nav-menu/nav-item-group/nav-item-group.component.ngfactory.js +16 -0
- package/esm2015/nav-menu/nav-item-group/nav-item-group.component.ngsummary.json +1 -0
- package/esm2015/nav-menu/nav-item-li/nav-item-li.component.js +13 -34
- package/esm2015/nav-menu/nav-item-li/nav-item-li.component.ngfactory.js +14 -32
- package/esm2015/nav-menu/nav-item-li/nav-item-li.component.ngsummary.json +1 -1
- package/esm2015/nav-menu/nav-item-li/nav-item-li.component.scss.ngstyle.js +1 -1
- package/esm2015/nav-menu/nav-item-ul/nav-item-ul.component.js +4 -4
- package/esm2015/nav-menu/nav-item-ul/nav-item-ul.component.ngfactory.js +2 -2
- package/esm2015/nav-menu/nav-item-ul/nav-item-ul.component.scss.ngstyle.js +1 -1
- package/esm2015/nav-menu/nav-menu.component.js +38 -40
- package/esm2015/nav-menu/nav-menu.component.ngfactory.js +5 -5
- package/esm2015/nav-menu/nav-menu.component.ngsummary.json +1 -1
- package/esm2015/nav-menu/nav-menu.component.scss.ngstyle.js +1 -1
- package/esm2015/nav-menu/nav-menu.module.js +21 -3
- package/esm2015/nav-menu/nav-menu.module.ngfactory.js +6 -5
- package/esm2015/nav-menu/nav-menu.module.ngsummary.json +1 -1
- package/esm2015/nav-menu/nav-menu.types.js +1 -1
- package/esm2015/nav-menu/platform-nav/platform-nav.component.js +56 -0
- package/esm2015/nav-menu/platform-nav/platform-nav.component.ngfactory.js +65 -0
- package/esm2015/nav-menu/platform-nav/platform-nav.component.ngsummary.json +1 -0
- package/esm2015/nav-menu/platform-nav/platform-nav.component.scss.ngstyle.js +9 -0
- package/esm2015/nav-menu/platform-nav.module.js +15 -0
- package/esm2015/nav-menu/platform-nav.module.ngfactory.js +25 -0
- package/esm2015/nav-menu/platform-nav.module.ngsummary.json +1 -0
- package/esm2015/nav-menu/public-api.js +5 -1
- package/esm2015/nav-menu/public-api.ngsummary.json +1 -1
- package/esm2015/notification/notification.component.js +3 -3
- package/esm2015/notification/notification.component.ngfactory.js +4 -4
- package/esm2015/notification/notification.component.scss.ngstyle.js +1 -1
- package/esm2015/notification/notification.module.ngfactory.js +3 -2
- package/esm2015/notification/notification.module.ngsummary.json +1 -1
- package/esm2015/paginator/paginator.component.js +5 -6
- package/esm2015/paginator/paginator.component.ngfactory.js +40 -42
- package/esm2015/paginator/paginator.component.ngsummary.json +1 -1
- package/esm2015/paginator/paginator.component.scss.ngstyle.js +1 -1
- package/esm2015/paginator/paginator.module.ngfactory.js +14 -13
- package/esm2015/paginator/paginator.module.ngsummary.json +1 -1
- package/esm2015/public-api.js +3 -1
- package/esm2015/public-api.ngsummary.json +1 -1
- package/esm2015/radio/radio.module.ngfactory.js +3 -2
- package/esm2015/radio/radio.module.ngsummary.json +1 -1
- package/esm2015/select/multi-select/multi-select.component.js +3 -3
- package/esm2015/select/multi-select/multi-select.component.ngfactory.js +2 -2
- package/esm2015/select/multi-select/multi-select.component.scss.ngstyle.js +1 -1
- package/esm2015/select/option/option.component.js +1 -1
- package/esm2015/select/option/option.component.scss.ngstyle.js +1 -1
- package/esm2015/select/option-group/option-group.component.js +3 -3
- package/esm2015/select/option-group/option-group.component.ngfactory.js +2 -2
- package/esm2015/select/option-group/option-group.component.scss.ngstyle.js +1 -1
- package/esm2015/select/select.component.js +6 -3
- package/esm2015/select/select.component.ngfactory.js +3 -3
- package/esm2015/select/select.component.scss.ngstyle.js +1 -1
- package/esm2015/select/select.module.ngfactory.js +12 -11
- package/esm2015/select/select.module.ngsummary.json +1 -1
- package/esm2015/status-bar/status-bar.component.js +1 -1
- package/esm2015/status-bar/status-bar.component.scss.ngstyle.js +1 -1
- package/esm2015/steps/public-api.js +4 -0
- package/esm2015/steps/public-api.ngsummary.json +1 -0
- package/esm2015/steps/steps.component.js +165 -0
- package/esm2015/steps/steps.component.ngfactory.js +34 -0
- package/esm2015/steps/steps.component.ngsummary.json +1 -0
- package/esm2015/steps/steps.component.scss.ngstyle.js +9 -0
- package/esm2015/steps/steps.module.js +14 -0
- package/esm2015/steps/steps.module.ngfactory.js +16 -0
- package/esm2015/steps/steps.module.ngsummary.json +1 -0
- package/esm2015/steps/types.js +7 -0
- package/esm2015/steps/types.ngsummary.json +1 -0
- package/esm2015/table/table-cell.component.js +57 -0
- package/esm2015/table/table-cell.component.ngfactory.js +29 -0
- package/esm2015/table/table-cell.component.ngsummary.json +1 -0
- package/esm2015/table/table-scroll-wrapper.directive.js +26 -28
- package/esm2015/table/table-scroll-wrapper.directive.ngsummary.json +1 -1
- package/esm2015/table/table.component.js +12 -4
- package/esm2015/table/table.component.ngfactory.js +12 -11
- package/esm2015/table/table.component.ngsummary.json +1 -1
- package/esm2015/table/table.component.scss.ngstyle.js +1 -1
- package/esm2015/table/table.module.js +7 -2
- package/esm2015/table/table.module.ngfactory.js +11 -6
- package/esm2015/table/table.module.ngsummary.json +1 -1
- package/esm2015/tabs/public-api.ngsummary.json +1 -1
- package/esm2015/tabs/tab-directives.js +16 -1
- package/esm2015/tabs/tab-directives.ngsummary.json +1 -1
- package/esm2015/tabs/tab-group.component.js +5 -3
- package/esm2015/tabs/tab-group.component.ngfactory.js +25 -22
- package/esm2015/tabs/tab-group.component.ngsummary.json +1 -1
- package/esm2015/tabs/tab-header.component.js +5 -4
- package/esm2015/tabs/tab-header.component.ngfactory.js +17 -15
- package/esm2015/tabs/tab-header.component.ngsummary.json +1 -1
- package/esm2015/tabs/tab-header.component.scss.ngstyle.js +1 -1
- package/esm2015/tabs/tabs.module.js +4 -2
- package/esm2015/tabs/tabs.module.ngfactory.js +7 -6
- package/esm2015/tabs/tabs.module.ngsummary.json +1 -1
- package/esm2015/tag/check-tag/check-tag.component.js +5 -4
- package/esm2015/tag/check-tag/check-tag.component.ngfactory.js +9 -3
- package/esm2015/tag/tag.component.js +9 -3
- package/esm2015/tag/tag.component.ngfactory.js +1 -1
- package/esm2015/tag/tag.component.ngsummary.json +1 -1
- package/esm2015/tag/tag.component.scss.ngstyle.js +1 -1
- package/esm2015/tag/tag.module.ngfactory.js +4 -3
- package/esm2015/tag/tag.module.ngsummary.json +1 -1
- package/esm2015/theme/public-api.js +4 -1
- package/esm2015/theme/public-api.ngsummary.json +1 -1
- package/esm2015/theme/theme.module.js +13 -0
- package/esm2015/theme/theme.module.ngfactory.js +12 -0
- package/esm2015/theme/theme.module.ngsummary.json +1 -0
- package/esm2015/theme/theme.pipe.js +33 -0
- package/esm2015/theme/theme.pipe.ngsummary.json +1 -0
- package/esm2015/theme/theme.service.js +42 -7
- package/esm2015/theme/theme.service.ngsummary.json +1 -1
- package/esm2015/theme/theme.types.js +2 -0
- package/esm2015/theme/theme.types.ngsummary.json +1 -0
- package/esm2015/time-picker/component.js +11 -5
- package/esm2015/time-picker/component.ngfactory.js +21 -15
- package/esm2015/time-picker/panel/panel.component.js +2 -2
- package/esm2015/time-picker/panel/panel.component.ngfactory.js +3 -3
- package/esm2015/time-picker/style.scss.ngstyle.js +1 -1
- package/esm2015/time-picker/time-picker.module.ngfactory.js +10 -9
- package/esm2015/time-picker/time-picker.module.ngsummary.json +1 -1
- package/esm2015/tooltip/tooltip.component.js +5 -3
- package/esm2015/tooltip/tooltip.component.scss.ngstyle.js +1 -1
- package/esm2015/tree-select/tree-node/tree-node.component.js +1 -1
- package/esm2015/tree-select/tree-node/tree-node.component.scss.ngstyle.js +1 -1
- package/esm2015/tree-select/tree-select.component.js +13 -3
- package/esm2015/tree-select/tree-select.component.ngfactory.js +5 -2
- package/esm2015/tree-select/tree-select.component.ngsummary.json +1 -1
- package/esm2015/tree-select/tree-select.component.scss.ngstyle.js +1 -1
- package/esm2015/tree-select/tree-select.module.ngfactory.js +8 -7
- package/esm2015/tree-select/tree-select.module.ngsummary.json +1 -1
- package/fesm2015/alauda-ui.js +1561 -733
- package/fesm2015/alauda-ui.js.map +1 -1
- package/icon/icon.component.d.ts +6 -4
- package/icon/icons.d.ts +1 -1
- package/nav-menu/nav-item/nav-item.component.d.ts +24 -0
- package/nav-menu/nav-item/nav-item.component.ngfactory.d.ts +1 -0
- package/nav-menu/nav-item-group/nav-item-group.component.d.ts +10 -0
- package/nav-menu/nav-item-group/nav-item-group.component.ngfactory.d.ts +1 -0
- package/nav-menu/nav-item-li/nav-item-li.component.d.ts +4 -10
- package/nav-menu/nav-item-ul/nav-item-ul.component.d.ts +7 -6
- package/nav-menu/nav-menu.component.d.ts +14 -13
- package/nav-menu/nav-menu.types.d.ts +2 -3
- package/nav-menu/platform-nav/platform-nav.component.d.ts +20 -0
- package/nav-menu/platform-nav/platform-nav.component.ngfactory.d.ts +1 -0
- package/nav-menu/platform-nav/platform-nav.component.scss.ngstyle.d.ts +1 -0
- package/nav-menu/platform-nav.module.d.ts +2 -0
- package/nav-menu/platform-nav.module.ngfactory.d.ts +3 -0
- package/nav-menu/public-api.d.ts +4 -0
- package/package.json +1 -1
- package/paginator/paginator.component.d.ts +2 -1
- package/public-api.d.ts +2 -0
- package/select/select.component.d.ts +1 -0
- package/steps/public-api.d.ts +3 -0
- package/steps/steps.component.d.ts +30 -0
- package/steps/steps.component.ngfactory.d.ts +1 -0
- package/steps/steps.component.scss.ngstyle.d.ts +1 -0
- package/steps/steps.module.d.ts +2 -0
- package/steps/steps.module.ngfactory.d.ts +3 -0
- package/steps/types.d.ts +17 -0
- package/table/table-cell.component.d.ts +8 -0
- package/table/table-cell.component.ngfactory.d.ts +1 -0
- package/table/table-scroll-wrapper.directive.d.ts +6 -4
- package/table/table.component.d.ts +1 -0
- package/tabs/tab-directives.d.ts +3 -0
- package/tabs/tab-group.component.d.ts +4 -2
- package/tabs/tab-header.component.d.ts +2 -1
- package/tag/check-tag/check-tag.component.d.ts +1 -0
- package/tag/tag.component.d.ts +2 -0
- package/theme/_base-var.scss +6 -0
- package/theme/_mixin.scss +49 -2
- package/theme/_pattern.scss +38 -1
- package/theme/_var.scss +29 -6
- package/theme/public-api.d.ts +3 -0
- package/theme/style.css +120 -102
- package/theme/theme.module.d.ts +2 -0
- package/theme/theme.module.ngfactory.d.ts +3 -0
- package/theme/theme.pipe.d.ts +10 -0
- package/theme/theme.service.d.ts +10 -3
- package/theme/theme.types.d.ts +3 -0
- package/time-picker/component.d.ts +1 -0
- package/tooltip/tooltip.component.d.ts +2 -0
- package/tree-select/tree-select.component.d.ts +2 -0
package/theme/_mixin.scss
CHANGED
|
@@ -1,10 +1,44 @@
|
|
|
1
1
|
@import 'base-var';
|
|
2
2
|
@import 'var';
|
|
3
3
|
|
|
4
|
-
@mixin
|
|
4
|
+
@mixin theme-light {
|
|
5
|
+
:root {
|
|
6
|
+
@content;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
html[aui-color-mode='light'] {
|
|
10
|
+
@content;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
@mixin theme-dark {
|
|
15
|
+
@media (prefers-color-scheme: dark) {
|
|
16
|
+
html[aui-color-mode='auto'] {
|
|
17
|
+
@content;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
html[aui-color-mode='dark'] {
|
|
22
|
+
@content;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
@mixin text-set($size: m, $color: none) {
|
|
5
27
|
font-size: get-size(font-size-#{$size});
|
|
6
28
|
line-height: get-size(line-height-#{$size});
|
|
7
|
-
|
|
29
|
+
@if $color != none {
|
|
30
|
+
color: get-text-color($color);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
@mixin icon-set($size: m, $color: none) {
|
|
35
|
+
display: inline-flex;
|
|
36
|
+
align-items: center;
|
|
37
|
+
height: get-size(line-height-#{$size});
|
|
38
|
+
font-size: get-size(font-size-#{$size});
|
|
39
|
+
@if $color != none {
|
|
40
|
+
color: get-text-color($color);
|
|
41
|
+
}
|
|
8
42
|
}
|
|
9
43
|
|
|
10
44
|
// 使用 box-shadow 模拟带圆角的 outline
|
|
@@ -87,3 +121,16 @@
|
|
|
87
121
|
background-color: $input-bg-color;
|
|
88
122
|
border-color: $input-border-color;
|
|
89
123
|
}
|
|
124
|
+
|
|
125
|
+
@mixin vertical-dashed-line($width: 1px, $color: 'n-7') {
|
|
126
|
+
background: linear-gradient(
|
|
127
|
+
to bottom,
|
|
128
|
+
get-color($color),
|
|
129
|
+
get-color($color) 8px,
|
|
130
|
+
transparent 6px,
|
|
131
|
+
transparent
|
|
132
|
+
);
|
|
133
|
+
width: $width;
|
|
134
|
+
background-size: 100% 14px;
|
|
135
|
+
height: 100%;
|
|
136
|
+
}
|
package/theme/_pattern.scss
CHANGED
|
@@ -97,7 +97,44 @@
|
|
|
97
97
|
width: 100%;
|
|
98
98
|
flex-shrink: 0;
|
|
99
99
|
flex-basis: 100%;
|
|
100
|
-
|
|
100
|
+
padding: 0 calc(#{get-size(table-cell-padding-lr)} / 2);
|
|
101
|
+
overflow: hidden;
|
|
102
|
+
.aui-table__cell-expand-detail {
|
|
103
|
+
background-color: get-color(n-9);
|
|
104
|
+
margin-top: get-size(table-cell-padding-tb-m);
|
|
105
|
+
padding: get-size(table-cell-padding-tb-m);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
@mixin with-expand($expandColumn: 'expand') {
|
|
113
|
+
::ng-deep .aui-table {
|
|
114
|
+
&__cell,
|
|
115
|
+
&__header-cell {
|
|
116
|
+
&.aui-table__column-#{$expandColumn} {
|
|
117
|
+
max-width: calc(
|
|
118
|
+
var(--aui-table-cell-padding-lr) / 2 + var(--aui-font-size-l)
|
|
119
|
+
);
|
|
120
|
+
padding-right: 0;
|
|
121
|
+
/* stylelint-disable function-calc-no-unspaced-operator */
|
|
122
|
+
line-height: calc(
|
|
123
|
+
#{get-size(table-row-min-height-m)} - 2 * #{get-size(
|
|
124
|
+
table-cell-padding-tb-m
|
|
125
|
+
)}
|
|
126
|
+
);
|
|
127
|
+
/* stylelint-enable function-calc-no-unspaced-operator */
|
|
128
|
+
|
|
129
|
+
.aui-table__cell-expand-button {
|
|
130
|
+
width: get-size(font-size-l);
|
|
131
|
+
height: get-size(font-size-l);
|
|
132
|
+
&.collapsed {
|
|
133
|
+
background-color: get-rgba(primary, 0.1);
|
|
134
|
+
border-color: get-rgba(primary, 0.1);
|
|
135
|
+
color: get-color(primary);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
101
138
|
}
|
|
102
139
|
}
|
|
103
140
|
}
|
package/theme/_var.scss
CHANGED
|
@@ -54,13 +54,33 @@ $sort-indicator-color-active: #2c2f36;
|
|
|
54
54
|
$sort-indicator-size: 4px;
|
|
55
55
|
$sort-indicator-margin: 4px;
|
|
56
56
|
|
|
57
|
+
// Nav menu
|
|
58
|
+
$nav-menu-main-panel-width: 48px;
|
|
59
|
+
$nav-menu-main-panel-expanded-width: 200px;
|
|
60
|
+
$nav-menu-color: $color-text-help;
|
|
61
|
+
$nav-menu-color-hover: $color-white;
|
|
62
|
+
$nav-menu-divider-color: #555;
|
|
63
|
+
$nav-menu-bg-color-main: #333;
|
|
64
|
+
$nav-menu-bg-color-secondary: mix(#000, $nav-menu-bg-color-main, 24%);
|
|
65
|
+
$nav-menu-bg-color-tertiary: mix(#fff, $nav-menu-bg-color-main, 5%);
|
|
66
|
+
|
|
67
|
+
$nav-item-selected-marker-width: 4px;
|
|
68
|
+
$nav-item-selected-marker-color: $color-primary;
|
|
69
|
+
$nav-item-padding-hoz: 12px;
|
|
70
|
+
$nav-item-padding-ver: 7px;
|
|
71
|
+
$nav-item-padding-ver-large: 13px;
|
|
72
|
+
$nav-item-icon-size: 16px;
|
|
73
|
+
$nav-item-icon-margin: 8px;
|
|
74
|
+
$nav-item-font-size: $font-size-regular;
|
|
75
|
+
$nav-item-line-height: 18px;
|
|
76
|
+
|
|
57
77
|
// Page
|
|
58
78
|
$page-background: #f2f2f2;
|
|
59
79
|
$page-header-background: #262626;
|
|
60
80
|
$page-header-height: 48px;
|
|
61
81
|
$page-toolbar-height: 44px;
|
|
62
82
|
$page-snackbar-height: 56px;
|
|
63
|
-
$page-sider-width:
|
|
83
|
+
$page-sider-width: $nav-menu-main-panel-expanded-width;
|
|
64
84
|
$page-content-padding: 20px;
|
|
65
85
|
|
|
66
86
|
// Code editor
|
|
@@ -228,12 +248,15 @@ $tag-info-bg-color: $color-disabled-bg;
|
|
|
228
248
|
$tag-large-height: $height-medium;
|
|
229
249
|
$tag-large-font-size: $font-size-regular;
|
|
230
250
|
$tag-large-padding: 16px - $tag-border-width;
|
|
251
|
+
|
|
231
252
|
$tag-medium-height: $height-small;
|
|
232
253
|
$tag-medium-font-size: $font-size-regular;
|
|
233
254
|
$tag-medium-padding: 12px - $tag-border-width;
|
|
255
|
+
|
|
234
256
|
$tag-small-height: $height-mini;
|
|
235
257
|
$tag-small-font-size: $font-size-small;
|
|
236
258
|
$tag-margin: 8px;
|
|
259
|
+
|
|
237
260
|
$tag-mini-height: 20px;
|
|
238
261
|
$tag-mini-margin: 6px;
|
|
239
262
|
$tag-mini-padding: 8px - $tag-border-width;
|
|
@@ -291,7 +314,7 @@ $section-border-width: $border-width;
|
|
|
291
314
|
$icon-margin-hoz: 4px;
|
|
292
315
|
|
|
293
316
|
// Tabs
|
|
294
|
-
$tab-label-content-max-width:
|
|
317
|
+
$tab-label-content-max-width: 160px;
|
|
295
318
|
$tab-label-padding-large: 16px 20px;
|
|
296
319
|
$tab-label-padding-medium: 12px 20px;
|
|
297
320
|
$tab-label-padding-small: 8px 16px;
|
|
@@ -299,7 +322,7 @@ $tab-label-font-size-large: $font-size-larger;
|
|
|
299
322
|
$tab-label-font-size-medium: $font-size-large;
|
|
300
323
|
$tab-label-font-size-small: $font-size-regular;
|
|
301
324
|
$tab-border: $border-width $border-style #ededed;
|
|
302
|
-
$tab-header-type-card-bg-color:
|
|
325
|
+
$tab-header-type-card-bg-color: get-color(n-9);
|
|
303
326
|
$tab-header-indicator-color: $color-primary;
|
|
304
327
|
$tab-scroll-transition: all 0.3s cubic-bezier(0.35, 0, 0.25, 1);
|
|
305
328
|
$tab-pagination-button-z-index: 3;
|
|
@@ -307,8 +330,8 @@ $tab-label-z-index: 2;
|
|
|
307
330
|
$tab-active-indicator-z-index: 1;
|
|
308
331
|
$tab-label-focus-box-shadow: inset 0 0 0 3px rgba($color-primary, 0.3);
|
|
309
332
|
$tab-header-close-icon-size: 16px;
|
|
310
|
-
$tab-header-
|
|
311
|
-
$tab-header-
|
|
333
|
+
$tab-header-title-font-size: $font-size-extra-large;
|
|
334
|
+
$tab-header-title-spacing: 20px;
|
|
312
335
|
|
|
313
336
|
// Status bar
|
|
314
337
|
$status-bar-border-radius: $border-radius;
|
|
@@ -336,6 +359,6 @@ $date-picker-icon-size: $font-size-large;
|
|
|
336
359
|
$date-picker-body-size: 216px;
|
|
337
360
|
$date-picker-seprator-gap: 20px;
|
|
338
361
|
$date-picker-row-gap: 8px;
|
|
339
|
-
$date-picker-cell-size:
|
|
362
|
+
$date-picker-cell-size: 24px;
|
|
340
363
|
$range-picker-body-width: 552px;
|
|
341
364
|
$range-picker-header-width: 275px;
|
package/theme/public-api.d.ts
CHANGED
package/theme/style.css
CHANGED
|
@@ -15,54 +15,6 @@
|
|
|
15
15
|
******************************
|
|
16
16
|
*/
|
|
17
17
|
:root {
|
|
18
|
-
--aui-inline-height-l: 40px;
|
|
19
|
-
--aui-inline-height-m: 32px;
|
|
20
|
-
--aui-inline-height-s: 28px;
|
|
21
|
-
--aui-inline-height-xs: 24px;
|
|
22
|
-
--aui-inline-padding-l: 19px;
|
|
23
|
-
--aui-inline-padding-m: 15px;
|
|
24
|
-
--aui-inline-padding-s: 11px;
|
|
25
|
-
--aui-inline-padding-xs: 7px;
|
|
26
|
-
--aui-inline-padding-xxs: 5px;
|
|
27
|
-
--aui-spacing-xxxxxl: 40px;
|
|
28
|
-
--aui-spacing-xxxxl: 32px;
|
|
29
|
-
--aui-spacing-xxxl: 24px;
|
|
30
|
-
--aui-spacing-xxl: 20px;
|
|
31
|
-
--aui-spacing-xl: 16px;
|
|
32
|
-
--aui-spacing-l: 12px;
|
|
33
|
-
--aui-spacing-m: 8px;
|
|
34
|
-
--aui-spacing-s: 4px;
|
|
35
|
-
--aui-spacing-xs: 2px;
|
|
36
|
-
--aui-font-weight-bold: 500;
|
|
37
|
-
--aui-font-weight-normal: 400;
|
|
38
|
-
--aui-font-size-xxl: 20px;
|
|
39
|
-
--aui-font-size-xl: 18px;
|
|
40
|
-
--aui-font-size-l: 16px;
|
|
41
|
-
--aui-font-size-m: 14px;
|
|
42
|
-
--aui-font-size-s: 12px;
|
|
43
|
-
--aui-line-height-xxxl: 32px;
|
|
44
|
-
--aui-line-height-xxl: 28px;
|
|
45
|
-
--aui-line-height-xl: 24px;
|
|
46
|
-
--aui-line-height-l: 22px;
|
|
47
|
-
--aui-line-height-m: 20px;
|
|
48
|
-
--aui-line-height-s: 16px;
|
|
49
|
-
--aui-icon-size-xxl: 24px;
|
|
50
|
-
--aui-icon-size-xl: 24px;
|
|
51
|
-
--aui-icon-size-l: 16px;
|
|
52
|
-
--aui-icon-size-m: 16px;
|
|
53
|
-
--aui-icon-size-s: 12px;
|
|
54
|
-
--aui-border-radius-l: 4px;
|
|
55
|
-
--aui-border-radius-m: 2px;
|
|
56
|
-
--aui-page-header-height: 60px;
|
|
57
|
-
--aui-page-toolbar-height: 44px;
|
|
58
|
-
--aui-page-snackbar-height: 60px;
|
|
59
|
-
--aui-page-sider-width: 260px;
|
|
60
|
-
--aui-page-padding-m: 20px;
|
|
61
|
-
--aui-page-padding-s: 16px;
|
|
62
|
-
--aui-form-item-width-l: 732px;
|
|
63
|
-
--aui-form-item-width-m: 436px;
|
|
64
|
-
--aui-form-item-width-s: 140px;
|
|
65
|
-
--aui-border-m: 1px;
|
|
66
18
|
--aui-color-blue: 0, 122, 245;
|
|
67
19
|
--aui-color-b-0: 0, 103, 208;
|
|
68
20
|
--aui-color-b-1: 38, 141, 246;
|
|
@@ -104,19 +56,54 @@
|
|
|
104
56
|
--aui-color-n-8: 237, 239, 242;
|
|
105
57
|
--aui-color-n-9: 247, 249, 252;
|
|
106
58
|
--aui-color-n-10: 255, 255, 255;
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
--aui-color-
|
|
111
|
-
--aui-color-
|
|
112
|
-
--aui-color-
|
|
113
|
-
--aui-color-
|
|
114
|
-
--aui-color-
|
|
115
|
-
--aui-color-
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
html[aui-color-mode=light] {
|
|
62
|
+
--aui-color-blue: 0, 122, 245;
|
|
63
|
+
--aui-color-b-0: 0, 103, 208;
|
|
64
|
+
--aui-color-b-1: 38, 141, 246;
|
|
65
|
+
--aui-color-b-2: 77, 162, 248;
|
|
66
|
+
--aui-color-b-3: 102, 175, 249;
|
|
67
|
+
--aui-color-b-4: 179, 215, 252;
|
|
68
|
+
--aui-color-b-5: 204, 228, 253;
|
|
69
|
+
--aui-color-b-6: 229, 241, 254;
|
|
70
|
+
--aui-color-b-7: 242, 248, 254;
|
|
71
|
+
--aui-color-green: 0, 194, 97;
|
|
72
|
+
--aui-color-g-0: 0, 165, 82;
|
|
73
|
+
--aui-color-g-1: 38, 203, 120;
|
|
74
|
+
--aui-color-g-2: 76, 212, 144;
|
|
75
|
+
--aui-color-g-4: 179, 236, 207;
|
|
76
|
+
--aui-color-g-6: 230, 249, 239;
|
|
77
|
+
--aui-color-g-7: 242, 251, 246;
|
|
78
|
+
--aui-color-yellow: 245, 163, 0;
|
|
79
|
+
--aui-color-y-0: 220, 146, 0;
|
|
80
|
+
--aui-color-y-1: 246, 176, 38;
|
|
81
|
+
--aui-color-y-2: 248, 190, 77;
|
|
82
|
+
--aui-color-y-4: 252, 227, 179;
|
|
83
|
+
--aui-color-y-6: 254, 245, 230;
|
|
84
|
+
--aui-color-y-7: 254, 250, 243;
|
|
85
|
+
--aui-color-red: 235, 0, 39;
|
|
86
|
+
--aui-color-r-0: 199, 0, 33;
|
|
87
|
+
--aui-color-r-1: 237, 38, 71;
|
|
88
|
+
--aui-color-r-2: 241, 76, 103;
|
|
89
|
+
--aui-color-r-4: 249, 179, 190;
|
|
90
|
+
--aui-color-r-6: 253, 230, 233;
|
|
91
|
+
--aui-color-r-7: 254, 243, 244;
|
|
92
|
+
--aui-color-n-0: 0, 0, 0;
|
|
93
|
+
--aui-color-n-1: 50, 52, 55;
|
|
94
|
+
--aui-color-n-2: 100, 102, 105;
|
|
95
|
+
--aui-color-n-3: 124, 126, 129;
|
|
96
|
+
--aui-color-n-4: 150, 152, 155;
|
|
97
|
+
--aui-color-n-5: 174, 176, 179;
|
|
98
|
+
--aui-color-n-6: 200, 202, 205;
|
|
99
|
+
--aui-color-n-7: 212, 214, 217;
|
|
100
|
+
--aui-color-n-8: 237, 239, 242;
|
|
101
|
+
--aui-color-n-9: 247, 249, 252;
|
|
102
|
+
--aui-color-n-10: 255, 255, 255;
|
|
116
103
|
}
|
|
117
104
|
|
|
118
105
|
@media (prefers-color-scheme: dark) {
|
|
119
|
-
[aui-color-mode=auto] {
|
|
106
|
+
html[aui-color-mode=auto] {
|
|
120
107
|
--aui-color-blue: 0, 122, 245;
|
|
121
108
|
--aui-color-b-0: 0, 103, 208;
|
|
122
109
|
--aui-color-b-1: 38, 141, 246;
|
|
@@ -160,7 +147,7 @@
|
|
|
160
147
|
--aui-color-n-10: 255, 255, 255;
|
|
161
148
|
}
|
|
162
149
|
}
|
|
163
|
-
html[aui-color-mode=
|
|
150
|
+
html[aui-color-mode=dark] {
|
|
164
151
|
--aui-color-blue: 0, 122, 245;
|
|
165
152
|
--aui-color-b-0: 0, 103, 208;
|
|
166
153
|
--aui-color-b-1: 38, 141, 246;
|
|
@@ -204,48 +191,75 @@ html[aui-color-mode=light] {
|
|
|
204
191
|
--aui-color-n-10: 255, 255, 255;
|
|
205
192
|
}
|
|
206
193
|
|
|
207
|
-
|
|
208
|
-
--aui-
|
|
209
|
-
--aui-
|
|
210
|
-
--aui-
|
|
211
|
-
--aui-
|
|
212
|
-
--aui-
|
|
213
|
-
--aui-
|
|
214
|
-
--aui-
|
|
215
|
-
--aui-
|
|
216
|
-
--aui-
|
|
217
|
-
--aui-
|
|
218
|
-
--aui-
|
|
219
|
-
--aui-
|
|
220
|
-
--aui-
|
|
221
|
-
--aui-
|
|
222
|
-
--aui-
|
|
223
|
-
--aui-
|
|
224
|
-
--aui-
|
|
225
|
-
--aui-
|
|
226
|
-
--aui-
|
|
227
|
-
--aui-
|
|
228
|
-
--aui-
|
|
229
|
-
--aui-
|
|
230
|
-
--aui-
|
|
231
|
-
--aui-
|
|
232
|
-
--aui-
|
|
233
|
-
--aui-
|
|
234
|
-
--aui-
|
|
235
|
-
--aui-
|
|
236
|
-
--aui-
|
|
237
|
-
--aui-
|
|
238
|
-
--aui-
|
|
239
|
-
--aui-
|
|
240
|
-
--aui-
|
|
241
|
-
--aui-
|
|
242
|
-
--aui-
|
|
243
|
-
--aui-
|
|
244
|
-
--aui-
|
|
245
|
-
--aui-
|
|
246
|
-
--aui-
|
|
247
|
-
--aui-
|
|
248
|
-
--aui-
|
|
194
|
+
:root {
|
|
195
|
+
--aui-inline-height-l: 40px;
|
|
196
|
+
--aui-inline-height-m: 32px;
|
|
197
|
+
--aui-inline-height-s: 28px;
|
|
198
|
+
--aui-inline-height-xs: 24px;
|
|
199
|
+
--aui-inline-padding-l: 19px;
|
|
200
|
+
--aui-inline-padding-m: 15px;
|
|
201
|
+
--aui-inline-padding-s: 11px;
|
|
202
|
+
--aui-inline-padding-xs: 7px;
|
|
203
|
+
--aui-inline-padding-xxs: 5px;
|
|
204
|
+
--aui-spacing-xxxxxl: 40px;
|
|
205
|
+
--aui-spacing-xxxxl: 32px;
|
|
206
|
+
--aui-spacing-xxxl: 24px;
|
|
207
|
+
--aui-spacing-xxl: 20px;
|
|
208
|
+
--aui-spacing-xl: 16px;
|
|
209
|
+
--aui-spacing-l: 12px;
|
|
210
|
+
--aui-spacing-m: 8px;
|
|
211
|
+
--aui-spacing-s: 4px;
|
|
212
|
+
--aui-spacing-xs: 2px;
|
|
213
|
+
--aui-font-weight-bold: 500;
|
|
214
|
+
--aui-font-weight-normal: 400;
|
|
215
|
+
--aui-font-size-xxl: 20px;
|
|
216
|
+
--aui-font-size-xl: 18px;
|
|
217
|
+
--aui-font-size-l: 16px;
|
|
218
|
+
--aui-font-size-m: 14px;
|
|
219
|
+
--aui-font-size-s: 12px;
|
|
220
|
+
--aui-line-height-xxxl: 32px;
|
|
221
|
+
--aui-line-height-xxl: 28px;
|
|
222
|
+
--aui-line-height-xl: 24px;
|
|
223
|
+
--aui-line-height-l: 22px;
|
|
224
|
+
--aui-line-height-m: 20px;
|
|
225
|
+
--aui-line-height-s: 16px;
|
|
226
|
+
--aui-icon-size-xxl: 24px;
|
|
227
|
+
--aui-icon-size-xl: 24px;
|
|
228
|
+
--aui-icon-size-l: 16px;
|
|
229
|
+
--aui-icon-size-m: 16px;
|
|
230
|
+
--aui-icon-size-s: 12px;
|
|
231
|
+
--aui-border-radius-l: 4px;
|
|
232
|
+
--aui-border-radius-m: 2px;
|
|
233
|
+
--aui-page-header-height: 60px;
|
|
234
|
+
--aui-page-toolbar-height: 44px;
|
|
235
|
+
--aui-page-snackbar-height: 60px;
|
|
236
|
+
--aui-page-sider-width: 260px;
|
|
237
|
+
--aui-page-padding-m: 20px;
|
|
238
|
+
--aui-page-padding-s: 16px;
|
|
239
|
+
--aui-form-item-width-l: 732px;
|
|
240
|
+
--aui-form-item-width-m: 436px;
|
|
241
|
+
--aui-form-item-width-s: 140px;
|
|
242
|
+
--aui-border-m: 1px;
|
|
243
|
+
--aui-table-margin: 12px;
|
|
244
|
+
--aui-table-cell-padding-lr: 20px;
|
|
245
|
+
--aui-table-cell-padding-tb-s: 12px;
|
|
246
|
+
--aui-table-cell-padding-tb-m: 16px;
|
|
247
|
+
--aui-table-row-min-height-s: 52px;
|
|
248
|
+
--aui-table-row-min-height-m: 60px;
|
|
249
|
+
--aui-table-header-cell-padding-tb: 12px;
|
|
250
|
+
--aui-table-header-height: 44px;
|
|
251
|
+
--aui-table-border-width: 1px;
|
|
252
|
+
--aui-select-width: 100%;
|
|
253
|
+
--aui-select-options-padding: 8px;
|
|
254
|
+
--aui-color-primary: var(--aui-color-blue);
|
|
255
|
+
--aui-color-p-0: var(--aui-color-b-0);
|
|
256
|
+
--aui-color-p-1: var(--aui-color-b-1);
|
|
257
|
+
--aui-color-p-2: var(--aui-color-b-2);
|
|
258
|
+
--aui-color-p-3: var(--aui-color-b-3);
|
|
259
|
+
--aui-color-p-4: var(--aui-color-b-4);
|
|
260
|
+
--aui-color-p-5: var(--aui-color-b-5);
|
|
261
|
+
--aui-color-p-6: var(--aui-color-b-6);
|
|
262
|
+
--aui-color-p-7: var(--aui-color-b-7);
|
|
249
263
|
}
|
|
250
264
|
|
|
251
265
|
body {
|
|
@@ -259,7 +273,11 @@ a {
|
|
|
259
273
|
color: rgb(var(--aui-color-primary));
|
|
260
274
|
text-decoration: none;
|
|
261
275
|
}
|
|
262
|
-
a:hover
|
|
276
|
+
a:hover {
|
|
277
|
+
color: rgb(var(--aui-color-p-1));
|
|
278
|
+
text-decoration: underline;
|
|
279
|
+
}
|
|
280
|
+
a:active, a:focus {
|
|
263
281
|
color: rgb(var(--aui-color-p-0));
|
|
264
282
|
text-decoration: underline;
|
|
265
283
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, PipeTransform } from '@angular/core';
|
|
2
|
+
import { ThemeService } from './theme.service';
|
|
3
|
+
import { ThemeSet } from './theme.types';
|
|
4
|
+
export declare class ThemePipe<T> implements PipeTransform, OnDestroy {
|
|
5
|
+
private currentTheme;
|
|
6
|
+
private readonly destroy$$;
|
|
7
|
+
constructor(themeService: ThemeService, cdr: ChangeDetectorRef);
|
|
8
|
+
transform(v: ThemeSet<T>): T;
|
|
9
|
+
ngOnDestroy(): void;
|
|
10
|
+
}
|
package/theme/theme.service.d.ts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
|
+
import { Theme, ThemeMode } from './theme.types';
|
|
1
2
|
export declare class ThemeService {
|
|
2
|
-
|
|
3
|
-
|
|
3
|
+
private readonly htmlEl;
|
|
4
|
+
private browserTheme;
|
|
5
|
+
private themeMode;
|
|
6
|
+
private readonly currentAppTheme$$;
|
|
7
|
+
currentAppTheme$: import("rxjs").Observable<Theme>;
|
|
8
|
+
constructor();
|
|
9
|
+
setThemeMode(mode: ThemeMode): void;
|
|
10
|
+
getAppTheme(): Theme;
|
|
11
|
+
private themeChanged;
|
|
4
12
|
}
|
|
5
|
-
export declare type ColorMode = 'auto' | 'light' | 'dark';
|
|
@@ -24,6 +24,7 @@ export declare class TimePickerComponent extends CommonFormControl<TimePickerDat
|
|
|
24
24
|
focused: boolean;
|
|
25
25
|
hovered: boolean;
|
|
26
26
|
bem: import("../public-api").Bem;
|
|
27
|
+
get rootClass(): string;
|
|
27
28
|
writeValue(value: TimePickerDataLike): void;
|
|
28
29
|
setValue(value: Dayjs): void;
|
|
29
30
|
changeFromPanel(value: Dayjs): void;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, TemplateRef } from '@angular/core';
|
|
2
2
|
import { Observable, Subject } from 'rxjs';
|
|
3
|
+
import { Bem } from '../utils';
|
|
3
4
|
import { TooltipType } from './tooltip.types';
|
|
4
5
|
export declare class TooltipComponent {
|
|
5
6
|
elRef: ElementRef<HTMLElement>;
|
|
6
7
|
cdr: ChangeDetectorRef;
|
|
7
8
|
text: string;
|
|
8
9
|
template: TemplateRef<any>;
|
|
10
|
+
bem: Bem;
|
|
9
11
|
inputContent$: Observable<string | TemplateRef<any>>;
|
|
10
12
|
inputType$: Observable<TooltipType>;
|
|
11
13
|
inputPosition$: Observable<string>;
|
|
@@ -51,6 +51,8 @@ export declare class TreeSelectComponent<T = unknown> extends CommonFormControl<
|
|
|
51
51
|
onNodeClick(node: TreeNodeComponent<T>): void;
|
|
52
52
|
getVisibleNodeCount(): number;
|
|
53
53
|
selectNode(node: TreeNodeComponent<T>): void;
|
|
54
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
55
|
+
closeOption(): void;
|
|
54
56
|
updateSelectDisplay(value: any): void;
|
|
55
57
|
clearValue(event: Event): void;
|
|
56
58
|
writeValue(value: T): void;
|