@alauda/ui 6.2.3-beta.9 → 6.3.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.changeset/README.md +8 -0
- package/accordion/accordion-item/accordion-item.component.d.ts +7 -0
- package/accordion/accordion.component.d.ts +3 -0
- package/accordion/accordion.module.d.ts +10 -0
- package/alauda-ui.d.ts +1 -20
- package/anchor/anchor.component.d.ts +7 -2
- package/anchor/anchor.directive.d.ts +7 -0
- package/anchor/anchor.module.d.ts +7 -0
- package/autocomplete/autocomplete-placeholder.component.d.ts +3 -0
- package/autocomplete/autocomplete.component.d.ts +3 -0
- package/autocomplete/autocomplete.directive.d.ts +5 -0
- package/autocomplete/autocomplete.module.d.ts +13 -0
- package/autocomplete/helper-directives.d.ts +3 -0
- package/autocomplete/suggestion/suggestion.component.d.ts +3 -0
- package/autocomplete/suggestion-group/suggestion-group.component.d.ts +3 -0
- package/back-top/back-top.component.d.ts +3 -0
- package/back-top/back-top.module.d.ts +7 -0
- package/breadcrumb/breadcrumb-item.component.d.ts +3 -0
- package/breadcrumb/breadcrumb.component.d.ts +3 -0
- package/breadcrumb/breadcrumb.module.d.ts +8 -0
- package/button/button-group/button-group.component.d.ts +3 -0
- package/button/button.component.d.ts +9 -38
- package/button/button.module.d.ts +8 -0
- package/card/card.component.d.ts +3 -0
- package/card/card.module.d.ts +8 -0
- package/card/helper-directives.d.ts +7 -0
- package/card/section.component.d.ts +3 -0
- package/checkbox/checkbox-group/checkbox-group.component.d.ts +3 -0
- package/checkbox/checkbox.component.d.ts +3 -0
- package/checkbox/checkbox.module.d.ts +8 -0
- package/color-picker/color-picker.component.d.ts +3 -0
- package/color-picker/color-picker.module.d.ts +7 -0
- package/date-picker/calendar/date-picker-panel/component.d.ts +3 -0
- package/date-picker/calendar/footer/component.d.ts +3 -0
- package/date-picker/calendar/header/component.d.ts +3 -0
- package/date-picker/calendar/panel/picker-panel.d.ts +3 -0
- package/date-picker/calendar/range-picker-panel/component.d.ts +3 -0
- package/date-picker/date-picker/date-picker.component.d.ts +3 -0
- package/date-picker/date-picker.module.d.ts +20 -0
- package/date-picker/public-api.d.ts +1 -0
- package/date-picker/range-picker/range-picker.component.d.ts +3 -0
- package/date-picker/trigger/trigger.component.d.ts +3 -0
- package/dialog/confirm-dialog/confirm-dialog.component.d.ts +3 -0
- package/dialog/dialog-content/dialog-close.directive.d.ts +3 -0
- package/dialog/dialog-content/dialog-content.component.d.ts +3 -0
- package/dialog/dialog-content/dialog-footer.component.d.ts +3 -0
- package/dialog/dialog-content/dialog-header.component.d.ts +3 -0
- package/dialog/dialog.component.d.ts +3 -0
- package/dialog/dialog.module.d.ts +15 -0
- package/dialog/dialog.service.d.ts +3 -0
- package/dialog/public-api.d.ts +1 -0
- package/drawer/component/drawer.component.d.ts +5 -2
- package/drawer/component/helper-directives.d.ts +7 -4
- package/drawer/drawer.module.d.ts +10 -0
- package/drawer/drawer.service.d.ts +3 -0
- package/dropdown/dropdown-active.directive.d.ts +3 -0
- package/dropdown/dropdown-button/dropdown-button.component.d.ts +3 -0
- package/dropdown/dropdown.directive.d.ts +3 -0
- package/dropdown/dropdown.module.d.ts +17 -0
- package/dropdown/helper-directives.d.ts +3 -0
- package/dropdown/menu/menu-content.directive.d.ts +3 -0
- package/dropdown/menu/menu.component.d.ts +3 -0
- package/dropdown/menu-group/menu-group.component.d.ts +3 -0
- package/dropdown/menu-item/menu-item.component.d.ts +3 -0
- package/dropdown/public-api.d.ts +1 -0
- package/dropdown/submenu/submenu.component.d.ts +3 -0
- package/esm2020/accordion/accordion-item/accordion-item.component.mjs +73 -0
- package/esm2020/accordion/accordion.component.mjs +27 -0
- package/esm2020/accordion/accordion.module.mjs +39 -0
- package/{esm2015/accordion/public-api.js → esm2020/accordion/public-api.mjs} +0 -0
- package/esm2020/alauda-ui.mjs +5 -0
- package/esm2020/anchor/anchor.component.mjs +139 -0
- package/esm2020/anchor/anchor.directive.mjs +184 -0
- package/esm2020/anchor/anchor.module.mjs +36 -0
- package/{esm2015/anchor/public-api.js → esm2020/anchor/public-api.mjs} +0 -0
- package/{esm2015/anchor/types.js → esm2020/anchor/types.mjs} +0 -0
- package/{esm2015/anchor/utils.js → esm2020/anchor/utils.mjs} +0 -0
- package/esm2020/autocomplete/autocomplete-placeholder.component.mjs +17 -0
- package/esm2020/autocomplete/autocomplete.component.mjs +41 -0
- package/esm2020/autocomplete/autocomplete.directive.mjs +272 -0
- package/esm2020/autocomplete/autocomplete.module.mjs +53 -0
- package/{esm2015/autocomplete/autocomplete.types.js → esm2020/autocomplete/autocomplete.types.mjs} +0 -0
- package/esm2020/autocomplete/helper-directives.mjs +17 -0
- package/{esm2015/autocomplete/public-api.js → esm2020/autocomplete/public-api.mjs} +0 -0
- package/esm2020/autocomplete/suggestion/suggestion.component.mjs +78 -0
- package/esm2020/autocomplete/suggestion-group/suggestion-group.component.mjs +23 -0
- package/esm2020/back-top/back-top.component.mjs +68 -0
- package/esm2020/back-top/back-top.module.mjs +19 -0
- package/{esm2015/back-top/public-api.js → esm2020/back-top/public-api.mjs} +0 -0
- package/esm2020/breadcrumb/breadcrumb-item.component.mjs +32 -0
- package/esm2020/breadcrumb/breadcrumb.component.mjs +57 -0
- package/esm2020/breadcrumb/breadcrumb.module.mjs +20 -0
- package/{esm2015/breadcrumb/public-api.js → esm2020/breadcrumb/public-api.mjs} +0 -0
- package/esm2020/button/button-group/button-group.component.mjs +11 -0
- package/esm2020/button/button.component.mjs +122 -0
- package/esm2020/button/button.module.mjs +20 -0
- package/{esm2015/button/button.types.js → esm2020/button/button.types.mjs} +0 -0
- package/{esm2015/button/public-api.js → esm2020/button/public-api.mjs} +0 -0
- package/esm2020/card/card.component.mjs +16 -0
- package/esm2020/card/card.module.mjs +40 -0
- package/esm2020/card/helper-directives.mjs +43 -0
- package/{esm2015/card/public-api.js → esm2020/card/public-api.mjs} +0 -0
- package/esm2020/card/section.component.mjs +11 -0
- package/esm2020/checkbox/checkbox-group/checkbox-group.component.mjs +64 -0
- package/esm2020/checkbox/checkbox.component.mjs +114 -0
- package/esm2020/checkbox/checkbox.module.mjs +20 -0
- package/{esm2015/checkbox/public-api.js → esm2020/checkbox/public-api.mjs} +0 -0
- package/esm2020/color-picker/color-picker.component.mjs +32 -0
- package/esm2020/color-picker/color-picker.module.mjs +19 -0
- package/{esm2015/color-picker/public-api.js → esm2020/color-picker/public-api.mjs} +0 -0
- package/{esm2015/date-picker/calendar/constant.js → esm2020/date-picker/calendar/constant.mjs} +0 -0
- package/esm2020/date-picker/calendar/date-picker-panel/component.mjs +128 -0
- package/esm2020/date-picker/calendar/footer/component.mjs +29 -0
- package/esm2020/date-picker/calendar/header/component.mjs +105 -0
- package/esm2020/date-picker/calendar/panel/picker-panel.mjs +149 -0
- package/esm2020/date-picker/calendar/range-picker-panel/component.mjs +209 -0
- package/{esm2015/date-picker/calendar/util.js → esm2020/date-picker/calendar/util.mjs} +0 -0
- package/esm2020/date-picker/date-picker/date-picker.component.mjs +104 -0
- package/esm2020/date-picker/date-picker.module.mjs +84 -0
- package/{esm2015/date-picker/date-picker.type.js → esm2020/date-picker/date-picker.type.mjs} +0 -0
- package/esm2020/date-picker/public-api.mjs +12 -0
- package/esm2020/date-picker/range-picker/range-picker.component.mjs +80 -0
- package/esm2020/date-picker/trigger/trigger.component.mjs +69 -0
- package/{esm2015/dialog/confirm-dialog/confirm-dialog-config.js → esm2020/dialog/confirm-dialog/confirm-dialog-config.mjs} +0 -0
- package/esm2020/dialog/confirm-dialog/confirm-dialog.component.mjs +86 -0
- package/{esm2015/dialog/dialog-config.js → esm2020/dialog/dialog-config.mjs} +0 -0
- package/esm2020/dialog/dialog-content/dialog-close.directive.mjs +38 -0
- package/esm2020/dialog/dialog-content/dialog-content.component.mjs +20 -0
- package/esm2020/dialog/dialog-content/dialog-footer.component.mjs +15 -0
- package/esm2020/dialog/dialog-content/dialog-header.component.mjs +39 -0
- package/{esm2015/dialog/dialog-ref.js → esm2020/dialog/dialog-ref.mjs} +0 -0
- package/esm2020/dialog/dialog.component.mjs +59 -0
- package/esm2020/dialog/dialog.module.mjs +68 -0
- package/esm2020/dialog/dialog.service.mjs +128 -0
- package/{esm2015/dialog/dialog.types.js → esm2020/dialog/dialog.types.mjs} +0 -0
- package/esm2020/dialog/public-api.mjs +12 -0
- package/{esm2015/dialog/utils/errors.js → esm2020/dialog/utils/errors.mjs} +0 -0
- package/esm2020/dialog/utils/index.mjs +11 -0
- package/{esm2015/drawer/component/drawer-ref.js → esm2020/drawer/component/drawer-ref.mjs} +0 -0
- package/esm2020/drawer/component/drawer.component.mjs +231 -0
- package/esm2020/drawer/component/helper-directives.mjs +37 -0
- package/esm2020/drawer/drawer.module.mjs +37 -0
- package/esm2020/drawer/drawer.service.mjs +45 -0
- package/{esm2015/drawer/public-api.js → esm2020/drawer/public-api.mjs} +0 -0
- package/esm2020/dropdown/dropdown-active.directive.mjs +21 -0
- package/esm2020/dropdown/dropdown-button/dropdown-button.component.mjs +51 -0
- package/esm2020/dropdown/dropdown.directive.mjs +83 -0
- package/esm2020/dropdown/dropdown.module.mjs +65 -0
- package/{esm2015/dropdown/dropdown.types.js → esm2020/dropdown/dropdown.types.mjs} +0 -0
- package/esm2020/dropdown/helper-directives.mjs +17 -0
- package/esm2020/dropdown/menu/menu-content.directive.mjs +51 -0
- package/esm2020/dropdown/menu/menu.component.mjs +33 -0
- package/esm2020/dropdown/menu-group/menu-group.component.mjs +11 -0
- package/esm2020/dropdown/menu-item/menu-item.component.mjs +37 -0
- package/esm2020/dropdown/public-api.mjs +12 -0
- package/esm2020/dropdown/submenu/submenu.component.mjs +40 -0
- package/esm2020/form/common-form.mjs +92 -0
- package/esm2020/form/form-item/form-item.component.mjs +106 -0
- package/esm2020/form/form.directive.mjs +70 -0
- package/esm2020/form/form.module.mjs +48 -0
- package/{esm2015/form/form.types.js → esm2020/form/form.types.mjs} +0 -0
- package/esm2020/form/helper-directives.mjs +81 -0
- package/{esm2015/form/public-api.js → esm2020/form/public-api.mjs} +0 -0
- package/esm2020/i18n/i18n.module.mjs +16 -0
- package/esm2020/i18n/i18n.pipe.mjs +20 -0
- package/esm2020/i18n/i18n.service.mjs +43 -0
- package/esm2020/i18n/i18n.type.mjs +6 -0
- package/{esm2015/i18n/language/en.js → esm2020/i18n/language/en.mjs} +0 -0
- package/{esm2015/i18n/language/zh.js → esm2020/i18n/language/zh.mjs} +0 -0
- package/{esm2015/i18n/public-api.js → esm2020/i18n/public-api.mjs} +0 -0
- package/esm2020/icon/icon-register.service.mjs +70 -0
- package/esm2020/icon/icon.component.mjs +65 -0
- package/esm2020/icon/icon.module.mjs +21 -0
- package/{esm2015/icon/icons.js → esm2020/icon/icons.mjs} +0 -0
- package/{esm2015/icon/public-api.js → esm2020/icon/public-api.mjs} +0 -0
- package/{esm2015/icon/utils.js → esm2020/icon/utils.mjs} +0 -0
- package/esm2020/inline-alert/helper-directives.mjs +14 -0
- package/esm2020/inline-alert/inline-alert.component.mjs +55 -0
- package/esm2020/inline-alert/inline-alert.module.mjs +20 -0
- package/{esm2015/inline-alert/inline-alert.types.js → esm2020/inline-alert/inline-alert.types.mjs} +0 -0
- package/{esm2015/inline-alert/public-api.js → esm2020/inline-alert/public-api.mjs} +0 -0
- package/esm2020/input/autosize.directive.mjs +60 -0
- package/esm2020/input/helper-directives.mjs +43 -0
- package/esm2020/input/input-group/input-group.component.mjs +39 -0
- package/esm2020/input/input.component.mjs +61 -0
- package/esm2020/input/input.module.mjs +91 -0
- package/esm2020/input/number-input/number-input.component.mjs +94 -0
- package/esm2020/input/public-api.mjs +9 -0
- package/esm2020/input/search/search.component.mjs +81 -0
- package/esm2020/input/tags-input/tags-input.component.mjs +265 -0
- package/{esm2015/input/tags-input/with-max-row-count.js → esm2020/input/tags-input/with-max-row-count.mjs} +0 -0
- package/{esm2015/input/utils/index.js → esm2020/input/utils/index.mjs} +0 -0
- package/esm2020/message/base-message.mjs +90 -0
- package/{esm2015/message/message-animations.js → esm2020/message/message-animations.mjs} +0 -0
- package/esm2020/message/message-wrapper.component.mjs +14 -0
- package/esm2020/message/message.component.mjs +70 -0
- package/{esm2015/message/message.config.js → esm2020/message/message.config.mjs} +0 -0
- package/esm2020/message/message.module.mjs +23 -0
- package/esm2020/message/message.service.mjs +26 -0
- package/{esm2015/message/public-api.js → esm2020/message/public-api.mjs} +0 -0
- package/esm2020/notification/notification-wrapper.component.mjs +16 -0
- package/esm2020/notification/notification.component.mjs +107 -0
- package/{esm2015/notification/notification.config.js → esm2020/notification/notification.config.mjs} +0 -0
- package/esm2020/notification/notification.module.mjs +24 -0
- package/esm2020/notification/notification.service.mjs +26 -0
- package/{esm2015/notification/public-api.js → esm2020/notification/public-api.mjs} +0 -0
- package/esm2020/paginator/paginator-intl.mjs +36 -0
- package/esm2020/paginator/paginator.component.mjs +125 -0
- package/esm2020/paginator/paginator.module.mjs +24 -0
- package/{esm2015/paginator/public-api.js → esm2020/paginator/public-api.mjs} +0 -0
- package/{esm2015/public-api.js → esm2020/public-api.mjs} +0 -0
- package/esm2020/radio/base-radio.mjs +69 -0
- package/{esm2015/radio/public-api.js → esm2020/radio/public-api.mjs} +0 -0
- package/esm2020/radio/radio-button/radio-button.component.mjs +42 -0
- package/esm2020/radio/radio-group/radio-group.component.mjs +80 -0
- package/esm2020/radio/radio.component.mjs +24 -0
- package/esm2020/radio/radio.module.mjs +21 -0
- package/{esm2015/radio/radio.types.js → esm2020/radio/radio.types.mjs} +0 -0
- package/esm2020/scrolling/fixed-size-table-virtual-scroll-strategy.mjs +84 -0
- package/esm2020/scrolling/fixed-size-table-virtual-scroll.directive.mjs +122 -0
- package/esm2020/scrolling/fixed-size-virtual-scroll.directive.mjs +28 -0
- package/esm2020/scrolling/public-api.mjs +7 -0
- package/esm2020/scrolling/scrolling.module.mjs +30 -0
- package/esm2020/scrolling/virtual-for-of.directive.mjs +36 -0
- package/esm2020/scrolling/virtual-scroll-viewport.component.mjs +26 -0
- package/esm2020/select/base-select.mjs +339 -0
- package/esm2020/select/helper-directives.mjs +29 -0
- package/esm2020/select/multi-select/multi-select.component.mjs +292 -0
- package/esm2020/select/option/option.component.mjs +110 -0
- package/esm2020/select/option-group/option-group.component.mjs +23 -0
- package/esm2020/select/option-placeholder.component.mjs +17 -0
- package/{esm2015/select/public-api.js → esm2020/select/public-api.mjs} +0 -0
- package/esm2020/select/select.component.mjs +107 -0
- package/esm2020/select/select.module.mjs +80 -0
- package/{esm2015/select/select.types.js → esm2020/select/select.types.mjs} +0 -0
- package/esm2020/select/validators.mjs +79 -0
- package/esm2020/shared/click-outside.directive.mjs +28 -0
- package/esm2020/shared/shared.module.mjs +16 -0
- package/{esm2015/sort/public-api.js → esm2020/sort/public-api.mjs} +0 -0
- package/{esm2015/sort/sort-errors.js → esm2020/sort/sort-errors.mjs} +0 -0
- package/esm2020/sort/sort-header.component.mjs +72 -0
- package/esm2020/sort/sort.directive.mjs +75 -0
- package/esm2020/sort/sort.module.mjs +19 -0
- package/{esm2015/sort/sort.types.js → esm2020/sort/sort.types.mjs} +0 -0
- package/{esm2015/status-bar/public-api.js → esm2020/status-bar/public-api.mjs} +0 -0
- package/esm2020/status-bar/status-bar.component.mjs +29 -0
- package/esm2020/status-bar/status-bar.module.mjs +19 -0
- package/{esm2015/status-bar/status-bar.types.js → esm2020/status-bar/status-bar.types.mjs} +0 -0
- package/{esm2015/steps/public-api.js → esm2020/steps/public-api.mjs} +0 -0
- package/esm2020/steps/steps.component.mjs +183 -0
- package/esm2020/steps/steps.module.mjs +19 -0
- package/{esm2015/steps/types.js → esm2020/steps/types.mjs} +0 -0
- package/{esm2015/switch/public-api.js → esm2020/switch/public-api.mjs} +0 -0
- package/esm2020/switch/switch.component.mjs +49 -0
- package/esm2020/switch/switch.module.mjs +18 -0
- package/esm2020/table/public-api.mjs +15 -0
- package/esm2020/table/table-cell-def.directive.mjs +29 -0
- package/esm2020/table/table-cell.component.mjs +121 -0
- package/esm2020/table/table-cell.directive.mjs +27 -0
- package/esm2020/table/table-column-def.directive.mjs +37 -0
- package/esm2020/table/table-header-cell-def.directive.mjs +29 -0
- package/esm2020/table/table-header-cell.directive.mjs +27 -0
- package/esm2020/table/table-header-row-def.directive.mjs +39 -0
- package/esm2020/table/table-header-row.component.mjs +25 -0
- package/esm2020/table/table-placeholder.directive.mjs +30 -0
- package/esm2020/table/table-row-def.directive.mjs +42 -0
- package/esm2020/table/table-row.component.mjs +43 -0
- package/esm2020/table/table-scroll.directive.mjs +91 -0
- package/esm2020/table/table.component.mjs +81 -0
- package/esm2020/table/table.module.mjs +96 -0
- package/{esm2015/table-of-contents/public-api.js → esm2020/table-of-contents/public-api.mjs} +0 -0
- package/esm2020/table-of-contents/table-of-contents.module.mjs +20 -0
- package/esm2020/table-of-contents/toc-container.directive.mjs +110 -0
- package/esm2020/table-of-contents/toc-content.directive.mjs +35 -0
- package/esm2020/table-of-contents/toc-link.directive.mjs +47 -0
- package/esm2020/tabs/public-api.mjs +9 -0
- package/esm2020/tabs/tab-body.component.mjs +165 -0
- package/esm2020/tabs/tab-context.service.mjs +32 -0
- package/esm2020/tabs/tab-group.component.mjs +291 -0
- package/esm2020/tabs/tab-header-active-indicator.component.mjs +53 -0
- package/esm2020/tabs/tab-header.component.mjs +365 -0
- package/esm2020/tabs/tab.component.mjs +85 -0
- package/esm2020/tabs/tabs.module.mjs +88 -0
- package/{esm2015/tabs/tabs.types.js → esm2020/tabs/tabs.types.mjs} +0 -0
- package/esm2020/tag/check-tag/check-tag.component.mjs +33 -0
- package/{esm2015/tag/public-api.js → esm2020/tag/public-api.mjs} +0 -0
- package/esm2020/tag/tag.component.mjs +64 -0
- package/esm2020/tag/tag.module.mjs +20 -0
- package/{esm2015/tag/tag.types.js → esm2020/tag/tag.types.mjs} +0 -0
- package/{esm2015/theme/public-api.js → esm2020/theme/public-api.mjs} +0 -0
- package/esm2020/theme/theme.module.mjs +18 -0
- package/esm2020/theme/theme.pipe.mjs +70 -0
- package/esm2020/theme/theme.service.mjs +53 -0
- package/{esm2015/theme/theme.types.js → esm2020/theme/theme.types.mjs} +0 -0
- package/{esm2015/theme/utils.js → esm2020/theme/utils.mjs} +0 -0
- package/esm2020/time-picker/component.mjs +173 -0
- package/esm2020/time-picker/constant.mjs +5 -0
- package/esm2020/time-picker/panel/panel.component.mjs +224 -0
- package/{esm2015/time-picker/public-api.js → esm2020/time-picker/public-api.mjs} +0 -0
- package/esm2020/time-picker/time-picker.module.mjs +58 -0
- package/esm2020/time-picker/time-picker.type.mjs +13 -0
- package/esm2020/tooltip/base-tooltip.mjs +244 -0
- package/esm2020/tooltip/public-api.mjs +9 -0
- package/esm2020/tooltip/tooltip-active.directive.mjs +44 -0
- package/esm2020/tooltip/tooltip-copy.directive.mjs +78 -0
- package/esm2020/tooltip/tooltip-intl.mjs +28 -0
- package/esm2020/tooltip/tooltip.component.mjs +49 -0
- package/esm2020/tooltip/tooltip.directive.mjs +51 -0
- package/esm2020/tooltip/tooltip.module.mjs +33 -0
- package/{esm2015/tooltip/tooltip.types.js → esm2020/tooltip/tooltip.types.mjs} +0 -0
- package/{esm2015/tooltip/utils/index.js → esm2020/tooltip/utils/index.mjs} +0 -0
- package/esm2020/tree-select/public-api.mjs +5 -0
- package/esm2020/tree-select/tree-node-placeholder.component.mjs +17 -0
- package/esm2020/tree-select/tree-select.component.mjs +343 -0
- package/esm2020/tree-select/tree-select.module.mjs +34 -0
- package/{esm2015/tree-select/tree-select.types.js → esm2020/tree-select/tree-select.types.mjs} +0 -0
- package/{esm2015/types.js → esm2020/types.mjs} +0 -0
- package/{esm2015/utils/async.js → esm2020/utils/async.mjs} +0 -0
- package/{esm2015/utils/bem.js → esm2020/utils/bem.mjs} +0 -0
- package/esm2020/utils/coercion.mjs +17 -0
- package/esm2020/utils/fn.mjs +8 -0
- package/{esm2015/utils/index.js → esm2020/utils/index.mjs} +0 -0
- package/{esm2015/utils/observe-dom.js → esm2020/utils/observe-dom.mjs} +0 -0
- package/{esm2015/utils/scroll-into-view.js → esm2020/utils/scroll-into-view.mjs} +0 -0
- package/{esm2015/utils/watch-content-exist.js → esm2020/utils/watch-content-exist.mjs} +0 -0
- package/fesm2015/alauda-ui.mjs +11581 -0
- package/fesm2015/alauda-ui.mjs.map +1 -0
- package/fesm2020/alauda-ui.mjs +11507 -0
- package/fesm2020/alauda-ui.mjs.map +1 -0
- package/form/common-form.d.ts +3 -0
- package/form/form-item/form-item.component.d.ts +3 -0
- package/form/form.directive.d.ts +3 -0
- package/form/form.module.d.ts +8 -0
- package/form/helper-directives.d.ts +11 -0
- package/i18n/i18n.module.d.ts +5 -0
- package/i18n/i18n.pipe.d.ts +3 -0
- package/i18n/i18n.service.d.ts +5 -1
- package/icon/icon-register.service.d.ts +3 -0
- package/icon/icon.component.d.ts +3 -0
- package/icon/icon.module.d.ts +7 -0
- package/inline-alert/helper-directives.d.ts +3 -0
- package/inline-alert/inline-alert.component.d.ts +3 -0
- package/inline-alert/inline-alert.module.d.ts +8 -0
- package/input/autosize.directive.d.ts +3 -0
- package/input/helper-directives.d.ts +9 -0
- package/input/input-group/input-group.component.d.ts +3 -0
- package/input/input.component.d.ts +7 -21
- package/input/input.module.d.ts +17 -0
- package/input/number-input/number-input.component.d.ts +3 -0
- package/input/public-api.d.ts +2 -0
- package/input/search/search.component.d.ts +3 -0
- package/input/tags-input/tags-input.component.d.ts +5 -2
- package/message/message-wrapper.component.d.ts +3 -0
- package/message/message.component.d.ts +3 -0
- package/message/message.module.d.ts +9 -0
- package/message/message.service.d.ts +3 -0
- package/notification/notification-wrapper.component.d.ts +3 -0
- package/notification/notification.component.d.ts +5 -3
- package/notification/notification.module.d.ts +10 -0
- package/notification/notification.service.d.ts +3 -0
- package/package.json +28 -16
- package/paginator/paginator-intl.d.ts +3 -0
- package/paginator/paginator.component.d.ts +3 -0
- package/paginator/paginator.module.d.ts +10 -0
- package/radio/base-radio.d.ts +3 -0
- package/radio/radio-button/radio-button.component.d.ts +3 -0
- package/radio/radio-group/radio-group.component.d.ts +3 -0
- package/radio/radio.component.d.ts +3 -0
- package/radio/radio.module.d.ts +9 -0
- package/scrolling/fixed-size-table-virtual-scroll-strategy.d.ts +3 -0
- package/scrolling/fixed-size-table-virtual-scroll.directive.d.ts +3 -0
- package/scrolling/fixed-size-virtual-scroll.directive.d.ts +3 -0
- package/scrolling/public-api.d.ts +1 -0
- package/scrolling/scrolling.module.d.ts +8 -0
- package/scrolling/virtual-for-of.directive.d.ts +3 -0
- package/scrolling/virtual-scroll-viewport.component.d.ts +3 -0
- package/select/base-select.d.ts +10 -29
- package/select/helper-directives.d.ts +5 -0
- package/select/multi-select/multi-select.component.d.ts +4 -0
- package/select/option/option.component.d.ts +3 -0
- package/select/option-group/option-group.component.d.ts +3 -0
- package/select/option-placeholder.component.d.ts +3 -0
- package/select/select.component.d.ts +3 -0
- package/select/select.module.d.ts +17 -0
- package/select/validators.d.ts +3 -0
- package/shared/click-outside.directive.d.ts +3 -0
- package/shared/shared.module.d.ts +5 -0
- package/sort/sort-header.component.d.ts +3 -0
- package/sort/sort.directive.d.ts +3 -0
- package/sort/sort.module.d.ts +7 -0
- package/src/accordion/README.md +13 -0
- package/src/anchor/README.md +23 -0
- package/src/dropdown/README.md +57 -0
- package/src/form/README.md +32 -0
- package/src/icon/README.md +28 -0
- package/src/inline-alert/README.md +16 -0
- package/src/input/number-input/README.md +15 -0
- package/src/select/README.md +57 -0
- package/src/sort/README.md +13 -0
- package/src/table/README.md +8 -0
- package/src/table-of-contents/README.md +79 -0
- package/src/tag/README.md +32 -0
- package/src/tree-select/README.md +34 -0
- package/status-bar/status-bar.component.d.ts +3 -0
- package/status-bar/status-bar.module.d.ts +7 -0
- package/steps/steps.component.d.ts +4 -1
- package/steps/steps.module.d.ts +7 -0
- package/switch/switch.component.d.ts +3 -0
- package/switch/switch.module.d.ts +6 -0
- package/table/public-api.d.ts +2 -0
- package/table/table-cell-def.directive.d.ts +3 -0
- package/table/table-cell.component.d.ts +5 -0
- package/table/table-cell.directive.d.ts +3 -0
- package/table/table-column-def.directive.d.ts +3 -0
- package/table/table-header-cell-def.directive.d.ts +3 -0
- package/table/table-header-cell.directive.d.ts +3 -0
- package/table/table-header-row-def.directive.d.ts +4 -1
- package/table/table-header-row.component.d.ts +3 -0
- package/table/table-placeholder.directive.d.ts +5 -0
- package/table/table-row-def.directive.d.ts +5 -2
- package/table/table-row.component.d.ts +3 -0
- package/table/table-scroll.directive.d.ts +5 -0
- package/table/table.component.d.ts +3 -0
- package/table/table.module.d.ts +20 -0
- package/table-of-contents/table-of-contents.module.d.ts +8 -0
- package/table-of-contents/toc-container.directive.d.ts +3 -0
- package/table-of-contents/toc-content.directive.d.ts +3 -0
- package/table-of-contents/toc-link.directive.d.ts +3 -0
- package/tabs/public-api.d.ts +0 -1
- package/tabs/tab-body.component.d.ts +61 -2
- package/tabs/tab-context.service.d.ts +4 -1
- package/tabs/tab-group.component.d.ts +7 -12
- package/tabs/tab-header-active-indicator.component.d.ts +3 -0
- package/tabs/tab-header.component.d.ts +4 -1
- package/tabs/tab.component.d.ts +4 -1
- package/tabs/tabs.module.d.ts +16 -0
- package/tag/check-tag/check-tag.component.d.ts +3 -0
- package/tag/tag.component.d.ts +3 -0
- package/tag/tag.module.d.ts +8 -0
- package/theme/_var.scss +7 -10
- package/theme/style.css +2 -2
- package/theme/theme.module.d.ts +6 -0
- package/theme/theme.pipe.d.ts +9 -0
- package/theme/theme.service.d.ts +3 -0
- package/time-picker/component.d.ts +3 -0
- package/time-picker/panel/panel.component.d.ts +3 -0
- package/time-picker/time-picker.module.d.ts +15 -0
- package/tooltip/base-tooltip.d.ts +3 -0
- package/tooltip/public-api.d.ts +1 -0
- package/tooltip/tooltip-active.directive.d.ts +3 -0
- package/tooltip/tooltip-copy.directive.d.ts +3 -0
- package/tooltip/tooltip-intl.d.ts +3 -0
- package/tooltip/tooltip.component.d.ts +3 -0
- package/tooltip/tooltip.directive.d.ts +3 -0
- package/tooltip/tooltip.module.d.ts +10 -0
- package/tree-select/public-api.d.ts +0 -1
- package/tree-select/tree-node-placeholder.component.d.ts +3 -0
- package/tree-select/tree-select.component.d.ts +37 -3
- package/tree-select/tree-select.module.d.ts +10 -0
- package/utils/coercion.d.ts +1 -1
- package/utils/fn.d.ts +1 -1
- package/utils/observe-dom.d.ts +0 -1
- package/accordion/accordion-item/accordion-item.component.ngfactory.d.ts +0 -1
- package/accordion/accordion-item/accordion-item.component.scss.ngstyle.d.ts +0 -1
- package/accordion/accordion.component.ngfactory.d.ts +0 -1
- package/accordion/accordion.component.scss.ngstyle.d.ts +0 -1
- package/accordion/accordion.module.ngfactory.d.ts +0 -3
- package/alauda-ui.metadata.json +0 -1
- package/anchor/anchor.component.ngfactory.d.ts +0 -1
- package/anchor/anchor.component.scss.ngstyle.d.ts +0 -1
- package/anchor/anchor.module.ngfactory.d.ts +0 -3
- package/autocomplete/autocomplete-placeholder.component.ngfactory.d.ts +0 -1
- package/autocomplete/autocomplete.component.ngfactory.d.ts +0 -1
- package/autocomplete/autocomplete.component.scss.ngstyle.d.ts +0 -1
- package/autocomplete/autocomplete.module.ngfactory.d.ts +0 -3
- package/autocomplete/suggestion/suggestion.component.ngfactory.d.ts +0 -1
- package/autocomplete/suggestion/suggestion.component.scss.ngstyle.d.ts +0 -1
- package/autocomplete/suggestion-group/suggestion-group.component.ngfactory.d.ts +0 -1
- package/autocomplete/suggestion-group/suggestion-group.component.scss.ngstyle.d.ts +0 -1
- package/back-top/back-top.component.ngfactory.d.ts +0 -1
- package/back-top/back-top.component.scss.ngstyle.d.ts +0 -1
- package/back-top/back-top.module.ngfactory.d.ts +0 -3
- package/breadcrumb/breadcrumb-item.component.ngfactory.d.ts +0 -1
- package/breadcrumb/breadcrumb-item.component.scss.ngstyle.d.ts +0 -1
- package/breadcrumb/breadcrumb.component.ngfactory.d.ts +0 -1
- package/breadcrumb/breadcrumb.component.scss.ngstyle.d.ts +0 -1
- package/breadcrumb/breadcrumb.module.ngfactory.d.ts +0 -3
- package/bundles/alauda-ui.umd.js +0 -12812
- package/bundles/alauda-ui.umd.js.map +0 -1
- package/bundles/alauda-ui.umd.min.js +0 -2
- package/bundles/alauda-ui.umd.min.js.map +0 -1
- package/button/button-group/button-group.component.ngfactory.d.ts +0 -1
- package/button/button-group/button-group.component.scss.ngstyle.d.ts +0 -1
- package/button/button.component.ngfactory.d.ts +0 -1
- package/button/button.component.scss.ngstyle.d.ts +0 -1
- package/button/button.module.ngfactory.d.ts +0 -3
- package/card/card.component.ngfactory.d.ts +0 -1
- package/card/card.component.scss.ngstyle.d.ts +0 -1
- package/card/card.module.ngfactory.d.ts +0 -3
- package/card/section.component.ngfactory.d.ts +0 -1
- package/card/section.component.scss.ngstyle.d.ts +0 -1
- package/checkbox/checkbox-group/checkbox-group.component.ngfactory.d.ts +0 -1
- package/checkbox/checkbox-group/checkbox-group.component.scss.ngstyle.d.ts +0 -1
- package/checkbox/checkbox.component.ngfactory.d.ts +0 -1
- package/checkbox/checkbox.component.scss.ngstyle.d.ts +0 -1
- package/checkbox/checkbox.module.ngfactory.d.ts +0 -3
- package/color-picker/color-picker.component.ngfactory.d.ts +0 -1
- package/color-picker/color-picker.component.scss.ngstyle.d.ts +0 -1
- package/color-picker/color-picker.module.ngfactory.d.ts +0 -3
- package/date-picker/calendar/date-picker-panel/component.ngfactory.d.ts +0 -1
- package/date-picker/calendar/date-picker-panel/style.scss.ngstyle.d.ts +0 -1
- package/date-picker/calendar/footer/component.ngfactory.d.ts +0 -1
- package/date-picker/calendar/footer/style.scss.ngstyle.d.ts +0 -1
- package/date-picker/calendar/header/component.ngfactory.d.ts +0 -1
- package/date-picker/calendar/header/style.scss.ngstyle.d.ts +0 -1
- package/date-picker/calendar/panel/picker-panel.ngfactory.d.ts +0 -1
- package/date-picker/calendar/panel/picker-panel.style.scss.ngstyle.d.ts +0 -1
- package/date-picker/calendar/range-picker-panel/component.ngfactory.d.ts +0 -1
- package/date-picker/calendar/range-picker-panel/style.scss.ngstyle.d.ts +0 -1
- package/date-picker/date-picker/date-picker.component.ngfactory.d.ts +0 -1
- package/date-picker/date-picker/date-picker.style.scss.shim.ngstyle.d.ts +0 -1
- package/date-picker/date-picker.module.ngfactory.d.ts +0 -3
- package/date-picker/range-picker/range-picker.component.ngfactory.d.ts +0 -1
- package/date-picker/range-picker/range-picker.style.scss.shim.ngstyle.d.ts +0 -1
- package/date-picker/trigger/trigger.component.ngfactory.d.ts +0 -1
- package/date-picker/trigger/trigger.style.scss.shim.ngstyle.d.ts +0 -1
- package/dialog/confirm-dialog/confirm-dialog.component.ngfactory.d.ts +0 -1
- package/dialog/confirm-dialog/confirm-dialog.component.scss.ngstyle.d.ts +0 -1
- package/dialog/dialog-content/dialog-content.component.ngfactory.d.ts +0 -1
- package/dialog/dialog-content/dialog-footer.component.ngfactory.d.ts +0 -1
- package/dialog/dialog-content/dialog-header.component.ngfactory.d.ts +0 -1
- package/dialog/dialog.component.ngfactory.d.ts +0 -1
- package/dialog/dialog.component.scss.ngstyle.d.ts +0 -1
- package/dialog/dialog.module.ngfactory.d.ts +0 -3
- package/drawer/component/drawer.component.ngfactory.d.ts +0 -1
- package/drawer/component/drawer.component.scss.ngstyle.d.ts +0 -1
- package/drawer/drawer.module.ngfactory.d.ts +0 -3
- package/dropdown/dropdown-button/dropdown-button.component.ngfactory.d.ts +0 -1
- package/dropdown/dropdown-button/dropdown-button.component.scss.ngstyle.d.ts +0 -1
- package/dropdown/dropdown.module.ngfactory.d.ts +0 -3
- package/dropdown/menu/menu.component.ngfactory.d.ts +0 -1
- package/dropdown/menu/menu.component.scss.ngstyle.d.ts +0 -1
- package/dropdown/menu-group/menu-group.component.ngfactory.d.ts +0 -1
- package/dropdown/menu-group/menu-group.component.scss.ngstyle.d.ts +0 -1
- package/dropdown/menu-item/menu-item.component.ngfactory.d.ts +0 -1
- package/dropdown/menu-item/menu-item.component.scss.ngstyle.d.ts +0 -1
- package/dropdown/submenu/submenu.component.ngfactory.d.ts +0 -1
- package/dropdown/submenu/submenu.component.scss.ngstyle.d.ts +0 -1
- package/esm2015/accordion/accordion-item/accordion-item.component.js +0 -68
- package/esm2015/accordion/accordion-item/accordion-item.component.ngfactory.js +0 -28
- package/esm2015/accordion/accordion-item/accordion-item.component.ngsummary.json +0 -1
- package/esm2015/accordion/accordion-item/accordion-item.component.scss.ngstyle.js +0 -9
- package/esm2015/accordion/accordion.component.js +0 -28
- package/esm2015/accordion/accordion.component.ngfactory.js +0 -17
- package/esm2015/accordion/accordion.component.ngsummary.json +0 -1
- package/esm2015/accordion/accordion.component.scss.ngstyle.js +0 -9
- package/esm2015/accordion/accordion.module.js +0 -28
- package/esm2015/accordion/accordion.module.ngfactory.js +0 -18
- package/esm2015/accordion/accordion.module.ngsummary.json +0 -1
- package/esm2015/accordion/public-api.ngsummary.json +0 -1
- package/esm2015/alauda-ui.js +0 -25
- package/esm2015/alauda-ui.ngsummary.json +0 -1
- package/esm2015/anchor/anchor.component.js +0 -146
- package/esm2015/anchor/anchor.component.ngfactory.js +0 -40
- package/esm2015/anchor/anchor.component.ngsummary.json +0 -1
- package/esm2015/anchor/anchor.component.scss.ngstyle.js +0 -9
- package/esm2015/anchor/anchor.directive.js +0 -174
- package/esm2015/anchor/anchor.directive.ngsummary.json +0 -1
- package/esm2015/anchor/anchor.module.js +0 -25
- package/esm2015/anchor/anchor.module.ngfactory.js +0 -13
- package/esm2015/anchor/anchor.module.ngsummary.json +0 -1
- package/esm2015/anchor/public-api.ngsummary.json +0 -1
- package/esm2015/anchor/types.ngsummary.json +0 -1
- package/esm2015/anchor/utils.ngsummary.json +0 -1
- package/esm2015/autocomplete/autocomplete-placeholder.component.js +0 -13
- package/esm2015/autocomplete/autocomplete-placeholder.component.ngfactory.js +0 -16
- package/esm2015/autocomplete/autocomplete-placeholder.component.ngsummary.json +0 -1
- package/esm2015/autocomplete/autocomplete.component.js +0 -40
- package/esm2015/autocomplete/autocomplete.component.ngfactory.js +0 -22
- package/esm2015/autocomplete/autocomplete.component.ngsummary.json +0 -1
- package/esm2015/autocomplete/autocomplete.component.scss.ngstyle.js +0 -9
- package/esm2015/autocomplete/autocomplete.directive.js +0 -253
- package/esm2015/autocomplete/autocomplete.directive.ngsummary.json +0 -1
- package/esm2015/autocomplete/autocomplete.module.js +0 -36
- package/esm2015/autocomplete/autocomplete.module.ngfactory.js +0 -20
- package/esm2015/autocomplete/autocomplete.module.ngsummary.json +0 -1
- package/esm2015/autocomplete/autocomplete.types.ngsummary.json +0 -1
- package/esm2015/autocomplete/helper-directives.js +0 -13
- package/esm2015/autocomplete/helper-directives.ngsummary.json +0 -1
- package/esm2015/autocomplete/public-api.ngsummary.json +0 -1
- package/esm2015/autocomplete/suggestion/suggestion.component.js +0 -79
- package/esm2015/autocomplete/suggestion/suggestion.component.ngfactory.js +0 -22
- package/esm2015/autocomplete/suggestion/suggestion.component.ngsummary.json +0 -1
- package/esm2015/autocomplete/suggestion/suggestion.component.scss.ngstyle.js +0 -9
- package/esm2015/autocomplete/suggestion-group/suggestion-group.component.js +0 -25
- package/esm2015/autocomplete/suggestion-group/suggestion-group.component.ngfactory.js +0 -18
- package/esm2015/autocomplete/suggestion-group/suggestion-group.component.ngsummary.json +0 -1
- package/esm2015/autocomplete/suggestion-group/suggestion-group.component.scss.ngstyle.js +0 -9
- package/esm2015/back-top/back-top.component.js +0 -75
- package/esm2015/back-top/back-top.component.ngfactory.js +0 -25
- package/esm2015/back-top/back-top.component.ngsummary.json +0 -1
- package/esm2015/back-top/back-top.component.scss.ngstyle.js +0 -9
- package/esm2015/back-top/back-top.module.js +0 -14
- package/esm2015/back-top/back-top.module.ngfactory.js +0 -16
- package/esm2015/back-top/back-top.module.ngsummary.json +0 -1
- package/esm2015/back-top/public-api.ngsummary.json +0 -1
- package/esm2015/breadcrumb/breadcrumb-item.component.js +0 -36
- package/esm2015/breadcrumb/breadcrumb-item.component.ngfactory.js +0 -23
- package/esm2015/breadcrumb/breadcrumb-item.component.ngsummary.json +0 -1
- package/esm2015/breadcrumb/breadcrumb-item.component.scss.ngstyle.js +0 -9
- package/esm2015/breadcrumb/breadcrumb.component.js +0 -58
- package/esm2015/breadcrumb/breadcrumb.component.ngfactory.js +0 -17
- package/esm2015/breadcrumb/breadcrumb.component.ngsummary.json +0 -1
- package/esm2015/breadcrumb/breadcrumb.component.scss.ngstyle.js +0 -9
- package/esm2015/breadcrumb/breadcrumb.module.js +0 -15
- package/esm2015/breadcrumb/breadcrumb.module.ngfactory.js +0 -16
- package/esm2015/breadcrumb/breadcrumb.module.ngsummary.json +0 -1
- package/esm2015/breadcrumb/public-api.ngsummary.json +0 -1
- package/esm2015/button/button-group/button-group.component.js +0 -14
- package/esm2015/button/button-group/button-group.component.ngfactory.js +0 -17
- package/esm2015/button/button-group/button-group.component.ngsummary.json +0 -1
- package/esm2015/button/button-group/button-group.component.scss.ngstyle.js +0 -9
- package/esm2015/button/button.component.js +0 -124
- package/esm2015/button/button.component.ngfactory.js +0 -23
- package/esm2015/button/button.component.ngsummary.json +0 -1
- package/esm2015/button/button.component.scss.ngstyle.js +0 -9
- package/esm2015/button/button.module.js +0 -15
- package/esm2015/button/button.module.ngfactory.js +0 -16
- package/esm2015/button/button.module.ngsummary.json +0 -1
- package/esm2015/button/button.types.ngsummary.json +0 -1
- package/esm2015/button/public-api.ngsummary.json +0 -1
- package/esm2015/card/card.component.js +0 -20
- package/esm2015/card/card.component.ngfactory.js +0 -17
- package/esm2015/card/card.component.ngsummary.json +0 -1
- package/esm2015/card/card.component.scss.ngstyle.js +0 -9
- package/esm2015/card/card.module.js +0 -27
- package/esm2015/card/card.module.ngfactory.js +0 -12
- package/esm2015/card/card.module.ngsummary.json +0 -1
- package/esm2015/card/helper-directives.js +0 -33
- package/esm2015/card/helper-directives.ngsummary.json +0 -1
- package/esm2015/card/public-api.ngsummary.json +0 -1
- package/esm2015/card/section.component.js +0 -14
- package/esm2015/card/section.component.ngfactory.js +0 -17
- package/esm2015/card/section.component.ngsummary.json +0 -1
- package/esm2015/card/section.component.scss.ngstyle.js +0 -9
- package/esm2015/checkbox/checkbox-group/checkbox-group.component.js +0 -60
- package/esm2015/checkbox/checkbox-group/checkbox-group.component.ngfactory.js +0 -18
- package/esm2015/checkbox/checkbox-group/checkbox-group.component.ngsummary.json +0 -1
- package/esm2015/checkbox/checkbox-group/checkbox-group.component.scss.ngstyle.js +0 -9
- package/esm2015/checkbox/checkbox.component.js +0 -105
- package/esm2015/checkbox/checkbox.component.ngfactory.js +0 -30
- package/esm2015/checkbox/checkbox.component.ngsummary.json +0 -1
- package/esm2015/checkbox/checkbox.component.scss.ngstyle.js +0 -9
- package/esm2015/checkbox/checkbox.module.js +0 -15
- package/esm2015/checkbox/checkbox.module.ngfactory.js +0 -16
- package/esm2015/checkbox/checkbox.module.ngsummary.json +0 -1
- package/esm2015/checkbox/public-api.ngsummary.json +0 -1
- package/esm2015/color-picker/color-picker.component.js +0 -29
- package/esm2015/color-picker/color-picker.component.ngfactory.js +0 -22
- package/esm2015/color-picker/color-picker.component.ngsummary.json +0 -1
- package/esm2015/color-picker/color-picker.component.scss.ngstyle.js +0 -9
- package/esm2015/color-picker/color-picker.module.js +0 -14
- package/esm2015/color-picker/color-picker.module.ngfactory.js +0 -13
- package/esm2015/color-picker/color-picker.module.ngsummary.json +0 -1
- package/esm2015/color-picker/public-api.ngsummary.json +0 -1
- package/esm2015/date-picker/calendar/constant.ngsummary.json +0 -1
- package/esm2015/date-picker/calendar/date-picker-panel/component.js +0 -106
- package/esm2015/date-picker/calendar/date-picker-panel/component.ngfactory.js +0 -65
- package/esm2015/date-picker/calendar/date-picker-panel/component.ngsummary.json +0 -1
- package/esm2015/date-picker/calendar/date-picker-panel/style.scss.ngstyle.js +0 -9
- package/esm2015/date-picker/calendar/footer/component.js +0 -25
- package/esm2015/date-picker/calendar/footer/component.ngfactory.js +0 -32
- package/esm2015/date-picker/calendar/footer/component.ngsummary.json +0 -1
- package/esm2015/date-picker/calendar/footer/style.scss.ngstyle.js +0 -9
- package/esm2015/date-picker/calendar/header/component.js +0 -100
- package/esm2015/date-picker/calendar/header/component.ngfactory.js +0 -58
- package/esm2015/date-picker/calendar/header/component.ngsummary.json +0 -1
- package/esm2015/date-picker/calendar/header/style.scss.ngstyle.js +0 -9
- package/esm2015/date-picker/calendar/panel/picker-panel.js +0 -144
- package/esm2015/date-picker/calendar/panel/picker-panel.ngfactory.js +0 -34
- package/esm2015/date-picker/calendar/panel/picker-panel.ngsummary.json +0 -1
- package/esm2015/date-picker/calendar/panel/picker-panel.style.scss.ngstyle.js +0 -9
- package/esm2015/date-picker/calendar/range-picker-panel/component.js +0 -193
- package/esm2015/date-picker/calendar/range-picker-panel/component.ngfactory.js +0 -76
- package/esm2015/date-picker/calendar/range-picker-panel/component.ngsummary.json +0 -1
- package/esm2015/date-picker/calendar/range-picker-panel/style.scss.ngstyle.js +0 -9
- package/esm2015/date-picker/calendar/util.ngsummary.json +0 -1
- package/esm2015/date-picker/date-picker/date-picker.component.js +0 -84
- package/esm2015/date-picker/date-picker/date-picker.component.ngfactory.js +0 -49
- package/esm2015/date-picker/date-picker/date-picker.component.ngsummary.json +0 -1
- package/esm2015/date-picker/date-picker/date-picker.style.scss.shim.ngstyle.js +0 -9
- package/esm2015/date-picker/date-picker.module.js +0 -47
- package/esm2015/date-picker/date-picker.module.ngfactory.js +0 -31
- package/esm2015/date-picker/date-picker.module.ngsummary.json +0 -1
- package/esm2015/date-picker/date-picker.type.ngsummary.json +0 -1
- package/esm2015/date-picker/public-api.js +0 -11
- package/esm2015/date-picker/public-api.ngsummary.json +0 -1
- package/esm2015/date-picker/range-picker/range-picker.component.js +0 -66
- package/esm2015/date-picker/range-picker/range-picker.component.ngfactory.js +0 -49
- package/esm2015/date-picker/range-picker/range-picker.component.ngsummary.json +0 -1
- package/esm2015/date-picker/range-picker/range-picker.style.scss.shim.ngstyle.js +0 -9
- package/esm2015/date-picker/trigger/trigger.component.js +0 -61
- package/esm2015/date-picker/trigger/trigger.component.ngfactory.js +0 -66
- package/esm2015/date-picker/trigger/trigger.component.ngsummary.json +0 -1
- package/esm2015/date-picker/trigger/trigger.style.scss.shim.ngstyle.js +0 -9
- package/esm2015/dialog/confirm-dialog/confirm-dialog-config.ngsummary.json +0 -1
- package/esm2015/dialog/confirm-dialog/confirm-dialog.component.js +0 -95
- package/esm2015/dialog/confirm-dialog/confirm-dialog.component.ngfactory.js +0 -32
- package/esm2015/dialog/confirm-dialog/confirm-dialog.component.ngsummary.json +0 -1
- package/esm2015/dialog/confirm-dialog/confirm-dialog.component.scss.ngstyle.js +0 -9
- package/esm2015/dialog/dialog-config.ngsummary.json +0 -1
- package/esm2015/dialog/dialog-content/dialog-close.directive.js +0 -35
- package/esm2015/dialog/dialog-content/dialog-close.directive.ngsummary.json +0 -1
- package/esm2015/dialog/dialog-content/dialog-content.component.js +0 -27
- package/esm2015/dialog/dialog-content/dialog-content.component.ngfactory.js +0 -18
- package/esm2015/dialog/dialog-content/dialog-content.component.ngsummary.json +0 -1
- package/esm2015/dialog/dialog-content/dialog-footer.component.js +0 -17
- package/esm2015/dialog/dialog-content/dialog-footer.component.ngfactory.js +0 -16
- package/esm2015/dialog/dialog-content/dialog-footer.component.ngsummary.json +0 -1
- package/esm2015/dialog/dialog-content/dialog-header.component.js +0 -41
- package/esm2015/dialog/dialog-content/dialog-header.component.ngfactory.js +0 -26
- package/esm2015/dialog/dialog-content/dialog-header.component.ngsummary.json +0 -1
- package/esm2015/dialog/dialog-ref.ngsummary.json +0 -1
- package/esm2015/dialog/dialog.component.js +0 -64
- package/esm2015/dialog/dialog.component.ngfactory.js +0 -20
- package/esm2015/dialog/dialog.component.ngsummary.json +0 -1
- package/esm2015/dialog/dialog.component.scss.ngstyle.js +0 -9
- package/esm2015/dialog/dialog.module.js +0 -44
- package/esm2015/dialog/dialog.module.ngfactory.js +0 -25
- package/esm2015/dialog/dialog.module.ngsummary.json +0 -1
- package/esm2015/dialog/dialog.service.js +0 -132
- package/esm2015/dialog/dialog.service.ngsummary.json +0 -1
- package/esm2015/dialog/dialog.types.ngsummary.json +0 -1
- package/esm2015/dialog/public-api.js +0 -11
- package/esm2015/dialog/public-api.ngsummary.json +0 -1
- package/esm2015/dialog/utils/errors.ngsummary.json +0 -1
- package/esm2015/dialog/utils/index.js +0 -11
- package/esm2015/dialog/utils/index.ngsummary.json +0 -1
- package/esm2015/drawer/component/drawer-ref.ngsummary.json +0 -1
- package/esm2015/drawer/component/drawer.component.js +0 -210
- package/esm2015/drawer/component/drawer.component.ngfactory.js +0 -42
- package/esm2015/drawer/component/drawer.component.ngsummary.json +0 -1
- package/esm2015/drawer/component/drawer.component.scss.ngstyle.js +0 -9
- package/esm2015/drawer/component/helper-directives.js +0 -27
- package/esm2015/drawer/component/helper-directives.ngsummary.json +0 -1
- package/esm2015/drawer/drawer.module.js +0 -26
- package/esm2015/drawer/drawer.module.ngfactory.js +0 -23
- package/esm2015/drawer/drawer.module.ngsummary.json +0 -1
- package/esm2015/drawer/drawer.service.js +0 -46
- package/esm2015/drawer/drawer.service.ngsummary.json +0 -1
- package/esm2015/drawer/public-api.ngsummary.json +0 -1
- package/esm2015/dropdown/dropdown-active.directive.js +0 -13
- package/esm2015/dropdown/dropdown-active.directive.ngsummary.json +0 -1
- package/esm2015/dropdown/dropdown-button/dropdown-button.component.js +0 -46
- package/esm2015/dropdown/dropdown-button/dropdown-button.component.ngfactory.js +0 -29
- package/esm2015/dropdown/dropdown-button/dropdown-button.component.ngsummary.json +0 -1
- package/esm2015/dropdown/dropdown-button/dropdown-button.component.scss.ngstyle.js +0 -9
- package/esm2015/dropdown/dropdown.directive.js +0 -73
- package/esm2015/dropdown/dropdown.directive.ngsummary.json +0 -1
- package/esm2015/dropdown/dropdown.module.js +0 -44
- package/esm2015/dropdown/dropdown.module.ngfactory.js +0 -25
- package/esm2015/dropdown/dropdown.module.ngsummary.json +0 -1
- package/esm2015/dropdown/dropdown.types.ngsummary.json +0 -1
- package/esm2015/dropdown/helper-directives.js +0 -13
- package/esm2015/dropdown/helper-directives.ngsummary.json +0 -1
- package/esm2015/dropdown/menu/menu-content.directive.js +0 -54
- package/esm2015/dropdown/menu/menu-content.directive.ngsummary.json +0 -1
- package/esm2015/dropdown/menu/menu.component.js +0 -32
- package/esm2015/dropdown/menu/menu.component.ngfactory.js +0 -18
- package/esm2015/dropdown/menu/menu.component.ngsummary.json +0 -1
- package/esm2015/dropdown/menu/menu.component.scss.ngstyle.js +0 -9
- package/esm2015/dropdown/menu-group/menu-group.component.js +0 -14
- package/esm2015/dropdown/menu-group/menu-group.component.ngfactory.js +0 -17
- package/esm2015/dropdown/menu-group/menu-group.component.ngsummary.json +0 -1
- package/esm2015/dropdown/menu-group/menu-group.component.scss.ngstyle.js +0 -9
- package/esm2015/dropdown/menu-item/menu-item.component.js +0 -38
- package/esm2015/dropdown/menu-item/menu-item.component.ngfactory.js +0 -17
- package/esm2015/dropdown/menu-item/menu-item.component.ngsummary.json +0 -1
- package/esm2015/dropdown/menu-item/menu-item.component.scss.ngstyle.js +0 -9
- package/esm2015/dropdown/public-api.js +0 -11
- package/esm2015/dropdown/public-api.ngsummary.json +0 -1
- package/esm2015/dropdown/submenu/submenu.component.js +0 -37
- package/esm2015/dropdown/submenu/submenu.component.ngfactory.js +0 -29
- package/esm2015/dropdown/submenu/submenu.component.ngsummary.json +0 -1
- package/esm2015/dropdown/submenu/submenu.component.scss.ngstyle.js +0 -9
- package/esm2015/form/common-form.js +0 -89
- package/esm2015/form/common-form.ngsummary.json +0 -1
- package/esm2015/form/form-item/form-item.component.js +0 -93
- package/esm2015/form/form-item/form-item.component.ngfactory.js +0 -23
- package/esm2015/form/form-item/form-item.component.ngsummary.json +0 -1
- package/esm2015/form/form-item/form-item.component.scss.ngstyle.js +0 -9
- package/esm2015/form/form.directive.js +0 -58
- package/esm2015/form/form.directive.ngsummary.json +0 -1
- package/esm2015/form/form.module.js +0 -31
- package/esm2015/form/form.module.ngfactory.js +0 -12
- package/esm2015/form/form.module.ngsummary.json +0 -1
- package/esm2015/form/form.types.ngsummary.json +0 -1
- package/esm2015/form/helper-directives.js +0 -66
- package/esm2015/form/helper-directives.ngsummary.json +0 -1
- package/esm2015/form/public-api.ngsummary.json +0 -1
- package/esm2015/i18n/i18n.module.js +0 -11
- package/esm2015/i18n/i18n.module.ngfactory.js +0 -11
- package/esm2015/i18n/i18n.module.ngsummary.json +0 -1
- package/esm2015/i18n/i18n.pipe.js +0 -19
- package/esm2015/i18n/i18n.pipe.ngsummary.json +0 -1
- package/esm2015/i18n/i18n.service.js +0 -43
- package/esm2015/i18n/i18n.service.ngsummary.json +0 -1
- package/esm2015/i18n/i18n.type.js +0 -6
- package/esm2015/i18n/i18n.type.ngsummary.json +0 -1
- package/esm2015/i18n/language/en.ngsummary.json +0 -1
- package/esm2015/i18n/language/zh.ngsummary.json +0 -1
- package/esm2015/i18n/public-api.ngsummary.json +0 -1
- package/esm2015/icon/icon-register.service.js +0 -63
- package/esm2015/icon/icon-register.service.ngsummary.json +0 -1
- package/esm2015/icon/icon.component.js +0 -62
- package/esm2015/icon/icon.component.ngfactory.js +0 -25
- package/esm2015/icon/icon.component.ngsummary.json +0 -1
- package/esm2015/icon/icon.component.scss.ngstyle.js +0 -9
- package/esm2015/icon/icon.module.js +0 -16
- package/esm2015/icon/icon.module.ngfactory.js +0 -15
- package/esm2015/icon/icon.module.ngsummary.json +0 -1
- package/esm2015/icon/icons.ngsummary.json +0 -1
- package/esm2015/icon/public-api.ngsummary.json +0 -1
- package/esm2015/icon/utils.ngsummary.json +0 -1
- package/esm2015/inline-alert/helper-directives.js +0 -10
- package/esm2015/inline-alert/helper-directives.ngsummary.json +0 -1
- package/esm2015/inline-alert/inline-alert.component.js +0 -51
- package/esm2015/inline-alert/inline-alert.component.ngfactory.js +0 -29
- package/esm2015/inline-alert/inline-alert.component.ngsummary.json +0 -1
- package/esm2015/inline-alert/inline-alert.component.scss.ngstyle.js +0 -9
- package/esm2015/inline-alert/inline-alert.module.js +0 -15
- package/esm2015/inline-alert/inline-alert.module.ngfactory.js +0 -16
- package/esm2015/inline-alert/inline-alert.module.ngsummary.json +0 -1
- package/esm2015/inline-alert/inline-alert.types.ngsummary.json +0 -1
- package/esm2015/inline-alert/public-api.ngsummary.json +0 -1
- package/esm2015/input/autosize.directive.js +0 -61
- package/esm2015/input/autosize.directive.ngsummary.json +0 -1
- package/esm2015/input/helper-directives.js +0 -30
- package/esm2015/input/helper-directives.ngsummary.json +0 -1
- package/esm2015/input/input-group/input-group.component.js +0 -33
- package/esm2015/input/input-group/input-group.component.ngfactory.js +0 -22
- package/esm2015/input/input-group/input-group.component.ngsummary.json +0 -1
- package/esm2015/input/input-group/input-group.component.scss.ngstyle.js +0 -9
- package/esm2015/input/input.component.js +0 -69
- package/esm2015/input/input.component.ngfactory.js +0 -17
- package/esm2015/input/input.component.ngsummary.json +0 -1
- package/esm2015/input/input.component.scss.ngstyle.js +0 -9
- package/esm2015/input/input.module.js +0 -54
- package/esm2015/input/input.module.ngfactory.js +0 -20
- package/esm2015/input/input.module.ngsummary.json +0 -1
- package/esm2015/input/number-input/number-input.component.js +0 -83
- package/esm2015/input/number-input/number-input.component.ngfactory.js +0 -51
- package/esm2015/input/number-input/number-input.component.ngsummary.json +0 -1
- package/esm2015/input/number-input/number-input.component.scss.ngstyle.js +0 -9
- package/esm2015/input/public-api.js +0 -7
- package/esm2015/input/public-api.ngsummary.json +0 -1
- package/esm2015/input/search/search.component.js +0 -72
- package/esm2015/input/search/search.component.ngfactory.js +0 -51
- package/esm2015/input/search/search.component.ngsummary.json +0 -1
- package/esm2015/input/search/search.component.scss.ngstyle.js +0 -9
- package/esm2015/input/tags-input/tags-input.component.js +0 -252
- package/esm2015/input/tags-input/tags-input.component.ngfactory.js +0 -45
- package/esm2015/input/tags-input/tags-input.component.ngsummary.json +0 -1
- package/esm2015/input/tags-input/tags-input.component.scss.ngstyle.js +0 -9
- package/esm2015/input/tags-input/with-max-row-count.ngsummary.json +0 -1
- package/esm2015/input/utils/index.ngsummary.json +0 -1
- package/esm2015/message/base-message.js +0 -87
- package/esm2015/message/base-message.ngsummary.json +0 -1
- package/esm2015/message/message-animations.ngsummary.json +0 -1
- package/esm2015/message/message-wrapper.component.js +0 -20
- package/esm2015/message/message-wrapper.component.ngfactory.js +0 -17
- package/esm2015/message/message-wrapper.component.ngsummary.json +0 -1
- package/esm2015/message/message-wrapper.component.scss.ngstyle.js +0 -9
- package/esm2015/message/message.component.js +0 -77
- package/esm2015/message/message.component.ngfactory.js +0 -23
- package/esm2015/message/message.component.ngsummary.json +0 -1
- package/esm2015/message/message.component.scss.ngstyle.js +0 -9
- package/esm2015/message/message.config.ngsummary.json +0 -1
- package/esm2015/message/message.module.js +0 -18
- package/esm2015/message/message.module.ngfactory.js +0 -25
- package/esm2015/message/message.module.ngsummary.json +0 -1
- package/esm2015/message/message.service.js +0 -22
- package/esm2015/message/message.service.ngsummary.json +0 -1
- package/esm2015/message/public-api.ngsummary.json +0 -1
- package/esm2015/notification/notification-wrapper.component.js +0 -22
- package/esm2015/notification/notification-wrapper.component.ngfactory.js +0 -17
- package/esm2015/notification/notification-wrapper.component.ngsummary.json +0 -1
- package/esm2015/notification/notification-wrapper.component.scss.ngstyle.js +0 -9
- package/esm2015/notification/notification.component.js +0 -106
- package/esm2015/notification/notification.component.ngfactory.js +0 -42
- package/esm2015/notification/notification.component.ngsummary.json +0 -1
- package/esm2015/notification/notification.component.scss.ngstyle.js +0 -9
- package/esm2015/notification/notification.config.ngsummary.json +0 -1
- package/esm2015/notification/notification.module.js +0 -19
- package/esm2015/notification/notification.module.ngfactory.js +0 -25
- package/esm2015/notification/notification.module.ngsummary.json +0 -1
- package/esm2015/notification/notification.service.js +0 -22
- package/esm2015/notification/notification.service.ngsummary.json +0 -1
- package/esm2015/notification/public-api.ngsummary.json +0 -1
- package/esm2015/paginator/paginator-intl.js +0 -33
- package/esm2015/paginator/paginator-intl.ngsummary.json +0 -1
- package/esm2015/paginator/paginator.component.js +0 -118
- package/esm2015/paginator/paginator.component.ngfactory.js +0 -73
- package/esm2015/paginator/paginator.component.ngsummary.json +0 -1
- package/esm2015/paginator/paginator.component.scss.ngstyle.js +0 -9
- package/esm2015/paginator/paginator.module.js +0 -19
- package/esm2015/paginator/paginator.module.ngfactory.js +0 -32
- package/esm2015/paginator/paginator.module.ngsummary.json +0 -1
- package/esm2015/paginator/public-api.ngsummary.json +0 -1
- package/esm2015/public-api.ngsummary.json +0 -1
- package/esm2015/radio/base-radio.js +0 -69
- package/esm2015/radio/base-radio.ngsummary.json +0 -1
- package/esm2015/radio/public-api.ngsummary.json +0 -1
- package/esm2015/radio/radio-button/radio-button.component.js +0 -48
- package/esm2015/radio/radio-button/radio-button.component.ngfactory.js +0 -30
- package/esm2015/radio/radio-button/radio-button.component.ngsummary.json +0 -1
- package/esm2015/radio/radio-button/radio-button.component.scss.ngstyle.js +0 -9
- package/esm2015/radio/radio-group/radio-group.component.js +0 -75
- package/esm2015/radio/radio-group/radio-group.component.ngfactory.js +0 -18
- package/esm2015/radio/radio-group/radio-group.component.ngsummary.json +0 -1
- package/esm2015/radio/radio-group/radio-group.component.scss.ngstyle.js +0 -9
- package/esm2015/radio/radio.component.js +0 -31
- package/esm2015/radio/radio.component.ngfactory.js +0 -26
- package/esm2015/radio/radio.component.ngsummary.json +0 -1
- package/esm2015/radio/radio.component.scss.ngstyle.js +0 -9
- package/esm2015/radio/radio.module.js +0 -16
- package/esm2015/radio/radio.module.ngfactory.js +0 -16
- package/esm2015/radio/radio.module.ngsummary.json +0 -1
- package/esm2015/radio/radio.types.ngsummary.json +0 -1
- package/esm2015/scrolling/fixed-size-table-virtual-scroll-strategy.js +0 -81
- package/esm2015/scrolling/fixed-size-table-virtual-scroll-strategy.ngsummary.json +0 -1
- package/esm2015/scrolling/fixed-size-table-virtual-scroll.directive.js +0 -108
- package/esm2015/scrolling/fixed-size-table-virtual-scroll.directive.ngsummary.json +0 -1
- package/esm2015/scrolling/fixed-size-virtual-scroll.directive.js +0 -20
- package/esm2015/scrolling/fixed-size-virtual-scroll.directive.ngsummary.json +0 -1
- package/esm2015/scrolling/public-api.js +0 -6
- package/esm2015/scrolling/public-api.ngsummary.json +0 -1
- package/esm2015/scrolling/scrolling.module.js +0 -21
- package/esm2015/scrolling/scrolling.module.ngfactory.js +0 -11
- package/esm2015/scrolling/scrolling.module.ngsummary.json +0 -1
- package/esm2015/scrolling/virtual-for-of.directive.js +0 -30
- package/esm2015/scrolling/virtual-for-of.directive.ngsummary.json +0 -1
- package/esm2015/scrolling/virtual-scroll-viewport.component.js +0 -26
- package/esm2015/scrolling/virtual-scroll-viewport.component.ngfactory.js +0 -19
- package/esm2015/scrolling/virtual-scroll-viewport.component.ngsummary.json +0 -1
- package/esm2015/scrolling/virtual-scroll-viewport.component.scss.ngstyle.js +0 -9
- package/esm2015/select/base-select.js +0 -311
- package/esm2015/select/base-select.ngsummary.json +0 -1
- package/esm2015/select/helper-directives.js +0 -22
- package/esm2015/select/helper-directives.ngsummary.json +0 -1
- package/esm2015/select/multi-select/multi-select.component.js +0 -276
- package/esm2015/select/multi-select/multi-select.component.ngfactory.js +0 -76
- package/esm2015/select/multi-select/multi-select.component.ngsummary.json +0 -1
- package/esm2015/select/multi-select/multi-select.component.scss.ngstyle.js +0 -9
- package/esm2015/select/option/option.component.js +0 -107
- package/esm2015/select/option/option.component.ngfactory.js +0 -26
- package/esm2015/select/option/option.component.ngsummary.json +0 -1
- package/esm2015/select/option/option.component.scss.ngstyle.js +0 -9
- package/esm2015/select/option-group/option-group.component.js +0 -25
- package/esm2015/select/option-group/option-group.component.ngfactory.js +0 -18
- package/esm2015/select/option-group/option-group.component.ngsummary.json +0 -1
- package/esm2015/select/option-group/option-group.component.scss.ngstyle.js +0 -9
- package/esm2015/select/option-placeholder.component.js +0 -13
- package/esm2015/select/option-placeholder.component.ngfactory.js +0 -16
- package/esm2015/select/option-placeholder.component.ngsummary.json +0 -1
- package/esm2015/select/public-api.ngsummary.json +0 -1
- package/esm2015/select/select.component.js +0 -95
- package/esm2015/select/select.component.ngfactory.js +0 -63
- package/esm2015/select/select.component.ngsummary.json +0 -1
- package/esm2015/select/select.component.scss.ngstyle.js +0 -9
- package/esm2015/select/select.module.js +0 -49
- package/esm2015/select/select.module.ngfactory.js +0 -30
- package/esm2015/select/select.module.ngsummary.json +0 -1
- package/esm2015/select/select.types.ngsummary.json +0 -1
- package/esm2015/select/validators.js +0 -72
- package/esm2015/select/validators.ngsummary.json +0 -1
- package/esm2015/shared/click-outside.directive.js +0 -26
- package/esm2015/shared/click-outside.directive.ngsummary.json +0 -1
- package/esm2015/shared/shared.module.js +0 -11
- package/esm2015/shared/shared.module.ngfactory.js +0 -11
- package/esm2015/shared/shared.module.ngsummary.json +0 -1
- package/esm2015/sort/public-api.ngsummary.json +0 -1
- package/esm2015/sort/sort-errors.ngsummary.json +0 -1
- package/esm2015/sort/sort-header.component.js +0 -76
- package/esm2015/sort/sort-header.component.ngfactory.js +0 -22
- package/esm2015/sort/sort-header.component.ngsummary.json +0 -1
- package/esm2015/sort/sort-header.component.scss.ngstyle.js +0 -9
- package/esm2015/sort/sort.directive.js +0 -69
- package/esm2015/sort/sort.directive.ngsummary.json +0 -1
- package/esm2015/sort/sort.module.js +0 -14
- package/esm2015/sort/sort.module.ngfactory.js +0 -12
- package/esm2015/sort/sort.module.ngsummary.json +0 -1
- package/esm2015/sort/sort.types.ngsummary.json +0 -1
- package/esm2015/status-bar/public-api.ngsummary.json +0 -1
- package/esm2015/status-bar/status-bar.component.js +0 -28
- package/esm2015/status-bar/status-bar.component.ngfactory.js +0 -26
- package/esm2015/status-bar/status-bar.component.ngsummary.json +0 -1
- package/esm2015/status-bar/status-bar.component.scss.ngstyle.js +0 -9
- package/esm2015/status-bar/status-bar.module.js +0 -14
- package/esm2015/status-bar/status-bar.module.ngfactory.js +0 -20
- package/esm2015/status-bar/status-bar.module.ngsummary.json +0 -1
- package/esm2015/status-bar/status-bar.types.ngsummary.json +0 -1
- package/esm2015/steps/public-api.ngsummary.json +0 -1
- package/esm2015/steps/steps.component.js +0 -179
- package/esm2015/steps/steps.component.ngfactory.js +0 -34
- package/esm2015/steps/steps.component.ngsummary.json +0 -1
- package/esm2015/steps/steps.component.scss.ngstyle.js +0 -9
- package/esm2015/steps/steps.module.js +0 -14
- package/esm2015/steps/steps.module.ngfactory.js +0 -16
- package/esm2015/steps/steps.module.ngsummary.json +0 -1
- package/esm2015/steps/types.ngsummary.json +0 -1
- package/esm2015/switch/public-api.ngsummary.json +0 -1
- package/esm2015/switch/switch.component.js +0 -47
- package/esm2015/switch/switch.component.ngfactory.js +0 -25
- package/esm2015/switch/switch.component.ngsummary.json +0 -1
- package/esm2015/switch/switch.component.scss.ngstyle.js +0 -9
- package/esm2015/switch/switch.module.js +0 -13
- package/esm2015/switch/switch.module.ngfactory.js +0 -12
- package/esm2015/switch/switch.module.ngsummary.json +0 -1
- package/esm2015/table/public-api.js +0 -13
- package/esm2015/table/public-api.ngsummary.json +0 -1
- package/esm2015/table/table-cell-def.directive.js +0 -20
- package/esm2015/table/table-cell-def.directive.ngsummary.json +0 -1
- package/esm2015/table/table-cell.component.js +0 -82
- package/esm2015/table/table-cell.component.ngfactory.js +0 -32
- package/esm2015/table/table-cell.component.ngsummary.json +0 -1
- package/esm2015/table/table-cell.directive.js +0 -26
- package/esm2015/table/table-cell.directive.ngsummary.json +0 -1
- package/esm2015/table/table-column-def.directive.js +0 -29
- package/esm2015/table/table-column-def.directive.ngsummary.json +0 -1
- package/esm2015/table/table-header-cell-def.directive.js +0 -20
- package/esm2015/table/table-header-cell-def.directive.ngsummary.json +0 -1
- package/esm2015/table/table-header-cell.directive.js +0 -26
- package/esm2015/table/table-header-cell.directive.ngsummary.json +0 -1
- package/esm2015/table/table-header-row-def.directive.js +0 -24
- package/esm2015/table/table-header-row-def.directive.ngsummary.json +0 -1
- package/esm2015/table/table-header-row.component.js +0 -20
- package/esm2015/table/table-header-row.component.ngfactory.js +0 -17
- package/esm2015/table/table-header-row.component.ngsummary.json +0 -1
- package/esm2015/table/table-placeholder.directive.js +0 -30
- package/esm2015/table/table-placeholder.directive.ngsummary.json +0 -1
- package/esm2015/table/table-row-def.directive.js +0 -25
- package/esm2015/table/table-row-def.directive.ngsummary.json +0 -1
- package/esm2015/table/table-row.component.js +0 -37
- package/esm2015/table/table-row.component.ngfactory.js +0 -17
- package/esm2015/table/table-row.component.ngsummary.json +0 -1
- package/esm2015/table/table-scroll.directive.js +0 -84
- package/esm2015/table/table-scroll.directive.ngsummary.json +0 -1
- package/esm2015/table/table-scroll.scss.ngstyle.js +0 -9
- package/esm2015/table/table.component.js +0 -69
- package/esm2015/table/table.component.ngfactory.js +0 -25
- package/esm2015/table/table.component.ngsummary.json +0 -1
- package/esm2015/table/table.component.scss.ngstyle.js +0 -9
- package/esm2015/table/table.module.js +0 -61
- package/esm2015/table/table.module.ngfactory.js +0 -20
- package/esm2015/table/table.module.ngsummary.json +0 -1
- package/esm2015/table-of-contents/public-api.ngsummary.json +0 -1
- package/esm2015/table-of-contents/table-of-contents.module.js +0 -15
- package/esm2015/table-of-contents/table-of-contents.module.ngfactory.js +0 -12
- package/esm2015/table-of-contents/table-of-contents.module.ngsummary.json +0 -1
- package/esm2015/table-of-contents/toc-container.directive.js +0 -109
- package/esm2015/table-of-contents/toc-container.directive.ngsummary.json +0 -1
- package/esm2015/table-of-contents/toc-content.directive.js +0 -32
- package/esm2015/table-of-contents/toc-content.directive.ngsummary.json +0 -1
- package/esm2015/table-of-contents/toc-link.directive.js +0 -43
- package/esm2015/table-of-contents/toc-link.directive.ngsummary.json +0 -1
- package/esm2015/tabs/public-api.js +0 -10
- package/esm2015/tabs/public-api.ngsummary.json +0 -1
- package/esm2015/tabs/tab-body.component.js +0 -35
- package/esm2015/tabs/tab-body.component.ngfactory.js +0 -18
- package/esm2015/tabs/tab-body.component.ngsummary.json +0 -1
- package/esm2015/tabs/tab-context.service.js +0 -28
- package/esm2015/tabs/tab-context.service.ngsummary.json +0 -1
- package/esm2015/tabs/tab-directives.js +0 -142
- package/esm2015/tabs/tab-directives.ngsummary.json +0 -1
- package/esm2015/tabs/tab-group.component.js +0 -277
- package/esm2015/tabs/tab-group.component.ngfactory.js +0 -56
- package/esm2015/tabs/tab-group.component.ngsummary.json +0 -1
- package/esm2015/tabs/tab-group.component.scss.ngstyle.js +0 -9
- package/esm2015/tabs/tab-header-active-indicator.component.js +0 -59
- package/esm2015/tabs/tab-header-active-indicator.component.ngfactory.js +0 -17
- package/esm2015/tabs/tab-header-active-indicator.component.ngsummary.json +0 -1
- package/esm2015/tabs/tab-header.component.js +0 -348
- package/esm2015/tabs/tab-header.component.ngfactory.js +0 -44
- package/esm2015/tabs/tab-header.component.ngsummary.json +0 -1
- package/esm2015/tabs/tab-header.component.scss.ngstyle.js +0 -9
- package/esm2015/tabs/tab.component.js +0 -82
- package/esm2015/tabs/tab.component.ngfactory.js +0 -18
- package/esm2015/tabs/tab.component.ngsummary.json +0 -1
- package/esm2015/tabs/tabs.module.js +0 -53
- package/esm2015/tabs/tabs.module.ngfactory.js +0 -22
- package/esm2015/tabs/tabs.module.ngsummary.json +0 -1
- package/esm2015/tabs/tabs.types.ngsummary.json +0 -1
- package/esm2015/tag/check-tag/check-tag.component.js +0 -34
- package/esm2015/tag/check-tag/check-tag.component.ngfactory.js +0 -27
- package/esm2015/tag/check-tag/check-tag.component.ngsummary.json +0 -1
- package/esm2015/tag/check-tag/check-tag.component.scss.ngstyle.js +0 -9
- package/esm2015/tag/public-api.ngsummary.json +0 -1
- package/esm2015/tag/tag.component.js +0 -57
- package/esm2015/tag/tag.component.ngfactory.js +0 -26
- package/esm2015/tag/tag.component.ngsummary.json +0 -1
- package/esm2015/tag/tag.component.scss.ngstyle.js +0 -9
- package/esm2015/tag/tag.module.js +0 -15
- package/esm2015/tag/tag.module.ngfactory.js +0 -16
- package/esm2015/tag/tag.module.ngsummary.json +0 -1
- package/esm2015/tag/tag.types.ngsummary.json +0 -1
- package/esm2015/theme/public-api.ngsummary.json +0 -1
- package/esm2015/theme/theme.module.js +0 -13
- package/esm2015/theme/theme.module.ngfactory.js +0 -12
- package/esm2015/theme/theme.module.ngsummary.json +0 -1
- package/esm2015/theme/theme.pipe.js +0 -61
- package/esm2015/theme/theme.pipe.ngsummary.json +0 -1
- package/esm2015/theme/theme.service.js +0 -52
- package/esm2015/theme/theme.service.ngsummary.json +0 -1
- package/esm2015/theme/theme.types.ngsummary.json +0 -1
- package/esm2015/theme/utils.ngsummary.json +0 -1
- package/esm2015/time-picker/component.js +0 -149
- package/esm2015/time-picker/component.ngfactory.js +0 -82
- package/esm2015/time-picker/component.ngsummary.json +0 -1
- package/esm2015/time-picker/constant.js +0 -9
- package/esm2015/time-picker/constant.ngsummary.json +0 -1
- package/esm2015/time-picker/panel/panel.component.js +0 -211
- package/esm2015/time-picker/panel/panel.component.ngfactory.js +0 -49
- package/esm2015/time-picker/panel/panel.component.ngsummary.json +0 -1
- package/esm2015/time-picker/panel/panel.style.scss.ngstyle.js +0 -9
- package/esm2015/time-picker/public-api.ngsummary.json +0 -1
- package/esm2015/time-picker/style.scss.ngstyle.js +0 -9
- package/esm2015/time-picker/time-picker.module.js +0 -33
- package/esm2015/time-picker/time-picker.module.ngfactory.js +0 -30
- package/esm2015/time-picker/time-picker.module.ngsummary.json +0 -1
- package/esm2015/time-picker/time-picker.type.js +0 -13
- package/esm2015/time-picker/time-picker.type.ngsummary.json +0 -1
- package/esm2015/tooltip/base-tooltip.js +0 -255
- package/esm2015/tooltip/base-tooltip.ngsummary.json +0 -1
- package/esm2015/tooltip/public-api.js +0 -8
- package/esm2015/tooltip/public-api.ngsummary.json +0 -1
- package/esm2015/tooltip/tooltip-active.directive.js +0 -44
- package/esm2015/tooltip/tooltip-active.directive.ngsummary.json +0 -1
- package/esm2015/tooltip/tooltip-copy.directive.js +0 -80
- package/esm2015/tooltip/tooltip-copy.directive.ngsummary.json +0 -1
- package/esm2015/tooltip/tooltip-intl.js +0 -25
- package/esm2015/tooltip/tooltip-intl.ngsummary.json +0 -1
- package/esm2015/tooltip/tooltip.component.js +0 -55
- package/esm2015/tooltip/tooltip.component.ngfactory.js +0 -25
- package/esm2015/tooltip/tooltip.component.ngsummary.json +0 -1
- package/esm2015/tooltip/tooltip.component.scss.ngstyle.js +0 -9
- package/esm2015/tooltip/tooltip.directive.js +0 -45
- package/esm2015/tooltip/tooltip.directive.ngsummary.json +0 -1
- package/esm2015/tooltip/tooltip.module.js +0 -25
- package/esm2015/tooltip/tooltip.module.ngfactory.js +0 -19
- package/esm2015/tooltip/tooltip.module.ngsummary.json +0 -1
- package/esm2015/tooltip/tooltip.types.ngsummary.json +0 -1
- package/esm2015/tooltip/utils/index.ngsummary.json +0 -1
- package/esm2015/tree-select/public-api.js +0 -6
- package/esm2015/tree-select/public-api.ngsummary.json +0 -1
- package/esm2015/tree-select/tree-node/tree-node.component.js +0 -127
- package/esm2015/tree-select/tree-node/tree-node.component.ngfactory.js +0 -32
- package/esm2015/tree-select/tree-node/tree-node.component.ngsummary.json +0 -1
- package/esm2015/tree-select/tree-node/tree-node.component.scss.ngstyle.js +0 -9
- package/esm2015/tree-select/tree-node-placeholder.component.js +0 -13
- package/esm2015/tree-select/tree-node-placeholder.component.ngfactory.js +0 -16
- package/esm2015/tree-select/tree-node-placeholder.component.ngsummary.json +0 -1
- package/esm2015/tree-select/tree-select.component.js +0 -204
- package/esm2015/tree-select/tree-select.component.ngfactory.js +0 -56
- package/esm2015/tree-select/tree-select.component.ngsummary.json +0 -1
- package/esm2015/tree-select/tree-select.component.scss.ngstyle.js +0 -9
- package/esm2015/tree-select/tree-select.module.js +0 -26
- package/esm2015/tree-select/tree-select.module.ngfactory.js +0 -29
- package/esm2015/tree-select/tree-select.module.ngsummary.json +0 -1
- package/esm2015/tree-select/tree-select.types.ngsummary.json +0 -1
- package/esm2015/types.ngsummary.json +0 -1
- package/esm2015/utils/async.ngsummary.json +0 -1
- package/esm2015/utils/bem.ngsummary.json +0 -1
- package/esm2015/utils/coercion.js +0 -16
- package/esm2015/utils/coercion.ngsummary.json +0 -1
- package/esm2015/utils/fn.js +0 -8
- package/esm2015/utils/fn.ngsummary.json +0 -1
- package/esm2015/utils/index.ngsummary.json +0 -1
- package/esm2015/utils/observe-dom.ngsummary.json +0 -1
- package/esm2015/utils/scroll-into-view.ngsummary.json +0 -1
- package/esm2015/utils/watch-content-exist.ngsummary.json +0 -1
- package/fesm2015/alauda-ui.js +0 -10768
- package/fesm2015/alauda-ui.js.map +0 -1
- package/form/form-item/form-item.component.ngfactory.d.ts +0 -1
- package/form/form-item/form-item.component.scss.ngstyle.d.ts +0 -1
- package/form/form.module.ngfactory.d.ts +0 -3
- package/i18n/i18n.module.ngfactory.d.ts +0 -3
- package/icon/icon.component.ngfactory.d.ts +0 -1
- package/icon/icon.component.scss.ngstyle.d.ts +0 -1
- package/icon/icon.module.ngfactory.d.ts +0 -3
- package/inline-alert/inline-alert.component.ngfactory.d.ts +0 -1
- package/inline-alert/inline-alert.component.scss.ngstyle.d.ts +0 -1
- package/inline-alert/inline-alert.module.ngfactory.d.ts +0 -3
- package/input/input-group/input-group.component.ngfactory.d.ts +0 -1
- package/input/input-group/input-group.component.scss.ngstyle.d.ts +0 -1
- package/input/input.component.ngfactory.d.ts +0 -1
- package/input/input.component.scss.ngstyle.d.ts +0 -1
- package/input/input.module.ngfactory.d.ts +0 -3
- package/input/number-input/number-input.component.ngfactory.d.ts +0 -1
- package/input/number-input/number-input.component.scss.ngstyle.d.ts +0 -1
- package/input/search/search.component.ngfactory.d.ts +0 -1
- package/input/search/search.component.scss.ngstyle.d.ts +0 -1
- package/input/tags-input/tags-input.component.ngfactory.d.ts +0 -1
- package/input/tags-input/tags-input.component.scss.ngstyle.d.ts +0 -1
- package/message/message-wrapper.component.ngfactory.d.ts +0 -1
- package/message/message-wrapper.component.scss.ngstyle.d.ts +0 -1
- package/message/message.component.ngfactory.d.ts +0 -1
- package/message/message.component.scss.ngstyle.d.ts +0 -1
- package/message/message.module.ngfactory.d.ts +0 -3
- package/notification/notification-wrapper.component.ngfactory.d.ts +0 -1
- package/notification/notification-wrapper.component.scss.ngstyle.d.ts +0 -1
- package/notification/notification.component.ngfactory.d.ts +0 -1
- package/notification/notification.component.scss.ngstyle.d.ts +0 -1
- package/notification/notification.module.ngfactory.d.ts +0 -3
- package/paginator/paginator.component.ngfactory.d.ts +0 -1
- package/paginator/paginator.component.scss.ngstyle.d.ts +0 -1
- package/paginator/paginator.module.ngfactory.d.ts +0 -3
- package/radio/radio-button/radio-button.component.ngfactory.d.ts +0 -1
- package/radio/radio-button/radio-button.component.scss.ngstyle.d.ts +0 -1
- package/radio/radio-group/radio-group.component.ngfactory.d.ts +0 -1
- package/radio/radio-group/radio-group.component.scss.ngstyle.d.ts +0 -1
- package/radio/radio.component.ngfactory.d.ts +0 -1
- package/radio/radio.component.scss.ngstyle.d.ts +0 -1
- package/radio/radio.module.ngfactory.d.ts +0 -3
- package/scrolling/scrolling.module.ngfactory.d.ts +0 -3
- package/scrolling/virtual-scroll-viewport.component.ngfactory.d.ts +0 -1
- package/scrolling/virtual-scroll-viewport.component.scss.ngstyle.d.ts +0 -1
- package/select/multi-select/multi-select.component.ngfactory.d.ts +0 -1
- package/select/multi-select/multi-select.component.scss.ngstyle.d.ts +0 -1
- package/select/option/option.component.ngfactory.d.ts +0 -1
- package/select/option/option.component.scss.ngstyle.d.ts +0 -1
- package/select/option-group/option-group.component.ngfactory.d.ts +0 -1
- package/select/option-group/option-group.component.scss.ngstyle.d.ts +0 -1
- package/select/option-placeholder.component.ngfactory.d.ts +0 -1
- package/select/select.component.ngfactory.d.ts +0 -1
- package/select/select.component.scss.ngstyle.d.ts +0 -1
- package/select/select.module.ngfactory.d.ts +0 -3
- package/shared/shared.module.ngfactory.d.ts +0 -3
- package/sort/sort-header.component.ngfactory.d.ts +0 -1
- package/sort/sort-header.component.scss.ngstyle.d.ts +0 -1
- package/sort/sort.module.ngfactory.d.ts +0 -3
- package/status-bar/status-bar.component.ngfactory.d.ts +0 -1
- package/status-bar/status-bar.component.scss.ngstyle.d.ts +0 -1
- package/status-bar/status-bar.module.ngfactory.d.ts +0 -3
- package/steps/steps.component.ngfactory.d.ts +0 -1
- package/steps/steps.component.scss.ngstyle.d.ts +0 -1
- package/steps/steps.module.ngfactory.d.ts +0 -3
- package/switch/switch.component.ngfactory.d.ts +0 -1
- package/switch/switch.component.scss.ngstyle.d.ts +0 -1
- package/switch/switch.module.ngfactory.d.ts +0 -3
- package/table/table-cell.component.ngfactory.d.ts +0 -1
- package/table/table-header-row.component.ngfactory.d.ts +0 -1
- package/table/table-row.component.ngfactory.d.ts +0 -1
- package/table/table-scroll.scss.ngstyle.d.ts +0 -1
- package/table/table.component.ngfactory.d.ts +0 -1
- package/table/table.component.scss.ngstyle.d.ts +0 -1
- package/table/table.module.ngfactory.d.ts +0 -3
- package/table-of-contents/table-of-contents.module.ngfactory.d.ts +0 -3
- package/tabs/tab-body.component.ngfactory.d.ts +0 -1
- package/tabs/tab-directives.d.ts +0 -47
- package/tabs/tab-group.component.ngfactory.d.ts +0 -1
- package/tabs/tab-group.component.scss.ngstyle.d.ts +0 -1
- package/tabs/tab-header-active-indicator.component.ngfactory.d.ts +0 -1
- package/tabs/tab-header.component.ngfactory.d.ts +0 -1
- package/tabs/tab-header.component.scss.ngstyle.d.ts +0 -1
- package/tabs/tab.component.ngfactory.d.ts +0 -1
- package/tabs/tabs.module.ngfactory.d.ts +0 -3
- package/tag/check-tag/check-tag.component.ngfactory.d.ts +0 -1
- package/tag/check-tag/check-tag.component.scss.ngstyle.d.ts +0 -1
- package/tag/tag.component.ngfactory.d.ts +0 -1
- package/tag/tag.component.scss.ngstyle.d.ts +0 -1
- package/tag/tag.module.ngfactory.d.ts +0 -3
- package/theme/theme.module.ngfactory.d.ts +0 -3
- package/time-picker/component.ngfactory.d.ts +0 -1
- package/time-picker/panel/panel.component.ngfactory.d.ts +0 -1
- package/time-picker/panel/panel.style.scss.ngstyle.d.ts +0 -1
- package/time-picker/style.scss.ngstyle.d.ts +0 -1
- package/time-picker/time-picker.module.ngfactory.d.ts +0 -3
- package/tooltip/tooltip.component.ngfactory.d.ts +0 -1
- package/tooltip/tooltip.component.scss.ngstyle.d.ts +0 -1
- package/tooltip/tooltip.module.ngfactory.d.ts +0 -3
- package/tree-select/tree-node/tree-node.component.d.ts +0 -34
- package/tree-select/tree-node/tree-node.component.ngfactory.d.ts +0 -1
- package/tree-select/tree-node/tree-node.component.scss.ngstyle.d.ts +0 -1
- package/tree-select/tree-node-placeholder.component.ngfactory.d.ts +0 -1
- package/tree-select/tree-select.component.ngfactory.d.ts +0 -1
- package/tree-select/tree-select.component.scss.ngstyle.d.ts +0 -1
- package/tree-select/tree-select.module.ngfactory.d.ts +0 -3
- package/tsconfig.lib.tsbuildinfo +0 -3
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/* eslint-disable sonarjs/no-duplicate-string */
|
|
2
|
+
import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation, } from '@angular/core';
|
|
3
|
+
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import { ComponentSize } from '../types';
|
|
5
|
+
import { coerceAttrBoolean } from '../utils';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export class InputComponent {
|
|
8
|
+
constructor(elementRef, renderer) {
|
|
9
|
+
this.elementRef = elementRef;
|
|
10
|
+
this.renderer = renderer;
|
|
11
|
+
this._size = ComponentSize.Medium;
|
|
12
|
+
this._disabled = false;
|
|
13
|
+
this.size$ = new BehaviorSubject(this.size);
|
|
14
|
+
/**
|
|
15
|
+
* workaround for @link https://github.com/microsoft/TypeScript/pull/42425
|
|
16
|
+
*/
|
|
17
|
+
this.disabled$ = new BehaviorSubject(this.disabled);
|
|
18
|
+
this.renderer.addClass(this.elementRef.nativeElement, 'aui-input');
|
|
19
|
+
this.renderer.addClass(this.elementRef.nativeElement, 'aui-input--' + this.size);
|
|
20
|
+
}
|
|
21
|
+
get size() {
|
|
22
|
+
return this._size;
|
|
23
|
+
}
|
|
24
|
+
set size(val) {
|
|
25
|
+
if (!val || this._size === val) {
|
|
26
|
+
return;
|
|
27
|
+
}
|
|
28
|
+
this.renderer.removeClass(this.elementRef.nativeElement, 'aui-input--' + this._size);
|
|
29
|
+
this.renderer.addClass(this.elementRef.nativeElement, 'aui-input--' + val);
|
|
30
|
+
this._size = val;
|
|
31
|
+
this.size$.next(val);
|
|
32
|
+
}
|
|
33
|
+
get disabled() {
|
|
34
|
+
return this._disabled;
|
|
35
|
+
}
|
|
36
|
+
set disabled(val) {
|
|
37
|
+
const booleanVal = coerceAttrBoolean(val);
|
|
38
|
+
if (booleanVal === this._disabled) {
|
|
39
|
+
return;
|
|
40
|
+
}
|
|
41
|
+
if (booleanVal) {
|
|
42
|
+
this.renderer.setAttribute(this.elementRef.nativeElement, 'disabled', '');
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
this.renderer.removeAttribute(this.elementRef.nativeElement, 'disabled');
|
|
46
|
+
}
|
|
47
|
+
this._disabled = booleanVal;
|
|
48
|
+
this.disabled$.next(booleanVal);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
InputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InputComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component });
|
|
52
|
+
InputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: InputComponent, selector: "input[aui-input],textarea[aui-input]", inputs: { size: "size", disabled: "disabled" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, styles: ["@charset \"UTF-8\";.aui-input{display:inline-block;padding:0 var(--aui-inline-padding-xs);width:100%;min-width:0;border:1px solid rgb(var(--aui-color-n-7));border-radius:var(--aui-border-radius-m);background-color:rgb(var(--aui-color-main-bg));color:rgb(var(--aui-color-main-text));outline:none;text-overflow:ellipsis}@keyframes cdk-text-field-autofill-color-0{to{background:rgb(var(--aui-color-n-9));color:rgb(var(--aui-color-main-text))}}.aui-input:-webkit-autofill{animation:cdk-text-field-autofill-color-0 both}.aui-input.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms,cdk-text-field-autofill-color-0 both}.aui-input::-webkit-outer-spin-button,.aui-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.aui-input[type=number]{-moz-appearance:textfield}.aui-input::placeholder{color:rgb(var(--aui-color-placeholder-text))}.aui-input:invalid,.aui-input:required{box-shadow:none}.aui-input:hover{border-color:rgb(var(--aui-color-primary))}.aui-input:focus,.aui-input.isFocused{border-color:rgb(var(--aui-color-primary))}:root .aui-input:focus,.aui-input.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}html[aui-theme-mode=light] .aui-input:focus,.aui-input.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-input:focus,.aui-input.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}}html[aui-theme-mode=dark] .aui-input:focus,.aui-input.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}.aui-input[readonly]{background-color:rgb(var(--aui-color-n-8));border-color:rgb(var(--aui-color-n-7))!important;cursor:default}.aui-input[disabled]{background-color:rgb(var(--aui-color-n-8));border-color:rgb(var(--aui-color-n-7))!important;color:rgb(var(--aui-color-disabled-text));cursor:not-allowed}.aui-input--large{height:var(--aui-inline-height-l);font-size:var(--aui-font-size-l)}.aui-input--medium{height:var(--aui-inline-height-m);font-size:var(--aui-font-size-m)}.aui-input--small{height:var(--aui-inline-height-s);font-size:var(--aui-font-size-m)}.aui-input--mini{height:var(--aui-inline-height-xs);font-size:var(--aui-font-size-s)}textarea.aui-input{padding:var(--aui-inline-padding-xxs) var(--aui-inline-padding-xs);height:calc(var(--aui-inline-padding-xxs) * 2 + var(--aui-line-height-m) * 3 + 2px);max-height:calc(var(--aui-inline-padding-xxs) * 2 + var(--aui-line-height-m) * 6 + 2px);min-height:var(--aui-inline-height-m);font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m);color:rgb(var(--aui-color-main-text));resize:vertical;overflow:auto}.aui-input.ng-invalid.ng-dirty,.ng-submitted .aui-input.ng-invalid{border-color:rgb(var(--aui-color-red))!important}:root .aui-input.ng-invalid.ng-dirty:focus,.aui-input.ng-invalid.ng-dirty.isFocused,.ng-submitted .aui-input.ng-invalid:focus,.ng-submitted .aui-input.ng-invalid.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.16)}html[aui-theme-mode=light] .aui-input.ng-invalid.ng-dirty:focus,.aui-input.ng-invalid.ng-dirty.isFocused,.ng-submitted .aui-input.ng-invalid:focus,.ng-submitted .aui-input.ng-invalid.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-input.ng-invalid.ng-dirty:focus,.aui-input.ng-invalid.ng-dirty.isFocused,.ng-submitted .aui-input.ng-invalid:focus,.ng-submitted .aui-input.ng-invalid.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.3)}}html[aui-theme-mode=dark] .aui-input.ng-invalid.ng-dirty:focus,.aui-input.ng-invalid.ng-dirty.isFocused,.ng-submitted .aui-input.ng-invalid:focus,.ng-submitted .aui-input.ng-invalid.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.3)}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InputComponent, decorators: [{
|
|
54
|
+
type: Component,
|
|
55
|
+
args: [{ selector: 'input[aui-input],textarea[aui-input]', template: '<ng-content></ng-content>', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, preserveWhitespaces: false, styles: ["@charset \"UTF-8\";.aui-input{display:inline-block;padding:0 var(--aui-inline-padding-xs);width:100%;min-width:0;border:1px solid rgb(var(--aui-color-n-7));border-radius:var(--aui-border-radius-m);background-color:rgb(var(--aui-color-main-bg));color:rgb(var(--aui-color-main-text));outline:none;text-overflow:ellipsis}@keyframes cdk-text-field-autofill-color-0{to{background:rgb(var(--aui-color-n-9));color:rgb(var(--aui-color-main-text))}}.aui-input:-webkit-autofill{animation:cdk-text-field-autofill-color-0 both}.aui-input.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms,cdk-text-field-autofill-color-0 both}.aui-input::-webkit-outer-spin-button,.aui-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.aui-input[type=number]{-moz-appearance:textfield}.aui-input::placeholder{color:rgb(var(--aui-color-placeholder-text))}.aui-input:invalid,.aui-input:required{box-shadow:none}.aui-input:hover{border-color:rgb(var(--aui-color-primary))}.aui-input:focus,.aui-input.isFocused{border-color:rgb(var(--aui-color-primary))}:root .aui-input:focus,.aui-input.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}html[aui-theme-mode=light] .aui-input:focus,.aui-input.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-input:focus,.aui-input.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}}html[aui-theme-mode=dark] .aui-input:focus,.aui-input.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}.aui-input[readonly]{background-color:rgb(var(--aui-color-n-8));border-color:rgb(var(--aui-color-n-7))!important;cursor:default}.aui-input[disabled]{background-color:rgb(var(--aui-color-n-8));border-color:rgb(var(--aui-color-n-7))!important;color:rgb(var(--aui-color-disabled-text));cursor:not-allowed}.aui-input--large{height:var(--aui-inline-height-l);font-size:var(--aui-font-size-l)}.aui-input--medium{height:var(--aui-inline-height-m);font-size:var(--aui-font-size-m)}.aui-input--small{height:var(--aui-inline-height-s);font-size:var(--aui-font-size-m)}.aui-input--mini{height:var(--aui-inline-height-xs);font-size:var(--aui-font-size-s)}textarea.aui-input{padding:var(--aui-inline-padding-xxs) var(--aui-inline-padding-xs);height:calc(var(--aui-inline-padding-xxs) * 2 + var(--aui-line-height-m) * 3 + 2px);max-height:calc(var(--aui-inline-padding-xxs) * 2 + var(--aui-line-height-m) * 6 + 2px);min-height:var(--aui-inline-height-m);font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m);color:rgb(var(--aui-color-main-text));resize:vertical;overflow:auto}.aui-input.ng-invalid.ng-dirty,.ng-submitted .aui-input.ng-invalid{border-color:rgb(var(--aui-color-red))!important}:root .aui-input.ng-invalid.ng-dirty:focus,.aui-input.ng-invalid.ng-dirty.isFocused,.ng-submitted .aui-input.ng-invalid:focus,.ng-submitted .aui-input.ng-invalid.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.16)}html[aui-theme-mode=light] .aui-input.ng-invalid.ng-dirty:focus,.aui-input.ng-invalid.ng-dirty.isFocused,.ng-submitted .aui-input.ng-invalid:focus,.ng-submitted .aui-input.ng-invalid.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-input.ng-invalid.ng-dirty:focus,.aui-input.ng-invalid.ng-dirty.isFocused,.ng-submitted .aui-input.ng-invalid:focus,.ng-submitted .aui-input.ng-invalid.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.3)}}html[aui-theme-mode=dark] .aui-input.ng-invalid.ng-dirty:focus,.aui-input.ng-invalid.ng-dirty.isFocused,.ng-submitted .aui-input.ng-invalid:focus,.ng-submitted .aui-input.ng-invalid.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.3)}\n"] }]
|
|
56
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i0.Renderer2 }]; }, propDecorators: { size: [{
|
|
57
|
+
type: Input
|
|
58
|
+
}], disabled: [{
|
|
59
|
+
type: Input
|
|
60
|
+
}] } });
|
|
61
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW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cyh0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudCwgJ2F1aS1pbnB1dCcpO1xuICAgIHRoaXMucmVuZGVyZXIuYWRkQ2xhc3MoXG4gICAgICB0aGlzLmVsZW1lbnRSZWYubmF0aXZlRWxlbWVudCxcbiAgICAgICdhdWktaW5wdXQtLScgKyB0aGlzLnNpemUsXG4gICAgKTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
4
|
+
import { ButtonModule } from '../button/public-api';
|
|
5
|
+
import { IconModule } from '../icon/public-api';
|
|
6
|
+
import { SharedModule } from '../shared/shared.module';
|
|
7
|
+
import { TagModule } from '../tag/public-api';
|
|
8
|
+
import { AutosizeDirective } from './autosize.directive';
|
|
9
|
+
import { InputAddonAfterDirective, InputAddonBeforeDirective, InputPrefixDirective, InputSuffixDirective, } from './helper-directives';
|
|
10
|
+
import { InputGroupComponent } from './input-group/input-group.component';
|
|
11
|
+
import { InputComponent } from './input.component';
|
|
12
|
+
import { NumberInputComponent } from './number-input/number-input.component';
|
|
13
|
+
import { SearchComponent } from './search/search.component';
|
|
14
|
+
import { TagsInputComponent } from './tags-input/tags-input.component';
|
|
15
|
+
import * as i0 from "@angular/core";
|
|
16
|
+
export class InputModule {
|
|
17
|
+
}
|
|
18
|
+
InputModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InputModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
19
|
+
InputModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InputModule, declarations: [AutosizeDirective,
|
|
20
|
+
InputComponent,
|
|
21
|
+
InputGroupComponent,
|
|
22
|
+
InputAddonBeforeDirective,
|
|
23
|
+
InputAddonAfterDirective,
|
|
24
|
+
InputPrefixDirective,
|
|
25
|
+
InputSuffixDirective,
|
|
26
|
+
SearchComponent,
|
|
27
|
+
TagsInputComponent,
|
|
28
|
+
NumberInputComponent], imports: [CommonModule,
|
|
29
|
+
ButtonModule,
|
|
30
|
+
FormsModule,
|
|
31
|
+
ReactiveFormsModule,
|
|
32
|
+
IconModule,
|
|
33
|
+
TagModule,
|
|
34
|
+
SharedModule], exports: [AutosizeDirective,
|
|
35
|
+
InputComponent,
|
|
36
|
+
InputGroupComponent,
|
|
37
|
+
InputAddonBeforeDirective,
|
|
38
|
+
InputAddonAfterDirective,
|
|
39
|
+
InputPrefixDirective,
|
|
40
|
+
InputSuffixDirective,
|
|
41
|
+
SearchComponent,
|
|
42
|
+
TagsInputComponent,
|
|
43
|
+
NumberInputComponent] });
|
|
44
|
+
InputModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InputModule, imports: [[
|
|
45
|
+
CommonModule,
|
|
46
|
+
ButtonModule,
|
|
47
|
+
FormsModule,
|
|
48
|
+
ReactiveFormsModule,
|
|
49
|
+
IconModule,
|
|
50
|
+
TagModule,
|
|
51
|
+
SharedModule,
|
|
52
|
+
]] });
|
|
53
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: InputModule, decorators: [{
|
|
54
|
+
type: NgModule,
|
|
55
|
+
args: [{
|
|
56
|
+
imports: [
|
|
57
|
+
CommonModule,
|
|
58
|
+
ButtonModule,
|
|
59
|
+
FormsModule,
|
|
60
|
+
ReactiveFormsModule,
|
|
61
|
+
IconModule,
|
|
62
|
+
TagModule,
|
|
63
|
+
SharedModule,
|
|
64
|
+
],
|
|
65
|
+
declarations: [
|
|
66
|
+
AutosizeDirective,
|
|
67
|
+
InputComponent,
|
|
68
|
+
InputGroupComponent,
|
|
69
|
+
InputAddonBeforeDirective,
|
|
70
|
+
InputAddonAfterDirective,
|
|
71
|
+
InputPrefixDirective,
|
|
72
|
+
InputSuffixDirective,
|
|
73
|
+
SearchComponent,
|
|
74
|
+
TagsInputComponent,
|
|
75
|
+
NumberInputComponent,
|
|
76
|
+
],
|
|
77
|
+
exports: [
|
|
78
|
+
AutosizeDirective,
|
|
79
|
+
InputComponent,
|
|
80
|
+
InputGroupComponent,
|
|
81
|
+
InputAddonBeforeDirective,
|
|
82
|
+
InputAddonAfterDirective,
|
|
83
|
+
InputPrefixDirective,
|
|
84
|
+
InputSuffixDirective,
|
|
85
|
+
SearchComponent,
|
|
86
|
+
TagsInputComponent,
|
|
87
|
+
NumberInputComponent,
|
|
88
|
+
],
|
|
89
|
+
}]
|
|
90
|
+
}] });
|
|
91
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2lucHV0L2lucHV0Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUN6QyxPQUFPLEVBQUUsV0FBVyxFQUFFLG1CQUFtQixFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFFbEUsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3BELE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUNoRCxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDdkQsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBRTlDLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLHNCQUFzQixDQUFDO0FBQ3pELE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ZSxcbiAgICBJbnB1dENvbXBvbmVudCxcbiAgICBJbnB1dEdyb3VwQ29tcG9uZW50LFxuICAgIElucHV0QWRkb25CZWZvcmVEaXJlY3RpdmUsXG4gICAgSW5wdXRBZGRvbkFmdGVyRGlyZWN0aXZlLFxuICAgIElucHV0UHJlZml4RGlyZWN0aXZlLFxuICAgIElucHV0U3VmZml4RGlyZWN0aXZlLFxuICAgIFNlYXJjaENvbXBvbmVudCxcbiAgICBUYWdzSW5wdXRDb21wb25lbnQsXG4gICAgTnVtYmVySW5wdXRDb21wb25lbnQsXG4gIF0sXG4gIGV4cG9ydHM6IFtcbiAgICBBdXRvc2l6ZURpcmVjdGl2ZSxcbiAgICBJbnB1dENvbXBvbmVudCxcbiAgICBJbnB1dEdyb3VwQ29tcG9uZW50LFxuICAgIElucHV0QWRkb25CZWZvcmVEaXJlY3RpdmUsXG4gICAgSW5wdXRBZGRvbkFmdGVyRGlyZWN0aXZlLFxuICAgIElucHV0UHJlZml4RGlyZWN0aXZlLFxuICAgIElucHV0U3VmZml4RGlyZWN0aXZlLFxuICAgIFNlYXJjaENvbXBvbmVudCxcbiAgICBUYWdzSW5wdXRDb21wb25lbnQsXG4gICAgTnVtYmVySW5wdXRDb21wb25lbnQsXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIElucHV0TW9kdWxlIHt9XG4iXX0=
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, ElementRef, Input, ViewChild, ViewEncapsulation, forwardRef, } from '@angular/core';
|
|
2
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
+
import { CommonFormControl } from '../../form/public-api';
|
|
4
|
+
import { ComponentSize } from '../../types';
|
|
5
|
+
import { buildBem, coerceNumber } from '../../utils';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
import * as i1 from "../../button/button.component";
|
|
8
|
+
import * as i2 from "../../icon/icon.component";
|
|
9
|
+
import * as i3 from "../../shared/click-outside.directive";
|
|
10
|
+
import * as i4 from "@angular/common";
|
|
11
|
+
export class NumberInputComponent extends CommonFormControl {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments);
|
|
14
|
+
this.bem = buildBem('aui-number-input');
|
|
15
|
+
this.size = ComponentSize.Medium;
|
|
16
|
+
this.min = Number.MIN_SAFE_INTEGER;
|
|
17
|
+
this.max = Number.MAX_SAFE_INTEGER;
|
|
18
|
+
this.step = 1;
|
|
19
|
+
this.controls = true;
|
|
20
|
+
this.placeholder = '';
|
|
21
|
+
this.controlsPosition = '';
|
|
22
|
+
this.isFocus = false;
|
|
23
|
+
}
|
|
24
|
+
ngAfterViewInit() {
|
|
25
|
+
this.inputRef.nativeElement.value = (this.snapshot.value ?? '') + '';
|
|
26
|
+
}
|
|
27
|
+
valueIn(v) {
|
|
28
|
+
if (this.inputRef) {
|
|
29
|
+
this.inputRef.nativeElement.value = (v ?? '') + '';
|
|
30
|
+
}
|
|
31
|
+
return v;
|
|
32
|
+
}
|
|
33
|
+
valueOut(value) {
|
|
34
|
+
return Math.max(coerceNumber(this.min, Number.MIN_SAFE_INTEGER), Math.min(coerceNumber(this.max, Number.MAX_SAFE_INTEGER), this.parsePrecision(value)));
|
|
35
|
+
}
|
|
36
|
+
inputChanged(value) {
|
|
37
|
+
this.emitValue(coerceNumber(value, this.snapshot.value));
|
|
38
|
+
}
|
|
39
|
+
takeOneStep(positive) {
|
|
40
|
+
if (positive) {
|
|
41
|
+
this.emitValue((this.snapshot.value ?? 0) + this.step);
|
|
42
|
+
}
|
|
43
|
+
else {
|
|
44
|
+
this.emitValue((this.snapshot.value ?? 0) - this.step);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
parsePrecision(value) {
|
|
48
|
+
const precision = this.precision ?? this.getStepPrecision();
|
|
49
|
+
return parseFloat(value.toFixed(precision));
|
|
50
|
+
}
|
|
51
|
+
getStepPrecision() {
|
|
52
|
+
const step = this.step + '';
|
|
53
|
+
const index = step.indexOf('.');
|
|
54
|
+
return index < 0 ? 0 : step.slice(index + 1).length;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
NumberInputComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NumberInputComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
58
|
+
NumberInputComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: NumberInputComponent, selector: "aui-number-input", inputs: { size: "size", min: "min", max: "max", step: "step", precision: "precision", controls: "controls", placeholder: "placeholder", controlsPosition: "controlsPosition" }, providers: [
|
|
59
|
+
{
|
|
60
|
+
provide: NG_VALUE_ACCESSOR,
|
|
61
|
+
useExisting: forwardRef(() => NumberInputComponent),
|
|
62
|
+
multi: true,
|
|
63
|
+
},
|
|
64
|
+
], viewQueries: [{ propertyName: "inputRef", first: true, predicate: ["inputRef"], descendants: true, read: ElementRef }], usesInheritance: true, ngImport: i0, template: "<div\n [class]=\"bem.block(size)\"\n [ngClass]=\"{\n isFocus: isFocus,\n isDisabled: disabled\n }\"\n auiClickOutside\n (auiClickOutside)=\"isFocus = false\"\n>\n <button\n *ngIf=\"controls\"\n aui-button\n type=\"button\"\n [ngClass]=\"bem.element('decrease')\"\n [disabled]=\"disabled || (value$ | async) <= min\"\n (click)=\"takeOneStep(false); isFocus = true\"\n >\n <aui-icon icon=\"minus\"></aui-icon>\n </button>\n <input\n #inputRef\n autocomplete=\"off\"\n (change)=\"inputChanged($any($event).target.value)\"\n [disabled]=\"disabled\"\n [ngClass]=\"bem.element('input')\"\n [placeholder]=\"placeholder\"\n (focus)=\"isFocus = true\"\n (blur)=\"isFocus = false\"\n />\n <button\n *ngIf=\"controls\"\n aui-button\n type=\"button\"\n [ngClass]=\"bem.element('increase')\"\n [disabled]=\"disabled || (value$ | async) >= max\"\n (click)=\"takeOneStep(true); isFocus = true\"\n >\n <aui-icon icon=\"plus\"></aui-icon>\n </button>\n</div>\n", styles: ["@charset \"UTF-8\";.aui-number-input{display:flex;padding:3px;width:var(--aui-form-item-width-s);border:1px solid rgb(var(--aui-color-n-7));border-radius:var(--aui-border-radius-m);background-color:rgb(var(--aui-color-main-bg));color:rgb(var(--aui-color-main-text))}.aui-number-input--small .aui-number-input__decrease.aui-button,.aui-number-input--small .aui-number-input__increase.aui-button{width:var(--aui-line-height-m);height:var(--aui-line-height-m)}.aui-number-input:hover,.aui-number-input.isFocus{border-color:rgb(var(--aui-color-primary))}:root .aui-number-input.isFocus{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}html[aui-theme-mode=light] .aui-number-input.isFocus{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-number-input.isFocus{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}}html[aui-theme-mode=dark] .aui-number-input.isFocus{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}.aui-number-input.isDisabled{border:1px solid rgb(var(--aui-color-n-7))}.aui-number-input.isDisabled:hover{cursor:not-allowed}.aui-number-input.isDisabled .aui-number-input__input{color:rgb(var(--aui-color-n-6))}.aui-number-input.isDisabled .aui-number-input__input:hover{cursor:not-allowed}.aui-number-input__decrease.aui-button,.aui-number-input__increase.aui-button{background-color:rgb(var(--aui-color-n-8));border:unset;width:var(--aui-icon-size-xl);height:var(--aui-icon-size-xl)}.aui-number-input__decrease.aui-button aui-icon,.aui-number-input__increase.aui-button aui-icon{font-size:var(--aui-font-size-s)}.aui-number-input__decrease.aui-button .aui-button__content,.aui-number-input__increase.aui-button .aui-button__content{padding:unset}.aui-number-input__input{min-width:0;line-height:var(--aui-line-height-m);border:unset;padding:unset;margin:0 var(--aui-spacing-s);background-color:transparent;color:rgb(var(--aui-color-main-text));text-align:center}.aui-number-input__input:focus{border:unset}.aui-number-input__input:focus-visible{outline:unset}aui-number-input.ng-invalid.ng-dirty,.ng-submitted aui-number-input.ng-invalid{border-color:rgb(var(--aui-color-red))}\n"], components: [{ type: i1.ButtonComponent, selector: "button[aui-button]", inputs: ["aui-button", "size", "plain", "loading", "round", "square"] }, { type: i2.IconComponent, selector: "aui-icon", inputs: ["icon", "light", "dark", "link", "margin", "size", "color", "background", "backgroundColor"] }], directives: [{ type: i3.ClickOutsideDirective, selector: "[auiClickOutside]", outputs: ["auiClickOutside"], exportAs: ["auiClickOutside"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "async": i4.AsyncPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
65
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: NumberInputComponent, decorators: [{
|
|
66
|
+
type: Component,
|
|
67
|
+
args: [{ selector: 'aui-number-input', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, preserveWhitespaces: false, providers: [
|
|
68
|
+
{
|
|
69
|
+
provide: NG_VALUE_ACCESSOR,
|
|
70
|
+
useExisting: forwardRef(() => NumberInputComponent),
|
|
71
|
+
multi: true,
|
|
72
|
+
},
|
|
73
|
+
], template: "<div\n [class]=\"bem.block(size)\"\n [ngClass]=\"{\n isFocus: isFocus,\n isDisabled: disabled\n }\"\n auiClickOutside\n (auiClickOutside)=\"isFocus = false\"\n>\n <button\n *ngIf=\"controls\"\n aui-button\n type=\"button\"\n [ngClass]=\"bem.element('decrease')\"\n [disabled]=\"disabled || (value$ | async) <= min\"\n (click)=\"takeOneStep(false); isFocus = true\"\n >\n <aui-icon icon=\"minus\"></aui-icon>\n </button>\n <input\n #inputRef\n autocomplete=\"off\"\n (change)=\"inputChanged($any($event).target.value)\"\n [disabled]=\"disabled\"\n [ngClass]=\"bem.element('input')\"\n [placeholder]=\"placeholder\"\n (focus)=\"isFocus = true\"\n (blur)=\"isFocus = false\"\n />\n <button\n *ngIf=\"controls\"\n aui-button\n type=\"button\"\n [ngClass]=\"bem.element('increase')\"\n [disabled]=\"disabled || (value$ | async) >= max\"\n (click)=\"takeOneStep(true); isFocus = true\"\n >\n <aui-icon icon=\"plus\"></aui-icon>\n </button>\n</div>\n", styles: ["@charset \"UTF-8\";.aui-number-input{display:flex;padding:3px;width:var(--aui-form-item-width-s);border:1px solid rgb(var(--aui-color-n-7));border-radius:var(--aui-border-radius-m);background-color:rgb(var(--aui-color-main-bg));color:rgb(var(--aui-color-main-text))}.aui-number-input--small .aui-number-input__decrease.aui-button,.aui-number-input--small .aui-number-input__increase.aui-button{width:var(--aui-line-height-m);height:var(--aui-line-height-m)}.aui-number-input:hover,.aui-number-input.isFocus{border-color:rgb(var(--aui-color-primary))}:root .aui-number-input.isFocus{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}html[aui-theme-mode=light] .aui-number-input.isFocus{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-number-input.isFocus{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}}html[aui-theme-mode=dark] .aui-number-input.isFocus{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}.aui-number-input.isDisabled{border:1px solid rgb(var(--aui-color-n-7))}.aui-number-input.isDisabled:hover{cursor:not-allowed}.aui-number-input.isDisabled .aui-number-input__input{color:rgb(var(--aui-color-n-6))}.aui-number-input.isDisabled .aui-number-input__input:hover{cursor:not-allowed}.aui-number-input__decrease.aui-button,.aui-number-input__increase.aui-button{background-color:rgb(var(--aui-color-n-8));border:unset;width:var(--aui-icon-size-xl);height:var(--aui-icon-size-xl)}.aui-number-input__decrease.aui-button aui-icon,.aui-number-input__increase.aui-button aui-icon{font-size:var(--aui-font-size-s)}.aui-number-input__decrease.aui-button .aui-button__content,.aui-number-input__increase.aui-button .aui-button__content{padding:unset}.aui-number-input__input{min-width:0;line-height:var(--aui-line-height-m);border:unset;padding:unset;margin:0 var(--aui-spacing-s);background-color:transparent;color:rgb(var(--aui-color-main-text));text-align:center}.aui-number-input__input:focus{border:unset}.aui-number-input__input:focus-visible{outline:unset}aui-number-input.ng-invalid.ng-dirty,.ng-submitted aui-number-input.ng-invalid{border-color:rgb(var(--aui-color-red))}\n"] }]
|
|
74
|
+
}], propDecorators: { size: [{
|
|
75
|
+
type: Input
|
|
76
|
+
}], min: [{
|
|
77
|
+
type: Input
|
|
78
|
+
}], max: [{
|
|
79
|
+
type: Input
|
|
80
|
+
}], step: [{
|
|
81
|
+
type: Input
|
|
82
|
+
}], precision: [{
|
|
83
|
+
type: Input
|
|
84
|
+
}], controls: [{
|
|
85
|
+
type: Input
|
|
86
|
+
}], placeholder: [{
|
|
87
|
+
type: Input
|
|
88
|
+
}], controlsPosition: [{
|
|
89
|
+
type: Input
|
|
90
|
+
}], inputRef: [{
|
|
91
|
+
type: ViewChild,
|
|
92
|
+
args: ['inputRef', { read: ElementRef }]
|
|
93
|
+
}] } });
|
|
94
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibnVtYmVyLWlucHV0LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnB1dC9udW1iZXItaW5wdXQvbnVtYmVyLWlucHV0LmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uL3NyYy9pbnB1dC9udW1iZXItaW5wdXQvbnVtYmVyLWlucHV0LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFFTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFVBQVUsRUFDVixLQUFLLEVBQ0wsU0FBUyxFQUNULGlCQUFpQixFQUNqQixVQUFVLEdBQ1gsTUFBTSxlQUFlLENBQUM7QUFDdkIsT0FBTyxFQUFFLGlCQUF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XG4gICAgKGNoYW5nZSk9XCJpbnB1dENoYW5nZWQoJGFueSgkZXZlbnQpLnRhcmdldC52YWx1ZSlcIlxuICAgIFtkaXNhYmxlZF09XCJkaXNhYmxlZFwiXG4gICAgW25nQ2xhc3NdPVwiYmVtLmVsZW1lbnQoJ2lucHV0JylcIlxuICAgIFtwbGFjZWhvbGRlcl09XCJwbGFjZWhvbGRlclwiXG4gICAgKGZvY3VzKT1cImlzRm9jdXMgPSB0cnVlXCJcbiAgICAoYmx1cik9XCJpc0ZvY3VzID0gZmFsc2VcIlxuICAvPlxuICA8YnV0dG9uXG4gICAgKm5nSWY9XCJjb250cm9sc1wiXG4gICAgYXVpLWJ1dHRvblxuICAgIHR5cGU9XCJidXR0b25cIlxuICAgIFtuZ0NsYXNzXT1cImJlbS5lbGVtZW50KCdpbmNyZWFzZScpXCJcbiAgICBbZGlzYWJsZWRdPVwiZGlzYWJsZWQgfHwgKHZhbHVlJCB8IGFzeW5jKSA+PSBtYXhcIlxuICAgIChjbGljayk9XCJ0YWtlT25lU3RlcCh0cnVlKTsgaXNGb2N1cyA9IHRydWVcIlxuICA+XG4gICAgPGF1aS1pY29uIGljb249XCJwbHVzXCI+PC9hdWktaWNvbj5cbiAgPC9idXR0b24+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './input.component';
|
|
2
|
+
export * from './input-group/input-group.component';
|
|
3
|
+
export * from './search/search.component';
|
|
4
|
+
export * from './tags-input/tags-input.component';
|
|
5
|
+
export * from './input.module';
|
|
6
|
+
export * from './number-input/number-input.component';
|
|
7
|
+
export * from './autosize.directive';
|
|
8
|
+
export * from './helper-directives';
|
|
9
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljLWFwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9pbnB1dC9wdWJsaWMtYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsbUJBQW1CLENBQUM7QUFDbEMsY0FBYyxxQ0FBcUMsQ0FBQztBQUNwRCxjQUFjLDJCQUEyQixDQUFDO0FBQzFDLGNBQWMsbUNBQW1DLENBQUM7QUFDbEQsY0FBYyxnQkFBZ0IsQ0FBQztBQUMvQixjQUFjLHVDQUF1QyxDQUFDO0FBQ3RELGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyxxQkFBcUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vaW5wdXQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vaW5wdXQtZ3JvdXAvaW5wdXQtZ3JvdXAuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vc2VhcmNoL3NlYXJjaC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi90YWdzLWlucHV0L3RhZ3MtaW5wdXQuY29tcG9uZW50JztcbmV4cG9ydCAqIGZyb20gJy4vaW5wdXQubW9kdWxlJztcbmV4cG9ydCAqIGZyb20gJy4vbnVtYmVyLWlucHV0L251bWJlci1pbnB1dC5jb21wb25lbnQnO1xuZXhwb3J0ICogZnJvbSAnLi9hdXRvc2l6ZS5kaXJlY3RpdmUnO1xuZXhwb3J0ICogZnJvbSAnLi9oZWxwZXItZGlyZWN0aXZlcyc7XG4iXX0=
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { ComponentSize } from '../../types';
|
|
3
|
+
import { buildBem } from '../../utils';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../icon/icon.component";
|
|
6
|
+
import * as i2 from "../input.component";
|
|
7
|
+
import * as i3 from "@angular/common";
|
|
8
|
+
import * as i4 from "@angular/forms";
|
|
9
|
+
export class SearchComponent {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.bem = buildBem('aui-search');
|
|
12
|
+
this.size = ComponentSize.Medium;
|
|
13
|
+
this.searchButton = false;
|
|
14
|
+
this.clearable = true;
|
|
15
|
+
this.searching = false;
|
|
16
|
+
this.placeholder = '';
|
|
17
|
+
this.disabled = false;
|
|
18
|
+
this.keywordChange = new EventEmitter();
|
|
19
|
+
this.search = new EventEmitter();
|
|
20
|
+
this.clear = new EventEmitter();
|
|
21
|
+
this.value = '';
|
|
22
|
+
}
|
|
23
|
+
get keyword() {
|
|
24
|
+
return this.value;
|
|
25
|
+
}
|
|
26
|
+
set keyword(value) {
|
|
27
|
+
this.value = value;
|
|
28
|
+
}
|
|
29
|
+
get showSpinner() {
|
|
30
|
+
return this.searching && !this.searchButton;
|
|
31
|
+
}
|
|
32
|
+
get showClear() {
|
|
33
|
+
return !this.disabled && this.clearable && this.value && !this.showSpinner;
|
|
34
|
+
}
|
|
35
|
+
emitChange(value) {
|
|
36
|
+
this.value = value;
|
|
37
|
+
this.keywordChange.emit(value);
|
|
38
|
+
}
|
|
39
|
+
emitSearch() {
|
|
40
|
+
if (this.disabled) {
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
this.search.emit(this.value);
|
|
44
|
+
}
|
|
45
|
+
emitClear() {
|
|
46
|
+
if (this.disabled) {
|
|
47
|
+
return;
|
|
48
|
+
}
|
|
49
|
+
this.value = '';
|
|
50
|
+
this.keywordChange.emit('');
|
|
51
|
+
this.search.emit('');
|
|
52
|
+
this.clear.emit();
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
SearchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SearchComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
56
|
+
SearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: SearchComponent, selector: "aui-search", inputs: { size: "size", searchButton: "searchButton", clearable: "clearable", searching: "searching", placeholder: "placeholder", disabled: "disabled", keyword: "keyword" }, outputs: { keywordChange: "keywordChange", search: "search", clear: "clear" }, ngImport: i0, template: "<div\n [ngClass]=\"bem.block(size)\"\n [class.hasIcon]=\"!searchButton\"\n [class.hasButton]=\"searchButton\"\n [class.isClearable]=\"clearable\"\n [class.isSearching]=\"searching\"\n [class.isDisabled]=\"disabled\"\n>\n <div *ngIf=\"!searchButton\" [class]=\"bem.element('icon')\">\n <aui-icon icon=\"search_s\"></aui-icon>\n </div>\n <input\n aui-input\n autocomplete=\"off\"\n [ngModel]=\"value\"\n (ngModelChange)=\"emitChange($event)\"\n [disabled]=\"disabled\"\n (keyup.enter)=\"emitSearch()\"\n [ngClass]=\"bem.element('input')\"\n [placeholder]=\"placeholder\"\n [size]=\"size\"\n />\n <div *ngIf=\"showSpinner\" [class]=\"bem.element('spinner')\">\n <aui-icon icon=\"spinner\"></aui-icon>\n </div>\n <div\n [hidden]=\"!showClear\"\n [class]=\"bem.element('clear')\"\n (click)=\"emitClear()\"\n >\n <aui-icon icon=\"close_small\"></aui-icon>\n </div>\n <div\n *ngIf=\"searchButton\"\n [class]=\"bem.element('button')\"\n (click)=\"emitSearch()\"\n >\n <div [class]=\"bem.element('button-icon')\">\n <aui-icon [icon]=\"searching ? 'spinner' : 'search_s'\"></aui-icon>\n </div>\n </div>\n</div>\n", styles: ["@charset \"UTF-8\";.aui-search{display:inline-block;width:100%;position:relative;color:rgb(var(--aui-color-n-4))}.aui-search.isDisabled{color:rgb(var(--aui-color-disabled-text));cursor:not-allowed}.aui-search--large{font-size:var(--aui-font-size-l);line-height:var(--aui-line-height-l)}.aui-search--large aui-icon{font-size:var(--aui-icon-size-l)}.aui-search--large .aui-search__clear,.aui-search--large .aui-search__spinner{right:calc(var(--aui-inline-padding-xs) + 1px)}.aui-search--large .aui-search__icon{left:calc(var(--aui-inline-padding-xs) + 1px)}.aui-search--large .aui-search__button-icon{padding:0 var(--aui-inline-padding-xs)}.aui-search--large.isClearable .aui-search__input,.aui-search--large.isSearching .aui-search__input{padding-right:var(--aui-inline-padding-xs)}.aui-search--large.hasIcon .aui-search__input{padding-left:calc(var(--aui-icon-size-l) + var(--aui-inline-padding-xs) * 2 + 1px)}.aui-search--large.hasButton .aui-search__input{padding-right:calc(var(--aui-icon-size-l) + var(--aui-inline-padding-xs) * 3 + 1px)}.aui-search--large.hasButton .aui-search__clear{right:calc(var(--aui-icon-size-l) + var(--aui-inline-padding-xs) * 3 + 1px * 2)}.aui-search--large.hasButton.isClearable .aui-search__input{padding-right:calc(var(--aui-icon-size-l) * 2)}.aui-search--medium{font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m)}.aui-search--medium aui-icon{font-size:var(--aui-icon-size-m)}.aui-search--medium .aui-search__clear,.aui-search--medium .aui-search__spinner{right:calc(var(--aui-inline-padding-xs) + 1px)}.aui-search--medium .aui-search__icon{left:calc(var(--aui-inline-padding-xs) + 1px)}.aui-search--medium .aui-search__button-icon{padding:0 var(--aui-inline-padding-xs)}.aui-search--medium.isClearable .aui-search__input,.aui-search--medium.isSearching .aui-search__input{padding-right:var(--aui-inline-padding-xs)}.aui-search--medium.hasIcon .aui-search__input{padding-left:calc(var(--aui-icon-size-m) + var(--aui-inline-padding-xs) * 2 + 1px)}.aui-search--medium.hasButton .aui-search__input{padding-right:calc(var(--aui-icon-size-m) + var(--aui-inline-padding-xs) * 3 + 1px)}.aui-search--medium.hasButton .aui-search__clear{right:calc(var(--aui-icon-size-m) + var(--aui-inline-padding-xs) * 3 + 1px * 2)}.aui-search--medium.hasButton.isClearable .aui-search__input{padding-right:calc(var(--aui-icon-size-m) * 2)}.aui-search--small{font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m)}.aui-search--small aui-icon{font-size:var(--aui-icon-size-m)}.aui-search--small .aui-search__clear,.aui-search--small .aui-search__spinner{right:calc(var(--aui-inline-padding-xs) + 1px)}.aui-search--small .aui-search__icon{left:calc(var(--aui-inline-padding-xs) + 1px)}.aui-search--small .aui-search__button-icon{padding:0 var(--aui-inline-padding-xs)}.aui-search--small.isClearable .aui-search__input,.aui-search--small.isSearching .aui-search__input{padding-right:var(--aui-inline-padding-xs)}.aui-search--small.hasIcon .aui-search__input{padding-left:calc(var(--aui-icon-size-m) + var(--aui-inline-padding-xs) * 2 + 1px)}.aui-search--small.hasButton .aui-search__input{padding-right:calc(var(--aui-icon-size-m) + var(--aui-inline-padding-xs) * 3 + 1px)}.aui-search--small.hasButton .aui-search__clear{right:calc(var(--aui-icon-size-m) + var(--aui-inline-padding-xs) * 3 + 1px * 2)}.aui-search--small.hasButton.isClearable .aui-search__input{padding-right:calc(var(--aui-icon-size-m) * 2)}.aui-search--mini{font-size:var(--aui-font-size-s);line-height:var(--aui-line-height-s)}.aui-search--mini aui-icon{font-size:var(--aui-icon-size-s)}.aui-search--mini .aui-search__clear,.aui-search--mini .aui-search__spinner{right:calc(var(--aui-inline-padding-xs) + 1px)}.aui-search--mini .aui-search__icon{left:calc(var(--aui-inline-padding-xs) + 1px)}.aui-search--mini .aui-search__button-icon{padding:0 var(--aui-inline-padding-xs)}.aui-search--mini.isClearable .aui-search__input,.aui-search--mini.isSearching .aui-search__input{padding-right:var(--aui-inline-padding-xs)}.aui-search--mini.hasIcon .aui-search__input{padding-left:calc(var(--aui-icon-size-s) + var(--aui-inline-padding-xs) * 2 + 1px)}.aui-search--mini.hasButton .aui-search__input{padding-right:calc(var(--aui-icon-size-s) + var(--aui-inline-padding-xs) * 3 + 1px)}.aui-search--mini.hasButton .aui-search__clear{right:calc(var(--aui-icon-size-s) + var(--aui-inline-padding-xs) * 3 + 1px * 2)}.aui-search--mini.hasButton.isClearable .aui-search__input{padding-right:calc(var(--aui-icon-size-s) * 2)}.aui-search__icon{position:absolute;top:50%;transform:translateY(-50%);color:rgb(var(--aui-color-placeholder-text))}.aui-search__button{position:absolute;top:0;right:1px;height:100%;display:flex;align-items:center}.aui-search:not(.isDisabled):not(.isSearching) .aui-search__button{cursor:pointer}.aui-search:not(.isDisabled):not(.isSearching) .aui-search__button:hover{color:rgb(var(--aui-color-primary))}.aui-search__button-icon{border-left:1px solid rgb(var(--aui-color-n-7))}.aui-search__clear,.aui-search__spinner{position:absolute;top:50%;transform:translateY(-50%)}.aui-search__clear .aui-icon{border-radius:50%;color:rgb(var(--aui-color-help-text));cursor:pointer;transition:all .3s ease}.aui-search__clear .aui-icon:hover{color:#fff;background-color:rgb(var(--aui-color-help-text))}\n"], components: [{ type: i1.IconComponent, selector: "aui-icon", inputs: ["icon", "light", "dark", "link", "margin", "size", "color", "background", "backgroundColor"] }, { type: i2.InputComponent, selector: "input[aui-input],textarea[aui-input]", inputs: ["size", "disabled"] }], directives: [{ type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i4.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { type: i4.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { type: i4.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: SearchComponent, decorators: [{
|
|
58
|
+
type: Component,
|
|
59
|
+
args: [{ selector: 'aui-search', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, preserveWhitespaces: false, template: "<div\n [ngClass]=\"bem.block(size)\"\n [class.hasIcon]=\"!searchButton\"\n [class.hasButton]=\"searchButton\"\n [class.isClearable]=\"clearable\"\n [class.isSearching]=\"searching\"\n [class.isDisabled]=\"disabled\"\n>\n <div *ngIf=\"!searchButton\" [class]=\"bem.element('icon')\">\n <aui-icon icon=\"search_s\"></aui-icon>\n </div>\n <input\n aui-input\n autocomplete=\"off\"\n [ngModel]=\"value\"\n (ngModelChange)=\"emitChange($event)\"\n [disabled]=\"disabled\"\n (keyup.enter)=\"emitSearch()\"\n [ngClass]=\"bem.element('input')\"\n [placeholder]=\"placeholder\"\n [size]=\"size\"\n />\n <div *ngIf=\"showSpinner\" [class]=\"bem.element('spinner')\">\n <aui-icon icon=\"spinner\"></aui-icon>\n </div>\n <div\n [hidden]=\"!showClear\"\n [class]=\"bem.element('clear')\"\n (click)=\"emitClear()\"\n >\n <aui-icon icon=\"close_small\"></aui-icon>\n </div>\n <div\n *ngIf=\"searchButton\"\n [class]=\"bem.element('button')\"\n (click)=\"emitSearch()\"\n >\n <div [class]=\"bem.element('button-icon')\">\n <aui-icon [icon]=\"searching ? 'spinner' : 'search_s'\"></aui-icon>\n </div>\n </div>\n</div>\n", styles: ["@charset \"UTF-8\";.aui-search{display:inline-block;width:100%;position:relative;color:rgb(var(--aui-color-n-4))}.aui-search.isDisabled{color:rgb(var(--aui-color-disabled-text));cursor:not-allowed}.aui-search--large{font-size:var(--aui-font-size-l);line-height:var(--aui-line-height-l)}.aui-search--large aui-icon{font-size:var(--aui-icon-size-l)}.aui-search--large .aui-search__clear,.aui-search--large .aui-search__spinner{right:calc(var(--aui-inline-padding-xs) + 1px)}.aui-search--large .aui-search__icon{left:calc(var(--aui-inline-padding-xs) + 1px)}.aui-search--large .aui-search__button-icon{padding:0 var(--aui-inline-padding-xs)}.aui-search--large.isClearable .aui-search__input,.aui-search--large.isSearching .aui-search__input{padding-right:var(--aui-inline-padding-xs)}.aui-search--large.hasIcon .aui-search__input{padding-left:calc(var(--aui-icon-size-l) + var(--aui-inline-padding-xs) * 2 + 1px)}.aui-search--large.hasButton .aui-search__input{padding-right:calc(var(--aui-icon-size-l) + var(--aui-inline-padding-xs) * 3 + 1px)}.aui-search--large.hasButton .aui-search__clear{right:calc(var(--aui-icon-size-l) + var(--aui-inline-padding-xs) * 3 + 1px * 2)}.aui-search--large.hasButton.isClearable .aui-search__input{padding-right:calc(var(--aui-icon-size-l) * 2)}.aui-search--medium{font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m)}.aui-search--medium aui-icon{font-size:var(--aui-icon-size-m)}.aui-search--medium .aui-search__clear,.aui-search--medium .aui-search__spinner{right:calc(var(--aui-inline-padding-xs) + 1px)}.aui-search--medium .aui-search__icon{left:calc(var(--aui-inline-padding-xs) + 1px)}.aui-search--medium .aui-search__button-icon{padding:0 var(--aui-inline-padding-xs)}.aui-search--medium.isClearable .aui-search__input,.aui-search--medium.isSearching .aui-search__input{padding-right:var(--aui-inline-padding-xs)}.aui-search--medium.hasIcon .aui-search__input{padding-left:calc(var(--aui-icon-size-m) + var(--aui-inline-padding-xs) * 2 + 1px)}.aui-search--medium.hasButton .aui-search__input{padding-right:calc(var(--aui-icon-size-m) + var(--aui-inline-padding-xs) * 3 + 1px)}.aui-search--medium.hasButton .aui-search__clear{right:calc(var(--aui-icon-size-m) + var(--aui-inline-padding-xs) * 3 + 1px * 2)}.aui-search--medium.hasButton.isClearable .aui-search__input{padding-right:calc(var(--aui-icon-size-m) * 2)}.aui-search--small{font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m)}.aui-search--small aui-icon{font-size:var(--aui-icon-size-m)}.aui-search--small .aui-search__clear,.aui-search--small .aui-search__spinner{right:calc(var(--aui-inline-padding-xs) + 1px)}.aui-search--small .aui-search__icon{left:calc(var(--aui-inline-padding-xs) + 1px)}.aui-search--small .aui-search__button-icon{padding:0 var(--aui-inline-padding-xs)}.aui-search--small.isClearable .aui-search__input,.aui-search--small.isSearching .aui-search__input{padding-right:var(--aui-inline-padding-xs)}.aui-search--small.hasIcon .aui-search__input{padding-left:calc(var(--aui-icon-size-m) + var(--aui-inline-padding-xs) * 2 + 1px)}.aui-search--small.hasButton .aui-search__input{padding-right:calc(var(--aui-icon-size-m) + var(--aui-inline-padding-xs) * 3 + 1px)}.aui-search--small.hasButton .aui-search__clear{right:calc(var(--aui-icon-size-m) + var(--aui-inline-padding-xs) * 3 + 1px * 2)}.aui-search--small.hasButton.isClearable .aui-search__input{padding-right:calc(var(--aui-icon-size-m) * 2)}.aui-search--mini{font-size:var(--aui-font-size-s);line-height:var(--aui-line-height-s)}.aui-search--mini aui-icon{font-size:var(--aui-icon-size-s)}.aui-search--mini .aui-search__clear,.aui-search--mini .aui-search__spinner{right:calc(var(--aui-inline-padding-xs) + 1px)}.aui-search--mini .aui-search__icon{left:calc(var(--aui-inline-padding-xs) + 1px)}.aui-search--mini .aui-search__button-icon{padding:0 var(--aui-inline-padding-xs)}.aui-search--mini.isClearable .aui-search__input,.aui-search--mini.isSearching .aui-search__input{padding-right:var(--aui-inline-padding-xs)}.aui-search--mini.hasIcon .aui-search__input{padding-left:calc(var(--aui-icon-size-s) + var(--aui-inline-padding-xs) * 2 + 1px)}.aui-search--mini.hasButton .aui-search__input{padding-right:calc(var(--aui-icon-size-s) + var(--aui-inline-padding-xs) * 3 + 1px)}.aui-search--mini.hasButton .aui-search__clear{right:calc(var(--aui-icon-size-s) + var(--aui-inline-padding-xs) * 3 + 1px * 2)}.aui-search--mini.hasButton.isClearable .aui-search__input{padding-right:calc(var(--aui-icon-size-s) * 2)}.aui-search__icon{position:absolute;top:50%;transform:translateY(-50%);color:rgb(var(--aui-color-placeholder-text))}.aui-search__button{position:absolute;top:0;right:1px;height:100%;display:flex;align-items:center}.aui-search:not(.isDisabled):not(.isSearching) .aui-search__button{cursor:pointer}.aui-search:not(.isDisabled):not(.isSearching) .aui-search__button:hover{color:rgb(var(--aui-color-primary))}.aui-search__button-icon{border-left:1px solid rgb(var(--aui-color-n-7))}.aui-search__clear,.aui-search__spinner{position:absolute;top:50%;transform:translateY(-50%)}.aui-search__clear .aui-icon{border-radius:50%;color:rgb(var(--aui-color-help-text));cursor:pointer;transition:all .3s ease}.aui-search__clear .aui-icon:hover{color:#fff;background-color:rgb(var(--aui-color-help-text))}\n"] }]
|
|
60
|
+
}], propDecorators: { size: [{
|
|
61
|
+
type: Input
|
|
62
|
+
}], searchButton: [{
|
|
63
|
+
type: Input
|
|
64
|
+
}], clearable: [{
|
|
65
|
+
type: Input
|
|
66
|
+
}], searching: [{
|
|
67
|
+
type: Input
|
|
68
|
+
}], placeholder: [{
|
|
69
|
+
type: Input
|
|
70
|
+
}], disabled: [{
|
|
71
|
+
type: Input
|
|
72
|
+
}], keyword: [{
|
|
73
|
+
type: Input
|
|
74
|
+
}], keywordChange: [{
|
|
75
|
+
type: Output
|
|
76
|
+
}], search: [{
|
|
77
|
+
type: Output
|
|
78
|
+
}], clear: [{
|
|
79
|
+
type: Output
|
|
80
|
+
}] } });
|
|
81
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnB1dC9zZWFyY2gvc2VhcmNoLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uL3NyYy9pbnB1dC9zZWFyY2gvc2VhcmNoLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFlBQVksRUFDWixLQUFLLEVBQ0wsTUFBTSxFQUNOLGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sYUFBYSxDQUFDO0FBQzVDLE9BQU8sRUFBTyxRQUFRLEVBQUUsTUFBTSxhQUFhLENBQUM7Ozs7OztBQVU1QyxNQUFNLE9BQU8sZUFBZTtJQVI1QjtRQVNFLFFBQUcsR0FBUSxRQUFRLENBQUMsWUFBWSxDQUFDLENBQUM7UUFHb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