desy-angular 6.0.0 → 6.0.2
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/README.md +21 -21
- package/bundles/desy-angular.umd.js +10693 -10672
- package/bundles/desy-angular.umd.js.map +1 -1
- package/bundles/desy-angular.umd.min.js +1 -1
- package/bundles/desy-angular.umd.min.js.map +1 -1
- package/desy-angular.d.ts +51 -50
- package/desy-angular.metadata.json +1 -1
- package/esm2015/desy-angular.js +52 -51
- package/esm2015/lib/desy-angular.module.js +38 -38
- package/esm2015/lib/desy-buttons/components/button/button.component.js +92 -92
- package/esm2015/lib/desy-buttons/components/button-loader/button-loader.component.js +50 -50
- package/esm2015/lib/desy-buttons/components/dropdown/dropdown.component.js +111 -111
- package/esm2015/lib/desy-buttons/components/listbox/listbox-item/listbox-item.component.js +26 -26
- package/esm2015/lib/desy-buttons/components/listbox/listbox-label/listbox-label.component.js +14 -14
- package/esm2015/lib/desy-buttons/components/listbox/listbox.component.js +265 -265
- package/esm2015/lib/desy-buttons/components/pill/pill.component.js +64 -64
- package/esm2015/lib/desy-buttons/components/toggle/toggle-off-state/toggle-off-state.component.js +15 -15
- package/esm2015/lib/desy-buttons/components/toggle/toggle-on-state/toggle-on-state.component.js +15 -15
- package/esm2015/lib/desy-buttons/components/toggle/toggle.component.js +44 -44
- package/esm2015/lib/desy-buttons/desy-buttons.module.js +53 -53
- package/esm2015/lib/desy-buttons/interfaces/listbox-item-data.js +2 -2
- package/esm2015/lib/desy-buttons/interfaces/listbox-label-data.js +2 -2
- package/esm2015/lib/desy-commons/components/content/content.component.js +14 -14
- package/esm2015/lib/desy-commons/components/description/description.component.js +15 -15
- package/esm2015/lib/desy-commons/components/divider/divider.component.js +15 -15
- package/esm2015/lib/desy-commons/components/icon/icon.component.js +15 -15
- package/esm2015/lib/desy-commons/components/title/title.component.js +14 -14
- package/esm2015/lib/desy-commons/desy-commons.module.js +36 -36
- package/esm2015/lib/desy-commons/interfaces/content-data.js +2 -2
- package/esm2015/lib/desy-commons/interfaces/description-data.js +2 -2
- package/esm2015/lib/desy-commons/interfaces/divider-data.js +2 -2
- package/esm2015/lib/desy-commons/interfaces/icon-data.js +2 -2
- package/esm2015/lib/desy-commons/interfaces/index.js +6 -6
- package/esm2015/lib/desy-commons/interfaces/title-data.js +2 -2
- package/esm2015/lib/desy-forms/components/character-count/character-count.component.js +109 -109
- package/esm2015/lib/desy-forms/components/checkboxes/checkbox-item/checkbox-item.component.js +188 -188
- package/esm2015/lib/desy-forms/components/checkboxes/checkboxes.component.js +226 -226
- package/esm2015/lib/desy-forms/components/date-input/date-input-day/date-input-day.component.js +38 -38
- package/esm2015/lib/desy-forms/components/date-input/date-input-divider/date-input-divider.component.js +19 -19
- package/esm2015/lib/desy-forms/components/date-input/date-input-item/date-input-item.component.js +13 -13
- package/esm2015/lib/desy-forms/components/date-input/date-input-month/date-input-month.component.js +38 -38
- package/esm2015/lib/desy-forms/components/date-input/date-input-year/date-input-year.component.js +36 -36
- package/esm2015/lib/desy-forms/components/date-input/date-input.component.js +222 -222
- package/esm2015/lib/desy-forms/components/error-message/error-message.component.js +28 -28
- package/esm2015/lib/desy-forms/components/fieldset/fieldset.component.js +44 -44
- package/esm2015/lib/desy-forms/components/fieldset/legend/legend.component.js +16 -16
- package/esm2015/lib/desy-forms/components/file-upload/file-upload.component.js +51 -51
- package/esm2015/lib/desy-forms/components/form-field/form-field.component.js +103 -103
- package/esm2015/lib/desy-forms/components/hint/hint.component.js +27 -27
- package/esm2015/lib/desy-forms/components/input/input.component.js +67 -67
- package/esm2015/lib/desy-forms/components/input-group/input-group-divider/input-group-divider.component.js +20 -20
- package/esm2015/lib/desy-forms/components/input-group/input-group-input/input-group-input.component.js +39 -39
- package/esm2015/lib/desy-forms/components/input-group/input-group-item/input-group-item.component.js +13 -13
- package/esm2015/lib/desy-forms/components/input-group/input-group-select/input-group-select.component.js +35 -35
- package/esm2015/lib/desy-forms/components/input-group/input-group.component.js +179 -179
- package/esm2015/lib/desy-forms/components/label/label.component.js +30 -30
- package/esm2015/lib/desy-forms/components/radios/radio-item/radio-item.component.js +144 -144
- package/esm2015/lib/desy-forms/components/radios/radios.component.js +233 -233
- package/esm2015/lib/desy-forms/components/search-bar/search-bar.component.js +45 -45
- package/esm2015/lib/desy-forms/components/select/option/option.component.js +17 -17
- package/esm2015/lib/desy-forms/components/select/option-group/option-group.component.js +17 -17
- package/esm2015/lib/desy-forms/components/select/select-item/select-item.component.js +14 -14
- package/esm2015/lib/desy-forms/components/select/select.component.js +64 -64
- package/esm2015/lib/desy-forms/components/template-driven-wrapper/template-driven-wrapper.component.js +12 -12
- package/esm2015/lib/desy-forms/components/textarea/textarea.component.js +60 -60
- package/esm2015/lib/desy-forms/components/tree/interfaces/itree-item.js +3 -3
- package/esm2015/lib/desy-forms/components/tree/interfaces/quit-tree-item-focus-options.js +2 -2
- package/esm2015/lib/desy-forms/components/tree/tree-checkbox/tree-checkbox.component.js +151 -151
- package/esm2015/lib/desy-forms/components/tree/tree-item/tree-item.component.js +370 -370
- package/esm2015/lib/desy-forms/components/tree/tree-items-generator/tree-items-generator.component.js +25 -25
- package/esm2015/lib/desy-forms/components/tree/tree-sub/tree-sub.component.js +14 -14
- package/esm2015/lib/desy-forms/components/tree/tree.component.js +408 -408
- package/esm2015/lib/desy-forms/desy-forms.module.js +130 -130
- package/esm2015/lib/desy-forms/directives/condition.directive.js +32 -32
- package/esm2015/lib/desy-forms/interfaces/accesibility-data.js +2 -2
- package/esm2015/lib/desy-forms/interfaces/error-message-data.js +2 -2
- package/esm2015/lib/desy-forms/interfaces/fieldset-data.js +2 -2
- package/esm2015/lib/desy-forms/interfaces/hint-data.js +2 -2
- package/esm2015/lib/desy-forms/interfaces/index.js +13 -13
- package/esm2015/lib/desy-forms/interfaces/item-checkbox-data.js +2 -2
- package/esm2015/lib/desy-forms/interfaces/item-date-input-data.js +2 -2
- package/esm2015/lib/desy-forms/interfaces/item-divider-date-input-data.js +2 -2
- package/esm2015/lib/desy-forms/interfaces/item-divider-input-group-data.js +2 -2
- package/esm2015/lib/desy-forms/interfaces/item-input-group-data.js +2 -2
- package/esm2015/lib/desy-forms/interfaces/item-radio-data.js +2 -2
- package/esm2015/lib/desy-forms/interfaces/item-radio-with-template-data.js +2 -2
- package/esm2015/lib/desy-forms/interfaces/label-data.js +2 -2
- package/esm2015/lib/desy-forms/interfaces/legend-data.js +2 -2
- package/esm2015/lib/desy-forms/interfaces/select-item-data.js +2 -2
- package/esm2015/lib/desy-modals/components/dialog/dialog.component.js +121 -121
- package/esm2015/lib/desy-modals/components/modal/modal-button-loader-primary/modal-button-loader-primary.component.js +20 -20
- package/esm2015/lib/desy-modals/components/modal/modal-button-loader-secondary/modal-button-loader-secondary.component.js +19 -19
- package/esm2015/lib/desy-modals/components/modal/modal-button-primary/modal-button-primary.component.js +19 -19
- package/esm2015/lib/desy-modals/components/modal/modal-button-secondary/modal-button-secondary.component.js +19 -19
- package/esm2015/lib/desy-modals/components/modal/modal.component.js +145 -145
- package/esm2015/lib/desy-modals/desy-modals.module.js +41 -41
- package/esm2015/lib/desy-modals/interfaces/dialog-options.js +2 -2
- package/esm2015/lib/desy-modals/interfaces/index.js +8 -8
- package/esm2015/lib/desy-modals/interfaces/modal-button-data.js +2 -2
- package/esm2015/lib/desy-modals/interfaces/modal-data.js +2 -2
- package/esm2015/lib/desy-modals/interfaces/modal-icon-data.js +2 -2
- package/esm2015/lib/desy-modals/interfaces/modal-options.js +2 -2
- package/esm2015/lib/desy-modals/interfaces/open-dialog-result.js +2 -2
- package/esm2015/lib/desy-modals/services/dialog.service.js +117 -117
- package/esm2015/lib/desy-nav/components/breadcrumbs/breadcrumbs-item/breadcrumbs-item.component.js +15 -15
- package/esm2015/lib/desy-nav/components/breadcrumbs/breadcrumbs.component.js +42 -42
- package/esm2015/lib/desy-nav/components/error-summary/error-summary-item/error-summary-item.component.js +15 -15
- package/esm2015/lib/desy-nav/components/error-summary/error-summary.component.js +46 -46
- package/esm2015/lib/desy-nav/components/footer/footer-meta/footer-meta-item/footer-meta-item.component.js +16 -16
- package/esm2015/lib/desy-nav/components/footer/footer-meta/footer-meta.component.js +23 -23
- package/esm2015/lib/desy-nav/components/footer/footer-navigation/footer-navigation-item/footer-navigation-item.component.js +16 -16
- package/esm2015/lib/desy-nav/components/footer/footer-navigation/footer-navigation.component.js +16 -16
- package/esm2015/lib/desy-nav/components/footer/footer.component.js +52 -52
- package/esm2015/lib/desy-nav/components/header/header-custom-navigation/header-custom-navigation.component.js +11 -0
- package/esm2015/lib/desy-nav/components/header/header-dropdown/header-dropdown.component.js +36 -36
- package/esm2015/lib/desy-nav/components/header/header-navigation/header-navigation-item/header-navigation-item.component.js +19 -19
- package/esm2015/lib/desy-nav/components/header/header-navigation/header-navigation.component.js +29 -29
- package/esm2015/lib/desy-nav/components/header/header-offcanvas/header-offcanvas-button/header-offcanvas-button.component.js +22 -22
- package/esm2015/lib/desy-nav/components/header/header-offcanvas/header-offcanvas-close-button/header-offcanvas-close-button.component.js +11 -11
- package/esm2015/lib/desy-nav/components/header/header-offcanvas/header-offcanvas.component.js +88 -88
- package/esm2015/lib/desy-nav/components/header/header-subnav/header-subnav.component.js +34 -34
- package/esm2015/lib/desy-nav/components/header/header.component.js +66 -61
- package/esm2015/lib/desy-nav/components/menu-horizontal/menu-horizontal-item/menu-horizontal-item.component.js +28 -28
- package/esm2015/lib/desy-nav/components/menu-horizontal/menu-horizontal.component.js +68 -68
- package/esm2015/lib/desy-nav/components/menu-navigation/components/menu-navigation-item/menu-navigation-item.component.js +35 -35
- package/esm2015/lib/desy-nav/components/menu-navigation/components/menu-navigation-subitem/menu-navigation-subitem.component.js +31 -31
- package/esm2015/lib/desy-nav/components/menu-navigation/menu-navigation.component.js +568 -568
- package/esm2015/lib/desy-nav/components/menu-vertical/menu-vertical-item/menu-vertical-item.component.js +32 -32
- package/esm2015/lib/desy-nav/components/menu-vertical/menu-vertical-item-sub/menu-vertical-item-sub.component.js +16 -16
- package/esm2015/lib/desy-nav/components/menu-vertical/menu-vertical-item-sub-item/menu-vertical-item-sub-item.component.js +24 -24
- package/esm2015/lib/desy-nav/components/menu-vertical/menu-vertical.component.js +89 -89
- package/esm2015/lib/desy-nav/components/menubar/components/menubar-item/menubar-item.component.js +36 -36
- package/esm2015/lib/desy-nav/components/menubar/components/menubar-label/menubar-label.component.js +14 -14
- package/esm2015/lib/desy-nav/components/menubar/components/menubar-subitem/menubar-subitem.component.js +29 -29
- package/esm2015/lib/desy-nav/components/menubar/components/menubar-subsubitem/menubar-subsubitem.component.js +23 -23
- package/esm2015/lib/desy-nav/components/menubar/directives/menubaritem.directive.js +37 -37
- package/esm2015/lib/desy-nav/components/menubar/menubar.component.js +672 -672
- package/esm2015/lib/desy-nav/components/nav/nav-item/nav-item.component.js +30 -30
- package/esm2015/lib/desy-nav/components/nav/nav.component.js +105 -105
- package/esm2015/lib/desy-nav/components/notification/notification-item/notification-item.component.js +18 -18
- package/esm2015/lib/desy-nav/components/notification/notification.component.js +102 -102
- package/esm2015/lib/desy-nav/components/skip-link/skip-link.component.js +33 -33
- package/esm2015/lib/desy-nav/desy-nav.module.js +136 -133
- package/esm2015/lib/desy-nav/interfaces/breadcrumbs.data.js +2 -2
- package/esm2015/lib/desy-nav/interfaces/error-summary-data.js +2 -2
- package/esm2015/lib/desy-nav/interfaces/footer-data.js +2 -2
- package/esm2015/lib/desy-nav/interfaces/header-dropdown-data.js +2 -2
- package/esm2015/lib/desy-nav/interfaces/header-navigation-data.js +2 -2
- package/esm2015/lib/desy-nav/interfaces/header-navigation-item-data.js +2 -2
- package/esm2015/lib/desy-nav/interfaces/header-offcanvas-data.js +2 -2
- package/esm2015/lib/desy-nav/interfaces/header-subnav-data.js +2 -2
- package/esm2015/lib/desy-nav/interfaces/index.js +20 -20
- package/esm2015/lib/desy-nav/interfaces/menu-horizontal-item-data.js +2 -2
- package/esm2015/lib/desy-nav/interfaces/menu-horizontal-item-event-data.js +2 -2
- package/esm2015/lib/desy-nav/interfaces/menu-navigation-item-sub-item-sub-item.js +2 -2
- package/esm2015/lib/desy-nav/interfaces/menu-navigation-item-sub-item.js +2 -2
- package/esm2015/lib/desy-nav/interfaces/menu-navigation.js +2 -2
- package/esm2015/lib/desy-nav/interfaces/menu-vertical-items-data.js +2 -2
- package/esm2015/lib/desy-nav/interfaces/menu-vertical-sub-data.js +2 -2
- package/esm2015/lib/desy-nav/interfaces/menu-vertical-sub-items-data.js +2 -2
- package/esm2015/lib/desy-nav/interfaces/menubar-item-sub-item-sub-item.js +2 -2
- package/esm2015/lib/desy-nav/interfaces/menubar-item-sub-item.js +2 -2
- package/esm2015/lib/desy-nav/interfaces/menubar-item-sub.js +2 -2
- package/esm2015/lib/desy-nav/interfaces/menubar-item.js +2 -2
- package/esm2015/lib/desy-nav/interfaces/nav-item-event.data.js +2 -2
- package/esm2015/lib/desy-nav/interfaces/nav-item.data.js +2 -2
- package/esm2015/lib/desy-nav/interfaces/notification-items-data.js +2 -2
- package/esm2015/lib/desy-nav/interfaces/notification-options.js +2 -2
- package/esm2015/lib/desy-pagination/components/pagination/pagination.component.js +138 -138
- package/esm2015/lib/desy-pagination/components/pagination-item-perpage/pagination-item-perpage.component.js +15 -15
- package/esm2015/lib/desy-pagination/components/pagination-listbox-label/pagination-listbox-label.component.js +14 -14
- package/esm2015/lib/desy-pagination/desy-pagination.module.js +31 -31
- package/esm2015/lib/desy-pagination/interfaces/index.js +1 -1
- package/esm2015/lib/desy-pagination/interfaces/pagination-item.data.js +2 -2
- package/esm2015/lib/desy-tables/components/table/components/table-caption.component.js +14 -14
- package/esm2015/lib/desy-tables/components/table/components/table-cell.component.js +17 -17
- package/esm2015/lib/desy-tables/components/table/components/table-header.component.js +14 -14
- package/esm2015/lib/desy-tables/components/table/components/table-row.component.js +14 -14
- package/esm2015/lib/desy-tables/components/table/table.component.js +55 -55
- package/esm2015/lib/desy-tables/components/table-advanced/components/table-advanced-header-cell.component.js +33 -33
- package/esm2015/lib/desy-tables/components/table-advanced/components/table-advanced-header.component.js +14 -14
- package/esm2015/lib/desy-tables/components/table-advanced/components/table-advanced-row-cell.component.js +17 -17
- package/esm2015/lib/desy-tables/components/table-advanced/components/table-advanced-row.component.js +20 -20
- package/esm2015/lib/desy-tables/components/table-advanced/components/table-advanced-select.component.js +22 -22
- package/esm2015/lib/desy-tables/components/table-advanced/table-advanced.component.js +316 -316
- package/esm2015/lib/desy-tables/desy-tables.module.js +64 -64
- package/esm2015/lib/desy-tables/directives/cell.directive.js +26 -26
- package/esm2015/lib/desy-tables/directives/focus-clicked-cell.directive.js +78 -78
- package/esm2015/lib/desy-tables/directives/row.directive.js +24 -24
- package/esm2015/lib/desy-tables/interfaces/cell-data.js +2 -2
- package/esm2015/lib/desy-tables/interfaces/head-cell-data.js +7 -7
- package/esm2015/lib/desy-tables/interfaces/index.js +5 -5
- package/esm2015/lib/desy-tables/interfaces/recalculate-table-params.js +2 -2
- package/esm2015/lib/desy-tables/interfaces/row-data.js +2 -2
- package/esm2015/lib/desy-tables/interfaces/wrapper-data.js +2 -2
- package/esm2015/lib/desy-views/components/accordion/accordion-header/accordion-header.component.js +14 -14
- package/esm2015/lib/desy-views/components/accordion/accordion-item/accordion-item.component.js +43 -43
- package/esm2015/lib/desy-views/components/accordion/accordion.component.js +153 -153
- package/esm2015/lib/desy-views/components/accordion-history/accordion-history-item/accordion-history-item.component.js +31 -31
- package/esm2015/lib/desy-views/components/accordion-history/accordion-history.component.js +15 -15
- package/esm2015/lib/desy-views/components/accordion-history/accordion-item-hide-button/accordion-item-hide-button.component.js +14 -14
- package/esm2015/lib/desy-views/components/accordion-history/accordion-item-show-button/accordion-item-show-button.component.js +14 -14
- package/esm2015/lib/desy-views/components/alert/alert.component.js +75 -75
- package/esm2015/lib/desy-views/components/collapsible/collapsible.component.js +55 -55
- package/esm2015/lib/desy-views/components/description-list/definition/definition.component.js +15 -15
- package/esm2015/lib/desy-views/components/description-list/description-item/description-item.component.js +26 -26
- package/esm2015/lib/desy-views/components/description-list/description-list.component.js +22 -22
- package/esm2015/lib/desy-views/components/description-list/term/term.component.js +15 -15
- package/esm2015/lib/desy-views/components/details/details.component.js +20 -20
- package/esm2015/lib/desy-views/components/item/item-content-bottom/item-content-bottom.component.js +14 -14
- package/esm2015/lib/desy-views/components/item/item-content-right/item-content-right.component.js +11 -11
- package/esm2015/lib/desy-views/components/item/item-item/item-item.component.js +11 -11
- package/esm2015/lib/desy-views/components/item/item.component.js +87 -87
- package/esm2015/lib/desy-views/components/media-object/media-object-figure/media-object-figure.component.js +11 -11
- package/esm2015/lib/desy-views/components/media-object/media-object.component.js +67 -67
- package/esm2015/lib/desy-views/components/spinner/spinner.component.js +45 -45
- package/esm2015/lib/desy-views/components/status/status.component.js +58 -58
- package/esm2015/lib/desy-views/components/status-item/status-item.component.js +86 -86
- package/esm2015/lib/desy-views/components/tabs/panel/panel.component.js +15 -15
- package/esm2015/lib/desy-views/components/tabs/tab-item/tab-item.component.js +28 -28
- package/esm2015/lib/desy-views/components/tabs/tabs.component.js +150 -150
- package/esm2015/lib/desy-views/components/tooltip/tooltip-content/tooltip-content.component.js +11 -11
- package/esm2015/lib/desy-views/components/tooltip/tooltip.component.js +155 -155
- package/esm2015/lib/desy-views/desy-views.module.js +108 -108
- package/esm2015/lib/desy-views/interfaces/accordion-header.data.js +2 -2
- package/esm2015/lib/desy-views/interfaces/accordion-item.data.js +2 -2
- package/esm2015/lib/desy-views/interfaces/alert-options.js +2 -2
- package/esm2015/lib/desy-views/interfaces/description-item.data.js +2 -2
- package/esm2015/lib/desy-views/interfaces/index.js +11 -11
- package/esm2015/lib/desy-views/interfaces/open-alert-result.js +2 -2
- package/esm2015/lib/desy-views/interfaces/status-data.js +2 -2
- package/esm2015/lib/desy-views/interfaces/status-icon-data.js +2 -2
- package/esm2015/lib/desy-views/interfaces/status-item-title-data.js +2 -2
- package/esm2015/lib/desy-views/interfaces/tabs-items-data.js +2 -2
- package/esm2015/lib/desy-views/interfaces/tabs-panel-data.js +2 -2
- package/esm2015/lib/desy-views/interfaces/term-definition.data.js +2 -2
- package/esm2015/lib/desy-views/services/alert.service.js +89 -89
- package/esm2015/lib/shared/components/accessibility/accessibility.component.js +29 -29
- package/esm2015/lib/shared/components/accessibility-and-content-required/accessibility-and-content-required.component.js +27 -27
- package/esm2015/lib/shared/components/accessibility-and-text-or-html-required/accessibility-and-text-or-html-required.component.js +26 -26
- package/esm2015/lib/shared/components/content-base/content-base.component.js +20 -20
- package/esm2015/lib/shared/components/index.js +6 -6
- package/esm2015/lib/shared/components/text-or-html-required/text-or-html-required.component.js +14 -14
- package/esm2015/lib/shared/decorators/desy-content-child.decorator.js +41 -41
- package/esm2015/lib/shared/decorators/desy-on-input-change.decorator.js +19 -19
- package/esm2015/lib/shared/directives/attribute-change.directive.js +43 -43
- package/esm2015/lib/shared/directives/click-outside.directive.js +35 -35
- package/esm2015/lib/shared/directives/content-change.directive.js +43 -43
- package/esm2015/lib/shared/directives/custom-inner-content.directive.js +62 -62
- package/esm2015/lib/shared/directives/inner-content.directive.js +34 -34
- package/esm2015/lib/shared/interfaces/accesibility-data.js +2 -2
- package/esm2015/lib/shared/pipes/external-href.pipe.js +28 -28
- package/esm2015/lib/shared/pipes/inner-html.pipe.js +19 -19
- package/esm2015/lib/shared/pipes/make-html-list.pipe.js +16 -16
- package/esm2015/lib/shared/shared.module.js +62 -62
- package/esm2015/lib/shared/utils/focus-utils.js +51 -51
- package/esm2015/lib/shared/utils/search-utils.js +78 -78
- package/esm2015/lib/shared/utils/string-utils.js +18 -18
- package/esm2015/public-api.js +197 -197
- package/fesm2015/desy-angular.js +9589 -9574
- package/fesm2015/desy-angular.js.map +1 -1
- package/lib/desy-angular.module.d.ts +2 -2
- package/lib/desy-buttons/components/button/button.component.d.ts +31 -31
- package/lib/desy-buttons/components/button-loader/button-loader.component.d.ts +15 -15
- package/lib/desy-buttons/components/dropdown/dropdown.component.d.ts +22 -22
- package/lib/desy-buttons/components/listbox/listbox-item/listbox-item.component.d.ts +12 -12
- package/lib/desy-buttons/components/listbox/listbox-label/listbox-label.component.d.ts +4 -4
- package/lib/desy-buttons/components/listbox/listbox.component.d.ts +53 -53
- package/lib/desy-buttons/components/pill/pill.component.d.ts +22 -22
- package/lib/desy-buttons/components/toggle/toggle-off-state/toggle-off-state.component.d.ts +5 -5
- package/lib/desy-buttons/components/toggle/toggle-on-state/toggle-on-state.component.d.ts +5 -5
- package/lib/desy-buttons/components/toggle/toggle.component.d.ts +17 -17
- package/lib/desy-buttons/desy-buttons.module.d.ts +2 -2
- package/lib/desy-buttons/interfaces/listbox-item-data.d.ts +9 -9
- package/lib/desy-buttons/interfaces/listbox-label-data.d.ts +5 -5
- package/lib/desy-commons/components/content/content.component.d.ts +5 -5
- package/lib/desy-commons/components/description/description.component.d.ts +6 -6
- package/lib/desy-commons/components/divider/divider.component.d.ts +6 -6
- package/lib/desy-commons/components/icon/icon.component.d.ts +6 -6
- package/lib/desy-commons/components/title/title.component.d.ts +5 -5
- package/lib/desy-commons/desy-commons.module.d.ts +2 -2
- package/lib/desy-commons/interfaces/content-data.d.ts +5 -5
- package/lib/desy-commons/interfaces/description-data.d.ts +6 -6
- package/lib/desy-commons/interfaces/divider-data.d.ts +4 -4
- package/lib/desy-commons/interfaces/icon-data.d.ts +5 -5
- package/lib/desy-commons/interfaces/index.d.ts +5 -5
- package/lib/desy-commons/interfaces/title-data.d.ts +6 -6
- package/lib/desy-forms/components/character-count/character-count.component.d.ts +27 -27
- package/lib/desy-forms/components/checkboxes/checkbox-item/checkbox-item.component.d.ts +47 -47
- package/lib/desy-forms/components/checkboxes/checkboxes.component.d.ts +75 -75
- package/lib/desy-forms/components/date-input/date-input-day/date-input-day.component.d.ts +21 -21
- package/lib/desy-forms/components/date-input/date-input-divider/date-input-divider.component.d.ts +7 -7
- package/lib/desy-forms/components/date-input/date-input-item/date-input-item.component.d.ts +4 -4
- package/lib/desy-forms/components/date-input/date-input-month/date-input-month.component.d.ts +21 -21
- package/lib/desy-forms/components/date-input/date-input-year/date-input-year.component.d.ts +18 -18
- package/lib/desy-forms/components/date-input/date-input.component.d.ts +55 -55
- package/lib/desy-forms/components/error-message/error-message.component.d.ts +12 -12
- package/lib/desy-forms/components/fieldset/fieldset.component.d.ts +28 -28
- package/lib/desy-forms/components/fieldset/legend/legend.component.d.ts +6 -6
- package/lib/desy-forms/components/file-upload/file-upload.component.d.ts +20 -20
- package/lib/desy-forms/components/form-field/form-field.component.d.ts +40 -40
- package/lib/desy-forms/components/hint/hint.component.d.ts +11 -11
- package/lib/desy-forms/components/input/input.component.d.ts +23 -23
- package/lib/desy-forms/components/input-group/input-group-divider/input-group-divider.component.d.ts +8 -8
- package/lib/desy-forms/components/input-group/input-group-input/input-group-input.component.d.ts +20 -20
- package/lib/desy-forms/components/input-group/input-group-item/input-group-item.component.d.ts +4 -4
- package/lib/desy-forms/components/input-group/input-group-select/input-group-select.component.d.ts +16 -16
- package/lib/desy-forms/components/input-group/input-group.component.d.ts +56 -56
- package/lib/desy-forms/components/label/label.component.d.ts +14 -14
- package/lib/desy-forms/components/radios/radio-item/radio-item.component.d.ts +43 -43
- package/lib/desy-forms/components/radios/radios.component.d.ts +75 -75
- package/lib/desy-forms/components/search-bar/search-bar.component.d.ts +16 -16
- package/lib/desy-forms/components/select/option/option.component.d.ts +7 -7
- package/lib/desy-forms/components/select/option-group/option-group.component.d.ts +7 -7
- package/lib/desy-forms/components/select/select-item/select-item.component.d.ts +4 -4
- package/lib/desy-forms/components/select/select.component.d.ts +21 -21
- package/lib/desy-forms/components/template-driven-wrapper/template-driven-wrapper.component.d.ts +2 -2
- package/lib/desy-forms/components/textarea/textarea.component.d.ts +24 -24
- package/lib/desy-forms/components/tree/interfaces/itree-item.d.ts +5 -5
- package/lib/desy-forms/components/tree/interfaces/quit-tree-item-focus-options.d.ts +5 -5
- package/lib/desy-forms/components/tree/tree-checkbox/tree-checkbox.component.d.ts +43 -43
- package/lib/desy-forms/components/tree/tree-item/tree-item.component.d.ts +87 -87
- package/lib/desy-forms/components/tree/tree-items-generator/tree-items-generator.component.d.ts +10 -10
- package/lib/desy-forms/components/tree/tree-sub/tree-sub.component.d.ts +6 -6
- package/lib/desy-forms/components/tree/tree.component.d.ts +112 -112
- package/lib/desy-forms/desy-forms.module.d.ts +2 -2
- package/lib/desy-forms/directives/condition.directive.d.ts +15 -15
- package/lib/desy-forms/interfaces/accesibility-data.d.ts +15 -15
- package/lib/desy-forms/interfaces/error-message-data.d.ts +8 -8
- package/lib/desy-forms/interfaces/fieldset-data.d.ts +10 -10
- package/lib/desy-forms/interfaces/hint-data.d.ts +7 -7
- package/lib/desy-forms/interfaces/index.d.ts +12 -12
- package/lib/desy-forms/interfaces/item-checkbox-data.d.ts +21 -21
- package/lib/desy-forms/interfaces/item-date-input-data.d.ts +17 -17
- package/lib/desy-forms/interfaces/item-divider-date-input-data.d.ts +5 -5
- package/lib/desy-forms/interfaces/item-divider-input-group-data.d.ts +5 -5
- package/lib/desy-forms/interfaces/item-input-group-data.d.ts +23 -23
- package/lib/desy-forms/interfaces/item-radio-data.d.ts +20 -20
- package/lib/desy-forms/interfaces/item-radio-with-template-data.d.ts +5 -5
- package/lib/desy-forms/interfaces/label-data.d.ts +9 -9
- package/lib/desy-forms/interfaces/legend-data.d.ts +6 -6
- package/lib/desy-forms/interfaces/select-item-data.d.ts +8 -8
- package/lib/desy-modals/components/dialog/dialog.component.d.ts +35 -35
- package/lib/desy-modals/components/modal/modal-button-loader-primary/modal-button-loader-primary.component.d.ts +8 -8
- package/lib/desy-modals/components/modal/modal-button-loader-secondary/modal-button-loader-secondary.component.d.ts +7 -7
- package/lib/desy-modals/components/modal/modal-button-primary/modal-button-primary.component.d.ts +7 -7
- package/lib/desy-modals/components/modal/modal-button-secondary/modal-button-secondary.component.d.ts +7 -7
- package/lib/desy-modals/components/modal/modal.component.d.ts +51 -51
- package/lib/desy-modals/desy-modals.module.d.ts +2 -2
- package/lib/desy-modals/interfaces/dialog-options.d.ts +9 -9
- package/lib/desy-modals/interfaces/index.d.ts +6 -6
- package/lib/desy-modals/interfaces/modal-button-data.d.ts +20 -20
- package/lib/desy-modals/interfaces/modal-data.d.ts +5 -5
- package/lib/desy-modals/interfaces/modal-icon-data.d.ts +4 -4
- package/lib/desy-modals/interfaces/modal-options.d.ts +16 -16
- package/lib/desy-modals/interfaces/open-dialog-result.d.ts +6 -6
- package/lib/desy-modals/services/dialog.service.d.ts +14 -14
- package/lib/desy-nav/components/breadcrumbs/breadcrumbs-item/breadcrumbs-item.component.d.ts +6 -6
- package/lib/desy-nav/components/breadcrumbs/breadcrumbs.component.d.ts +18 -18
- package/lib/desy-nav/components/error-summary/error-summary-item/error-summary-item.component.d.ts +6 -6
- package/lib/desy-nav/components/error-summary/error-summary.component.d.ts +20 -20
- package/lib/desy-nav/components/footer/footer-meta/footer-meta-item/footer-meta-item.component.d.ts +7 -7
- package/lib/desy-nav/components/footer/footer-meta/footer-meta.component.d.ts +10 -10
- package/lib/desy-nav/components/footer/footer-navigation/footer-navigation-item/footer-navigation-item.component.d.ts +7 -7
- package/lib/desy-nav/components/footer/footer-navigation/footer-navigation.component.d.ts +8 -8
- package/lib/desy-nav/components/footer/footer.component.d.ts +27 -27
- package/lib/desy-nav/components/header/header-custom-navigation/header-custom-navigation.component.d.ts +3 -0
- package/lib/desy-nav/components/header/header-dropdown/header-dropdown.component.d.ts +12 -12
- package/lib/desy-nav/components/header/header-navigation/header-navigation-item/header-navigation-item.component.d.ts +10 -10
- package/lib/desy-nav/components/header/header-navigation/header-navigation.component.d.ts +13 -13
- package/lib/desy-nav/components/header/header-offcanvas/header-offcanvas-button/header-offcanvas-button.component.d.ts +5 -5
- package/lib/desy-nav/components/header/header-offcanvas/header-offcanvas-close-button/header-offcanvas-close-button.component.d.ts +3 -3
- package/lib/desy-nav/components/header/header-offcanvas/header-offcanvas.component.d.ts +30 -30
- package/lib/desy-nav/components/header/header-subnav/header-subnav.component.d.ts +11 -11
- package/lib/desy-nav/components/header/header.component.d.ts +34 -32
- package/lib/desy-nav/components/menu-horizontal/menu-horizontal-item/menu-horizontal-item.component.d.ts +15 -15
- package/lib/desy-nav/components/menu-horizontal/menu-horizontal.component.d.ts +16 -16
- package/lib/desy-nav/components/menu-navigation/components/menu-navigation-item/menu-navigation-item.component.d.ts +22 -22
- package/lib/desy-nav/components/menu-navigation/components/menu-navigation-subitem/menu-navigation-subitem.component.d.ts +19 -19
- package/lib/desy-nav/components/menu-navigation/menu-navigation.component.d.ts +80 -80
- package/lib/desy-nav/components/menu-vertical/menu-vertical-item/menu-vertical-item.component.d.ts +18 -18
- package/lib/desy-nav/components/menu-vertical/menu-vertical-item-sub/menu-vertical-item-sub.component.d.ts +8 -8
- package/lib/desy-nav/components/menu-vertical/menu-vertical-item-sub-item/menu-vertical-item-sub-item.component.d.ts +15 -15
- package/lib/desy-nav/components/menu-vertical/menu-vertical.component.d.ts +18 -18
- package/lib/desy-nav/components/menubar/components/menubar-item/menubar-item.component.d.ts +23 -23
- package/lib/desy-nav/components/menubar/components/menubar-label/menubar-label.component.d.ts +4 -4
- package/lib/desy-nav/components/menubar/components/menubar-subitem/menubar-subitem.component.d.ts +15 -15
- package/lib/desy-nav/components/menubar/components/menubar-subsubitem/menubar-subsubitem.component.d.ts +10 -10
- package/lib/desy-nav/components/menubar/directives/menubaritem.directive.d.ts +16 -16
- package/lib/desy-nav/components/menubar/menubar.component.d.ts +101 -101
- package/lib/desy-nav/components/nav/nav-item/nav-item.component.d.ts +17 -17
- package/lib/desy-nav/components/nav/nav.component.d.ts +20 -20
- package/lib/desy-nav/components/notification/notification-item/notification-item.component.d.ts +9 -9
- package/lib/desy-nav/components/notification/notification.component.d.ts +36 -36
- package/lib/desy-nav/components/skip-link/skip-link.component.d.ts +13 -13
- package/lib/desy-nav/desy-nav.module.d.ts +2 -2
- package/lib/desy-nav/interfaces/breadcrumbs.data.d.ts +7 -7
- package/lib/desy-nav/interfaces/error-summary-data.d.ts +7 -7
- package/lib/desy-nav/interfaces/footer-data.d.ts +24 -24
- package/lib/desy-nav/interfaces/header-dropdown-data.d.ts +11 -11
- package/lib/desy-nav/interfaces/header-navigation-data.d.ts +5 -5
- package/lib/desy-nav/interfaces/header-navigation-item-data.d.ts +12 -12
- package/lib/desy-nav/interfaces/header-offcanvas-data.d.ts +8 -8
- package/lib/desy-nav/interfaces/header-subnav-data.d.ts +11 -11
- package/lib/desy-nav/interfaces/index.d.ts +19 -19
- package/lib/desy-nav/interfaces/menu-horizontal-item-data.d.ts +13 -13
- package/lib/desy-nav/interfaces/menu-horizontal-item-event-data.d.ts +5 -5
- package/lib/desy-nav/interfaces/menu-navigation-item-sub-item-sub-item.d.ts +14 -14
- package/lib/desy-nav/interfaces/menu-navigation-item-sub-item.d.ts +6 -6
- package/lib/desy-nav/interfaces/menu-navigation.d.ts +17 -17
- package/lib/desy-nav/interfaces/menu-vertical-items-data.d.ts +19 -19
- package/lib/desy-nav/interfaces/menu-vertical-sub-data.d.ts +7 -7
- package/lib/desy-nav/interfaces/menu-vertical-sub-items-data.d.ts +16 -16
- package/lib/desy-nav/interfaces/menubar-item-sub-item-sub-item.d.ts +6 -6
- package/lib/desy-nav/interfaces/menubar-item-sub-item.d.ts +9 -9
- package/lib/desy-nav/interfaces/menubar-item-sub.d.ts +6 -6
- package/lib/desy-nav/interfaces/menubar-item.d.ts +18 -18
- package/lib/desy-nav/interfaces/nav-item-event.data.d.ts +5 -5
- package/lib/desy-nav/interfaces/nav-item.data.d.ts +15 -15
- package/lib/desy-nav/interfaces/notification-items-data.d.ts +10 -10
- package/lib/desy-nav/interfaces/notification-options.d.ts +15 -15
- package/lib/desy-pagination/components/pagination/pagination.component.d.ts +44 -44
- package/lib/desy-pagination/components/pagination-item-perpage/pagination-item-perpage.component.d.ts +7 -7
- package/lib/desy-pagination/components/pagination-listbox-label/pagination-listbox-label.component.d.ts +4 -4
- package/lib/desy-pagination/desy-pagination.module.d.ts +2 -2
- package/lib/desy-pagination/interfaces/index.d.ts +1 -1
- package/lib/desy-pagination/interfaces/pagination-item.data.d.ts +4 -4
- package/lib/desy-tables/components/table/components/table-caption.component.d.ts +4 -4
- package/lib/desy-tables/components/table/components/table-cell.component.d.ts +8 -8
- package/lib/desy-tables/components/table/components/table-header.component.d.ts +5 -5
- package/lib/desy-tables/components/table/components/table-row.component.d.ts +5 -5
- package/lib/desy-tables/components/table/table.component.d.ts +24 -24
- package/lib/desy-tables/components/table-advanced/components/table-advanced-header-cell.component.d.ts +20 -20
- package/lib/desy-tables/components/table-advanced/components/table-advanced-header.component.d.ts +5 -5
- package/lib/desy-tables/components/table-advanced/components/table-advanced-row-cell.component.d.ts +8 -8
- package/lib/desy-tables/components/table-advanced/components/table-advanced-row.component.d.ts +8 -8
- package/lib/desy-tables/components/table-advanced/components/table-advanced-select.component.d.ts +9 -9
- package/lib/desy-tables/components/table-advanced/table-advanced.component.d.ts +122 -122
- package/lib/desy-tables/desy-tables.module.d.ts +2 -2
- package/lib/desy-tables/directives/cell.directive.d.ts +14 -14
- package/lib/desy-tables/directives/focus-clicked-cell.directive.d.ts +10 -10
- package/lib/desy-tables/directives/row.directive.d.ts +16 -16
- package/lib/desy-tables/interfaces/cell-data.d.ts +9 -9
- package/lib/desy-tables/interfaces/head-cell-data.d.ts +18 -18
- package/lib/desy-tables/interfaces/index.d.ts +4 -4
- package/lib/desy-tables/interfaces/recalculate-table-params.d.ts +11 -11
- package/lib/desy-tables/interfaces/row-data.d.ts +6 -6
- package/lib/desy-tables/interfaces/wrapper-data.d.ts +4 -4
- package/lib/desy-views/components/accordion/accordion-header/accordion-header.component.d.ts +5 -5
- package/lib/desy-views/components/accordion/accordion-item/accordion-item.component.d.ts +17 -17
- package/lib/desy-views/components/accordion/accordion.component.d.ts +48 -48
- package/lib/desy-views/components/accordion-history/accordion-history-item/accordion-history-item.component.d.ts +9 -9
- package/lib/desy-views/components/accordion-history/accordion-history.component.d.ts +6 -6
- package/lib/desy-views/components/accordion-history/accordion-item-hide-button/accordion-item-hide-button.component.d.ts +4 -4
- package/lib/desy-views/components/accordion-history/accordion-item-show-button/accordion-item-show-button.component.d.ts +4 -4
- package/lib/desy-views/components/alert/alert.component.d.ts +29 -29
- package/lib/desy-views/components/collapsible/collapsible.component.d.ts +14 -14
- package/lib/desy-views/components/description-list/definition/definition.component.d.ts +6 -6
- package/lib/desy-views/components/description-list/description-item/description-item.component.d.ts +9 -9
- package/lib/desy-views/components/description-list/description-list.component.d.ts +11 -11
- package/lib/desy-views/components/description-list/term/term.component.d.ts +6 -6
- package/lib/desy-views/components/details/details.component.d.ts +10 -10
- package/lib/desy-views/components/item/item-content-bottom/item-content-bottom.component.d.ts +5 -5
- package/lib/desy-views/components/item/item-content-right/item-content-right.component.d.ts +3 -3
- package/lib/desy-views/components/item/item-item/item-item.component.d.ts +3 -3
- package/lib/desy-views/components/item/item.component.d.ts +37 -37
- package/lib/desy-views/components/media-object/media-object-figure/media-object-figure.component.d.ts +3 -3
- package/lib/desy-views/components/media-object/media-object.component.d.ts +33 -33
- package/lib/desy-views/components/spinner/spinner.component.d.ts +21 -21
- package/lib/desy-views/components/status/status.component.d.ts +25 -25
- package/lib/desy-views/components/status-item/status-item.component.d.ts +44 -44
- package/lib/desy-views/components/tabs/panel/panel.component.d.ts +6 -6
- package/lib/desy-views/components/tabs/tab-item/tab-item.component.d.ts +12 -12
- package/lib/desy-views/components/tabs/tabs.component.d.ts +48 -48
- package/lib/desy-views/components/tooltip/tooltip-content/tooltip-content.component.d.ts +3 -3
- package/lib/desy-views/components/tooltip/tooltip.component.d.ts +48 -48
- package/lib/desy-views/desy-views.module.d.ts +2 -2
- package/lib/desy-views/interfaces/accordion-header.data.d.ts +5 -5
- package/lib/desy-views/interfaces/accordion-item.data.d.ts +10 -10
- package/lib/desy-views/interfaces/alert-options.d.ts +8 -8
- package/lib/desy-views/interfaces/description-item.data.d.ts +8 -8
- package/lib/desy-views/interfaces/index.d.ts +10 -10
- package/lib/desy-views/interfaces/open-alert-result.d.ts +6 -6
- package/lib/desy-views/interfaces/status-data.d.ts +8 -8
- package/lib/desy-views/interfaces/status-icon-data.d.ts +4 -4
- package/lib/desy-views/interfaces/status-item-title-data.d.ts +5 -5
- package/lib/desy-views/interfaces/tabs-items-data.d.ts +9 -9
- package/lib/desy-views/interfaces/tabs-panel-data.d.ts +8 -8
- package/lib/desy-views/interfaces/term-definition.data.d.ts +7 -7
- package/lib/desy-views/services/alert.service.d.ts +14 -14
- package/lib/shared/components/accessibility/accessibility.component.d.ts +20 -20
- package/lib/shared/components/accessibility-and-content-required/accessibility-and-content-required.component.d.ts +26 -26
- package/lib/shared/components/accessibility-and-text-or-html-required/accessibility-and-text-or-html-required.component.d.ts +23 -23
- package/lib/shared/components/content-base/content-base.component.d.ts +9 -9
- package/lib/shared/components/index.d.ts +5 -5
- package/lib/shared/components/text-or-html-required/text-or-html-required.component.d.ts +8 -8
- package/lib/shared/decorators/desy-content-child.decorator.d.ts +15 -15
- package/lib/shared/decorators/desy-on-input-change.decorator.d.ts +5 -5
- package/lib/shared/directives/attribute-change.directive.d.ts +10 -10
- package/lib/shared/directives/click-outside.directive.d.ts +9 -9
- package/lib/shared/directives/content-change.directive.d.ts +19 -19
- package/lib/shared/directives/custom-inner-content.directive.d.ts +22 -22
- package/lib/shared/directives/inner-content.directive.d.ts +9 -9
- package/lib/shared/interfaces/accesibility-data.d.ts +16 -16
- package/lib/shared/pipes/external-href.pipe.d.ts +8 -8
- package/lib/shared/pipes/inner-html.pipe.d.ts +7 -7
- package/lib/shared/pipes/make-html-list.pipe.d.ts +4 -4
- package/lib/shared/shared.module.d.ts +2 -2
- package/lib/shared/utils/focus-utils.d.ts +4 -4
- package/lib/shared/utils/search-utils.d.ts +14 -14
- package/lib/shared/utils/string-utils.d.ts +10 -10
- package/package.json +1 -1
- package/public-api.d.ts +168 -168
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Component, ContentChildren } from '@angular/core';
|
|
2
|
-
import { AccordionComponent } from '../accordion/accordion.component';
|
|
3
|
-
import { AccordionHistoryItemComponent } from './accordion-history-item/accordion-history-item.component';
|
|
4
|
-
export class AccordionHistoryComponent extends AccordionComponent {
|
|
5
|
-
}
|
|
6
|
-
AccordionHistoryComponent.decorators = [
|
|
7
|
-
{ type: Component, args: [{
|
|
8
|
-
selector: 'desy-accordion-history',
|
|
9
|
-
template: "<div [class]=\"classes\"\
|
|
10
|
-
},] }
|
|
11
|
-
];
|
|
12
|
-
AccordionHistoryComponent.propDecorators = {
|
|
13
|
-
itemComponentList: [{ type: ContentChildren, args: [AccordionHistoryItemComponent,] }]
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, ContentChildren } from '@angular/core';
|
|
2
|
+
import { AccordionComponent } from '../accordion/accordion.component';
|
|
3
|
+
import { AccordionHistoryItemComponent } from './accordion-history-item/accordion-history-item.component';
|
|
4
|
+
export class AccordionHistoryComponent extends AccordionComponent {
|
|
5
|
+
}
|
|
6
|
+
AccordionHistoryComponent.decorators = [
|
|
7
|
+
{ type: Component, args: [{
|
|
8
|
+
selector: 'desy-accordion-history',
|
|
9
|
+
template: "<div [class]=\"classes\"\n [attr.role]=\"role\"\n [attr.aria-describedby]=\"ariaDescribedBy\"\n [attr.aria-errormessage]=\"ariaErrorMessage\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-labelledby]=\"ariaLabelledBy\"\n [attr.aria-hidden]=\"ariaHidden\"\n [attr.aria-disabled]=\"ariaDisabled\"\n [attr.aria-controls]=\"ariaControls\"\n [attr.aria-current]=\"ariaCurrent\"\n [attr.aria-live]=\"ariaLive\"\n [attr.aria-expanded]=\"ariaExpanded\"\n [attr.aria-haspopup]=\"ariaHasPopup\"\n [attr.tabindex]=\"tabindex\">\n <div class=\"flex justify-between\">\n <ng-container [ngSwitch]=\"headingLevel\">\n <h1 *ngSwitchCase=\"1\" [class]=\"headingComponent?.classes || 'c-h2 mb-base'\"><ng-container *desyCustomInnerContent=\"{ component: headingComponent }\"></ng-container></h1>\n <h2 *ngSwitchCase=\"2\" [class]=\"headingComponent?.classes || 'c-h2 mb-base'\"><ng-container *desyCustomInnerContent=\"{ component: headingComponent }\"></ng-container></h2>\n <h3 *ngSwitchCase=\"3\" [class]=\"headingComponent?.classes || 'c-h2 mb-base'\"><ng-container *desyCustomInnerContent=\"{ component: headingComponent }\"></ng-container></h3>\n <h4 *ngSwitchCase=\"4\" [class]=\"headingComponent?.classes || 'c-h2 mb-base'\"><ng-container *desyCustomInnerContent=\"{ component: headingComponent }\"></ng-container></h4>\n <h5 *ngSwitchCase=\"5\" [class]=\"headingComponent?.classes || 'c-h2 mb-base'\"><ng-container *desyCustomInnerContent=\"{ component: headingComponent }\"></ng-container></h5>\n <h2 *ngSwitchDefault [class]=\"headingComponent?.classes || 'c-h2 mb-base'\"><ng-container *desyCustomInnerContent=\"{ component: headingComponent }\"></ng-container></h2>\n </ng-container>\n\n <button *ngIf=\"showControl\" (click)=\"changeAll()\"\n class=\"ml-auto py-base text-sm text-neutral-dark underline focus:text-black focus:bg-warning-base focus:outline-none focus:shadow-outline-focus\">\n {{showAll ? 'Mostrar' : 'Ocultar'}} todo\n </button>\n </div>\n <div class=\"Accordion pl-lg\">\n <ng-template #itemHeaderContent let-item=\"item\" let-id=\"id\" let-index=\"index\">\n <button #itemSelector [id]=\"id + '-title'\" (click)=\"toggleItem(item)\"\n [class]=\"['Accordion-trigger group relative w-full py-sm font-semibold text-left cursor-pointer focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black', item.disabled ? 'cursor-not-allowed' : ''] | makeHtmlList\"\n [attr.aria-controls]=\"id\" [attr.aria-expanded]=\"item.open\" [disabled]=\"item.disabled\">\n <ng-container *desyCustomInnerContent=\"{ component: getItemHeader(item), html: item.headerHtml, text: item.headerText }\"></ng-container>\n <span *ngIf=\"!item.disabled\" class=\"absolute inset-y-0 right-0 py-sm font-normal text-sm text-neutral-dark underline group-focus:text-black pointer-events-none\">\n <span *ngIf=\"!item.open\" [class]=\"['Accordion-show', item.showButton?.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{ component: item.showButton, text: 'Mostrar' }\"></ng-container>\n </span>\n <span *ngIf=\"allowToggle && item.open\" [class]=\"['Accordion-show', item.hideButton?.classes] | makeHtmlList\">\n <ng-container *desyCustomInnerContent=\"{ component: item.hideButton, text: 'Ocultar' }\"></ng-container>\n </span>\n </span>\n </button>\n </ng-template>\n\n <div *ngFor=\"let item of getItems(); index as i; first as isFirst; last as isLast\" \n class=\"relative -my-px px-xs py-sm border-t border-b border-neutral-base\"\n (keydown.home)=\"focusFirstItem($event)\"\n (keydown.end)=\"focusLastItem($event)\"\n (keydown.arrowup)=\"focusPreviousItem($event, i)\"\n (keydown.arrowdown)=\"focusNextItem($event, i)\"\n (click)=\"selectItem(i)\">\n <ng-container [ngSwitch]=\"headingLevel\">\n <h2 *ngSwitchCase=\"1\"><ng-container *ngTemplateOutlet=\"itemHeaderContent; context: {item: item, id: getItemId(item, i), index: i}\"></ng-container></h2>\n <h3 *ngSwitchCase=\"2\"><ng-container *ngTemplateOutlet=\"itemHeaderContent; context: {item: item, id: getItemId(item, i), index: i}\"></ng-container></h3>\n <h4 *ngSwitchCase=\"3\"><ng-container *ngTemplateOutlet=\"itemHeaderContent; context: {item: item, id: getItemId(item, i), index: i}\"></ng-container></h4>\n <h5 *ngSwitchCase=\"4\"><ng-container *ngTemplateOutlet=\"itemHeaderContent; context: {item: item, id: getItemId(item, i), index: i}\"></ng-container></h5>\n <h6 *ngSwitchCase=\"5\"><ng-container *ngTemplateOutlet=\"itemHeaderContent; context: {item: item, id: getItemId(item, i), index: i}\"></ng-container></h6>\n <h3 *ngSwitchDefault><ng-container *ngTemplateOutlet=\"itemHeaderContent; context: {item: item, id: getItemId(item, i), index: i}\"></ng-container></h3>\n </ng-container>\n <p class=\"sr-only\" aria-hidden=\"true\">Haz click en el bot\u00F3n anterior para mostrar u ocultar</p>\n <ng-container *ngIf=\"!isFirst\">\n <ng-container [ngSwitch]=\"item.status\">\n <div *ngSwitchCase=\"'current'\" class=\"absolute -top-px -left-5 h-6 border-2 border-primary-base\"></div>\n <div *ngSwitchCase=\"'pending'\" class=\"absolute -top-px -left-5 h-6 border-2 border-neutral-light\"></div>\n <div *ngSwitchCase=\"'muted'\" class=\"absolute -top-px -left-5 h-6 border-2 border-neutral-base\"></div>\n <div *ngSwitchCase=\"'currentmuted'\" class=\"absolute -top-px -left-5 h-6 border-2 border-neutral-base\"></div>\n <div *ngSwitchDefault class=\"absolute -top-px -left-5 h-6 border-2 border-primary-base\"></div>\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"!isLast\">\n <ng-container [ngSwitch]=\"item.status\">\n <div *ngSwitchCase=\"'current'\" class=\"absolute top-6 bottom-0 -left-5 border-2 border-neutral-light\"></div>\n <div *ngSwitchCase=\"'pending'\" class=\"absolute top-6 bottom-0 -left-5 border-2 border-neutral-light\"></div>\n <div *ngSwitchCase=\"'muted'\" class=\"absolute top-6 bottom-0 -left-5 border-2 border-neutral-base\"></div>\n <div *ngSwitchCase=\"'currentmuted'\" class=\"absolute top-6 bottom-0 -left-5 border-2 border-neutral-light\"></div>\n <div *ngSwitchDefault class=\"absolute top-6 bottom-0 -left-5 border-2 border-primary-base\"></div>\n </ng-container>\n </ng-container>\n <ng-container [ngSwitch]=\"item.status\">\n <div *ngSwitchCase=\"'current'\" class=\"absolute top-5 -left-6 w-3 h-3 bg-white ring-2 ring-primary-base rounded-full\" role=\"img\"><p class=\"sr-only\">Estado: actual</p></div>\n <div *ngSwitchCase=\"'pending'\" class=\"absolute top-5 -left-6 w-3 h-3 bg-white border-2 border-neutral-base rounded-full\" role=\"img\"><p class=\"sr-only\">Estado: pendiente</p></div>\n <div *ngSwitchCase=\"'muted'\" class=\"absolute top-5 -left-6 w-3 h-3 bg-neutral-base border-2 border-neutral-base rounded-full\" role=\"img\"><p class=\"sr-only\">Estado: pasado</p></div>\n <div *ngSwitchCase=\"'currentmuted'\" class=\"absolute top-5 -left-6 w-3 h-3 bg-neutral-base ring-2 ring-neutral-base rounded-full\" role=\"img\"><p class=\"sr-only\">Estado: actual</p></div>\n <div *ngSwitchDefault class=\"absolute top-5 -left-6 w-3 h-3 bg-primary-base border-2 border-primary-base rounded-full\" role=\"img\"><p class=\"sr-only\">Estado: pasado</p></div>\n </ng-container>\n\n <div *ngIf=\"item.open\" [class]=\"['Accordion-panel relative', item.classes] | makeHtmlList\"\n [attr.id]=\"getItemId(item, i)\"\n [attr.role]=\"(item.role ? role : 'accordion')\"\n [attr.aria-selected]=\"currentItem === i ? 'true' : 'false'\"\n [attr.aria-describedby]=\"item.ariaDescribedBy\"\n [attr.aria-errormessage]=\"item.ariaErrorMessage\"\n [attr.aria-label]=\"item.ariaLabel\"\n [attr.aria-labelledby]=\"item.ariaLabelledBy\"\n [attr.aria-hidden]=\"item.ariaHidden\"\n [attr.aria-controls]=\"'accordion-' + getItemId(item, i)\"\n [attr.aria-current]=\"item.ariaCurrent\"\n [attr.aria-live]=\"item.ariaLive\"\n [attr.aria-expanded]=\"item.ariaExpanded\"\n [attr.aria-haspopup]=\"item.ariaHasPopup\">\n <ng-container *ngIf=\"!isLast\">\n <ng-container [ngSwitch]=\"item.status\">\n <div *ngSwitchCase=\"'current'\" class=\"absolute top-4 bottom-0 -left-6 -my-sm border-2 border-neutral-light\"></div>\n <div *ngSwitchCase=\"'pending'\" class=\"absolute top-4 bottom-0 -left-6 -my-sm border-2 border-neutral-light\"></div>\n <div *ngSwitchCase=\"'muted'\" class=\"absolute top-4 bottom-0 -left-6 -my-sm border-2 border-neutral-base\"></div>\n <div *ngSwitchCase=\"'currentmuted'\" class=\"absolute top-4 bottom-0 -left-6 -my-sm border-2 border-neutral-light\"></div>\n <div *ngSwitchDefault class=\"absolute top-4 bottom-0 -left-6 -my-sm border-2 border-primary-base\"></div>\n </ng-container>\n </ng-container>\n <ng-container *desyCustomInnerContent=\"{ component: getItemContent(item), html: item.html, text: item.text }\"></ng-container>\n </div>\n </div>\n </div>\n</div>\n"
|
|
10
|
+
},] }
|
|
11
|
+
];
|
|
12
|
+
AccordionHistoryComponent.propDecorators = {
|
|
13
|
+
itemComponentList: [{ type: ContentChildren, args: [AccordionHistoryItemComponent,] }]
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLWhpc3RvcnkuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZGVzeS1hbmd1bGFyL3NyYy9saWIvZGVzeS12aWV3cy9jb21wb25lbnRzL2FjY29yZGlvbi1oaXN0b3J5L2FjY29yZGlvbi1oaXN0b3J5LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLGVBQWUsRUFBYSxNQUFNLGVBQWUsQ0FBQztBQUN0RSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxrQ0FBa0MsQ0FBQztBQUN0RSxPQUFPLEVBQUUsNkJBQTZCLEVBQUUsTUFBTSwyREFBMkQsQ0FBQztBQU0xRyxNQUFNLE9BQU8seUJBQTBCLFNBQVEsa0JBQWtCOzs7WUFKaEUsU0FBUyxTQUFDO2dCQUNULFFBQVEsRUFBRSx3QkFBd0I7Z0JBQ2xDLHU5U0FBaUQ7YUFDbEQ7OztnQ0FJRSxlQUFlLFNBQUMsNkJBQTZCIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBDb250ZW50Q2hpbGRyZW4sIFF1ZXJ5TGlzdCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQWNjb3JkaW9uQ29tcG9uZW50IH0gZnJvbSAnLi4vYWNjb3JkaW9uL2FjY29yZGlvbi5jb21wb25lbnQnO1xuaW1wb3J0IHsgQWNjb3JkaW9uSGlzdG9yeUl0ZW1Db21wb25lbnQgfSBmcm9tICcuL2FjY29yZGlvbi1oaXN0b3J5LWl0ZW0vYWNjb3JkaW9uLWhpc3RvcnktaXRlbS5jb21wb25lbnQnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdkZXN5LWFjY29yZGlvbi1oaXN0b3J5JyxcbiAgdGVtcGxhdGVVcmw6ICcuL2FjY29yZGlvbi1oaXN0b3J5LmNvbXBvbmVudC5odG1sJ1xufSlcbmV4cG9ydCBjbGFzcyBBY2NvcmRpb25IaXN0b3J5Q29tcG9uZW50IGV4dGVuZHMgQWNjb3JkaW9uQ29tcG9uZW50IHtcblxuICAvLyBTb2JyZWVzY3JpYmUgZWwgdGlwbyBkZWwgbGlzdGFkbyBkZSBpdGVtc1xuICBAQ29udGVudENoaWxkcmVuKEFjY29yZGlvbkhpc3RvcnlJdGVtQ29tcG9uZW50KSBpdGVtQ29tcG9uZW50TGlzdDogUXVlcnlMaXN0PEFjY29yZGlvbkhpc3RvcnlJdGVtQ29tcG9uZW50Pjtcbn1cbiJdfQ==
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import { ContentBaseComponent } from '../../../../shared/components';
|
|
3
|
-
export class AccordionItemHideButtonComponent extends ContentBaseComponent {
|
|
4
|
-
}
|
|
5
|
-
AccordionItemHideButtonComponent.decorators = [
|
|
6
|
-
{ type: Component, args: [{
|
|
7
|
-
selector: 'desy-accordion-item-hide-button',
|
|
8
|
-
template: '<ng-template #contentTemplate><ng-content></ng-content></ng-template>'
|
|
9
|
-
},] }
|
|
10
|
-
];
|
|
11
|
-
AccordionItemHideButtonComponent.propDecorators = {
|
|
12
|
-
classes: [{ type: Input }]
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { ContentBaseComponent } from '../../../../shared/components';
|
|
3
|
+
export class AccordionItemHideButtonComponent extends ContentBaseComponent {
|
|
4
|
+
}
|
|
5
|
+
AccordionItemHideButtonComponent.decorators = [
|
|
6
|
+
{ type: Component, args: [{
|
|
7
|
+
selector: 'desy-accordion-item-hide-button',
|
|
8
|
+
template: '<ng-template #contentTemplate><ng-content></ng-content></ng-template>'
|
|
9
|
+
},] }
|
|
10
|
+
];
|
|
11
|
+
AccordionItemHideButtonComponent.propDecorators = {
|
|
12
|
+
classes: [{ type: Input }]
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLWl0ZW0taGlkZS1idXR0b24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZGVzeS1hbmd1bGFyL3NyYy9saWIvZGVzeS12aWV3cy9jb21wb25lbnRzL2FjY29yZGlvbi1oaXN0b3J5L2FjY29yZGlvbi1pdGVtLWhpZGUtYnV0dG9uL2FjY29yZGlvbi1pdGVtLWhpZGUtYnV0dG9uLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNqRCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQU1yRSxNQUFNLE9BQU8sZ0NBQWlDLFNBQVEsb0JBQW9COzs7WUFKekUsU0FBUyxTQUFDO2dCQUNULFFBQVEsRUFBRSxpQ0FBaUM7Z0JBQzNDLFFBQVEsRUFBRSx1RUFBdUU7YUFDbEY7OztzQkFHRSxLQUFLIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBJbnB1dCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ29udGVudEJhc2VDb21wb25lbnQgfSBmcm9tICcuLi8uLi8uLi8uLi9zaGFyZWQvY29tcG9uZW50cyc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2Rlc3ktYWNjb3JkaW9uLWl0ZW0taGlkZS1idXR0b24nLFxuICB0ZW1wbGF0ZTogJzxuZy10ZW1wbGF0ZSAjY29udGVudFRlbXBsYXRlPjxuZy1jb250ZW50PjwvbmctY29udGVudD48L25nLXRlbXBsYXRlPidcbn0pXG5leHBvcnQgY2xhc3MgQWNjb3JkaW9uSXRlbUhpZGVCdXR0b25Db21wb25lbnQgZXh0ZW5kcyBDb250ZW50QmFzZUNvbXBvbmVudCAge1xuXG4gIEBJbnB1dCgpIGNsYXNzZXM6IHN0cmluZztcbn1cbiJdfQ==
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import { ContentBaseComponent } from '../../../../shared/components';
|
|
3
|
-
export class AccordionItemShowButtonComponent extends ContentBaseComponent {
|
|
4
|
-
}
|
|
5
|
-
AccordionItemShowButtonComponent.decorators = [
|
|
6
|
-
{ type: Component, args: [{
|
|
7
|
-
selector: 'desy-accordion-item-show-button',
|
|
8
|
-
template: '<ng-template #contentTemplate><ng-content></ng-content></ng-template>'
|
|
9
|
-
},] }
|
|
10
|
-
];
|
|
11
|
-
AccordionItemShowButtonComponent.propDecorators = {
|
|
12
|
-
classes: [{ type: Input }]
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { ContentBaseComponent } from '../../../../shared/components';
|
|
3
|
+
export class AccordionItemShowButtonComponent extends ContentBaseComponent {
|
|
4
|
+
}
|
|
5
|
+
AccordionItemShowButtonComponent.decorators = [
|
|
6
|
+
{ type: Component, args: [{
|
|
7
|
+
selector: 'desy-accordion-item-show-button',
|
|
8
|
+
template: '<ng-template #contentTemplate><ng-content></ng-content></ng-template>'
|
|
9
|
+
},] }
|
|
10
|
+
];
|
|
11
|
+
AccordionItemShowButtonComponent.propDecorators = {
|
|
12
|
+
classes: [{ type: Input }]
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLWl0ZW0tc2hvdy1idXR0b24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZGVzeS1hbmd1bGFyL3NyYy9saWIvZGVzeS12aWV3cy9jb21wb25lbnRzL2FjY29yZGlvbi1oaXN0b3J5L2FjY29yZGlvbi1pdGVtLXNob3ctYnV0dG9uL2FjY29yZGlvbi1pdGVtLXNob3ctYnV0dG9uLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUNqRCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSwrQkFBK0IsQ0FBQztBQU1yRSxNQUFNLE9BQU8sZ0NBQWlDLFNBQVEsb0JBQW9COzs7WUFKekUsU0FBUyxTQUFDO2dCQUNULFFBQVEsRUFBRSxpQ0FBaUM7Z0JBQzNDLFFBQVEsRUFBRSx1RUFBdUU7YUFDbEY7OztzQkFHRSxLQUFLIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ29tcG9uZW50LCBJbnB1dCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuaW1wb3J0IHsgQ29udGVudEJhc2VDb21wb25lbnQgfSBmcm9tICcuLi8uLi8uLi8uLi9zaGFyZWQvY29tcG9uZW50cyc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2Rlc3ktYWNjb3JkaW9uLWl0ZW0tc2hvdy1idXR0b24nLFxuICB0ZW1wbGF0ZTogJzxuZy10ZW1wbGF0ZSAjY29udGVudFRlbXBsYXRlPjxuZy1jb250ZW50PjwvbmctY29udGVudD48L25nLXRlbXBsYXRlPidcbn0pXG5leHBvcnQgY2xhc3MgQWNjb3JkaW9uSXRlbVNob3dCdXR0b25Db21wb25lbnQgZXh0ZW5kcyBDb250ZW50QmFzZUNvbXBvbmVudCAge1xuXG4gIEBJbnB1dCgpIGNsYXNzZXM6IHN0cmluZztcbn1cbiJdfQ==
|
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
import { ChangeDetectorRef, Component, ComponentFactoryResolver, EventEmitter, Input, Output, ViewChild, ViewContainerRef } from '@angular/core';
|
|
2
|
-
import { AccessibilityComponent } from '../../../shared/components';
|
|
3
|
-
import { FocusUtils } from '../../../shared/utils/focus-utils';
|
|
4
|
-
export class AlertComponent extends AccessibilityComponent {
|
|
5
|
-
constructor(cdRef, factoryResolver) {
|
|
6
|
-
super();
|
|
7
|
-
this.cdRef = cdRef;
|
|
8
|
-
this.factoryResolver = factoryResolver;
|
|
9
|
-
this.activeChange = new EventEmitter();
|
|
10
|
-
this.lastActiveState = undefined;
|
|
11
|
-
this.hasViewinit = false;
|
|
12
|
-
this.createdCallerFromType = false;
|
|
13
|
-
}
|
|
14
|
-
set active(value) {
|
|
15
|
-
setTimeout(() => {
|
|
16
|
-
this._active = value;
|
|
17
|
-
this.cdRef.detectChanges();
|
|
18
|
-
this.handleActiveState();
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
get active() {
|
|
22
|
-
return this._active;
|
|
23
|
-
}
|
|
24
|
-
ngOnDestroy() {
|
|
25
|
-
this.active = false;
|
|
26
|
-
}
|
|
27
|
-
ngAfterViewInit() {
|
|
28
|
-
this.hasViewinit = true;
|
|
29
|
-
this.handleActiveState();
|
|
30
|
-
}
|
|
31
|
-
dismiss() {
|
|
32
|
-
this.activeChange.emit(false);
|
|
33
|
-
}
|
|
34
|
-
handleActiveState() {
|
|
35
|
-
if (this._active && this.callerType && !this.createdCallerFromType) {
|
|
36
|
-
const factory = this.factoryResolver.resolveComponentFactory(this.callerType);
|
|
37
|
-
const component = this.container.createComponent(factory);
|
|
38
|
-
if (this.onCallerCreationCallback) {
|
|
39
|
-
this.onCallerCreationCallback(this, component);
|
|
40
|
-
}
|
|
41
|
-
this.createdCallerFromType = true;
|
|
42
|
-
}
|
|
43
|
-
if (this._active !== this.lastActiveState && this.hasViewinit) {
|
|
44
|
-
this.lastActiveState = this._active;
|
|
45
|
-
if (this._active && this.focusFirst) {
|
|
46
|
-
this.cdRef.detectChanges();
|
|
47
|
-
const focusElem = FocusUtils.getFirstFocusableElement(this.alertWrapper.nativeElement);
|
|
48
|
-
if (focusElem) {
|
|
49
|
-
focusElem.focus();
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
AlertComponent.decorators = [
|
|
56
|
-
{ type: Component, args: [{
|
|
57
|
-
selector: 'desy-alert',
|
|
58
|
-
template: "<div #alertWrapper\
|
|
59
|
-
},] }
|
|
60
|
-
];
|
|
61
|
-
AlertComponent.ctorParameters = () => [
|
|
62
|
-
{ type: ChangeDetectorRef },
|
|
63
|
-
{ type: ComponentFactoryResolver }
|
|
64
|
-
];
|
|
65
|
-
AlertComponent.propDecorators = {
|
|
66
|
-
alertWrapper: [{ type: ViewChild, args: ['alertWrapper',] }],
|
|
67
|
-
container: [{ type: ViewChild, args: ['container', { read: ViewContainerRef },] }],
|
|
68
|
-
id: [{ type: Input }],
|
|
69
|
-
classes: [{ type: Input }],
|
|
70
|
-
caller: [{ type: Input }],
|
|
71
|
-
focusFirst: [{ type: Input }],
|
|
72
|
-
active: [{ type: Input }],
|
|
73
|
-
activeChange: [{ type: Output }]
|
|
74
|
-
};
|
|
75
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { ChangeDetectorRef, Component, ComponentFactoryResolver, EventEmitter, Input, Output, ViewChild, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { AccessibilityComponent } from '../../../shared/components';
|
|
3
|
+
import { FocusUtils } from '../../../shared/utils/focus-utils';
|
|
4
|
+
export class AlertComponent extends AccessibilityComponent {
|
|
5
|
+
constructor(cdRef, factoryResolver) {
|
|
6
|
+
super();
|
|
7
|
+
this.cdRef = cdRef;
|
|
8
|
+
this.factoryResolver = factoryResolver;
|
|
9
|
+
this.activeChange = new EventEmitter();
|
|
10
|
+
this.lastActiveState = undefined;
|
|
11
|
+
this.hasViewinit = false;
|
|
12
|
+
this.createdCallerFromType = false;
|
|
13
|
+
}
|
|
14
|
+
set active(value) {
|
|
15
|
+
setTimeout(() => {
|
|
16
|
+
this._active = value;
|
|
17
|
+
this.cdRef.detectChanges();
|
|
18
|
+
this.handleActiveState();
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
get active() {
|
|
22
|
+
return this._active;
|
|
23
|
+
}
|
|
24
|
+
ngOnDestroy() {
|
|
25
|
+
this.active = false;
|
|
26
|
+
}
|
|
27
|
+
ngAfterViewInit() {
|
|
28
|
+
this.hasViewinit = true;
|
|
29
|
+
this.handleActiveState();
|
|
30
|
+
}
|
|
31
|
+
dismiss() {
|
|
32
|
+
this.activeChange.emit(false);
|
|
33
|
+
}
|
|
34
|
+
handleActiveState() {
|
|
35
|
+
if (this._active && this.callerType && !this.createdCallerFromType) {
|
|
36
|
+
const factory = this.factoryResolver.resolveComponentFactory(this.callerType);
|
|
37
|
+
const component = this.container.createComponent(factory);
|
|
38
|
+
if (this.onCallerCreationCallback) {
|
|
39
|
+
this.onCallerCreationCallback(this, component);
|
|
40
|
+
}
|
|
41
|
+
this.createdCallerFromType = true;
|
|
42
|
+
}
|
|
43
|
+
if (this._active !== this.lastActiveState && this.hasViewinit) {
|
|
44
|
+
this.lastActiveState = this._active;
|
|
45
|
+
if (this._active && this.focusFirst) {
|
|
46
|
+
this.cdRef.detectChanges();
|
|
47
|
+
const focusElem = FocusUtils.getFirstFocusableElement(this.alertWrapper.nativeElement);
|
|
48
|
+
if (focusElem) {
|
|
49
|
+
focusElem.focus();
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
AlertComponent.decorators = [
|
|
56
|
+
{ type: Component, args: [{
|
|
57
|
+
selector: 'desy-alert',
|
|
58
|
+
template: "<div #alertWrapper\n [id]=\"id\" [class]=\"classes ? classes : null\"\n [attr.role]=\"role ? role : null\"\n [attr.aria-label]=\"ariaLabel ? ariaLabel : null\"\n [attr.aria-describedby]=\"ariaDescribedBy ? ariaDescribedBy : null\"\n [attr.aria-labelledby]=\"ariaLabelledBy ? ariaLabelledBy : null\"\n [attr.aria-hidden]=\"ariaHidden ? ariaHidden : null\"\n [attr.aria-disabled]=\"ariaDisabled ? ariaDisabled : null\"\n [attr.aria-controls]=\"ariaControls ? ariaControls : null\"\n [attr.aria-current]=\"ariaCurrent ? ariaCurrent : null\"\n [attr.aria-live]=\"ariaLive ? ariaLive : null\"\n [attr.aria-expanded]=\"ariaExpanded ? ariaExpanded : null\"\n [attr.aria-errormessage]=\"ariaErrorMessage ? ariaErrorMessage : null\"\n [attr.aria-haspopup]=\"ariaHasPopup ? ariaHasPopup : null\"\n [attr.aria-modal]=\"ariaModal ? ariaModal : null\">\n <ng-container *ngIf=\"active\">\n <ng-template #container></ng-template>\n <ng-container *ngTemplateOutlet=\"caller; context:callerContext\"></ng-container>\n </ng-container>\n</div>\n\n"
|
|
59
|
+
},] }
|
|
60
|
+
];
|
|
61
|
+
AlertComponent.ctorParameters = () => [
|
|
62
|
+
{ type: ChangeDetectorRef },
|
|
63
|
+
{ type: ComponentFactoryResolver }
|
|
64
|
+
];
|
|
65
|
+
AlertComponent.propDecorators = {
|
|
66
|
+
alertWrapper: [{ type: ViewChild, args: ['alertWrapper',] }],
|
|
67
|
+
container: [{ type: ViewChild, args: ['container', { read: ViewContainerRef },] }],
|
|
68
|
+
id: [{ type: Input }],
|
|
69
|
+
classes: [{ type: Input }],
|
|
70
|
+
caller: [{ type: Input }],
|
|
71
|
+
focusFirst: [{ type: Input }],
|
|
72
|
+
active: [{ type: Input }],
|
|
73
|
+
activeChange: [{ type: Output }]
|
|
74
|
+
};
|
|
75
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxlcnQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZGVzeS1hbmd1bGFyL3NyYy9saWIvZGVzeS12aWV3cy9jb21wb25lbnRzL2FsZXJ0L2FsZXJ0LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBRUwsaUJBQWlCLEVBQ2pCLFNBQVMsRUFBRSx3QkFBd0IsRUFFbkMsWUFBWSxFQUNaLEtBQUssRUFFTCxNQUFNLEVBRU4sU0FBUyxFQUFFLGdCQUFnQixFQUM1QixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUNwRSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sbUNBQW1DLENBQUM7QUFRL0QsTUFBTSxPQUFPLGNBQWUsU0FBUSxzQkFBc0I7SUErQnhELFlBQW9CLEtBQXdCLEVBQVUsZUFBeUM7UUFDN0YsS0FBSyxFQUFFLENBQUM7UUFEVSxVQUFLLEdBQUwsS0FBSyxDQUFtQjtRQUFVLG9CQUFlLEdBQWYsZUFBZSxDQUEwQjtRQVhyRixpQkFBWSxHQUFHLElBQUksWUFBWSxFQUFXLENBQUM7UUFPN0Msb0JBQWUsR0FBWSxTQUFTLENBQUM7UUFDckMsZ0JBQVcsR0FBRyxLQUFLLENBQUM7UUFDcEIsMEJBQXFCLEdBQUcsS0FBSyxDQUFDO0lBSXRDLENBQUM7SUF2Q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BIVE1MRWxlbWVudCk7XG4gICAgICAgIGlmIChmb2N1c0VsZW0pIHtcbiAgICAgICAgICBmb2N1c0VsZW0uZm9jdXMoKTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxufVxuIl19
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import { animate, state, style, transition, trigger } from '@angular/animations';
|
|
2
|
-
import { Component, Input } from '@angular/core';
|
|
3
|
-
import { AccessibilityAndContentRequiredComponent } from '../../../shared/components';
|
|
4
|
-
export class CollapsibleComponent extends AccessibilityAndContentRequiredComponent {
|
|
5
|
-
isOpen() {
|
|
6
|
-
this.open = !this.open;
|
|
7
|
-
this.toggleOpen();
|
|
8
|
-
}
|
|
9
|
-
toggleOpen() {
|
|
10
|
-
if (this.open) {
|
|
11
|
-
this.show = 'Ocultar';
|
|
12
|
-
}
|
|
13
|
-
else {
|
|
14
|
-
this.show = 'Mostrar';
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
ngOnInit() {
|
|
18
|
-
this.toggleOpen();
|
|
19
|
-
}
|
|
20
|
-
ngOnChanges() {
|
|
21
|
-
this.toggleOpen();
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
CollapsibleComponent.decorators = [
|
|
25
|
-
{ type: Component, args: [{
|
|
26
|
-
selector: 'desy-collapsible',
|
|
27
|
-
template: "<div [class]=\"(classes ? classes : '-my-px py-sm border-t border-b border-neutral-base')\"\
|
|
28
|
-
animations: [
|
|
29
|
-
trigger('displayCollapsible', [
|
|
30
|
-
state('void', style({
|
|
31
|
-
opacity: '0.0',
|
|
32
|
-
transform: 'scaleY(0.95)'
|
|
33
|
-
})),
|
|
34
|
-
state('*', style({
|
|
35
|
-
opacity: '1.0',
|
|
36
|
-
transform: 'scaleY(1.0)'
|
|
37
|
-
})),
|
|
38
|
-
transition(':enter', [
|
|
39
|
-
animate('100ms ease-out')
|
|
40
|
-
]),
|
|
41
|
-
transition(':leave', [
|
|
42
|
-
animate('75ms ease-in')
|
|
43
|
-
])
|
|
44
|
-
])
|
|
45
|
-
]
|
|
46
|
-
},] }
|
|
47
|
-
];
|
|
48
|
-
CollapsibleComponent.propDecorators = {
|
|
49
|
-
headerText: [{ type: Input }],
|
|
50
|
-
headerHtml: [{ type: Input }],
|
|
51
|
-
id: [{ type: Input }],
|
|
52
|
-
open: [{ type: Input }],
|
|
53
|
-
classes: [{ type: Input }]
|
|
54
|
-
};
|
|
55
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { animate, state, style, transition, trigger } from '@angular/animations';
|
|
2
|
+
import { Component, Input } from '@angular/core';
|
|
3
|
+
import { AccessibilityAndContentRequiredComponent } from '../../../shared/components';
|
|
4
|
+
export class CollapsibleComponent extends AccessibilityAndContentRequiredComponent {
|
|
5
|
+
isOpen() {
|
|
6
|
+
this.open = !this.open;
|
|
7
|
+
this.toggleOpen();
|
|
8
|
+
}
|
|
9
|
+
toggleOpen() {
|
|
10
|
+
if (this.open) {
|
|
11
|
+
this.show = 'Ocultar';
|
|
12
|
+
}
|
|
13
|
+
else {
|
|
14
|
+
this.show = 'Mostrar';
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
ngOnInit() {
|
|
18
|
+
this.toggleOpen();
|
|
19
|
+
}
|
|
20
|
+
ngOnChanges() {
|
|
21
|
+
this.toggleOpen();
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
CollapsibleComponent.decorators = [
|
|
25
|
+
{ type: Component, args: [{
|
|
26
|
+
selector: 'desy-collapsible',
|
|
27
|
+
template: "<div [class]=\"(classes ? classes : '-my-px py-sm border-t border-b border-neutral-base')\"\n [attr.role]=\"role ? role : null\"\n [attr.aria-label]=\"ariaLabel ? ariaLabel : null\"\n [attr.aria-describedby]=\"ariaDescribedBy ? ariaDescribedBy : null\"\n [attr.aria-labelledby]=\"ariaLabelledBy ? ariaLabelledBy : null\"\n [attr.aria-hidden]=\"ariaHidden ? ariaHidden : null\"\n [attr.aria-disabled]=\"ariaDisabled ? ariaDisabled : null\"\n [attr.aria-controls]=\"ariaControls ? ariaControls : null\"\n [attr.aria-current]=\"ariaCurrent ? ariaCurrent : null\"\n [attr.aria-live]=\"ariaLive ? ariaLive : null\"\n [attr.aria-expanded]=\"ariaExpanded ? ariaExpanded : null\"\n [attr.aria-errormessage]=\"ariaErrorMessage ? ariaErrorMessage : null\"\n [attr.aria-haspopup]=\"ariaHasPopup ? ariaHasPopup : null\"\n [attr.tabindex]=\"tabindex ? tabindex : null\">\n <h3> \n <button *ngIf=\"headerText && !headerHtml\" (click)=\"isOpen()\" [attr.id]=\"id ? (id + '-title') : null\"\n class=\"group relative w-full py-sm font-semibold text-left cursor-pointer focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black\" \n [attr.aria-expanded]=\"open\"\n [attr.aria-controls]=\"id ? id : null\">{{ headerText }}\n <span class=\"absolute inset-y-0 right-0 py-sm font-normal text-sm text-neutral-dark underline group-focus:text-black\" aria-hidden=\"true\">{{show}}</span>\n </button>\n <button *ngIf=\"headerHtml\" (click)=\"isOpen()\" [attr.id]=\"id ? (id + '-title') : null\"\n class=\"group relative w-full py-sm font-semibold text-left cursor-pointer focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black\" \n [attr.aria-expanded]=\"open\"\n [attr.aria-controls]=\"id ? id : null\"><ng-container *ngTemplateOutlet=\"tmpHtml\"></ng-container>\n <span class=\"absolute inset-y-0 right-0 py-sm font-normal text-sm text-neutral-dark underline group-focus:text-black\" aria-hidden=\"true\">{{show}}</span>\n </button>\n <button *ngIf=\"!headerHtml && !headerText\" (click)=\"isOpen()\" [attr.id]=\"id ? (id + '-title') : null\"\n class=\"group relative w-full py-sm font-semibold text-left cursor-pointer focus:bg-warning-base focus:outline-none focus:shadow-outline-focus focus:text-black\" \n [attr.aria-expanded]=\"open\"\n [attr.aria-controls]=\"id ? id : null\">\n <ng-content></ng-content>\n <span class=\"absolute inset-y-0 right-0 py-sm font-normal text-sm text-neutral-dark underline group-focus:text-black\" aria-hidden=\"true\">{{show}}</span>\n </button>\n </h3>\n <div *ngIf=\"open && html\" @displayCollapsible [attr.id]=\"(id ? id : null)\" class=\"py-sm\">\n <ng-container *ngTemplateOutlet=\"html\"></ng-container>\n </div>\n <div *ngIf=\"open && !html\" @displayCollapsible [attr.id]=\"(id ? id : null)\" class=\"py-sm\">\n <p [desyInnerContent]=\"text\"></p>\n </div>\n</div>\n<ng-template #tmpHtml>\n <div [outerHTML]=\"headerHtml | innerHtml\"></div> \n </ng-template>\n",
|
|
28
|
+
animations: [
|
|
29
|
+
trigger('displayCollapsible', [
|
|
30
|
+
state('void', style({
|
|
31
|
+
opacity: '0.0',
|
|
32
|
+
transform: 'scaleY(0.95)'
|
|
33
|
+
})),
|
|
34
|
+
state('*', style({
|
|
35
|
+
opacity: '1.0',
|
|
36
|
+
transform: 'scaleY(1.0)'
|
|
37
|
+
})),
|
|
38
|
+
transition(':enter', [
|
|
39
|
+
animate('100ms ease-out')
|
|
40
|
+
]),
|
|
41
|
+
transition(':leave', [
|
|
42
|
+
animate('75ms ease-in')
|
|
43
|
+
])
|
|
44
|
+
])
|
|
45
|
+
]
|
|
46
|
+
},] }
|
|
47
|
+
];
|
|
48
|
+
CollapsibleComponent.propDecorators = {
|
|
49
|
+
headerText: [{ type: Input }],
|
|
50
|
+
headerHtml: [{ type: Input }],
|
|
51
|
+
id: [{ type: Input }],
|
|
52
|
+
open: [{ type: Input }],
|
|
53
|
+
classes: [{ type: Input }]
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29sbGFwc2libGUuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvZGVzeS1hbmd1bGFyL3NyYy9saWIvZGVzeS12aWV3cy9jb21wb25lbnRzL2NvbGxhcHNpYmxlL2NvbGxhcH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iB2b2lkIHtcbiAgICB0aGlzLnRvZ2dsZU9wZW4oKTtcbiAgfVxuXG4gIG5nT25DaGFuZ2VzKCk6IHZvaWQge1xuICAgIHRoaXMudG9nZ2xlT3BlbigpO1xuICB9XG5cbn1cbiJdfQ==
|
package/esm2015/lib/desy-views/components/description-list/definition/definition.component.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import { ContentBaseComponent } from '../../../../shared/components';
|
|
3
|
-
export class DefinitionComponent extends ContentBaseComponent {
|
|
4
|
-
}
|
|
5
|
-
DefinitionComponent.decorators = [
|
|
6
|
-
{ type: Component, args: [{
|
|
7
|
-
selector: 'desy-definition',
|
|
8
|
-
template: '<ng-template #contentTemplate><ng-content></ng-content></ng-template>'
|
|
9
|
-
},] }
|
|
10
|
-
];
|
|
11
|
-
DefinitionComponent.propDecorators = {
|
|
12
|
-
classes: [{ type: Input }],
|
|
13
|
-
id: [{ type: Input }]
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { ContentBaseComponent } from '../../../../shared/components';
|
|
3
|
+
export class DefinitionComponent extends ContentBaseComponent {
|
|
4
|
+
}
|
|
5
|
+
DefinitionComponent.decorators = [
|
|
6
|
+
{ type: Component, args: [{
|
|
7
|
+
selector: 'desy-definition',
|
|
8
|
+
template: '<ng-template #contentTemplate><ng-content></ng-content></ng-template>'
|
|
9
|
+
},] }
|
|
10
|
+
];
|
|
11
|
+
DefinitionComponent.propDecorators = {
|
|
12
|
+
classes: [{ type: Input }],
|
|
13
|
+
id: [{ type: Input }]
|
|
14
|
+
};
|
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmaW5pdGlvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8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nB1dCgpIGNsYXNzZXM6IHN0cmluZztcbiAgQElucHV0KCkgaWQ6IHN0cmluZztcbn1cbiJdfQ==
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import { __decorate } from "tslib";
|
|
2
|
-
import { Component, ContentChildren, Input } from '@angular/core';
|
|
3
|
-
import { TermComponent } from '../term/term.component';
|
|
4
|
-
import { DefinitionComponent } from '../definition/definition.component';
|
|
5
|
-
import { DesyContentChild } from '../../../../shared/decorators/desy-content-child.decorator';
|
|
6
|
-
export class DescriptionItemComponent {
|
|
7
|
-
}
|
|
8
|
-
DescriptionItemComponent.decorators = [
|
|
9
|
-
{ type: Component, args: [{
|
|
10
|
-
selector: 'desy-description-item',
|
|
11
|
-
template: ''
|
|
12
|
-
},] }
|
|
13
|
-
];
|
|
14
|
-
DescriptionItemComponent.propDecorators = {
|
|
15
|
-
term: [{ type: ContentChildren, args: [TermComponent,] }],
|
|
16
|
-
definition: [{ type: ContentChildren, args: [DefinitionComponent,] }],
|
|
17
|
-
classes: [{ type: Input }],
|
|
18
|
-
id: [{ type: Input }]
|
|
19
|
-
};
|
|
20
|
-
__decorate([
|
|
21
|
-
DesyContentChild()
|
|
22
|
-
], DescriptionItemComponent.prototype, "term", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
DesyContentChild()
|
|
25
|
-
], DescriptionItemComponent.prototype, "definition", void 0);
|
|
26
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { __decorate } from "tslib";
|
|
2
|
+
import { Component, ContentChildren, Input } from '@angular/core';
|
|
3
|
+
import { TermComponent } from '../term/term.component';
|
|
4
|
+
import { DefinitionComponent } from '../definition/definition.component';
|
|
5
|
+
import { DesyContentChild } from '../../../../shared/decorators/desy-content-child.decorator';
|
|
6
|
+
export class DescriptionItemComponent {
|
|
7
|
+
}
|
|
8
|
+
DescriptionItemComponent.decorators = [
|
|
9
|
+
{ type: Component, args: [{
|
|
10
|
+
selector: 'desy-description-item',
|
|
11
|
+
template: ''
|
|
12
|
+
},] }
|
|
13
|
+
];
|
|
14
|
+
DescriptionItemComponent.propDecorators = {
|
|
15
|
+
term: [{ type: ContentChildren, args: [TermComponent,] }],
|
|
16
|
+
definition: [{ type: ContentChildren, args: [DefinitionComponent,] }],
|
|
17
|
+
classes: [{ type: Input }],
|
|
18
|
+
id: [{ type: Input }]
|
|
19
|
+
};
|
|
20
|
+
__decorate([
|
|
21
|
+
DesyContentChild()
|
|
22
|
+
], DescriptionItemComponent.prototype, "term", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
DesyContentChild()
|
|
25
|
+
], DescriptionItemComponent.prototype, "definition", void 0);
|
|
26
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVzY3JpcHRpb24taXRlbS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9kZXN5LWFuZ3VsYXIvc3JjL2xpYi9kZXN5LXZpZXdzL2NvbXBvbmVudHMvZGVzY3JpcHRpb24tbGlzdC9kZXNjcmlwdGlvbi1pdGVtL2Rlc2NyaXB0aW9uLWl0ZW0uY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUMsU0FBUyxFQUFFLGVBQWUsRUFBRSxLQUFLLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFFaEUsT0FBTyxFQUFDLGFBQWEsRUFBQyxNQUFNLHdCQUF3QixDQUFDO0FBQ3JELE9BQU8sRUFBQyxtQkFBbUIsRUFBQyxNQUFNLG9DQUFvQyxDQUFDO0FBQ3ZFLE9BQU8sRUFBQyxnQkFBZ0IsRUFBQyxNQUFNLDREQUE0RCxDQUFDO0FBTTVGLE1BQU0sT0FBTyx3QkFBd0I7OztZQUpwQyxTQUFTLFNBQUM7Z0JBQ1QsUUFBUSxFQUFFLHVCQUF1Qjtn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