@alauda/ui 6.2.3-beta.9 → 6.3.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.changeset/README.md +8 -0
- package/accordion/accordion-item/accordion-item.component.d.ts +7 -0
- package/accordion/accordion.component.d.ts +3 -0
- package/accordion/accordion.module.d.ts +10 -0
- package/alauda-ui.d.ts +1 -20
- package/anchor/anchor.component.d.ts +7 -2
- package/anchor/anchor.directive.d.ts +7 -0
- package/anchor/anchor.module.d.ts +7 -0
- package/autocomplete/autocomplete-placeholder.component.d.ts +3 -0
- package/autocomplete/autocomplete.component.d.ts +3 -0
- package/autocomplete/autocomplete.directive.d.ts +5 -0
- package/autocomplete/autocomplete.module.d.ts +13 -0
- package/autocomplete/helper-directives.d.ts +3 -0
- package/autocomplete/suggestion/suggestion.component.d.ts +3 -0
- package/autocomplete/suggestion-group/suggestion-group.component.d.ts +3 -0
- package/back-top/back-top.component.d.ts +3 -0
- package/back-top/back-top.module.d.ts +7 -0
- package/breadcrumb/breadcrumb-item.component.d.ts +3 -0
- package/breadcrumb/breadcrumb.component.d.ts +3 -0
- package/breadcrumb/breadcrumb.module.d.ts +8 -0
- package/button/button-group/button-group.component.d.ts +3 -0
- package/button/button.component.d.ts +9 -38
- package/button/button.module.d.ts +8 -0
- package/card/card.component.d.ts +3 -0
- package/card/card.module.d.ts +8 -0
- package/card/helper-directives.d.ts +7 -0
- package/card/section.component.d.ts +3 -0
- package/checkbox/checkbox-group/checkbox-group.component.d.ts +3 -0
- package/checkbox/checkbox.component.d.ts +3 -0
- package/checkbox/checkbox.module.d.ts +8 -0
- package/color-picker/color-picker.component.d.ts +3 -0
- package/color-picker/color-picker.module.d.ts +7 -0
- package/date-picker/calendar/date-picker-panel/component.d.ts +3 -0
- package/date-picker/calendar/footer/component.d.ts +3 -0
- package/date-picker/calendar/header/component.d.ts +3 -0
- package/date-picker/calendar/panel/picker-panel.d.ts +3 -0
- package/date-picker/calendar/range-picker-panel/component.d.ts +3 -0
- package/date-picker/date-picker/date-picker.component.d.ts +3 -0
- package/date-picker/date-picker.module.d.ts +20 -0
- package/date-picker/public-api.d.ts +1 -0
- package/date-picker/range-picker/range-picker.component.d.ts +3 -0
- package/date-picker/trigger/trigger.component.d.ts +3 -0
- package/dialog/confirm-dialog/confirm-dialog.component.d.ts +3 -0
- package/dialog/dialog-content/dialog-close.directive.d.ts +3 -0
- package/dialog/dialog-content/dialog-content.component.d.ts +3 -0
- package/dialog/dialog-content/dialog-footer.component.d.ts +3 -0
- package/dialog/dialog-content/dialog-header.component.d.ts +3 -0
- package/dialog/dialog.component.d.ts +3 -0
- package/dialog/dialog.module.d.ts +15 -0
- package/dialog/dialog.service.d.ts +3 -0
- package/dialog/public-api.d.ts +1 -0
- package/drawer/component/drawer.component.d.ts +5 -2
- package/drawer/component/helper-directives.d.ts +7 -4
- package/drawer/drawer.module.d.ts +10 -0
- package/drawer/drawer.service.d.ts +3 -0
- package/dropdown/dropdown-active.directive.d.ts +3 -0
- package/dropdown/dropdown-button/dropdown-button.component.d.ts +3 -0
- package/dropdown/dropdown.directive.d.ts +3 -0
- package/dropdown/dropdown.module.d.ts +17 -0
- package/dropdown/helper-directives.d.ts +3 -0
- package/dropdown/menu/menu-content.directive.d.ts +3 -0
- package/dropdown/menu/menu.component.d.ts +3 -0
- package/dropdown/menu-group/menu-group.component.d.ts +3 -0
- package/dropdown/menu-item/menu-item.component.d.ts +3 -0
- package/dropdown/public-api.d.ts +1 -0
- package/dropdown/submenu/submenu.component.d.ts +3 -0
- 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/{esm2015/accordion/public-api.js → esm2020/accordion/public-api.mjs} +0 -0
- package/esm2020/alauda-ui.mjs +5 -0
- package/esm2020/anchor/anchor.component.mjs +139 -0
- package/esm2020/anchor/anchor.directive.mjs +184 -0
- package/esm2020/anchor/anchor.module.mjs +36 -0
- package/{esm2015/anchor/public-api.js → esm2020/anchor/public-api.mjs} +0 -0
- package/{esm2015/anchor/types.js → esm2020/anchor/types.mjs} +0 -0
- package/{esm2015/anchor/utils.js → esm2020/anchor/utils.mjs} +0 -0
- package/esm2020/autocomplete/autocomplete-placeholder.component.mjs +17 -0
- package/esm2020/autocomplete/autocomplete.component.mjs +41 -0
- package/esm2020/autocomplete/autocomplete.directive.mjs +272 -0
- package/esm2020/autocomplete/autocomplete.module.mjs +53 -0
- package/{esm2015/autocomplete/autocomplete.types.js → esm2020/autocomplete/autocomplete.types.mjs} +0 -0
- package/esm2020/autocomplete/helper-directives.mjs +17 -0
- package/{esm2015/autocomplete/public-api.js → esm2020/autocomplete/public-api.mjs} +0 -0
- package/esm2020/autocomplete/suggestion/suggestion.component.mjs +78 -0
- package/esm2020/autocomplete/suggestion-group/suggestion-group.component.mjs +23 -0
- package/esm2020/back-top/back-top.component.mjs +68 -0
- package/esm2020/back-top/back-top.module.mjs +19 -0
- package/{esm2015/back-top/public-api.js → esm2020/back-top/public-api.mjs} +0 -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/{esm2015/breadcrumb/public-api.js → esm2020/breadcrumb/public-api.mjs} +0 -0
- package/esm2020/button/button-group/button-group.component.mjs +11 -0
- package/esm2020/button/button.component.mjs +122 -0
- package/esm2020/button/button.module.mjs +20 -0
- package/{esm2015/button/button.types.js → esm2020/button/button.types.mjs} +0 -0
- package/{esm2015/button/public-api.js → esm2020/button/public-api.mjs} +0 -0
- package/esm2020/card/card.component.mjs +16 -0
- package/esm2020/card/card.module.mjs +40 -0
- package/esm2020/card/helper-directives.mjs +43 -0
- package/{esm2015/card/public-api.js → esm2020/card/public-api.mjs} +0 -0
- package/esm2020/card/section.component.mjs +11 -0
- package/esm2020/checkbox/checkbox-group/checkbox-group.component.mjs +64 -0
- package/esm2020/checkbox/checkbox.component.mjs +114 -0
- package/esm2020/checkbox/checkbox.module.mjs +20 -0
- package/{esm2015/checkbox/public-api.js → esm2020/checkbox/public-api.mjs} +0 -0
- package/esm2020/color-picker/color-picker.component.mjs +32 -0
- package/esm2020/color-picker/color-picker.module.mjs +19 -0
- package/{esm2015/color-picker/public-api.js → esm2020/color-picker/public-api.mjs} +0 -0
- package/{esm2015/date-picker/calendar/constant.js → esm2020/date-picker/calendar/constant.mjs} +0 -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 +105 -0
- package/esm2020/date-picker/calendar/panel/picker-panel.mjs +149 -0
- package/esm2020/date-picker/calendar/range-picker-panel/component.mjs +209 -0
- package/{esm2015/date-picker/calendar/util.js → esm2020/date-picker/calendar/util.mjs} +0 -0
- package/esm2020/date-picker/date-picker/date-picker.component.mjs +104 -0
- package/esm2020/date-picker/date-picker.module.mjs +84 -0
- package/{esm2015/date-picker/date-picker.type.js → esm2020/date-picker/date-picker.type.mjs} +0 -0
- package/esm2020/date-picker/public-api.mjs +12 -0
- package/esm2020/date-picker/range-picker/range-picker.component.mjs +80 -0
- package/esm2020/date-picker/trigger/trigger.component.mjs +69 -0
- package/{esm2015/dialog/confirm-dialog/confirm-dialog-config.js → esm2020/dialog/confirm-dialog/confirm-dialog-config.mjs} +0 -0
- package/esm2020/dialog/confirm-dialog/confirm-dialog.component.mjs +86 -0
- package/{esm2015/dialog/dialog-config.js → esm2020/dialog/dialog-config.mjs} +0 -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/{esm2015/dialog/dialog-ref.js → esm2020/dialog/dialog-ref.mjs} +0 -0
- package/esm2020/dialog/dialog.component.mjs +59 -0
- package/esm2020/dialog/dialog.module.mjs +68 -0
- package/esm2020/dialog/dialog.service.mjs +128 -0
- package/{esm2015/dialog/dialog.types.js → esm2020/dialog/dialog.types.mjs} +0 -0
- package/esm2020/dialog/public-api.mjs +12 -0
- package/{esm2015/dialog/utils/errors.js → esm2020/dialog/utils/errors.mjs} +0 -0
- package/esm2020/dialog/utils/index.mjs +11 -0
- package/{esm2015/drawer/component/drawer-ref.js → esm2020/drawer/component/drawer-ref.mjs} +0 -0
- package/esm2020/drawer/component/drawer.component.mjs +231 -0
- package/esm2020/drawer/component/helper-directives.mjs +37 -0
- package/esm2020/drawer/drawer.module.mjs +37 -0
- package/esm2020/drawer/drawer.service.mjs +45 -0
- package/{esm2015/drawer/public-api.js → esm2020/drawer/public-api.mjs} +0 -0
- package/esm2020/dropdown/dropdown-active.directive.mjs +21 -0
- package/esm2020/dropdown/dropdown-button/dropdown-button.component.mjs +51 -0
- package/esm2020/dropdown/dropdown.directive.mjs +83 -0
- package/esm2020/dropdown/dropdown.module.mjs +65 -0
- package/{esm2015/dropdown/dropdown.types.js → esm2020/dropdown/dropdown.types.mjs} +0 -0
- package/esm2020/dropdown/helper-directives.mjs +17 -0
- package/esm2020/dropdown/menu/menu-content.directive.mjs +51 -0
- package/esm2020/dropdown/menu/menu.component.mjs +33 -0
- package/esm2020/dropdown/menu-group/menu-group.component.mjs +11 -0
- package/esm2020/dropdown/menu-item/menu-item.component.mjs +37 -0
- package/esm2020/dropdown/public-api.mjs +12 -0
- package/esm2020/dropdown/submenu/submenu.component.mjs +40 -0
- package/esm2020/form/common-form.mjs +92 -0
- package/esm2020/form/form-item/form-item.component.mjs +106 -0
- package/esm2020/form/form.directive.mjs +70 -0
- package/esm2020/form/form.module.mjs +48 -0
- package/{esm2015/form/form.types.js → esm2020/form/form.types.mjs} +0 -0
- package/esm2020/form/helper-directives.mjs +81 -0
- package/{esm2015/form/public-api.js → esm2020/form/public-api.mjs} +0 -0
- package/esm2020/i18n/i18n.module.mjs +16 -0
- package/esm2020/i18n/i18n.pipe.mjs +20 -0
- package/esm2020/i18n/i18n.service.mjs +43 -0
- package/esm2020/i18n/i18n.type.mjs +6 -0
- package/{esm2015/i18n/language/en.js → esm2020/i18n/language/en.mjs} +0 -0
- package/{esm2015/i18n/language/zh.js → esm2020/i18n/language/zh.mjs} +0 -0
- package/{esm2015/i18n/public-api.js → esm2020/i18n/public-api.mjs} +0 -0
- package/esm2020/icon/icon-register.service.mjs +70 -0
- package/esm2020/icon/icon.component.mjs +65 -0
- package/esm2020/icon/icon.module.mjs +21 -0
- package/{esm2015/icon/icons.js → esm2020/icon/icons.mjs} +0 -0
- package/{esm2015/icon/public-api.js → esm2020/icon/public-api.mjs} +0 -0
- package/{esm2015/icon/utils.js → esm2020/icon/utils.mjs} +0 -0
- package/esm2020/inline-alert/helper-directives.mjs +14 -0
- package/esm2020/inline-alert/inline-alert.component.mjs +55 -0
- package/esm2020/inline-alert/inline-alert.module.mjs +20 -0
- package/{esm2015/inline-alert/inline-alert.types.js → esm2020/inline-alert/inline-alert.types.mjs} +0 -0
- package/{esm2015/inline-alert/public-api.js → esm2020/inline-alert/public-api.mjs} +0 -0
- package/esm2020/input/autosize.directive.mjs +60 -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 +91 -0
- package/esm2020/input/number-input/number-input.component.mjs +94 -0
- package/esm2020/input/public-api.mjs +9 -0
- package/esm2020/input/search/search.component.mjs +81 -0
- package/esm2020/input/tags-input/tags-input.component.mjs +265 -0
- package/{esm2015/input/tags-input/with-max-row-count.js → esm2020/input/tags-input/with-max-row-count.mjs} +0 -0
- package/{esm2015/input/utils/index.js → esm2020/input/utils/index.mjs} +0 -0
- package/esm2020/message/base-message.mjs +90 -0
- package/{esm2015/message/message-animations.js → esm2020/message/message-animations.mjs} +0 -0
- package/esm2020/message/message-wrapper.component.mjs +14 -0
- package/esm2020/message/message.component.mjs +70 -0
- package/{esm2015/message/message.config.js → esm2020/message/message.config.mjs} +0 -0
- package/esm2020/message/message.module.mjs +23 -0
- package/esm2020/message/message.service.mjs +26 -0
- package/{esm2015/message/public-api.js → esm2020/message/public-api.mjs} +0 -0
- package/esm2020/notification/notification-wrapper.component.mjs +16 -0
- package/esm2020/notification/notification.component.mjs +107 -0
- package/{esm2015/notification/notification.config.js → esm2020/notification/notification.config.mjs} +0 -0
- package/esm2020/notification/notification.module.mjs +24 -0
- package/esm2020/notification/notification.service.mjs +26 -0
- package/{esm2015/notification/public-api.js → esm2020/notification/public-api.mjs} +0 -0
- package/esm2020/paginator/paginator-intl.mjs +36 -0
- package/esm2020/paginator/paginator.component.mjs +125 -0
- package/esm2020/paginator/paginator.module.mjs +24 -0
- package/{esm2015/paginator/public-api.js → esm2020/paginator/public-api.mjs} +0 -0
- package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
- package/esm2020/radio/base-radio.mjs +69 -0
- package/{esm2015/radio/public-api.js → esm2020/radio/public-api.mjs} +0 -0
- package/esm2020/radio/radio-button/radio-button.component.mjs +42 -0
- package/esm2020/radio/radio-group/radio-group.component.mjs +80 -0
- package/esm2020/radio/radio.component.mjs +24 -0
- package/esm2020/radio/radio.module.mjs +21 -0
- package/{esm2015/radio/radio.types.js → esm2020/radio/radio.types.mjs} +0 -0
- package/esm2020/scrolling/fixed-size-table-virtual-scroll-strategy.mjs +84 -0
- package/esm2020/scrolling/fixed-size-table-virtual-scroll.directive.mjs +122 -0
- package/esm2020/scrolling/fixed-size-virtual-scroll.directive.mjs +28 -0
- package/esm2020/scrolling/public-api.mjs +7 -0
- package/esm2020/scrolling/scrolling.module.mjs +30 -0
- package/esm2020/scrolling/virtual-for-of.directive.mjs +36 -0
- package/esm2020/scrolling/virtual-scroll-viewport.component.mjs +26 -0
- package/esm2020/select/base-select.mjs +339 -0
- package/esm2020/select/helper-directives.mjs +29 -0
- package/esm2020/select/multi-select/multi-select.component.mjs +292 -0
- package/esm2020/select/option/option.component.mjs +110 -0
- package/esm2020/select/option-group/option-group.component.mjs +23 -0
- package/esm2020/select/option-placeholder.component.mjs +17 -0
- package/{esm2015/select/public-api.js → esm2020/select/public-api.mjs} +0 -0
- package/esm2020/select/select.component.mjs +107 -0
- package/esm2020/select/select.module.mjs +80 -0
- package/{esm2015/select/select.types.js → esm2020/select/select.types.mjs} +0 -0
- package/esm2020/select/validators.mjs +79 -0
- package/esm2020/shared/click-outside.directive.mjs +28 -0
- package/esm2020/shared/shared.module.mjs +16 -0
- package/{esm2015/sort/public-api.js → esm2020/sort/public-api.mjs} +0 -0
- package/{esm2015/sort/sort-errors.js → esm2020/sort/sort-errors.mjs} +0 -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/{esm2015/sort/sort.types.js → esm2020/sort/sort.types.mjs} +0 -0
- package/{esm2015/status-bar/public-api.js → esm2020/status-bar/public-api.mjs} +0 -0
- package/esm2020/status-bar/status-bar.component.mjs +29 -0
- package/esm2020/status-bar/status-bar.module.mjs +19 -0
- package/{esm2015/status-bar/status-bar.types.js → esm2020/status-bar/status-bar.types.mjs} +0 -0
- package/{esm2015/steps/public-api.js → esm2020/steps/public-api.mjs} +0 -0
- package/esm2020/steps/steps.component.mjs +183 -0
- package/esm2020/steps/steps.module.mjs +19 -0
- package/{esm2015/steps/types.js → esm2020/steps/types.mjs} +0 -0
- package/{esm2015/switch/public-api.js → esm2020/switch/public-api.mjs} +0 -0
- package/esm2020/switch/switch.component.mjs +49 -0
- package/esm2020/switch/switch.module.mjs +18 -0
- package/esm2020/table/public-api.mjs +15 -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 +27 -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 +91 -0
- package/esm2020/table/table.component.mjs +81 -0
- package/esm2020/table/table.module.mjs +96 -0
- package/{esm2015/table-of-contents/public-api.js → esm2020/table-of-contents/public-api.mjs} +0 -0
- package/esm2020/table-of-contents/table-of-contents.module.mjs +20 -0
- package/esm2020/table-of-contents/toc-container.directive.mjs +110 -0
- package/esm2020/table-of-contents/toc-content.directive.mjs +35 -0
- package/esm2020/table-of-contents/toc-link.directive.mjs +47 -0
- package/esm2020/tabs/public-api.mjs +9 -0
- package/esm2020/tabs/tab-body.component.mjs +165 -0
- package/esm2020/tabs/tab-context.service.mjs +32 -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 +365 -0
- package/esm2020/tabs/tab.component.mjs +85 -0
- package/esm2020/tabs/tabs.module.mjs +88 -0
- package/{esm2015/tabs/tabs.types.js → esm2020/tabs/tabs.types.mjs} +0 -0
- package/esm2020/tag/check-tag/check-tag.component.mjs +33 -0
- package/{esm2015/tag/public-api.js → esm2020/tag/public-api.mjs} +0 -0
- package/esm2020/tag/tag.component.mjs +64 -0
- package/esm2020/tag/tag.module.mjs +20 -0
- package/{esm2015/tag/tag.types.js → esm2020/tag/tag.types.mjs} +0 -0
- package/{esm2015/theme/public-api.js → esm2020/theme/public-api.mjs} +0 -0
- package/esm2020/theme/theme.module.mjs +18 -0
- package/esm2020/theme/theme.pipe.mjs +70 -0
- package/esm2020/theme/theme.service.mjs +53 -0
- package/{esm2015/theme/theme.types.js → esm2020/theme/theme.types.mjs} +0 -0
- package/{esm2015/theme/utils.js → esm2020/theme/utils.mjs} +0 -0
- package/esm2020/time-picker/component.mjs +173 -0
- package/esm2020/time-picker/constant.mjs +5 -0
- package/esm2020/time-picker/panel/panel.component.mjs +224 -0
- package/{esm2015/time-picker/public-api.js → esm2020/time-picker/public-api.mjs} +0 -0
- package/esm2020/time-picker/time-picker.module.mjs +58 -0
- package/esm2020/time-picker/time-picker.type.mjs +13 -0
- package/esm2020/tooltip/base-tooltip.mjs +244 -0
- package/esm2020/tooltip/public-api.mjs +9 -0
- package/esm2020/tooltip/tooltip-active.directive.mjs +44 -0
- package/esm2020/tooltip/tooltip-copy.directive.mjs +78 -0
- package/esm2020/tooltip/tooltip-intl.mjs +28 -0
- package/esm2020/tooltip/tooltip.component.mjs +49 -0
- package/esm2020/tooltip/tooltip.directive.mjs +51 -0
- package/esm2020/tooltip/tooltip.module.mjs +33 -0
- package/{esm2015/tooltip/tooltip.types.js → esm2020/tooltip/tooltip.types.mjs} +0 -0
- package/{esm2015/tooltip/utils/index.js → esm2020/tooltip/utils/index.mjs} +0 -0
- package/esm2020/tree-select/public-api.mjs +5 -0
- package/esm2020/tree-select/tree-node-placeholder.component.mjs +17 -0
- package/esm2020/tree-select/tree-select.component.mjs +343 -0
- package/esm2020/tree-select/tree-select.module.mjs +34 -0
- package/{esm2015/tree-select/tree-select.types.js → esm2020/tree-select/tree-select.types.mjs} +0 -0
- package/{esm2015/types.js → esm2020/types.mjs} +0 -0
- package/{esm2015/utils/async.js → esm2020/utils/async.mjs} +0 -0
- package/{esm2015/utils/bem.js → esm2020/utils/bem.mjs} +0 -0
- package/esm2020/utils/coercion.mjs +17 -0
- package/esm2020/utils/fn.mjs +8 -0
- package/{esm2015/utils/index.js → esm2020/utils/index.mjs} +0 -0
- package/{esm2015/utils/observe-dom.js → esm2020/utils/observe-dom.mjs} +0 -0
- package/{esm2015/utils/scroll-into-view.js → esm2020/utils/scroll-into-view.mjs} +0 -0
- package/{esm2015/utils/watch-content-exist.js → esm2020/utils/watch-content-exist.mjs} +0 -0
- package/fesm2015/alauda-ui.mjs +11581 -0
- package/fesm2015/alauda-ui.mjs.map +1 -0
- package/fesm2020/alauda-ui.mjs +11507 -0
- package/fesm2020/alauda-ui.mjs.map +1 -0
- package/form/common-form.d.ts +3 -0
- package/form/form-item/form-item.component.d.ts +3 -0
- package/form/form.directive.d.ts +3 -0
- package/form/form.module.d.ts +8 -0
- package/form/helper-directives.d.ts +11 -0
- package/i18n/i18n.module.d.ts +5 -0
- package/i18n/i18n.pipe.d.ts +3 -0
- package/i18n/i18n.service.d.ts +5 -1
- package/icon/icon-register.service.d.ts +3 -0
- package/icon/icon.component.d.ts +3 -0
- package/icon/icon.module.d.ts +7 -0
- package/inline-alert/helper-directives.d.ts +3 -0
- package/inline-alert/inline-alert.component.d.ts +3 -0
- package/inline-alert/inline-alert.module.d.ts +8 -0
- package/input/autosize.directive.d.ts +3 -0
- package/input/helper-directives.d.ts +9 -0
- package/input/input-group/input-group.component.d.ts +3 -0
- package/input/input.component.d.ts +7 -21
- package/input/input.module.d.ts +17 -0
- package/input/number-input/number-input.component.d.ts +3 -0
- package/input/public-api.d.ts +2 -0
- package/input/search/search.component.d.ts +3 -0
- package/input/tags-input/tags-input.component.d.ts +5 -2
- package/message/message-wrapper.component.d.ts +3 -0
- package/message/message.component.d.ts +3 -0
- package/message/message.module.d.ts +9 -0
- package/message/message.service.d.ts +3 -0
- package/notification/notification-wrapper.component.d.ts +3 -0
- package/notification/notification.component.d.ts +5 -3
- package/notification/notification.module.d.ts +10 -0
- package/notification/notification.service.d.ts +3 -0
- package/package.json +28 -16
- package/paginator/paginator-intl.d.ts +3 -0
- package/paginator/paginator.component.d.ts +3 -0
- package/paginator/paginator.module.d.ts +10 -0
- package/radio/base-radio.d.ts +3 -0
- package/radio/radio-button/radio-button.component.d.ts +3 -0
- package/radio/radio-group/radio-group.component.d.ts +3 -0
- package/radio/radio.component.d.ts +3 -0
- package/radio/radio.module.d.ts +9 -0
- package/scrolling/fixed-size-table-virtual-scroll-strategy.d.ts +3 -0
- package/scrolling/fixed-size-table-virtual-scroll.directive.d.ts +3 -0
- package/scrolling/fixed-size-virtual-scroll.directive.d.ts +3 -0
- package/scrolling/public-api.d.ts +1 -0
- package/scrolling/scrolling.module.d.ts +8 -0
- package/scrolling/virtual-for-of.directive.d.ts +3 -0
- package/scrolling/virtual-scroll-viewport.component.d.ts +3 -0
- package/select/base-select.d.ts +10 -29
- package/select/helper-directives.d.ts +5 -0
- package/select/multi-select/multi-select.component.d.ts +4 -0
- package/select/option/option.component.d.ts +3 -0
- package/select/option-group/option-group.component.d.ts +3 -0
- package/select/option-placeholder.component.d.ts +3 -0
- package/select/select.component.d.ts +3 -0
- package/select/select.module.d.ts +17 -0
- package/select/validators.d.ts +3 -0
- package/shared/click-outside.directive.d.ts +3 -0
- package/shared/shared.module.d.ts +5 -0
- package/sort/sort-header.component.d.ts +3 -0
- package/sort/sort.directive.d.ts +3 -0
- package/sort/sort.module.d.ts +7 -0
- 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 +15 -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 +79 -0
- package/src/tag/README.md +32 -0
- package/src/tree-select/README.md +34 -0
- package/status-bar/status-bar.component.d.ts +3 -0
- package/status-bar/status-bar.module.d.ts +7 -0
- package/steps/steps.component.d.ts +4 -1
- package/steps/steps.module.d.ts +7 -0
- package/switch/switch.component.d.ts +3 -0
- package/switch/switch.module.d.ts +6 -0
- package/table/public-api.d.ts +2 -0
- package/table/table-cell-def.directive.d.ts +3 -0
- package/table/table-cell.component.d.ts +5 -0
- package/table/table-cell.directive.d.ts +3 -0
- package/table/table-column-def.directive.d.ts +3 -0
- package/table/table-header-cell-def.directive.d.ts +3 -0
- package/table/table-header-cell.directive.d.ts +3 -0
- package/table/table-header-row-def.directive.d.ts +4 -1
- package/table/table-header-row.component.d.ts +3 -0
- package/table/table-placeholder.directive.d.ts +5 -0
- package/table/table-row-def.directive.d.ts +5 -2
- package/table/table-row.component.d.ts +3 -0
- package/table/table-scroll.directive.d.ts +5 -0
- package/table/table.component.d.ts +3 -0
- package/table/table.module.d.ts +20 -0
- package/table-of-contents/table-of-contents.module.d.ts +8 -0
- package/table-of-contents/toc-container.directive.d.ts +3 -0
- package/table-of-contents/toc-content.directive.d.ts +3 -0
- package/table-of-contents/toc-link.directive.d.ts +3 -0
- package/tabs/public-api.d.ts +0 -1
- package/tabs/tab-body.component.d.ts +61 -2
- package/tabs/tab-context.service.d.ts +4 -1
- package/tabs/tab-group.component.d.ts +7 -12
- package/tabs/tab-header-active-indicator.component.d.ts +3 -0
- package/tabs/tab-header.component.d.ts +4 -1
- package/tabs/tab.component.d.ts +4 -1
- package/tabs/tabs.module.d.ts +16 -0
- package/tag/check-tag/check-tag.component.d.ts +3 -0
- package/tag/tag.component.d.ts +3 -0
- package/tag/tag.module.d.ts +8 -0
- package/theme/_var.scss +7 -10
- package/theme/style.css +2 -2
- package/theme/theme.module.d.ts +6 -0
- package/theme/theme.pipe.d.ts +9 -0
- package/theme/theme.service.d.ts +3 -0
- package/time-picker/component.d.ts +3 -0
- package/time-picker/panel/panel.component.d.ts +3 -0
- package/time-picker/time-picker.module.d.ts +15 -0
- package/tooltip/base-tooltip.d.ts +3 -0
- package/tooltip/public-api.d.ts +1 -0
- package/tooltip/tooltip-active.directive.d.ts +3 -0
- package/tooltip/tooltip-copy.directive.d.ts +3 -0
- package/tooltip/tooltip-intl.d.ts +3 -0
- package/tooltip/tooltip.component.d.ts +3 -0
- package/tooltip/tooltip.directive.d.ts +3 -0
- package/tooltip/tooltip.module.d.ts +10 -0
- package/tree-select/public-api.d.ts +0 -1
- package/tree-select/tree-node-placeholder.component.d.ts +3 -0
- package/tree-select/tree-select.component.d.ts +37 -3
- package/tree-select/tree-select.module.d.ts +10 -0
- package/utils/coercion.d.ts +1 -1
- package/utils/fn.d.ts +1 -1
- package/utils/observe-dom.d.ts +0 -1
- package/accordion/accordion-item/accordion-item.component.ngfactory.d.ts +0 -1
- package/accordion/accordion-item/accordion-item.component.scss.ngstyle.d.ts +0 -1
- package/accordion/accordion.component.ngfactory.d.ts +0 -1
- package/accordion/accordion.component.scss.ngstyle.d.ts +0 -1
- package/accordion/accordion.module.ngfactory.d.ts +0 -3
- package/alauda-ui.metadata.json +0 -1
- package/anchor/anchor.component.ngfactory.d.ts +0 -1
- package/anchor/anchor.component.scss.ngstyle.d.ts +0 -1
- package/anchor/anchor.module.ngfactory.d.ts +0 -3
- package/autocomplete/autocomplete-placeholder.component.ngfactory.d.ts +0 -1
- package/autocomplete/autocomplete.component.ngfactory.d.ts +0 -1
- package/autocomplete/autocomplete.component.scss.ngstyle.d.ts +0 -1
- package/autocomplete/autocomplete.module.ngfactory.d.ts +0 -3
- package/autocomplete/suggestion/suggestion.component.ngfactory.d.ts +0 -1
- package/autocomplete/suggestion/suggestion.component.scss.ngstyle.d.ts +0 -1
- package/autocomplete/suggestion-group/suggestion-group.component.ngfactory.d.ts +0 -1
- package/autocomplete/suggestion-group/suggestion-group.component.scss.ngstyle.d.ts +0 -1
- package/back-top/back-top.component.ngfactory.d.ts +0 -1
- package/back-top/back-top.component.scss.ngstyle.d.ts +0 -1
- package/back-top/back-top.module.ngfactory.d.ts +0 -3
- package/breadcrumb/breadcrumb-item.component.ngfactory.d.ts +0 -1
- package/breadcrumb/breadcrumb-item.component.scss.ngstyle.d.ts +0 -1
- package/breadcrumb/breadcrumb.component.ngfactory.d.ts +0 -1
- package/breadcrumb/breadcrumb.component.scss.ngstyle.d.ts +0 -1
- package/breadcrumb/breadcrumb.module.ngfactory.d.ts +0 -3
- package/bundles/alauda-ui.umd.js +0 -12812
- package/bundles/alauda-ui.umd.js.map +0 -1
- package/bundles/alauda-ui.umd.min.js +0 -2
- package/bundles/alauda-ui.umd.min.js.map +0 -1
- package/button/button-group/button-group.component.ngfactory.d.ts +0 -1
- package/button/button-group/button-group.component.scss.ngstyle.d.ts +0 -1
- package/button/button.component.ngfactory.d.ts +0 -1
- package/button/button.component.scss.ngstyle.d.ts +0 -1
- package/button/button.module.ngfactory.d.ts +0 -3
- package/card/card.component.ngfactory.d.ts +0 -1
- package/card/card.component.scss.ngstyle.d.ts +0 -1
- package/card/card.module.ngfactory.d.ts +0 -3
- package/card/section.component.ngfactory.d.ts +0 -1
- package/card/section.component.scss.ngstyle.d.ts +0 -1
- package/checkbox/checkbox-group/checkbox-group.component.ngfactory.d.ts +0 -1
- package/checkbox/checkbox-group/checkbox-group.component.scss.ngstyle.d.ts +0 -1
- package/checkbox/checkbox.component.ngfactory.d.ts +0 -1
- package/checkbox/checkbox.component.scss.ngstyle.d.ts +0 -1
- package/checkbox/checkbox.module.ngfactory.d.ts +0 -3
- package/color-picker/color-picker.component.ngfactory.d.ts +0 -1
- package/color-picker/color-picker.component.scss.ngstyle.d.ts +0 -1
- package/color-picker/color-picker.module.ngfactory.d.ts +0 -3
- package/date-picker/calendar/date-picker-panel/component.ngfactory.d.ts +0 -1
- package/date-picker/calendar/date-picker-panel/style.scss.ngstyle.d.ts +0 -1
- package/date-picker/calendar/footer/component.ngfactory.d.ts +0 -1
- package/date-picker/calendar/footer/style.scss.ngstyle.d.ts +0 -1
- package/date-picker/calendar/header/component.ngfactory.d.ts +0 -1
- package/date-picker/calendar/header/style.scss.ngstyle.d.ts +0 -1
- package/date-picker/calendar/panel/picker-panel.ngfactory.d.ts +0 -1
- package/date-picker/calendar/panel/picker-panel.style.scss.ngstyle.d.ts +0 -1
- package/date-picker/calendar/range-picker-panel/component.ngfactory.d.ts +0 -1
- package/date-picker/calendar/range-picker-panel/style.scss.ngstyle.d.ts +0 -1
- package/date-picker/date-picker/date-picker.component.ngfactory.d.ts +0 -1
- package/date-picker/date-picker/date-picker.style.scss.shim.ngstyle.d.ts +0 -1
- package/date-picker/date-picker.module.ngfactory.d.ts +0 -3
- package/date-picker/range-picker/range-picker.component.ngfactory.d.ts +0 -1
- package/date-picker/range-picker/range-picker.style.scss.shim.ngstyle.d.ts +0 -1
- package/date-picker/trigger/trigger.component.ngfactory.d.ts +0 -1
- package/date-picker/trigger/trigger.style.scss.shim.ngstyle.d.ts +0 -1
- package/dialog/confirm-dialog/confirm-dialog.component.ngfactory.d.ts +0 -1
- package/dialog/confirm-dialog/confirm-dialog.component.scss.ngstyle.d.ts +0 -1
- package/dialog/dialog-content/dialog-content.component.ngfactory.d.ts +0 -1
- package/dialog/dialog-content/dialog-footer.component.ngfactory.d.ts +0 -1
- package/dialog/dialog-content/dialog-header.component.ngfactory.d.ts +0 -1
- package/dialog/dialog.component.ngfactory.d.ts +0 -1
- package/dialog/dialog.component.scss.ngstyle.d.ts +0 -1
- package/dialog/dialog.module.ngfactory.d.ts +0 -3
- package/drawer/component/drawer.component.ngfactory.d.ts +0 -1
- package/drawer/component/drawer.component.scss.ngstyle.d.ts +0 -1
- package/drawer/drawer.module.ngfactory.d.ts +0 -3
- package/dropdown/dropdown-button/dropdown-button.component.ngfactory.d.ts +0 -1
- package/dropdown/dropdown-button/dropdown-button.component.scss.ngstyle.d.ts +0 -1
- package/dropdown/dropdown.module.ngfactory.d.ts +0 -3
- package/dropdown/menu/menu.component.ngfactory.d.ts +0 -1
- package/dropdown/menu/menu.component.scss.ngstyle.d.ts +0 -1
- package/dropdown/menu-group/menu-group.component.ngfactory.d.ts +0 -1
- package/dropdown/menu-group/menu-group.component.scss.ngstyle.d.ts +0 -1
- package/dropdown/menu-item/menu-item.component.ngfactory.d.ts +0 -1
- package/dropdown/menu-item/menu-item.component.scss.ngstyle.d.ts +0 -1
- package/dropdown/submenu/submenu.component.ngfactory.d.ts +0 -1
- package/dropdown/submenu/submenu.component.scss.ngstyle.d.ts +0 -1
- package/esm2015/accordion/accordion-item/accordion-item.component.js +0 -68
- package/esm2015/accordion/accordion-item/accordion-item.component.ngfactory.js +0 -28
- package/esm2015/accordion/accordion-item/accordion-item.component.ngsummary.json +0 -1
- package/esm2015/accordion/accordion-item/accordion-item.component.scss.ngstyle.js +0 -9
- package/esm2015/accordion/accordion.component.js +0 -28
- package/esm2015/accordion/accordion.component.ngfactory.js +0 -17
- package/esm2015/accordion/accordion.component.ngsummary.json +0 -1
- package/esm2015/accordion/accordion.component.scss.ngstyle.js +0 -9
- package/esm2015/accordion/accordion.module.js +0 -28
- package/esm2015/accordion/accordion.module.ngfactory.js +0 -18
- package/esm2015/accordion/accordion.module.ngsummary.json +0 -1
- package/esm2015/accordion/public-api.ngsummary.json +0 -1
- package/esm2015/alauda-ui.js +0 -25
- package/esm2015/alauda-ui.ngsummary.json +0 -1
- package/esm2015/anchor/anchor.component.js +0 -146
- package/esm2015/anchor/anchor.component.ngfactory.js +0 -40
- package/esm2015/anchor/anchor.component.ngsummary.json +0 -1
- package/esm2015/anchor/anchor.component.scss.ngstyle.js +0 -9
- package/esm2015/anchor/anchor.directive.js +0 -174
- package/esm2015/anchor/anchor.directive.ngsummary.json +0 -1
- package/esm2015/anchor/anchor.module.js +0 -25
- package/esm2015/anchor/anchor.module.ngfactory.js +0 -13
- package/esm2015/anchor/anchor.module.ngsummary.json +0 -1
- package/esm2015/anchor/public-api.ngsummary.json +0 -1
- package/esm2015/anchor/types.ngsummary.json +0 -1
- package/esm2015/anchor/utils.ngsummary.json +0 -1
- package/esm2015/autocomplete/autocomplete-placeholder.component.js +0 -13
- package/esm2015/autocomplete/autocomplete-placeholder.component.ngfactory.js +0 -16
- package/esm2015/autocomplete/autocomplete-placeholder.component.ngsummary.json +0 -1
- package/esm2015/autocomplete/autocomplete.component.js +0 -40
- package/esm2015/autocomplete/autocomplete.component.ngfactory.js +0 -22
- package/esm2015/autocomplete/autocomplete.component.ngsummary.json +0 -1
- package/esm2015/autocomplete/autocomplete.component.scss.ngstyle.js +0 -9
- package/esm2015/autocomplete/autocomplete.directive.js +0 -253
- package/esm2015/autocomplete/autocomplete.directive.ngsummary.json +0 -1
- package/esm2015/autocomplete/autocomplete.module.js +0 -36
- package/esm2015/autocomplete/autocomplete.module.ngfactory.js +0 -20
- package/esm2015/autocomplete/autocomplete.module.ngsummary.json +0 -1
- package/esm2015/autocomplete/autocomplete.types.ngsummary.json +0 -1
- package/esm2015/autocomplete/helper-directives.js +0 -13
- package/esm2015/autocomplete/helper-directives.ngsummary.json +0 -1
- package/esm2015/autocomplete/public-api.ngsummary.json +0 -1
- package/esm2015/autocomplete/suggestion/suggestion.component.js +0 -79
- package/esm2015/autocomplete/suggestion/suggestion.component.ngfactory.js +0 -22
- package/esm2015/autocomplete/suggestion/suggestion.component.ngsummary.json +0 -1
- package/esm2015/autocomplete/suggestion/suggestion.component.scss.ngstyle.js +0 -9
- package/esm2015/autocomplete/suggestion-group/suggestion-group.component.js +0 -25
- package/esm2015/autocomplete/suggestion-group/suggestion-group.component.ngfactory.js +0 -18
- package/esm2015/autocomplete/suggestion-group/suggestion-group.component.ngsummary.json +0 -1
- package/esm2015/autocomplete/suggestion-group/suggestion-group.component.scss.ngstyle.js +0 -9
- package/esm2015/back-top/back-top.component.js +0 -75
- package/esm2015/back-top/back-top.component.ngfactory.js +0 -25
- package/esm2015/back-top/back-top.component.ngsummary.json +0 -1
- package/esm2015/back-top/back-top.component.scss.ngstyle.js +0 -9
- package/esm2015/back-top/back-top.module.js +0 -14
- package/esm2015/back-top/back-top.module.ngfactory.js +0 -16
- package/esm2015/back-top/back-top.module.ngsummary.json +0 -1
- package/esm2015/back-top/public-api.ngsummary.json +0 -1
- package/esm2015/breadcrumb/breadcrumb-item.component.js +0 -36
- package/esm2015/breadcrumb/breadcrumb-item.component.ngfactory.js +0 -23
- package/esm2015/breadcrumb/breadcrumb-item.component.ngsummary.json +0 -1
- package/esm2015/breadcrumb/breadcrumb-item.component.scss.ngstyle.js +0 -9
- package/esm2015/breadcrumb/breadcrumb.component.js +0 -58
- package/esm2015/breadcrumb/breadcrumb.component.ngfactory.js +0 -17
- package/esm2015/breadcrumb/breadcrumb.component.ngsummary.json +0 -1
- package/esm2015/breadcrumb/breadcrumb.component.scss.ngstyle.js +0 -9
- package/esm2015/breadcrumb/breadcrumb.module.js +0 -15
- package/esm2015/breadcrumb/breadcrumb.module.ngfactory.js +0 -16
- package/esm2015/breadcrumb/breadcrumb.module.ngsummary.json +0 -1
- package/esm2015/breadcrumb/public-api.ngsummary.json +0 -1
- package/esm2015/button/button-group/button-group.component.js +0 -14
- package/esm2015/button/button-group/button-group.component.ngfactory.js +0 -17
- package/esm2015/button/button-group/button-group.component.ngsummary.json +0 -1
- package/esm2015/button/button-group/button-group.component.scss.ngstyle.js +0 -9
- package/esm2015/button/button.component.js +0 -124
- package/esm2015/button/button.component.ngfactory.js +0 -23
- package/esm2015/button/button.component.ngsummary.json +0 -1
- package/esm2015/button/button.component.scss.ngstyle.js +0 -9
- package/esm2015/button/button.module.js +0 -15
- package/esm2015/button/button.module.ngfactory.js +0 -16
- package/esm2015/button/button.module.ngsummary.json +0 -1
- package/esm2015/button/button.types.ngsummary.json +0 -1
- package/esm2015/button/public-api.ngsummary.json +0 -1
- package/esm2015/card/card.component.js +0 -20
- package/esm2015/card/card.component.ngfactory.js +0 -17
- package/esm2015/card/card.component.ngsummary.json +0 -1
- package/esm2015/card/card.component.scss.ngstyle.js +0 -9
- package/esm2015/card/card.module.js +0 -27
- package/esm2015/card/card.module.ngfactory.js +0 -12
- package/esm2015/card/card.module.ngsummary.json +0 -1
- package/esm2015/card/helper-directives.js +0 -33
- package/esm2015/card/helper-directives.ngsummary.json +0 -1
- package/esm2015/card/public-api.ngsummary.json +0 -1
- package/esm2015/card/section.component.js +0 -14
- package/esm2015/card/section.component.ngfactory.js +0 -17
- package/esm2015/card/section.component.ngsummary.json +0 -1
- package/esm2015/card/section.component.scss.ngstyle.js +0 -9
- package/esm2015/checkbox/checkbox-group/checkbox-group.component.js +0 -60
- package/esm2015/checkbox/checkbox-group/checkbox-group.component.ngfactory.js +0 -18
- package/esm2015/checkbox/checkbox-group/checkbox-group.component.ngsummary.json +0 -1
- package/esm2015/checkbox/checkbox-group/checkbox-group.component.scss.ngstyle.js +0 -9
- package/esm2015/checkbox/checkbox.component.js +0 -105
- package/esm2015/checkbox/checkbox.component.ngfactory.js +0 -30
- package/esm2015/checkbox/checkbox.component.ngsummary.json +0 -1
- package/esm2015/checkbox/checkbox.component.scss.ngstyle.js +0 -9
- package/esm2015/checkbox/checkbox.module.js +0 -15
- package/esm2015/checkbox/checkbox.module.ngfactory.js +0 -16
- package/esm2015/checkbox/checkbox.module.ngsummary.json +0 -1
- package/esm2015/checkbox/public-api.ngsummary.json +0 -1
- package/esm2015/color-picker/color-picker.component.js +0 -29
- package/esm2015/color-picker/color-picker.component.ngfactory.js +0 -22
- package/esm2015/color-picker/color-picker.component.ngsummary.json +0 -1
- package/esm2015/color-picker/color-picker.component.scss.ngstyle.js +0 -9
- package/esm2015/color-picker/color-picker.module.js +0 -14
- package/esm2015/color-picker/color-picker.module.ngfactory.js +0 -13
- package/esm2015/color-picker/color-picker.module.ngsummary.json +0 -1
- package/esm2015/color-picker/public-api.ngsummary.json +0 -1
- package/esm2015/date-picker/calendar/constant.ngsummary.json +0 -1
- package/esm2015/date-picker/calendar/date-picker-panel/component.js +0 -106
- package/esm2015/date-picker/calendar/date-picker-panel/component.ngfactory.js +0 -65
- package/esm2015/date-picker/calendar/date-picker-panel/component.ngsummary.json +0 -1
- package/esm2015/date-picker/calendar/date-picker-panel/style.scss.ngstyle.js +0 -9
- package/esm2015/date-picker/calendar/footer/component.js +0 -25
- package/esm2015/date-picker/calendar/footer/component.ngfactory.js +0 -32
- package/esm2015/date-picker/calendar/footer/component.ngsummary.json +0 -1
- package/esm2015/date-picker/calendar/footer/style.scss.ngstyle.js +0 -9
- package/esm2015/date-picker/calendar/header/component.js +0 -100
- package/esm2015/date-picker/calendar/header/component.ngfactory.js +0 -58
- package/esm2015/date-picker/calendar/header/component.ngsummary.json +0 -1
- package/esm2015/date-picker/calendar/header/style.scss.ngstyle.js +0 -9
- package/esm2015/date-picker/calendar/panel/picker-panel.js +0 -144
- package/esm2015/date-picker/calendar/panel/picker-panel.ngfactory.js +0 -34
- package/esm2015/date-picker/calendar/panel/picker-panel.ngsummary.json +0 -1
- package/esm2015/date-picker/calendar/panel/picker-panel.style.scss.ngstyle.js +0 -9
- package/esm2015/date-picker/calendar/range-picker-panel/component.js +0 -193
- package/esm2015/date-picker/calendar/range-picker-panel/component.ngfactory.js +0 -76
- package/esm2015/date-picker/calendar/range-picker-panel/component.ngsummary.json +0 -1
- package/esm2015/date-picker/calendar/range-picker-panel/style.scss.ngstyle.js +0 -9
- package/esm2015/date-picker/calendar/util.ngsummary.json +0 -1
- package/esm2015/date-picker/date-picker/date-picker.component.js +0 -84
- package/esm2015/date-picker/date-picker/date-picker.component.ngfactory.js +0 -49
- package/esm2015/date-picker/date-picker/date-picker.component.ngsummary.json +0 -1
- package/esm2015/date-picker/date-picker/date-picker.style.scss.shim.ngstyle.js +0 -9
- package/esm2015/date-picker/date-picker.module.js +0 -47
- package/esm2015/date-picker/date-picker.module.ngfactory.js +0 -31
- package/esm2015/date-picker/date-picker.module.ngsummary.json +0 -1
- package/esm2015/date-picker/date-picker.type.ngsummary.json +0 -1
- package/esm2015/date-picker/public-api.js +0 -11
- package/esm2015/date-picker/public-api.ngsummary.json +0 -1
- package/esm2015/date-picker/range-picker/range-picker.component.js +0 -66
- package/esm2015/date-picker/range-picker/range-picker.component.ngfactory.js +0 -49
- package/esm2015/date-picker/range-picker/range-picker.component.ngsummary.json +0 -1
- package/esm2015/date-picker/range-picker/range-picker.style.scss.shim.ngstyle.js +0 -9
- package/esm2015/date-picker/trigger/trigger.component.js +0 -61
- package/esm2015/date-picker/trigger/trigger.component.ngfactory.js +0 -66
- package/esm2015/date-picker/trigger/trigger.component.ngsummary.json +0 -1
- package/esm2015/date-picker/trigger/trigger.style.scss.shim.ngstyle.js +0 -9
- package/esm2015/dialog/confirm-dialog/confirm-dialog-config.ngsummary.json +0 -1
- package/esm2015/dialog/confirm-dialog/confirm-dialog.component.js +0 -95
- package/esm2015/dialog/confirm-dialog/confirm-dialog.component.ngfactory.js +0 -32
- package/esm2015/dialog/confirm-dialog/confirm-dialog.component.ngsummary.json +0 -1
- package/esm2015/dialog/confirm-dialog/confirm-dialog.component.scss.ngstyle.js +0 -9
- package/esm2015/dialog/dialog-config.ngsummary.json +0 -1
- package/esm2015/dialog/dialog-content/dialog-close.directive.js +0 -35
- package/esm2015/dialog/dialog-content/dialog-close.directive.ngsummary.json +0 -1
- package/esm2015/dialog/dialog-content/dialog-content.component.js +0 -27
- package/esm2015/dialog/dialog-content/dialog-content.component.ngfactory.js +0 -18
- package/esm2015/dialog/dialog-content/dialog-content.component.ngsummary.json +0 -1
- package/esm2015/dialog/dialog-content/dialog-footer.component.js +0 -17
- package/esm2015/dialog/dialog-content/dialog-footer.component.ngfactory.js +0 -16
- package/esm2015/dialog/dialog-content/dialog-footer.component.ngsummary.json +0 -1
- package/esm2015/dialog/dialog-content/dialog-header.component.js +0 -41
- package/esm2015/dialog/dialog-content/dialog-header.component.ngfactory.js +0 -26
- package/esm2015/dialog/dialog-content/dialog-header.component.ngsummary.json +0 -1
- package/esm2015/dialog/dialog-ref.ngsummary.json +0 -1
- package/esm2015/dialog/dialog.component.js +0 -64
- package/esm2015/dialog/dialog.component.ngfactory.js +0 -20
- package/esm2015/dialog/dialog.component.ngsummary.json +0 -1
- package/esm2015/dialog/dialog.component.scss.ngstyle.js +0 -9
- package/esm2015/dialog/dialog.module.js +0 -44
- package/esm2015/dialog/dialog.module.ngfactory.js +0 -25
- package/esm2015/dialog/dialog.module.ngsummary.json +0 -1
- package/esm2015/dialog/dialog.service.js +0 -132
- package/esm2015/dialog/dialog.service.ngsummary.json +0 -1
- package/esm2015/dialog/dialog.types.ngsummary.json +0 -1
- package/esm2015/dialog/public-api.js +0 -11
- package/esm2015/dialog/public-api.ngsummary.json +0 -1
- package/esm2015/dialog/utils/errors.ngsummary.json +0 -1
- package/esm2015/dialog/utils/index.js +0 -11
- package/esm2015/dialog/utils/index.ngsummary.json +0 -1
- package/esm2015/drawer/component/drawer-ref.ngsummary.json +0 -1
- package/esm2015/drawer/component/drawer.component.js +0 -210
- package/esm2015/drawer/component/drawer.component.ngfactory.js +0 -42
- package/esm2015/drawer/component/drawer.component.ngsummary.json +0 -1
- package/esm2015/drawer/component/drawer.component.scss.ngstyle.js +0 -9
- package/esm2015/drawer/component/helper-directives.js +0 -27
- package/esm2015/drawer/component/helper-directives.ngsummary.json +0 -1
- package/esm2015/drawer/drawer.module.js +0 -26
- package/esm2015/drawer/drawer.module.ngfactory.js +0 -23
- package/esm2015/drawer/drawer.module.ngsummary.json +0 -1
- package/esm2015/drawer/drawer.service.js +0 -46
- package/esm2015/drawer/drawer.service.ngsummary.json +0 -1
- package/esm2015/drawer/public-api.ngsummary.json +0 -1
- package/esm2015/dropdown/dropdown-active.directive.js +0 -13
- package/esm2015/dropdown/dropdown-active.directive.ngsummary.json +0 -1
- package/esm2015/dropdown/dropdown-button/dropdown-button.component.js +0 -46
- package/esm2015/dropdown/dropdown-button/dropdown-button.component.ngfactory.js +0 -29
- package/esm2015/dropdown/dropdown-button/dropdown-button.component.ngsummary.json +0 -1
- package/esm2015/dropdown/dropdown-button/dropdown-button.component.scss.ngstyle.js +0 -9
- package/esm2015/dropdown/dropdown.directive.js +0 -73
- package/esm2015/dropdown/dropdown.directive.ngsummary.json +0 -1
- package/esm2015/dropdown/dropdown.module.js +0 -44
- package/esm2015/dropdown/dropdown.module.ngfactory.js +0 -25
- package/esm2015/dropdown/dropdown.module.ngsummary.json +0 -1
- package/esm2015/dropdown/dropdown.types.ngsummary.json +0 -1
- package/esm2015/dropdown/helper-directives.js +0 -13
- package/esm2015/dropdown/helper-directives.ngsummary.json +0 -1
- package/esm2015/dropdown/menu/menu-content.directive.js +0 -54
- package/esm2015/dropdown/menu/menu-content.directive.ngsummary.json +0 -1
- package/esm2015/dropdown/menu/menu.component.js +0 -32
- package/esm2015/dropdown/menu/menu.component.ngfactory.js +0 -18
- package/esm2015/dropdown/menu/menu.component.ngsummary.json +0 -1
- package/esm2015/dropdown/menu/menu.component.scss.ngstyle.js +0 -9
- package/esm2015/dropdown/menu-group/menu-group.component.js +0 -14
- package/esm2015/dropdown/menu-group/menu-group.component.ngfactory.js +0 -17
- package/esm2015/dropdown/menu-group/menu-group.component.ngsummary.json +0 -1
- package/esm2015/dropdown/menu-group/menu-group.component.scss.ngstyle.js +0 -9
- package/esm2015/dropdown/menu-item/menu-item.component.js +0 -38
- package/esm2015/dropdown/menu-item/menu-item.component.ngfactory.js +0 -17
- package/esm2015/dropdown/menu-item/menu-item.component.ngsummary.json +0 -1
- package/esm2015/dropdown/menu-item/menu-item.component.scss.ngstyle.js +0 -9
- package/esm2015/dropdown/public-api.js +0 -11
- package/esm2015/dropdown/public-api.ngsummary.json +0 -1
- package/esm2015/dropdown/submenu/submenu.component.js +0 -37
- package/esm2015/dropdown/submenu/submenu.component.ngfactory.js +0 -29
- package/esm2015/dropdown/submenu/submenu.component.ngsummary.json +0 -1
- package/esm2015/dropdown/submenu/submenu.component.scss.ngstyle.js +0 -9
- package/esm2015/form/common-form.js +0 -89
- package/esm2015/form/common-form.ngsummary.json +0 -1
- package/esm2015/form/form-item/form-item.component.js +0 -93
- package/esm2015/form/form-item/form-item.component.ngfactory.js +0 -23
- package/esm2015/form/form-item/form-item.component.ngsummary.json +0 -1
- package/esm2015/form/form-item/form-item.component.scss.ngstyle.js +0 -9
- package/esm2015/form/form.directive.js +0 -58
- package/esm2015/form/form.directive.ngsummary.json +0 -1
- package/esm2015/form/form.module.js +0 -31
- package/esm2015/form/form.module.ngfactory.js +0 -12
- package/esm2015/form/form.module.ngsummary.json +0 -1
- package/esm2015/form/form.types.ngsummary.json +0 -1
- package/esm2015/form/helper-directives.js +0 -66
- package/esm2015/form/helper-directives.ngsummary.json +0 -1
- package/esm2015/form/public-api.ngsummary.json +0 -1
- package/esm2015/i18n/i18n.module.js +0 -11
- package/esm2015/i18n/i18n.module.ngfactory.js +0 -11
- package/esm2015/i18n/i18n.module.ngsummary.json +0 -1
- package/esm2015/i18n/i18n.pipe.js +0 -19
- package/esm2015/i18n/i18n.pipe.ngsummary.json +0 -1
- package/esm2015/i18n/i18n.service.js +0 -43
- package/esm2015/i18n/i18n.service.ngsummary.json +0 -1
- package/esm2015/i18n/i18n.type.js +0 -6
- package/esm2015/i18n/i18n.type.ngsummary.json +0 -1
- package/esm2015/i18n/language/en.ngsummary.json +0 -1
- package/esm2015/i18n/language/zh.ngsummary.json +0 -1
- package/esm2015/i18n/public-api.ngsummary.json +0 -1
- package/esm2015/icon/icon-register.service.js +0 -63
- package/esm2015/icon/icon-register.service.ngsummary.json +0 -1
- package/esm2015/icon/icon.component.js +0 -62
- package/esm2015/icon/icon.component.ngfactory.js +0 -25
- package/esm2015/icon/icon.component.ngsummary.json +0 -1
- package/esm2015/icon/icon.component.scss.ngstyle.js +0 -9
- package/esm2015/icon/icon.module.js +0 -16
- package/esm2015/icon/icon.module.ngfactory.js +0 -15
- package/esm2015/icon/icon.module.ngsummary.json +0 -1
- package/esm2015/icon/icons.ngsummary.json +0 -1
- package/esm2015/icon/public-api.ngsummary.json +0 -1
- package/esm2015/icon/utils.ngsummary.json +0 -1
- package/esm2015/inline-alert/helper-directives.js +0 -10
- package/esm2015/inline-alert/helper-directives.ngsummary.json +0 -1
- package/esm2015/inline-alert/inline-alert.component.js +0 -51
- package/esm2015/inline-alert/inline-alert.component.ngfactory.js +0 -29
- package/esm2015/inline-alert/inline-alert.component.ngsummary.json +0 -1
- package/esm2015/inline-alert/inline-alert.component.scss.ngstyle.js +0 -9
- package/esm2015/inline-alert/inline-alert.module.js +0 -15
- package/esm2015/inline-alert/inline-alert.module.ngfactory.js +0 -16
- package/esm2015/inline-alert/inline-alert.module.ngsummary.json +0 -1
- package/esm2015/inline-alert/inline-alert.types.ngsummary.json +0 -1
- package/esm2015/inline-alert/public-api.ngsummary.json +0 -1
- package/esm2015/input/autosize.directive.js +0 -61
- package/esm2015/input/autosize.directive.ngsummary.json +0 -1
- package/esm2015/input/helper-directives.js +0 -30
- package/esm2015/input/helper-directives.ngsummary.json +0 -1
- package/esm2015/input/input-group/input-group.component.js +0 -33
- package/esm2015/input/input-group/input-group.component.ngfactory.js +0 -22
- package/esm2015/input/input-group/input-group.component.ngsummary.json +0 -1
- package/esm2015/input/input-group/input-group.component.scss.ngstyle.js +0 -9
- package/esm2015/input/input.component.js +0 -69
- package/esm2015/input/input.component.ngfactory.js +0 -17
- package/esm2015/input/input.component.ngsummary.json +0 -1
- package/esm2015/input/input.component.scss.ngstyle.js +0 -9
- package/esm2015/input/input.module.js +0 -54
- package/esm2015/input/input.module.ngfactory.js +0 -20
- package/esm2015/input/input.module.ngsummary.json +0 -1
- package/esm2015/input/number-input/number-input.component.js +0 -83
- package/esm2015/input/number-input/number-input.component.ngfactory.js +0 -51
- package/esm2015/input/number-input/number-input.component.ngsummary.json +0 -1
- package/esm2015/input/number-input/number-input.component.scss.ngstyle.js +0 -9
- package/esm2015/input/public-api.js +0 -7
- package/esm2015/input/public-api.ngsummary.json +0 -1
- package/esm2015/input/search/search.component.js +0 -72
- package/esm2015/input/search/search.component.ngfactory.js +0 -51
- package/esm2015/input/search/search.component.ngsummary.json +0 -1
- package/esm2015/input/search/search.component.scss.ngstyle.js +0 -9
- package/esm2015/input/tags-input/tags-input.component.js +0 -252
- package/esm2015/input/tags-input/tags-input.component.ngfactory.js +0 -45
- package/esm2015/input/tags-input/tags-input.component.ngsummary.json +0 -1
- package/esm2015/input/tags-input/tags-input.component.scss.ngstyle.js +0 -9
- package/esm2015/input/tags-input/with-max-row-count.ngsummary.json +0 -1
- package/esm2015/input/utils/index.ngsummary.json +0 -1
- package/esm2015/message/base-message.js +0 -87
- package/esm2015/message/base-message.ngsummary.json +0 -1
- package/esm2015/message/message-animations.ngsummary.json +0 -1
- package/esm2015/message/message-wrapper.component.js +0 -20
- package/esm2015/message/message-wrapper.component.ngfactory.js +0 -17
- package/esm2015/message/message-wrapper.component.ngsummary.json +0 -1
- package/esm2015/message/message-wrapper.component.scss.ngstyle.js +0 -9
- package/esm2015/message/message.component.js +0 -77
- package/esm2015/message/message.component.ngfactory.js +0 -23
- package/esm2015/message/message.component.ngsummary.json +0 -1
- package/esm2015/message/message.component.scss.ngstyle.js +0 -9
- package/esm2015/message/message.config.ngsummary.json +0 -1
- package/esm2015/message/message.module.js +0 -18
- package/esm2015/message/message.module.ngfactory.js +0 -25
- package/esm2015/message/message.module.ngsummary.json +0 -1
- package/esm2015/message/message.service.js +0 -22
- package/esm2015/message/message.service.ngsummary.json +0 -1
- package/esm2015/message/public-api.ngsummary.json +0 -1
- package/esm2015/notification/notification-wrapper.component.js +0 -22
- package/esm2015/notification/notification-wrapper.component.ngfactory.js +0 -17
- package/esm2015/notification/notification-wrapper.component.ngsummary.json +0 -1
- package/esm2015/notification/notification-wrapper.component.scss.ngstyle.js +0 -9
- package/esm2015/notification/notification.component.js +0 -106
- package/esm2015/notification/notification.component.ngfactory.js +0 -42
- package/esm2015/notification/notification.component.ngsummary.json +0 -1
- package/esm2015/notification/notification.component.scss.ngstyle.js +0 -9
- package/esm2015/notification/notification.config.ngsummary.json +0 -1
- package/esm2015/notification/notification.module.js +0 -19
- package/esm2015/notification/notification.module.ngfactory.js +0 -25
- package/esm2015/notification/notification.module.ngsummary.json +0 -1
- package/esm2015/notification/notification.service.js +0 -22
- package/esm2015/notification/notification.service.ngsummary.json +0 -1
- package/esm2015/notification/public-api.ngsummary.json +0 -1
- package/esm2015/paginator/paginator-intl.js +0 -33
- package/esm2015/paginator/paginator-intl.ngsummary.json +0 -1
- package/esm2015/paginator/paginator.component.js +0 -118
- package/esm2015/paginator/paginator.component.ngfactory.js +0 -73
- package/esm2015/paginator/paginator.component.ngsummary.json +0 -1
- package/esm2015/paginator/paginator.component.scss.ngstyle.js +0 -9
- package/esm2015/paginator/paginator.module.js +0 -19
- package/esm2015/paginator/paginator.module.ngfactory.js +0 -32
- package/esm2015/paginator/paginator.module.ngsummary.json +0 -1
- package/esm2015/paginator/public-api.ngsummary.json +0 -1
- package/esm2015/public-api.ngsummary.json +0 -1
- package/esm2015/radio/base-radio.js +0 -69
- package/esm2015/radio/base-radio.ngsummary.json +0 -1
- package/esm2015/radio/public-api.ngsummary.json +0 -1
- package/esm2015/radio/radio-button/radio-button.component.js +0 -48
- package/esm2015/radio/radio-button/radio-button.component.ngfactory.js +0 -30
- package/esm2015/radio/radio-button/radio-button.component.ngsummary.json +0 -1
- package/esm2015/radio/radio-button/radio-button.component.scss.ngstyle.js +0 -9
- package/esm2015/radio/radio-group/radio-group.component.js +0 -75
- package/esm2015/radio/radio-group/radio-group.component.ngfactory.js +0 -18
- package/esm2015/radio/radio-group/radio-group.component.ngsummary.json +0 -1
- package/esm2015/radio/radio-group/radio-group.component.scss.ngstyle.js +0 -9
- package/esm2015/radio/radio.component.js +0 -31
- package/esm2015/radio/radio.component.ngfactory.js +0 -26
- package/esm2015/radio/radio.component.ngsummary.json +0 -1
- package/esm2015/radio/radio.component.scss.ngstyle.js +0 -9
- package/esm2015/radio/radio.module.js +0 -16
- package/esm2015/radio/radio.module.ngfactory.js +0 -16
- package/esm2015/radio/radio.module.ngsummary.json +0 -1
- package/esm2015/radio/radio.types.ngsummary.json +0 -1
- package/esm2015/scrolling/fixed-size-table-virtual-scroll-strategy.js +0 -81
- package/esm2015/scrolling/fixed-size-table-virtual-scroll-strategy.ngsummary.json +0 -1
- package/esm2015/scrolling/fixed-size-table-virtual-scroll.directive.js +0 -108
- package/esm2015/scrolling/fixed-size-table-virtual-scroll.directive.ngsummary.json +0 -1
- package/esm2015/scrolling/fixed-size-virtual-scroll.directive.js +0 -20
- package/esm2015/scrolling/fixed-size-virtual-scroll.directive.ngsummary.json +0 -1
- package/esm2015/scrolling/public-api.js +0 -6
- package/esm2015/scrolling/public-api.ngsummary.json +0 -1
- package/esm2015/scrolling/scrolling.module.js +0 -21
- package/esm2015/scrolling/scrolling.module.ngfactory.js +0 -11
- package/esm2015/scrolling/scrolling.module.ngsummary.json +0 -1
- package/esm2015/scrolling/virtual-for-of.directive.js +0 -30
- package/esm2015/scrolling/virtual-for-of.directive.ngsummary.json +0 -1
- package/esm2015/scrolling/virtual-scroll-viewport.component.js +0 -26
- package/esm2015/scrolling/virtual-scroll-viewport.component.ngfactory.js +0 -19
- package/esm2015/scrolling/virtual-scroll-viewport.component.ngsummary.json +0 -1
- package/esm2015/scrolling/virtual-scroll-viewport.component.scss.ngstyle.js +0 -9
- package/esm2015/select/base-select.js +0 -311
- package/esm2015/select/base-select.ngsummary.json +0 -1
- package/esm2015/select/helper-directives.js +0 -22
- package/esm2015/select/helper-directives.ngsummary.json +0 -1
- package/esm2015/select/multi-select/multi-select.component.js +0 -276
- package/esm2015/select/multi-select/multi-select.component.ngfactory.js +0 -76
- package/esm2015/select/multi-select/multi-select.component.ngsummary.json +0 -1
- package/esm2015/select/multi-select/multi-select.component.scss.ngstyle.js +0 -9
- package/esm2015/select/option/option.component.js +0 -107
- package/esm2015/select/option/option.component.ngfactory.js +0 -26
- package/esm2015/select/option/option.component.ngsummary.json +0 -1
- package/esm2015/select/option/option.component.scss.ngstyle.js +0 -9
- package/esm2015/select/option-group/option-group.component.js +0 -25
- package/esm2015/select/option-group/option-group.component.ngfactory.js +0 -18
- package/esm2015/select/option-group/option-group.component.ngsummary.json +0 -1
- package/esm2015/select/option-group/option-group.component.scss.ngstyle.js +0 -9
- package/esm2015/select/option-placeholder.component.js +0 -13
- package/esm2015/select/option-placeholder.component.ngfactory.js +0 -16
- package/esm2015/select/option-placeholder.component.ngsummary.json +0 -1
- package/esm2015/select/public-api.ngsummary.json +0 -1
- package/esm2015/select/select.component.js +0 -95
- package/esm2015/select/select.component.ngfactory.js +0 -63
- package/esm2015/select/select.component.ngsummary.json +0 -1
- package/esm2015/select/select.component.scss.ngstyle.js +0 -9
- package/esm2015/select/select.module.js +0 -49
- package/esm2015/select/select.module.ngfactory.js +0 -30
- package/esm2015/select/select.module.ngsummary.json +0 -1
- package/esm2015/select/select.types.ngsummary.json +0 -1
- package/esm2015/select/validators.js +0 -72
- package/esm2015/select/validators.ngsummary.json +0 -1
- package/esm2015/shared/click-outside.directive.js +0 -26
- package/esm2015/shared/click-outside.directive.ngsummary.json +0 -1
- package/esm2015/shared/shared.module.js +0 -11
- package/esm2015/shared/shared.module.ngfactory.js +0 -11
- package/esm2015/shared/shared.module.ngsummary.json +0 -1
- package/esm2015/sort/public-api.ngsummary.json +0 -1
- package/esm2015/sort/sort-errors.ngsummary.json +0 -1
- package/esm2015/sort/sort-header.component.js +0 -76
- package/esm2015/sort/sort-header.component.ngfactory.js +0 -22
- package/esm2015/sort/sort-header.component.ngsummary.json +0 -1
- package/esm2015/sort/sort-header.component.scss.ngstyle.js +0 -9
- package/esm2015/sort/sort.directive.js +0 -69
- package/esm2015/sort/sort.directive.ngsummary.json +0 -1
- package/esm2015/sort/sort.module.js +0 -14
- package/esm2015/sort/sort.module.ngfactory.js +0 -12
- package/esm2015/sort/sort.module.ngsummary.json +0 -1
- package/esm2015/sort/sort.types.ngsummary.json +0 -1
- package/esm2015/status-bar/public-api.ngsummary.json +0 -1
- package/esm2015/status-bar/status-bar.component.js +0 -28
- package/esm2015/status-bar/status-bar.component.ngfactory.js +0 -26
- package/esm2015/status-bar/status-bar.component.ngsummary.json +0 -1
- package/esm2015/status-bar/status-bar.component.scss.ngstyle.js +0 -9
- package/esm2015/status-bar/status-bar.module.js +0 -14
- package/esm2015/status-bar/status-bar.module.ngfactory.js +0 -20
- package/esm2015/status-bar/status-bar.module.ngsummary.json +0 -1
- package/esm2015/status-bar/status-bar.types.ngsummary.json +0 -1
- package/esm2015/steps/public-api.ngsummary.json +0 -1
- package/esm2015/steps/steps.component.js +0 -179
- package/esm2015/steps/steps.component.ngfactory.js +0 -34
- package/esm2015/steps/steps.component.ngsummary.json +0 -1
- package/esm2015/steps/steps.component.scss.ngstyle.js +0 -9
- package/esm2015/steps/steps.module.js +0 -14
- package/esm2015/steps/steps.module.ngfactory.js +0 -16
- package/esm2015/steps/steps.module.ngsummary.json +0 -1
- package/esm2015/steps/types.ngsummary.json +0 -1
- package/esm2015/switch/public-api.ngsummary.json +0 -1
- package/esm2015/switch/switch.component.js +0 -47
- package/esm2015/switch/switch.component.ngfactory.js +0 -25
- package/esm2015/switch/switch.component.ngsummary.json +0 -1
- package/esm2015/switch/switch.component.scss.ngstyle.js +0 -9
- package/esm2015/switch/switch.module.js +0 -13
- package/esm2015/switch/switch.module.ngfactory.js +0 -12
- package/esm2015/switch/switch.module.ngsummary.json +0 -1
- package/esm2015/table/public-api.js +0 -13
- package/esm2015/table/public-api.ngsummary.json +0 -1
- package/esm2015/table/table-cell-def.directive.js +0 -20
- package/esm2015/table/table-cell-def.directive.ngsummary.json +0 -1
- package/esm2015/table/table-cell.component.js +0 -82
- package/esm2015/table/table-cell.component.ngfactory.js +0 -32
- package/esm2015/table/table-cell.component.ngsummary.json +0 -1
- package/esm2015/table/table-cell.directive.js +0 -26
- package/esm2015/table/table-cell.directive.ngsummary.json +0 -1
- package/esm2015/table/table-column-def.directive.js +0 -29
- package/esm2015/table/table-column-def.directive.ngsummary.json +0 -1
- package/esm2015/table/table-header-cell-def.directive.js +0 -20
- package/esm2015/table/table-header-cell-def.directive.ngsummary.json +0 -1
- package/esm2015/table/table-header-cell.directive.js +0 -26
- package/esm2015/table/table-header-cell.directive.ngsummary.json +0 -1
- package/esm2015/table/table-header-row-def.directive.js +0 -24
- package/esm2015/table/table-header-row-def.directive.ngsummary.json +0 -1
- package/esm2015/table/table-header-row.component.js +0 -20
- package/esm2015/table/table-header-row.component.ngfactory.js +0 -17
- package/esm2015/table/table-header-row.component.ngsummary.json +0 -1
- package/esm2015/table/table-placeholder.directive.js +0 -30
- package/esm2015/table/table-placeholder.directive.ngsummary.json +0 -1
- package/esm2015/table/table-row-def.directive.js +0 -25
- package/esm2015/table/table-row-def.directive.ngsummary.json +0 -1
- package/esm2015/table/table-row.component.js +0 -37
- package/esm2015/table/table-row.component.ngfactory.js +0 -17
- package/esm2015/table/table-row.component.ngsummary.json +0 -1
- package/esm2015/table/table-scroll.directive.js +0 -84
- package/esm2015/table/table-scroll.directive.ngsummary.json +0 -1
- package/esm2015/table/table-scroll.scss.ngstyle.js +0 -9
- package/esm2015/table/table.component.js +0 -69
- package/esm2015/table/table.component.ngfactory.js +0 -25
- package/esm2015/table/table.component.ngsummary.json +0 -1
- package/esm2015/table/table.component.scss.ngstyle.js +0 -9
- package/esm2015/table/table.module.js +0 -61
- package/esm2015/table/table.module.ngfactory.js +0 -20
- package/esm2015/table/table.module.ngsummary.json +0 -1
- package/esm2015/table-of-contents/public-api.ngsummary.json +0 -1
- package/esm2015/table-of-contents/table-of-contents.module.js +0 -15
- package/esm2015/table-of-contents/table-of-contents.module.ngfactory.js +0 -12
- package/esm2015/table-of-contents/table-of-contents.module.ngsummary.json +0 -1
- package/esm2015/table-of-contents/toc-container.directive.js +0 -109
- package/esm2015/table-of-contents/toc-container.directive.ngsummary.json +0 -1
- package/esm2015/table-of-contents/toc-content.directive.js +0 -32
- package/esm2015/table-of-contents/toc-content.directive.ngsummary.json +0 -1
- package/esm2015/table-of-contents/toc-link.directive.js +0 -43
- package/esm2015/table-of-contents/toc-link.directive.ngsummary.json +0 -1
- package/esm2015/tabs/public-api.js +0 -10
- package/esm2015/tabs/public-api.ngsummary.json +0 -1
- package/esm2015/tabs/tab-body.component.js +0 -35
- package/esm2015/tabs/tab-body.component.ngfactory.js +0 -18
- package/esm2015/tabs/tab-body.component.ngsummary.json +0 -1
- package/esm2015/tabs/tab-context.service.js +0 -28
- package/esm2015/tabs/tab-context.service.ngsummary.json +0 -1
- package/esm2015/tabs/tab-directives.js +0 -142
- package/esm2015/tabs/tab-directives.ngsummary.json +0 -1
- package/esm2015/tabs/tab-group.component.js +0 -277
- package/esm2015/tabs/tab-group.component.ngfactory.js +0 -56
- package/esm2015/tabs/tab-group.component.ngsummary.json +0 -1
- package/esm2015/tabs/tab-group.component.scss.ngstyle.js +0 -9
- package/esm2015/tabs/tab-header-active-indicator.component.js +0 -59
- package/esm2015/tabs/tab-header-active-indicator.component.ngfactory.js +0 -17
- package/esm2015/tabs/tab-header-active-indicator.component.ngsummary.json +0 -1
- package/esm2015/tabs/tab-header.component.js +0 -348
- package/esm2015/tabs/tab-header.component.ngfactory.js +0 -44
- package/esm2015/tabs/tab-header.component.ngsummary.json +0 -1
- package/esm2015/tabs/tab-header.component.scss.ngstyle.js +0 -9
- package/esm2015/tabs/tab.component.js +0 -82
- package/esm2015/tabs/tab.component.ngfactory.js +0 -18
- package/esm2015/tabs/tab.component.ngsummary.json +0 -1
- package/esm2015/tabs/tabs.module.js +0 -53
- package/esm2015/tabs/tabs.module.ngfactory.js +0 -22
- package/esm2015/tabs/tabs.module.ngsummary.json +0 -1
- package/esm2015/tabs/tabs.types.ngsummary.json +0 -1
- package/esm2015/tag/check-tag/check-tag.component.js +0 -34
- package/esm2015/tag/check-tag/check-tag.component.ngfactory.js +0 -27
- package/esm2015/tag/check-tag/check-tag.component.ngsummary.json +0 -1
- package/esm2015/tag/check-tag/check-tag.component.scss.ngstyle.js +0 -9
- package/esm2015/tag/public-api.ngsummary.json +0 -1
- package/esm2015/tag/tag.component.js +0 -57
- package/esm2015/tag/tag.component.ngfactory.js +0 -26
- package/esm2015/tag/tag.component.ngsummary.json +0 -1
- package/esm2015/tag/tag.component.scss.ngstyle.js +0 -9
- package/esm2015/tag/tag.module.js +0 -15
- package/esm2015/tag/tag.module.ngfactory.js +0 -16
- package/esm2015/tag/tag.module.ngsummary.json +0 -1
- package/esm2015/tag/tag.types.ngsummary.json +0 -1
- package/esm2015/theme/public-api.ngsummary.json +0 -1
- package/esm2015/theme/theme.module.js +0 -13
- package/esm2015/theme/theme.module.ngfactory.js +0 -12
- package/esm2015/theme/theme.module.ngsummary.json +0 -1
- package/esm2015/theme/theme.pipe.js +0 -61
- package/esm2015/theme/theme.pipe.ngsummary.json +0 -1
- package/esm2015/theme/theme.service.js +0 -52
- package/esm2015/theme/theme.service.ngsummary.json +0 -1
- package/esm2015/theme/theme.types.ngsummary.json +0 -1
- package/esm2015/theme/utils.ngsummary.json +0 -1
- package/esm2015/time-picker/component.js +0 -149
- package/esm2015/time-picker/component.ngfactory.js +0 -82
- package/esm2015/time-picker/component.ngsummary.json +0 -1
- package/esm2015/time-picker/constant.js +0 -9
- package/esm2015/time-picker/constant.ngsummary.json +0 -1
- package/esm2015/time-picker/panel/panel.component.js +0 -211
- package/esm2015/time-picker/panel/panel.component.ngfactory.js +0 -49
- package/esm2015/time-picker/panel/panel.component.ngsummary.json +0 -1
- package/esm2015/time-picker/panel/panel.style.scss.ngstyle.js +0 -9
- package/esm2015/time-picker/public-api.ngsummary.json +0 -1
- package/esm2015/time-picker/style.scss.ngstyle.js +0 -9
- package/esm2015/time-picker/time-picker.module.js +0 -33
- package/esm2015/time-picker/time-picker.module.ngfactory.js +0 -30
- package/esm2015/time-picker/time-picker.module.ngsummary.json +0 -1
- package/esm2015/time-picker/time-picker.type.js +0 -13
- package/esm2015/time-picker/time-picker.type.ngsummary.json +0 -1
- package/esm2015/tooltip/base-tooltip.js +0 -255
- package/esm2015/tooltip/base-tooltip.ngsummary.json +0 -1
- package/esm2015/tooltip/public-api.js +0 -8
- package/esm2015/tooltip/public-api.ngsummary.json +0 -1
- package/esm2015/tooltip/tooltip-active.directive.js +0 -44
- package/esm2015/tooltip/tooltip-active.directive.ngsummary.json +0 -1
- package/esm2015/tooltip/tooltip-copy.directive.js +0 -80
- package/esm2015/tooltip/tooltip-copy.directive.ngsummary.json +0 -1
- package/esm2015/tooltip/tooltip-intl.js +0 -25
- package/esm2015/tooltip/tooltip-intl.ngsummary.json +0 -1
- package/esm2015/tooltip/tooltip.component.js +0 -55
- package/esm2015/tooltip/tooltip.component.ngfactory.js +0 -25
- package/esm2015/tooltip/tooltip.component.ngsummary.json +0 -1
- package/esm2015/tooltip/tooltip.component.scss.ngstyle.js +0 -9
- package/esm2015/tooltip/tooltip.directive.js +0 -45
- package/esm2015/tooltip/tooltip.directive.ngsummary.json +0 -1
- package/esm2015/tooltip/tooltip.module.js +0 -25
- package/esm2015/tooltip/tooltip.module.ngfactory.js +0 -19
- package/esm2015/tooltip/tooltip.module.ngsummary.json +0 -1
- package/esm2015/tooltip/tooltip.types.ngsummary.json +0 -1
- package/esm2015/tooltip/utils/index.ngsummary.json +0 -1
- package/esm2015/tree-select/public-api.js +0 -6
- package/esm2015/tree-select/public-api.ngsummary.json +0 -1
- package/esm2015/tree-select/tree-node/tree-node.component.js +0 -127
- package/esm2015/tree-select/tree-node/tree-node.component.ngfactory.js +0 -32
- package/esm2015/tree-select/tree-node/tree-node.component.ngsummary.json +0 -1
- package/esm2015/tree-select/tree-node/tree-node.component.scss.ngstyle.js +0 -9
- package/esm2015/tree-select/tree-node-placeholder.component.js +0 -13
- package/esm2015/tree-select/tree-node-placeholder.component.ngfactory.js +0 -16
- package/esm2015/tree-select/tree-node-placeholder.component.ngsummary.json +0 -1
- package/esm2015/tree-select/tree-select.component.js +0 -204
- package/esm2015/tree-select/tree-select.component.ngfactory.js +0 -56
- package/esm2015/tree-select/tree-select.component.ngsummary.json +0 -1
- package/esm2015/tree-select/tree-select.component.scss.ngstyle.js +0 -9
- package/esm2015/tree-select/tree-select.module.js +0 -26
- package/esm2015/tree-select/tree-select.module.ngfactory.js +0 -29
- package/esm2015/tree-select/tree-select.module.ngsummary.json +0 -1
- package/esm2015/tree-select/tree-select.types.ngsummary.json +0 -1
- package/esm2015/types.ngsummary.json +0 -1
- package/esm2015/utils/async.ngsummary.json +0 -1
- package/esm2015/utils/bem.ngsummary.json +0 -1
- package/esm2015/utils/coercion.js +0 -16
- package/esm2015/utils/coercion.ngsummary.json +0 -1
- package/esm2015/utils/fn.js +0 -8
- package/esm2015/utils/fn.ngsummary.json +0 -1
- package/esm2015/utils/index.ngsummary.json +0 -1
- package/esm2015/utils/observe-dom.ngsummary.json +0 -1
- package/esm2015/utils/scroll-into-view.ngsummary.json +0 -1
- package/esm2015/utils/watch-content-exist.ngsummary.json +0 -1
- package/fesm2015/alauda-ui.js +0 -10768
- package/fesm2015/alauda-ui.js.map +0 -1
- package/form/form-item/form-item.component.ngfactory.d.ts +0 -1
- package/form/form-item/form-item.component.scss.ngstyle.d.ts +0 -1
- package/form/form.module.ngfactory.d.ts +0 -3
- package/i18n/i18n.module.ngfactory.d.ts +0 -3
- package/icon/icon.component.ngfactory.d.ts +0 -1
- package/icon/icon.component.scss.ngstyle.d.ts +0 -1
- package/icon/icon.module.ngfactory.d.ts +0 -3
- package/inline-alert/inline-alert.component.ngfactory.d.ts +0 -1
- package/inline-alert/inline-alert.component.scss.ngstyle.d.ts +0 -1
- package/inline-alert/inline-alert.module.ngfactory.d.ts +0 -3
- package/input/input-group/input-group.component.ngfactory.d.ts +0 -1
- package/input/input-group/input-group.component.scss.ngstyle.d.ts +0 -1
- package/input/input.component.ngfactory.d.ts +0 -1
- package/input/input.component.scss.ngstyle.d.ts +0 -1
- package/input/input.module.ngfactory.d.ts +0 -3
- package/input/number-input/number-input.component.ngfactory.d.ts +0 -1
- package/input/number-input/number-input.component.scss.ngstyle.d.ts +0 -1
- package/input/search/search.component.ngfactory.d.ts +0 -1
- package/input/search/search.component.scss.ngstyle.d.ts +0 -1
- package/input/tags-input/tags-input.component.ngfactory.d.ts +0 -1
- package/input/tags-input/tags-input.component.scss.ngstyle.d.ts +0 -1
- package/message/message-wrapper.component.ngfactory.d.ts +0 -1
- package/message/message-wrapper.component.scss.ngstyle.d.ts +0 -1
- package/message/message.component.ngfactory.d.ts +0 -1
- package/message/message.component.scss.ngstyle.d.ts +0 -1
- package/message/message.module.ngfactory.d.ts +0 -3
- package/notification/notification-wrapper.component.ngfactory.d.ts +0 -1
- package/notification/notification-wrapper.component.scss.ngstyle.d.ts +0 -1
- package/notification/notification.component.ngfactory.d.ts +0 -1
- package/notification/notification.component.scss.ngstyle.d.ts +0 -1
- package/notification/notification.module.ngfactory.d.ts +0 -3
- package/paginator/paginator.component.ngfactory.d.ts +0 -1
- package/paginator/paginator.component.scss.ngstyle.d.ts +0 -1
- package/paginator/paginator.module.ngfactory.d.ts +0 -3
- package/radio/radio-button/radio-button.component.ngfactory.d.ts +0 -1
- package/radio/radio-button/radio-button.component.scss.ngstyle.d.ts +0 -1
- package/radio/radio-group/radio-group.component.ngfactory.d.ts +0 -1
- package/radio/radio-group/radio-group.component.scss.ngstyle.d.ts +0 -1
- package/radio/radio.component.ngfactory.d.ts +0 -1
- package/radio/radio.component.scss.ngstyle.d.ts +0 -1
- package/radio/radio.module.ngfactory.d.ts +0 -3
- package/scrolling/scrolling.module.ngfactory.d.ts +0 -3
- package/scrolling/virtual-scroll-viewport.component.ngfactory.d.ts +0 -1
- package/scrolling/virtual-scroll-viewport.component.scss.ngstyle.d.ts +0 -1
- package/select/multi-select/multi-select.component.ngfactory.d.ts +0 -1
- package/select/multi-select/multi-select.component.scss.ngstyle.d.ts +0 -1
- package/select/option/option.component.ngfactory.d.ts +0 -1
- package/select/option/option.component.scss.ngstyle.d.ts +0 -1
- package/select/option-group/option-group.component.ngfactory.d.ts +0 -1
- package/select/option-group/option-group.component.scss.ngstyle.d.ts +0 -1
- package/select/option-placeholder.component.ngfactory.d.ts +0 -1
- package/select/select.component.ngfactory.d.ts +0 -1
- package/select/select.component.scss.ngstyle.d.ts +0 -1
- package/select/select.module.ngfactory.d.ts +0 -3
- package/shared/shared.module.ngfactory.d.ts +0 -3
- package/sort/sort-header.component.ngfactory.d.ts +0 -1
- package/sort/sort-header.component.scss.ngstyle.d.ts +0 -1
- package/sort/sort.module.ngfactory.d.ts +0 -3
- package/status-bar/status-bar.component.ngfactory.d.ts +0 -1
- package/status-bar/status-bar.component.scss.ngstyle.d.ts +0 -1
- package/status-bar/status-bar.module.ngfactory.d.ts +0 -3
- package/steps/steps.component.ngfactory.d.ts +0 -1
- package/steps/steps.component.scss.ngstyle.d.ts +0 -1
- package/steps/steps.module.ngfactory.d.ts +0 -3
- package/switch/switch.component.ngfactory.d.ts +0 -1
- package/switch/switch.component.scss.ngstyle.d.ts +0 -1
- package/switch/switch.module.ngfactory.d.ts +0 -3
- package/table/table-cell.component.ngfactory.d.ts +0 -1
- package/table/table-header-row.component.ngfactory.d.ts +0 -1
- package/table/table-row.component.ngfactory.d.ts +0 -1
- package/table/table-scroll.scss.ngstyle.d.ts +0 -1
- package/table/table.component.ngfactory.d.ts +0 -1
- package/table/table.component.scss.ngstyle.d.ts +0 -1
- package/table/table.module.ngfactory.d.ts +0 -3
- package/table-of-contents/table-of-contents.module.ngfactory.d.ts +0 -3
- package/tabs/tab-body.component.ngfactory.d.ts +0 -1
- package/tabs/tab-directives.d.ts +0 -47
- package/tabs/tab-group.component.ngfactory.d.ts +0 -1
- package/tabs/tab-group.component.scss.ngstyle.d.ts +0 -1
- package/tabs/tab-header-active-indicator.component.ngfactory.d.ts +0 -1
- package/tabs/tab-header.component.ngfactory.d.ts +0 -1
- package/tabs/tab-header.component.scss.ngstyle.d.ts +0 -1
- package/tabs/tab.component.ngfactory.d.ts +0 -1
- package/tabs/tabs.module.ngfactory.d.ts +0 -3
- package/tag/check-tag/check-tag.component.ngfactory.d.ts +0 -1
- package/tag/check-tag/check-tag.component.scss.ngstyle.d.ts +0 -1
- package/tag/tag.component.ngfactory.d.ts +0 -1
- package/tag/tag.component.scss.ngstyle.d.ts +0 -1
- package/tag/tag.module.ngfactory.d.ts +0 -3
- package/theme/theme.module.ngfactory.d.ts +0 -3
- package/time-picker/component.ngfactory.d.ts +0 -1
- package/time-picker/panel/panel.component.ngfactory.d.ts +0 -1
- package/time-picker/panel/panel.style.scss.ngstyle.d.ts +0 -1
- package/time-picker/style.scss.ngstyle.d.ts +0 -1
- package/time-picker/time-picker.module.ngfactory.d.ts +0 -3
- package/tooltip/tooltip.component.ngfactory.d.ts +0 -1
- package/tooltip/tooltip.component.scss.ngstyle.d.ts +0 -1
- package/tooltip/tooltip.module.ngfactory.d.ts +0 -3
- package/tree-select/tree-node/tree-node.component.d.ts +0 -34
- package/tree-select/tree-node/tree-node.component.ngfactory.d.ts +0 -1
- package/tree-select/tree-node/tree-node.component.scss.ngstyle.d.ts +0 -1
- package/tree-select/tree-node-placeholder.component.ngfactory.d.ts +0 -1
- package/tree-select/tree-select.component.ngfactory.d.ts +0 -1
- package/tree-select/tree-select.component.scss.ngstyle.d.ts +0 -1
- package/tree-select/tree-select.module.ngfactory.d.ts +0 -3
- package/tsconfig.lib.tsbuildinfo +0 -3
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Directive, Input } from '@angular/core';
|
|
2
|
+
import { TooltipActiveDirective } from '../tooltip/public-api';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export class DropdownActiveDirective extends TooltipActiveDirective {
|
|
5
|
+
constructor() {
|
|
6
|
+
super(...arguments);
|
|
7
|
+
this.customClass = '';
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
DropdownActiveDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DropdownActiveDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
11
|
+
DropdownActiveDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: DropdownActiveDirective, selector: "[auiDropdownActive]", inputs: { customClass: ["auiDropdownActive", "customClass"] }, usesInheritance: true, ngImport: i0 });
|
|
12
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DropdownActiveDirective, decorators: [{
|
|
13
|
+
type: Directive,
|
|
14
|
+
args: [{
|
|
15
|
+
selector: '[auiDropdownActive]',
|
|
16
|
+
}]
|
|
17
|
+
}], propDecorators: { customClass: [{
|
|
18
|
+
type: Input,
|
|
19
|
+
args: ['auiDropdownActive']
|
|
20
|
+
}] } });
|
|
21
|
+
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cmluZyB8IHN0cmluZ1tdID0gJyc7XG59XG4iXX0=
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ContentChild, EventEmitter, Input, Output, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { ButtonType } from '../../button/public-api';
|
|
3
|
+
import { ComponentSize } from '../../types';
|
|
4
|
+
import { buildBem, coerceAttrBoolean } from '../../utils';
|
|
5
|
+
import { MenuComponent } from '../menu/menu.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "../../button/button.component";
|
|
8
|
+
import * as i2 from "../../icon/icon.component";
|
|
9
|
+
import * as i3 from "../dropdown.directive";
|
|
10
|
+
export class DropdownButtonComponent {
|
|
11
|
+
constructor() {
|
|
12
|
+
this.bem = buildBem('aui-dropdown-button');
|
|
13
|
+
this.type = ButtonType.Default;
|
|
14
|
+
this.plain = true;
|
|
15
|
+
this.size = ComponentSize.Medium;
|
|
16
|
+
this.loading = false;
|
|
17
|
+
this.buttonClick = new EventEmitter();
|
|
18
|
+
this._disabled = false;
|
|
19
|
+
}
|
|
20
|
+
get disabled() {
|
|
21
|
+
return this._disabled;
|
|
22
|
+
}
|
|
23
|
+
set disabled(val) {
|
|
24
|
+
this._disabled = coerceAttrBoolean(val);
|
|
25
|
+
}
|
|
26
|
+
get disableTrigger() {
|
|
27
|
+
return !this.menu?.hasEnabledItem;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
DropdownButtonComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DropdownButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
31
|
+
DropdownButtonComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: DropdownButtonComponent, selector: "aui-dropdown-button", inputs: { type: "type", plain: "plain", size: "size", loading: "loading", disabled: "disabled" }, outputs: { buttonClick: "buttonClick" }, queries: [{ propertyName: "menu", first: true, predicate: MenuComponent, descendants: true, static: true }], ngImport: i0, template: "<div [class]=\"bem.block(size)\">\n <button\n type=\"button\"\n class=\"aui-dropdown-button__content\"\n [aui-button]=\"type\"\n [plain]=\"plain\"\n [size]=\"size\"\n [loading]=\"loading\"\n [disabled]=\"disabled\"\n (click)=\"buttonClick.emit($event)\"\n >\n <ng-content></ng-content>\n </button>\n <button\n type=\"button\"\n class=\"aui-dropdown-button__trigger\"\n [aui-button]=\"type\"\n [plain]=\"plain\"\n [size]=\"size\"\n [auiDropdown]=\"menu\"\n [disabled]=\"disableTrigger\"\n >\n <aui-icon icon=\"angle_down\"></aui-icon>\n </button>\n</div>\n", styles: ["@charset \"UTF-8\";.aui-dropdown-button{display:inline-block}.aui-dropdown-button--large .aui-dropdown-button__trigger .aui-button__content{padding:0 7px}.aui-dropdown-button--medium .aui-dropdown-button__trigger .aui-button__content{padding:0 5px}.aui-dropdown-button--small .aui-dropdown-button__trigger .aui-button__content,.aui-dropdown-button--mini .aui-dropdown-button__trigger .aui-button__content{padding:0 3px}.aui-dropdown-button__content.aui-button{border-bottom-right-radius:0;border-top-right-radius:0}.aui-dropdown-button__content.aui-button:not([disabled]):hover,.aui-dropdown-button__content.aui-button:not([disabled]):active,.aui-dropdown-button__content.aui-button:not([disabled]):focus{z-index:1}.aui-dropdown-button__trigger.aui-button{border-bottom-left-radius:0;border-top-left-radius:0}.aui-dropdown-button__trigger.aui-button[disabled]{z-index:-1}.aui-dropdown-button__trigger.aui-button:not([disabled]):focus{z-index:1}.aui-dropdown-button__content.aui-button+.aui-dropdown-button__trigger.aui-button{margin-left:1px}.aui-dropdown-button__content.aui-button+.aui-dropdown-button__trigger.aui-button.isPlain{margin-left:-1px}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)}\n"], components: [{ type: i1.ButtonComponent, selector: "button[aui-button]", inputs: ["aui-button", "size", "plain", "loading", "round", "square"] }, { type: i2.IconComponent, selector: "aui-icon", inputs: ["icon", "light", "dark", "link", "margin", "size", "color", "background", "backgroundColor"] }], directives: [{ type: i3.DropdownDirective, selector: "[auiDropdown]", inputs: ["auiDropdownClass", "auiDropdownDisabled", "auiDropdownPosition", "auiDropdownTrigger", "auiDropdown", "auiDropdownContext", "auiDropdownHideOnClick"], outputs: ["auiDropdownShow", "auiDropdownHide"], exportAs: ["auiDropdown"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
32
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DropdownButtonComponent, decorators: [{
|
|
33
|
+
type: Component,
|
|
34
|
+
args: [{ selector: 'aui-dropdown-button', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, preserveWhitespaces: false, template: "<div [class]=\"bem.block(size)\">\n <button\n type=\"button\"\n class=\"aui-dropdown-button__content\"\n [aui-button]=\"type\"\n [plain]=\"plain\"\n [size]=\"size\"\n [loading]=\"loading\"\n [disabled]=\"disabled\"\n (click)=\"buttonClick.emit($event)\"\n >\n <ng-content></ng-content>\n </button>\n <button\n type=\"button\"\n class=\"aui-dropdown-button__trigger\"\n [aui-button]=\"type\"\n [plain]=\"plain\"\n [size]=\"size\"\n [auiDropdown]=\"menu\"\n [disabled]=\"disableTrigger\"\n >\n <aui-icon icon=\"angle_down\"></aui-icon>\n </button>\n</div>\n", styles: ["@charset \"UTF-8\";.aui-dropdown-button{display:inline-block}.aui-dropdown-button--large .aui-dropdown-button__trigger .aui-button__content{padding:0 7px}.aui-dropdown-button--medium .aui-dropdown-button__trigger .aui-button__content{padding:0 5px}.aui-dropdown-button--small .aui-dropdown-button__trigger .aui-button__content,.aui-dropdown-button--mini .aui-dropdown-button__trigger .aui-button__content{padding:0 3px}.aui-dropdown-button__content.aui-button{border-bottom-right-radius:0;border-top-right-radius:0}.aui-dropdown-button__content.aui-button:not([disabled]):hover,.aui-dropdown-button__content.aui-button:not([disabled]):active,.aui-dropdown-button__content.aui-button:not([disabled]):focus{z-index:1}.aui-dropdown-button__trigger.aui-button{border-bottom-left-radius:0;border-top-left-radius:0}.aui-dropdown-button__trigger.aui-button[disabled]{z-index:-1}.aui-dropdown-button__trigger.aui-button:not([disabled]):focus{z-index:1}.aui-dropdown-button__content.aui-button+.aui-dropdown-button__trigger.aui-button{margin-left:1px}.aui-dropdown-button__content.aui-button+.aui-dropdown-button__trigger.aui-button.isPlain{margin-left:-1px}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)}\n"] }]
|
|
35
|
+
}], propDecorators: { type: [{
|
|
36
|
+
type: Input
|
|
37
|
+
}], plain: [{
|
|
38
|
+
type: Input
|
|
39
|
+
}], size: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}], loading: [{
|
|
42
|
+
type: Input
|
|
43
|
+
}], disabled: [{
|
|
44
|
+
type: Input
|
|
45
|
+
}], buttonClick: [{
|
|
46
|
+
type: Output
|
|
47
|
+
}], menu: [{
|
|
48
|
+
type: ContentChild,
|
|
49
|
+
args: [MenuComponent, { static: true }]
|
|
50
|
+
}] } });
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24tYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9kcm9wZG93bi9kcm9wZG93bi1idXR0b24vZHJvcGRvd24tYnV0dG9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uL3NyYy9kcm9wZG93bi9kcm9wZG93bi1idXR0b24vZHJvcGRvd24tYnV0dG9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ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gICAgcmV0dXJuICF0aGlzLm1lbnU/Lmhhc0VuYWJsZWRJdGVtO1xuICB9XG5cbiAgcHJpdmF0ZSBfZGlzYWJsZWQgPSBmYWxzZTtcbn1cbiIsIjxkaXYgW2NsYXNzXT1cImJlbS5ibG9jayhzaXplKVwiPlxuICA8YnV0dG9uXG4gICAgdHlwZT1cImJ1dHRvblwiXG4gICAgY2xhc3M9XCJhdWktZHJvcGRvd24tYnV0dG9uX19jb250ZW50XCJcbiAgICBbYXVpLWJ1dHRvbl09XCJ0eXBlXCJcbiAgICBbcGxhaW5dPVwicGxhaW5cIlxuICAgIFtzaXplXT1cInNpemVcIlxuICAgIFtsb2FkaW5nXT1cImxvYWRpbmdcIlxuICAgIFtkaXNhYmxlZF09XCJkaXNhYmxlZFwiXG4gICAgKGNsaWNrKT1cImJ1dHRvbkNsaWNrLmVtaXQoJGV2ZW50KVwiXG4gID5cbiAgICA8bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4gIDwvYnV0dG9uPlxuICA8YnV0dG9uXG4gICAgdHlwZT1cImJ1dHRvblwiXG4gICAgY2xhc3M9XCJhdWktZHJvcGRvd24tYnV0dG9uX190cmlnZ2VyXCJcbiAgICBbYXVpLWJ1dHRvbl09XCJ0eXBlXCJcbiAgICBbcGxhaW5dPVwicGxhaW5cIlxuICAgIFtzaXplXT1cInNpemVcIlxuICAgIFthdWlEcm9wZG93bl09XCJtZW51XCJcbiAgICBbZGlzYWJsZWRdPVwiZGlzYWJsZVRyaWdnZXJcIlxuICA+XG4gICAgPGF1aS1pY29uIGljb249XCJhbmdsZV9kb3duXCI+PC9hdWktaWNvbj5cbiAgPC9idXR0b24+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { Directive, EventEmitter, Input, Output, } from '@angular/core';
|
|
2
|
+
import { debounceTime } from 'rxjs/operators';
|
|
3
|
+
import { BaseTooltip, TooltipTrigger, TooltipType, } from '../tooltip/public-api';
|
|
4
|
+
import { DropdownActiveDirective } from './dropdown-active.directive';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/cdk/overlay";
|
|
7
|
+
export class DropdownDirective extends BaseTooltip {
|
|
8
|
+
constructor(overlay, viewContainerRef, elRef, renderer, cdr, ngZone) {
|
|
9
|
+
super(overlay, viewContainerRef, elRef, renderer, cdr, ngZone);
|
|
10
|
+
this.hideOnClick = true;
|
|
11
|
+
this.show = new EventEmitter();
|
|
12
|
+
this.hide = new EventEmitter();
|
|
13
|
+
new DropdownActiveDirective(this, elRef, renderer).customClass = 'isActive';
|
|
14
|
+
this.type = TooltipType.Plain;
|
|
15
|
+
this.position = 'bottom end';
|
|
16
|
+
this.trigger = TooltipTrigger.Click;
|
|
17
|
+
}
|
|
18
|
+
get menu() {
|
|
19
|
+
return this._menu;
|
|
20
|
+
}
|
|
21
|
+
set menu(value) {
|
|
22
|
+
if (value === this._menu) {
|
|
23
|
+
return;
|
|
24
|
+
}
|
|
25
|
+
this._menu = value;
|
|
26
|
+
this.content = value.template;
|
|
27
|
+
}
|
|
28
|
+
ngOnInit() {
|
|
29
|
+
this.show.pipe(debounceTime(0)).subscribe(() => {
|
|
30
|
+
if (this.menu.lazyContent) {
|
|
31
|
+
this.menu.lazyContent.attach(this.lazyContentContext);
|
|
32
|
+
this.updatePosition();
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
this.hide.subscribe(() => {
|
|
36
|
+
if (this.menu.lazyContent) {
|
|
37
|
+
this.menu.lazyContent.detach();
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
DropdownDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DropdownDirective, deps: [{ token: i1.Overlay }, { token: i0.ViewContainerRef }, { token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
43
|
+
DropdownDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: DropdownDirective, selector: "[auiDropdown]", inputs: { class: ["auiDropdownClass", "class"], disabled: ["auiDropdownDisabled", "disabled"], position: ["auiDropdownPosition", "position"], trigger: ["auiDropdownTrigger", "trigger"], menu: ["auiDropdown", "menu"], lazyContentContext: ["auiDropdownContext", "lazyContentContext"], hideOnClick: ["auiDropdownHideOnClick", "hideOnClick"] }, outputs: { show: "auiDropdownShow", hide: "auiDropdownHide" }, providers: [
|
|
44
|
+
{
|
|
45
|
+
provide: BaseTooltip,
|
|
46
|
+
useExisting: DropdownDirective,
|
|
47
|
+
},
|
|
48
|
+
], exportAs: ["auiDropdown"], usesInheritance: true, ngImport: i0 });
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DropdownDirective, decorators: [{
|
|
50
|
+
type: Directive,
|
|
51
|
+
args: [{
|
|
52
|
+
selector: '[auiDropdown]',
|
|
53
|
+
exportAs: 'auiDropdown',
|
|
54
|
+
inputs: [
|
|
55
|
+
'class:auiDropdownClass',
|
|
56
|
+
'disabled:auiDropdownDisabled',
|
|
57
|
+
'position:auiDropdownPosition',
|
|
58
|
+
'trigger:auiDropdownTrigger',
|
|
59
|
+
],
|
|
60
|
+
providers: [
|
|
61
|
+
{
|
|
62
|
+
provide: BaseTooltip,
|
|
63
|
+
useExisting: DropdownDirective,
|
|
64
|
+
},
|
|
65
|
+
],
|
|
66
|
+
}]
|
|
67
|
+
}], ctorParameters: function () { return [{ type: i1.Overlay }, { type: i0.ViewContainerRef }, { type: i0.ElementRef }, { type: i0.Renderer2 }, { type: i0.ChangeDetectorRef }, { type: i0.NgZone }]; }, propDecorators: { menu: [{
|
|
68
|
+
type: Input,
|
|
69
|
+
args: ['auiDropdown']
|
|
70
|
+
}], lazyContentContext: [{
|
|
71
|
+
type: Input,
|
|
72
|
+
args: ['auiDropdownContext']
|
|
73
|
+
}], hideOnClick: [{
|
|
74
|
+
type: Input,
|
|
75
|
+
args: ['auiDropdownHideOnClick']
|
|
76
|
+
}], show: [{
|
|
77
|
+
type: Output,
|
|
78
|
+
args: ['auiDropdownShow']
|
|
79
|
+
}], hide: [{
|
|
80
|
+
type: Output,
|
|
81
|
+
args: ['auiDropdownHide']
|
|
82
|
+
}] } });
|
|
83
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24uZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2Ryb3Bkb3duL2Ryb3Bkb3duLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxPQUFPLEVBRUwsU0FBUyxFQUVULFlBQVksRUFDWixLQUFLLEVBR0wsTUFBTSxHQUdQLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUU5QyxPQUFPLEVBQ0wsV0FBVyxFQUNYLGNBQWMsRUFDZCxXQUFXLEdBQ1osTUFBTSx1QkFBdUIsQ0FBQztBQUUvQixPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQzs7O0FBbUJ0RSxNQUFNLE9BQU8saUJBQWtCLFNBQVEsV0FBVztJQTRCaEQsWUFDRSxPQUFnQixFQUNoQixnQkFBa0MsRUFDbEMsS0FBaUIsRUFDakIsUUFBbUIsRUFDbkIsR0FBc0IsRUFDdEIsTUFBYztRQUVkLEtBQUssQ0FBQyxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsS0FBSyxFQUFFLFFBQVEsRUFBRSxHQUFHLEVBQUUsTUFBTSxDQUFDLENBQUM7UUFsQnhELGdCQUFXLEdBQUcsSUFBSSxDQUFDO1FBR25CLFNBQUksR0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G5nWm9uZSk7XG4gICAgbmV3IERyb3Bkb3duQWN0aXZlRGlyZWN0aXZlKHRoaXMsIGVsUmVmLCByZW5kZXJlcikuY3VzdG9tQ2xhc3MgPSAnaXNBY3RpdmUnO1xuICAgIHRoaXMudHlwZSA9IFRvb2x0aXBUeXBlLlBsYWluO1xuICAgIHRoaXMucG9zaXRpb24gPSAnYm90dG9tIGVuZCc7XG4gICAgdGhpcy50cmlnZ2VyID0gVG9vbHRpcFRyaWdnZXIuQ2xpY2s7XG4gIH1cblxuICBuZ09uSW5pdCgpIHtcbiAgICB0aGlzLnNob3cucGlwZShkZWJvdW5jZVRpbWUoMCkpLnN1YnNjcmliZSgoKSA9PiB7XG4gICAgICBpZiAodGhpcy5tZW51LmxhenlDb250ZW50KSB7XG4gICAgICAgIHRoaXMubWVudS5sYXp5Q29udGVudC5hdHRhY2godGhpcy5sYXp5Q29udGVudENvbnRleHQpO1xuICAgICAgICB0aGlzLnVwZGF0ZVBvc2l0aW9uKCk7XG4gICAgICB9XG4gICAgfSk7XG5cbiAgICB0aGlzLmhpZGUuc3Vic2NyaWJlKCgpID0+IHtcbiAgICAgIGlmICh0aGlzLm1lbnUubGF6eUNvbnRlbnQpIHtcbiAgICAgICAgdGhpcy5tZW51LmxhenlDb250ZW50LmRldGFjaCgpO1xuICAgICAgfVxuICAgIH0pO1xuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { ButtonModule } from '../button/public-api';
|
|
4
|
+
import { IconModule } from '../icon/public-api';
|
|
5
|
+
import { TooltipModule } from '../tooltip/public-api';
|
|
6
|
+
import { DropdownActiveDirective } from './dropdown-active.directive';
|
|
7
|
+
import { DropdownButtonComponent } from './dropdown-button/dropdown-button.component';
|
|
8
|
+
import { DropdownDirective } from './dropdown.directive';
|
|
9
|
+
import { MenuGroupTitleDirective } from './helper-directives';
|
|
10
|
+
import { MenuGroupComponent } from './menu-group/menu-group.component';
|
|
11
|
+
import { MenuItemComponent } from './menu-item/menu-item.component';
|
|
12
|
+
import { MenuContentDirective } from './menu/menu-content.directive';
|
|
13
|
+
import { MenuComponent } from './menu/menu.component';
|
|
14
|
+
import { SubmenuComponent } from './submenu/submenu.component';
|
|
15
|
+
import * as i0 from "@angular/core";
|
|
16
|
+
export class DropdownModule {
|
|
17
|
+
}
|
|
18
|
+
DropdownModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DropdownModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19
|
+
DropdownModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DropdownModule, declarations: [DropdownDirective,
|
|
20
|
+
DropdownActiveDirective,
|
|
21
|
+
DropdownButtonComponent,
|
|
22
|
+
MenuComponent,
|
|
23
|
+
MenuGroupComponent,
|
|
24
|
+
MenuGroupTitleDirective,
|
|
25
|
+
MenuItemComponent,
|
|
26
|
+
SubmenuComponent,
|
|
27
|
+
MenuContentDirective], imports: [CommonModule, TooltipModule, IconModule, ButtonModule], exports: [DropdownDirective,
|
|
28
|
+
DropdownActiveDirective,
|
|
29
|
+
DropdownButtonComponent,
|
|
30
|
+
MenuComponent,
|
|
31
|
+
MenuGroupComponent,
|
|
32
|
+
MenuGroupTitleDirective,
|
|
33
|
+
MenuItemComponent,
|
|
34
|
+
SubmenuComponent,
|
|
35
|
+
MenuContentDirective] });
|
|
36
|
+
DropdownModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DropdownModule, imports: [[CommonModule, TooltipModule, IconModule, ButtonModule]] });
|
|
37
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DropdownModule, decorators: [{
|
|
38
|
+
type: NgModule,
|
|
39
|
+
args: [{
|
|
40
|
+
imports: [CommonModule, TooltipModule, IconModule, ButtonModule],
|
|
41
|
+
declarations: [
|
|
42
|
+
DropdownDirective,
|
|
43
|
+
DropdownActiveDirective,
|
|
44
|
+
DropdownButtonComponent,
|
|
45
|
+
MenuComponent,
|
|
46
|
+
MenuGroupComponent,
|
|
47
|
+
MenuGroupTitleDirective,
|
|
48
|
+
MenuItemComponent,
|
|
49
|
+
SubmenuComponent,
|
|
50
|
+
MenuContentDirective,
|
|
51
|
+
],
|
|
52
|
+
exports: [
|
|
53
|
+
DropdownDirective,
|
|
54
|
+
DropdownActiveDirective,
|
|
55
|
+
DropdownButtonComponent,
|
|
56
|
+
MenuComponent,
|
|
57
|
+
MenuGroupComponent,
|
|
58
|
+
MenuGroupTitleDirective,
|
|
59
|
+
MenuItemComponent,
|
|
60
|
+
SubmenuComponent,
|
|
61
|
+
MenuContentDirective,
|
|
62
|
+
],
|
|
63
|
+
}]
|
|
64
|
+
}] });
|
|
65
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJvcGRvd24ubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2Ryb3Bkb3duL2Ryb3Bkb3duLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUV6QyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDcEQsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ2hELE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUV0RCxPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSw2QkFB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J0czogW1xuICAgIERyb3Bkb3duRGlyZWN0aXZlLFxuICAgIERyb3Bkb3duQWN0aXZlRGlyZWN0aXZlLFxuICAgIERyb3Bkb3duQnV0dG9uQ29tcG9uZW50LFxuICAgIE1lbnVDb21wb25lbnQsXG4gICAgTWVudUdyb3VwQ29tcG9uZW50LFxuICAgIE1lbnVHcm91cFRpdGxlRGlyZWN0aXZlLFxuICAgIE1lbnVJdGVtQ29tcG9uZW50LFxuICAgIFN1Ym1lbnVDb21wb25lbnQsXG4gICAgTWVudUNvbnRlbnREaXJlY3RpdmUsXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIERyb3Bkb3duTW9kdWxlIHt9XG4iXX0=
|
|
File without changes
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Directive } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class MenuGroupTitleDirective {
|
|
4
|
+
}
|
|
5
|
+
MenuGroupTitleDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MenuGroupTitleDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
6
|
+
MenuGroupTitleDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: MenuGroupTitleDirective, selector: "[auiMenuGroupTitle]", host: { properties: { "class.aui-menu-group__title": "true" } }, exportAs: ["auiMenuGroupTitle"], ngImport: i0 });
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MenuGroupTitleDirective, decorators: [{
|
|
8
|
+
type: Directive,
|
|
9
|
+
args: [{
|
|
10
|
+
selector: '[auiMenuGroupTitle]',
|
|
11
|
+
exportAs: 'auiMenuGroupTitle',
|
|
12
|
+
host: {
|
|
13
|
+
'[class.aui-menu-group__title]': 'true',
|
|
14
|
+
},
|
|
15
|
+
}]
|
|
16
|
+
}] });
|
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVscGVyLWRpcmVjdGl2ZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvZHJvcGRvd24vaGVscGVyLWRpcmVjdGl2ZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFTMUMsTUFBTSxPQUFPLHVCQUF1Qjs7b0hBQXZCLHVCQUF1Qjt3R0FBdkIsdUJBQXVCOzJGQUF2Qix1QkFBdUI7a0JBUG5DLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLHFCQUFxQjtvQkFDL0IsUUFBUSxFQUFFLG1CQUFtQjtvQkFDN0IsSUFBSSxFQUFFO3dCQUNKLCtCQUErQixFQUFFLE1BQU07cUJBQ3hDO2lCQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRGlyZWN0aXZlIH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBEaXJlY3RpdmUoe1xuICBzZWxlY3RvcjogJ1thdWlNZW51R3JvdXBUaXRsZV0nLFxuICBleHBvcnRBczogJ2F1aU1lbnVHcm91cFRpdGxlJyxcbiAgaG9zdDoge1xuICAgICdbY2xhc3MuYXVpLW1lbnUtZ3JvdXBfX3RpdGxlXSc6ICd0cnVlJyxcbiAgfSxcbn0pXG5leHBvcnQgY2xhc3MgTWVudUdyb3VwVGl0bGVEaXJlY3RpdmUge31cbiJdfQ==
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { DomPortalOutlet, TemplatePortal } from '@angular/cdk/portal';
|
|
2
|
+
import { DOCUMENT } from '@angular/common';
|
|
3
|
+
import { Directive, Inject, } from '@angular/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class MenuContentDirective {
|
|
6
|
+
constructor(templateRef, appRef, viewContainerRef, componentFactoryResolver, injector, document) {
|
|
7
|
+
this.templateRef = templateRef;
|
|
8
|
+
this.appRef = appRef;
|
|
9
|
+
this.viewContainerRef = viewContainerRef;
|
|
10
|
+
this.componentFactoryResolver = componentFactoryResolver;
|
|
11
|
+
this.injector = injector;
|
|
12
|
+
this.doc = document;
|
|
13
|
+
}
|
|
14
|
+
attach(context) {
|
|
15
|
+
if (this.portal?.isAttached) {
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
if (!this.portal) {
|
|
19
|
+
this.portal = new TemplatePortal(this.templateRef, this.viewContainerRef);
|
|
20
|
+
}
|
|
21
|
+
if (!this.outlet) {
|
|
22
|
+
this.outlet = new DomPortalOutlet(this.doc.createElement('div'), this.componentFactoryResolver, this.appRef, this.injector);
|
|
23
|
+
}
|
|
24
|
+
const el = this.templateRef.elementRef.nativeElement;
|
|
25
|
+
el.parentNode.insertBefore(this.outlet.outletElement, el);
|
|
26
|
+
this.portal.attach(this.outlet, context);
|
|
27
|
+
}
|
|
28
|
+
detach() {
|
|
29
|
+
if (this.portal?.isAttached) {
|
|
30
|
+
this.portal.detach();
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
ngOnDestroy() {
|
|
34
|
+
if (this.outlet) {
|
|
35
|
+
this.outlet.dispose();
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
MenuContentDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MenuContentDirective, deps: [{ token: i0.TemplateRef }, { token: i0.ApplicationRef }, { token: i0.ViewContainerRef }, { token: i0.ComponentFactoryResolver }, { token: i0.Injector }, { token: DOCUMENT }], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
+
MenuContentDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: MenuContentDirective, selector: "*[auiMenuContent]", exportAs: ["auiMenuContent"], ngImport: i0 });
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MenuContentDirective, decorators: [{
|
|
42
|
+
type: Directive,
|
|
43
|
+
args: [{
|
|
44
|
+
selector: '*[auiMenuContent]',
|
|
45
|
+
exportAs: 'auiMenuContent',
|
|
46
|
+
}]
|
|
47
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef }, { type: i0.ApplicationRef }, { type: i0.ViewContainerRef }, { type: i0.ComponentFactoryResolver }, { type: i0.Injector }, { type: undefined, decorators: [{
|
|
48
|
+
type: Inject,
|
|
49
|
+
args: [DOCUMENT]
|
|
50
|
+
}] }]; } });
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS1jb250ZW50LmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9kcm9wZG93bi9tZW51L21lbnUtY29udGVudC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGVBQWUsRUFBRSxjQUFjLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUN0RSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDM0MsT0FBTyxFQUdMLFNBQVMsRUFDVCxNQUFNLEdBS1AsTUFBTSxlQUFlLENBQUM7O0FBTXZCLE1BQU0sT0FBTyxvQkFBb0I7SUFNL0IsWUFDbUIsV0FBaUMsRUFDakMsTUFBc0IsRUFDdEIsZ0JBQWtDLEVBQ2xDLHdCQUFrRCxFQUNsRCxRQUFrQixFQUNqQixRQUFhO1FBTGQsZ0JBQVcsR0FBWCxXQUFXLENBQXNCO1FBQ2pDLFdBQU0sR0FBTixNQUFNLENBQWdCO1FBQ3RCLHFCQUFnQixHQUFoQixnQkFBZ0IsQ0FBa0I7UUFDbEMsNkJBQ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H1cbiAgICBjb25zdCBlbCA9IHRoaXMudGVtcGxhdGVSZWYuZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50IGFzIEhUTUxFbGVtZW50O1xuICAgIGVsLnBhcmVudE5vZGUuaW5zZXJ0QmVmb3JlKHRoaXMub3V0bGV0Lm91dGxldEVsZW1lbnQsIGVsKTtcbiAgICB0aGlzLnBvcnRhbC5hdHRhY2godGhpcy5vdXRsZXQsIGNvbnRleHQpO1xuICB9XG5cbiAgZGV0YWNoKCkge1xuICAgIGlmICh0aGlzLnBvcnRhbD8uaXNBdHRhY2hlZCkge1xuICAgICAgdGhpcy5wb3J0YWwuZGV0YWNoKCk7XG4gICAgfVxuICB9XG5cbiAgbmdPbkRlc3Ryb3koKSB7XG4gICAgaWYgKHRoaXMub3V0bGV0KSB7XG4gICAgICB0aGlzLm91dGxldC5kaXNwb3NlKCk7XG4gICAgfVxuICB9XG59XG4iXX0=
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ContentChild, ContentChildren, Input, TemplateRef, ViewChild, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { ComponentSize } from '../../types';
|
|
3
|
+
import { buildBem } from '../../utils';
|
|
4
|
+
import { MenuItemComponent } from '../menu-item/menu-item.component';
|
|
5
|
+
import { MenuContentDirective } from './menu-content.directive';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class MenuComponent {
|
|
8
|
+
constructor() {
|
|
9
|
+
this.bem = buildBem('aui-menu');
|
|
10
|
+
this.size = ComponentSize.Small;
|
|
11
|
+
}
|
|
12
|
+
get hasEnabledItem() {
|
|
13
|
+
return this.menuItems?.length > 0;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
MenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
MenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: MenuComponent, selector: "aui-menu", inputs: { size: "size" }, queries: [{ propertyName: "lazyContent", first: true, predicate: MenuContentDirective, descendants: true, static: true }, { propertyName: "menuItems", predicate: MenuItemComponent, descendants: true }], viewQueries: [{ propertyName: "template", first: true, predicate: TemplateRef, descendants: true, static: true }], ngImport: i0, template: "<ng-template>\n <div [class]=\"bem.block(size)\"><ng-content></ng-content></div>\n</ng-template>\n", styles: ["@charset \"UTF-8\";aui-menu{display:none}.aui-menu{padding:var(--aui-spacing-m);max-width:280px;border-radius:var(--aui-border-radius-m);background-color:rgb(var(--aui-color-popper-bg))}:root .aui-menu{box-shadow:0 2px 8px 0 rgba(var(--aui-color-origin-shadow),.2)}html[aui-theme-mode=light] .aui-menu{box-shadow:0 2px 8px 0 rgba(var(--aui-color-origin-shadow),.2)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-menu{box-shadow:0 2px 8px 0 rgba(var(--aui-color-origin-shadow),.75)}}html[aui-theme-mode=dark] .aui-menu{box-shadow:0 2px 8px 0 rgba(var(--aui-color-origin-shadow),.75)}.aui-menu--large .aui-menu-item,.aui-menu--large .aui-submenu{height:var(--aui-inline-height-l);font-size:var(--aui-font-size-l);line-height:var(--aui-line-height-l)}.aui-menu--large .aui-menu-item aui-icon,.aui-menu--large .aui-submenu aui-icon{height:var(--aui-line-height-l);font-size:var(--aui-icon-size-l)}.aui-menu--medium .aui-menu-item,.aui-menu--medium .aui-submenu{height:var(--aui-inline-height-m);font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m)}.aui-menu--medium .aui-menu-item aui-icon,.aui-menu--medium .aui-submenu aui-icon{height:var(--aui-line-height-m);font-size:var(--aui-icon-size-m)}.aui-menu--small .aui-menu-item,.aui-menu--small .aui-submenu{height:var(--aui-inline-height-s);font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m)}.aui-menu--small .aui-menu-item aui-icon,.aui-menu--small .aui-submenu aui-icon{height:var(--aui-line-height-m);font-size:var(--aui-icon-size-m)}.aui-menu--mini .aui-menu-item,.aui-menu--mini .aui-submenu{height:var(--aui-inline-height-xs);font-size:var(--aui-font-size-s);line-height:var(--aui-line-height-s)}.aui-menu--mini .aui-menu-item aui-icon,.aui-menu--mini .aui-submenu aui-icon{height:var(--aui-line-height-s);font-size:var(--aui-icon-size-s)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MenuComponent, decorators: [{
|
|
19
|
+
type: Component,
|
|
20
|
+
args: [{ selector: 'aui-menu', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, preserveWhitespaces: false, template: "<ng-template>\n <div [class]=\"bem.block(size)\"><ng-content></ng-content></div>\n</ng-template>\n", styles: ["@charset \"UTF-8\";aui-menu{display:none}.aui-menu{padding:var(--aui-spacing-m);max-width:280px;border-radius:var(--aui-border-radius-m);background-color:rgb(var(--aui-color-popper-bg))}:root .aui-menu{box-shadow:0 2px 8px 0 rgba(var(--aui-color-origin-shadow),.2)}html[aui-theme-mode=light] .aui-menu{box-shadow:0 2px 8px 0 rgba(var(--aui-color-origin-shadow),.2)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-menu{box-shadow:0 2px 8px 0 rgba(var(--aui-color-origin-shadow),.75)}}html[aui-theme-mode=dark] .aui-menu{box-shadow:0 2px 8px 0 rgba(var(--aui-color-origin-shadow),.75)}.aui-menu--large .aui-menu-item,.aui-menu--large .aui-submenu{height:var(--aui-inline-height-l);font-size:var(--aui-font-size-l);line-height:var(--aui-line-height-l)}.aui-menu--large .aui-menu-item aui-icon,.aui-menu--large .aui-submenu aui-icon{height:var(--aui-line-height-l);font-size:var(--aui-icon-size-l)}.aui-menu--medium .aui-menu-item,.aui-menu--medium .aui-submenu{height:var(--aui-inline-height-m);font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m)}.aui-menu--medium .aui-menu-item aui-icon,.aui-menu--medium .aui-submenu aui-icon{height:var(--aui-line-height-m);font-size:var(--aui-icon-size-m)}.aui-menu--small .aui-menu-item,.aui-menu--small .aui-submenu{height:var(--aui-inline-height-s);font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m)}.aui-menu--small .aui-menu-item aui-icon,.aui-menu--small .aui-submenu aui-icon{height:var(--aui-line-height-m);font-size:var(--aui-icon-size-m)}.aui-menu--mini .aui-menu-item,.aui-menu--mini .aui-submenu{height:var(--aui-inline-height-xs);font-size:var(--aui-font-size-s);line-height:var(--aui-line-height-s)}.aui-menu--mini .aui-menu-item aui-icon,.aui-menu--mini .aui-submenu aui-icon{height:var(--aui-line-height-s);font-size:var(--aui-icon-size-s)}\n"] }]
|
|
21
|
+
}], propDecorators: { size: [{
|
|
22
|
+
type: Input
|
|
23
|
+
}], template: [{
|
|
24
|
+
type: ViewChild,
|
|
25
|
+
args: [TemplateRef, { static: true }]
|
|
26
|
+
}], lazyContent: [{
|
|
27
|
+
type: ContentChild,
|
|
28
|
+
args: [MenuContentDirective, { static: true }]
|
|
29
|
+
}], menuItems: [{
|
|
30
|
+
type: ContentChildren,
|
|
31
|
+
args: [MenuItemComponent, { descendants: true }]
|
|
32
|
+
}] } });
|
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZHJvcGRvd24vbWVudS9tZW51LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uL3NyYy9kcm9wZG93bi9tZW51L21lbnUuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsWUFBWSxFQUNaLGVBQWU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RTaXplID0gQ29tcG9uZW50U2l6ZS5TbWFsbDtcblxuICBAVmlld0NoaWxkKFRlbXBsYXRlUmVmLCB7IHN0YXRpYzogdHJ1ZSB9KVxuICB0ZW1wbGF0ZTogVGVtcGxhdGVSZWY8YW55PjtcblxuICBAQ29udGVudENoaWxkKE1lbnVDb250ZW50RGlyZWN0aXZlLCB7IHN0YXRpYzogdHJ1ZSB9KVxuICBsYXp5Q29udGVudDogTWVudUNvbnRlbnREaXJlY3RpdmU7XG5cbiAgQENvbnRlbnRDaGlsZHJlbihNZW51SXRlbUNvbXBvbmVudCwgeyBkZXNjZW5kYW50czogdHJ1ZSB9KVxuICBtZW51SXRlbXM6IFF1ZXJ5TGlzdDxNZW51SXRlbUNvbXBvbmVudD47XG5cbiAgZ2V0IGhhc0VuYWJsZWRJdGVtKCkge1xuICAgIHJldHVybiB0aGlzLm1lbnVJdGVtcz8ubGVuZ3RoID4gMDtcbiAgfVxufVxuIiwiPG5nLXRlbXBsYXRlPlxuICA8ZGl2IFtjbGFzc109XCJiZW0uYmxvY2soc2l6ZSlcIj48bmctY29udGVudD48L25nLWNvbnRlbnQ+PC9kaXY+XG48L25nLXRlbXBsYXRlPlxuIl19
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class MenuGroupComponent {
|
|
4
|
+
}
|
|
5
|
+
MenuGroupComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MenuGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
6
|
+
MenuGroupComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: MenuGroupComponent, selector: "aui-menu-group", ngImport: i0, template: "<div class=\"aui-menu-group\">\n <ng-content select=\"[auiMenuGroupTitle]\"></ng-content>\n <div class=\"aui-menu-group__content\"><ng-content></ng-content></div>\n</div>\n", styles: ["@charset \"UTF-8\";.aui-menu-group__title{display:inline-block;margin:0 0 var(--aui-spacing-s) 0;padding:var(--aui-spacing-s) 0;font-size:var(--aui-font-size-s);line-height:var(--aui-line-height-s);color:rgb(var(--aui-color-n-4));font-weight:var(--aui-font-weight-bold)}aui-menu-group:not(:first-child) .aui-menu-group{margin-top:var(--aui-spacing-m);padding-top:var(--aui-spacing-m);border-top:1px solid rgb(var(--aui-color-n-8))}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
7
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MenuGroupComponent, decorators: [{
|
|
8
|
+
type: Component,
|
|
9
|
+
args: [{ selector: 'aui-menu-group', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, preserveWhitespaces: false, template: "<div class=\"aui-menu-group\">\n <ng-content select=\"[auiMenuGroupTitle]\"></ng-content>\n <div class=\"aui-menu-group__content\"><ng-content></ng-content></div>\n</div>\n", styles: ["@charset \"UTF-8\";.aui-menu-group__title{display:inline-block;margin:0 0 var(--aui-spacing-s) 0;padding:var(--aui-spacing-s) 0;font-size:var(--aui-font-size-s);line-height:var(--aui-line-height-s);color:rgb(var(--aui-color-n-4));font-weight:var(--aui-font-weight-bold)}aui-menu-group:not(:first-child) .aui-menu-group{margin-top:var(--aui-spacing-m);padding-top:var(--aui-spacing-m);border-top:1px solid rgb(var(--aui-color-n-8))}\n"] }]
|
|
10
|
+
}] });
|
|
11
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVudS1ncm91cC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZHJvcGRvd24vbWVudS1ncm91cC9tZW51LWdyb3VwLmNvbXBvbmVudC50cyIsIi4uLy4u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Gl0bGVdXCI+PC9uZy1jb250ZW50PlxuICA8ZGl2IGNsYXNzPVwiYXVpLW1lbnUtZ3JvdXBfX2NvbnRlbnRcIj48bmctY29udGVudD48L25nLWNvbnRlbnQ+PC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { buildBem } from '../../utils';
|
|
3
|
+
import { MenuItemType } from '../dropdown.types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class MenuItemComponent {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.bem = buildBem('aui-menu-item');
|
|
8
|
+
this._disabled = false;
|
|
9
|
+
this.divide = false;
|
|
10
|
+
this.type = MenuItemType.Default;
|
|
11
|
+
this.actived = false;
|
|
12
|
+
}
|
|
13
|
+
get disabled() {
|
|
14
|
+
return this._disabled;
|
|
15
|
+
}
|
|
16
|
+
set disabled(value) {
|
|
17
|
+
this._disabled = value;
|
|
18
|
+
}
|
|
19
|
+
get className() {
|
|
20
|
+
return `${this.bem.block(this.type)} ${this.divide ? 'hasDivider' : ''} ${this.actived ? 'isActive' : ''}`;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
MenuItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
24
|
+
MenuItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: MenuItemComponent, selector: "aui-menu-item", inputs: { disabled: "disabled", divide: "divide", type: "type", actived: "actived" }, ngImport: i0, template: "<button [class]=\"className\" [disabled]=\"disabled\">\n <ng-content></ng-content>\n</button>\n", styles: ["@charset \"UTF-8\";.aui-menu-item{transition:all .3s ease;display:block;border:none;outline:none;width:100%;text-align:left;padding:0 var(--aui-spacing-l);height:var(--aui-inline-height-m);font-size:var(--aui-font-size-m);color:rgb(var(--aui-color-n-1));background-color:transparent;border-radius:var(--aui-border-radius-m);position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;cursor:pointer}.aui-menu-item--default:hover{background-color:rgb(var(--aui-color-p-6))}.aui-menu-item--default.isActive{color:rgb(var(--aui-color-primary));background-color:rgb(var(--aui-color-p-6))}.aui-menu-item--primary{color:rgb(var(--aui-color-primary))}.aui-menu-item--primary:hover,.aui-menu-item--primary.isActive{background-color:rgb(var(--aui-color-p-6))}.aui-menu-item--success{color:rgb(var(--aui-color-green))}.aui-menu-item--success:hover,.aui-menu-item--success.isActive{background-color:rgb(var(--aui-color-p-6))}.aui-menu-item--warning{color:rgb(var(--aui-color-yellow))}.aui-menu-item--warning:hover,.aui-menu-item--warning.isActive{background-color:rgb(var(--aui-color-y-6))}.aui-menu-item--danger{color:rgb(var(--aui-color-red))}.aui-menu-item--danger:hover,.aui-menu-item--danger.isActive{background-color:rgb(var(--aui-color-r-6))}.aui-menu-item[disabled],.aui-menu-item[disabled]:hover{color:rgb(var(--aui-color-n-6));background-color:transparent;cursor:not-allowed}.aui-menu-item aui-icon:first-child{margin-right:var(--aui-spacing-m)}aui-menu-item:not(:first-child) .hasDivider{overflow:visible;margin-top:var(--aui-spacing-xl)}aui-menu-item:not(:first-child) .hasDivider:before{content:\"\";position:absolute;display:block;left:0;right:0;top:calc(0px - var(--aui-spacing-m));height:1px;background:rgb(var(--aui-color-n-8));pointer-events:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: MenuItemComponent, decorators: [{
|
|
26
|
+
type: Component,
|
|
27
|
+
args: [{ selector: 'aui-menu-item', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, preserveWhitespaces: false, template: "<button [class]=\"className\" [disabled]=\"disabled\">\n <ng-content></ng-content>\n</button>\n", styles: ["@charset \"UTF-8\";.aui-menu-item{transition:all .3s ease;display:block;border:none;outline:none;width:100%;text-align:left;padding:0 var(--aui-spacing-l);height:var(--aui-inline-height-m);font-size:var(--aui-font-size-m);color:rgb(var(--aui-color-n-1));background-color:transparent;border-radius:var(--aui-border-radius-m);position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;cursor:pointer}.aui-menu-item--default:hover{background-color:rgb(var(--aui-color-p-6))}.aui-menu-item--default.isActive{color:rgb(var(--aui-color-primary));background-color:rgb(var(--aui-color-p-6))}.aui-menu-item--primary{color:rgb(var(--aui-color-primary))}.aui-menu-item--primary:hover,.aui-menu-item--primary.isActive{background-color:rgb(var(--aui-color-p-6))}.aui-menu-item--success{color:rgb(var(--aui-color-green))}.aui-menu-item--success:hover,.aui-menu-item--success.isActive{background-color:rgb(var(--aui-color-p-6))}.aui-menu-item--warning{color:rgb(var(--aui-color-yellow))}.aui-menu-item--warning:hover,.aui-menu-item--warning.isActive{background-color:rgb(var(--aui-color-y-6))}.aui-menu-item--danger{color:rgb(var(--aui-color-red))}.aui-menu-item--danger:hover,.aui-menu-item--danger.isActive{background-color:rgb(var(--aui-color-r-6))}.aui-menu-item[disabled],.aui-menu-item[disabled]:hover{color:rgb(var(--aui-color-n-6));background-color:transparent;cursor:not-allowed}.aui-menu-item aui-icon:first-child{margin-right:var(--aui-spacing-m)}aui-menu-item:not(:first-child) .hasDivider{overflow:visible;margin-top:var(--aui-spacing-xl)}aui-menu-item:not(:first-child) .hasDivider:before{content:\"\";position:absolute;display:block;left:0;right:0;top:calc(0px - var(--aui-spacing-m));height:1px;background:rgb(var(--aui-color-n-8));pointer-events:none}\n"] }]
|
|
28
|
+
}], propDecorators: { disabled: [{
|
|
29
|
+
type: Input
|
|
30
|
+
}], divide: [{
|
|
31
|
+
type: Input
|
|
32
|
+
}], type: [{
|
|
33
|
+
type: Input
|
|
34
|
+
}], actived: [{
|
|
35
|
+
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mF0ZWd5Lk9uUHVzaCxcbiAgZW5jYXBzdWxhdGlvbjogVmlld0VuY2Fwc3VsYXRpb24uTm9uZSxcbiAgcHJlc2VydmVXaGl0ZXNwYWNlczogZmFsc2UsXG59KVxuZXhwb3J0IGNsYXNzIE1lbnVJdGVtQ29tcG9uZW50IHtcbiAgYmVtOiBCZW0gPSBidWlsZEJlbSgnYXVpLW1lbnUtaXRlbScpO1xuXG4gIHByb3RlY3RlZCBfZGlzYWJsZWQgPSBmYWxzZTtcblxuICBASW5wdXQoKVxuICBnZXQgZGlzYWJsZWQoKSB7XG4gICAgcmV0dXJuIHRoaXMuX2Rpc2FibGVkO1xuICB9XG5cbiAgc2V0IGRpc2FibGVkKHZhbHVlKSB7XG4gICAgdGhpcy5fZGlzYWJsZWQgPSB2YWx1ZTtcbiAgfVxuXG4gIEBJbnB1dCgpXG4gIGRpdmlkZSA9IGZhbHNlO1xuXG4gIEBJbnB1dCgpXG4gIHR5cGU6IE1lbnVJdGVtVHlwZSA9IE1lbnVJdGVtVHlwZS5EZWZhdWx0O1xuXG4gIEBJbnB1dCgpXG4gIGFjdGl2ZWQgPSBmYWxzZTtcblxuICBnZXQgY2xhc3NOYW1lKCkge1xuICAgIHJldHVybiBgJHt0aGlzLmJlbS5ibG9jayh0aGlzLnR5cGUpfSAke3RoaXMuZGl2aWRlID8gJ2hhc0RpdmlkZXInIDogJyd9ICR7XG4gICAgICB0aGlzLmFjdGl2ZWQgPyAnaXNBY3RpdmUnIDogJydcbiAgICB9YDtcbiAgfVxufVxuIiwiPGJ1dHRvbiBbY2xhc3NdPVwiY2xhc3NOYW1lXCIgW2Rpc2FibGVkXT1cImRpc2FibGVkXCI+XG4gIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbjwvYnV0dG9uPlxuIl19
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './dropdown.directive';
|
|
2
|
+
export * from './dropdown-active.directive';
|
|
3
|
+
export * from './dropdown-button/dropdown-button.component';
|
|
4
|
+
export * from './menu/menu.component';
|
|
5
|
+
export * from './menu-group/menu-group.component';
|
|
6
|
+
export * from './menu/menu-content.directive';
|
|
7
|
+
export * from './menu-item/menu-item.component';
|
|
8
|
+
export * from './submenu/submenu.component';
|
|
9
|
+
export * from './dropdown.module';
|
|
10
|
+
export * from './dropdown.types';
|
|
11
|
+
export * from './helper-directives';
|
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9kcm9wZG93bi9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLDZDQUE2QyxDQUFDO0FBQzVELGNBQWMsdUJBQXVCLENBQUM7QUFDdEMsY0FBYyxtQ0FBbUMsQ0FBQztBQUNsRCxjQUFjLCtCQUErQixDQUFDO0FBQzlDLGNBQWMsaUNBQWlDLENBQUM7QUFDaEQsY0FBYyw2QkFBNkIsQ0FBQztBQUM1QyxjQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYyxxQkFBcUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZHJvcGRvd24uZGlyZWN0aXZlJztcbmV4cG9ydCAqIGZyb20gJy4vZHJvcGRvd24tYWN0aXZlLmRpcmVjdGl2ZSc7XG5leHBvcnQgKiBmcm9tICcuL2Ryb3Bkb3duLWJ1dHRvbi9kcm9wZG93bi1idXR0b24uY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vbWVudS9tZW51LmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL21lbnUtZ3JvdXAvbWVudS1ncm91cC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9tZW51L21lbnUtY29udGVudC5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9tZW51LWl0ZW0vbWVudS1pdGVtLmNvbXBvbmVudCc7XG5leHBvcnQgKiBmcm9tICcuL3N1Ym1lbnUvc3VibWVudS5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9kcm9wZG93bi5tb2R1bGUnO1xuZXhwb3J0ICogZnJvbSAnLi9kcm9wZG93bi50eXBlcyc7XG5leHBvcnQgKiBmcm9tICcuL2hlbHBlci1kaXJlY3RpdmVzJztcbiJdfQ==
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ContentChildren, Input, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { TooltipTrigger } from '../../tooltip/public-api';
|
|
3
|
+
import { ComponentSize } from '../../types';
|
|
4
|
+
import { buildBem } from '../../utils';
|
|
5
|
+
import { MenuItemComponent } from '../menu-item/menu-item.component';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "../../icon/icon.component";
|
|
8
|
+
import * as i2 from "../menu/menu.component";
|
|
9
|
+
import * as i3 from "../../tooltip/tooltip-active.directive";
|
|
10
|
+
import * as i4 from "../../tooltip/tooltip.directive";
|
|
11
|
+
export class SubmenuComponent extends MenuItemComponent {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments);
|
|
14
|
+
this.bem = buildBem('aui-submenu');
|
|
15
|
+
this.trigger = TooltipTrigger.Hover;
|
|
16
|
+
this.size = ComponentSize.Small;
|
|
17
|
+
}
|
|
18
|
+
get disabled() {
|
|
19
|
+
return this._disabled || !this.hasEnabledItem;
|
|
20
|
+
}
|
|
21
|
+
get hasEnabledItem() {
|
|
22
|
+
return this.menuItems?.length > 0;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
SubmenuComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SubmenuComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
+
SubmenuComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: SubmenuComponent, selector: "aui-submenu", inputs: { trigger: "trigger", size: "size", disabled: "disabled" }, queries: [{ propertyName: "menuItems", predicate: MenuItemComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<button\n [class]=\"className\"\n [auiTooltip]=\"menu.template\"\n [auiTooltipDisabled]=\"disabled\"\n [auiTooltipTrigger]=\"trigger\"\n [auiTooltipHideOnClick]=\"true\"\n auiTooltipPosition=\"end top\"\n auiTooltipType=\"plain\"\n auiTooltipClass=\"aui-sub-dropdown\"\n auiTooltipActive=\"isActive\"\n (click)=\"$event.stopPropagation()\"\n>\n <span class=\"aui-submenu__title\"><ng-content></ng-content></span>\n <aui-icon class=\"aui-submenu__arrow\" icon=\"angle_right\"></aui-icon>\n</button>\n\n<aui-menu #menu [size]=\"size\">\n <ng-content select=\"aui-menu-item\"></ng-content>\n</aui-menu>\n", styles: ["@charset \"UTF-8\";.aui-submenu{transition:all .3s ease;display:block;border:none;outline:none;width:100%;text-align:left;padding:0 var(--aui-spacing-l);height:var(--aui-inline-height-m);font-size:var(--aui-font-size-m);color:rgb(var(--aui-color-n-1));background-color:transparent;border-radius:var(--aui-border-radius-m);position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;cursor:pointer}.aui-submenu--default:hover{background-color:rgb(var(--aui-color-p-6))}.aui-submenu--default.isActive{color:rgb(var(--aui-color-primary));background-color:rgb(var(--aui-color-p-6))}.aui-submenu--primary{color:rgb(var(--aui-color-primary))}.aui-submenu--primary:hover,.aui-submenu--primary.isActive{background-color:rgb(var(--aui-color-p-6))}.aui-submenu--success{color:rgb(var(--aui-color-green))}.aui-submenu--success:hover,.aui-submenu--success.isActive{background-color:rgb(var(--aui-color-p-6))}.aui-submenu--warning{color:rgb(var(--aui-color-yellow))}.aui-submenu--warning:hover,.aui-submenu--warning.isActive{background-color:rgb(var(--aui-color-y-6))}.aui-submenu--danger{color:rgb(var(--aui-color-red))}.aui-submenu--danger:hover,.aui-submenu--danger.isActive{background-color:rgb(var(--aui-color-r-6))}.aui-submenu[disabled],.aui-submenu[disabled]:hover{color:rgb(var(--aui-color-n-6));background-color:transparent;cursor:not-allowed}.aui-submenu aui-icon:first-child{margin-right:var(--aui-spacing-m)}aui-submenu:not(:first-child) .hasDivider{overflow:visible;margin-top:var(--aui-spacing-xl)}aui-submenu:not(:first-child) .hasDivider:before{content:\"\";position:absolute;display:block;left:0;right:0;top:calc(0px - var(--aui-spacing-m));height:1px;background:rgb(var(--aui-color-n-8));pointer-events:none}.aui-submenu{display:flex;justify-content:space-between;align-items:center;padding-right:var(--aui-spacing-s)}.aui-submenu__title{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.aui-submenu__arrow{margin-left:var(--aui-spacing-l)}.aui-submenu--default.isActive{color:rgb(var(--aui-color-n-1))}.aui-sub-dropdown.aui-tooltip--start,.aui-sub-dropdown.aui-tooltip--end{margin:calc(0px - var(--aui-spacing-m)) var(--aui-spacing-m)}\n"], components: [{ type: i1.IconComponent, selector: "aui-icon", inputs: ["icon", "light", "dark", "link", "margin", "size", "color", "background", "backgroundColor"] }, { type: i2.MenuComponent, selector: "aui-menu", inputs: ["size"] }], directives: [{ type: i3.TooltipActiveDirective, selector: "[auiTooltipActive]", inputs: ["auiTooltipActive"] }, { type: i4.TooltipDirective, selector: "[auiTooltip]", inputs: ["auiTooltip", "auiTooltipContext", "auiTooltipClass", "auiTooltipType", "auiTooltipPosition", "auiTooltipTrigger", "auiTooltipDisabled", "auiTooltipHideOnClick"], outputs: ["auiTooltipShow", "auiTooltipHide"], exportAs: ["auiTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SubmenuComponent, decorators: [{
|
|
28
|
+
type: Component,
|
|
29
|
+
args: [{ selector: 'aui-submenu', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, preserveWhitespaces: false, template: "<button\n [class]=\"className\"\n [auiTooltip]=\"menu.template\"\n [auiTooltipDisabled]=\"disabled\"\n [auiTooltipTrigger]=\"trigger\"\n [auiTooltipHideOnClick]=\"true\"\n auiTooltipPosition=\"end top\"\n auiTooltipType=\"plain\"\n auiTooltipClass=\"aui-sub-dropdown\"\n auiTooltipActive=\"isActive\"\n (click)=\"$event.stopPropagation()\"\n>\n <span class=\"aui-submenu__title\"><ng-content></ng-content></span>\n <aui-icon class=\"aui-submenu__arrow\" icon=\"angle_right\"></aui-icon>\n</button>\n\n<aui-menu #menu [size]=\"size\">\n <ng-content select=\"aui-menu-item\"></ng-content>\n</aui-menu>\n", styles: ["@charset \"UTF-8\";.aui-submenu{transition:all .3s ease;display:block;border:none;outline:none;width:100%;text-align:left;padding:0 var(--aui-spacing-l);height:var(--aui-inline-height-m);font-size:var(--aui-font-size-m);color:rgb(var(--aui-color-n-1));background-color:transparent;border-radius:var(--aui-border-radius-m);position:relative;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;cursor:pointer}.aui-submenu--default:hover{background-color:rgb(var(--aui-color-p-6))}.aui-submenu--default.isActive{color:rgb(var(--aui-color-primary));background-color:rgb(var(--aui-color-p-6))}.aui-submenu--primary{color:rgb(var(--aui-color-primary))}.aui-submenu--primary:hover,.aui-submenu--primary.isActive{background-color:rgb(var(--aui-color-p-6))}.aui-submenu--success{color:rgb(var(--aui-color-green))}.aui-submenu--success:hover,.aui-submenu--success.isActive{background-color:rgb(var(--aui-color-p-6))}.aui-submenu--warning{color:rgb(var(--aui-color-yellow))}.aui-submenu--warning:hover,.aui-submenu--warning.isActive{background-color:rgb(var(--aui-color-y-6))}.aui-submenu--danger{color:rgb(var(--aui-color-red))}.aui-submenu--danger:hover,.aui-submenu--danger.isActive{background-color:rgb(var(--aui-color-r-6))}.aui-submenu[disabled],.aui-submenu[disabled]:hover{color:rgb(var(--aui-color-n-6));background-color:transparent;cursor:not-allowed}.aui-submenu aui-icon:first-child{margin-right:var(--aui-spacing-m)}aui-submenu:not(:first-child) .hasDivider{overflow:visible;margin-top:var(--aui-spacing-xl)}aui-submenu:not(:first-child) .hasDivider:before{content:\"\";position:absolute;display:block;left:0;right:0;top:calc(0px - var(--aui-spacing-m));height:1px;background:rgb(var(--aui-color-n-8));pointer-events:none}.aui-submenu{display:flex;justify-content:space-between;align-items:center;padding-right:var(--aui-spacing-s)}.aui-submenu__title{display:inline-block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.aui-submenu__arrow{margin-left:var(--aui-spacing-l)}.aui-submenu--default.isActive{color:rgb(var(--aui-color-n-1))}.aui-sub-dropdown.aui-tooltip--start,.aui-sub-dropdown.aui-tooltip--end{margin:calc(0px - var(--aui-spacing-m)) var(--aui-spacing-m)}\n"] }]
|
|
30
|
+
}], propDecorators: { trigger: [{
|
|
31
|
+
type: Input
|
|
32
|
+
}], size: [{
|
|
33
|
+
type: Input
|
|
34
|
+
}], disabled: [{
|
|
35
|
+
type: Input
|
|
36
|
+
}], menuItems: [{
|
|
37
|
+
type: ContentChildren,
|
|
38
|
+
args: [MenuItemComponent, { descendants: true }]
|
|
39
|
+
}] } });
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3VibWVudS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZHJvcGRvd24vc3VibWVudS9zdWJtZW51LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uL3NyYy9kcm9wZG93bi9zdWJtZW51L3N1Ym1lbnUuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBT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