@alauda/ui 6.2.2-beta.9 → 6.2.3-beta.1
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 +44 -0
- package/{esm2015/i18n/i18n.type.js → esm2020/i18n/i18n.type.mjs} +0 -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 +52 -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 +16 -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 +11582 -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 +27 -18
- 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/_base-var.scss +1 -11
- package/theme/_pattern.scss +3 -3
- package/theme/_var.scss +5 -3
- package/theme/style.css +20 -0
- 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 +36 -2
- 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.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,121 @@
|
|
|
1
|
+
import { animate, state, style, transition, trigger, } from '@angular/animations';
|
|
2
|
+
import { CdkCell } from '@angular/cdk/table';
|
|
3
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewEncapsulation, } from '@angular/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../icon/icon.component";
|
|
6
|
+
import * as i2 from "@angular/common";
|
|
7
|
+
export class TableExpandButtonCellComponent extends CdkCell {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments);
|
|
10
|
+
this.expand = false;
|
|
11
|
+
this.disabled = false;
|
|
12
|
+
this.expandChange = new EventEmitter();
|
|
13
|
+
}
|
|
14
|
+
get expanded() {
|
|
15
|
+
return this.expand ? 'expanded' : null;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
TableExpandButtonCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableExpandButtonCellComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
+
TableExpandButtonCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: TableExpandButtonCellComponent, selector: "aui-table-cell[auiExpandButton]", inputs: { expand: "expand", disabled: "disabled" }, outputs: { expandChange: "expandChange" }, usesInheritance: true, ngImport: i0, template: `
|
|
20
|
+
<button
|
|
21
|
+
type="button"
|
|
22
|
+
class="aui-expand-button"
|
|
23
|
+
[class.isExpanded]="expand"
|
|
24
|
+
[disabled]="disabled"
|
|
25
|
+
(click)="expandChange.next(null)"
|
|
26
|
+
>
|
|
27
|
+
<aui-icon icon="angle_right"></aui-icon>
|
|
28
|
+
</button>
|
|
29
|
+
`, isInline: true, components: [{ type: i1.IconComponent, selector: "aui-icon", inputs: ["icon", "light", "dark", "link", "margin", "size", "color", "background", "backgroundColor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableExpandButtonCellComponent, decorators: [{
|
|
31
|
+
type: Component,
|
|
32
|
+
args: [{
|
|
33
|
+
selector: 'aui-table-cell[auiExpandButton]',
|
|
34
|
+
template: `
|
|
35
|
+
<button
|
|
36
|
+
type="button"
|
|
37
|
+
class="aui-expand-button"
|
|
38
|
+
[class.isExpanded]="expand"
|
|
39
|
+
[disabled]="disabled"
|
|
40
|
+
(click)="expandChange.next(null)"
|
|
41
|
+
>
|
|
42
|
+
<aui-icon icon="angle_right"></aui-icon>
|
|
43
|
+
</button>
|
|
44
|
+
`,
|
|
45
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
46
|
+
encapsulation: ViewEncapsulation.None,
|
|
47
|
+
preserveWhitespaces: false,
|
|
48
|
+
}]
|
|
49
|
+
}], propDecorators: { expand: [{
|
|
50
|
+
type: Input
|
|
51
|
+
}], disabled: [{
|
|
52
|
+
type: Input
|
|
53
|
+
}], expandChange: [{
|
|
54
|
+
type: Output
|
|
55
|
+
}] } });
|
|
56
|
+
export class TableExpandPanelCellComponent extends CdkCell {
|
|
57
|
+
constructor() {
|
|
58
|
+
super(...arguments);
|
|
59
|
+
this.expand = false;
|
|
60
|
+
this.background = true;
|
|
61
|
+
}
|
|
62
|
+
get expanded() {
|
|
63
|
+
return this.expand ? 'expanded' : null;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
TableExpandPanelCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableExpandPanelCellComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
67
|
+
TableExpandPanelCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: TableExpandPanelCellComponent, selector: "aui-table-cell[auiExpandPanel]", inputs: { expand: "expand", background: "background" }, usesInheritance: true, ngImport: i0, template: `
|
|
68
|
+
<div
|
|
69
|
+
*ngIf="expand"
|
|
70
|
+
class="aui-table__cell-expand-panel"
|
|
71
|
+
[@expand]="expanded"
|
|
72
|
+
>
|
|
73
|
+
<div
|
|
74
|
+
class="aui-table__cell-expand-panel-content"
|
|
75
|
+
[class.hasBackground]="background"
|
|
76
|
+
>
|
|
77
|
+
<ng-content></ng-content>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
`, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [
|
|
81
|
+
trigger('expand', [
|
|
82
|
+
state('*', style({ height: 0 })),
|
|
83
|
+
state('expanded', style({ height: '*', 'margin-bottom': '15px' })),
|
|
84
|
+
transition('* <=> expanded', [animate('0.1s ease-in-out')]),
|
|
85
|
+
]),
|
|
86
|
+
], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
87
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableExpandPanelCellComponent, decorators: [{
|
|
88
|
+
type: Component,
|
|
89
|
+
args: [{
|
|
90
|
+
selector: 'aui-table-cell[auiExpandPanel]',
|
|
91
|
+
template: `
|
|
92
|
+
<div
|
|
93
|
+
*ngIf="expand"
|
|
94
|
+
class="aui-table__cell-expand-panel"
|
|
95
|
+
[@expand]="expanded"
|
|
96
|
+
>
|
|
97
|
+
<div
|
|
98
|
+
class="aui-table__cell-expand-panel-content"
|
|
99
|
+
[class.hasBackground]="background"
|
|
100
|
+
>
|
|
101
|
+
<ng-content></ng-content>
|
|
102
|
+
</div>
|
|
103
|
+
</div>
|
|
104
|
+
`,
|
|
105
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
106
|
+
encapsulation: ViewEncapsulation.None,
|
|
107
|
+
preserveWhitespaces: false,
|
|
108
|
+
animations: [
|
|
109
|
+
trigger('expand', [
|
|
110
|
+
state('*', style({ height: 0 })),
|
|
111
|
+
state('expanded', style({ height: '*', 'margin-bottom': '15px' })),
|
|
112
|
+
transition('* <=> expanded', [animate('0.1s ease-in-out')]),
|
|
113
|
+
]),
|
|
114
|
+
],
|
|
115
|
+
}]
|
|
116
|
+
}], propDecorators: { expand: [{
|
|
117
|
+
type: Input
|
|
118
|
+
}], background: [{
|
|
119
|
+
type: Input
|
|
120
|
+
}] } });
|
|
121
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtY2VsbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdGFibGUvdGFibGUtY2VsbC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLE9BQU8sRUFDUCxLQUFLLEVBQ0wsS0FBSyxFQUNMLFVBQVUsRUFDVixPQUFPLEdBQ1IsTUFBTSxxQkFBcUIsQ0FBQztBQUM3QixPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDN0MsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsWUFBWSxFQUNaLEtBQUssRUFDTCxNQUFNLE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uICAgIHRyaWdnZXIoJ2V4cGFuZCcsIFtcbiAgICAgIHN0YXRlKCcqJywgc3R5bGUoeyBoZWlnaHQ6IDAgfSkpLFxuICAgICAgc3RhdGUoJ2V4cGFuZGVkJywgc3R5bGUoeyBoZWlnaHQ6ICcqJywgJ21hcmdpbi1ib3R0b20nOiAnMTVweCcgfSkpLFxuICAgICAgdHJhbnNpdGlvbignKiA8PT4gZXhwYW5kZWQnLCBbYW5pbWF0ZSgnMC4xcyBlYXNlLWluLW91dCcpXSksXG4gICAgXSksXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIFRhYmxlRXhwYW5kUGFuZWxDZWxsQ29tcG9uZW50IGV4dGVuZHMgQ2RrQ2VsbCB7XG4gIEBJbnB1dCgpXG4gIGV4cGFuZCA9IGZhbHNlO1xuXG4gIEBJbnB1dCgpXG4gIGJhY2tncm91bmQgPSB0cnVlO1xuXG4gIGdldCBleHBhbmRlZCgpIHtcbiAgICByZXR1cm4gdGhpcy5leHBhbmQgPyAnZXhwYW5kZWQnIDogbnVsbDtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CdkCell } from '@angular/cdk/table';
|
|
2
|
+
import { Directive } from '@angular/core';
|
|
3
|
+
import { buildBem } from '../utils';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/cdk/table";
|
|
6
|
+
const bem = buildBem('aui-table');
|
|
7
|
+
/** Cell template container that adds the right classes and role. */
|
|
8
|
+
export class TableCellDirective extends CdkCell {
|
|
9
|
+
constructor(columnDef, elementRef) {
|
|
10
|
+
super(columnDef, elementRef);
|
|
11
|
+
elementRef.nativeElement.classList.add(bem.element(`column-${columnDef.cssClassFriendlyName}`));
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
TableCellDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableCellDirective, deps: [{ token: i1.CdkColumnDef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15
|
+
TableCellDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: TableCellDirective, selector: "aui-table-cell", host: { attributes: { "role": "gridcell" }, classAttribute: "aui-table__cell" }, usesInheritance: true, ngImport: i0 });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableCellDirective, decorators: [{
|
|
17
|
+
type: Directive,
|
|
18
|
+
args: [{
|
|
19
|
+
// tslint:disable-next-line: directive-selector
|
|
20
|
+
selector: 'aui-table-cell',
|
|
21
|
+
host: {
|
|
22
|
+
class: 'aui-table__cell',
|
|
23
|
+
role: 'gridcell',
|
|
24
|
+
},
|
|
25
|
+
}]
|
|
26
|
+
}], ctorParameters: function () { return [{ type: i1.CdkColumnDef }, { type: i0.ElementRef }]; } });
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtY2VsbC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdGFibGUvdGFibGUtY2VsbC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9BQU8sRUFBZ0IsTUFBTSxvQkFBb0IsQ0FBQztBQUMzRCxPQUFPLEVBQUUsU0FBUyxFQUFjLE1BQU0sZUFBZSxDQUFDO0FBRXRELE9BQU8sRUFBRSxRQUFRLEVBQUUsTUFBTSxVQUFVLENBQUM7OztBQUVwQyxNQUFNLEdBQUcsR0FBRyxRQUFRLENBQUMsV0FBVyxDQUFDLENBQUM7QUFFbEMsb0VBQW9FO0FBU3BFLE1BQU0sT0FBTyxrQkFBbUIsU0FBUSxPQUFPO0lBQzdDLFlBQVksU0FBdUIsRUFBRSxVQUFtQztRQUN0RSxLQUFLL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WJsZUNlbGxEaXJlY3RpdmUgZXh0ZW5kcyBDZGtDZWxsIHtcbiAgY29uc3RydWN0b3IoY29sdW1uRGVmOiBDZGtDb2x1bW5EZWYsIGVsZW1lbnRSZWY6IEVsZW1lbnRSZWY8SFRNTEVsZW1lbnQ+KSB7XG4gICAgc3VwZXIoY29sdW1uRGVmLCBlbGVtZW50UmVmKTtcbiAgICBlbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQuY2xhc3NMaXN0LmFkZChcbiAgICAgIGJlbS5lbGVtZW50KGBjb2x1bW4tJHtjb2x1bW5EZWYuY3NzQ2xhc3NGcmllbmRseU5hbWV9YCksXG4gICAgKTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { CdkColumnDef } from '@angular/cdk/table';
|
|
2
|
+
import { Directive, Input } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Column definition for the aui-table.
|
|
6
|
+
* Defines a set of cells available for a table column.
|
|
7
|
+
*/
|
|
8
|
+
export class TableColumnDefDirective extends CdkColumnDef {
|
|
9
|
+
// Unique name for this column
|
|
10
|
+
// Why it does not work in `inputs` property?
|
|
11
|
+
set auiTableColumnDef(value) {
|
|
12
|
+
this.name = value;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
TableColumnDefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableColumnDefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
16
|
+
TableColumnDefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: TableColumnDefDirective, selector: "[auiTableColumnDef]", inputs: { sticky: "sticky", auiTableColumnDef: "auiTableColumnDef" }, providers: [
|
|
17
|
+
{
|
|
18
|
+
provide: CdkColumnDef,
|
|
19
|
+
useExisting: TableColumnDefDirective,
|
|
20
|
+
},
|
|
21
|
+
], usesInheritance: true, ngImport: i0 });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableColumnDefDirective, decorators: [{
|
|
23
|
+
type: Directive,
|
|
24
|
+
args: [{
|
|
25
|
+
selector: '[auiTableColumnDef]',
|
|
26
|
+
providers: [
|
|
27
|
+
{
|
|
28
|
+
provide: CdkColumnDef,
|
|
29
|
+
useExisting: TableColumnDefDirective,
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
inputs: ['sticky'],
|
|
33
|
+
}]
|
|
34
|
+
}], propDecorators: { auiTableColumnDef: [{
|
|
35
|
+
type: Input
|
|
36
|
+
}] } });
|
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtY29sdW1uLWRlZi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdGFibGUvdGFibGUtY29sdW1uLWRlZi5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ2xELE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUVqRDs7O0dBR0c7QUFXSCxNQUFNLE9BQU8sdUJBQXdCLFNBQVEsWUFBWTtJQUN2RCw4QkFBOEI7SUFDOUIsNkNBQTZDO0lBQzdDLElBQ0ksaUJBQWlCLENBQUMsS0FBYTtRQUNqQyxJQUFJLENBQUMsSUFBSSxHQUFHLEtBQUssQ0FBQztJQUNwQixDQUFDOztvSEFOVSx1QkFBdUI7d0dBQXZCLHVCQUF1QixvSEFSdkI7UUFDVDtZQUNFLE9BQU8sRUFBRSxZQUFZO1lBQ3JCLFdBQVcsRUFBRSx1QkFBdUI7U0FDckM7S0FDRjsyRkFHVSx1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c3RyaW5nKSB7XG4gICAgdGhpcy5uYW1lID0gdmFsdWU7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { CdkHeaderCellDef } from '@angular/cdk/table';
|
|
2
|
+
import { Directive } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Header cell definition for the aui-table.
|
|
6
|
+
* Captures the template of a column's header cell and as well as cell-specific properties.
|
|
7
|
+
*/
|
|
8
|
+
export class TableHeaderCellDefDirective extends CdkHeaderCellDef {
|
|
9
|
+
}
|
|
10
|
+
TableHeaderCellDefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableHeaderCellDefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
11
|
+
TableHeaderCellDefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: TableHeaderCellDefDirective, selector: "[auiTableHeaderCellDef]", providers: [
|
|
12
|
+
{
|
|
13
|
+
provide: CdkHeaderCellDef,
|
|
14
|
+
useExisting: TableHeaderCellDefDirective,
|
|
15
|
+
},
|
|
16
|
+
], usesInheritance: true, ngImport: i0 });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableHeaderCellDefDirective, decorators: [{
|
|
18
|
+
type: Directive,
|
|
19
|
+
args: [{
|
|
20
|
+
selector: '[auiTableHeaderCellDef]',
|
|
21
|
+
providers: [
|
|
22
|
+
{
|
|
23
|
+
provide: CdkHeaderCellDef,
|
|
24
|
+
useExisting: TableHeaderCellDefDirective,
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
}]
|
|
28
|
+
}] });
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtaGVhZGVyLWNlbGwtZGVmLmRpcmVjd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VpVGFibGVIZWFkZXJDZWxsRGVmXScsXG4gIHByb3ZpZGVyczogW1xuICAgIHtcbiAgICAgIHByb3ZpZGU6IENka0hlYWRlckNlbGxEZWYsXG4gICAgICB1c2VFeGlzdGluZzogVGFibGVIZWFkZXJDZWxsRGVmRGlyZWN0aXZlLFxuICAgIH0sXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIFRhYmxlSGVhZGVyQ2VsbERlZkRpcmVjdGl2ZSBleHRlbmRzIENka0hlYWRlckNlbGxEZWYge31cbiJdfQ==
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CdkHeaderCell } from '@angular/cdk/table';
|
|
2
|
+
import { Directive } from '@angular/core';
|
|
3
|
+
import { buildBem } from '../utils';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/cdk/table";
|
|
6
|
+
const bem = buildBem('aui-table');
|
|
7
|
+
/** Header cell template container that adds the right classes and role. */
|
|
8
|
+
export class TableHeaderCellDirective extends CdkHeaderCell {
|
|
9
|
+
constructor(columnDef, elementRef) {
|
|
10
|
+
super(columnDef, elementRef);
|
|
11
|
+
elementRef.nativeElement.classList.add(bem.element(`column-${columnDef.cssClassFriendlyName}`));
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
TableHeaderCellDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableHeaderCellDirective, deps: [{ token: i1.CdkColumnDef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15
|
+
TableHeaderCellDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: TableHeaderCellDirective, selector: "aui-table-header-cell", host: { attributes: { "role": "columnheader" }, classAttribute: "aui-table__header-cell" }, usesInheritance: true, ngImport: i0 });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableHeaderCellDirective, decorators: [{
|
|
17
|
+
type: Directive,
|
|
18
|
+
args: [{
|
|
19
|
+
// tslint:disable-next-line: directive-selector
|
|
20
|
+
selector: 'aui-table-header-cell',
|
|
21
|
+
host: {
|
|
22
|
+
class: 'aui-table__header-cell',
|
|
23
|
+
role: 'columnheader',
|
|
24
|
+
},
|
|
25
|
+
}]
|
|
26
|
+
}], ctorParameters: function () { return [{ type: i1.CdkColumnDef }, { type: i0.ElementRef }]; } });
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtaGVhZGVyLWNlbGwuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3RhYmxlL3RhYmxlLWhlYWRlci1jZWxsLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQWdCLGFBQWEsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ2pFLE9BQU8sRUFBRSxTQUFTLEVBQWMsTUFBTSxlQUFlLENBQUM7QUFFdEQsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLFVBQVUsQ0FBQzs7O0FBRXBDLE1BQU0sR0FBRyxHQUFHLFFBQVEsQ0FBQyxXQUFXLENBQUMsQ0FBQztBQUVsQywyRUFBMkU7QUFTM0UsTUFBTSxPQUFPLHdCQUF5QixTQUFRLGFBQWE7SUFDekQsWUFBWSxTQUF1QixFQUFFLFVBQW1DO1FBQ3RFLEtBQUssQ0FBQyxTQUFTLEVBQUUsVUFBVSxDQUFDLENBQUM7UUFDN0IsVUFBVSxDQUFDLGFBQWEsQ0FBQyxTQUFTLENBQUMsR0FBRyxDQUNwQyxHQUFHLENBQUMsT0FBTyxDQUFDLFVBQVUsU0FBUyxDQUFDLG9CQUFvQixFQUFFLENBQUMsQ0FDeEQsQ0FBQztJQUNKLENBQUM7O3FIQU5VLHdCQUF3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KSB7XG4gICAgc3VwZXIoY29sdW1uRGVmLCBlbGVtZW50UmVmKTtcbiAgICBlbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQuY2xhc3NMaXN0LmFkZChcbiAgICAgIGJlbS5lbGVtZW50KGBjb2x1bW4tJHtjb2x1bW5EZWYuY3NzQ2xhc3NGcmllbmRseU5hbWV9YCksXG4gICAgKTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { CdkHeaderRowDef } from '@angular/cdk/table';
|
|
2
|
+
import { Directive, Input } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Header row definition for the aui-table.
|
|
6
|
+
* Captures the header row's template and other header properties such as the columns to display.
|
|
7
|
+
*/
|
|
8
|
+
export class TableHeaderRowDefDirective extends CdkHeaderRowDef {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.columns = [];
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
TableHeaderRowDefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableHeaderRowDefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
15
|
+
TableHeaderRowDefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: TableHeaderRowDefDirective, selector: "[auiTableHeaderRowDef]", inputs: { columns: ["auiTableHeaderRowDef", "columns"], sticky: ["auiTableHeaderRowDefSticky", "sticky"] }, providers: [
|
|
16
|
+
{
|
|
17
|
+
provide: CdkHeaderRowDef,
|
|
18
|
+
useExisting: TableHeaderRowDefDirective,
|
|
19
|
+
},
|
|
20
|
+
], usesInheritance: true, ngImport: i0 });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableHeaderRowDefDirective, decorators: [{
|
|
22
|
+
type: Directive,
|
|
23
|
+
args: [{
|
|
24
|
+
selector: '[auiTableHeaderRowDef]',
|
|
25
|
+
providers: [
|
|
26
|
+
{
|
|
27
|
+
provide: CdkHeaderRowDef,
|
|
28
|
+
useExisting: TableHeaderRowDefDirective,
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
}]
|
|
32
|
+
}], propDecorators: { columns: [{
|
|
33
|
+
type: Input,
|
|
34
|
+
args: ['auiTableHeaderRowDef']
|
|
35
|
+
}], sticky: [{
|
|
36
|
+
type: Input,
|
|
37
|
+
args: ['auiTableHeaderRowDefSticky']
|
|
38
|
+
}] } });
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtaGVhZGVyLXJvdy1kZWYuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3RhYmxlL3RhYmxlLWhlYWRlci1yb3ctZGVmLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDckQsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBRWpEOzs7R0FHRztBQVVILE1BQU0sT0FBTywwQkFBMkIsU0FBUSxlQUFlO0lBVC9EOztRQVdXLFlBQU8sR0FBcUIsRUFBRSxDQUFDO0tBSXpDOzt1SEFOWSwwQkFBMEI7MkdBQTFCLDBCQUEwQiw2SkFQMUI7UUFDVDtZQUNFLE9BQU8sRUFBRSxlQUFlO1lBQ3hCLFdBQVcsRUFBRSwwQkFBMEI7U0FDeEM7S0FDRjsyRkFFVSwwQkFBMEI7a0JBVHRDLFNBQVM7bUJBQUM7b0JBQ1QsUUFBUSxFQUFFLHdCQUF3QjtvQkFDbEMsU0FBUyxFQUFFO3dCQUNUOzRCQUNFLE9BQ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l19
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CDK_ROW_TEMPLATE, CdkHeaderRow } from '@angular/cdk/table';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, ViewEncapsulation, } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/cdk/table";
|
|
5
|
+
/** Header template container that contains the cell outlet. Adds the right class and role. */
|
|
6
|
+
export class TableHeaderRowComponent extends CdkHeaderRow {
|
|
7
|
+
}
|
|
8
|
+
TableHeaderRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableHeaderRowComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
9
|
+
TableHeaderRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: TableHeaderRowComponent, selector: "aui-table-header-row", host: { attributes: { "role": "row" }, classAttribute: "aui-table__header-row" }, exportAs: ["auiTableHeaderRow"], usesInheritance: true, ngImport: i0, template: "<ng-container cdkCellOutlet></ng-container>", isInline: true, directives: [{ type: i1.CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableHeaderRowComponent, decorators: [{
|
|
11
|
+
type: Component,
|
|
12
|
+
args: [{
|
|
13
|
+
selector: 'aui-table-header-row',
|
|
14
|
+
template: CDK_ROW_TEMPLATE,
|
|
15
|
+
host: {
|
|
16
|
+
class: 'aui-table__header-row',
|
|
17
|
+
role: 'row',
|
|
18
|
+
},
|
|
19
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
20
|
+
encapsulation: ViewEncapsulation.None,
|
|
21
|
+
exportAs: 'auiTableHeaderRow',
|
|
22
|
+
preserveWhitespaces: false,
|
|
23
|
+
}]
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udCxcbiAgVmlld0VuY2Fwc3VsYXRpb24sXG59IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG4vKiogSGVhZGVyIHRlbXBsYXRlIGNvbnRhaW5lciB0aGF0IGNvbnRhaW5zIHRoZSBjZWxsIG91dGxldC4gQWRkcyB0aGUgcmlnaHQgY2xhc3MgYW5kIHJvbGUuICovXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdhdWktdGFibGUtaGVhZGVyLXJvdycsXG4gIHRlbXBsYXRlOiBDREtfUk9XX1RFTVBMQVRFLFxuICBob3N0OiB7XG4gICAgY2xhc3M6ICdhdWktdGFibGVfX2hlYWRlci1yb3cnLFxuICAgIHJvbGU6ICdyb3cnLFxuICB9LFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaCxcbiAgZW5jYXBzdWxhdGlvbjogVmlld0VuY2Fwc3VsYXRpb24uTm9uZSxcbiAgZXhwb3J0QXM6ICdhdWlUYWJsZUhlYWRlclJvdycsXG4gIHByZXNlcnZlV2hpdGVzcGFjZXM6IGZhbHNlLFxufSlcbmV4cG9ydCBjbGFzcyBUYWJsZUhlYWRlclJvd0NvbXBvbmVudCBleHRlbmRzIENka0hlYWRlclJvdyB7fVxuIl19
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Directive, } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class TablePlaceholderDefDirective {
|
|
4
|
+
constructor(templateRef) {
|
|
5
|
+
this.templateRef = templateRef;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
TablePlaceholderDefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TablePlaceholderDefDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9
|
+
TablePlaceholderDefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: TablePlaceholderDefDirective, selector: "ng-template[auiTablePlaceholderDef]", ngImport: i0 });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TablePlaceholderDefDirective, decorators: [{
|
|
11
|
+
type: Directive,
|
|
12
|
+
args: [{
|
|
13
|
+
selector: 'ng-template[auiTablePlaceholderDef]',
|
|
14
|
+
}]
|
|
15
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
16
|
+
export class TablePlaceholderOutlet {
|
|
17
|
+
constructor(viewContainer, elementRef) {
|
|
18
|
+
this.viewContainer = viewContainer;
|
|
19
|
+
this.elementRef = elementRef;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
TablePlaceholderOutlet.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TablePlaceholderOutlet, deps: [{ token: i0.ViewContainerRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
23
|
+
TablePlaceholderOutlet.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: TablePlaceholderOutlet, selector: "[auiTablePlaceholderOutlet]", ngImport: i0 });
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TablePlaceholderOutlet, decorators: [{
|
|
25
|
+
type: Directive,
|
|
26
|
+
args: [{
|
|
27
|
+
selector: '[auiTablePlaceholderOutlet]',
|
|
28
|
+
}]
|
|
29
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ElementRef }]; } });
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtcGxhY2Vob2xkZXIuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4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dWJsaWMgdGVtcGxhdGVSZWY6IFRlbXBsYXRlUmVmPGFueT4pIHt9XG59XG5cbkBEaXJlY3RpdmUoe1xuICBzZWxlY3RvcjogJ1thdWlUYWJsZVBsYWNlaG9sZGVyT3V0bGV0XScsXG59KVxuZXhwb3J0IGNsYXNzIFRhYmxlUGxhY2Vob2xkZXJPdXRsZXQgaW1wbGVtZW50cyBSb3dPdXRsZXQge1xuICBjb25zdHJ1Y3RvcihcbiAgICBwdWJsaWMgdmlld0NvbnRhaW5lcjogVmlld0NvbnRhaW5lclJlZixcbiAgICBwdWJsaWMgZWxlbWVudFJlZjogRWxlbWVudFJlZixcbiAgKSB7fVxufVxuIl19
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { CdkRowDef } from '@angular/cdk/table';
|
|
2
|
+
import { Directive, Input } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Data row definition for the aui-table.
|
|
6
|
+
* Captures the header row's template and other row properties such as the columns to display and
|
|
7
|
+
* a when predicate that describes when this row should be used.
|
|
8
|
+
*/
|
|
9
|
+
export class TableRowDefDirective extends CdkRowDef {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.columns = [];
|
|
13
|
+
}
|
|
14
|
+
set auiTableRowDefWhen(v) {
|
|
15
|
+
this.when = v;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
TableRowDefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowDefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
19
|
+
TableRowDefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: TableRowDefDirective, selector: "[auiTableRowDef]", inputs: { columns: ["auiTableRowDefColumns", "columns"], auiTableRowDefWhen: "auiTableRowDefWhen" }, providers: [
|
|
20
|
+
{
|
|
21
|
+
provide: CdkRowDef,
|
|
22
|
+
useExisting: TableRowDefDirective,
|
|
23
|
+
},
|
|
24
|
+
], usesInheritance: true, ngImport: i0 });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowDefDirective, decorators: [{
|
|
26
|
+
type: Directive,
|
|
27
|
+
args: [{
|
|
28
|
+
selector: '[auiTableRowDef]',
|
|
29
|
+
providers: [
|
|
30
|
+
{
|
|
31
|
+
provide: CdkRowDef,
|
|
32
|
+
useExisting: TableRowDefDirective,
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
}]
|
|
36
|
+
}], propDecorators: { columns: [{
|
|
37
|
+
type: Input,
|
|
38
|
+
args: ['auiTableRowDefColumns']
|
|
39
|
+
}], auiTableRowDefWhen: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}] } });
|
|
42
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtcm93LWRlZi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdGFibGUvdGFibGUtcm93LWRlZi5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDOztBQUVqRDs7OztHQUlHO0FBVUgsTUFBTSxPQUFPLG9CQUF3QixTQUFRLFNBQVk7SUFUekQ7O1FBV1csWUFBTyxHQUFxQixFQUFFLENBQUM7S0FNekM7SUFKQyxJQUNJLGtCQUFrQixDQUFDLENBQXlDO1FBQzlELElBQUksQ0FBQyxJQUFJLEdBQUcsQ0FBQyxDQUFDO0lBQ2hCLENBQUM7O2lIQVBVLG9CQUFvQjtxR0FBcEIsb0JBQW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8VD4gZXh0ZW5kcyBDZGtSb3dEZWY8VD4ge1xuICBASW5wdXQoJ2F1aVRhYmxlUm93RGVmQ29sdW1ucycpXG4gIG92ZXJyaWRlIGNvbHVtbnM6IEl0ZXJhYmxlPHN0cmluZz4gPSBbXTtcblxuICBASW5wdXQoKVxuICBzZXQgYXVpVGFibGVSb3dEZWZXaGVuKHY6IChpbmRleDogbnVtYmVyLCByb3dEYXRhOiBUKSA9PiBib29sZWFuKSB7XG4gICAgdGhpcy53aGVuID0gdjtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { CDK_ROW_TEMPLATE, CdkRow } from '@angular/cdk/table';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, HostBinding, Input, ViewEncapsulation, } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/cdk/table";
|
|
5
|
+
/** Data row template container that contains the cell outlet. Adds the right class and role. */
|
|
6
|
+
export class TableRowComponent extends CdkRow {
|
|
7
|
+
constructor(elRef) {
|
|
8
|
+
super();
|
|
9
|
+
this.elRef = elRef;
|
|
10
|
+
this.disabled = false;
|
|
11
|
+
this.hasPanel = false;
|
|
12
|
+
}
|
|
13
|
+
ngAfterContentInit() {
|
|
14
|
+
const panel = this.elRef.nativeElement.querySelector('aui-table-cell[auiExpandPanel]');
|
|
15
|
+
this.hasPanel = !!panel;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
TableRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
+
TableRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: TableRowComponent, selector: "aui-table-row", inputs: { disabled: "disabled" }, host: { attributes: { "role": "row" }, properties: { "class.isDisabled": "this.disabled", "class.hasPanel": "this.hasPanel" }, classAttribute: "aui-table__row" }, exportAs: ["auiTableRow"], usesInheritance: true, ngImport: i0, template: "<ng-container cdkCellOutlet></ng-container>", isInline: true, directives: [{ type: i1.CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableRowComponent, decorators: [{
|
|
21
|
+
type: Component,
|
|
22
|
+
args: [{
|
|
23
|
+
selector: 'aui-table-row',
|
|
24
|
+
template: CDK_ROW_TEMPLATE,
|
|
25
|
+
host: {
|
|
26
|
+
class: 'aui-table__row',
|
|
27
|
+
role: 'row',
|
|
28
|
+
},
|
|
29
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
30
|
+
encapsulation: ViewEncapsulation.None,
|
|
31
|
+
exportAs: 'auiTableRow',
|
|
32
|
+
preserveWhitespaces: false,
|
|
33
|
+
}]
|
|
34
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { disabled: [{
|
|
35
|
+
type: Input
|
|
36
|
+
}, {
|
|
37
|
+
type: HostBinding,
|
|
38
|
+
args: ['class.isDisabled']
|
|
39
|
+
}], hasPanel: [{
|
|
40
|
+
type: HostBinding,
|
|
41
|
+
args: ['class.hasPanel']
|
|
42
|
+
}] } });
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtcm93LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy90YWJsZS90YWJsZS1yb3cuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUM5RCxPQUFPLEVB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cbiAgaGFzUGFuZWwgPSBmYWxzZTtcblxuICBjb25zdHJ1Y3Rvcihwcml2YXRlIHJlYWRvbmx5IGVsUmVmOiBFbGVtZW50UmVmPEhUTUxFbGVtZW50Pikge1xuICAgIHN1cGVyKCk7XG4gIH1cblxuICBuZ0FmdGVyQ29udGVudEluaXQoKSB7XG4gICAgY29uc3QgcGFuZWwgPSB0aGlzLmVsUmVmLm5hdGl2ZUVsZW1lbnQucXVlcnlTZWxlY3RvcihcbiAgICAgICdhdWktdGFibGUtY2VsbFthdWlFeHBhbmRQYW5lbF0nLFxuICAgICk7XG4gICAgdGhpcy5oYXNQYW5lbCA9ICEhcGFuZWw7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { Directive, Host, HostBinding, } from '@angular/core';
|
|
2
|
+
import { Subject, fromEvent, merge } from 'rxjs';
|
|
3
|
+
import { startWith, takeUntil } from 'rxjs/operators';
|
|
4
|
+
import { observeResizeOn } from '../utils';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "./table.component";
|
|
7
|
+
const CLASS_PREFIX = 'aui-table';
|
|
8
|
+
const SHADOW_CLASS = `${CLASS_PREFIX}__scroll-shadow`;
|
|
9
|
+
const HAS_SCROLL_CLASS = `${SHADOW_CLASS}--has-scroll`;
|
|
10
|
+
const SCROLLING_CLASS = `${SHADOW_CLASS}--scrolling`;
|
|
11
|
+
const SCROLL_BEFORE_END_CLASS = `${SHADOW_CLASS}--before-end`;
|
|
12
|
+
const HAS_TABLE_TOP_SHADOW = 'hasTableTopShadow';
|
|
13
|
+
const HAS_TABLE_BOTTOM_SHADOW = 'hasTableBottomShadow';
|
|
14
|
+
const HAS_TABLE_VERTICAL_SCROLL = 'hasTableVerticalScroll';
|
|
15
|
+
export class TableScrollWrapperDirective {
|
|
16
|
+
}
|
|
17
|
+
TableScrollWrapperDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableScrollWrapperDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
18
|
+
TableScrollWrapperDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: TableScrollWrapperDirective, selector: "[auiTableScrollWrapper]", host: { classAttribute: "aui-table__scroll-wrapper" }, ngImport: i0 });
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableScrollWrapperDirective, decorators: [{
|
|
20
|
+
type: Directive,
|
|
21
|
+
args: [{
|
|
22
|
+
selector: '[auiTableScrollWrapper]',
|
|
23
|
+
host: {
|
|
24
|
+
class: 'aui-table__scroll-wrapper',
|
|
25
|
+
},
|
|
26
|
+
}]
|
|
27
|
+
}] });
|
|
28
|
+
export class TableScrollShadowDirective {
|
|
29
|
+
constructor(el, table) {
|
|
30
|
+
this.el = el;
|
|
31
|
+
this.table = table;
|
|
32
|
+
this.destroy$$ = new Subject();
|
|
33
|
+
this.SCROLL_BEFORE_END_CLASS = true;
|
|
34
|
+
this.SHADOW_CLASS = true;
|
|
35
|
+
}
|
|
36
|
+
get containerEl() {
|
|
37
|
+
return this.el.nativeElement;
|
|
38
|
+
}
|
|
39
|
+
ngAfterViewInit() {
|
|
40
|
+
requestAnimationFrame(() => {
|
|
41
|
+
this.viewMutation();
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
viewMutation() {
|
|
45
|
+
merge(observeResizeOn(this.containerEl), fromEvent(this.containerEl, 'scroll'))
|
|
46
|
+
.pipe(startWith(null), takeUntil(this.destroy$$))
|
|
47
|
+
.subscribe(() => {
|
|
48
|
+
this.mutateVerticalScroll();
|
|
49
|
+
this.mutateHorizontalScroll();
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
mutateVerticalScroll() {
|
|
53
|
+
const scrollDis = this.containerEl.scrollHeight - this.containerEl.offsetHeight;
|
|
54
|
+
this.placeClassList(this.containerEl.classList, scrollDis > 0, HAS_TABLE_VERTICAL_SCROLL);
|
|
55
|
+
const scrollTop = this.containerEl.scrollTop;
|
|
56
|
+
this.placeClassList(this.containerEl.classList, scrollTop > 0, HAS_TABLE_TOP_SHADOW);
|
|
57
|
+
this.placeClassList(this.containerEl.classList, scrollTop < scrollDis, HAS_TABLE_BOTTOM_SHADOW);
|
|
58
|
+
// 兼容屏幕缩放是 sticky多列的样式问题
|
|
59
|
+
this.table.updateStickyColumnStyles();
|
|
60
|
+
}
|
|
61
|
+
mutateHorizontalScroll() {
|
|
62
|
+
const scrollDis = this.containerEl.scrollWidth - this.containerEl.offsetWidth;
|
|
63
|
+
this.placeClassList(this.containerEl.classList, scrollDis > 0, HAS_SCROLL_CLASS);
|
|
64
|
+
const scrollLeft = this.containerEl.scrollLeft;
|
|
65
|
+
this.placeClassList(this.containerEl.classList, scrollLeft > 0, SCROLLING_CLASS);
|
|
66
|
+
this.placeClassList(this.containerEl.classList, scrollLeft < scrollDis, SCROLL_BEFORE_END_CLASS);
|
|
67
|
+
}
|
|
68
|
+
placeClassList(classList, condition, className) {
|
|
69
|
+
classList[condition ? 'add' : 'remove'](className);
|
|
70
|
+
}
|
|
71
|
+
ngOnDestroy() {
|
|
72
|
+
this.destroy$$.next();
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
TableScrollShadowDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableScrollShadowDirective, deps: [{ token: i0.ElementRef }, { token: i1.TableComponent, host: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
76
|
+
TableScrollShadowDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: TableScrollShadowDirective, selector: "[auiTableScrollShadow]", host: { properties: { "class.aui-table__scroll-shadow--before-end": "this.SCROLL_BEFORE_END_CLASS", "class.aui-table__scroll-shadow": "this.SHADOW_CLASS" } }, ngImport: i0 });
|
|
77
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: TableScrollShadowDirective, decorators: [{
|
|
78
|
+
type: Directive,
|
|
79
|
+
args: [{
|
|
80
|
+
selector: '[auiTableScrollShadow]',
|
|
81
|
+
}]
|
|
82
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.TableComponent, decorators: [{
|
|
83
|
+
type: Host
|
|
84
|
+
}] }]; }, propDecorators: { SCROLL_BEFORE_END_CLASS: [{
|
|
85
|
+
type: HostBinding,
|
|
86
|
+
args: [`class.${SCROLL_BEFORE_END_CLASS}`]
|
|
87
|
+
}], SHADOW_CLASS: [{
|
|
88
|
+
type: HostBinding,
|
|
89
|
+
args: [`class.${SHADOW_CLASS}`]
|
|
90
|
+
}] } });
|
|
91
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtc2Nyb2xsLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy90YWJsZS90YWJsZS1zY3JvbGwuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFFTCxTQUFTLEVBRVQsSUFBSSxFQUNKLFdBQVcsR0FFWixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQUUsTUFBTSxNQUFNLENBQUM7QUFDakQsT0FBTyxFQUFFLFNBQVMsRUFBRSxTQUFTLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUV0RCxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sVUFBVSxDQUFDOzs7QUFHM0MsTUFBTSxZQUFZLEdBQUcsV0FBVyxDQUFDO0FBQ2pDLE1BQU0sWUFBWSxHQUFHLEdBQUcsWUFBWSxpQkFBaUIsQ0FBQztBQUN0RC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