@alauda/ui 6.2.3-beta.5 → 6.2.3-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/accordion/accordion-item/accordion-item.component.d.ts +0 -7
- package/accordion/accordion-item/accordion-item.component.ngfactory.d.ts +1 -0
- package/accordion/accordion-item/accordion-item.component.scss.ngstyle.d.ts +1 -0
- package/accordion/accordion.component.d.ts +0 -3
- package/accordion/accordion.component.ngfactory.d.ts +1 -0
- package/accordion/accordion.component.scss.ngstyle.d.ts +1 -0
- package/accordion/accordion.module.d.ts +0 -10
- package/accordion/accordion.module.ngfactory.d.ts +3 -0
- package/alauda-ui.d.ts +20 -1
- package/alauda-ui.metadata.json +1 -0
- package/anchor/anchor.component.d.ts +2 -7
- package/anchor/anchor.component.ngfactory.d.ts +1 -0
- package/anchor/anchor.component.scss.ngstyle.d.ts +1 -0
- package/anchor/anchor.directive.d.ts +0 -7
- package/anchor/anchor.module.d.ts +0 -7
- package/anchor/anchor.module.ngfactory.d.ts +3 -0
- package/autocomplete/autocomplete-placeholder.component.d.ts +0 -3
- package/autocomplete/autocomplete-placeholder.component.ngfactory.d.ts +1 -0
- package/autocomplete/autocomplete.component.d.ts +0 -3
- package/autocomplete/autocomplete.component.ngfactory.d.ts +1 -0
- package/autocomplete/autocomplete.component.scss.ngstyle.d.ts +1 -0
- package/autocomplete/autocomplete.directive.d.ts +0 -5
- package/autocomplete/autocomplete.module.d.ts +0 -13
- package/autocomplete/autocomplete.module.ngfactory.d.ts +3 -0
- package/autocomplete/helper-directives.d.ts +0 -3
- package/autocomplete/suggestion/suggestion.component.d.ts +0 -3
- package/autocomplete/suggestion/suggestion.component.ngfactory.d.ts +1 -0
- package/autocomplete/suggestion/suggestion.component.scss.ngstyle.d.ts +1 -0
- package/autocomplete/suggestion-group/suggestion-group.component.d.ts +0 -3
- package/autocomplete/suggestion-group/suggestion-group.component.ngfactory.d.ts +1 -0
- package/autocomplete/suggestion-group/suggestion-group.component.scss.ngstyle.d.ts +1 -0
- package/back-top/back-top.component.d.ts +0 -3
- package/back-top/back-top.component.ngfactory.d.ts +1 -0
- package/back-top/back-top.component.scss.ngstyle.d.ts +1 -0
- package/back-top/back-top.module.d.ts +0 -7
- package/back-top/back-top.module.ngfactory.d.ts +3 -0
- package/breadcrumb/breadcrumb-item.component.d.ts +0 -3
- package/breadcrumb/breadcrumb-item.component.ngfactory.d.ts +1 -0
- package/breadcrumb/breadcrumb-item.component.scss.ngstyle.d.ts +1 -0
- package/breadcrumb/breadcrumb.component.d.ts +0 -3
- package/breadcrumb/breadcrumb.component.ngfactory.d.ts +1 -0
- package/breadcrumb/breadcrumb.component.scss.ngstyle.d.ts +1 -0
- package/breadcrumb/breadcrumb.module.d.ts +0 -8
- package/breadcrumb/breadcrumb.module.ngfactory.d.ts +3 -0
- package/bundles/alauda-ui.umd.js +12812 -0
- package/bundles/alauda-ui.umd.js.map +1 -0
- package/bundles/alauda-ui.umd.min.js +2 -0
- package/bundles/alauda-ui.umd.min.js.map +1 -0
- package/button/button-group/button-group.component.d.ts +0 -3
- package/button/button-group/button-group.component.ngfactory.d.ts +1 -0
- package/button/button-group/button-group.component.scss.ngstyle.d.ts +1 -0
- package/button/button.component.d.ts +38 -9
- package/button/button.component.ngfactory.d.ts +1 -0
- package/button/button.component.scss.ngstyle.d.ts +1 -0
- package/button/button.module.d.ts +0 -8
- package/button/button.module.ngfactory.d.ts +3 -0
- package/card/card.component.d.ts +0 -3
- package/card/card.component.ngfactory.d.ts +1 -0
- package/card/card.component.scss.ngstyle.d.ts +1 -0
- package/card/card.module.d.ts +0 -8
- package/card/card.module.ngfactory.d.ts +3 -0
- package/card/helper-directives.d.ts +0 -7
- package/card/section.component.d.ts +0 -3
- package/card/section.component.ngfactory.d.ts +1 -0
- package/card/section.component.scss.ngstyle.d.ts +1 -0
- package/checkbox/checkbox-group/checkbox-group.component.d.ts +0 -3
- package/checkbox/checkbox-group/checkbox-group.component.ngfactory.d.ts +1 -0
- package/checkbox/checkbox-group/checkbox-group.component.scss.ngstyle.d.ts +1 -0
- package/checkbox/checkbox.component.d.ts +0 -3
- package/checkbox/checkbox.component.ngfactory.d.ts +1 -0
- package/checkbox/checkbox.component.scss.ngstyle.d.ts +1 -0
- package/checkbox/checkbox.module.d.ts +0 -8
- package/checkbox/checkbox.module.ngfactory.d.ts +3 -0
- package/color-picker/color-picker.component.d.ts +0 -3
- package/color-picker/color-picker.component.ngfactory.d.ts +1 -0
- package/color-picker/color-picker.component.scss.ngstyle.d.ts +1 -0
- package/color-picker/color-picker.module.d.ts +0 -7
- package/color-picker/color-picker.module.ngfactory.d.ts +3 -0
- package/date-picker/calendar/date-picker-panel/component.d.ts +0 -3
- package/date-picker/calendar/date-picker-panel/component.ngfactory.d.ts +1 -0
- package/date-picker/calendar/date-picker-panel/style.scss.ngstyle.d.ts +1 -0
- package/date-picker/calendar/footer/component.d.ts +0 -3
- package/date-picker/calendar/footer/component.ngfactory.d.ts +1 -0
- package/date-picker/calendar/footer/style.scss.ngstyle.d.ts +1 -0
- package/date-picker/calendar/header/component.d.ts +0 -3
- package/date-picker/calendar/header/component.ngfactory.d.ts +1 -0
- package/date-picker/calendar/header/style.scss.ngstyle.d.ts +1 -0
- package/date-picker/calendar/panel/picker-panel.d.ts +0 -3
- package/date-picker/calendar/panel/picker-panel.ngfactory.d.ts +1 -0
- package/date-picker/calendar/panel/picker-panel.style.scss.ngstyle.d.ts +1 -0
- package/date-picker/calendar/range-picker-panel/component.d.ts +0 -3
- package/date-picker/calendar/range-picker-panel/component.ngfactory.d.ts +1 -0
- package/date-picker/calendar/range-picker-panel/style.scss.ngstyle.d.ts +1 -0
- package/date-picker/date-picker/date-picker.component.d.ts +0 -3
- package/date-picker/date-picker/date-picker.component.ngfactory.d.ts +1 -0
- package/date-picker/date-picker/date-picker.style.scss.shim.ngstyle.d.ts +1 -0
- package/date-picker/date-picker.module.d.ts +0 -20
- package/date-picker/date-picker.module.ngfactory.d.ts +3 -0
- package/date-picker/public-api.d.ts +0 -1
- package/date-picker/range-picker/range-picker.component.d.ts +0 -3
- package/date-picker/range-picker/range-picker.component.ngfactory.d.ts +1 -0
- package/date-picker/range-picker/range-picker.style.scss.shim.ngstyle.d.ts +1 -0
- package/date-picker/trigger/trigger.component.d.ts +0 -3
- package/date-picker/trigger/trigger.component.ngfactory.d.ts +1 -0
- package/date-picker/trigger/trigger.style.scss.shim.ngstyle.d.ts +1 -0
- package/dialog/confirm-dialog/confirm-dialog.component.d.ts +0 -3
- package/dialog/confirm-dialog/confirm-dialog.component.ngfactory.d.ts +1 -0
- package/dialog/confirm-dialog/confirm-dialog.component.scss.ngstyle.d.ts +1 -0
- package/dialog/dialog-content/dialog-close.directive.d.ts +0 -3
- package/dialog/dialog-content/dialog-content.component.d.ts +0 -3
- package/dialog/dialog-content/dialog-content.component.ngfactory.d.ts +1 -0
- package/dialog/dialog-content/dialog-footer.component.d.ts +0 -3
- package/dialog/dialog-content/dialog-footer.component.ngfactory.d.ts +1 -0
- package/dialog/dialog-content/dialog-header.component.d.ts +0 -3
- package/dialog/dialog-content/dialog-header.component.ngfactory.d.ts +1 -0
- package/dialog/dialog.component.d.ts +0 -3
- package/dialog/dialog.component.ngfactory.d.ts +1 -0
- package/dialog/dialog.component.scss.ngstyle.d.ts +1 -0
- package/dialog/dialog.module.d.ts +0 -15
- package/dialog/dialog.module.ngfactory.d.ts +3 -0
- package/dialog/dialog.service.d.ts +0 -3
- package/dialog/public-api.d.ts +0 -1
- package/drawer/component/drawer.component.d.ts +2 -5
- package/drawer/component/drawer.component.ngfactory.d.ts +1 -0
- package/drawer/component/drawer.component.scss.ngstyle.d.ts +1 -0
- package/drawer/component/helper-directives.d.ts +4 -7
- package/drawer/drawer.module.d.ts +0 -10
- package/drawer/drawer.module.ngfactory.d.ts +3 -0
- package/drawer/drawer.service.d.ts +0 -3
- package/dropdown/dropdown-active.directive.d.ts +0 -3
- package/dropdown/dropdown-button/dropdown-button.component.d.ts +0 -3
- package/dropdown/dropdown-button/dropdown-button.component.ngfactory.d.ts +1 -0
- package/dropdown/dropdown-button/dropdown-button.component.scss.ngstyle.d.ts +1 -0
- package/dropdown/dropdown.directive.d.ts +0 -3
- package/dropdown/dropdown.module.d.ts +0 -17
- package/dropdown/dropdown.module.ngfactory.d.ts +3 -0
- package/dropdown/helper-directives.d.ts +0 -3
- package/dropdown/menu/menu-content.directive.d.ts +0 -3
- package/dropdown/menu/menu.component.d.ts +0 -3
- package/dropdown/menu/menu.component.ngfactory.d.ts +1 -0
- package/dropdown/menu/menu.component.scss.ngstyle.d.ts +1 -0
- package/dropdown/menu-group/menu-group.component.d.ts +0 -3
- package/dropdown/menu-group/menu-group.component.ngfactory.d.ts +1 -0
- package/dropdown/menu-group/menu-group.component.scss.ngstyle.d.ts +1 -0
- package/dropdown/menu-item/menu-item.component.d.ts +0 -3
- package/dropdown/menu-item/menu-item.component.ngfactory.d.ts +1 -0
- package/dropdown/menu-item/menu-item.component.scss.ngstyle.d.ts +1 -0
- package/dropdown/public-api.d.ts +0 -1
- package/dropdown/submenu/submenu.component.d.ts +0 -3
- package/dropdown/submenu/submenu.component.ngfactory.d.ts +1 -0
- package/dropdown/submenu/submenu.component.scss.ngstyle.d.ts +1 -0
- package/esm2015/accordion/accordion-item/accordion-item.component.js +68 -0
- package/esm2015/accordion/accordion-item/accordion-item.component.ngfactory.js +28 -0
- package/esm2015/accordion/accordion-item/accordion-item.component.ngsummary.json +1 -0
- package/esm2015/accordion/accordion-item/accordion-item.component.scss.ngstyle.js +9 -0
- package/esm2015/accordion/accordion.component.js +28 -0
- package/esm2015/accordion/accordion.component.ngfactory.js +17 -0
- package/esm2015/accordion/accordion.component.ngsummary.json +1 -0
- package/esm2015/accordion/accordion.component.scss.ngstyle.js +9 -0
- package/esm2015/accordion/accordion.module.js +28 -0
- package/esm2015/accordion/accordion.module.ngfactory.js +18 -0
- package/esm2015/accordion/accordion.module.ngsummary.json +1 -0
- package/{esm2020/accordion/public-api.mjs → esm2015/accordion/public-api.js} +0 -0
- package/esm2015/accordion/public-api.ngsummary.json +1 -0
- package/esm2015/alauda-ui.js +25 -0
- package/esm2015/alauda-ui.ngsummary.json +1 -0
- package/esm2015/anchor/anchor.component.js +146 -0
- package/esm2015/anchor/anchor.component.ngfactory.js +40 -0
- package/esm2015/anchor/anchor.component.ngsummary.json +1 -0
- package/esm2015/anchor/anchor.component.scss.ngstyle.js +9 -0
- package/esm2015/anchor/anchor.directive.js +174 -0
- package/esm2015/anchor/anchor.directive.ngsummary.json +1 -0
- package/esm2015/anchor/anchor.module.js +25 -0
- package/esm2015/anchor/anchor.module.ngfactory.js +13 -0
- package/esm2015/anchor/anchor.module.ngsummary.json +1 -0
- package/{esm2020/anchor/public-api.mjs → esm2015/anchor/public-api.js} +0 -0
- package/esm2015/anchor/public-api.ngsummary.json +1 -0
- package/{esm2020/anchor/types.mjs → esm2015/anchor/types.js} +0 -0
- package/esm2015/anchor/types.ngsummary.json +1 -0
- package/{esm2020/anchor/utils.mjs → esm2015/anchor/utils.js} +0 -0
- package/esm2015/anchor/utils.ngsummary.json +1 -0
- package/esm2015/autocomplete/autocomplete-placeholder.component.js +13 -0
- package/esm2015/autocomplete/autocomplete-placeholder.component.ngfactory.js +16 -0
- package/esm2015/autocomplete/autocomplete-placeholder.component.ngsummary.json +1 -0
- package/esm2015/autocomplete/autocomplete.component.js +40 -0
- package/esm2015/autocomplete/autocomplete.component.ngfactory.js +22 -0
- package/esm2015/autocomplete/autocomplete.component.ngsummary.json +1 -0
- package/esm2015/autocomplete/autocomplete.component.scss.ngstyle.js +9 -0
- package/esm2015/autocomplete/autocomplete.directive.js +253 -0
- package/esm2015/autocomplete/autocomplete.directive.ngsummary.json +1 -0
- package/esm2015/autocomplete/autocomplete.module.js +36 -0
- package/esm2015/autocomplete/autocomplete.module.ngfactory.js +20 -0
- package/esm2015/autocomplete/autocomplete.module.ngsummary.json +1 -0
- package/{esm2020/autocomplete/autocomplete.types.mjs → esm2015/autocomplete/autocomplete.types.js} +0 -0
- package/esm2015/autocomplete/autocomplete.types.ngsummary.json +1 -0
- package/esm2015/autocomplete/helper-directives.js +13 -0
- package/esm2015/autocomplete/helper-directives.ngsummary.json +1 -0
- package/{esm2020/autocomplete/public-api.mjs → esm2015/autocomplete/public-api.js} +0 -0
- package/esm2015/autocomplete/public-api.ngsummary.json +1 -0
- package/esm2015/autocomplete/suggestion/suggestion.component.js +79 -0
- package/esm2015/autocomplete/suggestion/suggestion.component.ngfactory.js +22 -0
- package/esm2015/autocomplete/suggestion/suggestion.component.ngsummary.json +1 -0
- package/esm2015/autocomplete/suggestion/suggestion.component.scss.ngstyle.js +9 -0
- package/esm2015/autocomplete/suggestion-group/suggestion-group.component.js +25 -0
- package/esm2015/autocomplete/suggestion-group/suggestion-group.component.ngfactory.js +18 -0
- package/esm2015/autocomplete/suggestion-group/suggestion-group.component.ngsummary.json +1 -0
- package/esm2015/autocomplete/suggestion-group/suggestion-group.component.scss.ngstyle.js +9 -0
- package/esm2015/back-top/back-top.component.js +75 -0
- package/esm2015/back-top/back-top.component.ngfactory.js +25 -0
- package/esm2015/back-top/back-top.component.ngsummary.json +1 -0
- package/esm2015/back-top/back-top.component.scss.ngstyle.js +9 -0
- package/esm2015/back-top/back-top.module.js +14 -0
- package/esm2015/back-top/back-top.module.ngfactory.js +16 -0
- package/esm2015/back-top/back-top.module.ngsummary.json +1 -0
- package/{esm2020/back-top/public-api.mjs → esm2015/back-top/public-api.js} +0 -0
- package/esm2015/back-top/public-api.ngsummary.json +1 -0
- package/esm2015/breadcrumb/breadcrumb-item.component.js +36 -0
- package/esm2015/breadcrumb/breadcrumb-item.component.ngfactory.js +23 -0
- package/esm2015/breadcrumb/breadcrumb-item.component.ngsummary.json +1 -0
- package/esm2015/breadcrumb/breadcrumb-item.component.scss.ngstyle.js +9 -0
- package/esm2015/breadcrumb/breadcrumb.component.js +58 -0
- package/esm2015/breadcrumb/breadcrumb.component.ngfactory.js +17 -0
- package/esm2015/breadcrumb/breadcrumb.component.ngsummary.json +1 -0
- package/esm2015/breadcrumb/breadcrumb.component.scss.ngstyle.js +9 -0
- package/esm2015/breadcrumb/breadcrumb.module.js +15 -0
- package/esm2015/breadcrumb/breadcrumb.module.ngfactory.js +16 -0
- package/esm2015/breadcrumb/breadcrumb.module.ngsummary.json +1 -0
- package/{esm2020/breadcrumb/public-api.mjs → esm2015/breadcrumb/public-api.js} +0 -0
- package/esm2015/breadcrumb/public-api.ngsummary.json +1 -0
- package/esm2015/button/button-group/button-group.component.js +14 -0
- package/esm2015/button/button-group/button-group.component.ngfactory.js +17 -0
- package/esm2015/button/button-group/button-group.component.ngsummary.json +1 -0
- package/esm2015/button/button-group/button-group.component.scss.ngstyle.js +9 -0
- package/esm2015/button/button.component.js +124 -0
- package/esm2015/button/button.component.ngfactory.js +23 -0
- package/esm2015/button/button.component.ngsummary.json +1 -0
- package/esm2015/button/button.component.scss.ngstyle.js +9 -0
- package/esm2015/button/button.module.js +15 -0
- package/esm2015/button/button.module.ngfactory.js +16 -0
- package/esm2015/button/button.module.ngsummary.json +1 -0
- package/{esm2020/button/button.types.mjs → esm2015/button/button.types.js} +0 -0
- package/esm2015/button/button.types.ngsummary.json +1 -0
- package/{esm2020/button/public-api.mjs → esm2015/button/public-api.js} +0 -0
- package/esm2015/button/public-api.ngsummary.json +1 -0
- package/esm2015/card/card.component.js +20 -0
- package/esm2015/card/card.component.ngfactory.js +17 -0
- package/esm2015/card/card.component.ngsummary.json +1 -0
- package/esm2015/card/card.component.scss.ngstyle.js +9 -0
- package/esm2015/card/card.module.js +27 -0
- package/esm2015/card/card.module.ngfactory.js +12 -0
- package/esm2015/card/card.module.ngsummary.json +1 -0
- package/esm2015/card/helper-directives.js +33 -0
- package/esm2015/card/helper-directives.ngsummary.json +1 -0
- package/{esm2020/card/public-api.mjs → esm2015/card/public-api.js} +0 -0
- package/esm2015/card/public-api.ngsummary.json +1 -0
- package/esm2015/card/section.component.js +14 -0
- package/esm2015/card/section.component.ngfactory.js +17 -0
- package/esm2015/card/section.component.ngsummary.json +1 -0
- package/esm2015/card/section.component.scss.ngstyle.js +9 -0
- package/esm2015/checkbox/checkbox-group/checkbox-group.component.js +60 -0
- package/esm2015/checkbox/checkbox-group/checkbox-group.component.ngfactory.js +18 -0
- package/esm2015/checkbox/checkbox-group/checkbox-group.component.ngsummary.json +1 -0
- package/esm2015/checkbox/checkbox-group/checkbox-group.component.scss.ngstyle.js +9 -0
- package/esm2015/checkbox/checkbox.component.js +105 -0
- package/esm2015/checkbox/checkbox.component.ngfactory.js +30 -0
- package/esm2015/checkbox/checkbox.component.ngsummary.json +1 -0
- package/esm2015/checkbox/checkbox.component.scss.ngstyle.js +9 -0
- package/esm2015/checkbox/checkbox.module.js +15 -0
- package/esm2015/checkbox/checkbox.module.ngfactory.js +16 -0
- package/esm2015/checkbox/checkbox.module.ngsummary.json +1 -0
- package/{esm2020/checkbox/public-api.mjs → esm2015/checkbox/public-api.js} +0 -0
- package/esm2015/checkbox/public-api.ngsummary.json +1 -0
- package/esm2015/color-picker/color-picker.component.js +29 -0
- package/esm2015/color-picker/color-picker.component.ngfactory.js +22 -0
- package/esm2015/color-picker/color-picker.component.ngsummary.json +1 -0
- package/esm2015/color-picker/color-picker.component.scss.ngstyle.js +9 -0
- package/esm2015/color-picker/color-picker.module.js +14 -0
- package/esm2015/color-picker/color-picker.module.ngfactory.js +13 -0
- package/esm2015/color-picker/color-picker.module.ngsummary.json +1 -0
- package/{esm2020/color-picker/public-api.mjs → esm2015/color-picker/public-api.js} +0 -0
- package/esm2015/color-picker/public-api.ngsummary.json +1 -0
- package/{esm2020/date-picker/calendar/constant.mjs → esm2015/date-picker/calendar/constant.js} +0 -0
- package/esm2015/date-picker/calendar/constant.ngsummary.json +1 -0
- package/esm2015/date-picker/calendar/date-picker-panel/component.js +106 -0
- package/esm2015/date-picker/calendar/date-picker-panel/component.ngfactory.js +65 -0
- package/esm2015/date-picker/calendar/date-picker-panel/component.ngsummary.json +1 -0
- package/esm2015/date-picker/calendar/date-picker-panel/style.scss.ngstyle.js +9 -0
- package/esm2015/date-picker/calendar/footer/component.js +25 -0
- package/esm2015/date-picker/calendar/footer/component.ngfactory.js +32 -0
- package/esm2015/date-picker/calendar/footer/component.ngsummary.json +1 -0
- package/esm2015/date-picker/calendar/footer/style.scss.ngstyle.js +9 -0
- package/esm2015/date-picker/calendar/header/component.js +100 -0
- package/esm2015/date-picker/calendar/header/component.ngfactory.js +58 -0
- package/esm2015/date-picker/calendar/header/component.ngsummary.json +1 -0
- package/esm2015/date-picker/calendar/header/style.scss.ngstyle.js +9 -0
- package/esm2015/date-picker/calendar/panel/picker-panel.js +144 -0
- package/esm2015/date-picker/calendar/panel/picker-panel.ngfactory.js +34 -0
- package/esm2015/date-picker/calendar/panel/picker-panel.ngsummary.json +1 -0
- package/esm2015/date-picker/calendar/panel/picker-panel.style.scss.ngstyle.js +9 -0
- package/esm2015/date-picker/calendar/range-picker-panel/component.js +193 -0
- package/esm2015/date-picker/calendar/range-picker-panel/component.ngfactory.js +76 -0
- package/esm2015/date-picker/calendar/range-picker-panel/component.ngsummary.json +1 -0
- package/esm2015/date-picker/calendar/range-picker-panel/style.scss.ngstyle.js +9 -0
- package/{esm2020/date-picker/calendar/util.mjs → esm2015/date-picker/calendar/util.js} +0 -0
- package/esm2015/date-picker/calendar/util.ngsummary.json +1 -0
- package/esm2015/date-picker/date-picker/date-picker.component.js +84 -0
- package/esm2015/date-picker/date-picker/date-picker.component.ngfactory.js +49 -0
- package/esm2015/date-picker/date-picker/date-picker.component.ngsummary.json +1 -0
- package/esm2015/date-picker/date-picker/date-picker.style.scss.shim.ngstyle.js +9 -0
- package/esm2015/date-picker/date-picker.module.js +47 -0
- package/esm2015/date-picker/date-picker.module.ngfactory.js +31 -0
- package/esm2015/date-picker/date-picker.module.ngsummary.json +1 -0
- package/{esm2020/date-picker/date-picker.type.mjs → esm2015/date-picker/date-picker.type.js} +0 -0
- package/esm2015/date-picker/date-picker.type.ngsummary.json +1 -0
- package/esm2015/date-picker/public-api.js +11 -0
- package/esm2015/date-picker/public-api.ngsummary.json +1 -0
- package/esm2015/date-picker/range-picker/range-picker.component.js +66 -0
- package/esm2015/date-picker/range-picker/range-picker.component.ngfactory.js +49 -0
- package/esm2015/date-picker/range-picker/range-picker.component.ngsummary.json +1 -0
- package/esm2015/date-picker/range-picker/range-picker.style.scss.shim.ngstyle.js +9 -0
- package/esm2015/date-picker/trigger/trigger.component.js +61 -0
- package/esm2015/date-picker/trigger/trigger.component.ngfactory.js +66 -0
- package/esm2015/date-picker/trigger/trigger.component.ngsummary.json +1 -0
- package/esm2015/date-picker/trigger/trigger.style.scss.shim.ngstyle.js +9 -0
- package/{esm2020/dialog/confirm-dialog/confirm-dialog-config.mjs → esm2015/dialog/confirm-dialog/confirm-dialog-config.js} +0 -0
- package/esm2015/dialog/confirm-dialog/confirm-dialog-config.ngsummary.json +1 -0
- package/esm2015/dialog/confirm-dialog/confirm-dialog.component.js +95 -0
- package/esm2015/dialog/confirm-dialog/confirm-dialog.component.ngfactory.js +32 -0
- package/esm2015/dialog/confirm-dialog/confirm-dialog.component.ngsummary.json +1 -0
- package/esm2015/dialog/confirm-dialog/confirm-dialog.component.scss.ngstyle.js +9 -0
- package/{esm2020/dialog/dialog-config.mjs → esm2015/dialog/dialog-config.js} +0 -0
- package/esm2015/dialog/dialog-config.ngsummary.json +1 -0
- package/esm2015/dialog/dialog-content/dialog-close.directive.js +35 -0
- package/esm2015/dialog/dialog-content/dialog-close.directive.ngsummary.json +1 -0
- package/esm2015/dialog/dialog-content/dialog-content.component.js +27 -0
- package/esm2015/dialog/dialog-content/dialog-content.component.ngfactory.js +18 -0
- package/esm2015/dialog/dialog-content/dialog-content.component.ngsummary.json +1 -0
- package/esm2015/dialog/dialog-content/dialog-footer.component.js +17 -0
- package/esm2015/dialog/dialog-content/dialog-footer.component.ngfactory.js +16 -0
- package/esm2015/dialog/dialog-content/dialog-footer.component.ngsummary.json +1 -0
- package/esm2015/dialog/dialog-content/dialog-header.component.js +41 -0
- package/esm2015/dialog/dialog-content/dialog-header.component.ngfactory.js +26 -0
- package/esm2015/dialog/dialog-content/dialog-header.component.ngsummary.json +1 -0
- package/{esm2020/dialog/dialog-ref.mjs → esm2015/dialog/dialog-ref.js} +0 -0
- package/esm2015/dialog/dialog-ref.ngsummary.json +1 -0
- package/esm2015/dialog/dialog.component.js +64 -0
- package/esm2015/dialog/dialog.component.ngfactory.js +20 -0
- package/esm2015/dialog/dialog.component.ngsummary.json +1 -0
- package/esm2015/dialog/dialog.component.scss.ngstyle.js +9 -0
- package/esm2015/dialog/dialog.module.js +44 -0
- package/esm2015/dialog/dialog.module.ngfactory.js +25 -0
- package/esm2015/dialog/dialog.module.ngsummary.json +1 -0
- package/esm2015/dialog/dialog.service.js +132 -0
- package/esm2015/dialog/dialog.service.ngsummary.json +1 -0
- package/{esm2020/dialog/dialog.types.mjs → esm2015/dialog/dialog.types.js} +0 -0
- package/esm2015/dialog/dialog.types.ngsummary.json +1 -0
- package/esm2015/dialog/public-api.js +11 -0
- package/esm2015/dialog/public-api.ngsummary.json +1 -0
- package/{esm2020/dialog/utils/errors.mjs → esm2015/dialog/utils/errors.js} +0 -0
- package/esm2015/dialog/utils/errors.ngsummary.json +1 -0
- package/esm2015/dialog/utils/index.js +11 -0
- package/esm2015/dialog/utils/index.ngsummary.json +1 -0
- package/{esm2020/drawer/component/drawer-ref.mjs → esm2015/drawer/component/drawer-ref.js} +0 -0
- package/esm2015/drawer/component/drawer-ref.ngsummary.json +1 -0
- package/esm2015/drawer/component/drawer.component.js +210 -0
- package/esm2015/drawer/component/drawer.component.ngfactory.js +42 -0
- package/esm2015/drawer/component/drawer.component.ngsummary.json +1 -0
- package/esm2015/drawer/component/drawer.component.scss.ngstyle.js +9 -0
- package/esm2015/drawer/component/helper-directives.js +27 -0
- package/esm2015/drawer/component/helper-directives.ngsummary.json +1 -0
- package/esm2015/drawer/drawer.module.js +26 -0
- package/esm2015/drawer/drawer.module.ngfactory.js +23 -0
- package/esm2015/drawer/drawer.module.ngsummary.json +1 -0
- package/esm2015/drawer/drawer.service.js +46 -0
- package/esm2015/drawer/drawer.service.ngsummary.json +1 -0
- package/{esm2020/drawer/public-api.mjs → esm2015/drawer/public-api.js} +0 -0
- package/esm2015/drawer/public-api.ngsummary.json +1 -0
- package/esm2015/dropdown/dropdown-active.directive.js +13 -0
- package/esm2015/dropdown/dropdown-active.directive.ngsummary.json +1 -0
- package/esm2015/dropdown/dropdown-button/dropdown-button.component.js +46 -0
- package/esm2015/dropdown/dropdown-button/dropdown-button.component.ngfactory.js +29 -0
- package/esm2015/dropdown/dropdown-button/dropdown-button.component.ngsummary.json +1 -0
- package/esm2015/dropdown/dropdown-button/dropdown-button.component.scss.ngstyle.js +9 -0
- package/esm2015/dropdown/dropdown.directive.js +73 -0
- package/esm2015/dropdown/dropdown.directive.ngsummary.json +1 -0
- package/esm2015/dropdown/dropdown.module.js +44 -0
- package/esm2015/dropdown/dropdown.module.ngfactory.js +25 -0
- package/esm2015/dropdown/dropdown.module.ngsummary.json +1 -0
- package/{esm2020/dropdown/dropdown.types.mjs → esm2015/dropdown/dropdown.types.js} +0 -0
- package/esm2015/dropdown/dropdown.types.ngsummary.json +1 -0
- package/esm2015/dropdown/helper-directives.js +13 -0
- package/esm2015/dropdown/helper-directives.ngsummary.json +1 -0
- package/esm2015/dropdown/menu/menu-content.directive.js +54 -0
- package/esm2015/dropdown/menu/menu-content.directive.ngsummary.json +1 -0
- package/esm2015/dropdown/menu/menu.component.js +32 -0
- package/esm2015/dropdown/menu/menu.component.ngfactory.js +18 -0
- package/esm2015/dropdown/menu/menu.component.ngsummary.json +1 -0
- package/esm2015/dropdown/menu/menu.component.scss.ngstyle.js +9 -0
- package/esm2015/dropdown/menu-group/menu-group.component.js +14 -0
- package/esm2015/dropdown/menu-group/menu-group.component.ngfactory.js +17 -0
- package/esm2015/dropdown/menu-group/menu-group.component.ngsummary.json +1 -0
- package/esm2015/dropdown/menu-group/menu-group.component.scss.ngstyle.js +9 -0
- package/esm2015/dropdown/menu-item/menu-item.component.js +38 -0
- package/esm2015/dropdown/menu-item/menu-item.component.ngfactory.js +17 -0
- package/esm2015/dropdown/menu-item/menu-item.component.ngsummary.json +1 -0
- package/esm2015/dropdown/menu-item/menu-item.component.scss.ngstyle.js +9 -0
- package/esm2015/dropdown/public-api.js +11 -0
- package/esm2015/dropdown/public-api.ngsummary.json +1 -0
- package/esm2015/dropdown/submenu/submenu.component.js +37 -0
- package/esm2015/dropdown/submenu/submenu.component.ngfactory.js +29 -0
- package/esm2015/dropdown/submenu/submenu.component.ngsummary.json +1 -0
- package/esm2015/dropdown/submenu/submenu.component.scss.ngstyle.js +9 -0
- package/esm2015/form/common-form.js +89 -0
- package/esm2015/form/common-form.ngsummary.json +1 -0
- package/esm2015/form/form-item/form-item.component.js +93 -0
- package/esm2015/form/form-item/form-item.component.ngfactory.js +23 -0
- package/esm2015/form/form-item/form-item.component.ngsummary.json +1 -0
- package/esm2015/form/form-item/form-item.component.scss.ngstyle.js +9 -0
- package/esm2015/form/form.directive.js +58 -0
- package/esm2015/form/form.directive.ngsummary.json +1 -0
- package/esm2015/form/form.module.js +31 -0
- package/esm2015/form/form.module.ngfactory.js +12 -0
- package/esm2015/form/form.module.ngsummary.json +1 -0
- package/{esm2020/form/form.types.mjs → esm2015/form/form.types.js} +0 -0
- package/esm2015/form/form.types.ngsummary.json +1 -0
- package/esm2015/form/helper-directives.js +66 -0
- package/esm2015/form/helper-directives.ngsummary.json +1 -0
- package/{esm2020/form/public-api.mjs → esm2015/form/public-api.js} +0 -0
- package/esm2015/form/public-api.ngsummary.json +1 -0
- package/esm2015/i18n/i18n.module.js +11 -0
- package/esm2015/i18n/i18n.module.ngfactory.js +11 -0
- package/esm2015/i18n/i18n.module.ngsummary.json +1 -0
- package/esm2015/i18n/i18n.pipe.js +19 -0
- package/esm2015/i18n/i18n.pipe.ngsummary.json +1 -0
- package/esm2015/i18n/i18n.service.js +43 -0
- package/esm2015/i18n/i18n.service.ngsummary.json +1 -0
- package/esm2015/i18n/i18n.type.js +6 -0
- package/esm2015/i18n/i18n.type.ngsummary.json +1 -0
- package/{esm2020/i18n/language/en.mjs → esm2015/i18n/language/en.js} +0 -0
- package/esm2015/i18n/language/en.ngsummary.json +1 -0
- package/{esm2020/i18n/language/zh.mjs → esm2015/i18n/language/zh.js} +0 -0
- package/esm2015/i18n/language/zh.ngsummary.json +1 -0
- package/{esm2020/i18n/public-api.mjs → esm2015/i18n/public-api.js} +0 -0
- package/esm2015/i18n/public-api.ngsummary.json +1 -0
- package/esm2015/icon/icon-register.service.js +63 -0
- package/esm2015/icon/icon-register.service.ngsummary.json +1 -0
- package/esm2015/icon/icon.component.js +62 -0
- package/esm2015/icon/icon.component.ngfactory.js +25 -0
- package/esm2015/icon/icon.component.ngsummary.json +1 -0
- package/esm2015/icon/icon.component.scss.ngstyle.js +9 -0
- package/esm2015/icon/icon.module.js +16 -0
- package/esm2015/icon/icon.module.ngfactory.js +15 -0
- package/esm2015/icon/icon.module.ngsummary.json +1 -0
- package/{esm2020/icon/icons.mjs → esm2015/icon/icons.js} +0 -0
- package/esm2015/icon/icons.ngsummary.json +1 -0
- package/{esm2020/icon/public-api.mjs → esm2015/icon/public-api.js} +0 -0
- package/esm2015/icon/public-api.ngsummary.json +1 -0
- package/{esm2020/icon/utils.mjs → esm2015/icon/utils.js} +0 -0
- package/esm2015/icon/utils.ngsummary.json +1 -0
- package/esm2015/inline-alert/helper-directives.js +10 -0
- package/esm2015/inline-alert/helper-directives.ngsummary.json +1 -0
- package/esm2015/inline-alert/inline-alert.component.js +51 -0
- package/esm2015/inline-alert/inline-alert.component.ngfactory.js +29 -0
- package/esm2015/inline-alert/inline-alert.component.ngsummary.json +1 -0
- package/esm2015/inline-alert/inline-alert.component.scss.ngstyle.js +9 -0
- package/esm2015/inline-alert/inline-alert.module.js +15 -0
- package/esm2015/inline-alert/inline-alert.module.ngfactory.js +16 -0
- package/esm2015/inline-alert/inline-alert.module.ngsummary.json +1 -0
- package/{esm2020/inline-alert/inline-alert.types.mjs → esm2015/inline-alert/inline-alert.types.js} +0 -0
- package/esm2015/inline-alert/inline-alert.types.ngsummary.json +1 -0
- package/{esm2020/inline-alert/public-api.mjs → esm2015/inline-alert/public-api.js} +0 -0
- package/esm2015/inline-alert/public-api.ngsummary.json +1 -0
- package/esm2015/input/autosize.directive.js +61 -0
- package/esm2015/input/autosize.directive.ngsummary.json +1 -0
- package/esm2015/input/helper-directives.js +30 -0
- package/esm2015/input/helper-directives.ngsummary.json +1 -0
- package/esm2015/input/input-group/input-group.component.js +33 -0
- package/esm2015/input/input-group/input-group.component.ngfactory.js +22 -0
- package/esm2015/input/input-group/input-group.component.ngsummary.json +1 -0
- package/esm2015/input/input-group/input-group.component.scss.ngstyle.js +9 -0
- package/esm2015/input/input.component.js +69 -0
- package/esm2015/input/input.component.ngfactory.js +17 -0
- package/esm2015/input/input.component.ngsummary.json +1 -0
- package/esm2015/input/input.component.scss.ngstyle.js +9 -0
- package/esm2015/input/input.module.js +54 -0
- package/esm2015/input/input.module.ngfactory.js +20 -0
- package/esm2015/input/input.module.ngsummary.json +1 -0
- package/esm2015/input/number-input/number-input.component.js +83 -0
- package/esm2015/input/number-input/number-input.component.ngfactory.js +51 -0
- package/esm2015/input/number-input/number-input.component.ngsummary.json +1 -0
- package/esm2015/input/number-input/number-input.component.scss.ngstyle.js +9 -0
- package/esm2015/input/public-api.js +7 -0
- package/esm2015/input/public-api.ngsummary.json +1 -0
- package/esm2015/input/search/search.component.js +72 -0
- package/esm2015/input/search/search.component.ngfactory.js +51 -0
- package/esm2015/input/search/search.component.ngsummary.json +1 -0
- package/esm2015/input/search/search.component.scss.ngstyle.js +9 -0
- package/esm2015/input/tags-input/tags-input.component.js +252 -0
- package/esm2015/input/tags-input/tags-input.component.ngfactory.js +45 -0
- package/esm2015/input/tags-input/tags-input.component.ngsummary.json +1 -0
- package/esm2015/input/tags-input/tags-input.component.scss.ngstyle.js +9 -0
- package/{esm2020/input/tags-input/with-max-row-count.mjs → esm2015/input/tags-input/with-max-row-count.js} +0 -0
- package/esm2015/input/tags-input/with-max-row-count.ngsummary.json +1 -0
- package/{esm2020/input/utils/index.mjs → esm2015/input/utils/index.js} +0 -0
- package/esm2015/input/utils/index.ngsummary.json +1 -0
- package/esm2015/message/base-message.js +87 -0
- package/esm2015/message/base-message.ngsummary.json +1 -0
- package/{esm2020/message/message-animations.mjs → esm2015/message/message-animations.js} +0 -0
- package/esm2015/message/message-animations.ngsummary.json +1 -0
- package/esm2015/message/message-wrapper.component.js +20 -0
- package/esm2015/message/message-wrapper.component.ngfactory.js +17 -0
- package/esm2015/message/message-wrapper.component.ngsummary.json +1 -0
- package/esm2015/message/message-wrapper.component.scss.ngstyle.js +9 -0
- package/esm2015/message/message.component.js +77 -0
- package/esm2015/message/message.component.ngfactory.js +23 -0
- package/esm2015/message/message.component.ngsummary.json +1 -0
- package/esm2015/message/message.component.scss.ngstyle.js +9 -0
- package/{esm2020/message/message.config.mjs → esm2015/message/message.config.js} +0 -0
- package/esm2015/message/message.config.ngsummary.json +1 -0
- package/esm2015/message/message.module.js +18 -0
- package/esm2015/message/message.module.ngfactory.js +25 -0
- package/esm2015/message/message.module.ngsummary.json +1 -0
- package/esm2015/message/message.service.js +22 -0
- package/esm2015/message/message.service.ngsummary.json +1 -0
- package/{esm2020/message/public-api.mjs → esm2015/message/public-api.js} +0 -0
- package/esm2015/message/public-api.ngsummary.json +1 -0
- package/esm2015/notification/notification-wrapper.component.js +22 -0
- package/esm2015/notification/notification-wrapper.component.ngfactory.js +17 -0
- package/esm2015/notification/notification-wrapper.component.ngsummary.json +1 -0
- package/esm2015/notification/notification-wrapper.component.scss.ngstyle.js +9 -0
- package/esm2015/notification/notification.component.js +106 -0
- package/esm2015/notification/notification.component.ngfactory.js +42 -0
- package/esm2015/notification/notification.component.ngsummary.json +1 -0
- package/esm2015/notification/notification.component.scss.ngstyle.js +9 -0
- package/{esm2020/notification/notification.config.mjs → esm2015/notification/notification.config.js} +0 -0
- package/esm2015/notification/notification.config.ngsummary.json +1 -0
- package/esm2015/notification/notification.module.js +19 -0
- package/esm2015/notification/notification.module.ngfactory.js +25 -0
- package/esm2015/notification/notification.module.ngsummary.json +1 -0
- package/esm2015/notification/notification.service.js +22 -0
- package/esm2015/notification/notification.service.ngsummary.json +1 -0
- package/{esm2020/notification/public-api.mjs → esm2015/notification/public-api.js} +0 -0
- package/esm2015/notification/public-api.ngsummary.json +1 -0
- package/esm2015/paginator/paginator-intl.js +33 -0
- package/esm2015/paginator/paginator-intl.ngsummary.json +1 -0
- package/esm2015/paginator/paginator.component.js +118 -0
- package/esm2015/paginator/paginator.component.ngfactory.js +73 -0
- package/esm2015/paginator/paginator.component.ngsummary.json +1 -0
- package/esm2015/paginator/paginator.component.scss.ngstyle.js +9 -0
- package/esm2015/paginator/paginator.module.js +19 -0
- package/esm2015/paginator/paginator.module.ngfactory.js +32 -0
- package/esm2015/paginator/paginator.module.ngsummary.json +1 -0
- package/{esm2020/paginator/public-api.mjs → esm2015/paginator/public-api.js} +0 -0
- package/esm2015/paginator/public-api.ngsummary.json +1 -0
- package/{esm2020/public-api.mjs → esm2015/public-api.js} +0 -0
- package/esm2015/public-api.ngsummary.json +1 -0
- package/esm2015/radio/base-radio.js +69 -0
- package/esm2015/radio/base-radio.ngsummary.json +1 -0
- package/{esm2020/radio/public-api.mjs → esm2015/radio/public-api.js} +0 -0
- package/esm2015/radio/public-api.ngsummary.json +1 -0
- package/esm2015/radio/radio-button/radio-button.component.js +48 -0
- package/esm2015/radio/radio-button/radio-button.component.ngfactory.js +30 -0
- package/esm2015/radio/radio-button/radio-button.component.ngsummary.json +1 -0
- package/esm2015/radio/radio-button/radio-button.component.scss.ngstyle.js +9 -0
- package/esm2015/radio/radio-group/radio-group.component.js +75 -0
- package/esm2015/radio/radio-group/radio-group.component.ngfactory.js +18 -0
- package/esm2015/radio/radio-group/radio-group.component.ngsummary.json +1 -0
- package/esm2015/radio/radio-group/radio-group.component.scss.ngstyle.js +9 -0
- package/esm2015/radio/radio.component.js +31 -0
- package/esm2015/radio/radio.component.ngfactory.js +26 -0
- package/esm2015/radio/radio.component.ngsummary.json +1 -0
- package/esm2015/radio/radio.component.scss.ngstyle.js +9 -0
- package/esm2015/radio/radio.module.js +16 -0
- package/esm2015/radio/radio.module.ngfactory.js +16 -0
- package/esm2015/radio/radio.module.ngsummary.json +1 -0
- package/{esm2020/radio/radio.types.mjs → esm2015/radio/radio.types.js} +0 -0
- package/esm2015/radio/radio.types.ngsummary.json +1 -0
- package/esm2015/scrolling/fixed-size-table-virtual-scroll-strategy.js +81 -0
- package/esm2015/scrolling/fixed-size-table-virtual-scroll-strategy.ngsummary.json +1 -0
- package/esm2015/scrolling/fixed-size-table-virtual-scroll.directive.js +108 -0
- package/esm2015/scrolling/fixed-size-table-virtual-scroll.directive.ngsummary.json +1 -0
- package/esm2015/scrolling/fixed-size-virtual-scroll.directive.js +20 -0
- package/esm2015/scrolling/fixed-size-virtual-scroll.directive.ngsummary.json +1 -0
- package/esm2015/scrolling/public-api.js +6 -0
- package/esm2015/scrolling/public-api.ngsummary.json +1 -0
- package/esm2015/scrolling/scrolling.module.js +21 -0
- package/esm2015/scrolling/scrolling.module.ngfactory.js +11 -0
- package/esm2015/scrolling/scrolling.module.ngsummary.json +1 -0
- package/esm2015/scrolling/virtual-for-of.directive.js +30 -0
- package/esm2015/scrolling/virtual-for-of.directive.ngsummary.json +1 -0
- package/esm2015/scrolling/virtual-scroll-viewport.component.js +26 -0
- package/esm2015/scrolling/virtual-scroll-viewport.component.ngfactory.js +19 -0
- package/esm2015/scrolling/virtual-scroll-viewport.component.ngsummary.json +1 -0
- package/esm2015/scrolling/virtual-scroll-viewport.component.scss.ngstyle.js +9 -0
- package/esm2015/select/base-select.js +311 -0
- package/esm2015/select/base-select.ngsummary.json +1 -0
- package/esm2015/select/helper-directives.js +22 -0
- package/esm2015/select/helper-directives.ngsummary.json +1 -0
- package/esm2015/select/multi-select/multi-select.component.js +276 -0
- package/esm2015/select/multi-select/multi-select.component.ngfactory.js +76 -0
- package/esm2015/select/multi-select/multi-select.component.ngsummary.json +1 -0
- package/esm2015/select/multi-select/multi-select.component.scss.ngstyle.js +9 -0
- package/esm2015/select/option/option.component.js +107 -0
- package/esm2015/select/option/option.component.ngfactory.js +26 -0
- package/esm2015/select/option/option.component.ngsummary.json +1 -0
- package/esm2015/select/option/option.component.scss.ngstyle.js +9 -0
- package/esm2015/select/option-group/option-group.component.js +25 -0
- package/esm2015/select/option-group/option-group.component.ngfactory.js +18 -0
- package/esm2015/select/option-group/option-group.component.ngsummary.json +1 -0
- package/esm2015/select/option-group/option-group.component.scss.ngstyle.js +9 -0
- package/esm2015/select/option-placeholder.component.js +13 -0
- package/esm2015/select/option-placeholder.component.ngfactory.js +16 -0
- package/esm2015/select/option-placeholder.component.ngsummary.json +1 -0
- package/{esm2020/select/public-api.mjs → esm2015/select/public-api.js} +0 -0
- package/esm2015/select/public-api.ngsummary.json +1 -0
- package/esm2015/select/select.component.js +95 -0
- package/esm2015/select/select.component.ngfactory.js +63 -0
- package/esm2015/select/select.component.ngsummary.json +1 -0
- package/esm2015/select/select.component.scss.ngstyle.js +9 -0
- package/esm2015/select/select.module.js +49 -0
- package/esm2015/select/select.module.ngfactory.js +30 -0
- package/esm2015/select/select.module.ngsummary.json +1 -0
- package/{esm2020/select/select.types.mjs → esm2015/select/select.types.js} +0 -0
- package/esm2015/select/select.types.ngsummary.json +1 -0
- package/esm2015/select/validators.js +72 -0
- package/esm2015/select/validators.ngsummary.json +1 -0
- package/esm2015/shared/click-outside.directive.js +26 -0
- package/esm2015/shared/click-outside.directive.ngsummary.json +1 -0
- package/esm2015/shared/shared.module.js +11 -0
- package/esm2015/shared/shared.module.ngfactory.js +11 -0
- package/esm2015/shared/shared.module.ngsummary.json +1 -0
- package/{esm2020/sort/public-api.mjs → esm2015/sort/public-api.js} +0 -0
- package/esm2015/sort/public-api.ngsummary.json +1 -0
- package/{esm2020/sort/sort-errors.mjs → esm2015/sort/sort-errors.js} +0 -0
- package/esm2015/sort/sort-errors.ngsummary.json +1 -0
- package/esm2015/sort/sort-header.component.js +76 -0
- package/esm2015/sort/sort-header.component.ngfactory.js +22 -0
- package/esm2015/sort/sort-header.component.ngsummary.json +1 -0
- package/esm2015/sort/sort-header.component.scss.ngstyle.js +9 -0
- package/esm2015/sort/sort.directive.js +69 -0
- package/esm2015/sort/sort.directive.ngsummary.json +1 -0
- package/esm2015/sort/sort.module.js +14 -0
- package/esm2015/sort/sort.module.ngfactory.js +12 -0
- package/esm2015/sort/sort.module.ngsummary.json +1 -0
- package/{esm2020/sort/sort.types.mjs → esm2015/sort/sort.types.js} +0 -0
- package/esm2015/sort/sort.types.ngsummary.json +1 -0
- package/{esm2020/status-bar/public-api.mjs → esm2015/status-bar/public-api.js} +0 -0
- package/esm2015/status-bar/public-api.ngsummary.json +1 -0
- package/esm2015/status-bar/status-bar.component.js +28 -0
- package/esm2015/status-bar/status-bar.component.ngfactory.js +26 -0
- package/esm2015/status-bar/status-bar.component.ngsummary.json +1 -0
- package/esm2015/status-bar/status-bar.component.scss.ngstyle.js +9 -0
- package/esm2015/status-bar/status-bar.module.js +14 -0
- package/esm2015/status-bar/status-bar.module.ngfactory.js +20 -0
- package/esm2015/status-bar/status-bar.module.ngsummary.json +1 -0
- package/{esm2020/status-bar/status-bar.types.mjs → esm2015/status-bar/status-bar.types.js} +0 -0
- package/esm2015/status-bar/status-bar.types.ngsummary.json +1 -0
- package/{esm2020/steps/public-api.mjs → esm2015/steps/public-api.js} +0 -0
- package/esm2015/steps/public-api.ngsummary.json +1 -0
- package/esm2015/steps/steps.component.js +179 -0
- package/esm2015/steps/steps.component.ngfactory.js +34 -0
- package/esm2015/steps/steps.component.ngsummary.json +1 -0
- package/esm2015/steps/steps.component.scss.ngstyle.js +9 -0
- package/esm2015/steps/steps.module.js +14 -0
- package/esm2015/steps/steps.module.ngfactory.js +16 -0
- package/esm2015/steps/steps.module.ngsummary.json +1 -0
- package/{esm2020/steps/types.mjs → esm2015/steps/types.js} +0 -0
- package/esm2015/steps/types.ngsummary.json +1 -0
- package/{esm2020/switch/public-api.mjs → esm2015/switch/public-api.js} +0 -0
- package/esm2015/switch/public-api.ngsummary.json +1 -0
- package/esm2015/switch/switch.component.js +47 -0
- package/esm2015/switch/switch.component.ngfactory.js +25 -0
- package/esm2015/switch/switch.component.ngsummary.json +1 -0
- package/esm2015/switch/switch.component.scss.ngstyle.js +9 -0
- package/esm2015/switch/switch.module.js +13 -0
- package/esm2015/switch/switch.module.ngfactory.js +12 -0
- package/esm2015/switch/switch.module.ngsummary.json +1 -0
- package/esm2015/table/public-api.js +13 -0
- package/esm2015/table/public-api.ngsummary.json +1 -0
- package/esm2015/table/table-cell-def.directive.js +20 -0
- package/esm2015/table/table-cell-def.directive.ngsummary.json +1 -0
- package/esm2015/table/table-cell.component.js +82 -0
- package/esm2015/table/table-cell.component.ngfactory.js +32 -0
- package/esm2015/table/table-cell.component.ngsummary.json +1 -0
- package/esm2015/table/table-cell.directive.js +26 -0
- package/esm2015/table/table-cell.directive.ngsummary.json +1 -0
- package/esm2015/table/table-column-def.directive.js +29 -0
- package/esm2015/table/table-column-def.directive.ngsummary.json +1 -0
- package/esm2015/table/table-header-cell-def.directive.js +20 -0
- package/esm2015/table/table-header-cell-def.directive.ngsummary.json +1 -0
- package/esm2015/table/table-header-cell.directive.js +26 -0
- package/esm2015/table/table-header-cell.directive.ngsummary.json +1 -0
- package/esm2015/table/table-header-row-def.directive.js +24 -0
- package/esm2015/table/table-header-row-def.directive.ngsummary.json +1 -0
- package/esm2015/table/table-header-row.component.js +20 -0
- package/esm2015/table/table-header-row.component.ngfactory.js +17 -0
- package/esm2015/table/table-header-row.component.ngsummary.json +1 -0
- package/esm2015/table/table-placeholder.directive.js +30 -0
- package/esm2015/table/table-placeholder.directive.ngsummary.json +1 -0
- package/esm2015/table/table-row-def.directive.js +25 -0
- package/esm2015/table/table-row-def.directive.ngsummary.json +1 -0
- package/esm2015/table/table-row.component.js +37 -0
- package/esm2015/table/table-row.component.ngfactory.js +17 -0
- package/esm2015/table/table-row.component.ngsummary.json +1 -0
- package/esm2015/table/table-scroll.directive.js +84 -0
- package/esm2015/table/table-scroll.directive.ngsummary.json +1 -0
- package/esm2015/table/table-scroll.scss.ngstyle.js +9 -0
- package/esm2015/table/table.component.js +69 -0
- package/esm2015/table/table.component.ngfactory.js +25 -0
- package/esm2015/table/table.component.ngsummary.json +1 -0
- package/esm2015/table/table.component.scss.ngstyle.js +9 -0
- package/esm2015/table/table.module.js +61 -0
- package/esm2015/table/table.module.ngfactory.js +20 -0
- package/esm2015/table/table.module.ngsummary.json +1 -0
- package/{esm2020/table-of-contents/public-api.mjs → esm2015/table-of-contents/public-api.js} +0 -0
- package/esm2015/table-of-contents/public-api.ngsummary.json +1 -0
- package/esm2015/table-of-contents/table-of-contents.module.js +15 -0
- package/esm2015/table-of-contents/table-of-contents.module.ngfactory.js +12 -0
- package/esm2015/table-of-contents/table-of-contents.module.ngsummary.json +1 -0
- package/esm2015/table-of-contents/toc-container.directive.js +109 -0
- package/esm2015/table-of-contents/toc-container.directive.ngsummary.json +1 -0
- package/esm2015/table-of-contents/toc-content.directive.js +32 -0
- package/esm2015/table-of-contents/toc-content.directive.ngsummary.json +1 -0
- package/esm2015/table-of-contents/toc-link.directive.js +43 -0
- package/esm2015/table-of-contents/toc-link.directive.ngsummary.json +1 -0
- package/esm2015/tabs/public-api.js +10 -0
- package/esm2015/tabs/public-api.ngsummary.json +1 -0
- package/esm2015/tabs/tab-body.component.js +35 -0
- package/esm2015/tabs/tab-body.component.ngfactory.js +18 -0
- package/esm2015/tabs/tab-body.component.ngsummary.json +1 -0
- package/esm2015/tabs/tab-context.service.js +28 -0
- package/esm2015/tabs/tab-context.service.ngsummary.json +1 -0
- package/esm2015/tabs/tab-directives.js +142 -0
- package/esm2015/tabs/tab-directives.ngsummary.json +1 -0
- package/esm2015/tabs/tab-group.component.js +277 -0
- package/esm2015/tabs/tab-group.component.ngfactory.js +56 -0
- package/esm2015/tabs/tab-group.component.ngsummary.json +1 -0
- package/esm2015/tabs/tab-group.component.scss.ngstyle.js +9 -0
- package/esm2015/tabs/tab-header-active-indicator.component.js +59 -0
- package/esm2015/tabs/tab-header-active-indicator.component.ngfactory.js +17 -0
- package/esm2015/tabs/tab-header-active-indicator.component.ngsummary.json +1 -0
- package/esm2015/tabs/tab-header.component.js +348 -0
- package/esm2015/tabs/tab-header.component.ngfactory.js +44 -0
- package/esm2015/tabs/tab-header.component.ngsummary.json +1 -0
- package/esm2015/tabs/tab-header.component.scss.ngstyle.js +9 -0
- package/esm2015/tabs/tab.component.js +82 -0
- package/esm2015/tabs/tab.component.ngfactory.js +18 -0
- package/esm2015/tabs/tab.component.ngsummary.json +1 -0
- package/esm2015/tabs/tabs.module.js +53 -0
- package/esm2015/tabs/tabs.module.ngfactory.js +22 -0
- package/esm2015/tabs/tabs.module.ngsummary.json +1 -0
- package/{esm2020/tabs/tabs.types.mjs → esm2015/tabs/tabs.types.js} +0 -0
- package/esm2015/tabs/tabs.types.ngsummary.json +1 -0
- package/esm2015/tag/check-tag/check-tag.component.js +34 -0
- package/esm2015/tag/check-tag/check-tag.component.ngfactory.js +27 -0
- package/esm2015/tag/check-tag/check-tag.component.ngsummary.json +1 -0
- package/esm2015/tag/check-tag/check-tag.component.scss.ngstyle.js +9 -0
- package/{esm2020/tag/public-api.mjs → esm2015/tag/public-api.js} +0 -0
- package/esm2015/tag/public-api.ngsummary.json +1 -0
- package/esm2015/tag/tag.component.js +57 -0
- package/esm2015/tag/tag.component.ngfactory.js +26 -0
- package/esm2015/tag/tag.component.ngsummary.json +1 -0
- package/esm2015/tag/tag.component.scss.ngstyle.js +9 -0
- package/esm2015/tag/tag.module.js +15 -0
- package/esm2015/tag/tag.module.ngfactory.js +16 -0
- package/esm2015/tag/tag.module.ngsummary.json +1 -0
- package/{esm2020/tag/tag.types.mjs → esm2015/tag/tag.types.js} +0 -0
- package/esm2015/tag/tag.types.ngsummary.json +1 -0
- package/{esm2020/theme/public-api.mjs → esm2015/theme/public-api.js} +0 -0
- package/esm2015/theme/public-api.ngsummary.json +1 -0
- package/esm2015/theme/theme.module.js +13 -0
- package/esm2015/theme/theme.module.ngfactory.js +12 -0
- package/esm2015/theme/theme.module.ngsummary.json +1 -0
- package/esm2015/theme/theme.pipe.js +61 -0
- package/esm2015/theme/theme.pipe.ngsummary.json +1 -0
- package/esm2015/theme/theme.service.js +52 -0
- package/esm2015/theme/theme.service.ngsummary.json +1 -0
- package/{esm2020/theme/theme.types.mjs → esm2015/theme/theme.types.js} +0 -0
- package/esm2015/theme/theme.types.ngsummary.json +1 -0
- package/{esm2020/theme/utils.mjs → esm2015/theme/utils.js} +0 -0
- package/esm2015/theme/utils.ngsummary.json +1 -0
- package/esm2015/time-picker/component.js +149 -0
- package/esm2015/time-picker/component.ngfactory.js +82 -0
- package/esm2015/time-picker/component.ngsummary.json +1 -0
- package/esm2015/time-picker/constant.js +9 -0
- package/esm2015/time-picker/constant.ngsummary.json +1 -0
- package/esm2015/time-picker/panel/panel.component.js +211 -0
- package/esm2015/time-picker/panel/panel.component.ngfactory.js +49 -0
- package/esm2015/time-picker/panel/panel.component.ngsummary.json +1 -0
- package/esm2015/time-picker/panel/panel.style.scss.ngstyle.js +9 -0
- package/{esm2020/time-picker/public-api.mjs → esm2015/time-picker/public-api.js} +0 -0
- package/esm2015/time-picker/public-api.ngsummary.json +1 -0
- package/esm2015/time-picker/style.scss.ngstyle.js +9 -0
- package/esm2015/time-picker/time-picker.module.js +33 -0
- package/esm2015/time-picker/time-picker.module.ngfactory.js +30 -0
- package/esm2015/time-picker/time-picker.module.ngsummary.json +1 -0
- package/esm2015/time-picker/time-picker.type.js +13 -0
- package/esm2015/time-picker/time-picker.type.ngsummary.json +1 -0
- package/esm2015/tooltip/base-tooltip.js +255 -0
- package/esm2015/tooltip/base-tooltip.ngsummary.json +1 -0
- package/esm2015/tooltip/public-api.js +8 -0
- package/esm2015/tooltip/public-api.ngsummary.json +1 -0
- package/esm2015/tooltip/tooltip-active.directive.js +44 -0
- package/esm2015/tooltip/tooltip-active.directive.ngsummary.json +1 -0
- package/esm2015/tooltip/tooltip-copy.directive.js +80 -0
- package/esm2015/tooltip/tooltip-copy.directive.ngsummary.json +1 -0
- package/esm2015/tooltip/tooltip-intl.js +25 -0
- package/esm2015/tooltip/tooltip-intl.ngsummary.json +1 -0
- package/esm2015/tooltip/tooltip.component.js +55 -0
- package/esm2015/tooltip/tooltip.component.ngfactory.js +25 -0
- package/esm2015/tooltip/tooltip.component.ngsummary.json +1 -0
- package/esm2015/tooltip/tooltip.component.scss.ngstyle.js +9 -0
- package/esm2015/tooltip/tooltip.directive.js +45 -0
- package/esm2015/tooltip/tooltip.directive.ngsummary.json +1 -0
- package/esm2015/tooltip/tooltip.module.js +25 -0
- package/esm2015/tooltip/tooltip.module.ngfactory.js +19 -0
- package/esm2015/tooltip/tooltip.module.ngsummary.json +1 -0
- package/{esm2020/tooltip/tooltip.types.mjs → esm2015/tooltip/tooltip.types.js} +0 -0
- package/esm2015/tooltip/tooltip.types.ngsummary.json +1 -0
- package/{esm2020/tooltip/utils/index.mjs → esm2015/tooltip/utils/index.js} +0 -0
- package/esm2015/tooltip/utils/index.ngsummary.json +1 -0
- package/esm2015/tree-select/public-api.js +6 -0
- package/esm2015/tree-select/public-api.ngsummary.json +1 -0
- package/esm2015/tree-select/tree-node/tree-node.component.js +127 -0
- package/esm2015/tree-select/tree-node/tree-node.component.ngfactory.js +32 -0
- package/esm2015/tree-select/tree-node/tree-node.component.ngsummary.json +1 -0
- package/esm2015/tree-select/tree-node/tree-node.component.scss.ngstyle.js +9 -0
- package/esm2015/tree-select/tree-node-placeholder.component.js +13 -0
- package/esm2015/tree-select/tree-node-placeholder.component.ngfactory.js +16 -0
- package/esm2015/tree-select/tree-node-placeholder.component.ngsummary.json +1 -0
- package/esm2015/tree-select/tree-select.component.js +204 -0
- package/esm2015/tree-select/tree-select.component.ngfactory.js +56 -0
- package/esm2015/tree-select/tree-select.component.ngsummary.json +1 -0
- package/esm2015/tree-select/tree-select.component.scss.ngstyle.js +9 -0
- package/esm2015/tree-select/tree-select.module.js +26 -0
- package/esm2015/tree-select/tree-select.module.ngfactory.js +29 -0
- package/esm2015/tree-select/tree-select.module.ngsummary.json +1 -0
- package/{esm2020/tree-select/tree-select.types.mjs → esm2015/tree-select/tree-select.types.js} +0 -0
- package/esm2015/tree-select/tree-select.types.ngsummary.json +1 -0
- package/{esm2020/types.mjs → esm2015/types.js} +0 -0
- package/esm2015/types.ngsummary.json +1 -0
- package/{esm2020/utils/async.mjs → esm2015/utils/async.js} +0 -0
- package/esm2015/utils/async.ngsummary.json +1 -0
- package/{esm2020/utils/bem.mjs → esm2015/utils/bem.js} +0 -0
- package/esm2015/utils/bem.ngsummary.json +1 -0
- package/esm2015/utils/coercion.js +16 -0
- package/esm2015/utils/coercion.ngsummary.json +1 -0
- package/esm2015/utils/fn.js +8 -0
- package/esm2015/utils/fn.ngsummary.json +1 -0
- package/{esm2020/utils/index.mjs → esm2015/utils/index.js} +0 -0
- package/esm2015/utils/index.ngsummary.json +1 -0
- package/{esm2020/utils/observe-dom.mjs → esm2015/utils/observe-dom.js} +0 -0
- package/esm2015/utils/observe-dom.ngsummary.json +1 -0
- package/{esm2020/utils/scroll-into-view.mjs → esm2015/utils/scroll-into-view.js} +0 -0
- package/esm2015/utils/scroll-into-view.ngsummary.json +1 -0
- package/{esm2020/utils/watch-content-exist.mjs → esm2015/utils/watch-content-exist.js} +0 -0
- package/esm2015/utils/watch-content-exist.ngsummary.json +1 -0
- package/fesm2015/alauda-ui.js +10768 -0
- package/fesm2015/alauda-ui.js.map +1 -0
- package/form/common-form.d.ts +0 -3
- package/form/form-item/form-item.component.d.ts +0 -3
- package/form/form-item/form-item.component.ngfactory.d.ts +1 -0
- package/form/form-item/form-item.component.scss.ngstyle.d.ts +1 -0
- package/form/form.directive.d.ts +0 -3
- package/form/form.module.d.ts +0 -8
- package/form/form.module.ngfactory.d.ts +3 -0
- package/form/helper-directives.d.ts +0 -11
- package/i18n/i18n.module.d.ts +0 -5
- package/i18n/i18n.module.ngfactory.d.ts +3 -0
- package/i18n/i18n.pipe.d.ts +0 -3
- package/i18n/i18n.service.d.ts +1 -5
- package/icon/icon-register.service.d.ts +0 -3
- package/icon/icon.component.d.ts +0 -3
- package/icon/icon.component.ngfactory.d.ts +1 -0
- package/icon/icon.component.scss.ngstyle.d.ts +1 -0
- package/icon/icon.module.d.ts +0 -7
- package/icon/icon.module.ngfactory.d.ts +3 -0
- package/inline-alert/helper-directives.d.ts +0 -3
- package/inline-alert/inline-alert.component.d.ts +0 -3
- package/inline-alert/inline-alert.component.ngfactory.d.ts +1 -0
- package/inline-alert/inline-alert.component.scss.ngstyle.d.ts +1 -0
- package/inline-alert/inline-alert.module.d.ts +0 -8
- package/inline-alert/inline-alert.module.ngfactory.d.ts +3 -0
- package/input/autosize.directive.d.ts +0 -3
- package/input/helper-directives.d.ts +0 -9
- package/input/input-group/input-group.component.d.ts +0 -3
- package/input/input-group/input-group.component.ngfactory.d.ts +1 -0
- package/input/input-group/input-group.component.scss.ngstyle.d.ts +1 -0
- package/input/input.component.d.ts +21 -7
- package/input/input.component.ngfactory.d.ts +1 -0
- package/input/input.component.scss.ngstyle.d.ts +1 -0
- package/input/input.module.d.ts +0 -17
- package/input/input.module.ngfactory.d.ts +3 -0
- package/input/number-input/number-input.component.d.ts +0 -3
- package/input/number-input/number-input.component.ngfactory.d.ts +1 -0
- package/input/number-input/number-input.component.scss.ngstyle.d.ts +1 -0
- package/input/public-api.d.ts +0 -2
- package/input/search/search.component.d.ts +0 -3
- package/input/search/search.component.ngfactory.d.ts +1 -0
- package/input/search/search.component.scss.ngstyle.d.ts +1 -0
- package/input/tags-input/tags-input.component.d.ts +2 -5
- package/input/tags-input/tags-input.component.ngfactory.d.ts +1 -0
- package/input/tags-input/tags-input.component.scss.ngstyle.d.ts +1 -0
- package/message/message-wrapper.component.d.ts +0 -3
- package/message/message-wrapper.component.ngfactory.d.ts +1 -0
- package/message/message-wrapper.component.scss.ngstyle.d.ts +1 -0
- package/message/message.component.d.ts +0 -3
- package/message/message.component.ngfactory.d.ts +1 -0
- package/message/message.component.scss.ngstyle.d.ts +1 -0
- package/message/message.module.d.ts +0 -9
- package/message/message.module.ngfactory.d.ts +3 -0
- package/message/message.service.d.ts +0 -3
- package/notification/notification-wrapper.component.d.ts +0 -3
- package/notification/notification-wrapper.component.ngfactory.d.ts +1 -0
- package/notification/notification-wrapper.component.scss.ngstyle.d.ts +1 -0
- package/notification/notification.component.d.ts +3 -5
- package/notification/notification.component.ngfactory.d.ts +1 -0
- package/notification/notification.component.scss.ngstyle.d.ts +1 -0
- package/notification/notification.module.d.ts +0 -10
- package/notification/notification.module.ngfactory.d.ts +3 -0
- package/notification/notification.service.d.ts +0 -3
- package/package.json +16 -28
- package/paginator/paginator-intl.d.ts +0 -3
- package/paginator/paginator.component.d.ts +0 -3
- package/paginator/paginator.component.ngfactory.d.ts +1 -0
- package/paginator/paginator.component.scss.ngstyle.d.ts +1 -0
- package/paginator/paginator.module.d.ts +0 -10
- package/paginator/paginator.module.ngfactory.d.ts +3 -0
- package/radio/base-radio.d.ts +0 -3
- package/radio/radio-button/radio-button.component.d.ts +0 -3
- package/radio/radio-button/radio-button.component.ngfactory.d.ts +1 -0
- package/radio/radio-button/radio-button.component.scss.ngstyle.d.ts +1 -0
- package/radio/radio-group/radio-group.component.d.ts +0 -3
- package/radio/radio-group/radio-group.component.ngfactory.d.ts +1 -0
- package/radio/radio-group/radio-group.component.scss.ngstyle.d.ts +1 -0
- package/radio/radio.component.d.ts +0 -3
- package/radio/radio.component.ngfactory.d.ts +1 -0
- package/radio/radio.component.scss.ngstyle.d.ts +1 -0
- package/radio/radio.module.d.ts +0 -9
- package/radio/radio.module.ngfactory.d.ts +3 -0
- package/scrolling/fixed-size-table-virtual-scroll-strategy.d.ts +0 -3
- package/scrolling/fixed-size-table-virtual-scroll.directive.d.ts +0 -3
- package/scrolling/fixed-size-virtual-scroll.directive.d.ts +0 -3
- package/scrolling/public-api.d.ts +0 -1
- package/scrolling/scrolling.module.d.ts +0 -8
- package/scrolling/scrolling.module.ngfactory.d.ts +3 -0
- package/scrolling/virtual-for-of.directive.d.ts +0 -3
- package/scrolling/virtual-scroll-viewport.component.d.ts +0 -3
- package/scrolling/virtual-scroll-viewport.component.ngfactory.d.ts +1 -0
- package/scrolling/virtual-scroll-viewport.component.scss.ngstyle.d.ts +1 -0
- package/select/base-select.d.ts +29 -10
- package/select/helper-directives.d.ts +0 -5
- package/select/multi-select/multi-select.component.d.ts +0 -4
- package/select/multi-select/multi-select.component.ngfactory.d.ts +1 -0
- package/select/multi-select/multi-select.component.scss.ngstyle.d.ts +1 -0
- package/select/option/option.component.d.ts +0 -3
- package/select/option/option.component.ngfactory.d.ts +1 -0
- package/select/option/option.component.scss.ngstyle.d.ts +1 -0
- package/select/option-group/option-group.component.d.ts +0 -3
- package/select/option-group/option-group.component.ngfactory.d.ts +1 -0
- package/select/option-group/option-group.component.scss.ngstyle.d.ts +1 -0
- package/select/option-placeholder.component.d.ts +0 -3
- package/select/option-placeholder.component.ngfactory.d.ts +1 -0
- package/select/select.component.d.ts +0 -3
- package/select/select.component.ngfactory.d.ts +1 -0
- package/select/select.component.scss.ngstyle.d.ts +1 -0
- package/select/select.module.d.ts +0 -17
- package/select/select.module.ngfactory.d.ts +3 -0
- package/select/validators.d.ts +0 -3
- package/shared/click-outside.directive.d.ts +0 -3
- package/shared/shared.module.d.ts +0 -5
- package/shared/shared.module.ngfactory.d.ts +3 -0
- package/sort/sort-header.component.d.ts +0 -3
- package/sort/sort-header.component.ngfactory.d.ts +1 -0
- package/sort/sort-header.component.scss.ngstyle.d.ts +1 -0
- package/sort/sort.directive.d.ts +0 -3
- package/sort/sort.module.d.ts +0 -7
- package/sort/sort.module.ngfactory.d.ts +3 -0
- package/status-bar/status-bar.component.d.ts +0 -3
- package/status-bar/status-bar.component.ngfactory.d.ts +1 -0
- package/status-bar/status-bar.component.scss.ngstyle.d.ts +1 -0
- package/status-bar/status-bar.module.d.ts +0 -7
- package/status-bar/status-bar.module.ngfactory.d.ts +3 -0
- package/steps/steps.component.d.ts +1 -4
- package/steps/steps.component.ngfactory.d.ts +1 -0
- package/steps/steps.component.scss.ngstyle.d.ts +1 -0
- package/steps/steps.module.d.ts +0 -7
- package/steps/steps.module.ngfactory.d.ts +3 -0
- package/switch/switch.component.d.ts +0 -3
- package/switch/switch.component.ngfactory.d.ts +1 -0
- package/switch/switch.component.scss.ngstyle.d.ts +1 -0
- package/switch/switch.module.d.ts +0 -6
- package/switch/switch.module.ngfactory.d.ts +3 -0
- package/table/public-api.d.ts +0 -2
- package/table/table-cell-def.directive.d.ts +0 -3
- package/table/table-cell.component.d.ts +0 -5
- package/table/table-cell.component.ngfactory.d.ts +1 -0
- package/table/table-cell.directive.d.ts +0 -3
- package/table/table-column-def.directive.d.ts +0 -3
- package/table/table-header-cell-def.directive.d.ts +0 -3
- package/table/table-header-cell.directive.d.ts +0 -3
- package/table/table-header-row-def.directive.d.ts +1 -4
- package/table/table-header-row.component.d.ts +0 -3
- package/table/table-header-row.component.ngfactory.d.ts +1 -0
- package/table/table-placeholder.directive.d.ts +0 -5
- package/table/table-row-def.directive.d.ts +2 -5
- package/table/table-row.component.d.ts +0 -3
- package/table/table-row.component.ngfactory.d.ts +1 -0
- package/table/table-scroll.directive.d.ts +0 -5
- package/table/table-scroll.scss.ngstyle.d.ts +1 -0
- package/table/table.component.d.ts +0 -3
- package/table/table.component.ngfactory.d.ts +1 -0
- package/table/table.component.scss.ngstyle.d.ts +1 -0
- package/table/table.module.d.ts +0 -20
- package/table/table.module.ngfactory.d.ts +3 -0
- package/table-of-contents/table-of-contents.module.d.ts +0 -8
- package/table-of-contents/table-of-contents.module.ngfactory.d.ts +3 -0
- package/table-of-contents/toc-container.directive.d.ts +0 -3
- package/table-of-contents/toc-content.directive.d.ts +0 -3
- package/table-of-contents/toc-link.directive.d.ts +0 -3
- package/tabs/public-api.d.ts +1 -0
- package/tabs/tab-body.component.d.ts +2 -61
- package/tabs/tab-body.component.ngfactory.d.ts +1 -0
- package/tabs/tab-context.service.d.ts +1 -4
- package/tabs/tab-directives.d.ts +47 -0
- package/tabs/tab-group.component.d.ts +12 -7
- package/tabs/tab-group.component.ngfactory.d.ts +1 -0
- package/tabs/tab-group.component.scss.ngstyle.d.ts +1 -0
- package/tabs/tab-header-active-indicator.component.d.ts +0 -3
- package/tabs/tab-header-active-indicator.component.ngfactory.d.ts +1 -0
- package/tabs/tab-header.component.d.ts +1 -4
- package/tabs/tab-header.component.ngfactory.d.ts +1 -0
- package/tabs/tab-header.component.scss.ngstyle.d.ts +1 -0
- package/tabs/tab.component.d.ts +1 -4
- package/tabs/tab.component.ngfactory.d.ts +1 -0
- package/tabs/tabs.module.d.ts +0 -16
- package/tabs/tabs.module.ngfactory.d.ts +3 -0
- package/tag/check-tag/check-tag.component.d.ts +0 -3
- package/tag/check-tag/check-tag.component.ngfactory.d.ts +1 -0
- package/tag/check-tag/check-tag.component.scss.ngstyle.d.ts +1 -0
- package/tag/tag.component.d.ts +0 -3
- package/tag/tag.component.ngfactory.d.ts +1 -0
- package/tag/tag.component.scss.ngstyle.d.ts +1 -0
- package/tag/tag.module.d.ts +0 -8
- package/tag/tag.module.ngfactory.d.ts +3 -0
- package/theme/_mixin.scss +6 -1
- package/theme/_var.scss +3 -5
- package/theme/theme.module.d.ts +0 -6
- package/theme/theme.module.ngfactory.d.ts +3 -0
- package/theme/theme.pipe.d.ts +0 -9
- package/theme/theme.service.d.ts +0 -3
- package/time-picker/component.d.ts +0 -3
- package/time-picker/component.ngfactory.d.ts +1 -0
- package/time-picker/panel/panel.component.d.ts +0 -3
- package/time-picker/panel/panel.component.ngfactory.d.ts +1 -0
- package/time-picker/panel/panel.style.scss.ngstyle.d.ts +1 -0
- package/time-picker/style.scss.ngstyle.d.ts +1 -0
- package/time-picker/time-picker.module.d.ts +0 -15
- package/time-picker/time-picker.module.ngfactory.d.ts +3 -0
- package/tooltip/base-tooltip.d.ts +0 -3
- package/tooltip/public-api.d.ts +0 -1
- package/tooltip/tooltip-active.directive.d.ts +0 -3
- package/tooltip/tooltip-copy.directive.d.ts +0 -3
- package/tooltip/tooltip-intl.d.ts +0 -3
- package/tooltip/tooltip.component.d.ts +0 -3
- package/tooltip/tooltip.component.ngfactory.d.ts +1 -0
- package/tooltip/tooltip.component.scss.ngstyle.d.ts +1 -0
- package/tooltip/tooltip.directive.d.ts +0 -3
- package/tooltip/tooltip.module.d.ts +0 -10
- package/tooltip/tooltip.module.ngfactory.d.ts +3 -0
- package/tree-select/public-api.d.ts +1 -0
- package/tree-select/tree-node/tree-node.component.d.ts +34 -0
- package/tree-select/tree-node/tree-node.component.ngfactory.d.ts +1 -0
- package/tree-select/tree-node/tree-node.component.scss.ngstyle.d.ts +1 -0
- package/tree-select/tree-node-placeholder.component.d.ts +0 -3
- package/tree-select/tree-node-placeholder.component.ngfactory.d.ts +1 -0
- package/tree-select/tree-select.component.d.ts +2 -36
- package/tree-select/tree-select.component.ngfactory.d.ts +1 -0
- package/tree-select/tree-select.component.scss.ngstyle.d.ts +1 -0
- package/tree-select/tree-select.module.d.ts +0 -10
- package/tree-select/tree-select.module.ngfactory.d.ts +3 -0
- package/tsconfig.lib.tsbuildinfo +3 -0
- package/utils/coercion.d.ts +1 -1
- package/utils/fn.d.ts +1 -1
- package/utils/observe-dom.d.ts +1 -0
- package/.changeset/README.md +0 -8
- package/esm2020/accordion/accordion-item/accordion-item.component.mjs +0 -73
- package/esm2020/accordion/accordion.component.mjs +0 -27
- package/esm2020/accordion/accordion.module.mjs +0 -39
- package/esm2020/alauda-ui.mjs +0 -5
- package/esm2020/anchor/anchor.component.mjs +0 -139
- package/esm2020/anchor/anchor.directive.mjs +0 -184
- package/esm2020/anchor/anchor.module.mjs +0 -36
- package/esm2020/autocomplete/autocomplete-placeholder.component.mjs +0 -17
- package/esm2020/autocomplete/autocomplete.component.mjs +0 -41
- package/esm2020/autocomplete/autocomplete.directive.mjs +0 -272
- package/esm2020/autocomplete/autocomplete.module.mjs +0 -53
- package/esm2020/autocomplete/helper-directives.mjs +0 -17
- package/esm2020/autocomplete/suggestion/suggestion.component.mjs +0 -78
- package/esm2020/autocomplete/suggestion-group/suggestion-group.component.mjs +0 -23
- package/esm2020/back-top/back-top.component.mjs +0 -68
- package/esm2020/back-top/back-top.module.mjs +0 -19
- package/esm2020/breadcrumb/breadcrumb-item.component.mjs +0 -32
- package/esm2020/breadcrumb/breadcrumb.component.mjs +0 -57
- package/esm2020/breadcrumb/breadcrumb.module.mjs +0 -20
- package/esm2020/button/button-group/button-group.component.mjs +0 -11
- package/esm2020/button/button.component.mjs +0 -122
- package/esm2020/button/button.module.mjs +0 -20
- package/esm2020/card/card.component.mjs +0 -16
- package/esm2020/card/card.module.mjs +0 -40
- package/esm2020/card/helper-directives.mjs +0 -43
- package/esm2020/card/section.component.mjs +0 -11
- package/esm2020/checkbox/checkbox-group/checkbox-group.component.mjs +0 -64
- package/esm2020/checkbox/checkbox.component.mjs +0 -114
- package/esm2020/checkbox/checkbox.module.mjs +0 -20
- package/esm2020/color-picker/color-picker.component.mjs +0 -32
- package/esm2020/color-picker/color-picker.module.mjs +0 -19
- package/esm2020/date-picker/calendar/date-picker-panel/component.mjs +0 -128
- package/esm2020/date-picker/calendar/footer/component.mjs +0 -29
- package/esm2020/date-picker/calendar/header/component.mjs +0 -105
- package/esm2020/date-picker/calendar/panel/picker-panel.mjs +0 -149
- package/esm2020/date-picker/calendar/range-picker-panel/component.mjs +0 -209
- package/esm2020/date-picker/date-picker/date-picker.component.mjs +0 -104
- package/esm2020/date-picker/date-picker.module.mjs +0 -84
- package/esm2020/date-picker/public-api.mjs +0 -12
- package/esm2020/date-picker/range-picker/range-picker.component.mjs +0 -80
- package/esm2020/date-picker/trigger/trigger.component.mjs +0 -69
- package/esm2020/dialog/confirm-dialog/confirm-dialog.component.mjs +0 -86
- package/esm2020/dialog/dialog-content/dialog-close.directive.mjs +0 -38
- package/esm2020/dialog/dialog-content/dialog-content.component.mjs +0 -20
- package/esm2020/dialog/dialog-content/dialog-footer.component.mjs +0 -15
- package/esm2020/dialog/dialog-content/dialog-header.component.mjs +0 -39
- package/esm2020/dialog/dialog.component.mjs +0 -59
- package/esm2020/dialog/dialog.module.mjs +0 -68
- package/esm2020/dialog/dialog.service.mjs +0 -128
- package/esm2020/dialog/public-api.mjs +0 -12
- package/esm2020/dialog/utils/index.mjs +0 -11
- package/esm2020/drawer/component/drawer.component.mjs +0 -231
- package/esm2020/drawer/component/helper-directives.mjs +0 -37
- package/esm2020/drawer/drawer.module.mjs +0 -37
- package/esm2020/drawer/drawer.service.mjs +0 -45
- package/esm2020/dropdown/dropdown-active.directive.mjs +0 -21
- package/esm2020/dropdown/dropdown-button/dropdown-button.component.mjs +0 -51
- package/esm2020/dropdown/dropdown.directive.mjs +0 -83
- package/esm2020/dropdown/dropdown.module.mjs +0 -65
- package/esm2020/dropdown/helper-directives.mjs +0 -17
- package/esm2020/dropdown/menu/menu-content.directive.mjs +0 -51
- package/esm2020/dropdown/menu/menu.component.mjs +0 -33
- package/esm2020/dropdown/menu-group/menu-group.component.mjs +0 -11
- package/esm2020/dropdown/menu-item/menu-item.component.mjs +0 -37
- package/esm2020/dropdown/public-api.mjs +0 -12
- package/esm2020/dropdown/submenu/submenu.component.mjs +0 -40
- package/esm2020/form/common-form.mjs +0 -92
- package/esm2020/form/form-item/form-item.component.mjs +0 -106
- package/esm2020/form/form.directive.mjs +0 -70
- package/esm2020/form/form.module.mjs +0 -48
- package/esm2020/form/helper-directives.mjs +0 -81
- package/esm2020/i18n/i18n.module.mjs +0 -16
- package/esm2020/i18n/i18n.pipe.mjs +0 -20
- package/esm2020/i18n/i18n.service.mjs +0 -43
- package/esm2020/i18n/i18n.type.mjs +0 -6
- package/esm2020/icon/icon-register.service.mjs +0 -70
- package/esm2020/icon/icon.component.mjs +0 -65
- package/esm2020/icon/icon.module.mjs +0 -21
- package/esm2020/inline-alert/helper-directives.mjs +0 -14
- package/esm2020/inline-alert/inline-alert.component.mjs +0 -55
- package/esm2020/inline-alert/inline-alert.module.mjs +0 -20
- package/esm2020/input/autosize.directive.mjs +0 -60
- package/esm2020/input/helper-directives.mjs +0 -43
- package/esm2020/input/input-group/input-group.component.mjs +0 -39
- package/esm2020/input/input.component.mjs +0 -61
- package/esm2020/input/input.module.mjs +0 -91
- package/esm2020/input/number-input/number-input.component.mjs +0 -94
- package/esm2020/input/public-api.mjs +0 -9
- package/esm2020/input/search/search.component.mjs +0 -81
- package/esm2020/input/tags-input/tags-input.component.mjs +0 -265
- package/esm2020/message/base-message.mjs +0 -90
- package/esm2020/message/message-wrapper.component.mjs +0 -14
- package/esm2020/message/message.component.mjs +0 -70
- package/esm2020/message/message.module.mjs +0 -23
- package/esm2020/message/message.service.mjs +0 -26
- package/esm2020/notification/notification-wrapper.component.mjs +0 -16
- package/esm2020/notification/notification.component.mjs +0 -107
- package/esm2020/notification/notification.module.mjs +0 -24
- package/esm2020/notification/notification.service.mjs +0 -26
- package/esm2020/paginator/paginator-intl.mjs +0 -36
- package/esm2020/paginator/paginator.component.mjs +0 -125
- package/esm2020/paginator/paginator.module.mjs +0 -24
- package/esm2020/radio/base-radio.mjs +0 -69
- package/esm2020/radio/radio-button/radio-button.component.mjs +0 -42
- package/esm2020/radio/radio-group/radio-group.component.mjs +0 -80
- package/esm2020/radio/radio.component.mjs +0 -24
- package/esm2020/radio/radio.module.mjs +0 -21
- package/esm2020/scrolling/fixed-size-table-virtual-scroll-strategy.mjs +0 -84
- package/esm2020/scrolling/fixed-size-table-virtual-scroll.directive.mjs +0 -122
- package/esm2020/scrolling/fixed-size-virtual-scroll.directive.mjs +0 -28
- package/esm2020/scrolling/public-api.mjs +0 -7
- package/esm2020/scrolling/scrolling.module.mjs +0 -30
- package/esm2020/scrolling/virtual-for-of.directive.mjs +0 -36
- package/esm2020/scrolling/virtual-scroll-viewport.component.mjs +0 -26
- package/esm2020/select/base-select.mjs +0 -339
- package/esm2020/select/helper-directives.mjs +0 -29
- package/esm2020/select/multi-select/multi-select.component.mjs +0 -292
- package/esm2020/select/option/option.component.mjs +0 -110
- package/esm2020/select/option-group/option-group.component.mjs +0 -23
- package/esm2020/select/option-placeholder.component.mjs +0 -17
- package/esm2020/select/select.component.mjs +0 -107
- package/esm2020/select/select.module.mjs +0 -80
- package/esm2020/select/validators.mjs +0 -79
- package/esm2020/shared/click-outside.directive.mjs +0 -28
- package/esm2020/shared/shared.module.mjs +0 -16
- package/esm2020/sort/sort-header.component.mjs +0 -72
- package/esm2020/sort/sort.directive.mjs +0 -75
- package/esm2020/sort/sort.module.mjs +0 -19
- package/esm2020/status-bar/status-bar.component.mjs +0 -29
- package/esm2020/status-bar/status-bar.module.mjs +0 -19
- package/esm2020/steps/steps.component.mjs +0 -183
- package/esm2020/steps/steps.module.mjs +0 -19
- package/esm2020/switch/switch.component.mjs +0 -49
- package/esm2020/switch/switch.module.mjs +0 -18
- package/esm2020/table/public-api.mjs +0 -15
- package/esm2020/table/table-cell-def.directive.mjs +0 -29
- package/esm2020/table/table-cell.component.mjs +0 -121
- package/esm2020/table/table-cell.directive.mjs +0 -27
- package/esm2020/table/table-column-def.directive.mjs +0 -37
- package/esm2020/table/table-header-cell-def.directive.mjs +0 -29
- package/esm2020/table/table-header-cell.directive.mjs +0 -27
- package/esm2020/table/table-header-row-def.directive.mjs +0 -39
- package/esm2020/table/table-header-row.component.mjs +0 -25
- package/esm2020/table/table-placeholder.directive.mjs +0 -30
- package/esm2020/table/table-row-def.directive.mjs +0 -42
- package/esm2020/table/table-row.component.mjs +0 -43
- package/esm2020/table/table-scroll.directive.mjs +0 -91
- package/esm2020/table/table.component.mjs +0 -81
- package/esm2020/table/table.module.mjs +0 -96
- package/esm2020/table-of-contents/table-of-contents.module.mjs +0 -20
- package/esm2020/table-of-contents/toc-container.directive.mjs +0 -110
- package/esm2020/table-of-contents/toc-content.directive.mjs +0 -35
- package/esm2020/table-of-contents/toc-link.directive.mjs +0 -47
- package/esm2020/tabs/public-api.mjs +0 -9
- package/esm2020/tabs/tab-body.component.mjs +0 -165
- package/esm2020/tabs/tab-context.service.mjs +0 -32
- package/esm2020/tabs/tab-group.component.mjs +0 -291
- package/esm2020/tabs/tab-header-active-indicator.component.mjs +0 -53
- package/esm2020/tabs/tab-header.component.mjs +0 -365
- package/esm2020/tabs/tab.component.mjs +0 -85
- package/esm2020/tabs/tabs.module.mjs +0 -88
- package/esm2020/tag/check-tag/check-tag.component.mjs +0 -33
- package/esm2020/tag/tag.component.mjs +0 -64
- package/esm2020/tag/tag.module.mjs +0 -20
- package/esm2020/theme/theme.module.mjs +0 -18
- package/esm2020/theme/theme.pipe.mjs +0 -70
- package/esm2020/theme/theme.service.mjs +0 -53
- package/esm2020/time-picker/component.mjs +0 -173
- package/esm2020/time-picker/constant.mjs +0 -5
- package/esm2020/time-picker/panel/panel.component.mjs +0 -224
- package/esm2020/time-picker/time-picker.module.mjs +0 -58
- package/esm2020/time-picker/time-picker.type.mjs +0 -13
- package/esm2020/tooltip/base-tooltip.mjs +0 -244
- package/esm2020/tooltip/public-api.mjs +0 -9
- package/esm2020/tooltip/tooltip-active.directive.mjs +0 -44
- package/esm2020/tooltip/tooltip-copy.directive.mjs +0 -78
- package/esm2020/tooltip/tooltip-intl.mjs +0 -28
- package/esm2020/tooltip/tooltip.component.mjs +0 -49
- package/esm2020/tooltip/tooltip.directive.mjs +0 -52
- package/esm2020/tooltip/tooltip.module.mjs +0 -33
- package/esm2020/tree-select/public-api.mjs +0 -5
- package/esm2020/tree-select/tree-node-placeholder.component.mjs +0 -17
- package/esm2020/tree-select/tree-select.component.mjs +0 -343
- package/esm2020/tree-select/tree-select.module.mjs +0 -34
- package/esm2020/utils/coercion.mjs +0 -16
- package/esm2020/utils/fn.mjs +0 -8
- package/fesm2015/alauda-ui.mjs +0 -11582
- package/fesm2015/alauda-ui.mjs.map +0 -1
- package/fesm2020/alauda-ui.mjs +0 -11507
- package/fesm2020/alauda-ui.mjs.map +0 -1
- package/src/accordion/README.md +0 -13
- package/src/anchor/README.md +0 -23
- package/src/dropdown/README.md +0 -57
- package/src/form/README.md +0 -32
- package/src/icon/README.md +0 -28
- package/src/inline-alert/README.md +0 -16
- package/src/input/number-input/README.md +0 -15
- package/src/select/README.md +0 -57
- package/src/sort/README.md +0 -13
- package/src/table/README.md +0 -8
- package/src/table-of-contents/README.md +0 -79
- package/src/tag/README.md +0 -32
- package/src/tree-select/README.md +0 -34
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewChild, ViewEncapsulation, } from '@angular/core';
|
|
2
|
-
import { buildBem } from '../../utils';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../../input/input.component";
|
|
5
|
-
import * as i2 from "../../icon/icon.component";
|
|
6
|
-
import * as i3 from "@angular/common";
|
|
7
|
-
import * as i4 from "../../i18n/i18n.pipe";
|
|
8
|
-
const bem = buildBem('aui-date-picker-trigger');
|
|
9
|
-
export class DatePickerTriggerComponent {
|
|
10
|
-
constructor() {
|
|
11
|
-
this.format = 'YYYY-MM-DD';
|
|
12
|
-
this.clearable = true;
|
|
13
|
-
this.disabled = false;
|
|
14
|
-
this.blur = new EventEmitter();
|
|
15
|
-
this.clear = new EventEmitter();
|
|
16
|
-
this.centerFocus = false;
|
|
17
|
-
this.leftFocus = false;
|
|
18
|
-
this.rightFocus = false;
|
|
19
|
-
this.hovered = false;
|
|
20
|
-
this.bem = bem;
|
|
21
|
-
this.focusInput = this.focusInput.bind(this);
|
|
22
|
-
}
|
|
23
|
-
get isFocus() {
|
|
24
|
-
return this.isRange ? this.leftFocus || this.rightFocus : this.centerFocus;
|
|
25
|
-
}
|
|
26
|
-
get hasValue() {
|
|
27
|
-
return !this.isRange
|
|
28
|
-
? !!this.value
|
|
29
|
-
: this.value?.[0] || this.value?.[1];
|
|
30
|
-
}
|
|
31
|
-
get showClear() {
|
|
32
|
-
return !this.disabled && this.clearable && this.hasValue && this.hovered;
|
|
33
|
-
}
|
|
34
|
-
focusInput() {
|
|
35
|
-
this.focusInputRef.elementRef.nativeElement.focus();
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
DatePickerTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DatePickerTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
39
|
-
DatePickerTriggerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: DatePickerTriggerComponent, selector: "aui-date-picker-trigger", inputs: { format: "format", size: "size", isRange: "isRange", value: "value", clearable: "clearable", placeholder: "placeholder", startPlaceholder: "startPlaceholder", endPlaceholder: "endPlaceholder", disabled: "disabled" }, outputs: { blur: "blur", clear: "clear" }, viewQueries: [{ propertyName: "focusInputRef", first: true, predicate: ["focusRef"], descendants: true }], ngImport: i0, template: "<div\n [class]=\"bem.element('container')\"\n [ngClass]=\"{\n isFocused: isFocus,\n isRange: isRange,\n disabled: disabled\n }\"\n (mouseenter)=\"hovered = true\"\n (mouseleave)=\"hovered = false\"\n>\n <span [class]=\"bem.element('content')\">\n <ng-container *ngIf=\"isRange\">\n <input\n style=\"flex: 1\"\n aui-input\n #focusRef\n [value]=\"$any(value || [])[0]?.format(format)\"\n [readonly]=\"true\"\n [size]=\"size\"\n (focus)=\"leftFocus = true\"\n (blur)=\"leftFocus = false; blur.next()\"\n [placeholder]=\"startPlaceholder || ('start_date' | auiI18n)\"\n />\n <span class=\"placeholder\" (click)=\"focusInput()\">{{\n 'to' | auiI18n\n }}</span>\n <input\n style=\"flex: 1\"\n aui-input\n [value]=\"$any(value || [])[1]?.format(format)\"\n [readonly]=\"true\"\n [size]=\"size\"\n (focus)=\"rightFocus = true\"\n (blur)=\"rightFocus = false; blur.next()\"\n [placeholder]=\"endPlaceholder || ('end_date' | auiI18n)\"\n />\n </ng-container>\n <ng-container *ngIf=\"!isRange\">\n <input\n aui-input\n auiTooltipType=\"plain\"\n [value]=\"$any(value)?.format(format)\"\n [readonly]=\"true\"\n #focusRef\n [size]=\"size\"\n auiTooltipType=\"info\"\n (focus)=\"centerFocus = true\"\n (blur)=\"centerFocus = false; blur.next()\"\n [placeholder]=\"placeholder || ('select_date' | auiI18n)\"\n />\n </ng-container>\n </span>\n <span [class]=\"bem.element('addon')\" (click)=\"focusInput()\">\n <aui-icon\n *ngIf=\"showClear; else calendar\"\n class=\"clear\"\n size=\"16px\"\n icon=\"close_small\"\n (click)=\"$event.stopImmediatePropagation(); this.clear.next()\"\n ></aui-icon>\n <ng-template #calendar>\n <aui-icon icon=\"calendar\"></aui-icon>\n </ng-template>\n </span>\n</div>\n", styles: ["@charset \"UTF-8\";aui-range-picker.ng-invalid.ng-submitted .aui-date-picker-trigger__container,aui-range-picker.ng-invalid.ng-dirty .aui-date-picker-trigger__container,aui-date-picker.ng-invalid.ng-submitted .aui-date-picker-trigger__container,aui-date-picker.ng-invalid.ng-dirty .aui-date-picker-trigger__container{border-color:rgb(var(--aui-color-red))!important}aui-range-picker.ng-invalid.ng-submitted .aui-date-picker-trigger__container:focus,aui-range-picker.ng-invalid.ng-submitted .aui-date-picker-trigger__container.isFocused,aui-range-picker.ng-invalid.ng-dirty .aui-date-picker-trigger__container:focus,aui-range-picker.ng-invalid.ng-dirty .aui-date-picker-trigger__container.isFocused,aui-date-picker.ng-invalid.ng-submitted .aui-date-picker-trigger__container:focus,aui-date-picker.ng-invalid.ng-submitted .aui-date-picker-trigger__container.isFocused,aui-date-picker.ng-invalid.ng-dirty .aui-date-picker-trigger__container:focus,aui-date-picker.ng-invalid.ng-dirty .aui-date-picker-trigger__container.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.16)}:host{display:block}.aui-date-picker-trigger__container{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;border:1px solid rgb(var(--aui-color-n-7));position:relative;width:100%;background-color:rgb(var(--aui-color-n-9));border-radius:var(--aui-border-radius-m)}.aui-date-picker-trigger__container:hover:not(.disabled){border-color:rgb(var(--aui-color-primary));cursor:pointer}.aui-date-picker-trigger__container .aui-input--medium{height:30px}.aui-date-picker-trigger__container .aui-input--large{height:38px}.aui-date-picker-trigger__container .aui-input--small{height:26px}.aui-date-picker-trigger__container .aui-input--mini{height:22px}.aui-date-picker-trigger__container.isFocused:not(.disabled){border-color:rgb(var(--aui-color-primary));box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}.aui-date-picker-trigger__container .aui-input{border:none;background-color:transparent!important}.aui-date-picker-trigger__container .aui-input:hover{cursor:pointer}.aui-date-picker-trigger__container .aui-input:focus{outline:none;box-shadow:none}.aui-date-picker-trigger__container.disabled{background:rgb(var(--aui-color-n-8));border:1px solid rgb(var(--aui-color-n-7))!important}.aui-date-picker-trigger__container.disabled .aui-input{background:transparent;cursor:not-allowed;color:rgb(var(--aui-color-n-7))}.aui-date-picker-trigger__container.disabled:hover{cursor:not-allowed}.aui-date-picker-trigger__content{flex:1;display:flex;align-items:center}.aui-date-picker-trigger__content .placeholder{color:rgb(var(--aui-color-n-6))}.aui-date-picker-trigger__addon{color:rgb(var(--aui-color-help-text));margin-right:8px;font-size:16px;width:16px;height:16px;line-height:16px}.aui-date-picker-trigger__addon .clear{display:inline-flex;border-radius:50%;color:rgb(var(--aui-color-help-text));cursor:pointer;transition:all .3s ease}.aui-date-picker-trigger__addon .clear:hover{color:#fff;background-color:rgb(var(--aui-color-help-text))}\n"], components: [{ type: i1.InputComponent, selector: "input[aui-input],textarea[aui-input]", inputs: ["size", "disabled"] }, { type: i2.IconComponent, selector: "aui-icon", inputs: ["icon", "light", "dark", "link", "margin", "size", "color", "background", "backgroundColor"] }], directives: [{ type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], pipes: { "auiI18n": i4.I18nPipe }, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DatePickerTriggerComponent, decorators: [{
|
|
41
|
-
type: Component,
|
|
42
|
-
args: [{ selector: 'aui-date-picker-trigger', encapsulation: ViewEncapsulation.Emulated, changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n [class]=\"bem.element('container')\"\n [ngClass]=\"{\n isFocused: isFocus,\n isRange: isRange,\n disabled: disabled\n }\"\n (mouseenter)=\"hovered = true\"\n (mouseleave)=\"hovered = false\"\n>\n <span [class]=\"bem.element('content')\">\n <ng-container *ngIf=\"isRange\">\n <input\n style=\"flex: 1\"\n aui-input\n #focusRef\n [value]=\"$any(value || [])[0]?.format(format)\"\n [readonly]=\"true\"\n [size]=\"size\"\n (focus)=\"leftFocus = true\"\n (blur)=\"leftFocus = false; blur.next()\"\n [placeholder]=\"startPlaceholder || ('start_date' | auiI18n)\"\n />\n <span class=\"placeholder\" (click)=\"focusInput()\">{{\n 'to' | auiI18n\n }}</span>\n <input\n style=\"flex: 1\"\n aui-input\n [value]=\"$any(value || [])[1]?.format(format)\"\n [readonly]=\"true\"\n [size]=\"size\"\n (focus)=\"rightFocus = true\"\n (blur)=\"rightFocus = false; blur.next()\"\n [placeholder]=\"endPlaceholder || ('end_date' | auiI18n)\"\n />\n </ng-container>\n <ng-container *ngIf=\"!isRange\">\n <input\n aui-input\n auiTooltipType=\"plain\"\n [value]=\"$any(value)?.format(format)\"\n [readonly]=\"true\"\n #focusRef\n [size]=\"size\"\n auiTooltipType=\"info\"\n (focus)=\"centerFocus = true\"\n (blur)=\"centerFocus = false; blur.next()\"\n [placeholder]=\"placeholder || ('select_date' | auiI18n)\"\n />\n </ng-container>\n </span>\n <span [class]=\"bem.element('addon')\" (click)=\"focusInput()\">\n <aui-icon\n *ngIf=\"showClear; else calendar\"\n class=\"clear\"\n size=\"16px\"\n icon=\"close_small\"\n (click)=\"$event.stopImmediatePropagation(); this.clear.next()\"\n ></aui-icon>\n <ng-template #calendar>\n <aui-icon icon=\"calendar\"></aui-icon>\n </ng-template>\n </span>\n</div>\n", styles: ["@charset \"UTF-8\";aui-range-picker.ng-invalid.ng-submitted .aui-date-picker-trigger__container,aui-range-picker.ng-invalid.ng-dirty .aui-date-picker-trigger__container,aui-date-picker.ng-invalid.ng-submitted .aui-date-picker-trigger__container,aui-date-picker.ng-invalid.ng-dirty .aui-date-picker-trigger__container{border-color:rgb(var(--aui-color-red))!important}aui-range-picker.ng-invalid.ng-submitted .aui-date-picker-trigger__container:focus,aui-range-picker.ng-invalid.ng-submitted .aui-date-picker-trigger__container.isFocused,aui-range-picker.ng-invalid.ng-dirty .aui-date-picker-trigger__container:focus,aui-range-picker.ng-invalid.ng-dirty .aui-date-picker-trigger__container.isFocused,aui-date-picker.ng-invalid.ng-submitted .aui-date-picker-trigger__container:focus,aui-date-picker.ng-invalid.ng-submitted .aui-date-picker-trigger__container.isFocused,aui-date-picker.ng-invalid.ng-dirty .aui-date-picker-trigger__container:focus,aui-date-picker.ng-invalid.ng-dirty .aui-date-picker-trigger__container.isFocused{box-shadow:0 0 0 2px rgba(var(--aui-color-red),.16)}:host{display:block}.aui-date-picker-trigger__container{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;border:1px solid rgb(var(--aui-color-n-7));position:relative;width:100%;background-color:rgb(var(--aui-color-n-9));border-radius:var(--aui-border-radius-m)}.aui-date-picker-trigger__container:hover:not(.disabled){border-color:rgb(var(--aui-color-primary));cursor:pointer}.aui-date-picker-trigger__container .aui-input--medium{height:30px}.aui-date-picker-trigger__container .aui-input--large{height:38px}.aui-date-picker-trigger__container .aui-input--small{height:26px}.aui-date-picker-trigger__container .aui-input--mini{height:22px}.aui-date-picker-trigger__container.isFocused:not(.disabled){border-color:rgb(var(--aui-color-primary));box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}.aui-date-picker-trigger__container .aui-input{border:none;background-color:transparent!important}.aui-date-picker-trigger__container .aui-input:hover{cursor:pointer}.aui-date-picker-trigger__container .aui-input:focus{outline:none;box-shadow:none}.aui-date-picker-trigger__container.disabled{background:rgb(var(--aui-color-n-8));border:1px solid rgb(var(--aui-color-n-7))!important}.aui-date-picker-trigger__container.disabled .aui-input{background:transparent;cursor:not-allowed;color:rgb(var(--aui-color-n-7))}.aui-date-picker-trigger__container.disabled:hover{cursor:not-allowed}.aui-date-picker-trigger__content{flex:1;display:flex;align-items:center}.aui-date-picker-trigger__content .placeholder{color:rgb(var(--aui-color-n-6))}.aui-date-picker-trigger__addon{color:rgb(var(--aui-color-help-text));margin-right:8px;font-size:16px;width:16px;height:16px;line-height:16px}.aui-date-picker-trigger__addon .clear{display:inline-flex;border-radius:50%;color:rgb(var(--aui-color-help-text));cursor:pointer;transition:all .3s ease}.aui-date-picker-trigger__addon .clear:hover{color:#fff;background-color:rgb(var(--aui-color-help-text))}\n"] }]
|
|
43
|
-
}], ctorParameters: function () { return []; }, propDecorators: { format: [{
|
|
44
|
-
type: Input
|
|
45
|
-
}], size: [{
|
|
46
|
-
type: Input
|
|
47
|
-
}], isRange: [{
|
|
48
|
-
type: Input
|
|
49
|
-
}], value: [{
|
|
50
|
-
type: Input
|
|
51
|
-
}], clearable: [{
|
|
52
|
-
type: Input
|
|
53
|
-
}], placeholder: [{
|
|
54
|
-
type: Input
|
|
55
|
-
}], startPlaceholder: [{
|
|
56
|
-
type: Input
|
|
57
|
-
}], endPlaceholder: [{
|
|
58
|
-
type: Input
|
|
59
|
-
}], disabled: [{
|
|
60
|
-
type: Input
|
|
61
|
-
}], blur: [{
|
|
62
|
-
type: Output
|
|
63
|
-
}], clear: [{
|
|
64
|
-
type: Output
|
|
65
|
-
}], focusInputRef: [{
|
|
66
|
-
type: ViewChild,
|
|
67
|
-
args: ['focusRef', { static: false }]
|
|
68
|
-
}] } });
|
|
69
|
-
//# s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+PC9hdWktaWNvbj5cbiAgICA8L25nLXRlbXBsYXRlPlxuICA8L3NwYW4+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ViewEncapsulation, } from '@angular/core';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { first } from 'rxjs/operators';
|
|
4
|
-
import { buildBem } from '../../utils';
|
|
5
|
-
import { ConfirmType, } from '../dialog.types';
|
|
6
|
-
import { ConfirmDialogConfig } from './confirm-dialog-config';
|
|
7
|
-
import * as i0 from "@angular/core";
|
|
8
|
-
import * as i1 from "../dialog-ref";
|
|
9
|
-
import * as i2 from "../../icon/icon.component";
|
|
10
|
-
import * as i3 from "../../button/button.component";
|
|
11
|
-
import * as i4 from "@angular/common";
|
|
12
|
-
export class ConfirmDialogComponent {
|
|
13
|
-
constructor(dialogRef, cdr) {
|
|
14
|
-
this.dialogRef = dialogRef;
|
|
15
|
-
this.cdr = cdr;
|
|
16
|
-
this.bem = buildBem('aui-confirm-dialog');
|
|
17
|
-
this.waitConfirm = false;
|
|
18
|
-
this.waitCancel = false;
|
|
19
|
-
}
|
|
20
|
-
setConfig(config) {
|
|
21
|
-
this.config = { ...new ConfirmDialogConfig(), ...config };
|
|
22
|
-
}
|
|
23
|
-
iconMap(type) {
|
|
24
|
-
switch (type) {
|
|
25
|
-
case ConfirmType.Success:
|
|
26
|
-
return 'check_circle_s';
|
|
27
|
-
case ConfirmType.Danger:
|
|
28
|
-
return 'exclamation_triangle_s';
|
|
29
|
-
case ConfirmType.Primary:
|
|
30
|
-
case ConfirmType.Warning:
|
|
31
|
-
default:
|
|
32
|
-
return 'exclamation_circle_s';
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
async confirm() {
|
|
36
|
-
if (!this.config.beforeConfirm) {
|
|
37
|
-
this.dialogRef.close({ confirm: true, result: null });
|
|
38
|
-
return;
|
|
39
|
-
}
|
|
40
|
-
this.waitConfirm = true;
|
|
41
|
-
try {
|
|
42
|
-
const result = await this.toPromise(this.config.beforeConfirm);
|
|
43
|
-
this.dialogRef.close({ confirm: true, result });
|
|
44
|
-
}
|
|
45
|
-
catch {
|
|
46
|
-
}
|
|
47
|
-
finally {
|
|
48
|
-
this.waitConfirm = false;
|
|
49
|
-
this.cdr.markForCheck();
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
async cancel() {
|
|
53
|
-
if (!this.config.beforeCancel) {
|
|
54
|
-
this.dialogRef.close({ confirm: false, result: null });
|
|
55
|
-
return;
|
|
56
|
-
}
|
|
57
|
-
this.waitCancel = true;
|
|
58
|
-
try {
|
|
59
|
-
const result = await this.toPromise(this.config.beforeCancel);
|
|
60
|
-
this.dialogRef.close({ confirm: false, result });
|
|
61
|
-
}
|
|
62
|
-
catch {
|
|
63
|
-
}
|
|
64
|
-
finally {
|
|
65
|
-
this.waitCancel = false;
|
|
66
|
-
this.cdr.markForCheck();
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
toPromise(beforeAction) {
|
|
70
|
-
if (beforeAction.length) {
|
|
71
|
-
return new Promise(beforeAction);
|
|
72
|
-
}
|
|
73
|
-
const result = beforeAction();
|
|
74
|
-
if (result instanceof Observable) {
|
|
75
|
-
return result.pipe(first()).toPromise();
|
|
76
|
-
}
|
|
77
|
-
return result;
|
|
78
|
-
}
|
|
79
|
-
}
|
|
80
|
-
ConfirmDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ConfirmDialogComponent, deps: [{ token: i1.DialogRef }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
81
|
-
ConfirmDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: ConfirmDialogComponent, selector: "aui-confirm-dialog", ngImport: i0, template: "<div [class]=\"bem.block()\">\n <div [class]=\"bem.element('title')\">\n <span [class]=\"bem.element('icon', config.confirmType + '')\">\n <aui-icon\n [icon]=\"iconMap(config.confirmType)\"\n [background]=\"\n iconMap(config.confirmType).endsWith('_triangle_s')\n ? 'triangle'\n : 'circle'\n \"\n ></aui-icon>\n </span>\n <span>{{ config.title }}</span>\n </div>\n <div [class]=\"bem.element('content')\">{{ config.content }}</div>\n <div [class]=\"bem.element('button-wrapper')\">\n <div>\n <button\n [aui-button]=\"config.confirmType\"\n [ngClass]=\"bem.element('confirm-button')\"\n [loading]=\"waitConfirm\"\n [disabled]=\"waitConfirm || waitCancel\"\n (click)=\"confirm()\"\n >\n {{ config.confirmText }}\n </button>\n <button\n *ngIf=\"config.cancelButton\"\n aui-button\n [ngClass]=\"bem.element('cancel-button')\"\n [loading]=\"waitCancel\"\n [disabled]=\"waitConfirm || waitCancel\"\n (click)=\"cancel()\"\n >\n {{ config.cancelText }}\n </button>\n </div>\n </div>\n</div>\n", styles: ["@charset \"UTF-8\";.aui-confirm-dialog{margin:auto;padding:32px 32px 20px;border-radius:var(--aui-border-radius-m);min-width:400px;max-width:600px;background-color:rgb(var(--aui-color-n-10))}.aui-confirm-dialog__title{margin-bottom:var(--aui-spacing-m);font-size:var(--aui-font-size-xl);line-height:var(--aui-line-height-xl);color:rgb(var(--aui-color-main-text));font-weight:var(--aui-font-weight-bold);display:flex;word-wrap:break-word;word-break:break-all}.aui-confirm-dialog__icon{margin-right:var(--aui-spacing-m);font-size:var(--aui-icon-size-xl)}.aui-confirm-dialog__icon--primary,.aui-confirm-dialog__icon--warning{color:rgb(var(--aui-color-yellow))}.aui-confirm-dialog__icon--success{color:rgb(var(--aui-color-green))}.aui-confirm-dialog__icon--danger{color:rgb(var(--aui-color-red))}.aui-confirm-dialog__content{padding-left:calc(var(--aui-spacing-m) + var(--aui-icon-size-xl));font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m);color:rgb(var(--aui-color-secondary-text));word-wrap:break-word;word-break:break-all}.aui-confirm-dialog__button-wrapper{margin:20px -12px 0 0;display:flex;flex-direction:row-reverse}\n"], components: [{ type: i2.IconComponent, selector: "aui-icon", inputs: ["icon", "light", "dark", "link", "margin", "size", "color", "background", "backgroundColor"] }, { type: i3.ButtonComponent, selector: "button[aui-button]", inputs: ["aui-button", "size", "plain", "loading", "round", "square"] }], directives: [{ type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
82
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: ConfirmDialogComponent, decorators: [{
|
|
83
|
-
type: Component,
|
|
84
|
-
args: [{ selector: 'aui-confirm-dialog', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, preserveWhitespaces: false, template: "<div [class]=\"bem.block()\">\n <div [class]=\"bem.element('title')\">\n <span [class]=\"bem.element('icon', config.confirmType + '')\">\n <aui-icon\n [icon]=\"iconMap(config.confirmType)\"\n [background]=\"\n iconMap(config.confirmType).endsWith('_triangle_s')\n ? 'triangle'\n : 'circle'\n \"\n ></aui-icon>\n </span>\n <span>{{ config.title }}</span>\n </div>\n <div [class]=\"bem.element('content')\">{{ config.content }}</div>\n <div [class]=\"bem.element('button-wrapper')\">\n <div>\n <button\n [aui-button]=\"config.confirmType\"\n [ngClass]=\"bem.element('confirm-button')\"\n [loading]=\"waitConfirm\"\n [disabled]=\"waitConfirm || waitCancel\"\n (click)=\"confirm()\"\n >\n {{ config.confirmText }}\n </button>\n <button\n *ngIf=\"config.cancelButton\"\n aui-button\n [ngClass]=\"bem.element('cancel-button')\"\n [loading]=\"waitCancel\"\n [disabled]=\"waitConfirm || waitCancel\"\n (click)=\"cancel()\"\n >\n {{ config.cancelText }}\n </button>\n </div>\n </div>\n</div>\n", styles: ["@charset \"UTF-8\";.aui-confirm-dialog{margin:auto;padding:32px 32px 20px;border-radius:var(--aui-border-radius-m);min-width:400px;max-width:600px;background-color:rgb(var(--aui-color-n-10))}.aui-confirm-dialog__title{margin-bottom:var(--aui-spacing-m);font-size:var(--aui-font-size-xl);line-height:var(--aui-line-height-xl);color:rgb(var(--aui-color-main-text));font-weight:var(--aui-font-weight-bold);display:flex;word-wrap:break-word;word-break:break-all}.aui-confirm-dialog__icon{margin-right:var(--aui-spacing-m);font-size:var(--aui-icon-size-xl)}.aui-confirm-dialog__icon--primary,.aui-confirm-dialog__icon--warning{color:rgb(var(--aui-color-yellow))}.aui-confirm-dialog__icon--success{color:rgb(var(--aui-color-green))}.aui-confirm-dialog__icon--danger{color:rgb(var(--aui-color-red))}.aui-confirm-dialog__content{padding-left:calc(var(--aui-spacing-m) + var(--aui-icon-size-xl));font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m);color:rgb(var(--aui-color-secondary-text));word-wrap:break-word;word-break:break-all}.aui-confirm-dialog__button-wrapper{margin:20px -12px 0 0;display:flex;flex-direction:row-reverse}\n"] }]
|
|
85
|
-
}], ctorParameters: function () { return [{ type: i1.DialogRef }, { type: i0.ChangeDetectorRef }]; } });
|
|
86
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlybS1kaWFsb2cuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2RpYWxvZy9jb25maXJtLWRpYWxvZy9jb25maXJtLWRpYWxvZy5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi9zcmMvZGlhbG9nL2NvbmZpcm0tZGlhbG9nL2NvbmZpcm0tZGlhbG9nLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFFdkIsU0FBUyxFQUNULGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUF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G9hZGluZ109XCJ3YWl0Q29uZmlybVwiXG4gICAgICAgIFtkaXNhYmxlZF09XCJ3YWl0Q29uZmlybSB8fCB3YWl0Q2FuY2VsXCJcbiAgICAgICAgKGNsaWNrKT1cImNvbmZpcm0oKVwiXG4gICAgICA+XG4gICAgICAgIHt7IGNvbmZpZy5jb25maXJtVGV4dCB9fVxuICAgICAgPC9idXR0b24+XG4gICAgICA8YnV0dG9uXG4gICAgICAgICpuZ0lmPVwiY29uZmlnLmNhbmNlbEJ1dHRvblwiXG4gICAgICAgIGF1aS1idXR0b25cbiAgICAgICAgW25nQ2xhc3NdPVwiYmVtLmVsZW1lbnQoJ2NhbmNlbC1idXR0b24nKVwiXG4gICAgICAgIFtsb2FkaW5nXT1cIndhaXRDYW5jZWxcIlxuICAgICAgICBbZGlzYWJsZWRdPVwid2FpdENvbmZpcm0gfHwgd2FpdENhbmNlbFwiXG4gICAgICAgIChjbGljayk9XCJjYW5jZWwoKVwiXG4gICAgICA+XG4gICAgICAgIHt7IGNvbmZpZy5jYW5jZWxUZXh0IH19XG4gICAgICA8L2J1dHRvbj5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { Directive, HostListener, Input, Optional, } from '@angular/core';
|
|
2
|
-
import { getClosestDialog } from '../utils';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "../dialog-ref";
|
|
5
|
-
import * as i2 from "../dialog.service";
|
|
6
|
-
export class DialogCloseDirective {
|
|
7
|
-
constructor(dialogRef, elementRef, dialogService) {
|
|
8
|
-
this.dialogRef = dialogRef;
|
|
9
|
-
this.elementRef = elementRef;
|
|
10
|
-
this.dialogService = dialogService;
|
|
11
|
-
}
|
|
12
|
-
ngOnInit() {
|
|
13
|
-
if (!this.dialogRef) {
|
|
14
|
-
this.dialogRef = getClosestDialog(this.elementRef, this.dialogService.openDialogs);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
closeDialog() {
|
|
18
|
-
this.dialogRef.close(this.result);
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
DialogCloseDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DialogCloseDirective, deps: [{ token: i1.DialogRef, optional: true }, { token: i0.ElementRef }, { token: i2.DialogService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
22
|
-
DialogCloseDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.2.3", type: DialogCloseDirective, selector: "button[auiDialogClose]", inputs: { result: ["auiDialogClose", "result"] }, host: { listeners: { "click": "closeDialog()" } }, exportAs: ["auiDialogClose"], ngImport: i0 });
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DialogCloseDirective, decorators: [{
|
|
24
|
-
type: Directive,
|
|
25
|
-
args: [{
|
|
26
|
-
selector: 'button[auiDialogClose]',
|
|
27
|
-
exportAs: 'auiDialogClose',
|
|
28
|
-
}]
|
|
29
|
-
}], ctorParameters: function () { return [{ type: i1.DialogRef, decorators: [{
|
|
30
|
-
type: Optional
|
|
31
|
-
}] }, { type: i0.ElementRef }, { type: i2.DialogService }]; }, propDecorators: { result: [{
|
|
32
|
-
type: Input,
|
|
33
|
-
args: ['auiDialogClose']
|
|
34
|
-
}], closeDialog: [{
|
|
35
|
-
type: HostListener,
|
|
36
|
-
args: ['click']
|
|
37
|
-
}] } });
|
|
38
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbG9nLWNsb3NlLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9kaWFsb2cvZGlhbG9nLWNvbnRlbnQvZGlhbG9nLWNsb3NlLmRpcmVjdGl2ZS50cyJdLCJuYW1l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ZGlhbG9nUmVmLmNsb3NlKHRoaXMucmVzdWx0KTtcbiAgfVxufVxuIl19
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { CdkScrollable } from '@angular/cdk/overlay';
|
|
2
|
-
import { ChangeDetectionStrategy, Component, ViewEncapsulation, } from '@angular/core';
|
|
3
|
-
import { buildBem } from '../../utils';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "@angular/cdk/overlay";
|
|
6
|
-
import * as i2 from "@angular/cdk/bidi";
|
|
7
|
-
export class DialogContentComponent extends CdkScrollable {
|
|
8
|
-
// eslint-disable-next-line @typescript-eslint/no-useless-constructor
|
|
9
|
-
constructor(elementRef, scrollDispatcher, ngZone, dir) {
|
|
10
|
-
super(elementRef, scrollDispatcher, ngZone, dir);
|
|
11
|
-
this.bem = buildBem('aui-dialog');
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
DialogContentComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DialogContentComponent, deps: [{ token: i0.ElementRef }, { token: i1.ScrollDispatcher }, { token: i0.NgZone }, { token: i2.Directionality }], target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
-
DialogContentComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: DialogContentComponent, selector: "aui-dialog-content", usesInheritance: true, ngImport: i0, template: "<div [class]=\"bem.element('content')\"><ng-content></ng-content></div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DialogContentComponent, decorators: [{
|
|
17
|
-
type: Component,
|
|
18
|
-
args: [{ selector: 'aui-dialog-content', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, template: "<div [class]=\"bem.element('content')\"><ng-content></ng-content></div>\n" }]
|
|
19
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: i1.ScrollDispatcher }, { type: i0.NgZone }, { type: i2.Directionality }]; } });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbG9nLWNvbnRlbnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2RpYWxvZy9kaWFsb2ctY29udGVudC9kaWFsb2ctY29udGVudC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi9zcmMvZGlhbG9nL2RpYWxvZy1jb250ZW50L2RpYWxvZy1jb250ZW50LmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBRSxhQUFhLEVBQW9CLE1BQU0sc0JBQXNCLENBQUM7QUFDdkUsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBR1QsaUJBQWlCLEdBQ2xCLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFBTyxRQUFRLEVBQUUsTUFBTSxhQUFhLENBQUM7Ozs7QUFTNUMsTUFBTSxPQUFPLHNCQUF1QixTQUFRLGFBQWE7SUFHdkQscUVBQXFFO0lBQ3JFLFlBQ0UsVUFBbUMsRUFDbkMsZ0JBQWtDLEVBQ2xDLE1BQWMsRUFDZCxHQUFvQjtRQUVwQixLQUFLLENBQUMsVUFBVSxFQUFFLGdCQUFnQixFQUFFLE1BQU0sRUFBRSxHQUFHLENBQUMsQ0FBQztRQVRuRCxRQUFHLEdBQVEsUUFBUSxDQUFDLFlBQVksQ0FBQyxDQUFDO0lBVWxDLENBQUM7O21IQVhVLHNCQUFzQjt1R0FBdEIsc0JBQXNCLGlGQ25CbkMsMkVBQ0E7MkZEa0JhLHNCQUFzQjtrQkFQbEMsU0FBUzsrQkFDRSxvQkFBb0IsaUJBRWYs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biAgICBlbGVtZW50UmVmOiBFbGVtZW50UmVmPEhUTUxFbGVtZW50PixcbiAgICBzY3JvbGxEaXNwYXRjaGVyOiBTY3JvbGxEaXNwYXRjaGVyLFxuICAgIG5nWm9uZTogTmdab25lLFxuICAgIGRpcj86IERpcmVjdGlvbmFsaXR5LFxuICApIHtcbiAgICBzdXBlcihlbGVtZW50UmVmLCBzY3JvbGxEaXNwYXRjaGVyLCBuZ1pvbmUsIGRpcik7XG4gIH1cbn1cbiIsIjxkaXYgW2NsYXNzXT1cImJlbS5lbGVtZW50KCdjb250ZW50JylcIj48bmctY29udGVudD48L25nLWNvbnRlbnQ+PC9kaXY+XG4iXX0=
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, ViewEncapsulation, } from '@angular/core';
|
|
2
|
-
import { buildBem } from '../../utils';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export class DialogFooterComponent {
|
|
5
|
-
constructor() {
|
|
6
|
-
this.bem = buildBem('aui-dialog');
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
DialogFooterComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DialogFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
10
|
-
DialogFooterComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: DialogFooterComponent, selector: "aui-dialog-footer", ngImport: i0, template: "<div [class]=\"bem.element('footer')\"><ng-content></ng-content></div>\n", changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DialogFooterComponent, decorators: [{
|
|
12
|
-
type: Component,
|
|
13
|
-
args: [{ selector: 'aui-dialog-footer', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, template: "<div [class]=\"bem.element('footer')\"><ng-content></ng-content></div>\n" }]
|
|
14
|
-
}] });
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbG9nLWZvb3Rlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZGlhbG9nL2RpYWxvZy1jb250ZW50L2RpYWxvZy1mb290ZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vc3JjL2RpYWxvZy9kaWFsb2ctY29udGVudC9kaWFsb2ctZm9vdGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQztBQUV2QixPQUFPLEVBQU8sUUFBUSxFQUFFLE1BQU0sYUFBYSxDQUFDOztBQVM1QyxNQUFNLE9BQU8scUJBQXFCO0lBUGxDO1FBUUUsUUFBRyxHQUFRLFFBQVEsQ0FBQyxZQUFZLENBQUMsQ0FBQztLQUNuQzs7a0hBRlkscUJBQXFCO3NHQUFyQixxQkFBcUIseURDZmxDLDBFQUNBOzJGRGNhLHFCQUFxQjtrQkFQakMsU0FBUzsrQkFDRSxtQkFBbUIsaUJBRWQsaUJBQWlCLENBQUMsSUFBSSxtQkFDcEIsdUJBQXVCLENBQUMsTUFBTSx1QkFDMUIsS0FBSyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7XG4gIENoYW5nZURldGVjdGlvblN0cmF0ZWd5LFxuICBDb21wb25lbnQsXG4gIFZpZXdFbmNhcHN1bGF0aW9uLFxufSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuaW1wb3J0IHsgQmVtLCBidWlsZEJlbSB9IGZyb20gJy4uLy4uL3V0aWxzJztcblxuQENvbXBvbmVudCh7XG4gIHNlbGVjdG9yOiAnYXVpLWRpYWxvZy1mb290ZXInLFxuICB0ZW1wbGF0ZVVybDogJy4vZGlhbG9nLWZvb3Rlci5jb21wb25lbnQuaHRtbCcsXG4gIGVuY2Fwc3VsYXRpb246IFZpZXdFbmNhcHN1bGF0aW9uLk5vbmUsXG4gIGNoYW5nZURldGVjdGlvbjogQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3kuT25QdXNoLFxuICBwcmVzZXJ2ZVdoaXRlc3BhY2VzOiBmYWxzZSxcbn0pXG5leHBvcnQgY2xhc3MgRGlhbG9nRm9vdGVyQ29tcG9uZW50IHtcbiAgYmVtOiBCZW0gPSBidWlsZEJlbSgnYXVpLWRpYWxvZycpO1xufVxuIiwiPGRpdiBbY2xhc3NdPVwiYmVtLmVsZW1lbnQoJ2Zvb3RlcicpXCI+PG5nLWNvbnRlbnQ+PC9uZy1jb250ZW50PjwvZGl2PlxuIl19
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectionStrategy, Component, Input, Optional, ViewEncapsulation, } from '@angular/core';
|
|
2
|
-
import { buildBem } from '../../utils';
|
|
3
|
-
import { getClosestDialog } from '../utils';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../dialog-ref";
|
|
6
|
-
import * as i2 from "../dialog.service";
|
|
7
|
-
import * as i3 from "../../icon/icon.component";
|
|
8
|
-
import * as i4 from "@angular/common";
|
|
9
|
-
export class DialogHeaderComponent {
|
|
10
|
-
constructor(dialogRef, elementRef, dialogService) {
|
|
11
|
-
this.dialogRef = dialogRef;
|
|
12
|
-
this.elementRef = elementRef;
|
|
13
|
-
this.dialogService = dialogService;
|
|
14
|
-
this.bem = buildBem('aui-dialog');
|
|
15
|
-
this.divider = true;
|
|
16
|
-
this.closeable = true;
|
|
17
|
-
this.result = false;
|
|
18
|
-
}
|
|
19
|
-
ngOnInit() {
|
|
20
|
-
if (!this.dialogRef) {
|
|
21
|
-
this.dialogRef = getClosestDialog(this.elementRef, this.dialogService.openDialogs);
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
DialogHeaderComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DialogHeaderComponent, deps: [{ token: i1.DialogRef, optional: true }, { token: i0.ElementRef }, { token: i2.DialogService }], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
-
DialogHeaderComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: DialogHeaderComponent, selector: "aui-dialog-header", inputs: { divider: "divider", closeable: "closeable", result: "result" }, ngImport: i0, template: "<div [class]=\"bem.element('header')\" [class.hasDivider]=\"divider\">\n <div [class]=\"bem.element('header-title')\"><ng-content></ng-content></div>\n <div\n *ngIf=\"closeable\"\n [class]=\"bem.element('header-close')\"\n (click)=\"dialogRef.close(result)\"\n >\n <aui-icon icon=\"close\"></aui-icon>\n </div>\n</div>\n", components: [{ type: i3.IconComponent, selector: "aui-icon", inputs: ["icon", "light", "dark", "link", "margin", "size", "color", "background", "backgroundColor"] }], directives: [{ type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DialogHeaderComponent, decorators: [{
|
|
28
|
-
type: Component,
|
|
29
|
-
args: [{ selector: 'aui-dialog-header', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, template: "<div [class]=\"bem.element('header')\" [class.hasDivider]=\"divider\">\n <div [class]=\"bem.element('header-title')\"><ng-content></ng-content></div>\n <div\n *ngIf=\"closeable\"\n [class]=\"bem.element('header-close')\"\n (click)=\"dialogRef.close(result)\"\n >\n <aui-icon icon=\"close\"></aui-icon>\n </div>\n</div>\n" }]
|
|
30
|
-
}], ctorParameters: function () { return [{ type: i1.DialogRef, decorators: [{
|
|
31
|
-
type: Optional
|
|
32
|
-
}] }, { type: i0.ElementRef }, { type: i2.DialogService }]; }, propDecorators: { divider: [{
|
|
33
|
-
type: Input
|
|
34
|
-
}], closeable: [{
|
|
35
|
-
type: Input
|
|
36
|
-
}], result: [{
|
|
37
|
-
type: Input
|
|
38
|
-
}] } });
|
|
39
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbG9nLWhlYWRlci5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZGlhbG9nL2RpYWxvZy1jb250ZW50L2RpYWxvZy1oZWFkZXIuY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vc3JjL2RpYWxvZy9kaWFsb2ctY29udGVudC9kaWFsb2ctaGVhZGVyLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUVULEtBQUssRUFFTCxRQUFRLEVBQ1IsaUJBQWlCLEdBQ2xCLE1BQU0sZUFBZSxDQUFDO0FBRXZCLE9BQU8sRUFBTyxRQUFRLEVBQUUsTUFBTSxhQUFhLENBQUM7QUFHNUMsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sVUFBVSxDQUFDOzs7Ozs7QUFTNUMsTUFBTSxPQUFPLHFCQUFxQjtJQVloQyxZQUNxQixTQUF5QixFQUMzQixVQUFzQixFQUN0QixhQUE0QjtRQUYxQixjQUFTLEdBQVQsU0FBUyxDQUFnQjtRQUMzQixlQUFVLEdBQVYsVUFBVSxDQUFZO1FBQ3RCLGtCQUFhLEdBQWIsYUFBYSxDQUFlO1FBZC9DLFFBQUcsR0FBUSxRQUFRLENBQUMsWUFBWSxDQU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4gICAgfVxuICB9XG59XG4iLCI8ZGl2IFtjbGFzc109XCJiZW0uZWxlbWVudCgnaGVhZGVyJylcIiBbY2xhc3MuaGFzRGl2aWRlcl09XCJkaXZpZGVyXCI+XG4gIDxkaXYgW2NsYXNzXT1cImJlbS5lbGVtZW50KCdoZWFkZXItdGl0bGUnKVwiPjxuZy1jb250ZW50PjwvbmctY29udGVudD48L2Rpdj5cbiAgPGRpdlxuICAgICpuZ0lmPVwiY2xvc2VhYmxlXCJcbiAgICBbY2xhc3NdPVwiYmVtLmVsZW1lbnQoJ2hlYWRlci1jbG9zZScpXCJcbiAgICAoY2xpY2spPVwiZGlhbG9nUmVmLmNsb3NlKHJlc3VsdClcIlxuICA+XG4gICAgPGF1aS1pY29uIGljb249XCJjbG9zZVwiPjwvYXVpLWljb24+XG4gIDwvZGl2PlxuPC9kaXY+XG4iXX0=
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { CdkPortalOutlet, } from '@angular/cdk/portal';
|
|
2
|
-
import { ChangeDetectionStrategy, Component, ViewChild, ViewEncapsulation, } from '@angular/core';
|
|
3
|
-
import { buildBem } from '../utils';
|
|
4
|
-
import { throwDialogContentAlreadyAttachedError } from './utils';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "@angular/common";
|
|
7
|
-
import * as i2 from "@angular/cdk/portal";
|
|
8
|
-
export class DialogComponent {
|
|
9
|
-
constructor(elementRef) {
|
|
10
|
-
this.elementRef = elementRef;
|
|
11
|
-
this.bem = buildBem('aui-dialog');
|
|
12
|
-
this.hidden = false;
|
|
13
|
-
}
|
|
14
|
-
get id() {
|
|
15
|
-
return this._id;
|
|
16
|
-
}
|
|
17
|
-
set id(value) {
|
|
18
|
-
this.elementRef.nativeElement.dataset.id = value;
|
|
19
|
-
}
|
|
20
|
-
get rootClass() {
|
|
21
|
-
return `${this.bem.block(this.config.size)} ${this.config.fitViewport ? this.bem.modifier('fit-viewport') : ''}`;
|
|
22
|
-
}
|
|
23
|
-
get customStyle() {
|
|
24
|
-
return this.hidden
|
|
25
|
-
? {
|
|
26
|
-
display: 'none',
|
|
27
|
-
}
|
|
28
|
-
: {};
|
|
29
|
-
}
|
|
30
|
-
attachComponentPortal(portal) {
|
|
31
|
-
if (this.portalOutlet.hasAttached()) {
|
|
32
|
-
throwDialogContentAlreadyAttachedError();
|
|
33
|
-
}
|
|
34
|
-
this.blurActiveElement();
|
|
35
|
-
return this.portalOutlet.attachComponentPortal(portal);
|
|
36
|
-
}
|
|
37
|
-
attachTemplatePortal(portal) {
|
|
38
|
-
if (this.portalOutlet.hasAttached()) {
|
|
39
|
-
throwDialogContentAlreadyAttachedError();
|
|
40
|
-
}
|
|
41
|
-
this.blurActiveElement();
|
|
42
|
-
return this.portalOutlet.attachTemplatePortal(portal);
|
|
43
|
-
}
|
|
44
|
-
blurActiveElement() {
|
|
45
|
-
if (document) {
|
|
46
|
-
document.activeElement.blur();
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
DialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DialogComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
51
|
-
DialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.2.3", type: DialogComponent, selector: "aui-dialog", viewQueries: [{ propertyName: "portalOutlet", first: true, predicate: CdkPortalOutlet, descendants: true, static: true }], ngImport: i0, template: "<div [ngClass]=\"rootClass\" [ngStyle]=\"customStyle\">\n <ng-template cdkPortalOutlet></ng-template>\n</div>\n", styles: ["@charset \"UTF-8\";.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}:root .cdk-overlay-backdrop.cdk-overlay-backdrop-showing.aui-dialog-backdrop{background-color:rgba(var(--aui-color-origin-shadow),.4)}html[aui-theme-mode=light] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing.aui-dialog-backdrop{background-color:rgba(var(--aui-color-origin-shadow),.4)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing.aui-dialog-backdrop{background-color:rgba(var(--aui-color-origin-shadow),.65)}}html[aui-theme-mode=dark] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing.aui-dialog-backdrop{background-color:rgba(var(--aui-color-origin-shadow),.65)}.cdk-overlay-pane.aui-dialog-overlay-pane{justify-content:center;overflow:auto}.cdk-overlay-pane.aui-dialog-overlay-pane::-webkit-scrollbar{width:4px;height:4px}.cdk-overlay-pane.aui-dialog-overlay-pane::-webkit-scrollbar-thumb{background-color:#0000004d}.aui-dialog{margin:18vh auto 20px;display:flex;flex-direction:column;background-color:rgb(var(--aui-color-n-10));border-radius:var(--aui-border-radius-l);font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m);color:rgb(var(--aui-color-main-text))}:root .aui-dialog{box-shadow:0 2px 8px 0 rgba(var(--aui-color-origin-shadow),.2)}html[aui-theme-mode=light] .aui-dialog{box-shadow:0 2px 8px 0 rgba(var(--aui-color-origin-shadow),.2)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-dialog{box-shadow:0 4px 16px 0 rgba(var(--aui-color-origin-shadow),.75)}}html[aui-theme-mode=dark] .aui-dialog{box-shadow:0 4px 16px 0 rgba(var(--aui-color-origin-shadow),.75)}.aui-dialog aui-dialog-content{height:100%;overflow:auto}.aui-dialog aui-dialog-content::-webkit-scrollbar{width:4px;height:4px}.aui-dialog aui-dialog-content::-webkit-scrollbar-thumb{background-color:#0000004d}.aui-dialog aui-dialog-content:first-child .aui-dialog__content{padding-top:20px}.aui-dialog aui-dialog-content:last-child .aui-dialog__content{padding-bottom:20px}.aui-dialog__header{margin:0 20px;padding:20px 0 16px;display:flex;justify-content:space-between}.aui-dialog__header.hasDivider{margin-bottom:16px;border-bottom:1px solid rgb(var(--aui-color-n-8))}.aui-dialog__header-title{width:100%;font-size:var(--aui-font-size-xl);line-height:var(--aui-line-height-xl);color:rgb(var(--aui-color-main-text));font-weight:var(--aui-font-weight-bold)}.aui-dialog__header-title>aui-icon:first-child{font-size:var(--aui-icon-size-xl);margin-right:var(--aui-spacing-m)}.aui-dialog__header-title>aui-icon:first-child[icon=info_circle_s]{color:rgb(var(--aui-color-primary))}.aui-dialog__header-title>aui-icon:first-child[icon=check_circle_s]{color:rgb(var(--aui-color-green))}.aui-dialog__header-title>aui-icon:first-child[icon=exclamation_circle_s]{color:rgb(var(--aui-color-yellow))}.aui-dialog__header-title>aui-icon:first-child[icon=exclamation_triangle_s]{color:rgb(var(--aui-color-red))}.aui-dialog__header-close{margin-left:var(--aui-spacing-xl);line-height:var(--aui-line-height-xl);font-size:var(--aui-font-size-l);color:rgb(var(--aui-color-n-4));cursor:pointer}.aui-dialog__header-close:hover{color:rgb(var(--aui-color-primary))}.aui-dialog__content{padding:0 20px;min-height:80px}.aui-dialog__footer{padding:20px;display:flex;justify-content:flex-end}.aui-dialog--small{width:400px}.aui-dialog--medium{width:600px}.aui-dialog--big{width:800px}.aui-dialog--large{width:960px}.aui-dialog--fit-content{width:-moz-fit-content;width:fit-content}.aui-dialog--fullscreen{width:90vw;height:calc(100vh - 40px);margin:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.aui-dialog--fit-viewport{max-width:90vw;max-height:calc(100vh - 40px);margin:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.aui-dialog--fit-viewport .aui-dialog__header{margin:0;padding:20px 20px 16px;border-bottom:1px solid rgb(var(--aui-color-n-8))}.aui-dialog--fit-viewport .aui-dialog__footer{padding-top:16px;border-top:1px solid rgb(var(--aui-color-n-8))}.aui-dialog--fit-viewport aui-dialog-content:not(:first-child) .aui-dialog__content{padding-top:16px}.aui-dialog--fit-viewport aui-dialog-content:not(:last-child) .aui-dialog__content{padding-bottom:16px}.aui-dialog--fit-viewport>ng-component{display:flex;flex-direction:column;overflow:auto}.aui-dialog--fit-viewport>ng-component:after{clear:both}\n"], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i1.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i2.CdkPortalOutlet, selector: "[cdkPortalOutlet]", inputs: ["cdkPortalOutlet"], outputs: ["attached"], exportAs: ["cdkPortalOutlet"] }], changeDetection: i0.ChangeDetectionStrategy.Default, encapsulation: i0.ViewEncapsulation.None });
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DialogComponent, decorators: [{
|
|
53
|
-
type: Component,
|
|
54
|
-
args: [{ selector: 'aui-dialog', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.Default, preserveWhitespaces: false, template: "<div [ngClass]=\"rootClass\" [ngStyle]=\"customStyle\">\n <ng-template cdkPortalOutlet></ng-template>\n</div>\n", styles: ["@charset \"UTF-8\";.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}.cdk-overlay-transparent-backdrop,.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}:root .cdk-overlay-backdrop.cdk-overlay-backdrop-showing.aui-dialog-backdrop{background-color:rgba(var(--aui-color-origin-shadow),.4)}html[aui-theme-mode=light] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing.aui-dialog-backdrop{background-color:rgba(var(--aui-color-origin-shadow),.4)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing.aui-dialog-backdrop{background-color:rgba(var(--aui-color-origin-shadow),.65)}}html[aui-theme-mode=dark] .cdk-overlay-backdrop.cdk-overlay-backdrop-showing.aui-dialog-backdrop{background-color:rgba(var(--aui-color-origin-shadow),.65)}.cdk-overlay-pane.aui-dialog-overlay-pane{justify-content:center;overflow:auto}.cdk-overlay-pane.aui-dialog-overlay-pane::-webkit-scrollbar{width:4px;height:4px}.cdk-overlay-pane.aui-dialog-overlay-pane::-webkit-scrollbar-thumb{background-color:#0000004d}.aui-dialog{margin:18vh auto 20px;display:flex;flex-direction:column;background-color:rgb(var(--aui-color-n-10));border-radius:var(--aui-border-radius-l);font-size:var(--aui-font-size-m);line-height:var(--aui-line-height-m);color:rgb(var(--aui-color-main-text))}:root .aui-dialog{box-shadow:0 2px 8px 0 rgba(var(--aui-color-origin-shadow),.2)}html[aui-theme-mode=light] .aui-dialog{box-shadow:0 2px 8px 0 rgba(var(--aui-color-origin-shadow),.2)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-dialog{box-shadow:0 4px 16px 0 rgba(var(--aui-color-origin-shadow),.75)}}html[aui-theme-mode=dark] .aui-dialog{box-shadow:0 4px 16px 0 rgba(var(--aui-color-origin-shadow),.75)}.aui-dialog aui-dialog-content{height:100%;overflow:auto}.aui-dialog aui-dialog-content::-webkit-scrollbar{width:4px;height:4px}.aui-dialog aui-dialog-content::-webkit-scrollbar-thumb{background-color:#0000004d}.aui-dialog aui-dialog-content:first-child .aui-dialog__content{padding-top:20px}.aui-dialog aui-dialog-content:last-child .aui-dialog__content{padding-bottom:20px}.aui-dialog__header{margin:0 20px;padding:20px 0 16px;display:flex;justify-content:space-between}.aui-dialog__header.hasDivider{margin-bottom:16px;border-bottom:1px solid rgb(var(--aui-color-n-8))}.aui-dialog__header-title{width:100%;font-size:var(--aui-font-size-xl);line-height:var(--aui-line-height-xl);color:rgb(var(--aui-color-main-text));font-weight:var(--aui-font-weight-bold)}.aui-dialog__header-title>aui-icon:first-child{font-size:var(--aui-icon-size-xl);margin-right:var(--aui-spacing-m)}.aui-dialog__header-title>aui-icon:first-child[icon=info_circle_s]{color:rgb(var(--aui-color-primary))}.aui-dialog__header-title>aui-icon:first-child[icon=check_circle_s]{color:rgb(var(--aui-color-green))}.aui-dialog__header-title>aui-icon:first-child[icon=exclamation_circle_s]{color:rgb(var(--aui-color-yellow))}.aui-dialog__header-title>aui-icon:first-child[icon=exclamation_triangle_s]{color:rgb(var(--aui-color-red))}.aui-dialog__header-close{margin-left:var(--aui-spacing-xl);line-height:var(--aui-line-height-xl);font-size:var(--aui-font-size-l);color:rgb(var(--aui-color-n-4));cursor:pointer}.aui-dialog__header-close:hover{color:rgb(var(--aui-color-primary))}.aui-dialog__content{padding:0 20px;min-height:80px}.aui-dialog__footer{padding:20px;display:flex;justify-content:flex-end}.aui-dialog--small{width:400px}.aui-dialog--medium{width:600px}.aui-dialog--big{width:800px}.aui-dialog--large{width:960px}.aui-dialog--fit-content{width:-moz-fit-content;width:fit-content}.aui-dialog--fullscreen{width:90vw;height:calc(100vh - 40px);margin:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.aui-dialog--fit-viewport{max-width:90vw;max-height:calc(100vh - 40px);margin:0;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.aui-dialog--fit-viewport .aui-dialog__header{margin:0;padding:20px 20px 16px;border-bottom:1px solid rgb(var(--aui-color-n-8))}.aui-dialog--fit-viewport .aui-dialog__footer{padding-top:16px;border-top:1px solid rgb(var(--aui-color-n-8))}.aui-dialog--fit-viewport aui-dialog-content:not(:first-child) .aui-dialog__content{padding-top:16px}.aui-dialog--fit-viewport aui-dialog-content:not(:last-child) .aui-dialog__content{padding-bottom:16px}.aui-dialog--fit-viewport>ng-component{display:flex;flex-direction:column;overflow:auto}.aui-dialog--fit-viewport>ng-component:after{clear:both}\n"] }]
|
|
55
|
-
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { portalOutlet: [{
|
|
56
|
-
type: ViewChild,
|
|
57
|
-
args: [CdkPortalOutlet, { static: true }]
|
|
58
|
-
}] } });
|
|
59
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbG9nLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9kaWFsb2cvZGlhbG9nLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uL3NyYy9kaWFsb2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ge1xuICAgICAgdGhyb3dEaWFsb2dDb250ZW50QWxyZWFkeUF0dGFjaGVkRXJyb3IoKTtcbiAgICB9XG4gICAgdGhpcy5ibHVyQWN0aXZlRWxlbWVudCgpO1xuICAgIHJldHVybiB0aGlzLnBvcnRhbE91dGxldC5hdHRhY2hDb21wb25lbnRQb3J0YWwocG9ydGFsKTtcbiAgfVxuXG4gIGF0dGFjaFRlbXBsYXRlUG9ydGFsPFQ+KHBvcnRhbDogVGVtcGxhdGVQb3J0YWw8VD4pOiBFbWJlZGRlZFZpZXdSZWY8VD4ge1xuICAgIGlmICh0aGlzLnBvcnRhbE91dGxldC5oYXNBdHRhY2hlZCgpKSB7XG4gICAgICB0aHJvd0RpYWxvZ0NvbnRlbnRBbHJlYWR5QXR0YWNoZWRFcnJvcigpO1xuICAgIH1cbiAgICB0aGlzLmJsdXJBY3RpdmVFbGVtZW50KCk7XG4gICAgcmV0dXJuIHRoaXMucG9ydGFsT3V0bGV0LmF0dGFjaFRlbXBsYXRlUG9ydGFsKHBvcnRhbCk7XG4gIH1cblxuICBwcml2YXRlIGJsdXJBY3RpdmVFbGVtZW50KCkge1xuICAgIGlmIChkb2N1bWVudCkge1xuICAgICAgKGRvY3VtZW50LmFjdGl2ZUVsZW1lbnQgYXMgSFRNTEVsZW1lbnQpLmJsdXIoKTtcbiAgICB9XG4gIH1cbn1cbiIsIjxkaXYgW25nQ2xhc3NdPVwicm9vdENsYXNzXCIgW25nU3R5bGVdPVwiY3VzdG9tU3R5bGVcIj5cbiAgPG5nLXRlbXBsYXRlIGNka1BvcnRhbE91dGxldD48L25nLXRlbXBsYXRlPlxuPC9kaXY+XG4iXX0=
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { OverlayModule } from '@angular/cdk/overlay';
|
|
2
|
-
import { PortalModule } from '@angular/cdk/portal';
|
|
3
|
-
import { CommonModule } from '@angular/common';
|
|
4
|
-
import { NgModule } from '@angular/core';
|
|
5
|
-
import { ButtonModule } from '../button/public-api';
|
|
6
|
-
import { IconModule } from '../icon/public-api';
|
|
7
|
-
import { ConfirmDialogComponent } from './confirm-dialog/confirm-dialog.component';
|
|
8
|
-
import { DialogCloseDirective } from './dialog-content/dialog-close.directive';
|
|
9
|
-
import { DialogContentComponent } from './dialog-content/dialog-content.component';
|
|
10
|
-
import { DialogFooterComponent } from './dialog-content/dialog-footer.component';
|
|
11
|
-
import { DialogHeaderComponent } from './dialog-content/dialog-header.component';
|
|
12
|
-
import { DialogComponent } from './dialog.component';
|
|
13
|
-
import { DialogService } from './dialog.service';
|
|
14
|
-
import * as i0 from "@angular/core";
|
|
15
|
-
export class DialogModule {
|
|
16
|
-
}
|
|
17
|
-
DialogModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DialogModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
18
|
-
DialogModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DialogModule, declarations: [DialogComponent,
|
|
19
|
-
DialogHeaderComponent,
|
|
20
|
-
DialogContentComponent,
|
|
21
|
-
DialogFooterComponent,
|
|
22
|
-
DialogCloseDirective,
|
|
23
|
-
ConfirmDialogComponent], imports: [CommonModule,
|
|
24
|
-
OverlayModule,
|
|
25
|
-
PortalModule,
|
|
26
|
-
IconModule,
|
|
27
|
-
ButtonModule], exports: [DialogComponent,
|
|
28
|
-
DialogHeaderComponent,
|
|
29
|
-
DialogContentComponent,
|
|
30
|
-
DialogFooterComponent,
|
|
31
|
-
DialogCloseDirective] });
|
|
32
|
-
DialogModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DialogModule, providers: [DialogService], imports: [[
|
|
33
|
-
CommonModule,
|
|
34
|
-
OverlayModule,
|
|
35
|
-
PortalModule,
|
|
36
|
-
IconModule,
|
|
37
|
-
ButtonModule,
|
|
38
|
-
]] });
|
|
39
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.2.3", ngImport: i0, type: DialogModule, decorators: [{
|
|
40
|
-
type: NgModule,
|
|
41
|
-
args: [{
|
|
42
|
-
imports: [
|
|
43
|
-
CommonModule,
|
|
44
|
-
OverlayModule,
|
|
45
|
-
PortalModule,
|
|
46
|
-
IconModule,
|
|
47
|
-
ButtonModule,
|
|
48
|
-
],
|
|
49
|
-
declarations: [
|
|
50
|
-
DialogComponent,
|
|
51
|
-
DialogHeaderComponent,
|
|
52
|
-
DialogContentComponent,
|
|
53
|
-
DialogFooterComponent,
|
|
54
|
-
DialogCloseDirective,
|
|
55
|
-
ConfirmDialogComponent,
|
|
56
|
-
],
|
|
57
|
-
exports: [
|
|
58
|
-
DialogComponent,
|
|
59
|
-
DialogHeaderComponent,
|
|
60
|
-
DialogContentComponent,
|
|
61
|
-
DialogFooterComponent,
|
|
62
|
-
DialogCloseDirective,
|
|
63
|
-
],
|
|
64
|
-
entryComponents: [DialogComponent, ConfirmDialogComponent],
|
|
65
|
-
providers: [DialogService],
|
|
66
|
-
}]
|
|
67
|
-
}] });
|
|
68
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGlhbG9nLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9kaWFsb2cvZGlhbG9nLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDckQsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLHFCQUFxQixDQUFDO0FBQ25ELE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBRXpDLE9BQU8sRUFBRSxZQUFZ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