@alauda/ui 6.5.10-beta.2 → 6.5.10-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.changeset/README.md +8 -0
- package/accordion/accordion-item/accordion-item.component.d.ts +3 -3
- package/accordion/accordion.component.d.ts +1 -1
- package/alauda-ui.d.ts +5 -0
- package/anchor/anchor.component.d.ts +2 -2
- package/anchor/anchor.directive.d.ts +3 -3
- package/autocomplete/autocomplete-placeholder.component.d.ts +1 -1
- package/autocomplete/autocomplete.component.d.ts +1 -1
- package/autocomplete/autocomplete.directive.d.ts +2 -2
- package/autocomplete/autocomplete.types.d.ts +1 -1
- package/autocomplete/helper-directives.d.ts +1 -1
- package/autocomplete/suggestion/suggestion.component.d.ts +1 -1
- package/autocomplete/suggestion-group/suggestion-group.component.d.ts +1 -1
- package/back-top/back-top.component.d.ts +2 -2
- package/breadcrumb/breadcrumb-item.component.d.ts +1 -1
- package/breadcrumb/breadcrumb.component.d.ts +1 -1
- package/button/button-group/button-group.component.d.ts +1 -1
- package/button/button.component.d.ts +1 -1
- package/button/button.types.d.ts +10 -1
- package/card/card.component.d.ts +1 -1
- package/card/helper-directives.d.ts +6 -3
- package/card/section.component.d.ts +1 -1
- package/checkbox/checkbox-group/checkbox-group.component.d.ts +1 -1
- package/checkbox/checkbox.component.d.ts +1 -1
- package/color-picker/color-picker.component.d.ts +1 -1
- package/date-picker/calendar/date-picker-panel/component.d.ts +1 -1
- package/date-picker/calendar/footer/component.d.ts +1 -1
- package/date-picker/calendar/header/component.d.ts +1 -1
- package/date-picker/calendar/panel/picker-panel.d.ts +1 -1
- package/date-picker/calendar/range-picker-panel/component.d.ts +1 -1
- package/date-picker/date-picker/date-picker.component.d.ts +1 -1
- package/date-picker/date-picker.type.d.ts +2 -2
- package/date-picker/range-picker/range-picker.component.d.ts +1 -1
- package/date-picker/trigger/trigger.component.d.ts +1 -1
- package/dialog/confirm-dialog/confirm-dialog.component.d.ts +1 -1
- package/dialog/dialog-content/dialog-close.directive.d.ts +1 -1
- package/dialog/dialog-content/dialog-content.component.d.ts +1 -1
- package/dialog/dialog-content/dialog-footer.component.d.ts +1 -1
- package/dialog/dialog-content/dialog-header.component.d.ts +1 -1
- package/dialog/dialog.component.d.ts +1 -1
- package/dialog/dialog.types.d.ts +3 -3
- package/drawer/component/drawer.component.d.ts +1 -1
- package/drawer/component/helper-directives.d.ts +3 -3
- package/dropdown/dropdown-active.directive.d.ts +1 -1
- package/dropdown/dropdown-button/dropdown-button.component.d.ts +1 -1
- package/dropdown/dropdown.directive.d.ts +1 -1
- package/dropdown/dropdown.types.d.ts +1 -1
- package/dropdown/helper-directives.d.ts +1 -1
- package/dropdown/menu/menu-content.directive.d.ts +1 -1
- package/dropdown/menu/menu.component.d.ts +1 -1
- package/dropdown/menu-group/menu-group.component.d.ts +1 -1
- package/dropdown/menu-item/menu-item.component.d.ts +1 -1
- package/dropdown/submenu/submenu.component.d.ts +1 -1
- package/esm2020/accordion/accordion-item/accordion-item.component.mjs +73 -0
- package/esm2020/accordion/accordion.component.mjs +27 -0
- package/esm2020/accordion/accordion.module.mjs +39 -0
- package/esm2020/alauda-ui.mjs +5 -0
- package/esm2020/anchor/anchor.component.mjs +138 -0
- package/esm2020/anchor/anchor.directive.mjs +182 -0
- package/esm2020/anchor/anchor.module.mjs +36 -0
- package/{esm2022 → esm2020}/autocomplete/autocomplete-placeholder.component.mjs +4 -4
- package/esm2020/autocomplete/autocomplete.component.mjs +64 -0
- package/esm2020/autocomplete/autocomplete.directive.mjs +278 -0
- package/esm2020/autocomplete/autocomplete.module.mjs +53 -0
- package/{esm2022 → esm2020}/autocomplete/helper-directives.mjs +4 -4
- package/esm2020/autocomplete/suggestion/suggestion.component.mjs +79 -0
- package/esm2020/autocomplete/suggestion-group/suggestion-group.component.mjs +23 -0
- package/esm2020/back-top/back-top.component.mjs +67 -0
- package/esm2020/back-top/back-top.module.mjs +19 -0
- package/esm2020/breadcrumb/breadcrumb-item.component.mjs +32 -0
- package/esm2020/breadcrumb/breadcrumb.component.mjs +57 -0
- package/esm2020/breadcrumb/breadcrumb.module.mjs +20 -0
- package/{esm2022 → esm2020}/button/button-group/button-group.component.mjs +4 -4
- package/esm2020/button/button.component.mjs +122 -0
- package/esm2020/button/button.module.mjs +20 -0
- package/esm2020/button/button.types.mjs +22 -0
- package/esm2020/card/card.component.mjs +16 -0
- package/esm2020/card/card.module.mjs +40 -0
- package/esm2020/card/helper-directives.mjs +50 -0
- package/{esm2022 → esm2020}/card/section.component.mjs +4 -4
- package/esm2020/checkbox/checkbox-group/checkbox-group.component.mjs +61 -0
- package/esm2020/checkbox/checkbox.component.mjs +112 -0
- package/esm2020/checkbox/checkbox.module.mjs +20 -0
- package/esm2020/color-picker/color-picker.component.mjs +28 -0
- package/esm2020/color-picker/color-picker.module.mjs +19 -0
- package/esm2020/date-picker/calendar/constant.mjs +32 -0
- package/esm2020/date-picker/calendar/date-picker-panel/component.mjs +128 -0
- package/esm2020/date-picker/calendar/footer/component.mjs +29 -0
- package/esm2020/date-picker/calendar/header/component.mjs +103 -0
- package/esm2020/date-picker/calendar/panel/picker-panel.mjs +155 -0
- package/esm2020/date-picker/calendar/range-picker-panel/component.mjs +209 -0
- package/esm2020/date-picker/calendar/util.mjs +146 -0
- package/esm2020/date-picker/date-picker/date-picker.component.mjs +110 -0
- package/esm2020/date-picker/date-picker.module.mjs +84 -0
- package/esm2020/date-picker/range-picker/range-picker.component.mjs +86 -0
- package/esm2020/date-picker/trigger/trigger.component.mjs +69 -0
- package/esm2020/dialog/confirm-dialog/confirm-dialog-config.mjs +12 -0
- package/esm2020/dialog/confirm-dialog/confirm-dialog.component.mjs +85 -0
- package/{esm2022 → esm2020}/dialog/dialog-animations.mjs +2 -1
- package/esm2020/dialog/dialog-config.mjs +15 -0
- package/esm2020/dialog/dialog-content/dialog-close.directive.mjs +38 -0
- package/esm2020/dialog/dialog-content/dialog-content.component.mjs +20 -0
- package/esm2020/dialog/dialog-content/dialog-footer.component.mjs +15 -0
- package/esm2020/dialog/dialog-content/dialog-header.component.mjs +39 -0
- package/esm2020/dialog/dialog-ref.mjs +48 -0
- package/esm2020/dialog/dialog.component.mjs +148 -0
- package/esm2020/dialog/dialog.module.mjs +68 -0
- package/esm2020/dialog/dialog.service.mjs +121 -0
- package/esm2020/drawer/component/drawer.component.mjs +232 -0
- package/esm2020/drawer/component/helper-directives.mjs +37 -0
- package/esm2020/drawer/drawer.module.mjs +37 -0
- package/esm2020/drawer/drawer.service.mjs +44 -0
- package/esm2020/dropdown/dropdown-active.directive.mjs +21 -0
- package/esm2020/dropdown/dropdown-button/dropdown-button.component.mjs +57 -0
- package/esm2020/dropdown/dropdown.directive.mjs +81 -0
- package/esm2020/dropdown/dropdown.module.mjs +65 -0
- package/{esm2022 → esm2020}/dropdown/helper-directives.mjs +4 -4
- package/esm2020/dropdown/menu/menu-content.directive.mjs +51 -0
- package/esm2020/dropdown/menu/menu.component.mjs +26 -0
- package/{esm2022 → esm2020}/dropdown/menu-group/menu-group.component.mjs +4 -4
- package/esm2020/dropdown/menu-item/menu-item.component.mjs +37 -0
- package/esm2020/dropdown/submenu/submenu.component.mjs +40 -0
- package/esm2020/form/common-form.mjs +91 -0
- package/esm2020/form/form-item/form-item.component.mjs +108 -0
- package/esm2020/form/form.directive.mjs +69 -0
- package/esm2020/form/form.module.mjs +48 -0
- package/esm2020/form/helper-directives.mjs +80 -0
- package/{esm2022 → esm2020}/i18n/i18n.module.mjs +5 -5
- package/esm2020/i18n/i18n.pipe.mjs +20 -0
- package/esm2020/i18n/i18n.service.mjs +43 -0
- package/esm2020/icon/icon-register.service.mjs +74 -0
- package/esm2020/icon/icon.component.mjs +65 -0
- package/esm2020/icon/icon.module.mjs +21 -0
- package/{esm2022 → esm2020}/inline-alert/helper-directives.mjs +4 -4
- package/esm2020/inline-alert/inline-alert.component.mjs +53 -0
- package/esm2020/inline-alert/inline-alert.module.mjs +20 -0
- package/esm2020/input/autosize.directive.mjs +59 -0
- package/esm2020/input/helper-directives.mjs +43 -0
- package/esm2020/input/input-group/input-group.component.mjs +39 -0
- package/esm2020/input/input.component.mjs +61 -0
- package/esm2020/input/input.module.mjs +87 -0
- package/esm2020/input/number-input/number-input.component.mjs +112 -0
- package/esm2020/input/search/search.component.mjs +88 -0
- package/esm2020/input/tags-input/tags-input.component.mjs +260 -0
- package/esm2020/message/base-message.mjs +90 -0
- package/esm2020/message/message-wrapper.component.mjs +14 -0
- package/esm2020/message/message.component.mjs +70 -0
- package/esm2020/message/message.config.mjs +21 -0
- package/esm2020/message/message.module.mjs +23 -0
- package/{esm2022 → esm2020}/message/message.service.mjs +4 -4
- package/esm2020/notification/notification-wrapper.component.mjs +16 -0
- package/esm2020/notification/notification.component.mjs +107 -0
- package/esm2020/notification/notification.module.mjs +24 -0
- package/{esm2022 → esm2020}/notification/notification.service.mjs +4 -4
- package/esm2020/paginator/paginator-intl.mjs +37 -0
- package/esm2020/paginator/paginator.component.mjs +125 -0
- package/esm2020/paginator/paginator.module.mjs +24 -0
- package/esm2020/radio/base-radio.mjs +67 -0
- package/esm2020/radio/radio-button/radio-button.component.mjs +42 -0
- package/esm2020/radio/radio-group/radio-group.component.mjs +76 -0
- package/esm2020/radio/radio.component.mjs +24 -0
- package/esm2020/radio/radio.module.mjs +21 -0
- package/esm2020/scrolling/fixed-size-table-virtual-scroll-strategy.mjs +83 -0
- package/esm2020/scrolling/fixed-size-table-virtual-scroll.directive.mjs +121 -0
- package/esm2020/scrolling/fixed-size-virtual-scroll.directive.mjs +28 -0
- package/{esm2022 → esm2020}/scrolling/scrolling.module.mjs +9 -9
- package/{esm2022 → esm2020}/scrolling/virtual-for-of.directive.mjs +4 -4
- package/esm2020/scrolling/virtual-scroll-viewport.component.mjs +26 -0
- package/esm2020/select/base-select.mjs +337 -0
- package/{esm2022 → esm2020}/select/helper-directives.mjs +7 -7
- package/esm2020/select/multi-select/multi-select.component.mjs +313 -0
- package/esm2020/select/option/option.component.mjs +112 -0
- package/esm2020/select/option-group/option-group.component.mjs +23 -0
- package/{esm2022 → esm2020}/select/option-placeholder.component.mjs +4 -4
- package/esm2020/select/select.component.mjs +108 -0
- package/esm2020/select/select.module.mjs +80 -0
- package/esm2020/select/validators.mjs +79 -0
- package/esm2020/shared/click-outside.directive.mjs +28 -0
- package/{esm2022 → esm2020}/shared/shared.module.mjs +5 -5
- package/esm2020/sort/sort-errors.mjs +17 -0
- package/esm2020/sort/sort-header.component.mjs +72 -0
- package/esm2020/sort/sort.directive.mjs +75 -0
- package/esm2020/sort/sort.module.mjs +19 -0
- package/esm2020/status-bar/status-bar.component.mjs +29 -0
- package/esm2020/status-bar/status-bar.module.mjs +19 -0
- package/esm2020/steps/steps.component.mjs +184 -0
- package/esm2020/steps/steps.module.mjs +19 -0
- package/esm2020/switch/switch.component.mjs +46 -0
- package/esm2020/switch/switch.module.mjs +18 -0
- package/esm2020/table/table-cell-def.directive.mjs +29 -0
- package/esm2020/table/table-cell.component.mjs +121 -0
- package/esm2020/table/table-cell.directive.mjs +31 -0
- package/esm2020/table/table-column-def.directive.mjs +37 -0
- package/esm2020/table/table-header-cell-def.directive.mjs +29 -0
- package/esm2020/table/table-header-cell.directive.mjs +27 -0
- package/esm2020/table/table-header-row-def.directive.mjs +39 -0
- package/esm2020/table/table-header-row.component.mjs +25 -0
- package/esm2020/table/table-placeholder.directive.mjs +30 -0
- package/esm2020/table/table-row-def.directive.mjs +42 -0
- package/esm2020/table/table-row.component.mjs +43 -0
- package/esm2020/table/table-scroll.directive.mjs +134 -0
- package/esm2020/table/table.component.mjs +79 -0
- package/esm2020/table/table.module.mjs +96 -0
- package/esm2020/table-of-contents/table-of-contents.module.mjs +20 -0
- package/esm2020/table-of-contents/toc-container.directive.mjs +109 -0
- package/esm2020/table-of-contents/toc-content.directive.mjs +35 -0
- package/esm2020/table-of-contents/toc-link.directive.mjs +44 -0
- package/esm2020/tabs/tab-body.component.mjs +165 -0
- package/esm2020/tabs/tab-context.service.mjs +31 -0
- package/esm2020/tabs/tab-group.component.mjs +291 -0
- package/esm2020/tabs/tab-header-active-indicator.component.mjs +53 -0
- package/esm2020/tabs/tab-header.component.mjs +367 -0
- package/esm2020/tabs/tab.component.mjs +85 -0
- package/esm2020/tabs/tabs.module.mjs +88 -0
- package/esm2020/tabs/tabs.types.mjs +13 -0
- package/esm2020/tag/check-tag/check-tag.component.mjs +33 -0
- package/esm2020/tag/tag.component.mjs +66 -0
- package/esm2020/tag/tag.module.mjs +20 -0
- package/esm2020/theme/theme.module.mjs +18 -0
- package/esm2020/theme/theme.pipe.mjs +69 -0
- package/esm2020/theme/theme.service.mjs +52 -0
- package/esm2020/time-picker/component.mjs +179 -0
- package/esm2020/time-picker/panel/panel.component.mjs +230 -0
- package/esm2020/time-picker/time-picker.module.mjs +58 -0
- package/esm2020/tooltip/base-tooltip.mjs +322 -0
- package/esm2020/tooltip/tooltip-active.directive.mjs +49 -0
- package/esm2020/tooltip/tooltip-copy.directive.mjs +82 -0
- package/esm2020/tooltip/tooltip-intl.mjs +29 -0
- package/esm2020/tooltip/tooltip.component.mjs +107 -0
- package/esm2020/tooltip/tooltip.directive.mjs +47 -0
- package/esm2020/tooltip/tooltip.module.mjs +33 -0
- package/{esm2022 → esm2020}/tree-select/tree-node-placeholder.component.mjs +4 -4
- package/esm2020/tree-select/tree-select.component.mjs +340 -0
- package/esm2020/tree-select/tree-select.module.mjs +34 -0
- package/esm2020/types.mjs +11 -0
- package/esm2020/utils/bem.mjs +44 -0
- package/esm2020/utils/coercion.mjs +17 -0
- package/fesm2015/alauda-ui.mjs +12051 -0
- package/fesm2015/alauda-ui.mjs.map +1 -0
- package/{fesm2022 → fesm2020}/alauda-ui.mjs +2863 -2810
- package/fesm2020/alauda-ui.mjs.map +1 -0
- package/form/common-form.d.ts +8 -1
- package/form/form-item/form-item.component.d.ts +1 -1
- package/form/form.directive.d.ts +1 -1
- package/form/form.types.d.ts +2 -2
- package/form/helper-directives.d.ts +5 -5
- package/i18n/i18n.pipe.d.ts +1 -1
- package/i18n/i18n.type.d.ts +1 -1
- package/icon/icon.component.d.ts +1 -1
- package/inline-alert/helper-directives.d.ts +1 -1
- package/inline-alert/inline-alert.component.d.ts +1 -1
- package/inline-alert/inline-alert.types.d.ts +1 -1
- package/input/autosize.directive.d.ts +4 -1
- package/input/helper-directives.d.ts +4 -4
- package/input/input-group/input-group.component.d.ts +1 -1
- package/input/input.component.d.ts +4 -1
- package/input/number-input/number-input.component.d.ts +1 -1
- package/input/search/search.component.d.ts +1 -1
- package/input/tags-input/tags-input.component.d.ts +4 -4
- package/message/message-wrapper.component.d.ts +1 -1
- package/message/message.component.d.ts +1 -1
- package/message/message.config.d.ts +20 -0
- package/notification/notification-wrapper.component.d.ts +1 -1
- package/notification/notification.component.d.ts +5 -1
- package/notification/notification.config.d.ts +1 -1
- package/package.json +19 -13
- package/paginator/paginator-intl.d.ts +9 -0
- package/paginator/paginator.component.d.ts +15 -1
- package/radio/base-radio.d.ts +1 -1
- package/radio/radio-button/radio-button.component.d.ts +1 -1
- package/radio/radio-group/radio-group.component.d.ts +4 -1
- package/radio/radio.component.d.ts +1 -1
- package/radio/radio.types.d.ts +1 -1
- package/scrolling/fixed-size-table-virtual-scroll.directive.d.ts +1 -1
- package/scrolling/fixed-size-virtual-scroll.directive.d.ts +1 -1
- package/scrolling/virtual-for-of.directive.d.ts +1 -1
- package/scrolling/virtual-scroll-viewport.component.d.ts +1 -1
- package/select/base-select.d.ts +4 -1
- package/select/helper-directives.d.ts +2 -2
- package/select/multi-select/multi-select.component.d.ts +1 -1
- package/select/option/option.component.d.ts +1 -1
- package/select/option-group/option-group.component.d.ts +1 -1
- package/select/option-placeholder.component.d.ts +1 -1
- package/select/select.component.d.ts +1 -1
- package/select/select.types.d.ts +3 -3
- package/select/validators.d.ts +1 -1
- package/shared/click-outside.directive.d.ts +1 -1
- package/sort/sort-errors.d.ts +4 -0
- package/sort/sort-header.component.d.ts +1 -1
- package/sort/sort.directive.d.ts +1 -1
- package/sort/sort.types.d.ts +2 -2
- package/src/accordion/README.md +13 -0
- package/src/anchor/README.md +23 -0
- package/src/dropdown/README.md +57 -0
- package/src/form/README.md +32 -0
- package/src/icon/README.md +28 -0
- package/src/inline-alert/README.md +16 -0
- package/src/input/number-input/README.md +16 -0
- package/src/select/README.md +57 -0
- package/src/sort/README.md +13 -0
- package/src/table/README.md +8 -0
- package/src/table-of-contents/README.md +94 -0
- package/src/tag/README.md +32 -0
- package/src/tree-select/README.md +34 -0
- package/status-bar/status-bar.component.d.ts +1 -1
- package/status-bar/status-bar.types.d.ts +2 -2
- package/steps/steps.component.d.ts +4 -1
- package/steps/types.d.ts +6 -3
- package/switch/switch.component.d.ts +1 -1
- package/table/table-cell-def.directive.d.ts +5 -1
- package/table/table-cell.component.d.ts +2 -2
- package/table/table-cell.directive.d.ts +2 -1
- package/table/table-column-def.directive.d.ts +5 -1
- package/table/table-header-cell-def.directive.d.ts +5 -1
- package/table/table-header-cell.directive.d.ts +2 -1
- package/table/table-header-row-def.directive.d.ts +5 -1
- package/table/table-header-row.component.d.ts +2 -1
- package/table/table-placeholder.directive.d.ts +2 -2
- package/table/table-row-def.directive.d.ts +6 -1
- package/table/table-row.component.d.ts +2 -1
- package/table/table-scroll.directive.d.ts +2 -2
- package/table/table.component.d.ts +1 -1
- package/table-of-contents/toc-container.directive.d.ts +1 -1
- package/table-of-contents/toc-content.directive.d.ts +1 -1
- package/table-of-contents/toc-link.directive.d.ts +1 -1
- package/tabs/tab-body.component.d.ts +23 -7
- package/tabs/tab-context.service.d.ts +3 -0
- package/tabs/tab-group.component.d.ts +29 -1
- package/tabs/tab-header-active-indicator.component.d.ts +10 -1
- package/tabs/tab-header.component.d.ts +85 -2
- package/tabs/tab.component.d.ts +19 -1
- package/tabs/tabs.types.d.ts +5 -2
- package/tag/check-tag/check-tag.component.d.ts +1 -1
- package/tag/tag.component.d.ts +1 -1
- package/tag/tag.types.d.ts +1 -1
- package/theme/style.css +1 -5
- package/theme/theme.pipe.d.ts +4 -4
- package/theme/theme.types.d.ts +3 -3
- package/time-picker/component.d.ts +1 -1
- package/time-picker/panel/panel.component.d.ts +1 -1
- package/time-picker/time-picker.type.d.ts +1 -1
- package/tooltip/base-tooltip.d.ts +1 -1
- package/tooltip/tooltip-active.directive.d.ts +1 -1
- package/tooltip/tooltip-copy.directive.d.ts +1 -1
- package/tooltip/tooltip-intl.d.ts +4 -0
- package/tooltip/tooltip.component.d.ts +1 -1
- package/tooltip/tooltip.directive.d.ts +1 -1
- package/tree-select/tree-node-placeholder.component.d.ts +1 -1
- package/tree-select/tree-select.component.d.ts +2 -2
- package/tree-select/tree-select.types.d.ts +1 -1
- package/types.d.ts +5 -2
- package/utils/operators.d.ts +1 -1
- package/esm2022/accordion/accordion-item/accordion-item.component.mjs +0 -73
- package/esm2022/accordion/accordion.component.mjs +0 -29
- package/esm2022/accordion/accordion.module.mjs +0 -39
- package/esm2022/alauda-ui.mjs +0 -2
- package/esm2022/anchor/anchor.component.mjs +0 -141
- package/esm2022/anchor/anchor.directive.mjs +0 -198
- package/esm2022/anchor/anchor.module.mjs +0 -35
- package/esm2022/autocomplete/autocomplete.component.mjs +0 -72
- package/esm2022/autocomplete/autocomplete.directive.mjs +0 -278
- package/esm2022/autocomplete/autocomplete.module.mjs +0 -53
- package/esm2022/autocomplete/suggestion/suggestion.component.mjs +0 -85
- package/esm2022/autocomplete/suggestion-group/suggestion-group.component.mjs +0 -25
- package/esm2022/back-top/back-top.component.mjs +0 -68
- package/esm2022/back-top/back-top.module.mjs +0 -19
- package/esm2022/breadcrumb/breadcrumb-item.component.mjs +0 -33
- package/esm2022/breadcrumb/breadcrumb.component.mjs +0 -56
- package/esm2022/breadcrumb/breadcrumb.module.mjs +0 -20
- package/esm2022/button/button.component.mjs +0 -124
- package/esm2022/button/button.module.mjs +0 -20
- package/esm2022/button/button.types.mjs +0 -13
- package/esm2022/card/card.component.mjs +0 -14
- package/esm2022/card/card.module.mjs +0 -40
- package/esm2022/card/helper-directives.mjs +0 -45
- package/esm2022/checkbox/checkbox-group/checkbox-group.component.mjs +0 -60
- package/esm2022/checkbox/checkbox.component.mjs +0 -116
- package/esm2022/checkbox/checkbox.module.mjs +0 -20
- package/esm2022/color-picker/color-picker.component.mjs +0 -28
- package/esm2022/color-picker/color-picker.module.mjs +0 -19
- package/esm2022/date-picker/calendar/constant.mjs +0 -31
- package/esm2022/date-picker/calendar/date-picker-panel/component.mjs +0 -137
- package/esm2022/date-picker/calendar/footer/component.mjs +0 -29
- package/esm2022/date-picker/calendar/header/component.mjs +0 -99
- package/esm2022/date-picker/calendar/panel/picker-panel.mjs +0 -158
- package/esm2022/date-picker/calendar/range-picker-panel/component.mjs +0 -210
- package/esm2022/date-picker/calendar/util.mjs +0 -152
- package/esm2022/date-picker/date-picker/date-picker.component.mjs +0 -115
- package/esm2022/date-picker/date-picker.module.mjs +0 -82
- package/esm2022/date-picker/range-picker/range-picker.component.mjs +0 -88
- package/esm2022/date-picker/trigger/trigger.component.mjs +0 -76
- package/esm2022/dialog/confirm-dialog/confirm-dialog-config.mjs +0 -13
- package/esm2022/dialog/confirm-dialog/confirm-dialog.component.mjs +0 -88
- package/esm2022/dialog/dialog-config.mjs +0 -14
- package/esm2022/dialog/dialog-content/dialog-close.directive.mjs +0 -42
- package/esm2022/dialog/dialog-content/dialog-content.component.mjs +0 -19
- package/esm2022/dialog/dialog-content/dialog-footer.component.mjs +0 -13
- package/esm2022/dialog/dialog-content/dialog-header.component.mjs +0 -42
- package/esm2022/dialog/dialog-ref.mjs +0 -52
- package/esm2022/dialog/dialog.component.mjs +0 -154
- package/esm2022/dialog/dialog.module.mjs +0 -65
- package/esm2022/dialog/dialog.service.mjs +0 -124
- package/esm2022/drawer/component/drawer.component.mjs +0 -248
- package/esm2022/drawer/component/helper-directives.mjs +0 -33
- package/esm2022/drawer/drawer.module.mjs +0 -36
- package/esm2022/drawer/drawer.service.mjs +0 -47
- package/esm2022/dropdown/dropdown-active.directive.mjs +0 -18
- package/esm2022/dropdown/dropdown-button/dropdown-button.component.mjs +0 -58
- package/esm2022/dropdown/dropdown.directive.mjs +0 -83
- package/esm2022/dropdown/dropdown.module.mjs +0 -65
- package/esm2022/dropdown/menu/menu-content.directive.mjs +0 -59
- package/esm2022/dropdown/menu/menu.component.mjs +0 -26
- package/esm2022/dropdown/menu-item/menu-item.component.mjs +0 -35
- package/esm2022/dropdown/submenu/submenu.component.mjs +0 -38
- package/esm2022/form/common-form.mjs +0 -88
- package/esm2022/form/form-item/form-item.component.mjs +0 -121
- package/esm2022/form/form.directive.mjs +0 -70
- package/esm2022/form/form.module.mjs +0 -48
- package/esm2022/form/helper-directives.mjs +0 -78
- package/esm2022/i18n/i18n.pipe.mjs +0 -21
- package/esm2022/i18n/i18n.service.mjs +0 -46
- package/esm2022/icon/icon-register.service.mjs +0 -75
- package/esm2022/icon/icon.component.mjs +0 -74
- package/esm2022/icon/icon.module.mjs +0 -21
- package/esm2022/inline-alert/inline-alert.component.mjs +0 -54
- package/esm2022/inline-alert/inline-alert.module.mjs +0 -20
- package/esm2022/input/autosize.directive.mjs +0 -56
- package/esm2022/input/helper-directives.mjs +0 -43
- package/esm2022/input/input-group/input-group.component.mjs +0 -46
- package/esm2022/input/input.component.mjs +0 -59
- package/esm2022/input/input.module.mjs +0 -85
- package/esm2022/input/number-input/number-input.component.mjs +0 -115
- package/esm2022/input/search/search.component.mjs +0 -87
- package/esm2022/input/tags-input/tags-input.component.mjs +0 -264
- package/esm2022/message/base-message.mjs +0 -99
- package/esm2022/message/message-wrapper.component.mjs +0 -15
- package/esm2022/message/message.component.mjs +0 -77
- package/esm2022/message/message.config.mjs +0 -20
- package/esm2022/message/message.module.mjs +0 -22
- package/esm2022/notification/notification-wrapper.component.mjs +0 -17
- package/esm2022/notification/notification.component.mjs +0 -106
- package/esm2022/notification/notification.module.mjs +0 -23
- package/esm2022/paginator/paginator-intl.mjs +0 -24
- package/esm2022/paginator/paginator.component.mjs +0 -124
- package/esm2022/paginator/paginator.module.mjs +0 -24
- package/esm2022/radio/base-radio.mjs +0 -72
- package/esm2022/radio/radio-button/radio-button.component.mjs +0 -41
- package/esm2022/radio/radio-group/radio-group.component.mjs +0 -70
- package/esm2022/radio/radio.component.mjs +0 -23
- package/esm2022/radio/radio.module.mjs +0 -21
- package/esm2022/scrolling/fixed-size-table-virtual-scroll-strategy.mjs +0 -80
- package/esm2022/scrolling/fixed-size-table-virtual-scroll.directive.mjs +0 -119
- package/esm2022/scrolling/fixed-size-virtual-scroll.directive.mjs +0 -27
- package/esm2022/scrolling/virtual-scroll-viewport.component.mjs +0 -26
- package/esm2022/select/base-select.mjs +0 -345
- package/esm2022/select/multi-select/multi-select.component.mjs +0 -318
- package/esm2022/select/option/option.component.mjs +0 -119
- package/esm2022/select/option-group/option-group.component.mjs +0 -25
- package/esm2022/select/select.component.mjs +0 -107
- package/esm2022/select/select.module.mjs +0 -78
- package/esm2022/select/validators.mjs +0 -78
- package/esm2022/shared/click-outside.directive.mjs +0 -29
- package/esm2022/sort/sort-errors.mjs +0 -13
- package/esm2022/sort/sort-header.component.mjs +0 -74
- package/esm2022/sort/sort.directive.mjs +0 -73
- package/esm2022/sort/sort.module.mjs +0 -19
- package/esm2022/status-bar/status-bar.component.mjs +0 -28
- package/esm2022/status-bar/status-bar.module.mjs +0 -19
- package/esm2022/steps/steps.component.mjs +0 -180
- package/esm2022/steps/steps.module.mjs +0 -19
- package/esm2022/switch/switch.component.mjs +0 -43
- package/esm2022/switch/switch.module.mjs +0 -18
- package/esm2022/table/table-cell-def.directive.mjs +0 -25
- package/esm2022/table/table-cell.component.mjs +0 -115
- package/esm2022/table/table-cell.directive.mjs +0 -29
- package/esm2022/table/table-column-def.directive.mjs +0 -31
- package/esm2022/table/table-header-cell-def.directive.mjs +0 -25
- package/esm2022/table/table-header-cell.directive.mjs +0 -25
- package/esm2022/table/table-header-row-def.directive.mjs +0 -33
- package/esm2022/table/table-header-row.component.mjs +0 -24
- package/esm2022/table/table-placeholder.directive.mjs +0 -33
- package/esm2022/table/table-row-def.directive.mjs +0 -34
- package/esm2022/table/table-row.component.mjs +0 -43
- package/esm2022/table/table-scroll.directive.mjs +0 -133
- package/esm2022/table/table.component.mjs +0 -79
- package/esm2022/table/table.module.mjs +0 -96
- package/esm2022/table-of-contents/table-of-contents.module.mjs +0 -20
- package/esm2022/table-of-contents/toc-container.directive.mjs +0 -111
- package/esm2022/table-of-contents/toc-content.directive.mjs +0 -39
- package/esm2022/table-of-contents/toc-link.directive.mjs +0 -48
- package/esm2022/tabs/tab-body.component.mjs +0 -151
- package/esm2022/tabs/tab-context.service.mjs +0 -30
- package/esm2022/tabs/tab-group.component.mjs +0 -256
- package/esm2022/tabs/tab-header-active-indicator.component.mjs +0 -46
- package/esm2022/tabs/tab-header.component.mjs +0 -276
- package/esm2022/tabs/tab.component.mjs +0 -77
- package/esm2022/tabs/tabs.module.mjs +0 -86
- package/esm2022/tabs/tabs.types.mjs +0 -10
- package/esm2022/tag/check-tag/check-tag.component.mjs +0 -31
- package/esm2022/tag/tag.component.mjs +0 -63
- package/esm2022/tag/tag.module.mjs +0 -20
- package/esm2022/theme/theme.module.mjs +0 -18
- package/esm2022/theme/theme.pipe.mjs +0 -64
- package/esm2022/theme/theme.service.mjs +0 -55
- package/esm2022/time-picker/component.mjs +0 -181
- package/esm2022/time-picker/panel/panel.component.mjs +0 -240
- package/esm2022/time-picker/time-picker.module.mjs +0 -56
- package/esm2022/tooltip/base-tooltip.mjs +0 -329
- package/esm2022/tooltip/tooltip-active.directive.mjs +0 -51
- package/esm2022/tooltip/tooltip-copy.directive.mjs +0 -87
- package/esm2022/tooltip/tooltip-intl.mjs +0 -21
- package/esm2022/tooltip/tooltip.component.mjs +0 -120
- package/esm2022/tooltip/tooltip.directive.mjs +0 -44
- package/esm2022/tooltip/tooltip.module.mjs +0 -32
- package/esm2022/tree-select/tree-select.component.mjs +0 -350
- package/esm2022/tree-select/tree-select.module.mjs +0 -34
- package/esm2022/types.mjs +0 -8
- package/esm2022/utils/bem.mjs +0 -44
- package/esm2022/utils/coercion.mjs +0 -13
- package/fesm2022/alauda-ui.mjs.map +0 -1
- /package/{esm2022 → esm2020}/accordion/index.mjs +0 -0
- /package/{esm2022 → esm2020}/anchor/index.mjs +0 -0
- /package/{esm2022 → esm2020}/anchor/types.mjs +0 -0
- /package/{esm2022 → esm2020}/anchor/utils.mjs +0 -0
- /package/{esm2022 → esm2020}/autocomplete/autocomplete.types.mjs +0 -0
- /package/{esm2022 → esm2020}/autocomplete/index.mjs +0 -0
- /package/{esm2022 → esm2020}/back-top/index.mjs +0 -0
- /package/{esm2022 → esm2020}/breadcrumb/index.mjs +0 -0
- /package/{esm2022 → esm2020}/button/index.mjs +0 -0
- /package/{esm2022 → esm2020}/card/index.mjs +0 -0
- /package/{esm2022 → esm2020}/checkbox/index.mjs +0 -0
- /package/{esm2022 → esm2020}/color-picker/index.mjs +0 -0
- /package/{esm2022 → esm2020}/core/animation/animation-consts.mjs +0 -0
- /package/{esm2022 → esm2020}/date-picker/date-picker.type.mjs +0 -0
- /package/{esm2022 → esm2020}/date-picker/index.mjs +0 -0
- /package/{esm2022 → esm2020}/dialog/dialog.types.mjs +0 -0
- /package/{esm2022 → esm2020}/dialog/index.mjs +0 -0
- /package/{esm2022 → esm2020}/dialog/utils/errors.mjs +0 -0
- /package/{esm2022 → esm2020}/dialog/utils/index.mjs +0 -0
- /package/{esm2022 → esm2020}/drawer/component/drawer-ref.mjs +0 -0
- /package/{esm2022 → esm2020}/drawer/index.mjs +0 -0
- /package/{esm2022 → esm2020}/dropdown/dropdown.types.mjs +0 -0
- /package/{esm2022 → esm2020}/dropdown/index.mjs +0 -0
- /package/{esm2022 → esm2020}/form/form.types.mjs +0 -0
- /package/{esm2022 → esm2020}/form/index.mjs +0 -0
- /package/{esm2022 → esm2020}/i18n/i18n.type.mjs +0 -0
- /package/{esm2022 → esm2020}/i18n/index.mjs +0 -0
- /package/{esm2022 → esm2020}/i18n/language/en.mjs +0 -0
- /package/{esm2022 → esm2020}/i18n/language/zh.mjs +0 -0
- /package/{esm2022 → esm2020}/icon/icons.mjs +0 -0
- /package/{esm2022 → esm2020}/icon/index.mjs +0 -0
- /package/{esm2022 → esm2020}/icon/utils.mjs +0 -0
- /package/{esm2022 → esm2020}/index.mjs +0 -0
- /package/{esm2022 → esm2020}/inline-alert/index.mjs +0 -0
- /package/{esm2022 → esm2020}/inline-alert/inline-alert.types.mjs +0 -0
- /package/{esm2022 → esm2020}/input/index.mjs +0 -0
- /package/{esm2022 → esm2020}/input/tags-input/with-max-row-count.mjs +0 -0
- /package/{esm2022 → esm2020}/input/utils/index.mjs +0 -0
- /package/{esm2022 → esm2020}/message/index.mjs +0 -0
- /package/{esm2022 → esm2020}/message/message-animations.mjs +0 -0
- /package/{esm2022 → esm2020}/notification/index.mjs +0 -0
- /package/{esm2022 → esm2020}/notification/notification.config.mjs +0 -0
- /package/{esm2022 → esm2020}/paginator/index.mjs +0 -0
- /package/{esm2022 → esm2020}/radio/index.mjs +0 -0
- /package/{esm2022 → esm2020}/radio/radio.types.mjs +0 -0
- /package/{esm2022 → esm2020}/scrolling/index.mjs +0 -0
- /package/{esm2022 → esm2020}/select/index.mjs +0 -0
- /package/{esm2022 → esm2020}/select/select.types.mjs +0 -0
- /package/{esm2022 → esm2020}/sort/index.mjs +0 -0
- /package/{esm2022 → esm2020}/sort/sort.types.mjs +0 -0
- /package/{esm2022 → esm2020}/status-bar/index.mjs +0 -0
- /package/{esm2022 → esm2020}/status-bar/status-bar.types.mjs +0 -0
- /package/{esm2022 → esm2020}/steps/index.mjs +0 -0
- /package/{esm2022 → esm2020}/steps/types.mjs +0 -0
- /package/{esm2022 → esm2020}/switch/index.mjs +0 -0
- /package/{esm2022 → esm2020}/table/index.mjs +0 -0
- /package/{esm2022 → esm2020}/table-of-contents/index.mjs +0 -0
- /package/{esm2022 → esm2020}/tabs/index.mjs +0 -0
- /package/{esm2022 → esm2020}/tag/index.mjs +0 -0
- /package/{esm2022 → esm2020}/tag/tag.types.mjs +0 -0
- /package/{esm2022 → esm2020}/theme/index.mjs +0 -0
- /package/{esm2022 → esm2020}/theme/theme.types.mjs +0 -0
- /package/{esm2022 → esm2020}/theme/utils.mjs +0 -0
- /package/{esm2022 → esm2020}/time-picker/constant.mjs +0 -0
- /package/{esm2022 → esm2020}/time-picker/index.mjs +0 -0
- /package/{esm2022 → esm2020}/time-picker/time-picker.type.mjs +0 -0
- /package/{esm2022 → esm2020}/tooltip/index.mjs +0 -0
- /package/{esm2022 → esm2020}/tooltip/tooltip.types.mjs +0 -0
- /package/{esm2022 → esm2020}/tooltip/utils/index.mjs +0 -0
- /package/{esm2022 → esm2020}/tree-select/index.mjs +0 -0
- /package/{esm2022 → esm2020}/tree-select/tree-select.types.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/animations.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/async.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/fn.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/index.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/observe-dom.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/operators.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/scroll-into-view.mjs +0 -0
- /package/{esm2022 → esm2020}/utils/watch-content-exist.mjs +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, Input, ViewEncapsulation, forwardRef, } from '@angular/core';
|
|
2
|
+
import { NG_VALUE_ACCESSOR } from '@angular/forms';
|
|
3
|
+
import { CommonFormControl } from '../form';
|
|
4
|
+
import { buildBem } from '../utils';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
const prefix = 'aui-switch';
|
|
8
|
+
export class SwitchComponent extends CommonFormControl {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.bem = buildBem(prefix);
|
|
12
|
+
this.loading = false;
|
|
13
|
+
}
|
|
14
|
+
onSwitch() {
|
|
15
|
+
if (this.disabled) {
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
this.emitValue(!this.model);
|
|
19
|
+
}
|
|
20
|
+
onBlur() {
|
|
21
|
+
if (this.onTouched) {
|
|
22
|
+
this.onTouched();
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
SwitchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: SwitchComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
27
|
+
SwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", type: SwitchComponent, selector: "aui-switch", inputs: { loading: "loading" }, providers: [
|
|
28
|
+
{
|
|
29
|
+
provide: NG_VALUE_ACCESSOR,
|
|
30
|
+
useExisting: forwardRef(() => SwitchComponent),
|
|
31
|
+
multi: true,
|
|
32
|
+
},
|
|
33
|
+
], usesInheritance: true, ngImport: i0, template: "<div\n class=\"aui-switch\"\n [class.isLoading]=\"loading\"\n [class.isDisabled]=\"disabled\"\n [class.isChecked]=\"model\"\n (click)=\"onSwitch()\"\n>\n <input\n #input\n [ngClass]=\"bem.element('input')\"\n type=\"checkbox\"\n [disabled]=\"disabled\"\n [checked]=\"model\"\n (blur)=\"onBlur()\"\n />\n <span [ngClass]=\"bem.element('bar')\">\n <i [ngClass]=\"bem.element('dot')\"></i>\n </span>\n</div>\n", styles: [".aui-switch{display:inline-flex;position:relative;vertical-align:text-bottom;color:rgb(var(--aui-color-n-4));cursor:pointer}.aui-switch__input{position:absolute;width:0;height:0;opacity:0;margin:0}:root .aui-switch__input:focus+.aui-switch__bar{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}html[aui-theme-mode=light] .aui-switch__input:focus+.aui-switch__bar{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-switch__input:focus+.aui-switch__bar{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}}html[aui-theme-mode=dark] .aui-switch__input:focus+.aui-switch__bar{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}.aui-switch__bar{display:inline-block;width:30px;height:16px;border-radius:8px;background-color:currentcolor;transition:background-color .3s;position:relative;vertical-align:middle;-webkit-user-select:none;user-select:none}.aui-switch__dot{background-color:#fff;border-radius:50%;width:12px;height:12px;position:absolute;top:2px;left:2px;transition:left .3s}.aui-switch.isDisabled{color:rgb(var(--aui-color-n-7));cursor:not-allowed}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-switch.isDisabled .aui-switch__dot{background-color:rgb(var(--aui-color-n-4))}}html[aui-theme-mode=dark] .aui-switch.isDisabled .aui-switch__dot{background-color:rgb(var(--aui-color-n-4))}.aui-switch.isChecked{color:rgb(var(--aui-color-primary))}.aui-switch.isChecked.isDisabled{color:rgb(var(--aui-color-p-4))}.aui-switch.isChecked .aui-switch__dot{left:16px}.aui-switch.isLoading .aui-switch__dot:after{content:\"\";position:absolute;top:2px;bottom:2px;left:2px;right:2px;border:1px solid currentcolor;border-top-color:transparent;border-radius:50%;animation:spin 1s infinite linear}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"], directives: [{ type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
34
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: SwitchComponent, decorators: [{
|
|
35
|
+
type: Component,
|
|
36
|
+
args: [{ selector: 'aui-switch', encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, preserveWhitespaces: false, providers: [
|
|
37
|
+
{
|
|
38
|
+
provide: NG_VALUE_ACCESSOR,
|
|
39
|
+
useExisting: forwardRef(() => SwitchComponent),
|
|
40
|
+
multi: true,
|
|
41
|
+
},
|
|
42
|
+
], template: "<div\n class=\"aui-switch\"\n [class.isLoading]=\"loading\"\n [class.isDisabled]=\"disabled\"\n [class.isChecked]=\"model\"\n (click)=\"onSwitch()\"\n>\n <input\n #input\n [ngClass]=\"bem.element('input')\"\n type=\"checkbox\"\n [disabled]=\"disabled\"\n [checked]=\"model\"\n (blur)=\"onBlur()\"\n />\n <span [ngClass]=\"bem.element('bar')\">\n <i [ngClass]=\"bem.element('dot')\"></i>\n </span>\n</div>\n", styles: [".aui-switch{display:inline-flex;position:relative;vertical-align:text-bottom;color:rgb(var(--aui-color-n-4));cursor:pointer}.aui-switch__input{position:absolute;width:0;height:0;opacity:0;margin:0}:root .aui-switch__input:focus+.aui-switch__bar{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}html[aui-theme-mode=light] .aui-switch__input:focus+.aui-switch__bar{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.16)}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-switch__input:focus+.aui-switch__bar{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}}html[aui-theme-mode=dark] .aui-switch__input:focus+.aui-switch__bar{box-shadow:0 0 0 2px rgba(var(--aui-color-primary),.3)}.aui-switch__bar{display:inline-block;width:30px;height:16px;border-radius:8px;background-color:currentcolor;transition:background-color .3s;position:relative;vertical-align:middle;-webkit-user-select:none;user-select:none}.aui-switch__dot{background-color:#fff;border-radius:50%;width:12px;height:12px;position:absolute;top:2px;left:2px;transition:left .3s}.aui-switch.isDisabled{color:rgb(var(--aui-color-n-7));cursor:not-allowed}@media (prefers-color-scheme: dark){html[aui-theme-mode=system] .aui-switch.isDisabled .aui-switch__dot{background-color:rgb(var(--aui-color-n-4))}}html[aui-theme-mode=dark] .aui-switch.isDisabled .aui-switch__dot{background-color:rgb(var(--aui-color-n-4))}.aui-switch.isChecked{color:rgb(var(--aui-color-primary))}.aui-switch.isChecked.isDisabled{color:rgb(var(--aui-color-p-4))}.aui-switch.isChecked .aui-switch__dot{left:16px}.aui-switch.isLoading .aui-switch__dot:after{content:\"\";position:absolute;top:2px;bottom:2px;left:2px;right:2px;border:1px solid currentcolor;border-top-color:transparent;border-radius:50%;animation:spin 1s infinite linear}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}\n"] }]
|
|
43
|
+
}], propDecorators: { loading: [{
|
|
44
|
+
type: Input
|
|
45
|
+
}] } });
|
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dpdGNoLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9zd2l0Y2gvc3dpdGNoLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uL3NyYy9zd2l0Y2gvc3dpdGNoLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULEtBQUssRUFDTCxpQkFBaUIsRUFDakIsVUFBVSxHQUNYLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRW5ELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLFNBQVMsQ0FBQztBQUM1QyxPQUFPLEVBQU8sUUFBUSxFQUFFLE1BQU0sVUFBVSxDQUFDOzs7QUFFekMsTUFBTSxNQUFNLEdBQUcsWUFBWSxDQUFDO0FBaUI1QixNQUFNLE9BQU8sZUFBZ0IsU0FBUSxpQkFBMEI7SUFmL0Q7O1FBZ0JFLFFBQUcsR0FBUSxRQUFRLENBQUMsTUFBTSxDQUFDLENBQUM7UUFHNUIsWUFBTyxHQUFHLEtBQUssQ0FBQztLQWNqQjtJQVpDLFFBQVE7UUFDTixJQUFJLElBQUksQ0FBQyxRQUFRLEVBQUU7WUFDakIsT0F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AgY2xhc3M9XCJhdWktc3dpdGNoXCJcbiAgW2NsYXNzLmlzTG9hZGluZ109XCJsb2FkaW5nXCJcbiAgW2NsYXNzLmlzRGlzYWJsZWRdPVwiZGlzYWJsZWRcIlxuICBbY2xhc3MuaXNDaGVja2VkXT1cIm1vZGVsXCJcbiAgKGNsaWNrKT1cIm9uU3dpdGNoKClcIlxuPlxuICA8aW5wdXRcbiAgICAjaW5wdXRcbiAgICBbbmdDbGFzc109XCJiZW0uZWxlbWVudCgnaW5wdXQnKVwiXG4gICAgdHlwZT1cImNoZWNrYm94XCJcbiAgICBbZGlzYWJsZWRdPVwiZGlzYWJsZWRcIlxuICAgIFtjaGVja2VkXT1cIm1vZGVsXCJcbiAgICAoYmx1cik9XCJvbkJsdXIoKVwiXG4gIC8+XG4gIDxzcGFuIFtuZ0NsYXNzXT1cImJlbS5lbGVtZW50KCdiYXInKVwiPlxuICAgIDxpIFtuZ0NsYXNzXT1cImJlbS5lbGVtZW50KCdkb3QnKVwiPjwvaT5cbiAgPC9zcGFuPlxuPC9kaXY+XG4iXX0=
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CommonModule } from '@angular/common';
|
|
2
|
+
import { NgModule } from '@angular/core';
|
|
3
|
+
import { SwitchComponent } from './switch.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export class SwitchModule {
|
|
6
|
+
}
|
|
7
|
+
SwitchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: SwitchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
8
|
+
SwitchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: SwitchModule, declarations: [SwitchComponent], imports: [CommonModule], exports: [SwitchComponent] });
|
|
9
|
+
SwitchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: SwitchModule, imports: [[CommonModule]] });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: SwitchModule, decorators: [{
|
|
11
|
+
type: NgModule,
|
|
12
|
+
args: [{
|
|
13
|
+
imports: [CommonModule],
|
|
14
|
+
declarations: [SwitchComponent],
|
|
15
|
+
exports: [SwitchComponent],
|
|
16
|
+
}]
|
|
17
|
+
}] });
|
|
18
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3dpdGNoLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9zd2l0Y2gvc3dpdGNoLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDL0MsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUV6QyxPQUFPLEVBQUUsZUFBZSxFQUFFLE1BQU0sb0JBQW9CLENBQUM7O0FBT3JELE1BQU0sT0FBTyxZQUFZOzt5R0FBWixZQUFZOzBHQUFaLFlBQVksaUJBSFIsZUFBZSxhQURwQixZQUFZLGFBRVosZUFBZTswR0FFZCxZQUFZLFlBSmQsQ0FBQyxZQUFZLENBQUM7MkZBSVosWUFBWTtrQkFMeEIsUUFBUTttQkFBQztvQkFDUixPQUFPLEVBQUUsQ0FBQyxZQUFZLENBQUM7b0JBQ3ZCLFlBQVksRUFBRSxDQUFDLGVBQWUsQ0FBQztvQkFDL0IsT0FBTyxFQUFFLENBQUMsZUFBZSxDQUFDO2lCQUMzQiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENvbW1vbk1vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvbW1vbic7XG5pbXBvcnQgeyBOZ01vZHVsZSB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5pbXBvcnQgeyBTd2l0Y2hDb21wb25lbnQgfSBmcm9tICcuL3N3aXRjaC5jb21wb25lbnQnO1xuXG5ATmdNb2R1bGUoe1xuICBpbXBvcnRzOiBbQ29tbW9uTW9kdWxlXSxcbiAgZGVjbGFyYXRpb25zOiBbU3dpdGNoQ29tcG9uZW50XSxcbiAgZXhwb3J0czogW1N3aXRjaENvbXBvbmVudF0sXG59KVxuZXhwb3J0IGNsYXNzIFN3aXRjaE1vZHVsZSB7fVxuIl19
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { CdkCellDef } from '@angular/cdk/table';
|
|
2
|
+
import { Directive } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Cell definition for the aui-table.
|
|
6
|
+
* Captures the template of a column's data row cell as well as cell-specific properties.
|
|
7
|
+
*/
|
|
8
|
+
export class TableCellDefDirective extends CdkCellDef {
|
|
9
|
+
}
|
|
10
|
+
TableCellDefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TableCellDefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
11
|
+
TableCellDefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.8", type: TableCellDefDirective, selector: "[auiTableCellDef]", providers: [
|
|
12
|
+
{
|
|
13
|
+
provide: CdkCellDef,
|
|
14
|
+
useExisting: TableCellDefDirective,
|
|
15
|
+
},
|
|
16
|
+
], usesInheritance: true, ngImport: i0 });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TableCellDefDirective, decorators: [{
|
|
18
|
+
type: Directive,
|
|
19
|
+
args: [{
|
|
20
|
+
selector: '[auiTableCellDef]',
|
|
21
|
+
providers: [
|
|
22
|
+
{
|
|
23
|
+
provide: CdkCellDef,
|
|
24
|
+
useExisting: TableCellDefDirective,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gcm93IGNlbGwgYXMgd2VsbCBhcyBjZWxsLXNwZWNpZmljIHByb3BlcnRpZXMuXG4gKi9cbkBEaXJlY3RpdmUoe1xuICBzZWxlY3RvcjogJ1thdWlUYWJsZUNlbGxEZWZdJyxcbiAgcHJvdmlkZXJzOiBbXG4gICAge1xuICAgICAgcHJvdmlkZTogQ2RrQ2VsbERlZixcbiAgICAgIHVzZUV4aXN0aW5nOiBUYWJsZUNlbGxEZWZEaXJlY3RpdmUsXG4gICAgfSxcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgVGFibGVDZWxsRGVmRGlyZWN0aXZlIGV4dGVuZHMgQ2RrQ2VsbERlZiB7fVxuIl19
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { animate, state, style, transition, trigger, } from '@angular/animations';
|
|
2
|
+
import { CdkCell } from '@angular/cdk/table';
|
|
3
|
+
import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewEncapsulation, } from '@angular/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../icon/icon.component";
|
|
6
|
+
import * as i2 from "@angular/common";
|
|
7
|
+
export class TableExpandButtonCellComponent extends CdkCell {
|
|
8
|
+
constructor() {
|
|
9
|
+
super(...arguments);
|
|
10
|
+
this.expand = false;
|
|
11
|
+
this.disabled = false;
|
|
12
|
+
this.expandChange = new EventEmitter();
|
|
13
|
+
}
|
|
14
|
+
get expanded() {
|
|
15
|
+
return this.expand ? 'expanded' : null;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
TableExpandButtonCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TableExpandButtonCellComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
+
TableExpandButtonCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", type: TableExpandButtonCellComponent, selector: "aui-table-cell[auiExpandButton]", inputs: { expand: "expand", disabled: "disabled" }, outputs: { expandChange: "expandChange" }, usesInheritance: true, ngImport: i0, template: `
|
|
20
|
+
<button
|
|
21
|
+
type="button"
|
|
22
|
+
class="aui-expand-button"
|
|
23
|
+
[class.isExpanded]="expand"
|
|
24
|
+
[disabled]="disabled"
|
|
25
|
+
(click)="expandChange.next(null)"
|
|
26
|
+
>
|
|
27
|
+
<aui-icon icon="angle_right"></aui-icon>
|
|
28
|
+
</button>
|
|
29
|
+
`, isInline: true, components: [{ type: i1.IconComponent, selector: "aui-icon", inputs: ["icon", "light", "dark", "link", "margin", "size", "color", "background", "backgroundColor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
30
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TableExpandButtonCellComponent, decorators: [{
|
|
31
|
+
type: Component,
|
|
32
|
+
args: [{
|
|
33
|
+
selector: 'aui-table-cell[auiExpandButton]',
|
|
34
|
+
template: `
|
|
35
|
+
<button
|
|
36
|
+
type="button"
|
|
37
|
+
class="aui-expand-button"
|
|
38
|
+
[class.isExpanded]="expand"
|
|
39
|
+
[disabled]="disabled"
|
|
40
|
+
(click)="expandChange.next(null)"
|
|
41
|
+
>
|
|
42
|
+
<aui-icon icon="angle_right"></aui-icon>
|
|
43
|
+
</button>
|
|
44
|
+
`,
|
|
45
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
46
|
+
encapsulation: ViewEncapsulation.None,
|
|
47
|
+
preserveWhitespaces: false,
|
|
48
|
+
}]
|
|
49
|
+
}], propDecorators: { expand: [{
|
|
50
|
+
type: Input
|
|
51
|
+
}], disabled: [{
|
|
52
|
+
type: Input
|
|
53
|
+
}], expandChange: [{
|
|
54
|
+
type: Output
|
|
55
|
+
}] } });
|
|
56
|
+
export class TableExpandPanelCellComponent extends CdkCell {
|
|
57
|
+
constructor() {
|
|
58
|
+
super(...arguments);
|
|
59
|
+
this.expand = false;
|
|
60
|
+
this.background = true;
|
|
61
|
+
}
|
|
62
|
+
get expanded() {
|
|
63
|
+
return this.expand ? 'expanded' : null;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
TableExpandPanelCellComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TableExpandPanelCellComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
67
|
+
TableExpandPanelCellComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", type: TableExpandPanelCellComponent, selector: "aui-table-cell[auiExpandPanel]", inputs: { expand: "expand", background: "background" }, usesInheritance: true, ngImport: i0, template: `
|
|
68
|
+
<div
|
|
69
|
+
*ngIf="expand"
|
|
70
|
+
class="aui-table__cell-expand-panel"
|
|
71
|
+
[@expand]="expanded"
|
|
72
|
+
>
|
|
73
|
+
<div
|
|
74
|
+
class="aui-table__cell-expand-panel-content"
|
|
75
|
+
[class.hasBackground]="background"
|
|
76
|
+
>
|
|
77
|
+
<ng-content></ng-content>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
`, isInline: true, directives: [{ type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [
|
|
81
|
+
trigger('expand', [
|
|
82
|
+
state('*', style({ height: 0 })),
|
|
83
|
+
state('expanded', style({ height: '*', 'margin-bottom': '15px' })),
|
|
84
|
+
transition('* <=> expanded', [animate('0.1s ease-in-out')]),
|
|
85
|
+
]),
|
|
86
|
+
], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
87
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TableExpandPanelCellComponent, decorators: [{
|
|
88
|
+
type: Component,
|
|
89
|
+
args: [{
|
|
90
|
+
selector: 'aui-table-cell[auiExpandPanel]',
|
|
91
|
+
template: `
|
|
92
|
+
<div
|
|
93
|
+
*ngIf="expand"
|
|
94
|
+
class="aui-table__cell-expand-panel"
|
|
95
|
+
[@expand]="expanded"
|
|
96
|
+
>
|
|
97
|
+
<div
|
|
98
|
+
class="aui-table__cell-expand-panel-content"
|
|
99
|
+
[class.hasBackground]="background"
|
|
100
|
+
>
|
|
101
|
+
<ng-content></ng-content>
|
|
102
|
+
</div>
|
|
103
|
+
</div>
|
|
104
|
+
`,
|
|
105
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
106
|
+
encapsulation: ViewEncapsulation.None,
|
|
107
|
+
preserveWhitespaces: false,
|
|
108
|
+
animations: [
|
|
109
|
+
trigger('expand', [
|
|
110
|
+
state('*', style({ height: 0 })),
|
|
111
|
+
state('expanded', style({ height: '*', 'margin-bottom': '15px' })),
|
|
112
|
+
transition('* <=> expanded', [animate('0.1s ease-in-out')]),
|
|
113
|
+
]),
|
|
114
|
+
],
|
|
115
|
+
}]
|
|
116
|
+
}], propDecorators: { expand: [{
|
|
117
|
+
type: Input
|
|
118
|
+
}], background: [{
|
|
119
|
+
type: Input
|
|
120
|
+
}] } });
|
|
121
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtY2VsbC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdGFibGUvdGFibGUtY2VsbC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUNMLE9BQU8sRUFDUCxLQUFLLEVBQ0wsS0FBSyxFQUNMLFVBQVUsRUFDVixPQUFPLEdBQ1IsTUFBTSxxQkFBcUIsQ0FBQztBQUM3QixPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sb0JBQW9CLENBQUM7QUFDN0MsT0FBTyxFQUNMLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsWUFBWSxFQUNaLEt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gYW5pbWF0aW9uczogW1xuICAgIHRyaWdnZXIoJ2V4cGFuZCcsIFtcbiAgICAgIHN0YXRlKCcqJywgc3R5bGUoeyBoZWlnaHQ6IDAgfSkpLFxuICAgICAgc3RhdGUoJ2V4cGFuZGVkJywgc3R5bGUoeyBoZWlnaHQ6ICcqJywgJ21hcmdpbi1ib3R0b20nOiAnMTVweCcgfSkpLFxuICAgICAgdHJhbnNpdGlvbignKiA8PT4gZXhwYW5kZWQnLCBbYW5pbWF0ZSgnMC4xcyBlYXNlLWluLW91dCcpXSksXG4gICAgXSksXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIFRhYmxlRXhwYW5kUGFuZWxDZWxsQ29tcG9uZW50IGV4dGVuZHMgQ2RrQ2VsbCB7XG4gIEBJbnB1dCgpXG4gIGV4cGFuZCA9IGZhbHNlO1xuXG4gIEBJbnB1dCgpXG4gIGJhY2tncm91bmQgPSB0cnVlO1xuXG4gIGdldCBleHBhbmRlZCgpIHtcbiAgICByZXR1cm4gdGhpcy5leHBhbmQgPyAnZXhwYW5kZWQnIDogbnVsbDtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { CdkCell } from '@angular/cdk/table';
|
|
2
|
+
import { Directive, Input } from '@angular/core';
|
|
3
|
+
import { buildBem } from '../utils';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/cdk/table";
|
|
6
|
+
const bem = buildBem('aui-table');
|
|
7
|
+
/** Cell template container that adds the right classes and role. */
|
|
8
|
+
export class TableCellDirective extends CdkCell {
|
|
9
|
+
constructor(columnDef, elementRef) {
|
|
10
|
+
super(columnDef, elementRef);
|
|
11
|
+
this.direction = 'row';
|
|
12
|
+
elementRef.nativeElement.classList.add(bem.element(`column-${columnDef.cssClassFriendlyName}`));
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
TableCellDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TableCellDirective, deps: [{ token: i1.CdkColumnDef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
16
|
+
TableCellDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.8", type: TableCellDirective, selector: "aui-table-cell", inputs: { direction: "direction" }, host: { attributes: { "role": "gridcell" }, properties: { "class.aui-table__cell--column": "direction === \"column\"" }, classAttribute: "aui-table__cell" }, usesInheritance: true, ngImport: i0 });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TableCellDirective, decorators: [{
|
|
18
|
+
type: Directive,
|
|
19
|
+
args: [{
|
|
20
|
+
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
21
|
+
selector: 'aui-table-cell',
|
|
22
|
+
host: {
|
|
23
|
+
class: 'aui-table__cell',
|
|
24
|
+
role: 'gridcell',
|
|
25
|
+
'[class.aui-table__cell--column]': 'direction === "column"',
|
|
26
|
+
},
|
|
27
|
+
}]
|
|
28
|
+
}], ctorParameters: function () { return [{ type: i1.CdkColumnDef }, { type: i0.ElementRef }]; }, propDecorators: { direction: [{
|
|
29
|
+
type: Input
|
|
30
|
+
}] } });
|
|
31
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtY2VsbC5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdGFibGUvdGFibGUtY2VsbC5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLE9BQU8sRUFBZ0IsTUFBTSxvQkFBb0IsQ0FBQztBQUMzRCxPQUFPLEVBQUUsU0FBUyxFQUFjLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUU3RCxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sVUF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luZXIgdGhhdCBhZGRzIHRoZSByaWdodCBjbGFzc2VzIGFuZCByb2xlLiAqL1xuQERpcmVjdGl2ZSh7XG4gIC8vIGVzbGludC1kaXNhYmxlLW5leHQtbGluZSBAYW5ndWxhci1lc2xpbnQvZGlyZWN0aXZlLXNlbGVjdG9yXG4gIHNlbGVjdG9yOiAnYXVpLXRhYmxlLWNlbGwnLFxuICBob3N0OiB7XG4gICAgY2xhc3M6ICdhdWktdGFibGVfX2NlbGwnLFxuICAgIHJvbGU6ICdncmlkY2VsbCcsXG4gICAgJ1tjbGFzcy5hdWktdGFibGVfX2NlbGwtLWNvbHVtbl0nOiAnZGlyZWN0aW9uID09PSBcImNvbHVtblwiJyxcbiAgfSxcbn0pXG5leHBvcnQgY2xhc3MgVGFibGVDZWxsRGlyZWN0aXZlIGV4dGVuZHMgQ2RrQ2VsbCB7XG4gIEBJbnB1dCgpXG4gIGRpcmVjdGlvbjogJ3JvdycgfCAnY29sdW1uJyA9ICdyb3cnO1xuXG4gIGNvbnN0cnVjdG9yKGNvbHVtbkRlZjogQ2RrQ29sdW1uRGVmLCBlbGVtZW50UmVmOiBFbGVtZW50UmVmPEhUTUxFbGVtZW50Pikge1xuICAgIHN1cGVyKGNvbHVtbkRlZiwgZWxlbWVudFJlZik7XG4gICAgZWxlbWVudFJlZi5uYXRpdmVFbGVtZW50LmNsYXNzTGlzdC5hZGQoXG4gICAgICBiZW0uZWxlbWVudChgY29sdW1uLSR7Y29sdW1uRGVmLmNzc0NsYXNzRnJpZW5kbHlOYW1lfWApLFxuICAgICk7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { CdkColumnDef } from '@angular/cdk/table';
|
|
2
|
+
import { Directive, Input } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Column definition for the aui-table.
|
|
6
|
+
* Defines a set of cells available for a table column.
|
|
7
|
+
*/
|
|
8
|
+
export class TableColumnDefDirective extends CdkColumnDef {
|
|
9
|
+
// Unique name for this column
|
|
10
|
+
// Why it does not work in `inputs` property?
|
|
11
|
+
set auiTableColumnDef(value) {
|
|
12
|
+
this.name = value;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
TableColumnDefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TableColumnDefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
16
|
+
TableColumnDefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.8", type: TableColumnDefDirective, selector: "[auiTableColumnDef]", inputs: { sticky: "sticky", auiTableColumnDef: "auiTableColumnDef" }, providers: [
|
|
17
|
+
{
|
|
18
|
+
provide: CdkColumnDef,
|
|
19
|
+
useExisting: TableColumnDefDirective,
|
|
20
|
+
},
|
|
21
|
+
], usesInheritance: true, ngImport: i0 });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TableColumnDefDirective, decorators: [{
|
|
23
|
+
type: Directive,
|
|
24
|
+
args: [{
|
|
25
|
+
selector: '[auiTableColumnDef]',
|
|
26
|
+
providers: [
|
|
27
|
+
{
|
|
28
|
+
provide: CdkColumnDef,
|
|
29
|
+
useExisting: TableColumnDefDirective,
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
inputs: ['sticky'],
|
|
33
|
+
}]
|
|
34
|
+
}], propDecorators: { auiTableColumnDef: [{
|
|
35
|
+
type: Input
|
|
36
|
+
}] } });
|
|
37
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtY29sdW1uLWRlZi5kaXJlY3RpdmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdGFibGUvdGFibGUtY29sdW1uLWRlZi5kaXJlY3RpdmUudHMiXSwibmFtZXMi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HtcbiAgc2VsZWN0b3I6ICdbYXVpVGFibGVDb2x1bW5EZWZdJyxcbiAgcHJvdmlkZXJzOiBbXG4gICAge1xuICAgICAgcHJvdmlkZTogQ2RrQ29sdW1uRGVmLFxuICAgICAgdXNlRXhpc3Rpbmc6IFRhYmxlQ29sdW1uRGVmRGlyZWN0aXZlLFxuICAgIH0sXG4gIF0sXG4gIGlucHV0czogWydzdGlja3knXSxcbn0pXG5leHBvcnQgY2xhc3MgVGFibGVDb2x1bW5EZWZEaXJlY3RpdmUgZXh0ZW5kcyBDZGtDb2x1bW5EZWYge1xuICAvLyBVbmlxdWUgbmFtZSBmb3IgdGhpcyBjb2x1bW5cbiAgLy8gV2h5IGl0IGRvZXMgbm90IHdvcmsgaW4gYGlucHV0c2AgcHJvcGVydHk/XG4gIEBJbnB1dCgpXG4gIHNldCBhdWlUYWJsZUNvbHVtbkRlZih2YWx1ZTogc3RyaW5nKSB7XG4gICAgdGhpcy5uYW1lID0gdmFsdWU7XG4gIH1cbn1cbiJdfQ==
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { CdkHeaderCellDef } from '@angular/cdk/table';
|
|
2
|
+
import { Directive } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Header cell definition for the aui-table.
|
|
6
|
+
* Captures the template of a column's header cell and as well as cell-specific properties.
|
|
7
|
+
*/
|
|
8
|
+
export class TableHeaderCellDefDirective extends CdkHeaderCellDef {
|
|
9
|
+
}
|
|
10
|
+
TableHeaderCellDefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TableHeaderCellDefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
11
|
+
TableHeaderCellDefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.8", type: TableHeaderCellDefDirective, selector: "[auiTableHeaderCellDef]", providers: [
|
|
12
|
+
{
|
|
13
|
+
provide: CdkHeaderCellDef,
|
|
14
|
+
useExisting: TableHeaderCellDefDirective,
|
|
15
|
+
},
|
|
16
|
+
], usesInheritance: true, ngImport: i0 });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TableHeaderCellDefDirective, decorators: [{
|
|
18
|
+
type: Directive,
|
|
19
|
+
args: [{
|
|
20
|
+
selector: '[auiTableHeaderCellDef]',
|
|
21
|
+
providers: [
|
|
22
|
+
{
|
|
23
|
+
provide: CdkHeaderCellDef,
|
|
24
|
+
useExisting: TableHeaderCellDefDirective,
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
}]
|
|
28
|
+
}] });
|
|
29
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtaGVhZGVyLWNlbGwtZGVmLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy90YWJsZS90YWJsZS1oZWFkZXItY2VsbC1kZWYuZGlyZWN0aXZlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ3RELE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBRTFDOzs7R0FHRztBQVVILE1BQU0sT0FBTywyQkFBNEIsU0FBUSxnQkFBZ0I7O3dIQUFwRCwyQkFBMkI7NEdBQTNCLDJCQUEyQixrREFQM0I7UUFDVDtZQUNFLE9BQU8sRUFBRSxnQkFBZ0I7WUFDekIsV0FBVyxFQUFFLDJCQUEyQjtTQUN6QztLQUNGOzJGQUVVLDJCQUEyQjtrQkFUdkMsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUseUJBQXlCO29CQUNuQyxTQUFTLEVBQUU7d0JBQ1Q7NEJBQ0UsT0FBTyxFQUFFLGdCQUFnQjs0QkFDekIsV0FBVyw2QkFBNkI7eUJBQ3pDO3FCQUNGO2lCQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ2RrSGVhZGVyQ2VsbERlZiB9IGZyb20gJ0Bhbmd1bGFyL2Nkay90YWJsZSc7XG5pbXBvcnQgeyBEaXJlY3RpdmUgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcblxuLyoqXG4gKiBIZWFkZXIgY2VsbCBkZWZpbml0aW9uIGZvciB0aGUgYXVpLXRhYmxlLlxuICogQ2FwdHVyZXMgdGhlIHRlbXBsYXRlIG9mIGEgY29sdW1uJ3MgaGVhZGVyIGNlbGwgYW5kIGFzIHdlbGwgYXMgY2VsbC1zcGVjaWZpYyBwcm9wZXJ0aWVzLlxuICovXG5ARGlyZWN0aXZlKHtcbiAgc2VsZWN0b3I6ICdbYXVpVGFibGVIZWFkZXJDZWxsRGVmXScsXG4gIHByb3ZpZGVyczogW1xuICAgIHtcbiAgICAgIHByb3ZpZGU6IENka0hlYWRlckNlbGxEZWYsXG4gICAgICB1c2VFeGlzdGluZzogVGFibGVIZWFkZXJDZWxsRGVmRGlyZWN0aXZlLFxuICAgIH0sXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIFRhYmxlSGVhZGVyQ2VsbERlZkRpcmVjdGl2ZSBleHRlbmRzIENka0hlYWRlckNlbGxEZWYge31cbiJdfQ==
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { CdkHeaderCell } from '@angular/cdk/table';
|
|
2
|
+
import { Directive } from '@angular/core';
|
|
3
|
+
import { buildBem } from '../utils';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "@angular/cdk/table";
|
|
6
|
+
const bem = buildBem('aui-table');
|
|
7
|
+
/** Header cell template container that adds the right classes and role. */
|
|
8
|
+
export class TableHeaderCellDirective extends CdkHeaderCell {
|
|
9
|
+
constructor(columnDef, elementRef) {
|
|
10
|
+
super(columnDef, elementRef);
|
|
11
|
+
elementRef.nativeElement.classList.add(bem.element(`column-${columnDef.cssClassFriendlyName}`));
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
TableHeaderCellDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TableHeaderCellDirective, deps: [{ token: i1.CdkColumnDef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
15
|
+
TableHeaderCellDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.8", type: TableHeaderCellDirective, selector: "aui-table-header-cell", host: { attributes: { "role": "columnheader" }, classAttribute: "aui-table__header-cell" }, usesInheritance: true, ngImport: i0 });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TableHeaderCellDirective, decorators: [{
|
|
17
|
+
type: Directive,
|
|
18
|
+
args: [{
|
|
19
|
+
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
20
|
+
selector: 'aui-table-header-cell',
|
|
21
|
+
host: {
|
|
22
|
+
class: 'aui-table__header-cell',
|
|
23
|
+
role: 'columnheader',
|
|
24
|
+
},
|
|
25
|
+
}]
|
|
26
|
+
}], ctorParameters: function () { return [{ type: i1.CdkColumnDef }, { type: i0.ElementRef }]; } });
|
|
27
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtaGVhZGVyLWNlbGwuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3RhYmxlL3RhYmxlLWhlYWRlci1jZWxsLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQWdCLGFBQWEsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ2pFLE9BQU8sRUFBRSxTQ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WRkcyB0aGUgcmlnaHQgY2xhc3NlcyBhbmQgcm9sZS4gKi9cbkBEaXJlY3RpdmUoe1xuICAvLyBlc2xpbnQtZGlzYWJsZS1uZXh0LWxpbmUgQGFuZ3VsYXItZXNsaW50L2RpcmVjdGl2ZS1zZWxlY3RvclxuICBzZWxlY3RvcjogJ2F1aS10YWJsZS1oZWFkZXItY2VsbCcsXG4gIGhvc3Q6IHtcbiAgICBjbGFzczogJ2F1aS10YWJsZV9faGVhZGVyLWNlbGwnLFxuICAgIHJvbGU6ICdjb2x1bW5oZWFkZXInLFxuICB9LFxufSlcbmV4cG9ydCBjbGFzcyBUYWJsZUhlYWRlckNlbGxEaXJlY3RpdmUgZXh0ZW5kcyBDZGtIZWFkZXJDZWxsIHtcbiAgY29uc3RydWN0b3IoY29sdW1uRGVmOiBDZGtDb2x1bW5EZWYsIGVsZW1lbnRSZWY6IEVsZW1lbnRSZWY8SFRNTEVsZW1lbnQ+KSB7XG4gICAgc3VwZXIoY29sdW1uRGVmLCBlbGVtZW50UmVmKTtcbiAgICBlbGVtZW50UmVmLm5hdGl2ZUVsZW1lbnQuY2xhc3NMaXN0LmFkZChcbiAgICAgIGJlbS5lbGVtZW50KGBjb2x1bW4tJHtjb2x1bW5EZWYuY3NzQ2xhc3NGcmllbmRseU5hbWV9YCksXG4gICAgKTtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { CdkHeaderRowDef } from '@angular/cdk/table';
|
|
2
|
+
import { Directive, Input } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Header row definition for the aui-table.
|
|
6
|
+
* Captures the header row's template and other header properties such as the columns to display.
|
|
7
|
+
*/
|
|
8
|
+
export class TableHeaderRowDefDirective extends CdkHeaderRowDef {
|
|
9
|
+
constructor() {
|
|
10
|
+
super(...arguments);
|
|
11
|
+
this.columns = [];
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
TableHeaderRowDefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TableHeaderRowDefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
15
|
+
TableHeaderRowDefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.8", type: TableHeaderRowDefDirective, selector: "[auiTableHeaderRowDef]", inputs: { columns: ["auiTableHeaderRowDef", "columns"], sticky: ["auiTableHeaderRowDefSticky", "sticky"] }, providers: [
|
|
16
|
+
{
|
|
17
|
+
provide: CdkHeaderRowDef,
|
|
18
|
+
useExisting: TableHeaderRowDefDirective,
|
|
19
|
+
},
|
|
20
|
+
], usesInheritance: true, ngImport: i0 });
|
|
21
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TableHeaderRowDefDirective, decorators: [{
|
|
22
|
+
type: Directive,
|
|
23
|
+
args: [{
|
|
24
|
+
selector: '[auiTableHeaderRowDef]',
|
|
25
|
+
providers: [
|
|
26
|
+
{
|
|
27
|
+
provide: CdkHeaderRowDef,
|
|
28
|
+
useExisting: TableHeaderRowDefDirective,
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
}]
|
|
32
|
+
}], propDecorators: { columns: [{
|
|
33
|
+
type: Input,
|
|
34
|
+
args: ['auiTableHeaderRowDef']
|
|
35
|
+
}], sticky: [{
|
|
36
|
+
type: Input,
|
|
37
|
+
args: ['auiTableHeaderRowDefSticky']
|
|
38
|
+
}] } });
|
|
39
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtaGVhZGVyLXJvdy1kZWYuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3RhYmxlL3RhYmxlLWhlYWRlci1yb3ctZGVmLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10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cbiAgc2VsZWN0b3I6ICdbYXVpVGFibGVIZWFkZXJSb3dEZWZdJyxcbiAgcHJvdmlkZXJzOiBbXG4gICAge1xuICAgICAgcHJvdmlkZTogQ2RrSGVhZGVyUm93RGVmLFxuICAgICAgdXNlRXhpc3Rpbmc6IFRhYmxlSGVhZGVyUm93RGVmRGlyZWN0aXZlLFxuICAgIH0sXG4gIF0sXG59KVxuZXhwb3J0IGNsYXNzIFRhYmxlSGVhZGVyUm93RGVmRGlyZWN0aXZlIGV4dGVuZHMgQ2RrSGVhZGVyUm93RGVmIHtcbiAgQElucHV0KCdhdWlUYWJsZUhlYWRlclJvd0RlZicpXG4gIG92ZXJyaWRlIGNvbHVtbnM6IEl0ZXJhYmxlPHN0cmluZz4gPSBbXTtcblxuICBASW5wdXQoJ2F1aVRhYmxlSGVhZGVyUm93RGVmU3RpY2t5JylcbiAgb3ZlcnJpZGUgc3RpY2t5OiBib29sZWFuO1xufVxuIl19
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { CDK_ROW_TEMPLATE, CdkHeaderRow } from '@angular/cdk/table';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, ViewEncapsulation, } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/cdk/table";
|
|
5
|
+
/** Header template container that contains the cell outlet. Adds the right class and role. */
|
|
6
|
+
export class TableHeaderRowComponent extends CdkHeaderRow {
|
|
7
|
+
}
|
|
8
|
+
TableHeaderRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TableHeaderRowComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
9
|
+
TableHeaderRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", type: TableHeaderRowComponent, selector: "aui-table-header-row", host: { attributes: { "role": "row" }, classAttribute: "aui-table__header-row" }, exportAs: ["auiTableHeaderRow"], usesInheritance: true, ngImport: i0, template: "<ng-container cdkCellOutlet></ng-container>", isInline: true, directives: [{ type: i1.CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TableHeaderRowComponent, decorators: [{
|
|
11
|
+
type: Component,
|
|
12
|
+
args: [{
|
|
13
|
+
selector: 'aui-table-header-row',
|
|
14
|
+
template: CDK_ROW_TEMPLATE,
|
|
15
|
+
host: {
|
|
16
|
+
class: 'aui-table__header-row',
|
|
17
|
+
role: 'row',
|
|
18
|
+
},
|
|
19
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
20
|
+
encapsulation: ViewEncapsulation.None,
|
|
21
|
+
exportAs: 'auiTableHeaderRow',
|
|
22
|
+
preserveWhitespaces: false,
|
|
23
|
+
}]
|
|
24
|
+
}] });
|
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtaGVhZGVyLXJvdy5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvdGFibGUvdGFibGUtaGVhZGVyLXJvdy5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGdCQUFnQixFQUFFLFlBQVksRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBQ3BFLE9BQU8sRUFDTCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQzs7O0FBRXZCLDhGQUE4RjtBQWE5RixNQUFNLE9BQU8sdUJBQXdCLFNBQVEsWUFBWTs7b0hBQTVDLHVCQUF1Qjt3R0FBdkIsdUJBQXVCOzJGQUF2Qix1QkFBdUI7a0JBWm5DLFNBQVM7bUJBQUM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YWRlclJvdycsXG4gIHByZXNlcnZlV2hpdGVzcGFjZXM6IGZhbHNlLFxufSlcbmV4cG9ydCBjbGFzcyBUYWJsZUhlYWRlclJvd0NvbXBvbmVudCBleHRlbmRzIENka0hlYWRlclJvdyB7fVxuIl19
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Directive, } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export class TablePlaceholderDefDirective {
|
|
4
|
+
constructor(templateRef) {
|
|
5
|
+
this.templateRef = templateRef;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
TablePlaceholderDefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TablePlaceholderDefDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
9
|
+
TablePlaceholderDefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.8", type: TablePlaceholderDefDirective, selector: "ng-template[auiTablePlaceholderDef]", ngImport: i0 });
|
|
10
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TablePlaceholderDefDirective, decorators: [{
|
|
11
|
+
type: Directive,
|
|
12
|
+
args: [{
|
|
13
|
+
selector: 'ng-template[auiTablePlaceholderDef]',
|
|
14
|
+
}]
|
|
15
|
+
}], ctorParameters: function () { return [{ type: i0.TemplateRef }]; } });
|
|
16
|
+
export class TablePlaceholderOutletDirective {
|
|
17
|
+
constructor(viewContainer, elementRef) {
|
|
18
|
+
this.viewContainer = viewContainer;
|
|
19
|
+
this.elementRef = elementRef;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
TablePlaceholderOutletDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TablePlaceholderOutletDirective, deps: [{ token: i0.ViewContainerRef }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
23
|
+
TablePlaceholderOutletDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.8", type: TablePlaceholderOutletDirective, selector: "[auiTablePlaceholderOutlet]", ngImport: i0 });
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TablePlaceholderOutletDirective, decorators: [{
|
|
25
|
+
type: Directive,
|
|
26
|
+
args: [{
|
|
27
|
+
selector: '[auiTablePlaceholderOutlet]',
|
|
28
|
+
}]
|
|
29
|
+
}], ctorParameters: function () { return [{ type: i0.ViewContainerRef }, { type: i0.ElementRef }]; } });
|
|
30
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtcGxhY2Vob2xkZXIuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL3RhYmxlL3RhYmxlLXBsYWNlaG9sZGVyLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQ0wsU0FBUyxHQUlWLE1BQU0sZUFBZSxDQUFDOztBQUt2QixNQUFNLE9BQU8sNEJBQTRCO0lBQ3ZDLFlBQW1CLFdBQTZCO1FBQTdCLGdCQUFXLEdBQVgsV0FBVyxDQUFrQjtJQUFHLENBQUM7O3lIQUR6Qyw0QkFBNEI7NkdBQTVCLDRCQUE0QjsyRkFBNUIsNEJBQTRCO2tCQUh4QyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSxxQ0FBcUM7aUJBQ2hEOztBQVFELE1BQU0sT0FBTywrQkFBK0I7SUFDMUMsWUFDUyxhQUErQixFQUMvQixVQUFzQjtRQUR0QixrQkFBYSxHQUFiLGFBQWEsQ0FBa0I7UUFDL0IsZUFBVSxHQUFWLFVBQVUsQ0FBWTtJQUM1QixDQUFDOzs0SEFKTywrQkFBK0I7Z0hBQS9CLCtCQUErQjsyRkFBL0IsK0JBQStCO2tCQUgzQyxTQUFTO21CQUFDO29CQUNULFFBQVEsRUFBRSw2QkFBNkI7aUJBQ3hDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgUm93T3V0bGV0IH0gZnJvbSAnQGFuZ3VsYXIvY2RrL3RhYmxlJztcbmltcG9ydCB7XG4gIERpcmVjdGl2ZSxcbiAgRWxlbWVudFJlZixcbiAgVGVtcGxhdGVSZWYsXG4gIFZpZXdDb250YWluZXJSZWYsXG59IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5ARGlyZWN0aXZlKHtcbiAgc2VsZWN0b3I6ICduZy10ZW1wbGF0ZVthdWlUYWJsZVBsYWNlaG9sZGVyRGVmXScsXG59KVxuZXhwb3J0IGNsYXNzIFRhYmxlUGxhY2Vob2xkZXJEZWZEaXJlY3RpdmUge1xuICBjb25zdHJ1Y3RvcihwdWJsaWMgdGVtcGxhdGVSZWY6IFRlbXBsYXRlUmVmPGFueT4pIHt9XG59XG5cbkBEaXJlY3RpdmUoe1xuICBzZWxlY3RvcjogJ1thdWlUYWJsZVBsYWNlaG9sZGVyT3V0bGV0XScsXG59KVxuZXhwb3J0IGNsYXNzIFRhYmxlUGxhY2Vob2xkZXJPdXRsZXREaXJlY3RpdmUgaW1wbGVtZW50cyBSb3dPdXRsZXQge1xuICBjb25zdHJ1Y3RvcihcbiAgICBwdWJsaWMgdmlld0NvbnRhaW5lcjogVmlld0NvbnRhaW5lclJlZixcbiAgICBwdWJsaWMgZWxlbWVudFJlZjogRWxlbWVudFJlZixcbiAgKSB7fVxufVxuIl19
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { CdkRowDef } from '@angular/cdk/table';
|
|
2
|
+
import { Directive, Input } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Data row definition for the aui-table.
|
|
6
|
+
* Captures the header row's template and other row properties such as the columns to display and
|
|
7
|
+
* a when predicate that describes when this row should be used.
|
|
8
|
+
*/
|
|
9
|
+
export class TableRowDefDirective extends CdkRowDef {
|
|
10
|
+
constructor() {
|
|
11
|
+
super(...arguments);
|
|
12
|
+
this.columns = [];
|
|
13
|
+
}
|
|
14
|
+
set auiTableRowDefWhen(v) {
|
|
15
|
+
this.when = v;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
TableRowDefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TableRowDefDirective, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
19
|
+
TableRowDefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.8", type: TableRowDefDirective, selector: "[auiTableRowDef]", inputs: { columns: ["auiTableRowDefColumns", "columns"], auiTableRowDefWhen: "auiTableRowDefWhen" }, providers: [
|
|
20
|
+
{
|
|
21
|
+
provide: CdkRowDef,
|
|
22
|
+
useExisting: TableRowDefDirective,
|
|
23
|
+
},
|
|
24
|
+
], usesInheritance: true, ngImport: i0 });
|
|
25
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TableRowDefDirective, decorators: [{
|
|
26
|
+
type: Directive,
|
|
27
|
+
args: [{
|
|
28
|
+
selector: '[auiTableRowDef]',
|
|
29
|
+
providers: [
|
|
30
|
+
{
|
|
31
|
+
provide: CdkRowDef,
|
|
32
|
+
useExisting: TableRowDefDirective,
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
}]
|
|
36
|
+
}], propDecorators: { columns: [{
|
|
37
|
+
type: Input,
|
|
38
|
+
args: ['auiTableRowDefColumns']
|
|
39
|
+
}], auiTableRowDefWhen: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}] } });
|
|
42
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGU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cbiAqIERhdGEgcm93IGRlZmluaXRpb24gZm9yIHRoZSBhdWktdGFibGUuXG4gKiBDYXB0dXJlcyB0aGUgaGVhZGVyIHJvdydzIHRlbXBsYXRlIGFuZCBvdGhlciByb3cgcHJvcGVydGllcyBzdWNoIGFzIHRoZSBjb2x1bW5zIHRvIGRpc3BsYXkgYW5kXG4gKiBhIHdoZW4gcHJlZGljYXRlIHRoYXQgZGVzY3JpYmVzIHdoZW4gdGhpcyByb3cgc2hvdWxkIGJlIHVzZWQuXG4gKi9cbkBEaXJlY3RpdmUoe1xuICBzZWxlY3RvcjogJ1thdWlUYWJsZVJvd0RlZl0nLFxuICBwcm92aWRlcnM6IFtcbiAgICB7XG4gICAgICBwcm92aWRlOiBDZGtSb3dEZWYsXG4gICAgICB1c2VFeGlzdGluZzogVGFibGVSb3dEZWZEaXJlY3RpdmUsXG4gICAgfSxcbiAgXSxcbn0pXG5leHBvcnQgY2xhc3MgVGFibGVSb3dEZWZEaXJlY3RpdmU8VD4gZXh0ZW5kcyBDZGtSb3dEZWY8VD4ge1xuICBASW5wdXQoJ2F1aVRhYmxlUm93RGVmQ29sdW1ucycpXG4gIG92ZXJyaWRlIGNvbHVtbnM6IEl0ZXJhYmxlPHN0cmluZz4gPSBbXTtcblxuICBASW5wdXQoKVxuICBzZXQgYXVpVGFibGVSb3dEZWZXaGVuKHY6IChpbmRleDogbnVtYmVyLCByb3dEYXRhOiBUKSA9PiBib29sZWFuKSB7XG4gICAgdGhpcy53aGVuID0gdjtcbiAgfVxufVxuIl19
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { CDK_ROW_TEMPLATE, CdkRow } from '@angular/cdk/table';
|
|
2
|
+
import { ChangeDetectionStrategy, Component, HostBinding, Input, ViewEncapsulation, } from '@angular/core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
import * as i1 from "@angular/cdk/table";
|
|
5
|
+
/** Data row template container that contains the cell outlet. Adds the right class and role. */
|
|
6
|
+
export class TableRowComponent extends CdkRow {
|
|
7
|
+
constructor(elRef) {
|
|
8
|
+
super();
|
|
9
|
+
this.elRef = elRef;
|
|
10
|
+
this.disabled = false;
|
|
11
|
+
this.hasPanel = false;
|
|
12
|
+
}
|
|
13
|
+
ngAfterContentInit() {
|
|
14
|
+
const panel = this.elRef.nativeElement.querySelector('aui-table-cell[auiExpandPanel]');
|
|
15
|
+
this.hasPanel = !!panel;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
TableRowComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TableRowComponent, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
+
TableRowComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.8", type: TableRowComponent, selector: "aui-table-row", inputs: { disabled: "disabled" }, host: { attributes: { "role": "row" }, properties: { "class.isDisabled": "this.disabled", "class.hasPanel": "this.hasPanel" }, classAttribute: "aui-table__row" }, exportAs: ["auiTableRow"], usesInheritance: true, ngImport: i0, template: "<ng-container cdkCellOutlet></ng-container>", isInline: true, directives: [{ type: i1.CdkCellOutlet, selector: "[cdkCellOutlet]" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.8", ngImport: i0, type: TableRowComponent, decorators: [{
|
|
21
|
+
type: Component,
|
|
22
|
+
args: [{
|
|
23
|
+
selector: 'aui-table-row',
|
|
24
|
+
template: CDK_ROW_TEMPLATE,
|
|
25
|
+
host: {
|
|
26
|
+
class: 'aui-table__row',
|
|
27
|
+
role: 'row',
|
|
28
|
+
},
|
|
29
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
30
|
+
encapsulation: ViewEncapsulation.None,
|
|
31
|
+
exportAs: 'auiTableRow',
|
|
32
|
+
preserveWhitespaces: false,
|
|
33
|
+
}]
|
|
34
|
+
}], ctorParameters: function () { return [{ type: i0.ElementRef }]; }, propDecorators: { disabled: [{
|
|
35
|
+
type: Input
|
|
36
|
+
}, {
|
|
37
|
+
type: HostBinding,
|
|
38
|
+
args: ['class.isDisabled']
|
|
39
|
+
}], hasPanel: [{
|
|
40
|
+
type: HostBinding,
|
|
41
|
+
args: ['class.hasPanel']
|
|
42
|
+
}] } });
|
|
43
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtcm93LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy90YWJsZS90YWJsZS1yb3cuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxnQkFBZ0IsRUFBRSxNQUFNLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUM5RCxPQUFPLEVBRUwsdUJBQXVCLEVBQ3ZCLFNBQVMsRUFFVCxXQUFXLEVBQ1gsS0FBSyxFQUNMLGlCQUFpQixHQUNsQixNQUFNLGVBQWUsQ0FBQzs7O0FBRXZCLGdHQUFnRztBQWFoRyxNQUFNLE9BQU8saUJBQWtCLFNBQVEsTUFBTTtJQVEzQyxZQUE2QixLQUE4QjtRQUN6RCxLQUFLLEVBQUUsQ0FBQztRQURtQixVQUFLLEdBQUwsS0FBSyxDQUF5QjtRQUwzRCxhQUFRLEdBQUcsS0FBSyxDQUFDO1FBR2pCLGFBQVEsR0FBRyxLQUFLLENBQUM7SUFJakIsQ0FBQztJQUVELGtCQUFrQjtRQUNoQixNQUFNLEtBQUssR0FBRyxJQUFJLENBQUMsS0FBSyxDQUFDLGFBQWEsQ0FBQyxhQUFhLENBQ2xELGdDQUFnQyxDQUNqQyxDQUFDO1FBQ0YsSUFBSSxDQUFDLFFBQVEsR0FBRyxDQUFDLENBQUMsS0FBSyxDQUFDO0lBQz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