@alauda/ui 6.5.10-beta.1 → 6.5.10-beta.3
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/.changeset/README.md +8 -0
- package/accordion/accordion-item/accordion-item.component.d.ts +3 -3
- package/accordion/accordion.component.d.ts +1 -1
- package/alauda-ui.d.ts +5 -0
- package/anchor/anchor.component.d.ts +2 -2
- package/anchor/anchor.directive.d.ts +3 -3
- package/autocomplete/autocomplete-placeholder.component.d.ts +1 -1
- package/autocomplete/autocomplete.component.d.ts +1 -1
- package/autocomplete/autocomplete.directive.d.ts +2 -2
- package/autocomplete/autocomplete.types.d.ts +1 -1
- package/autocomplete/helper-directives.d.ts +1 -1
- package/autocomplete/suggestion/suggestion.component.d.ts +1 -1
- package/autocomplete/suggestion-group/suggestion-group.component.d.ts +1 -1
- package/back-top/back-top.component.d.ts +2 -2
- package/breadcrumb/breadcrumb-item.component.d.ts +1 -1
- package/breadcrumb/breadcrumb.component.d.ts +1 -1
- package/button/button-group/button-group.component.d.ts +1 -1
- package/button/button.component.d.ts +1 -1
- package/button/button.types.d.ts +10 -1
- package/card/card.component.d.ts +1 -1
- package/card/helper-directives.d.ts +6 -3
- package/card/section.component.d.ts +1 -1
- package/checkbox/checkbox-group/checkbox-group.component.d.ts +1 -1
- package/checkbox/checkbox.component.d.ts +1 -1
- package/color-picker/color-picker.component.d.ts +1 -1
- package/date-picker/calendar/date-picker-panel/component.d.ts +1 -1
- package/date-picker/calendar/footer/component.d.ts +1 -1
- package/date-picker/calendar/header/component.d.ts +1 -1
- package/date-picker/calendar/panel/picker-panel.d.ts +1 -1
- package/date-picker/calendar/range-picker-panel/component.d.ts +1 -1
- package/date-picker/date-picker/date-picker.component.d.ts +1 -1
- package/date-picker/date-picker.type.d.ts +2 -2
- package/date-picker/range-picker/range-picker.component.d.ts +1 -1
- package/date-picker/trigger/trigger.component.d.ts +1 -1
- package/dialog/confirm-dialog/confirm-dialog.component.d.ts +1 -1
- package/dialog/dialog-content/dialog-close.directive.d.ts +1 -1
- package/dialog/dialog-content/dialog-content.component.d.ts +1 -1
- package/dialog/dialog-content/dialog-footer.component.d.ts +1 -1
- package/dialog/dialog-content/dialog-header.component.d.ts +1 -1
- package/dialog/dialog.component.d.ts +1 -1
- package/dialog/dialog.types.d.ts +3 -3
- package/drawer/component/drawer.component.d.ts +1 -1
- package/drawer/component/helper-directives.d.ts +3 -3
- package/dropdown/dropdown-active.directive.d.ts +1 -1
- package/dropdown/dropdown-button/dropdown-button.component.d.ts +1 -1
- package/dropdown/dropdown.directive.d.ts +1 -1
- package/dropdown/dropdown.types.d.ts +1 -1
- package/dropdown/helper-directives.d.ts +1 -1
- package/dropdown/menu/menu-content.directive.d.ts +1 -1
- package/dropdown/menu/menu.component.d.ts +1 -1
- package/dropdown/menu-group/menu-group.component.d.ts +1 -1
- package/dropdown/menu-item/menu-item.component.d.ts +1 -1
- package/dropdown/submenu/submenu.component.d.ts +1 -1
- package/esm2020/accordion/accordion-item/accordion-item.component.mjs +73 -0
- package/esm2020/accordion/accordion.component.mjs +27 -0
- package/esm2020/accordion/accordion.module.mjs +39 -0
- package/esm2020/alauda-ui.mjs +5 -0
- package/esm2020/anchor/anchor.component.mjs +138 -0
- package/esm2020/anchor/anchor.directive.mjs +182 -0
- package/esm2020/anchor/anchor.module.mjs +36 -0
- package/{esm2022 → esm2020}/autocomplete/autocomplete-placeholder.component.mjs +4 -4
- package/esm2020/autocomplete/autocomplete.component.mjs +64 -0
- package/esm2020/autocomplete/autocomplete.directive.mjs +278 -0
- package/esm2020/autocomplete/autocomplete.module.mjs +53 -0
- package/{esm2022 → esm2020}/autocomplete/helper-directives.mjs +4 -4
- package/esm2020/autocomplete/suggestion/suggestion.component.mjs +79 -0
- package/esm2020/autocomplete/suggestion-group/suggestion-group.component.mjs +23 -0
- package/esm2020/back-top/back-top.component.mjs +67 -0
- package/esm2020/back-top/back-top.module.mjs +19 -0
- package/esm2020/breadcrumb/breadcrumb-item.component.mjs +32 -0
- package/esm2020/breadcrumb/breadcrumb.component.mjs +57 -0
- package/esm2020/breadcrumb/breadcrumb.module.mjs +20 -0
- package/{esm2022 → esm2020}/button/button-group/button-group.component.mjs +4 -4
- package/esm2020/button/button.component.mjs +122 -0
- package/esm2020/button/button.module.mjs +20 -0
- package/esm2020/button/button.types.mjs +22 -0
- package/esm2020/card/card.component.mjs +16 -0
- package/esm2020/card/card.module.mjs +40 -0
- package/esm2020/card/helper-directives.mjs +50 -0
- package/{esm2022 → esm2020}/card/section.component.mjs +4 -4
- package/esm2020/checkbox/checkbox-group/checkbox-group.component.mjs +61 -0
- package/esm2020/checkbox/checkbox.component.mjs +112 -0
- package/esm2020/checkbox/checkbox.module.mjs +20 -0
- package/esm2020/color-picker/color-picker.component.mjs +28 -0
- package/esm2020/color-picker/color-picker.module.mjs +19 -0
- package/esm2020/date-picker/calendar/constant.mjs +32 -0
- package/esm2020/date-picker/calendar/date-picker-panel/component.mjs +128 -0
- package/esm2020/date-picker/calendar/footer/component.mjs +29 -0
- package/esm2020/date-picker/calendar/header/component.mjs +103 -0
- package/esm2020/date-picker/calendar/panel/picker-panel.mjs +155 -0
- package/esm2020/date-picker/calendar/range-picker-panel/component.mjs +209 -0
- package/esm2020/date-picker/calendar/util.mjs +146 -0
- package/esm2020/date-picker/date-picker/date-picker.component.mjs +110 -0
- package/esm2020/date-picker/date-picker.module.mjs +84 -0
- package/esm2020/date-picker/range-picker/range-picker.component.mjs +86 -0
- package/esm2020/date-picker/trigger/trigger.component.mjs +69 -0
- package/esm2020/dialog/confirm-dialog/confirm-dialog-config.mjs +12 -0
- package/esm2020/dialog/confirm-dialog/confirm-dialog.component.mjs +85 -0
- package/{esm2022 → esm2020}/dialog/dialog-animations.mjs +2 -1
- package/esm2020/dialog/dialog-config.mjs +15 -0
- package/esm2020/dialog/dialog-content/dialog-close.directive.mjs +38 -0
- package/esm2020/dialog/dialog-content/dialog-content.component.mjs +20 -0
- package/esm2020/dialog/dialog-content/dialog-footer.component.mjs +15 -0
- package/esm2020/dialog/dialog-content/dialog-header.component.mjs +39 -0
- package/esm2020/dialog/dialog-ref.mjs +48 -0
- package/esm2020/dialog/dialog.component.mjs +148 -0
- package/esm2020/dialog/dialog.module.mjs +68 -0
- package/esm2020/dialog/dialog.service.mjs +121 -0
- package/esm2020/drawer/component/drawer.component.mjs +232 -0
- package/esm2020/drawer/component/helper-directives.mjs +37 -0
- package/esm2020/drawer/drawer.module.mjs +37 -0
- package/esm2020/drawer/drawer.service.mjs +44 -0
- package/esm2020/dropdown/dropdown-active.directive.mjs +21 -0
- package/esm2020/dropdown/dropdown-button/dropdown-button.component.mjs +57 -0
- package/esm2020/dropdown/dropdown.directive.mjs +81 -0
- package/esm2020/dropdown/dropdown.module.mjs +65 -0
- package/{esm2022 → esm2020}/dropdown/helper-directives.mjs +4 -4
- package/esm2020/dropdown/menu/menu-content.directive.mjs +51 -0
- package/esm2020/dropdown/menu/menu.component.mjs +26 -0
- package/{esm2022 → esm2020}/dropdown/menu-group/menu-group.component.mjs +4 -4
- package/esm2020/dropdown/menu-item/menu-item.component.mjs +37 -0
- package/esm2020/dropdown/submenu/submenu.component.mjs +40 -0
- package/esm2020/form/common-form.mjs +91 -0
- package/esm2020/form/form-item/form-item.component.mjs +108 -0
- package/esm2020/form/form.directive.mjs +69 -0
- package/esm2020/form/form.module.mjs +48 -0
- package/esm2020/form/helper-directives.mjs +80 -0
- package/{esm2022 → esm2020}/i18n/i18n.module.mjs +5 -5
- package/esm2020/i18n/i18n.pipe.mjs +20 -0
- package/esm2020/i18n/i18n.service.mjs +43 -0
- package/esm2020/icon/icon-register.service.mjs +74 -0
- package/esm2020/icon/icon.component.mjs +65 -0
- package/esm2020/icon/icon.module.mjs +21 -0
- package/{esm2022 → esm2020}/inline-alert/helper-directives.mjs +4 -4
- package/esm2020/inline-alert/inline-alert.component.mjs +53 -0
- package/esm2020/inline-alert/inline-alert.module.mjs +20 -0
- package/esm2020/input/autosize.directive.mjs +59 -0
- package/esm2020/input/helper-directives.mjs +43 -0
- package/esm2020/input/input-group/input-group.component.mjs +39 -0
- package/esm2020/input/input.component.mjs +61 -0
- package/esm2020/input/input.module.mjs +87 -0
- package/esm2020/input/number-input/number-input.component.mjs +112 -0
- package/esm2020/input/search/search.component.mjs +88 -0
- package/esm2020/input/tags-input/tags-input.component.mjs +260 -0
- package/esm2020/message/base-message.mjs +90 -0
- package/esm2020/message/message-wrapper.component.mjs +14 -0
- package/esm2020/message/message.component.mjs +70 -0
- package/esm2020/message/message.config.mjs +21 -0
- package/esm2020/message/message.module.mjs +23 -0
- package/{esm2022 → esm2020}/message/message.service.mjs +4 -4
- package/esm2020/notification/notification-wrapper.component.mjs +16 -0
- package/esm2020/notification/notification.component.mjs +107 -0
- package/esm2020/notification/notification.module.mjs +24 -0
- package/{esm2022 → esm2020}/notification/notification.service.mjs +4 -4
- package/esm2020/paginator/paginator-intl.mjs +37 -0
- package/esm2020/paginator/paginator.component.mjs +125 -0
- package/esm2020/paginator/paginator.module.mjs +24 -0
- package/esm2020/radio/base-radio.mjs +67 -0
- package/esm2020/radio/radio-button/radio-button.component.mjs +42 -0
- package/esm2020/radio/radio-group/radio-group.component.mjs +76 -0
- package/esm2020/radio/radio.component.mjs +24 -0
- package/esm2020/radio/radio.module.mjs +21 -0
- package/esm2020/scrolling/fixed-size-table-virtual-scroll-strategy.mjs +83 -0
- package/esm2020/scrolling/fixed-size-table-virtual-scroll.directive.mjs +121 -0
- package/esm2020/scrolling/fixed-size-virtual-scroll.directive.mjs +28 -0
- package/{esm2022 → esm2020}/scrolling/scrolling.module.mjs +9 -9
- package/{esm2022 → esm2020}/scrolling/virtual-for-of.directive.mjs +4 -4
- package/esm2020/scrolling/virtual-scroll-viewport.component.mjs +26 -0
- package/esm2020/select/base-select.mjs +337 -0
- package/{esm2022 → esm2020}/select/helper-directives.mjs +7 -7
- package/esm2020/select/multi-select/multi-select.component.mjs +313 -0
- package/esm2020/select/option/option.component.mjs +112 -0
- package/esm2020/select/option-group/option-group.component.mjs +23 -0
- package/{esm2022 → esm2020}/select/option-placeholder.component.mjs +4 -4
- package/esm2020/select/select.component.mjs +108 -0
- package/esm2020/select/select.module.mjs +80 -0
- package/esm2020/select/validators.mjs +79 -0
- package/esm2020/shared/click-outside.directive.mjs +28 -0
- package/{esm2022 → esm2020}/shared/shared.module.mjs +5 -5
- package/esm2020/sort/sort-errors.mjs +17 -0
- package/esm2020/sort/sort-header.component.mjs +72 -0
- package/esm2020/sort/sort.directive.mjs +75 -0
- package/esm2020/sort/sort.module.mjs +19 -0
- package/esm2020/status-bar/status-bar.component.mjs +29 -0
- package/esm2020/status-bar/status-bar.module.mjs +19 -0
- package/esm2020/steps/steps.component.mjs +184 -0
- package/esm2020/steps/steps.module.mjs +19 -0
- package/esm2020/switch/switch.component.mjs +46 -0
- package/esm2020/switch/switch.module.mjs +18 -0
- package/esm2020/table/table-cell-def.directive.mjs +29 -0
- package/esm2020/table/table-cell.component.mjs +121 -0
- package/esm2020/table/table-cell.directive.mjs +31 -0
- package/esm2020/table/table-column-def.directive.mjs +37 -0
- package/esm2020/table/table-header-cell-def.directive.mjs +29 -0
- package/esm2020/table/table-header-cell.directive.mjs +27 -0
- package/esm2020/table/table-header-row-def.directive.mjs +39 -0
- package/esm2020/table/table-header-row.component.mjs +25 -0
- package/esm2020/table/table-placeholder.directive.mjs +30 -0
- package/esm2020/table/table-row-def.directive.mjs +42 -0
- package/esm2020/table/table-row.component.mjs +43 -0
- package/esm2020/table/table-scroll.directive.mjs +134 -0
- package/esm2020/table/table.component.mjs +79 -0
- package/esm2020/table/table.module.mjs +96 -0
- package/esm2020/table-of-contents/table-of-contents.module.mjs +20 -0
- package/esm2020/table-of-contents/toc-container.directive.mjs +109 -0
- package/esm2020/table-of-contents/toc-content.directive.mjs +35 -0
- package/esm2020/table-of-contents/toc-link.directive.mjs +44 -0
- package/esm2020/tabs/tab-body.component.mjs +165 -0
- package/esm2020/tabs/tab-context.service.mjs +31 -0
- package/esm2020/tabs/tab-group.component.mjs +291 -0
- package/esm2020/tabs/tab-header-active-indicator.component.mjs +53 -0
- package/esm2020/tabs/tab-header.component.mjs +367 -0
- package/esm2020/tabs/tab.component.mjs +85 -0
- package/esm2020/tabs/tabs.module.mjs +88 -0
- package/esm2020/tabs/tabs.types.mjs +13 -0
- package/esm2020/tag/check-tag/check-tag.component.mjs +33 -0
- package/esm2020/tag/tag.component.mjs +66 -0
- package/esm2020/tag/tag.module.mjs +20 -0
- package/esm2020/theme/theme.module.mjs +18 -0
- package/esm2020/theme/theme.pipe.mjs +69 -0
- package/esm2020/theme/theme.service.mjs +52 -0
- package/esm2020/time-picker/component.mjs +179 -0
- package/esm2020/time-picker/panel/panel.component.mjs +230 -0
- package/esm2020/time-picker/time-picker.module.mjs +58 -0
- package/esm2020/tooltip/base-tooltip.mjs +322 -0
- package/esm2020/tooltip/tooltip-active.directive.mjs +49 -0
- package/esm2020/tooltip/tooltip-copy.directive.mjs +82 -0
- package/esm2020/tooltip/tooltip-intl.mjs +29 -0
- package/esm2020/tooltip/tooltip.component.mjs +107 -0
- package/esm2020/tooltip/tooltip.directive.mjs +47 -0
- package/esm2020/tooltip/tooltip.module.mjs +33 -0
- package/{esm2022 → esm2020}/tree-select/tree-node-placeholder.component.mjs +4 -4
- package/esm2020/tree-select/tree-select.component.mjs +340 -0
- package/esm2020/tree-select/tree-select.module.mjs +34 -0
- package/esm2020/types.mjs +11 -0
- package/esm2020/utils/bem.mjs +44 -0
- package/esm2020/utils/coercion.mjs +17 -0
- package/fesm2015/alauda-ui.mjs +12051 -0
- package/fesm2015/alauda-ui.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/alauda-ui.mjs +2862 -2809
- package/fesm2020/alauda-ui.mjs.map +1 -0
- package/form/common-form.d.ts +8 -1
- package/form/form-item/form-item.component.d.ts +1 -1
- package/form/form.directive.d.ts +1 -1
- package/form/form.types.d.ts +2 -2
- package/form/helper-directives.d.ts +5 -5
- package/i18n/i18n.pipe.d.ts +1 -1
- package/i18n/i18n.type.d.ts +1 -1
- package/icon/icon.component.d.ts +1 -1
- package/inline-alert/helper-directives.d.ts +1 -1
- package/inline-alert/inline-alert.component.d.ts +1 -1
- package/inline-alert/inline-alert.types.d.ts +1 -1
- package/input/autosize.directive.d.ts +4 -1
- package/input/helper-directives.d.ts +4 -4
- package/input/input-group/input-group.component.d.ts +1 -1
- package/input/input.component.d.ts +4 -1
- package/input/number-input/number-input.component.d.ts +1 -1
- package/input/search/search.component.d.ts +1 -1
- package/input/tags-input/tags-input.component.d.ts +4 -4
- package/message/message-wrapper.component.d.ts +1 -1
- package/message/message.component.d.ts +1 -1
- package/message/message.config.d.ts +20 -0
- package/notification/notification-wrapper.component.d.ts +1 -1
- package/notification/notification.component.d.ts +5 -1
- package/notification/notification.config.d.ts +1 -1
- package/package.json +19 -13
- package/paginator/paginator-intl.d.ts +9 -0
- package/paginator/paginator.component.d.ts +15 -1
- package/radio/base-radio.d.ts +1 -1
- package/radio/radio-button/radio-button.component.d.ts +1 -1
- package/radio/radio-group/radio-group.component.d.ts +4 -1
- package/radio/radio.component.d.ts +1 -1
- package/radio/radio.types.d.ts +1 -1
- package/scrolling/fixed-size-table-virtual-scroll.directive.d.ts +1 -1
- package/scrolling/fixed-size-virtual-scroll.directive.d.ts +1 -1
- package/scrolling/virtual-for-of.directive.d.ts +1 -1
- package/scrolling/virtual-scroll-viewport.component.d.ts +1 -1
- package/select/base-select.d.ts +4 -1
- package/select/helper-directives.d.ts +2 -2
- package/select/multi-select/multi-select.component.d.ts +1 -1
- package/select/option/option.component.d.ts +1 -1
- package/select/option-group/option-group.component.d.ts +1 -1
- package/select/option-placeholder.component.d.ts +1 -1
- package/select/select.component.d.ts +1 -1
- package/select/select.types.d.ts +3 -3
- package/select/validators.d.ts +1 -1
- package/shared/click-outside.directive.d.ts +1 -1
- package/sort/sort-errors.d.ts +4 -0
- package/sort/sort-header.component.d.ts +1 -1
- package/sort/sort.directive.d.ts +1 -1
- package/sort/sort.types.d.ts +2 -2
- package/src/accordion/README.md +13 -0
- package/src/anchor/README.md +23 -0
- package/src/dropdown/README.md +57 -0
- package/src/form/README.md +32 -0
- package/src/icon/README.md +28 -0
- package/src/inline-alert/README.md +16 -0
- package/src/input/number-input/README.md +16 -0
- package/src/select/README.md +57 -0
- package/src/sort/README.md +13 -0
- package/src/table/README.md +8 -0
- package/src/table-of-contents/README.md +94 -0
- package/src/tag/README.md +32 -0
- package/src/tree-select/README.md +34 -0
- package/status-bar/status-bar.component.d.ts +1 -1
- package/status-bar/status-bar.types.d.ts +2 -2
- package/steps/steps.component.d.ts +4 -1
- package/steps/types.d.ts +6 -3
- package/switch/switch.component.d.ts +1 -1
- package/table/table-cell-def.directive.d.ts +5 -1
- package/table/table-cell.component.d.ts +2 -2
- package/table/table-cell.directive.d.ts +2 -1
- package/table/table-column-def.directive.d.ts +5 -1
- package/table/table-header-cell-def.directive.d.ts +5 -1
- package/table/table-header-cell.directive.d.ts +2 -1
- package/table/table-header-row-def.directive.d.ts +5 -1
- package/table/table-header-row.component.d.ts +2 -1
- package/table/table-placeholder.directive.d.ts +2 -2
- package/table/table-row-def.directive.d.ts +6 -1
- package/table/table-row.component.d.ts +2 -1
- package/table/table-scroll.directive.d.ts +2 -2
- package/table/table.component.d.ts +1 -1
- package/table-of-contents/toc-container.directive.d.ts +1 -1
- package/table-of-contents/toc-content.directive.d.ts +1 -1
- package/table-of-contents/toc-link.directive.d.ts +1 -1
- package/tabs/tab-body.component.d.ts +23 -7
- package/tabs/tab-context.service.d.ts +3 -0
- package/tabs/tab-group.component.d.ts +29 -1
- package/tabs/tab-header-active-indicator.component.d.ts +10 -1
- package/tabs/tab-header.component.d.ts +85 -2
- package/tabs/tab.component.d.ts +19 -1
- package/tabs/tabs.types.d.ts +5 -2
- package/tag/check-tag/check-tag.component.d.ts +1 -1
- package/tag/tag.component.d.ts +1 -1
- package/tag/tag.types.d.ts +1 -1
- package/theme/style.css +1 -5
- package/theme/theme.pipe.d.ts +4 -4
- package/theme/theme.types.d.ts +3 -3
- package/time-picker/component.d.ts +1 -1
- package/time-picker/panel/panel.component.d.ts +1 -1
- package/time-picker/time-picker.type.d.ts +1 -1
- package/tooltip/base-tooltip.d.ts +1 -1
- package/tooltip/tooltip-active.directive.d.ts +1 -1
- package/tooltip/tooltip-copy.directive.d.ts +1 -1
- package/tooltip/tooltip-intl.d.ts +4 -0
- package/tooltip/tooltip.component.d.ts +1 -1
- package/tooltip/tooltip.directive.d.ts +1 -1
- package/tree-select/tree-node-placeholder.component.d.ts +1 -1
- package/tree-select/tree-select.component.d.ts +2 -2
- package/tree-select/tree-select.types.d.ts +1 -1
- package/types.d.ts +5 -2
- package/utils/operators.d.ts +1 -1
- package/esm2022/accordion/accordion-item/accordion-item.component.mjs +0 -73
- package/esm2022/accordion/accordion.component.mjs +0 -29
- package/esm2022/accordion/accordion.module.mjs +0 -39
- package/esm2022/alauda-ui.mjs +0 -2
- package/esm2022/anchor/anchor.component.mjs +0 -141
- package/esm2022/anchor/anchor.directive.mjs +0 -198
- package/esm2022/anchor/anchor.module.mjs +0 -35
- package/esm2022/autocomplete/autocomplete.component.mjs +0 -72
- package/esm2022/autocomplete/autocomplete.directive.mjs +0 -278
- package/esm2022/autocomplete/autocomplete.module.mjs +0 -53
- package/esm2022/autocomplete/suggestion/suggestion.component.mjs +0 -85
- package/esm2022/autocomplete/suggestion-group/suggestion-group.component.mjs +0 -25
- package/esm2022/back-top/back-top.component.mjs +0 -68
- package/esm2022/back-top/back-top.module.mjs +0 -19
- package/esm2022/breadcrumb/breadcrumb-item.component.mjs +0 -33
- package/esm2022/breadcrumb/breadcrumb.component.mjs +0 -56
- package/esm2022/breadcrumb/breadcrumb.module.mjs +0 -20
- package/esm2022/button/button.component.mjs +0 -124
- package/esm2022/button/button.module.mjs +0 -20
- package/esm2022/button/button.types.mjs +0 -13
- package/esm2022/card/card.component.mjs +0 -14
- package/esm2022/card/card.module.mjs +0 -40
- package/esm2022/card/helper-directives.mjs +0 -45
- package/esm2022/checkbox/checkbox-group/checkbox-group.component.mjs +0 -60
- package/esm2022/checkbox/checkbox.component.mjs +0 -116
- package/esm2022/checkbox/checkbox.module.mjs +0 -20
- package/esm2022/color-picker/color-picker.component.mjs +0 -28
- package/esm2022/color-picker/color-picker.module.mjs +0 -19
- package/esm2022/date-picker/calendar/constant.mjs +0 -31
- package/esm2022/date-picker/calendar/date-picker-panel/component.mjs +0 -137
- package/esm2022/date-picker/calendar/footer/component.mjs +0 -29
- package/esm2022/date-picker/calendar/header/component.mjs +0 -99
- package/esm2022/date-picker/calendar/panel/picker-panel.mjs +0 -158
- package/esm2022/date-picker/calendar/range-picker-panel/component.mjs +0 -210
- package/esm2022/date-picker/calendar/util.mjs +0 -152
- package/esm2022/date-picker/date-picker/date-picker.component.mjs +0 -115
- package/esm2022/date-picker/date-picker.module.mjs +0 -82
- package/esm2022/date-picker/range-picker/range-picker.component.mjs +0 -88
- package/esm2022/date-picker/trigger/trigger.component.mjs +0 -76
- package/esm2022/dialog/confirm-dialog/confirm-dialog-config.mjs +0 -13
- package/esm2022/dialog/confirm-dialog/confirm-dialog.component.mjs +0 -88
- package/esm2022/dialog/dialog-config.mjs +0 -14
- package/esm2022/dialog/dialog-content/dialog-close.directive.mjs +0 -42
- package/esm2022/dialog/dialog-content/dialog-content.component.mjs +0 -19
- package/esm2022/dialog/dialog-content/dialog-footer.component.mjs +0 -13
- package/esm2022/dialog/dialog-content/dialog-header.component.mjs +0 -42
- package/esm2022/dialog/dialog-ref.mjs +0 -52
- package/esm2022/dialog/dialog.component.mjs +0 -154
- package/esm2022/dialog/dialog.module.mjs +0 -65
- package/esm2022/dialog/dialog.service.mjs +0 -124
- package/esm2022/drawer/component/drawer.component.mjs +0 -248
- package/esm2022/drawer/component/helper-directives.mjs +0 -33
- package/esm2022/drawer/drawer.module.mjs +0 -36
- package/esm2022/drawer/drawer.service.mjs +0 -47
- package/esm2022/dropdown/dropdown-active.directive.mjs +0 -18
- package/esm2022/dropdown/dropdown-button/dropdown-button.component.mjs +0 -58
- package/esm2022/dropdown/dropdown.directive.mjs +0 -83
- package/esm2022/dropdown/dropdown.module.mjs +0 -65
- package/esm2022/dropdown/menu/menu-content.directive.mjs +0 -59
- package/esm2022/dropdown/menu/menu.component.mjs +0 -26
- package/esm2022/dropdown/menu-item/menu-item.component.mjs +0 -35
- package/esm2022/dropdown/submenu/submenu.component.mjs +0 -38
- package/esm2022/form/common-form.mjs +0 -88
- package/esm2022/form/form-item/form-item.component.mjs +0 -121
- package/esm2022/form/form.directive.mjs +0 -70
- package/esm2022/form/form.module.mjs +0 -48
- package/esm2022/form/helper-directives.mjs +0 -78
- package/esm2022/i18n/i18n.pipe.mjs +0 -21
- package/esm2022/i18n/i18n.service.mjs +0 -46
- package/esm2022/icon/icon-register.service.mjs +0 -75
- package/esm2022/icon/icon.component.mjs +0 -74
- package/esm2022/icon/icon.module.mjs +0 -21
- package/esm2022/inline-alert/inline-alert.component.mjs +0 -54
- package/esm2022/inline-alert/inline-alert.module.mjs +0 -20
- package/esm2022/input/autosize.directive.mjs +0 -56
- package/esm2022/input/helper-directives.mjs +0 -43
- package/esm2022/input/input-group/input-group.component.mjs +0 -46
- package/esm2022/input/input.component.mjs +0 -59
- package/esm2022/input/input.module.mjs +0 -85
- package/esm2022/input/number-input/number-input.component.mjs +0 -115
- package/esm2022/input/search/search.component.mjs +0 -87
- package/esm2022/input/tags-input/tags-input.component.mjs +0 -264
- package/esm2022/message/base-message.mjs +0 -99
- package/esm2022/message/message-wrapper.component.mjs +0 -15
- package/esm2022/message/message.component.mjs +0 -77
- package/esm2022/message/message.config.mjs +0 -20
- package/esm2022/message/message.module.mjs +0 -22
- package/esm2022/notification/notification-wrapper.component.mjs +0 -17
- package/esm2022/notification/notification.component.mjs +0 -106
- package/esm2022/notification/notification.module.mjs +0 -23
- package/esm2022/paginator/paginator-intl.mjs +0 -24
- package/esm2022/paginator/paginator.component.mjs +0 -124
- package/esm2022/paginator/paginator.module.mjs +0 -24
- package/esm2022/radio/base-radio.mjs +0 -72
- package/esm2022/radio/radio-button/radio-button.component.mjs +0 -41
- package/esm2022/radio/radio-group/radio-group.component.mjs +0 -70
- package/esm2022/radio/radio.component.mjs +0 -23
- package/esm2022/radio/radio.module.mjs +0 -21
- package/esm2022/scrolling/fixed-size-table-virtual-scroll-strategy.mjs +0 -80
- package/esm2022/scrolling/fixed-size-table-virtual-scroll.directive.mjs +0 -119
- package/esm2022/scrolling/fixed-size-virtual-scroll.directive.mjs +0 -27
- package/esm2022/scrolling/virtual-scroll-viewport.component.mjs +0 -26
- package/esm2022/select/base-select.mjs +0 -345
- package/esm2022/select/multi-select/multi-select.component.mjs +0 -318
- package/esm2022/select/option/option.component.mjs +0 -119
- package/esm2022/select/option-group/option-group.component.mjs +0 -25
- package/esm2022/select/select.component.mjs +0 -107
- package/esm2022/select/select.module.mjs +0 -78
- package/esm2022/select/validators.mjs +0 -78
- package/esm2022/shared/click-outside.directive.mjs +0 -29
- package/esm2022/sort/sort-errors.mjs +0 -13
- package/esm2022/sort/sort-header.component.mjs +0 -74
- package/esm2022/sort/sort.directive.mjs +0 -73
- package/esm2022/sort/sort.module.mjs +0 -19
- package/esm2022/status-bar/status-bar.component.mjs +0 -28
- package/esm2022/status-bar/status-bar.module.mjs +0 -19
- package/esm2022/steps/steps.component.mjs +0 -180
- package/esm2022/steps/steps.module.mjs +0 -19
- package/esm2022/switch/switch.component.mjs +0 -43
- package/esm2022/switch/switch.module.mjs +0 -18
- package/esm2022/table/table-cell-def.directive.mjs +0 -25
- package/esm2022/table/table-cell.component.mjs +0 -115
- package/esm2022/table/table-cell.directive.mjs +0 -29
- package/esm2022/table/table-column-def.directive.mjs +0 -31
- package/esm2022/table/table-header-cell-def.directive.mjs +0 -25
- package/esm2022/table/table-header-cell.directive.mjs +0 -25
- package/esm2022/table/table-header-row-def.directive.mjs +0 -33
- package/esm2022/table/table-header-row.component.mjs +0 -24
- package/esm2022/table/table-placeholder.directive.mjs +0 -33
- package/esm2022/table/table-row-def.directive.mjs +0 -34
- package/esm2022/table/table-row.component.mjs +0 -43
- package/esm2022/table/table-scroll.directive.mjs +0 -133
- package/esm2022/table/table.component.mjs +0 -79
- package/esm2022/table/table.module.mjs +0 -96
- package/esm2022/table-of-contents/table-of-contents.module.mjs +0 -20
- package/esm2022/table-of-contents/toc-container.directive.mjs +0 -111
- package/esm2022/table-of-contents/toc-content.directive.mjs +0 -39
- package/esm2022/table-of-contents/toc-link.directive.mjs +0 -48
- package/esm2022/tabs/tab-body.component.mjs +0 -151
- package/esm2022/tabs/tab-context.service.mjs +0 -30
- package/esm2022/tabs/tab-group.component.mjs +0 -256
- package/esm2022/tabs/tab-header-active-indicator.component.mjs +0 -46
- package/esm2022/tabs/tab-header.component.mjs +0 -276
- package/esm2022/tabs/tab.component.mjs +0 -77
- package/esm2022/tabs/tabs.module.mjs +0 -86
- package/esm2022/tabs/tabs.types.mjs +0 -10
- package/esm2022/tag/check-tag/check-tag.component.mjs +0 -31
- package/esm2022/tag/tag.component.mjs +0 -63
- package/esm2022/tag/tag.module.mjs +0 -20
- package/esm2022/theme/theme.module.mjs +0 -18
- package/esm2022/theme/theme.pipe.mjs +0 -64
- package/esm2022/theme/theme.service.mjs +0 -55
- package/esm2022/time-picker/component.mjs +0 -181
- package/esm2022/time-picker/panel/panel.component.mjs +0 -240
- package/esm2022/time-picker/time-picker.module.mjs +0 -56
- package/esm2022/tooltip/base-tooltip.mjs +0 -329
- package/esm2022/tooltip/tooltip-active.directive.mjs +0 -51
- package/esm2022/tooltip/tooltip-copy.directive.mjs +0 -87
- package/esm2022/tooltip/tooltip-intl.mjs +0 -21
- package/esm2022/tooltip/tooltip.component.mjs +0 -120
- package/esm2022/tooltip/tooltip.directive.mjs +0 -44
- package/esm2022/tooltip/tooltip.module.mjs +0 -32
- package/esm2022/tree-select/tree-select.component.mjs +0 -350
- package/esm2022/tree-select/tree-select.module.mjs +0 -34
- package/esm2022/types.mjs +0 -8
- package/esm2022/utils/bem.mjs +0 -44
- package/esm2022/utils/coercion.mjs +0 -13
- package/fesm2022/alauda-ui.mjs.map +0 -1
- /package/{esm2022 → esm2020}/accordion/index.mjs +0 -0
- /package/{esm2022 → esm2020}/anchor/index.mjs +0 -0
- /package/{esm2022 → esm2020}/anchor/types.mjs +0 -0
- /package/{esm2022 → esm2020}/anchor/utils.mjs +0 -0
- /package/{esm2022 → esm2020}/autocomplete/autocomplete.types.mjs +0 -0
- /package/{esm2022 → esm2020}/autocomplete/index.mjs +0 -0
- /package/{esm2022 → esm2020}/back-top/index.mjs +0 -0
- /package/{esm2022 → esm2020}/breadcrumb/index.mjs +0 -0
- /package/{esm2022 → esm2020}/button/index.mjs +0 -0
- /package/{esm2022 → esm2020}/card/index.mjs +0 -0
- /package/{esm2022 → esm2020}/checkbox/index.mjs +0 -0
- /package/{esm2022 → esm2020}/color-picker/index.mjs +0 -0
- /package/{esm2022 → esm2020}/core/animation/animation-consts.mjs +0 -0
- /package/{esm2022 → esm2020}/date-picker/date-picker.type.mjs +0 -0
- /package/{esm2022 → esm2020}/date-picker/index.mjs +0 -0
- /package/{esm2022 → esm2020}/dialog/dialog.types.mjs +0 -0
- /package/{esm2022 → esm2020}/dialog/index.mjs +0 -0
- /package/{esm2022 → esm2020}/dialog/utils/errors.mjs +0 -0
- /package/{esm2022 → esm2020}/dialog/utils/index.mjs +0 -0
- /package/{esm2022 → esm2020}/drawer/component/drawer-ref.mjs +0 -0
- /package/{esm2022 → esm2020}/drawer/index.mjs +0 -0
- /package/{esm2022 → esm2020}/dropdown/dropdown.types.mjs +0 -0
- /package/{esm2022 → esm2020}/dropdown/index.mjs +0 -0
- /package/{esm2022 → esm2020}/form/form.types.mjs +0 -0
- /package/{esm2022 → esm2020}/form/index.mjs +0 -0
- /package/{esm2022 → esm2020}/i18n/i18n.type.mjs +0 -0
- /package/{esm2022 → esm2020}/i18n/index.mjs +0 -0
- /package/{esm2022 → esm2020}/i18n/language/en.mjs +0 -0
- /package/{esm2022 → esm2020}/i18n/language/zh.mjs +0 -0
- /package/{esm2022 → esm2020}/icon/icons.mjs +0 -0
- /package/{esm2022 → esm2020}/icon/index.mjs +0 -0
- /package/{esm2022 → esm2020}/icon/utils.mjs +0 -0
- /package/{esm2022 → esm2020}/index.mjs +0 -0
- /package/{esm2022 → esm2020}/inline-alert/index.mjs +0 -0
- /package/{esm2022 → esm2020}/inline-alert/inline-alert.types.mjs +0 -0
- /package/{esm2022 → esm2020}/input/index.mjs +0 -0
- /package/{esm2022 → esm2020}/input/tags-input/with-max-row-count.mjs +0 -0
- /package/{esm2022 → esm2020}/input/utils/index.mjs +0 -0
- /package/{esm2022 → esm2020}/message/index.mjs +0 -0
- /package/{esm2022 → esm2020}/message/message-animations.mjs +0 -0
- /package/{esm2022 → esm2020}/notification/index.mjs +0 -0
- /package/{esm2022 → esm2020}/notification/notification.config.mjs +0 -0
- /package/{esm2022 → esm2020}/paginator/index.mjs +0 -0
- /package/{esm2022 → esm2020}/radio/index.mjs +0 -0
- /package/{esm2022 → esm2020}/radio/radio.types.mjs +0 -0
- /package/{esm2022 → esm2020}/scrolling/index.mjs +0 -0
- /package/{esm2022 → esm2020}/select/index.mjs +0 -0
- /package/{esm2022 → esm2020}/select/select.types.mjs +0 -0
- /package/{esm2022 → esm2020}/sort/index.mjs +0 -0
- /package/{esm2022 → esm2020}/sort/sort.types.mjs +0 -0
- /package/{esm2022 → esm2020}/status-bar/index.mjs +0 -0
- /package/{esm2022 → esm2020}/status-bar/status-bar.types.mjs +0 -0
- /package/{esm2022 → esm2020}/steps/index.mjs +0 -0
- /package/{esm2022 → esm2020}/steps/types.mjs +0 -0
- /package/{esm2022 → esm2020}/switch/index.mjs +0 -0
- /package/{esm2022 → esm2020}/table/index.mjs +0 -0
- /package/{esm2022 → esm2020}/table-of-contents/index.mjs +0 -0
- /package/{esm2022 → esm2020}/tabs/index.mjs +0 -0
- /package/{esm2022 → esm2020}/tag/index.mjs +0 -0
- /package/{esm2022 → esm2020}/tag/tag.types.mjs +0 -0
- /package/{esm2022 → esm2020}/theme/index.mjs +0 -0
- /package/{esm2022 → esm2020}/theme/theme.types.mjs +0 -0
- /package/{esm2022 → esm2020}/theme/utils.mjs +0 -0
- /package/{esm2022 → esm2020}/time-picker/constant.mjs +0 -0
- /package/{esm2022 → esm2020}/time-picker/index.mjs +0 -0
- /package/{esm2022 → esm2020}/time-picker/time-picker.type.mjs +0 -0
- /package/{esm2022 → esm2020}/tooltip/index.mjs +0 -0
- /package/{esm2022 → esm2020}/tooltip/tooltip.types.mjs +0 -0
- /package/{esm2022 → esm2020}/tooltip/utils/index.mjs +0 -0
- /package/{esm2022 → esm2020}/tree-select/index.mjs +0 -0
- /package/{esm2022 → esm2020}/tree-select/tree-select.types.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/animations.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/async.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/fn.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/index.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/observe-dom.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/operators.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/scroll-into-view.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/watch-content-exist.mjs +0 -0
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { ComponentSize } from '../types';
|
|
3
|
+
import { ButtonType } from './button.types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/cdk/a11y";
|
|
6
|
+
import * as i2 from "../icon/icon.component";
|
|
7
|
+
import * as i3 from "@angular/common";
|
|
8
|
+
const prefix = 'aui-button--';
|
|
9
|
+
export class ButtonComponent {
|
|
10
|
+
constructor(el, renderer, focusMonitor) {
|
|
11
|
+
this.el = el;
|
|
12
|
+
this.renderer = renderer;
|
|
13
|
+
this.focusMonitor = focusMonitor;
|
|
14
|
+
this._type = ButtonType.Default;
|
|
15
|
+
this._size = ComponentSize.Medium;
|
|
16
|
+
this._plain = false;
|
|
17
|
+
this._loading = false;
|
|
18
|
+
this._round = false;
|
|
19
|
+
this._square = false;
|
|
20
|
+
this.renderer.addClass(this.el.nativeElement, 'aui-button');
|
|
21
|
+
this.renderer.addClass(this.el.nativeElement, prefix + this.type);
|
|
22
|
+
this.renderer.addClass(this.el.nativeElement, prefix + this.size);
|
|
23
|
+
this.focusMonitor.monitor(this.el.nativeElement, false);
|
|
24
|
+
}
|
|
25
|
+
get type() {
|
|
26
|
+
return this._type;
|
|
27
|
+
}
|
|
28
|
+
set type(val) {
|
|
29
|
+
if (!val || val === this._type) {
|
|
30
|
+
return;
|
|
31
|
+
}
|
|
32
|
+
this.renderer.removeClass(this.el.nativeElement, prefix + this._type);
|
|
33
|
+
this.renderer.addClass(this.el.nativeElement, prefix + val);
|
|
34
|
+
this._type = val;
|
|
35
|
+
}
|
|
36
|
+
get size() {
|
|
37
|
+
return this._size;
|
|
38
|
+
}
|
|
39
|
+
set size(val) {
|
|
40
|
+
// when change from other size to default
|
|
41
|
+
if (!val) {
|
|
42
|
+
val = ComponentSize.Medium;
|
|
43
|
+
}
|
|
44
|
+
if (this._size === val) {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
this.renderer.removeClass(this.el.nativeElement, prefix + this._size);
|
|
48
|
+
this.renderer.addClass(this.el.nativeElement, prefix + val);
|
|
49
|
+
this._size = val;
|
|
50
|
+
}
|
|
51
|
+
get plain() {
|
|
52
|
+
return this._plain;
|
|
53
|
+
}
|
|
54
|
+
set plain(val) {
|
|
55
|
+
if (this._plain === val) {
|
|
56
|
+
return;
|
|
57
|
+
}
|
|
58
|
+
this.switchAssertClass('isPlain', val);
|
|
59
|
+
this._plain = val;
|
|
60
|
+
}
|
|
61
|
+
get loading() {
|
|
62
|
+
return this._loading;
|
|
63
|
+
}
|
|
64
|
+
set loading(val) {
|
|
65
|
+
if (this._loading === val) {
|
|
66
|
+
return;
|
|
67
|
+
}
|
|
68
|
+
this.switchAssertClass('isLoading', val);
|
|
69
|
+
this._loading = val;
|
|
70
|
+
}
|
|
71
|
+
get round() {
|
|
72
|
+
return this._round;
|
|
73
|
+
}
|
|
74
|
+
set round(val) {
|
|
75
|
+
if (this._round === val) {
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
this.switchAssertClass('isRound', val);
|
|
79
|
+
this._round = val;
|
|
80
|
+
}
|
|
81
|
+
get square() {
|
|
82
|
+
return this._square;
|
|
83
|
+
}
|
|
84
|
+
set square(val) {
|
|
85
|
+
if (this._square === val) {
|
|
86
|
+
return;
|
|
87
|
+
}
|
|
88
|
+
this.switchAssertClass('isSquare', val);
|
|
89
|
+
this._square = val;
|
|
90
|
+
}
|
|
91
|
+
ngOnDestroy() {
|
|
92
|
+
this.focusMonitor.stopMonitoring(this.el.nativeElement);
|
|
93
|
+
}
|
|
94
|
+
switchAssertClass(className, val) {
|
|
95
|
+
if (val) {
|
|
96
|
+
this.renderer.addClass(this.el.nativeElement, className);
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
this.renderer.removeClass(this.el.nativeElement, className);
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
ButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ButtonComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.FocusMonitor }], target: i0.ɵɵFactoryTarget.Component });
|
|
104
|
+
ButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", type: ButtonComponent, selector: "button[aui-button]", inputs: { type: ["aui-button", "type"], size: "size", plain: "plain", loading: "loading", round: "round", square: "square" }, ngImport: i0, template: "<span class=\"aui-button__content\"><ng-content></ng-content></span>\n<aui-icon\n *ngIf=\"loading\"\n class=\"aui-button__spinner\"\n icon=\"spinner\"\n></aui-icon>\n", styles: [".aui-button{margin:0;padding:0;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;position:relative;border-width:1px;border-radius:var(--aui-border-radius-m);border-style:solid;background:none;outline:none;-webkit-user-select:none;user-select:none;cursor:pointer;font-weight:var(--aui-font-weight-normal);transition:all .3s ease}.aui-button::-moz-focus-inner{border:none}.aui-button[disabled]{cursor:not-allowed}.aui-button__content{flex-shrink:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aui-button aui-icon{display:inline-flex;align-items:center}.aui-button--large{height:var(--aui-inline-height-l);font-size:var(--aui-font-size-l);line-height:var(--aui-line-height-l)}.aui-button--large aui-icon{height:var(--aui-line-height-l);font-size:var(--aui-icon-size-l)}.aui-button--large .aui-button__content{padding:0 var(--aui-inline-padding-l)}.aui-button--large.isRound{border-radius:calc(var(--aui-inline-height-l) / 2)}.aui-button--large.isSquare{width:var(--aui-inline-height-l)}.aui-button--large.isSquare .aui-button__content{padding:0}.aui-button--medium{height:var(--aui-inline-height-m);font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m)}.aui-button--medium aui-icon{height:var(--aui-line-height-m);font-size:var(--aui-icon-size-m)}.aui-button--medium .aui-button__content{padding:0 var(--aui-inline-padding-m)}.aui-button--medium.isRound{border-radius:calc(var(--aui-inline-height-m) / 2)}.aui-button--medium.isSquare{width:var(--aui-inline-height-m)}.aui-button--medium.isSquare .aui-button__content{padding:0}.aui-button--small{height:var(--aui-inline-height-s);font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m)}.aui-button--small aui-icon{height:var(--aui-line-height-m);font-size:var(--aui-icon-size-m)}.aui-button--small .aui-button__content{padding:0 var(--aui-inline-padding-s)}.aui-button--small.isRound{border-radius:calc(var(--aui-inline-height-s) / 2)}.aui-button--small.isSquare{width:var(--aui-inline-height-s)}.aui-button--small.isSquare .aui-button__content{padding:0}.aui-button--mini{height:var(--aui-inline-height-xs);font-size:var(--aui-font-size-s);line-height:var(--aui-line-height-s)}.aui-button--mini aui-icon{height:var(--aui-line-height-s);font-size:var(--aui-icon-size-s)}.aui-button--mini .aui-button__content{padding:0 var(--aui-inline-padding-xs)}.aui-button--mini.isRound{border-radius:calc(var(--aui-inline-height-xs) / 2)}.aui-button--mini.isSquare{width:var(--aui-inline-height-xs)}.aui-button--mini.isSquare .aui-button__content{padding:0}.aui-button--text{color:rgb(var(--aui-color-primary));border:none;background-color:transparent}.aui-button--text .aui-button__content{padding:0 4px}.aui-button--text.aui-button--large:not(.isSquare){height:var(--aui-line-height-l);line-height:var(--aui-line-height-l);font-size:var(--aui-font-size-l)}.aui-button--text.aui-button--medium:not(.isSquare){height:var(--aui-line-height-m);line-height:var(--aui-line-height-m);font-size:var(--aui-font-size-m)}.aui-button--text.aui-button--small:not(.isSquare){height:var(--aui-line-height-m);line-height:var(--aui-line-height-m);font-size:var(--aui-font-size-m)}.aui-button--text.aui-button--mini:not(.isSquare){height:var(--aui-line-height-s);line-height:var(--aui-line-height-s);font-size:var(--aui-font-size-s)}.aui-button--text.isPlain{color:rgb(var(--aui-color-main-text))}.aui-button--text.isPlain aui-icon{color:rgb(var(--aui-color-secondary-text))}.aui-button--text.isPlain[disabled]{color:rgb(var(--aui-color-disabled-text))}.aui-button--text:hover{color:rgb(var(--aui-color-p-1));background-color:rgb(var(--aui-color-p-6))}.aui-button--text:active,.aui-button--text.isActive{color:rgb(var(--aui-color-p-0));background-color:rgb(var(--aui-color-p-5))}.aui-button--text[disabled]{color:rgb(var(--aui-color-p-4));background-color:transparent}:root .aui-button--text.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}html[aui-theme-mode=light] .aui-button--text.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--text.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}}html[aui-theme-mode=dark] .aui-button--text.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}.aui-button--inline{color:rgb(var(--aui-color-primary));border:none;background-color:none}.aui-button--inline .aui-button__content{padding:0}.aui-button--inline.aui-button--large:not(.isSquare){height:var(--aui-line-height-l);line-height:var(--aui-line-height-l);font-size:var(--aui-font-size-l)}.aui-button--inline.aui-button--medium:not(.isSquare){height:var(--aui-line-height-m);line-height:var(--aui-line-height-m);font-size:var(--aui-font-size-m)}.aui-button--inline.aui-button--small:not(.isSquare){height:var(--aui-line-height-m);line-height:var(--aui-line-height-m);font-size:var(--aui-font-size-m)}.aui-button--inline.aui-button--mini:not(.isSquare){height:var(--aui-line-height-s);line-height:var(--aui-line-height-s);font-size:var(--aui-font-size-s)}.aui-button--inline.isPlain{color:rgb(var(--aui-color-main-text))}.aui-button--inline.isPlain aui-icon{color:rgb(var(--aui-color-secondary-text))}.aui-button--inline.isPlain[disabled]{color:rgb(var(--aui-color-n-6))}.aui-button--inline:hover{color:rgb(var(--aui-color-p-1))}.aui-button--inline:active,.aui-button--inline.isActive{color:rgb(var(--aui-color-p-0))}.aui-button--inline[disabled]{color:rgb(var(--aui-color-p-4))}:root .aui-button--inline.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}html[aui-theme-mode=light] .aui-button--inline.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--inline.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}}html[aui-theme-mode=dark] .aui-button--inline.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}.aui-button--default{color:rgb(var(--aui-color-main-text));border-color:rgb(var(--aui-color-n-7));background-color:rgb(var(--aui-color-button-bg))}.aui-button--default aui-icon{color:rgb(var(--aui-color-secondary-text))}.aui-button--default:hover{color:rgb(var(--aui-color-primary));border-color:rgb(var(--aui-color-primary));background-color:rgb(var(--aui-color-p-6))}.aui-button--default:active,.aui-button--default.isActive{color:rgb(var(--aui-color-p-0));border-color:rgb(var(--aui-color-p-0));background-color:rgb(var(--aui-color-p-5))}.aui-button--default[disabled]{color:rgb(var(--aui-color-disabled-text));border-color:rgb(var(--aui-color-n-7));background-color:rgb(var(--aui-color-n-8))}:root .aui-button--default.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}html[aui-theme-mode=light] .aui-button--default.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--default.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}}html[aui-theme-mode=dark] .aui-button--default.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}.aui-button--primary{color:#fff;border-color:rgb(var(--aui-color-primary));background-color:rgb(var(--aui-color-primary))}.aui-button--primary:hover{border-color:rgb(var(--aui-color-p-1));background-color:rgb(var(--aui-color-p-1))}.aui-button--primary:active,.aui-button--primary.isActive{border-color:rgb(var(--aui-color-p-0));background-color:rgb(var(--aui-color-p-0))}.aui-button--primary[disabled]:not(.isPlain){border-color:rgb(var(--aui-color-p-4));background-color:rgb(var(--aui-color-p-4))}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--primary[disabled]:not(.isPlain){color:rgb(var(--aui-color-n-4))}}html[aui-theme-mode=dark] .aui-button--primary[disabled]:not(.isPlain){color:rgb(var(--aui-color-n-4))}:root .aui-button--primary.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}html[aui-theme-mode=light] .aui-button--primary.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--primary.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}}html[aui-theme-mode=dark] .aui-button--primary.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}.aui-button--primary.isPlain{color:rgb(var(--aui-color-primary));border-color:rgb(var(--aui-color-primary));background-color:rgb(var(--aui-color-p-6))}.aui-button--primary.isPlain:hover{color:rgb(var(--aui-color-p-1));border-color:rgb(var(--aui-color-p-1));background-color:rgb(var(--aui-color-p-7))}.aui-button--primary.isPlain:active,.aui-button--primary.isPlain.isActive{color:rgb(var(--aui-color-p-0));border-color:rgb(var(--aui-color-p-0));background-color:rgb(var(--aui-color-p-5))}.aui-button--primary.isPlain[disabled]{border-color:rgb(var(--aui-color-p-4));background-color:rgb(var(--aui-color-p-7))}:root .aui-button--primary.isPlain[disabled]{color:rgb(var(--aui-color-p-4))}html[aui-theme-mode=light] .aui-button--primary.isPlain[disabled]{color:rgb(var(--aui-color-p-4))}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--primary.isPlain[disabled]{color:rgb(var(--aui-color-p-0))}}html[aui-theme-mode=dark] .aui-button--primary.isPlain[disabled]{color:rgb(var(--aui-color-p-0))}:root .aui-button--primary.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}html[aui-theme-mode=light] .aui-button--primary.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--primary.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}}html[aui-theme-mode=dark] .aui-button--primary.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}.aui-button--success{color:#fff;border-color:rgb(var(--aui-color-green));background-color:rgb(var(--aui-color-green))}.aui-button--success:hover{border-color:rgb(var(--aui-color-g-1));background-color:rgb(var(--aui-color-g-1))}.aui-button--success:active,.aui-button--success.isActive{border-color:rgb(var(--aui-color-g-0));background-color:rgb(var(--aui-color-g-0))}.aui-button--success[disabled]:not(.isPlain){border-color:rgb(var(--aui-color-g-4));background-color:rgb(var(--aui-color-g-4))}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--success[disabled]:not(.isPlain){color:rgb(var(--aui-color-n-4))}}html[aui-theme-mode=dark] .aui-button--success[disabled]:not(.isPlain){color:rgb(var(--aui-color-n-4))}:root .aui-button--success.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-green),.16)}html[aui-theme-mode=light] .aui-button--success.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-green),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--success.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-green),.3)}}html[aui-theme-mode=dark] .aui-button--success.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-green),.3)}.aui-button--success.isPlain{color:rgb(var(--aui-color-green));border-color:rgb(var(--aui-color-green));background-color:rgb(var(--aui-color-g-6))}.aui-button--success.isPlain:hover{color:rgb(var(--aui-color-g-1));border-color:rgb(var(--aui-color-g-1));background-color:rgb(var(--aui-color-g-7))}.aui-button--success.isPlain:active,.aui-button--success.isPlain.isActive{color:rgb(var(--aui-color-g-0));border-color:rgb(var(--aui-color-g-0));background-color:rgb(var(--aui-color-g-5))}.aui-button--success.isPlain[disabled]{border-color:rgb(var(--aui-color-g-4));background-color:rgb(var(--aui-color-g-7))}:root .aui-button--success.isPlain[disabled]{color:rgb(var(--aui-color-g-4))}html[aui-theme-mode=light] .aui-button--success.isPlain[disabled]{color:rgb(var(--aui-color-g-4))}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--success.isPlain[disabled]{color:rgb(var(--aui-color-g-0))}}html[aui-theme-mode=dark] .aui-button--success.isPlain[disabled]{color:rgb(var(--aui-color-g-0))}:root .aui-button--success.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}html[aui-theme-mode=light] .aui-button--success.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--success.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}}html[aui-theme-mode=dark] .aui-button--success.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}.aui-button--warning{color:#fff;border-color:rgb(var(--aui-color-yellow));background-color:rgb(var(--aui-color-yellow))}.aui-button--warning:hover{border-color:rgb(var(--aui-color-y-1));background-color:rgb(var(--aui-color-y-1))}.aui-button--warning:active,.aui-button--warning.isActive{border-color:rgb(var(--aui-color-y-0));background-color:rgb(var(--aui-color-y-0))}.aui-button--warning[disabled]:not(.isPlain){border-color:rgb(var(--aui-color-y-4));background-color:rgb(var(--aui-color-y-4))}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--warning[disabled]:not(.isPlain){color:rgb(var(--aui-color-n-4))}}html[aui-theme-mode=dark] .aui-button--warning[disabled]:not(.isPlain){color:rgb(var(--aui-color-n-4))}:root .aui-button--warning.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-yellow),.16)}html[aui-theme-mode=light] .aui-button--warning.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-yellow),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--warning.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-yellow),.3)}}html[aui-theme-mode=dark] .aui-button--warning.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-yellow),.3)}.aui-button--warning.isPlain{color:rgb(var(--aui-color-yellow));border-color:rgb(var(--aui-color-yellow));background-color:rgb(var(--aui-color-y-6))}.aui-button--warning.isPlain:hover{color:rgb(var(--aui-color-y-1));border-color:rgb(var(--aui-color-y-1));background-color:rgb(var(--aui-color-y-7))}.aui-button--warning.isPlain:active,.aui-button--warning.isPlain.isActive{color:rgb(var(--aui-color-y-0));border-color:rgb(var(--aui-color-y-0));background-color:rgb(var(--aui-color-y-5))}.aui-button--warning.isPlain[disabled]{border-color:rgb(var(--aui-color-y-4));background-color:rgb(var(--aui-color-y-7))}:root .aui-button--warning.isPlain[disabled]{color:rgb(var(--aui-color-y-4))}html[aui-theme-mode=light] .aui-button--warning.isPlain[disabled]{color:rgb(var(--aui-color-y-4))}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--warning.isPlain[disabled]{color:rgb(var(--aui-color-y-0))}}html[aui-theme-mode=dark] .aui-button--warning.isPlain[disabled]{color:rgb(var(--aui-color-y-0))}:root .aui-button--warning.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}html[aui-theme-mode=light] .aui-button--warning.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--warning.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}}html[aui-theme-mode=dark] .aui-button--warning.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}.aui-button--danger{color:#fff;border-color:rgb(var(--aui-color-red));background-color:rgb(var(--aui-color-red))}.aui-button--danger:hover{border-color:rgb(var(--aui-color-r-1));background-color:rgb(var(--aui-color-r-1))}.aui-button--danger:active,.aui-button--danger.isActive{border-color:rgb(var(--aui-color-r-0));background-color:rgb(var(--aui-color-r-0))}.aui-button--danger[disabled]:not(.isPlain){border-color:rgb(var(--aui-color-r-4));background-color:rgb(var(--aui-color-r-4))}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--danger[disabled]:not(.isPlain){color:rgb(var(--aui-color-n-4))}}html[aui-theme-mode=dark] .aui-button--danger[disabled]:not(.isPlain){color:rgb(var(--aui-color-n-4))}:root .aui-button--danger.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-red),.16)}html[aui-theme-mode=light] .aui-button--danger.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-red),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--danger.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-red),.3)}}html[aui-theme-mode=dark] .aui-button--danger.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-red),.3)}.aui-button--danger.isPlain{color:rgb(var(--aui-color-red));border-color:rgb(var(--aui-color-red));background-color:rgb(var(--aui-color-r-6))}.aui-button--danger.isPlain:hover{color:rgb(var(--aui-color-r-1));border-color:rgb(var(--aui-color-r-1));background-color:rgb(var(--aui-color-r-7))}.aui-button--danger.isPlain:active,.aui-button--danger.isPlain.isActive{color:rgb(var(--aui-color-r-0));border-color:rgb(var(--aui-color-r-0));background-color:rgb(var(--aui-color-r-5))}.aui-button--danger.isPlain[disabled]{border-color:rgb(var(--aui-color-r-4));background-color:rgb(var(--aui-color-r-7))}:root .aui-button--danger.isPlain[disabled]{color:rgb(var(--aui-color-r-4))}html[aui-theme-mode=light] .aui-button--danger.isPlain[disabled]{color:rgb(var(--aui-color-r-4))}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--danger.isPlain[disabled]{color:rgb(var(--aui-color-r-0))}}html[aui-theme-mode=dark] .aui-button--danger.isPlain[disabled]{color:rgb(var(--aui-color-r-0))}:root .aui-button--danger.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}html[aui-theme-mode=light] .aui-button--danger.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--danger.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}}html[aui-theme-mode=dark] .aui-button--danger.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}.aui-button__spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.aui-button.isLoading .aui-button__content{opacity:0}.aui-button[disabled] aui-icon,.aui-button:hover aui-icon,.aui-button:active aui-icon,.aui-button.isActive aui-icon{color:inherit}.aui-button+.aui-button,aui-dropdown-button+aui-dropdown-button>.aui-dropdown-button,aui-dropdown-button+.aui-button,.aui-button+aui-dropdown-button>.aui-dropdown-button{margin-left:var(--aui-spacing-m)}.aui-button--text+.aui-button--text{margin-left:var(--aui-spacing-s)}\n"], components: [{ type: i2.IconComponent, selector: "aui-icon", inputs: ["icon", "light", "dark", "link", "margin", "size", "color", "background", "backgroundColor"] }], directives: [{ type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
105
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ButtonComponent, decorators: [{
|
|
106
|
+
type: Component,
|
|
107
|
+
args: [{ selector: 'button[aui-button]', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, template: "<span class=\"aui-button__content\"><ng-content></ng-content></span>\n<aui-icon\n *ngIf=\"loading\"\n class=\"aui-button__spinner\"\n icon=\"spinner\"\n></aui-icon>\n", styles: [".aui-button{margin:0;padding:0;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;position:relative;border-width:1px;border-radius:var(--aui-border-radius-m);border-style:solid;background:none;outline:none;-webkit-user-select:none;user-select:none;cursor:pointer;font-weight:var(--aui-font-weight-normal);transition:all .3s ease}.aui-button::-moz-focus-inner{border:none}.aui-button[disabled]{cursor:not-allowed}.aui-button__content{flex-shrink:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.aui-button aui-icon{display:inline-flex;align-items:center}.aui-button--large{height:var(--aui-inline-height-l);font-size:var(--aui-font-size-l);line-height:var(--aui-line-height-l)}.aui-button--large aui-icon{height:var(--aui-line-height-l);font-size:var(--aui-icon-size-l)}.aui-button--large .aui-button__content{padding:0 var(--aui-inline-padding-l)}.aui-button--large.isRound{border-radius:calc(var(--aui-inline-height-l) / 2)}.aui-button--large.isSquare{width:var(--aui-inline-height-l)}.aui-button--large.isSquare .aui-button__content{padding:0}.aui-button--medium{height:var(--aui-inline-height-m);font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m)}.aui-button--medium aui-icon{height:var(--aui-line-height-m);font-size:var(--aui-icon-size-m)}.aui-button--medium .aui-button__content{padding:0 var(--aui-inline-padding-m)}.aui-button--medium.isRound{border-radius:calc(var(--aui-inline-height-m) / 2)}.aui-button--medium.isSquare{width:var(--aui-inline-height-m)}.aui-button--medium.isSquare .aui-button__content{padding:0}.aui-button--small{height:var(--aui-inline-height-s);font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m)}.aui-button--small aui-icon{height:var(--aui-line-height-m);font-size:var(--aui-icon-size-m)}.aui-button--small .aui-button__content{padding:0 var(--aui-inline-padding-s)}.aui-button--small.isRound{border-radius:calc(var(--aui-inline-height-s) / 2)}.aui-button--small.isSquare{width:var(--aui-inline-height-s)}.aui-button--small.isSquare .aui-button__content{padding:0}.aui-button--mini{height:var(--aui-inline-height-xs);font-size:var(--aui-font-size-s);line-height:var(--aui-line-height-s)}.aui-button--mini aui-icon{height:var(--aui-line-height-s);font-size:var(--aui-icon-size-s)}.aui-button--mini .aui-button__content{padding:0 var(--aui-inline-padding-xs)}.aui-button--mini.isRound{border-radius:calc(var(--aui-inline-height-xs) / 2)}.aui-button--mini.isSquare{width:var(--aui-inline-height-xs)}.aui-button--mini.isSquare .aui-button__content{padding:0}.aui-button--text{color:rgb(var(--aui-color-primary));border:none;background-color:transparent}.aui-button--text .aui-button__content{padding:0 4px}.aui-button--text.aui-button--large:not(.isSquare){height:var(--aui-line-height-l);line-height:var(--aui-line-height-l);font-size:var(--aui-font-size-l)}.aui-button--text.aui-button--medium:not(.isSquare){height:var(--aui-line-height-m);line-height:var(--aui-line-height-m);font-size:var(--aui-font-size-m)}.aui-button--text.aui-button--small:not(.isSquare){height:var(--aui-line-height-m);line-height:var(--aui-line-height-m);font-size:var(--aui-font-size-m)}.aui-button--text.aui-button--mini:not(.isSquare){height:var(--aui-line-height-s);line-height:var(--aui-line-height-s);font-size:var(--aui-font-size-s)}.aui-button--text.isPlain{color:rgb(var(--aui-color-main-text))}.aui-button--text.isPlain aui-icon{color:rgb(var(--aui-color-secondary-text))}.aui-button--text.isPlain[disabled]{color:rgb(var(--aui-color-disabled-text))}.aui-button--text:hover{color:rgb(var(--aui-color-p-1));background-color:rgb(var(--aui-color-p-6))}.aui-button--text:active,.aui-button--text.isActive{color:rgb(var(--aui-color-p-0));background-color:rgb(var(--aui-color-p-5))}.aui-button--text[disabled]{color:rgb(var(--aui-color-p-4));background-color:transparent}:root .aui-button--text.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}html[aui-theme-mode=light] .aui-button--text.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--text.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}}html[aui-theme-mode=dark] .aui-button--text.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}.aui-button--inline{color:rgb(var(--aui-color-primary));border:none;background-color:none}.aui-button--inline .aui-button__content{padding:0}.aui-button--inline.aui-button--large:not(.isSquare){height:var(--aui-line-height-l);line-height:var(--aui-line-height-l);font-size:var(--aui-font-size-l)}.aui-button--inline.aui-button--medium:not(.isSquare){height:var(--aui-line-height-m);line-height:var(--aui-line-height-m);font-size:var(--aui-font-size-m)}.aui-button--inline.aui-button--small:not(.isSquare){height:var(--aui-line-height-m);line-height:var(--aui-line-height-m);font-size:var(--aui-font-size-m)}.aui-button--inline.aui-button--mini:not(.isSquare){height:var(--aui-line-height-s);line-height:var(--aui-line-height-s);font-size:var(--aui-font-size-s)}.aui-button--inline.isPlain{color:rgb(var(--aui-color-main-text))}.aui-button--inline.isPlain aui-icon{color:rgb(var(--aui-color-secondary-text))}.aui-button--inline.isPlain[disabled]{color:rgb(var(--aui-color-n-6))}.aui-button--inline:hover{color:rgb(var(--aui-color-p-1))}.aui-button--inline:active,.aui-button--inline.isActive{color:rgb(var(--aui-color-p-0))}.aui-button--inline[disabled]{color:rgb(var(--aui-color-p-4))}:root .aui-button--inline.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}html[aui-theme-mode=light] .aui-button--inline.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--inline.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}}html[aui-theme-mode=dark] .aui-button--inline.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}.aui-button--default{color:rgb(var(--aui-color-main-text));border-color:rgb(var(--aui-color-n-7));background-color:rgb(var(--aui-color-button-bg))}.aui-button--default aui-icon{color:rgb(var(--aui-color-secondary-text))}.aui-button--default:hover{color:rgb(var(--aui-color-primary));border-color:rgb(var(--aui-color-primary));background-color:rgb(var(--aui-color-p-6))}.aui-button--default:active,.aui-button--default.isActive{color:rgb(var(--aui-color-p-0));border-color:rgb(var(--aui-color-p-0));background-color:rgb(var(--aui-color-p-5))}.aui-button--default[disabled]{color:rgb(var(--aui-color-disabled-text));border-color:rgb(var(--aui-color-n-7));background-color:rgb(var(--aui-color-n-8))}:root .aui-button--default.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}html[aui-theme-mode=light] .aui-button--default.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--default.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}}html[aui-theme-mode=dark] .aui-button--default.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}.aui-button--primary{color:#fff;border-color:rgb(var(--aui-color-primary));background-color:rgb(var(--aui-color-primary))}.aui-button--primary:hover{border-color:rgb(var(--aui-color-p-1));background-color:rgb(var(--aui-color-p-1))}.aui-button--primary:active,.aui-button--primary.isActive{border-color:rgb(var(--aui-color-p-0));background-color:rgb(var(--aui-color-p-0))}.aui-button--primary[disabled]:not(.isPlain){border-color:rgb(var(--aui-color-p-4));background-color:rgb(var(--aui-color-p-4))}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--primary[disabled]:not(.isPlain){color:rgb(var(--aui-color-n-4))}}html[aui-theme-mode=dark] .aui-button--primary[disabled]:not(.isPlain){color:rgb(var(--aui-color-n-4))}:root .aui-button--primary.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}html[aui-theme-mode=light] .aui-button--primary.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--primary.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}}html[aui-theme-mode=dark] .aui-button--primary.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}.aui-button--primary.isPlain{color:rgb(var(--aui-color-primary));border-color:rgb(var(--aui-color-primary));background-color:rgb(var(--aui-color-p-6))}.aui-button--primary.isPlain:hover{color:rgb(var(--aui-color-p-1));border-color:rgb(var(--aui-color-p-1));background-color:rgb(var(--aui-color-p-7))}.aui-button--primary.isPlain:active,.aui-button--primary.isPlain.isActive{color:rgb(var(--aui-color-p-0));border-color:rgb(var(--aui-color-p-0));background-color:rgb(var(--aui-color-p-5))}.aui-button--primary.isPlain[disabled]{border-color:rgb(var(--aui-color-p-4));background-color:rgb(var(--aui-color-p-7))}:root .aui-button--primary.isPlain[disabled]{color:rgb(var(--aui-color-p-4))}html[aui-theme-mode=light] .aui-button--primary.isPlain[disabled]{color:rgb(var(--aui-color-p-4))}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--primary.isPlain[disabled]{color:rgb(var(--aui-color-p-0))}}html[aui-theme-mode=dark] .aui-button--primary.isPlain[disabled]{color:rgb(var(--aui-color-p-0))}:root .aui-button--primary.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}html[aui-theme-mode=light] .aui-button--primary.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--primary.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}}html[aui-theme-mode=dark] .aui-button--primary.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}.aui-button--success{color:#fff;border-color:rgb(var(--aui-color-green));background-color:rgb(var(--aui-color-green))}.aui-button--success:hover{border-color:rgb(var(--aui-color-g-1));background-color:rgb(var(--aui-color-g-1))}.aui-button--success:active,.aui-button--success.isActive{border-color:rgb(var(--aui-color-g-0));background-color:rgb(var(--aui-color-g-0))}.aui-button--success[disabled]:not(.isPlain){border-color:rgb(var(--aui-color-g-4));background-color:rgb(var(--aui-color-g-4))}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--success[disabled]:not(.isPlain){color:rgb(var(--aui-color-n-4))}}html[aui-theme-mode=dark] .aui-button--success[disabled]:not(.isPlain){color:rgb(var(--aui-color-n-4))}:root .aui-button--success.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-green),.16)}html[aui-theme-mode=light] .aui-button--success.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-green),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--success.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-green),.3)}}html[aui-theme-mode=dark] .aui-button--success.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-green),.3)}.aui-button--success.isPlain{color:rgb(var(--aui-color-green));border-color:rgb(var(--aui-color-green));background-color:rgb(var(--aui-color-g-6))}.aui-button--success.isPlain:hover{color:rgb(var(--aui-color-g-1));border-color:rgb(var(--aui-color-g-1));background-color:rgb(var(--aui-color-g-7))}.aui-button--success.isPlain:active,.aui-button--success.isPlain.isActive{color:rgb(var(--aui-color-g-0));border-color:rgb(var(--aui-color-g-0));background-color:rgb(var(--aui-color-g-5))}.aui-button--success.isPlain[disabled]{border-color:rgb(var(--aui-color-g-4));background-color:rgb(var(--aui-color-g-7))}:root .aui-button--success.isPlain[disabled]{color:rgb(var(--aui-color-g-4))}html[aui-theme-mode=light] .aui-button--success.isPlain[disabled]{color:rgb(var(--aui-color-g-4))}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--success.isPlain[disabled]{color:rgb(var(--aui-color-g-0))}}html[aui-theme-mode=dark] .aui-button--success.isPlain[disabled]{color:rgb(var(--aui-color-g-0))}:root .aui-button--success.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}html[aui-theme-mode=light] .aui-button--success.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--success.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}}html[aui-theme-mode=dark] .aui-button--success.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}.aui-button--warning{color:#fff;border-color:rgb(var(--aui-color-yellow));background-color:rgb(var(--aui-color-yellow))}.aui-button--warning:hover{border-color:rgb(var(--aui-color-y-1));background-color:rgb(var(--aui-color-y-1))}.aui-button--warning:active,.aui-button--warning.isActive{border-color:rgb(var(--aui-color-y-0));background-color:rgb(var(--aui-color-y-0))}.aui-button--warning[disabled]:not(.isPlain){border-color:rgb(var(--aui-color-y-4));background-color:rgb(var(--aui-color-y-4))}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--warning[disabled]:not(.isPlain){color:rgb(var(--aui-color-n-4))}}html[aui-theme-mode=dark] .aui-button--warning[disabled]:not(.isPlain){color:rgb(var(--aui-color-n-4))}:root .aui-button--warning.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-yellow),.16)}html[aui-theme-mode=light] .aui-button--warning.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-yellow),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--warning.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-yellow),.3)}}html[aui-theme-mode=dark] .aui-button--warning.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-yellow),.3)}.aui-button--warning.isPlain{color:rgb(var(--aui-color-yellow));border-color:rgb(var(--aui-color-yellow));background-color:rgb(var(--aui-color-y-6))}.aui-button--warning.isPlain:hover{color:rgb(var(--aui-color-y-1));border-color:rgb(var(--aui-color-y-1));background-color:rgb(var(--aui-color-y-7))}.aui-button--warning.isPlain:active,.aui-button--warning.isPlain.isActive{color:rgb(var(--aui-color-y-0));border-color:rgb(var(--aui-color-y-0));background-color:rgb(var(--aui-color-y-5))}.aui-button--warning.isPlain[disabled]{border-color:rgb(var(--aui-color-y-4));background-color:rgb(var(--aui-color-y-7))}:root .aui-button--warning.isPlain[disabled]{color:rgb(var(--aui-color-y-4))}html[aui-theme-mode=light] .aui-button--warning.isPlain[disabled]{color:rgb(var(--aui-color-y-4))}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--warning.isPlain[disabled]{color:rgb(var(--aui-color-y-0))}}html[aui-theme-mode=dark] .aui-button--warning.isPlain[disabled]{color:rgb(var(--aui-color-y-0))}:root .aui-button--warning.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}html[aui-theme-mode=light] .aui-button--warning.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--warning.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}}html[aui-theme-mode=dark] .aui-button--warning.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}.aui-button--danger{color:#fff;border-color:rgb(var(--aui-color-red));background-color:rgb(var(--aui-color-red))}.aui-button--danger:hover{border-color:rgb(var(--aui-color-r-1));background-color:rgb(var(--aui-color-r-1))}.aui-button--danger:active,.aui-button--danger.isActive{border-color:rgb(var(--aui-color-r-0));background-color:rgb(var(--aui-color-r-0))}.aui-button--danger[disabled]:not(.isPlain){border-color:rgb(var(--aui-color-r-4));background-color:rgb(var(--aui-color-r-4))}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--danger[disabled]:not(.isPlain){color:rgb(var(--aui-color-n-4))}}html[aui-theme-mode=dark] .aui-button--danger[disabled]:not(.isPlain){color:rgb(var(--aui-color-n-4))}:root .aui-button--danger.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-red),.16)}html[aui-theme-mode=light] .aui-button--danger.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-red),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--danger.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-red),.3)}}html[aui-theme-mode=dark] .aui-button--danger.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-red),.3)}.aui-button--danger.isPlain{color:rgb(var(--aui-color-red));border-color:rgb(var(--aui-color-red));background-color:rgb(var(--aui-color-r-6))}.aui-button--danger.isPlain:hover{color:rgb(var(--aui-color-r-1));border-color:rgb(var(--aui-color-r-1));background-color:rgb(var(--aui-color-r-7))}.aui-button--danger.isPlain:active,.aui-button--danger.isPlain.isActive{color:rgb(var(--aui-color-r-0));border-color:rgb(var(--aui-color-r-0));background-color:rgb(var(--aui-color-r-5))}.aui-button--danger.isPlain[disabled]{border-color:rgb(var(--aui-color-r-4));background-color:rgb(var(--aui-color-r-7))}:root .aui-button--danger.isPlain[disabled]{color:rgb(var(--aui-color-r-4))}html[aui-theme-mode=light] .aui-button--danger.isPlain[disabled]{color:rgb(var(--aui-color-r-4))}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--danger.isPlain[disabled]{color:rgb(var(--aui-color-r-0))}}html[aui-theme-mode=dark] .aui-button--danger.isPlain[disabled]{color:rgb(var(--aui-color-r-0))}:root .aui-button--danger.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}html[aui-theme-mode=light] .aui-button--danger.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-button--danger.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}}html[aui-theme-mode=dark] .aui-button--danger.isPlain.cdk-focused:not(.cdk-mouse-focused){box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}.aui-button__spinner{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.aui-button.isLoading .aui-button__content{opacity:0}.aui-button[disabled] aui-icon,.aui-button:hover aui-icon,.aui-button:active aui-icon,.aui-button.isActive aui-icon{color:inherit}.aui-button+.aui-button,aui-dropdown-button+aui-dropdown-button>.aui-dropdown-button,aui-dropdown-button+.aui-button,.aui-button+aui-dropdown-button>.aui-dropdown-button{margin-left:var(--aui-spacing-m)}.aui-button--text+.aui-button--text{margin-left:var(--aui-spacing-s)}\n"] }]
|
|
108
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i1.FocusMonitor }]; }, propDecorators: { type: [{
|
|
109
|
+
type: Input,
|
|
110
|
+
args: ['aui-button']
|
|
111
|
+
}], size: [{
|
|
112
|
+
type: Input
|
|
113
|
+
}], plain: [{
|
|
114
|
+
type: Input
|
|
115
|
+
}], loading: [{
|
|
116
|
+
type: Input
|
|
117
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WRkQ2xhc3ModGhpcy5lbC5uYXRpdmVFbGVtZW50LCBwcmVmaXggKyB0aGlzLnNpemUpO1xuXG4gICAgdGhpcy5mb2N1c01vbml0b3IubW9uaXRvcih0aGlzLmVsLm5hdGl2ZUVsZW1lbnQsIGZhbHNlKTtcbiAgfVxuXG4gIG5nT25EZXN0cm95KCkge1xuICAgIHRoaXMuZm9jdXNNb25pdG9yLnN0b3BNb25pdG9yaW5nKHRoaXMuZWwubmF0aXZlRWxlbWVudCk7XG4gIH1cblxuICBwcml2YXRlIHN3aXRjaEFzc2VydENsYXNzKGNsYXNzTmFtZTogc3RyaW5nLCB2YWw6IGJvb2xlYW4pIHtcbiAgICBpZiAodmFsKSB7XG4gICAgICB0aGlzLnJlbmRlcmVyLmFkZENsYXNzKHRoaXMuZWwubmF0aXZlRWxlbWVudCwgY2xhc3NOYW1lKTtcbiAgICB9IGVsc2Uge1xuICAgICAgdGhpcy5yZW5kZXJlci5yZW1vdmVDbGFzcyh0aGlzLmVsLm5hdGl2ZUVsZW1lbnQsIGNsYXNzTmFtZSk7XG4gICAgfVxuICB9XG59XG4iLCI8c3BhbiBjbGFzcz1cImF1aS1idXR0b25fX2NvbnRlbnRcIj48bmctY29udGVudD48L25nLWNvbnRlbnQ+PC9zcGFuPlxuPGF1aS1pY29uXG4gICpuZ0lmPVwibG9hZGluZ1wiXG4gIGNsYXNzPVwiYXVpLWJ1dHRvbl9fc3Bpbm5lclwiXG4gIGljb249XCJzcGlubmVyXCJcbj48L2F1aS1pY29uPlxuIl19
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { IconModule } from '../icon';
|
|
4
|
+
import { ButtonGroupComponent } from './button-group/button-group.component';
|
|
5
|
+
import { ButtonComponent } from './button.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class ButtonModule {
|
|
8
|
+
}
|
|
9
|
+
ButtonModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ButtonModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
ButtonModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ButtonModule, declarations: [ButtonComponent, ButtonGroupComponent], imports: [CommonModule, IconModule], exports: [ButtonComponent, ButtonGroupComponent] });
|
|
11
|
+
ButtonModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ButtonModule, imports: [[CommonModule, IconModule]] });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: ButtonModule, decorators: [{
|
|
13
|
+
type: NgModule,
|
|
14
|
+
args: [{
|
|
15
|
+
imports: [CommonModule, IconModule],
|
|
16
|
+
declarations: [ButtonComponent, ButtonGroupComponent],
|
|
17
|
+
exports: [ButtonComponent, ButtonGroupComponent],
|
|
18
|
+
}]
|
|
19
|
+
}] });
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9idXR0b24vYnV0dG9uLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUV6QyxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sU0FBUyxDQUFDO0FBRXJDLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBQzdFLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUF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BjbGFzcyBCdXR0b25Nb2R1bGUge31cbiJdfQ==
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export const ButtonType = {
|
|
2
|
+
Default: 'default',
|
|
3
|
+
Primary: 'primary',
|
|
4
|
+
Success: 'success',
|
|
5
|
+
Warning: 'warning',
|
|
6
|
+
Danger: 'danger',
|
|
7
|
+
Text: 'text',
|
|
8
|
+
Inline: 'inline',
|
|
9
|
+
/**
|
|
10
|
+
* represents default internally, @link https://github.com/angular/vscode-ng-language-service/issues/1147
|
|
11
|
+
*/
|
|
12
|
+
Empty: '',
|
|
13
|
+
/**
|
|
14
|
+
* @deprecated use `ButtonType.Danger` instead
|
|
15
|
+
*/
|
|
16
|
+
Error: 'danger',
|
|
17
|
+
/**
|
|
18
|
+
* @deprecated use `ButtonType.Default` instead
|
|
19
|
+
*/
|
|
20
|
+
Info: 'default',
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLnR5cGVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2J1dHRvbi9idXR0b24udHlwZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLE9BQU8sRUFBRSxTQUFTO0lBQ2xCLE9BQU8sRUFBRSxTQUFTO0lBQ2xCLE9BQU8sRUFBRSxTQUFTO0lBQ2xCLE9BQU8sRUFBRSxTQUFTO0lBQ2xCLE1BQU0sRUFBRSxRQUFRO0lBQ2hCLElBQUksRUFBRSxNQUFNO0lBQ1osTUFBTSxFQUFFLFFBQVE7SUFDaEI7O09BRUc7SUFDSCxLQUFLLEVBQUUsRUFBRTtJQUNUOztPQUVHO0lBQ0gsS0FBSyxFQUFFLFFBQVE7SUFDZjs7T0FFRztJQUNILElBQUksRUFBRSxTQUFTO0NBQ1AsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IFZhbHVlT2YgfSBmcm9tICcuLi90eXBlcyc7XG5cbmV4cG9ydCBjb25zdCBCdXR0b25UeXBlID0ge1xuICBEZWZhdWx0OiAnZGVmYXVsdCcsXG4gIFByaW1hcnk6ICdwcmltYXJ5JyxcbiAgU3VjY2VzczogJ3N1Y2Nlc3MnLFxuICBXYXJuaW5nOiAnd2FybmluZycsXG4gIERhbmdlcjogJ2RhbmdlcicsXG4gIFRleHQ6ICd0ZXh0JyxcbiAgSW5saW5lOiAnaW5saW5lJyxcbiAgLyoqXG4gICAqIHJlcHJlc2VudHMgZGVmYXVsdCBpbnRlcm5hbGx5LCBAbGluayBodHRwczovL2dpdGh1Yi5jb20vYW5ndWxhci92c2NvZGUtbmctbGFuZ3VhZ2Utc2VydmljZS9pc3N1ZXMvMTE0N1xuICAgKi9cbiAgRW1wdHk6ICcnLFxuICAvKipcbiAgICogQGRlcHJlY2F0ZWQgdXNlIGBCdXR0b25UeXBlLkRhbmdlcmAgaW5zdGVhZFxuICAgKi9cbiAgRXJyb3I6ICdkYW5nZXInLFxuICAvKipcbiAgICogQGRlcHJlY2F0ZWQgdXNlIGBCdXR0b25UeXBlLkRlZmF1bHRgIGluc3RlYWRcbiAgICovXG4gIEluZm86ICdkZWZhdWx0Jyxcbn0gYXMgY29uc3Q7XG5cbmV4cG9ydCB0eXBlIEJ1dHRvblR5cGUgPSBWYWx1ZU9mPHR5cGVvZiBCdXR0b25UeXBlPjtcbiJdfQ==
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class CardComponent {
|
|
4
|
+
constructor() {
|
|
5
|
+
this.divider = true;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
CardComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: CardComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
9
|
+
CardComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", type: CardComponent, selector: "aui-card", inputs: { divider: "divider" }, ngImport: i0, template: "<div\n class=\"aui-card\"\n [class.hasDivider]=\"divider\"\n>\n <ng-content select=\"[auiCardHeader]\"></ng-content>\n <div class=\"aui-card__content\"><ng-content></ng-content></div>\n <ng-content select=\"[auiCardFooter]\"></ng-content>\n</div>\n", styles: [".aui-card{padding:20px;border-radius:var(--aui-border-radius-l);background-color:rgb(var(--aui-color-n-10));font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m);font-weight:var(--aui-font-weight-normal);color:rgb(var(--aui-color-main-text))}:root .aui-card{box-shadow:0 0 4px 0 rgba(var(--aui-color-origin-shadow),.1)}html[aui-theme-mode=light] .aui-card{box-shadow:0 0 4px 0 rgba(var(--aui-color-origin-shadow),.1)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-card{box-shadow:0 0 4px 0 rgba(var(--aui-color-origin-shadow),.75)}}html[aui-theme-mode=dark] .aui-card{box-shadow:0 0 4px 0 rgba(var(--aui-color-origin-shadow),.75)}.aui-card__header{display:flex;align-items:center;padding:0;font-size:var(--aui-font-size-xl);line-height:var(--aui-line-height-xl);font-weight:var(--aui-font-weight-bolder);color:rgb(var(--aui-color-main-text))}.aui-card__header+.aui-card__content{margin-top:var(--aui-spacing-xl)}.aui-card__content{padding:0}.aui-card__content+.aui-card__footer{margin-top:var(--aui-spacing-xl)}.aui-card__footer{padding:0}.aui-card.hasDivider>.aui-card__header{padding-bottom:var(--aui-spacing-xl);border-bottom:1px solid rgb(var(--aui-color-n-8))}.aui-card.hasDivider>.aui-card__header+.aui-card__content{margin-top:var(--aui-spacing-xl)}.aui-card.hasDivider>.aui-card__content+.aui-card__footer{margin-top:var(--aui-spacing-xl)}.aui-card.hasDivider>.aui-card__footer{padding-top:var(--aui-spacing-xl);border-top:1px solid rgb(var(--aui-color-n-8))}aui-card+aui-card>.aui-card{margin-top:var(--aui-spacing-xl)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: CardComponent, decorators: [{
|
|
11
|
+
type: Component,
|
|
12
|
+
args: [{ selector: 'aui-card', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, template: "<div\n class=\"aui-card\"\n [class.hasDivider]=\"divider\"\n>\n <ng-content select=\"[auiCardHeader]\"></ng-content>\n <div class=\"aui-card__content\"><ng-content></ng-content></div>\n <ng-content select=\"[auiCardFooter]\"></ng-content>\n</div>\n", styles: [".aui-card{padding:20px;border-radius:var(--aui-border-radius-l);background-color:rgb(var(--aui-color-n-10));font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m);font-weight:var(--aui-font-weight-normal);color:rgb(var(--aui-color-main-text))}:root .aui-card{box-shadow:0 0 4px 0 rgba(var(--aui-color-origin-shadow),.1)}html[aui-theme-mode=light] .aui-card{box-shadow:0 0 4px 0 rgba(var(--aui-color-origin-shadow),.1)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-card{box-shadow:0 0 4px 0 rgba(var(--aui-color-origin-shadow),.75)}}html[aui-theme-mode=dark] .aui-card{box-shadow:0 0 4px 0 rgba(var(--aui-color-origin-shadow),.75)}.aui-card__header{display:flex;align-items:center;padding:0;font-size:var(--aui-font-size-xl);line-height:var(--aui-line-height-xl);font-weight:var(--aui-font-weight-bolder);color:rgb(var(--aui-color-main-text))}.aui-card__header+.aui-card__content{margin-top:var(--aui-spacing-xl)}.aui-card__content{padding:0}.aui-card__content+.aui-card__footer{margin-top:var(--aui-spacing-xl)}.aui-card__footer{padding:0}.aui-card.hasDivider>.aui-card__header{padding-bottom:var(--aui-spacing-xl);border-bottom:1px solid rgb(var(--aui-color-n-8))}.aui-card.hasDivider>.aui-card__header+.aui-card__content{margin-top:var(--aui-spacing-xl)}.aui-card.hasDivider>.aui-card__content+.aui-card__footer{margin-top:var(--aui-spacing-xl)}.aui-card.hasDivider>.aui-card__footer{padding-top:var(--aui-spacing-xl);border-top:1px solid rgb(var(--aui-color-n-8))}aui-card+aui-card>.aui-card{margin-top:var(--aui-spacing-xl)}\n"] }]
|
|
13
|
+
}], propDecorators: { divider: [{
|
|
14
|
+
type: Input
|
|
15
|
+
}] } });
|
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY2FyZC9jYXJkLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uL3NyYy9jYXJkL2NhcmQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsS0FBSyxFQUNMLGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQzs7QUFVdkIsTUFBTSxPQUFPLGFBQWE7SUFSMUI7UUFTVyxZQUFPLEdBQUcsSUFBSSxDQUFDO0tBQ3pCOzswR0FGWSxhQUFhOzhGQUFiLGFBQWEsZ0ZDZjFCLCtQQVFBOzJGRE9hLGFBQWE7a0JBUnpCLFNBQVM7K0JBQ0UsVUFBVSxpQkFHTCxpQkFBaUIsQ0FBQyxJQUFJLG1CQUNwQix1QkFBdUIsQ0FBQyxNQUFNLHVCQUMxQixLQUFLOzhCQUdqQixPQUFPO3NCQUFmLEtBQUsiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQge1xuICBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSxcbiAgQ29tcG9uZW50LFxuICBJbnB1dCxcbiAgVmlld0VuY2Fwc3VsYXRpb24sXG59IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdhdWktY2FyZCcsXG4gIHRlbXBsYXRlVXJsOiAnLi9jYXJkLmNvbXBvbmVudC5odG1sJyxcbiAgc3R5bGVVcmxzOiBbJy4vY2FyZC5jb21wb25lbnQuc2NzcyddLFxuICBlbmNhcHN1bGF0aW9uOiBWaWV3RW5jYXBzdWxhdGlvbi5Ob25lLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbiAgcHJlc2VydmVXaGl0ZXNwYWNlczogZmFsc2UsXG59KVxuZXhwb3J0IGNsYXNzIENhcmRDb21wb25lbnQge1xuICBASW5wdXQoKSBkaXZpZGVyID0gdHJ1ZTtcbn1cbiIsIjxkaXZcbiAgY2xhc3M9XCJhdWktY2FyZFwiXG4gIFtjbGFzcy5oYXNEaXZpZGVyXT1cImRpdmlkZXJcIlxuPlxuICA8bmctY29udGVudCBzZWxlY3Q9XCJbYXVpQ2FyZEhlYWRlcl1cIj48L25nLWNvbnRlbnQ+XG4gIDxkaXYgY2xhc3M9XCJhdWktY2FyZF9fY29udGVudFwiPjxuZy1jb250ZW50PjwvbmctY29udGVudD48L2Rpdj5cbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW2F1aUNhcmRGb290ZXJdXCI+PC9uZy1jb250ZW50PlxuPC9kaXY+XG4iXX0=
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { CardComponent } from './card.component';
|
|
4
|
+
import { CardFooterDirective, CardHeaderDirective, SectionTitleDirective, } from './helper-directives';
|
|
5
|
+
import { SectionComponent } from './section.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class CardModule {
|
|
8
|
+
}
|
|
9
|
+
CardModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: CardModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
10
|
+
CardModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: CardModule, declarations: [CardComponent,
|
|
11
|
+
CardHeaderDirective,
|
|
12
|
+
CardFooterDirective,
|
|
13
|
+
SectionComponent,
|
|
14
|
+
SectionTitleDirective], imports: [CommonModule], exports: [CardComponent,
|
|
15
|
+
CardHeaderDirective,
|
|
16
|
+
CardFooterDirective,
|
|
17
|
+
SectionComponent,
|
|
18
|
+
SectionTitleDirective] });
|
|
19
|
+
CardModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: CardModule, imports: [[CommonModule]] });
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: CardModule, decorators: [{
|
|
21
|
+
type: NgModule,
|
|
22
|
+
args: [{
|
|
23
|
+
imports: [CommonModule],
|
|
24
|
+
declarations: [
|
|
25
|
+
CardComponent,
|
|
26
|
+
CardHeaderDirective,
|
|
27
|
+
CardFooterDirective,
|
|
28
|
+
SectionComponent,
|
|
29
|
+
SectionTitleDirective,
|
|
30
|
+
],
|
|
31
|
+
exports: [
|
|
32
|
+
CardComponent,
|
|
33
|
+
CardHeaderDirective,
|
|
34
|
+
CardFooterDirective,
|
|
35
|
+
SectionComponent,
|
|
36
|
+
SectionTitleDirective,
|
|
37
|
+
],
|
|
38
|
+
}]
|
|
39
|
+
}] });
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY2FyZC9jYXJkLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdz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5nTW9kdWxlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbmltcG9ydCB7IENhcmRDb21wb25lbnQgfSBmcm9tICcuL2NhcmQuY29tcG9uZW50JztcbmltcG9ydCB7XG4gIENhcmRGb290ZXJEaXJlY3RpdmUsXG4gIENhcmRIZWFkZXJEaXJlY3RpdmUsXG4gIFNlY3Rpb25UaXRsZURpcmVjdGl2ZSxcbn0gZnJvbSAnLi9oZWxwZXItZGlyZWN0aXZlcyc7XG5pbXBvcnQgeyBTZWN0aW9uQ29tcG9uZW50IH0gZnJvbSAnLi9zZWN0aW9uLmNvbXBvbmVudCc7XG5cbkBOZ01vZHVsZSh7XG4gIGltcG9ydHM6IFtDb21tb25Nb2R1bGVdLFxuICBkZWNsYXJhdGlvbnM6IFtcbiAgICBDYXJkQ29tcG9uZW50LFxuICAgIENhcmRIZWFkZXJEaXJlY3RpdmUsXG4gICAgQ2FyZEZvb3RlckRpcmVjdGl2ZSxcbiAgICBTZWN0aW9uQ29tcG9uZW50LFxuICAgIFNlY3Rpb25UaXRsZURpcmVjdGl2ZSxcbiAgXSxcbiAgZXhwb3J0czogW1xuICAgIENhcmRDb21wb25lbnQsXG4gICAgQ2FyZEhlYWRlckRpcmVjdGl2ZSxcbiAgICBDYXJkRm9vdGVyRGlyZWN0aXZlLFxuICAgIFNlY3Rpb25Db21wb25lbnQsXG4gICAgU2VjdGlvblRpdGxlRGlyZWN0aXZlLFxuICBdLFxufSlcbmV4cG9ydCBjbGFzcyBDYXJkTW9kdWxlIHt9XG4iXX0=
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class CardHeaderDirective {
|
|
4
|
+
constructor() {
|
|
5
|
+
/**
|
|
6
|
+
* @deprecated
|
|
7
|
+
*/
|
|
8
|
+
this.size = 'default';
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
CardHeaderDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: CardHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
12
|
+
CardHeaderDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.8", type: CardHeaderDirective, selector: "[auiCardHeader]", inputs: { size: "size" }, host: { properties: { "class.aui-card__header": "true" } }, ngImport: i0 });
|
|
13
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: CardHeaderDirective, decorators: [{
|
|
14
|
+
type: Directive,
|
|
15
|
+
args: [{
|
|
16
|
+
selector: '[auiCardHeader]',
|
|
17
|
+
host: {
|
|
18
|
+
'[class.aui-card__header]': 'true',
|
|
19
|
+
},
|
|
20
|
+
}]
|
|
21
|
+
}], propDecorators: { size: [{
|
|
22
|
+
type: Input
|
|
23
|
+
}] } });
|
|
24
|
+
export class CardFooterDirective {
|
|
25
|
+
}
|
|
26
|
+
CardFooterDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: CardFooterDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
27
|
+
CardFooterDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.8", type: CardFooterDirective, selector: "[auiCardFooter]", host: { properties: { "class.aui-card__footer": "true" } }, ngImport: i0 });
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: CardFooterDirective, decorators: [{
|
|
29
|
+
type: Directive,
|
|
30
|
+
args: [{
|
|
31
|
+
selector: '[auiCardFooter]',
|
|
32
|
+
host: {
|
|
33
|
+
'[class.aui-card__footer]': 'true',
|
|
34
|
+
},
|
|
35
|
+
}]
|
|
36
|
+
}] });
|
|
37
|
+
export class SectionTitleDirective {
|
|
38
|
+
}
|
|
39
|
+
SectionTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: SectionTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
+
SectionTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.8", type: SectionTitleDirective, selector: "[auiSectionTitle]", host: { properties: { "class.aui-section__title": "true" } }, ngImport: i0 });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: SectionTitleDirective, decorators: [{
|
|
42
|
+
type: Directive,
|
|
43
|
+
args: [{
|
|
44
|
+
selector: '[auiSectionTitle]',
|
|
45
|
+
host: {
|
|
46
|
+
'[class.aui-section__title]': 'true',
|
|
47
|
+
},
|
|
48
|
+
}]
|
|
49
|
+
}] });
|
|
50
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVscGVyLWRpcmVjdGl2ZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY2FyZC9oZWxwZXItZGlyZWN0aXZlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFRakQsTUFBTSxPQUFPLG1CQUFtQjtJQU5oQztRQU9FOztXQUVHO1FBRUgsU0FBSSxHQUE0QixTQUFTLENBQUM7S0FDM0M7O2dIQU5ZLG1CQUFtQjtvR0FBbkIsbUJBQW1COzJGQUFuQixtQkFBbUI7a0JBTi9CLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLGlCQUFpQjtvQkFDM0IsSUFBSSxFQUFFO3dCQUNKLDBCQUEwQixFQUFFLE1BQU07cUJBQ25DO2lCQUNGOzhCQU1DLElBQUk7c0JBREgsS0FBSzs7QUFVUixNQUFNLE9BQU8sbUJBQ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TZWN0aW9uVGl0bGVdJyxcbiAgaG9zdDoge1xuICAgICdbY2xhc3MuYXVpLXNlY3Rpb25fX3RpdGxlXSc6ICd0cnVlJyxcbiAgfSxcbn0pXG5leHBvcnQgY2xhc3MgU2VjdGlvblRpdGxlRGlyZWN0aXZlIHt9XG4iXX0=
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ChangeDetectionStrategy, Component, ViewEncapsulation, } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export class SectionComponent {
|
|
4
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.1.4", ngImport: i0, type: SectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
5
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.1.4", type: SectionComponent, selector: "aui-section", ngImport: i0, template: "<div class=\"aui-section\">\n <ng-content select=\"[auiSectionTitle]\"></ng-content>\n <div class=\"aui-section__content\"><ng-content></ng-content></div>\n</div>\n", styles: [".aui-section{padding:var(--aui-spacing-xl) 0;font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m);font-weight:var(--aui-font-weight-normal);color:rgb(var(--aui-color-main-text))}.aui-section__title{margin-bottom:var(--aui-spacing-l);font-size:var(--aui-font-size-l);line-height:var(--aui-line-height-l);font-weight:var(--aui-font-weight-bolder);color:rgb(var(--aui-color-main-text))}aui-section:first-child>.aui-section{padding-top:0}aui-section:last-child>.aui-section{padding-bottom:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
6
4
|
}
|
|
7
|
-
i0.ɵɵ
|
|
5
|
+
SectionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: SectionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
+
SectionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", type: SectionComponent, selector: "aui-section", ngImport: i0, template: "<div class=\"aui-section\">\n <ng-content select=\"[auiSectionTitle]\"></ng-content>\n <div class=\"aui-section__content\"><ng-content></ng-content></div>\n</div>\n", styles: [".aui-section{padding:var(--aui-spacing-xl) 0;font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m);font-weight:var(--aui-font-weight-normal);color:rgb(var(--aui-color-main-text))}.aui-section__title{margin-bottom:var(--aui-spacing-l);font-size:var(--aui-font-size-l);line-height:var(--aui-line-height-l);font-weight:var(--aui-font-weight-bolder);color:rgb(var(--aui-color-main-text))}aui-section:first-child>.aui-section{padding-top:0}aui-section:last-child>.aui-section{padding-bottom:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: SectionComponent, decorators: [{
|
|
8
8
|
type: Component,
|
|
9
9
|
args: [{ selector: 'aui-section', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, template: "<div class=\"aui-section\">\n <ng-content select=\"[auiSectionTitle]\"></ng-content>\n <div class=\"aui-section__content\"><ng-content></ng-content></div>\n</div>\n", styles: [".aui-section{padding:var(--aui-spacing-xl) 0;font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m);font-weight:var(--aui-font-weight-normal);color:rgb(var(--aui-color-main-text))}.aui-section__title{margin-bottom:var(--aui-spacing-l);font-size:var(--aui-font-size-l);line-height:var(--aui-line-height-l);font-weight:var(--aui-font-weight-bolder);color:rgb(var(--aui-color-main-text))}aui-section:first-child>.aui-section{padding-top:0}aui-section:last-child>.aui-section{padding-bottom:0}\n"] }]
|
|
10
10
|
}] });
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2V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VxuIiwiPGRpdiBjbGFzcz1cImF1aS1zZWN0aW9uXCI+XG4gIDxuZy1jb250ZW50IHNlbGVjdD1cIlthdWlTZWN0aW9uVGl0bGVdXCI+PC9uZy1jb250ZW50PlxuICA8ZGl2IGNsYXNzPVwiYXVpLXNlY3Rpb25fX2NvbnRlbnRcIj48bmctY29udGVudD48L25nLWNvbnRlbnQ+PC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ContentChildren, Input, ViewEncapsulation, forwardRef, } from '@angular/core';
|
|
2
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
+
import { CommonFormControl } from '../../form';
|
|
4
|
+
import { CheckboxComponent } from '../checkbox.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export class CheckboxGroupComponent extends CommonFormControl {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.direction = 'row';
|
|
10
|
+
}
|
|
11
|
+
get trackFn() {
|
|
12
|
+
return this._trackFn;
|
|
13
|
+
}
|
|
14
|
+
set trackFn(val) {
|
|
15
|
+
if (val !== this._trackFn) {
|
|
16
|
+
this._trackFn = val;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
onCheckboxChange(checkbox) {
|
|
20
|
+
if (this.onTouched) {
|
|
21
|
+
this.onTouched();
|
|
22
|
+
}
|
|
23
|
+
const values = this.checkboxes
|
|
24
|
+
.filter(item => (item === checkbox ? !item.model : item.model))
|
|
25
|
+
.map(item => item.label);
|
|
26
|
+
this.emitValue(values);
|
|
27
|
+
}
|
|
28
|
+
onCheckboxBlur() {
|
|
29
|
+
if (this.onTouched) {
|
|
30
|
+
this.onTouched();
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
CheckboxGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: CheckboxGroupComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
35
|
+
CheckboxGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", type: CheckboxGroupComponent, selector: "aui-checkbox-group", inputs: { direction: "direction", trackFn: "trackFn" }, providers: [
|
|
36
|
+
{
|
|
37
|
+
provide: NG_VALUE_ACCESSOR,
|
|
38
|
+
useExisting: forwardRef(() => CheckboxGroupComponent),
|
|
39
|
+
multi: true,
|
|
40
|
+
},
|
|
41
|
+
], queries: [{ propertyName: "checkboxes", predicate: i0.forwardRef(function () { return CheckboxComponent; }), descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"aui-checkbox-group aui-checkbox-group--{{ direction }}\">\n <ng-content></ng-content>\n</div>\n", styles: [".aui-checkbox-group{display:inline-flex;flex-wrap:wrap}.aui-checkbox-group--column{flex-direction:column}.aui-checkbox-group--column .aui-checkbox{margin-right:0}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
42
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: CheckboxGroupComponent, decorators: [{
|
|
43
|
+
type: Component,
|
|
44
|
+
args: [{ selector: 'aui-checkbox-group', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, preserveWhitespaces: false, providers: [
|
|
45
|
+
{
|
|
46
|
+
provide: NG_VALUE_ACCESSOR,
|
|
47
|
+
useExisting: forwardRef(() => CheckboxGroupComponent),
|
|
48
|
+
multi: true,
|
|
49
|
+
},
|
|
50
|
+
], template: "<div class=\"aui-checkbox-group aui-checkbox-group--{{ direction }}\">\n <ng-content></ng-content>\n</div>\n", styles: [".aui-checkbox-group{display:inline-flex;flex-wrap:wrap}.aui-checkbox-group--column{flex-direction:column}.aui-checkbox-group--column .aui-checkbox{margin-right:0}\n"] }]
|
|
51
|
+
}], propDecorators: { direction: [{
|
|
52
|
+
type: Input
|
|
53
|
+
}], trackFn: [{
|
|
54
|
+
type: Input
|
|
55
|
+
}], checkboxes: [{
|
|
56
|
+
type: ContentChildren,
|
|
57
|
+
args: [forwardRef(() => CheckboxComponent), {
|
|
58
|
+
descendants: true,
|
|
59
|
+
}]
|
|
60
|
+
}] } });
|
|
61
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hlY2tib3gtZ3JvdXAuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NoZWNrYm94L2NoZWNrYm94LWdyb3VwL2NoZWNrYm94LWdyb3VwLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uL3NyYy9jaGVja2JveC9jaGVja2JveC1ncm91cC9jaGVja2JveC1ncm91cC5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQ0wsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFDVCxlQUFlLEVBQ2YsS0FBSyxFQUVMLGlCQUFpQixFQUNqQixVQUFVLEdBQ1gsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFbkQsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sWUFBWSxDQUFDO0FBRS9DLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHVCQUF1QixDQUFDOztBQWlCMUQsTUFBTSxPQUFPLHNCQUEwQixTQUFRLGlCQUFzQjtJQWZyRTs7UUFtQkUsY0FBUyxHQUFxQixLQUFLLENBQUM7S0FpQ3JDO0lBL0JDLElBQ0ksT0FBTztRQUNULE9BQU8sSUFBSSxDQUFDLFFBQVEsQ0FBQztJQUN2QixDQUFDO0lBRUQsSUFBSSxPQUFPLENBQUMsR0FBRztRQUNiLElBQUks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