@clr/angular 13.0.2 → 13.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -12
- package/button/button-group/button-group.d.ts +5 -3
- package/clarity.api.md +5600 -0
- package/clr-angular.module.d.ts +13 -12
- package/data/datagrid/built-in/filters/datagrid-numeric-filter.d.ts +11 -3
- package/data/datagrid/built-in/filters/datagrid-string-filter.d.ts +9 -3
- package/data/datagrid/datagrid-column-toggle.d.ts +7 -3
- package/data/datagrid/datagrid-column.d.ts +10 -1
- package/data/datagrid/datagrid-footer.d.ts +3 -1
- package/data/datagrid/datagrid-row.d.ts +4 -1
- package/data/datagrid/render/main-renderer.d.ts +3 -2
- package/data/stack-view/stack-block.d.ts +12 -1
- package/data/stack-view/stack-control.d.ts +7 -2
- package/data/stack-view/stack-view-custom-tags.d.ts +13 -1
- package/data/stack-view/stack-view.module.d.ts +1 -1
- package/data/tree-view/models/tree-node.model.d.ts +1 -0
- package/data/tree-view/tree-focus-manager.service.d.ts +6 -0
- package/data/tree-view/tree-node.d.ts +12 -4
- package/esm2020/accordion/accordion-content.mjs +5 -5
- package/esm2020/accordion/accordion-description.mjs +5 -5
- package/esm2020/accordion/accordion-panel.mjs +5 -5
- package/esm2020/accordion/accordion-title.mjs +5 -5
- package/esm2020/accordion/accordion.mjs +5 -5
- package/esm2020/accordion/accordion.module.mjs +6 -6
- package/esm2020/accordion/chocolate/accordion-oompa-loompa.mjs +5 -5
- package/esm2020/accordion/chocolate/accordion-willy-wonka.mjs +5 -5
- package/esm2020/accordion/enums/accordion-status.enum.mjs +2 -2
- package/esm2020/accordion/enums/accordion-strategy.enum.mjs +2 -2
- package/esm2020/accordion/index.mjs +2 -2
- package/esm2020/accordion/models/accordion.model.mjs +2 -2
- package/esm2020/accordion/providers/accordion.service.mjs +5 -5
- package/esm2020/accordion/stepper/chocolate/stepper-oompa-loompa.mjs +5 -5
- package/esm2020/accordion/stepper/chocolate/stepper-willy-wonka.mjs +5 -5
- package/esm2020/accordion/stepper/index.mjs +2 -2
- package/esm2020/accordion/stepper/models/stepper.model.mjs +2 -2
- package/esm2020/accordion/stepper/providers/stepper.service.mjs +5 -5
- package/esm2020/accordion/stepper/step-button.mjs +5 -5
- package/esm2020/accordion/stepper/stepper-panel.mjs +5 -5
- package/esm2020/accordion/stepper/stepper.mjs +5 -5
- package/esm2020/accordion/stepper/stepper.module.mjs +6 -6
- package/esm2020/accordion/utils/animation.mjs +2 -2
- package/esm2020/button/button-group/button-group.mjs +20 -14
- package/esm2020/button/button-group/button-group.module.mjs +6 -6
- package/esm2020/button/button-group/button.mjs +5 -5
- package/esm2020/button/button-group/index.mjs +2 -2
- package/esm2020/button/button-loading/index.mjs +2 -2
- package/esm2020/button/button-loading/loading-button.mjs +3 -3
- package/esm2020/button/button-loading/loading-button.module.mjs +6 -6
- package/esm2020/button/button.module.mjs +6 -6
- package/esm2020/button/index.mjs +2 -2
- package/esm2020/button/providers/button-in-group.service.mjs +5 -5
- package/esm2020/clr-angular.module.mjs +10 -6
- package/esm2020/data/data.module.mjs +6 -6
- package/esm2020/data/datagrid/built-in/comparators/datagrid-property-comparator.mjs +6 -1
- package/esm2020/data/datagrid/built-in/filters/datagrid-numeric-filter-impl.mjs +2 -2
- package/esm2020/data/datagrid/built-in/filters/datagrid-numeric-filter.mjs +39 -18
- package/esm2020/data/datagrid/built-in/filters/datagrid-property-numeric-filter.mjs +6 -1
- package/esm2020/data/datagrid/built-in/filters/datagrid-property-string-filter.mjs +6 -1
- package/esm2020/data/datagrid/built-in/filters/datagrid-string-filter-impl.mjs +2 -2
- package/esm2020/data/datagrid/built-in/filters/datagrid-string-filter.mjs +29 -15
- package/esm2020/data/datagrid/built-in/nested-property.mjs +2 -2
- package/esm2020/data/datagrid/chocolate/actionable-oompa-loompa.mjs +5 -5
- package/esm2020/data/datagrid/chocolate/datagrid-willy-wonka.mjs +5 -5
- package/esm2020/data/datagrid/chocolate/expandable-oompa-loompa.mjs +5 -5
- package/esm2020/data/datagrid/datagrid-action-bar.mjs +5 -5
- package/esm2020/data/datagrid/datagrid-action-overflow.mjs +5 -5
- package/esm2020/data/datagrid/datagrid-cell.mjs +5 -5
- package/esm2020/data/datagrid/datagrid-column-separator.mjs +5 -5
- package/esm2020/data/datagrid/datagrid-column-toggle-button.mjs +5 -5
- package/esm2020/data/datagrid/datagrid-column-toggle-title.mjs +5 -5
- package/esm2020/data/datagrid/datagrid-column-toggle.mjs +39 -27
- package/esm2020/data/datagrid/datagrid-column.mjs +31 -6
- package/esm2020/data/datagrid/datagrid-detail-body.mjs +5 -5
- package/esm2020/data/datagrid/datagrid-detail-header.mjs +5 -5
- package/esm2020/data/datagrid/datagrid-detail-registerer.mjs +5 -5
- package/esm2020/data/datagrid/datagrid-detail.mjs +5 -5
- package/esm2020/data/datagrid/datagrid-filter.mjs +5 -5
- package/esm2020/data/datagrid/datagrid-footer.mjs +17 -13
- package/esm2020/data/datagrid/datagrid-hideable-column.mjs +5 -5
- package/esm2020/data/datagrid/datagrid-if-detail.mjs +5 -5
- package/esm2020/data/datagrid/datagrid-if-expanded.service.mjs +5 -5
- package/esm2020/data/datagrid/datagrid-items-trackby.mjs +5 -5
- package/esm2020/data/datagrid/datagrid-items.mjs +5 -5
- package/esm2020/data/datagrid/datagrid-page-size.mjs +5 -5
- package/esm2020/data/datagrid/datagrid-pagination.mjs +17 -5
- package/esm2020/data/datagrid/datagrid-placeholder.mjs +5 -5
- package/esm2020/data/datagrid/datagrid-row-detail.mjs +4 -4
- package/esm2020/data/datagrid/datagrid-row.mjs +16 -7
- package/esm2020/data/datagrid/datagrid.mjs +5 -5
- package/esm2020/data/datagrid/datagrid.module.mjs +6 -6
- package/esm2020/data/datagrid/enums/column-changes.enum.mjs +2 -2
- package/esm2020/data/datagrid/enums/display-mode.enum.mjs +2 -2
- package/esm2020/data/datagrid/enums/render-step.enum.mjs +2 -2
- package/esm2020/data/datagrid/enums/selection-type.mjs +2 -2
- package/esm2020/data/datagrid/enums/sort-order.enum.mjs +2 -2
- package/esm2020/data/datagrid/index.mjs +2 -2
- package/esm2020/data/datagrid/interfaces/column-state.interface.mjs +6 -1
- package/esm2020/data/datagrid/interfaces/comparator.interface.mjs +6 -1
- package/esm2020/data/datagrid/interfaces/filter.interface.mjs +6 -1
- package/esm2020/data/datagrid/interfaces/numeric-filter.interface.mjs +6 -1
- package/esm2020/data/datagrid/interfaces/state.interface.mjs +6 -1
- package/esm2020/data/datagrid/interfaces/string-filter.interface.mjs +6 -1
- package/esm2020/data/datagrid/providers/column-resizer.service.mjs +5 -5
- package/esm2020/data/datagrid/providers/column-state.provider.mjs +2 -2
- package/esm2020/data/datagrid/providers/columns.service.mjs +5 -5
- package/esm2020/data/datagrid/providers/custom-filter.mjs +2 -2
- package/esm2020/data/datagrid/providers/detail.service.mjs +5 -5
- package/esm2020/data/datagrid/providers/display-mode.service.mjs +5 -5
- package/esm2020/data/datagrid/providers/filters.mjs +5 -5
- package/esm2020/data/datagrid/providers/global-expandable-rows.mjs +5 -5
- package/esm2020/data/datagrid/providers/items.mjs +5 -5
- package/esm2020/data/datagrid/providers/page.mjs +5 -5
- package/esm2020/data/datagrid/providers/row-action-service.mjs +5 -5
- package/esm2020/data/datagrid/providers/selection.mjs +5 -5
- package/esm2020/data/datagrid/providers/sort.mjs +5 -5
- package/esm2020/data/datagrid/providers/state-debouncer.provider.mjs +5 -5
- package/esm2020/data/datagrid/providers/state.provider.mjs +5 -5
- package/esm2020/data/datagrid/providers/table-size.service.mjs +5 -5
- package/esm2020/data/datagrid/render/cell-renderer.mjs +5 -5
- package/esm2020/data/datagrid/render/constants.mjs +2 -2
- package/esm2020/data/datagrid/render/header-renderer.mjs +5 -5
- package/esm2020/data/datagrid/render/main-renderer.mjs +12 -9
- package/esm2020/data/datagrid/render/noop-dom-adapter.mjs +5 -5
- package/esm2020/data/datagrid/render/render-organizer.mjs +5 -5
- package/esm2020/data/datagrid/render/row-renderer.mjs +5 -5
- package/esm2020/data/datagrid/utils/datagrid-filter-registrar.mjs +5 -5
- package/esm2020/data/datagrid/wrapped-cell.mjs +5 -5
- package/esm2020/data/datagrid/wrapped-column.mjs +5 -5
- package/esm2020/data/datagrid/wrapped-row.mjs +5 -5
- package/esm2020/data/index.mjs +2 -2
- package/esm2020/data/stack-view/index.mjs +2 -2
- package/esm2020/data/stack-view/stack-block.mjs +40 -17
- package/esm2020/data/stack-view/stack-content-input.mjs +5 -5
- package/esm2020/data/stack-view/stack-control.mjs +14 -4
- package/esm2020/data/stack-view/stack-header.mjs +5 -5
- package/esm2020/data/stack-view/stack-input.mjs +5 -5
- package/esm2020/data/stack-view/stack-select.mjs +5 -5
- package/esm2020/data/stack-view/stack-view-custom-tags.mjs +50 -7
- package/esm2020/data/stack-view/stack-view.mjs +5 -5
- package/esm2020/data/stack-view/stack-view.module.mjs +10 -7
- package/esm2020/data/tree-view/index.mjs +2 -2
- package/esm2020/data/tree-view/models/async-array.mjs +2 -2
- package/esm2020/data/tree-view/models/declarative-tree-node.model.mjs +2 -2
- package/esm2020/data/tree-view/models/recursive-tree-node.model.mjs +2 -2
- package/esm2020/data/tree-view/models/selected-state.enum.mjs +2 -2
- package/esm2020/data/tree-view/models/tree-node.model.mjs +2 -2
- package/esm2020/data/tree-view/recursive-children.mjs +5 -5
- package/esm2020/data/tree-view/recursive-for-of.mjs +5 -5
- package/esm2020/data/tree-view/tree-features.service.mjs +5 -5
- package/esm2020/data/tree-view/tree-focus-manager.service.mjs +73 -5
- package/esm2020/data/tree-view/tree-node-link.mjs +5 -5
- package/esm2020/data/tree-view/tree-node.mjs +74 -26
- package/esm2020/data/tree-view/tree-view.module.mjs +6 -6
- package/esm2020/data/tree-view/tree.mjs +5 -5
- package/esm2020/emphasis/alert/alert-item.mjs +3 -3
- package/esm2020/emphasis/alert/alert-text.mjs +5 -5
- package/esm2020/emphasis/alert/alert.mjs +4 -4
- package/esm2020/emphasis/alert/alert.module.mjs +6 -6
- package/esm2020/emphasis/alert/alerts-pager.mjs +5 -5
- package/esm2020/emphasis/alert/alerts.mjs +5 -5
- package/esm2020/emphasis/alert/index.mjs +2 -2
- package/esm2020/emphasis/alert/providers/icon-and-types.service.mjs +5 -5
- package/esm2020/emphasis/alert/providers/multi-alert.service.mjs +4 -4
- package/esm2020/emphasis/alert/utils/alert-info-object.mjs +2 -2
- package/esm2020/emphasis/alert/utils/alert-types.mjs +2 -2
- package/esm2020/emphasis/emphasis.module.mjs +6 -6
- package/esm2020/emphasis/index.mjs +2 -2
- package/esm2020/forms/checkbox/checkbox-container.mjs +6 -6
- package/esm2020/forms/checkbox/checkbox-wrapper.mjs +6 -6
- package/esm2020/forms/checkbox/checkbox.mjs +6 -6
- package/esm2020/forms/checkbox/checkbox.module.mjs +7 -7
- package/esm2020/forms/checkbox/index.mjs +2 -2
- package/esm2020/forms/combobox/combobox-container.mjs +6 -6
- package/esm2020/forms/combobox/combobox.mjs +6 -9
- package/esm2020/forms/combobox/combobox.module.mjs +7 -7
- package/esm2020/forms/combobox/index.mjs +2 -2
- package/esm2020/forms/combobox/model/combobox.model.mjs +3 -3
- package/esm2020/forms/combobox/model/multi-select-combobox.model.mjs +3 -3
- package/esm2020/forms/combobox/model/pseudo-focus.model.mjs +3 -3
- package/esm2020/forms/combobox/model/single-select-combobox.model.mjs +3 -3
- package/esm2020/forms/combobox/option-items.directive.mjs +5 -5
- package/esm2020/forms/combobox/option-selected.directive.mjs +5 -5
- package/esm2020/forms/combobox/option.mjs +6 -6
- package/esm2020/forms/combobox/options.mjs +6 -6
- package/esm2020/forms/combobox/providers/combobox-container.service.mjs +5 -5
- package/esm2020/forms/combobox/providers/combobox-focus-handler.service.mjs +5 -5
- package/esm2020/forms/combobox/providers/option-selection.service.mjs +5 -5
- package/esm2020/forms/common/abstract-container.mjs +6 -6
- package/esm2020/forms/common/abstract-control.mjs +6 -6
- package/esm2020/forms/common/common.module.mjs +7 -7
- package/esm2020/forms/common/control-container.mjs +6 -6
- package/esm2020/forms/common/control.mjs +5 -5
- package/esm2020/forms/common/error.mjs +6 -6
- package/esm2020/forms/common/form.mjs +6 -6
- package/esm2020/forms/common/helper.mjs +6 -6
- package/esm2020/forms/common/if-control-state/abstract-if-state.mjs +5 -5
- package/esm2020/forms/common/if-control-state/if-control-state.service.mjs +5 -5
- package/esm2020/forms/common/if-control-state/if-error.mjs +5 -5
- package/esm2020/forms/common/if-control-state/if-success.mjs +5 -5
- package/esm2020/forms/common/index.mjs +2 -2
- package/esm2020/forms/common/label.mjs +5 -5
- package/esm2020/forms/common/layout.mjs +6 -6
- package/esm2020/forms/common/providers/container-id.service.mjs +9 -4
- package/esm2020/forms/common/providers/control-class.service.mjs +5 -5
- package/esm2020/forms/common/providers/control-id.service.mjs +5 -5
- package/esm2020/forms/common/providers/focus.service.mjs +5 -5
- package/esm2020/forms/common/providers/layout.service.mjs +5 -5
- package/esm2020/forms/common/providers/mark-control.service.mjs +5 -5
- package/esm2020/forms/common/providers/ng-control.service.mjs +5 -5
- package/esm2020/forms/common/success.mjs +6 -6
- package/esm2020/forms/common/wrapped-control.mjs +6 -6
- package/esm2020/forms/datalist/datalist-container.mjs +6 -6
- package/esm2020/forms/datalist/datalist-input.mjs +6 -6
- package/esm2020/forms/datalist/datalist.mjs +5 -5
- package/esm2020/forms/datalist/datalist.module.mjs +6 -6
- package/esm2020/forms/datalist/index.mjs +2 -2
- package/esm2020/forms/datalist/providers/datalist-id.service.mjs +5 -5
- package/esm2020/forms/datepicker/calendar.mjs +6 -6
- package/esm2020/forms/datepicker/date-container.mjs +55 -28
- package/esm2020/forms/datepicker/date-input.mjs +5 -5
- package/esm2020/forms/datepicker/datepicker-view-manager.mjs +16 -12
- package/esm2020/forms/datepicker/datepicker.module.mjs +6 -6
- package/esm2020/forms/datepicker/day.mjs +7 -5
- package/esm2020/forms/datepicker/daypicker.mjs +5 -5
- package/esm2020/forms/datepicker/index.mjs +2 -2
- package/esm2020/forms/datepicker/interfaces/date-range.interface.mjs +2 -2
- package/esm2020/forms/datepicker/interfaces/day-of-week.interface.mjs +2 -2
- package/esm2020/forms/datepicker/model/calendar-view.model.mjs +2 -2
- package/esm2020/forms/datepicker/model/calendar.model.mjs +2 -2
- package/esm2020/forms/datepicker/model/day-view.model.mjs +2 -2
- package/esm2020/forms/datepicker/model/day.model.mjs +2 -2
- package/esm2020/forms/datepicker/model/year-range.model.mjs +2 -2
- package/esm2020/forms/datepicker/monthpicker.mjs +5 -5
- package/esm2020/forms/datepicker/providers/date-form-control.service.mjs +5 -5
- package/esm2020/forms/datepicker/providers/date-io.service.mjs +5 -5
- package/esm2020/forms/datepicker/providers/date-navigation.service.mjs +5 -5
- package/esm2020/forms/datepicker/providers/datepicker-enabled.service.mjs +5 -5
- package/esm2020/forms/datepicker/providers/datepicker-focus.service.mjs +5 -5
- package/esm2020/forms/datepicker/providers/locale-helper.service.mjs +5 -5
- package/esm2020/forms/datepicker/providers/view-manager.service.mjs +5 -5
- package/esm2020/forms/datepicker/utils/constants.mjs +2 -2
- package/esm2020/forms/datepicker/utils/date-utils.mjs +2 -2
- package/esm2020/forms/datepicker/yearpicker.mjs +5 -5
- package/esm2020/forms/forms.module.mjs +6 -6
- package/esm2020/forms/index.mjs +2 -2
- package/esm2020/forms/input/index.mjs +2 -2
- package/esm2020/forms/input/input-container.mjs +6 -6
- package/esm2020/forms/input/input.mjs +6 -6
- package/esm2020/forms/input/input.module.mjs +7 -7
- package/esm2020/forms/password/index.mjs +2 -2
- package/esm2020/forms/password/password-container.mjs +5 -5
- package/esm2020/forms/password/password.mjs +6 -6
- package/esm2020/forms/password/password.module.mjs +7 -7
- package/esm2020/forms/radio/index.mjs +2 -2
- package/esm2020/forms/radio/radio-container.mjs +6 -6
- package/esm2020/forms/radio/radio-wrapper.mjs +6 -6
- package/esm2020/forms/radio/radio.mjs +6 -6
- package/esm2020/forms/radio/radio.module.mjs +7 -7
- package/esm2020/forms/range/index.mjs +2 -2
- package/esm2020/forms/range/range-container.mjs +6 -6
- package/esm2020/forms/range/range.mjs +6 -6
- package/esm2020/forms/range/range.module.mjs +7 -7
- package/esm2020/forms/select/index.mjs +2 -2
- package/esm2020/forms/select/select-container.mjs +6 -6
- package/esm2020/forms/select/select.mjs +6 -6
- package/esm2020/forms/select/select.module.mjs +7 -7
- package/esm2020/forms/textarea/index.mjs +2 -2
- package/esm2020/forms/textarea/textarea-container.mjs +6 -6
- package/esm2020/forms/textarea/textarea.mjs +6 -6
- package/esm2020/forms/textarea/textarea.module.mjs +7 -7
- package/esm2020/icon/icon.mjs +8 -8
- package/esm2020/icon/icon.module.mjs +6 -6
- package/esm2020/icon/index.mjs +2 -2
- package/esm2020/index.mjs +2 -2
- package/esm2020/layout/index.mjs +2 -2
- package/esm2020/layout/layout.module.mjs +6 -6
- package/esm2020/layout/main-container/index.mjs +2 -2
- package/esm2020/layout/main-container/main-container.mjs +5 -5
- package/esm2020/layout/main-container/main-container.module.mjs +6 -6
- package/esm2020/layout/nav/aria-current-link.mjs +28 -0
- package/esm2020/layout/nav/chocolate/index.mjs +2 -2
- package/esm2020/layout/nav/chocolate/main-container-willy-wonka.mjs +5 -5
- package/esm2020/layout/nav/chocolate/nav-detection-oompa-loompa.mjs +5 -5
- package/esm2020/layout/nav/header.mjs +32 -11
- package/esm2020/layout/nav/index.mjs +3 -2
- package/esm2020/layout/nav/nav-level.mjs +111 -9
- package/esm2020/layout/nav/navigation.module.mjs +10 -6
- package/esm2020/layout/nav/providers/responsive-navigation.service.mjs +5 -5
- package/esm2020/layout/nav/responsive-nav-codes.mjs +2 -2
- package/esm2020/layout/nav/responsive-nav-control-message.mjs +2 -2
- package/esm2020/layout/tabs/chocolate/active-oompa-loompa.mjs +5 -5
- package/esm2020/layout/tabs/chocolate/tabs-willy-wonka.mjs +5 -5
- package/esm2020/layout/tabs/enums/tabs-layout.enum.mjs +2 -2
- package/esm2020/layout/tabs/index.mjs +2 -2
- package/esm2020/layout/tabs/providers/tabs.service.mjs +5 -5
- package/esm2020/layout/tabs/tab-content.mjs +5 -7
- package/esm2020/layout/tabs/tab-link.directive.mjs +5 -6
- package/esm2020/layout/tabs/tab-overflow-content.mjs +5 -5
- package/esm2020/layout/tabs/tab.mjs +5 -5
- package/esm2020/layout/tabs/tabs-id.provider.mjs +2 -2
- package/esm2020/layout/tabs/tabs.mjs +5 -5
- package/esm2020/layout/tabs/tabs.module.mjs +6 -6
- package/esm2020/layout/vertical-nav/index.mjs +2 -2
- package/esm2020/layout/vertical-nav/providers/vertical-nav-group-registration.service.mjs +5 -5
- package/esm2020/layout/vertical-nav/providers/vertical-nav-group.service.mjs +5 -5
- package/esm2020/layout/vertical-nav/providers/vertical-nav-icon.service.mjs +5 -5
- package/esm2020/layout/vertical-nav/providers/vertical-nav.service.mjs +5 -5
- package/esm2020/layout/vertical-nav/vertical-nav-group-children.mjs +5 -5
- package/esm2020/layout/vertical-nav/vertical-nav-group.mjs +5 -5
- package/esm2020/layout/vertical-nav/vertical-nav-icon.mjs +5 -5
- package/esm2020/layout/vertical-nav/vertical-nav-link.mjs +27 -17
- package/esm2020/layout/vertical-nav/vertical-nav.mjs +5 -5
- package/esm2020/layout/vertical-nav/vertical-nav.module.mjs +6 -6
- package/esm2020/modal/index.mjs +2 -2
- package/esm2020/modal/modal-body.mjs +8 -5
- package/esm2020/modal/modal.mjs +11 -7
- package/esm2020/modal/modal.module.mjs +6 -6
- package/esm2020/popover/common/abstract-popover.mjs +18 -9
- package/esm2020/popover/common/popover-host-anchor.token.mjs +2 -2
- package/esm2020/popover/common/popover-options.interface.mjs +2 -2
- package/esm2020/popover/common/popover.mjs +2 -2
- package/esm2020/popover/dropdown/dropdown-item.mjs +5 -5
- package/esm2020/popover/dropdown/dropdown-menu.mjs +5 -5
- package/esm2020/popover/dropdown/dropdown-trigger.mjs +5 -5
- package/esm2020/popover/dropdown/dropdown.mjs +5 -5
- package/esm2020/popover/dropdown/dropdown.module.mjs +6 -6
- package/esm2020/popover/dropdown/index.mjs +2 -2
- package/esm2020/popover/dropdown/menu-positions.mjs +2 -2
- package/esm2020/popover/dropdown/providers/dropdown-focus-handler.service.mjs +9 -7
- package/esm2020/popover/dropdown/providers/dropdown.service.mjs +5 -5
- package/esm2020/popover/index.mjs +2 -2
- package/esm2020/popover/popover.module.mjs +6 -6
- package/esm2020/popover/signpost/index.mjs +2 -2
- package/esm2020/popover/signpost/providers/signpost-focus-manager.service.mjs +5 -5
- package/esm2020/popover/signpost/providers/signpost-id.service.mjs +5 -6
- package/esm2020/popover/signpost/signpost-content.mjs +6 -5
- package/esm2020/popover/signpost/signpost-positions.mjs +2 -2
- package/esm2020/popover/signpost/signpost-trigger.mjs +5 -5
- package/esm2020/popover/signpost/signpost.mjs +5 -5
- package/esm2020/popover/signpost/signpost.module.mjs +6 -6
- package/esm2020/popover/tooltip/index.mjs +2 -2
- package/esm2020/popover/tooltip/providers/tooltip-id.service.mjs +5 -5
- package/esm2020/popover/tooltip/tooltip-content.mjs +5 -5
- package/esm2020/popover/tooltip/tooltip-trigger.mjs +5 -5
- package/esm2020/popover/tooltip/tooltip.mjs +5 -5
- package/esm2020/popover/tooltip/tooltip.module.mjs +6 -6
- package/esm2020/progress/progress-bars/index.mjs +2 -2
- package/esm2020/progress/progress-bars/progress-bar.mjs +5 -5
- package/esm2020/progress/progress-bars/progress-bar.module.mjs +6 -6
- package/esm2020/progress/spinner/index.mjs +2 -2
- package/esm2020/progress/spinner/spinner.mjs +5 -5
- package/esm2020/progress/spinner/spinner.module.mjs +6 -6
- package/esm2020/public-api.mjs +2 -2
- package/esm2020/timeline/enums/timeline-layout.enum.mjs +2 -2
- package/esm2020/timeline/enums/timeline-step-state.enum.mjs +2 -2
- package/esm2020/timeline/index.mjs +2 -2
- package/esm2020/timeline/interface/icon-attribute.interface.mjs +2 -2
- package/esm2020/timeline/providers/timeline-icon-attribute.service.mjs +5 -5
- package/esm2020/timeline/timeline-step-description.mjs +5 -5
- package/esm2020/timeline/timeline-step-header.mjs +5 -5
- package/esm2020/timeline/timeline-step-title.mjs +5 -5
- package/esm2020/timeline/timeline-step.mjs +7 -19
- package/esm2020/timeline/timeline.mjs +5 -5
- package/esm2020/timeline/timeline.module.mjs +6 -6
- package/esm2020/utils/a11y/aria-live.service.mjs +5 -5
- package/esm2020/utils/a11y/index.mjs +2 -2
- package/esm2020/utils/animations/collapse/collapse.mjs +2 -2
- package/esm2020/utils/animations/collapse/index.mjs +2 -2
- package/esm2020/utils/animations/constants.mjs +2 -2
- package/esm2020/utils/animations/expandable-animation/expandable-animation.mjs +5 -5
- package/esm2020/utils/animations/expandable-animation/expandable-animation.module.mjs +6 -6
- package/esm2020/utils/animations/expandable-animation/index.mjs +6 -1
- package/esm2020/utils/animations/fade/fade.mjs +2 -2
- package/esm2020/utils/animations/fade/index.mjs +2 -2
- package/esm2020/utils/animations/fade-slide/fade-slide.mjs +2 -2
- package/esm2020/utils/animations/fade-slide/index.mjs +2 -2
- package/esm2020/utils/animations/index.mjs +2 -2
- package/esm2020/utils/animations/slide/index.mjs +2 -2
- package/esm2020/utils/animations/slide/slide.mjs +2 -2
- package/esm2020/utils/aria/aria.service.mjs +5 -5
- package/esm2020/utils/breakpoints/breakpoints.mjs +16 -2
- package/esm2020/utils/chocolate/oompa-loompa.mjs +5 -5
- package/esm2020/utils/chocolate/willy-wonka.mjs +5 -5
- package/esm2020/utils/component/is-boolean-attribute-set.mjs +2 -2
- package/esm2020/utils/conditional/conditional.module.mjs +6 -6
- package/esm2020/utils/conditional/if-active.directive.mjs +5 -5
- package/esm2020/utils/conditional/if-active.service.mjs +5 -5
- package/esm2020/utils/conditional/if-expanded.directive.mjs +5 -5
- package/esm2020/utils/conditional/if-expanded.service.mjs +5 -5
- package/esm2020/utils/conditional/if-open.directive.mjs +5 -5
- package/esm2020/utils/conditional/index.mjs +2 -2
- package/esm2020/utils/destroy/destroy.service.mjs +44 -0
- package/esm2020/utils/destroy/index.mjs +7 -0
- package/esm2020/utils/dom-adapter/dom-adapter.mjs +5 -5
- package/esm2020/utils/drag-and-drop/drag-and-drop.module.mjs +6 -6
- package/esm2020/utils/drag-and-drop/drag-event.mjs +6 -1
- package/esm2020/utils/drag-and-drop/drag-handle.mjs +5 -5
- package/esm2020/utils/drag-and-drop/draggable/draggable.mjs +5 -5
- package/esm2020/utils/drag-and-drop/draggable-ghost.mjs +5 -5
- package/esm2020/utils/drag-and-drop/droppable/droppable.mjs +5 -5
- package/esm2020/utils/drag-and-drop/if-dragged.mjs +5 -5
- package/esm2020/utils/drag-and-drop/index.mjs +2 -2
- package/esm2020/utils/drag-and-drop/interfaces/drag-event.interface.mjs +2 -2
- package/esm2020/utils/drag-and-drop/interfaces/drop-tolerance.interface.mjs +6 -1
- package/esm2020/utils/drag-and-drop/providers/drag-and-drop-event-bus.service.mjs +5 -5
- package/esm2020/utils/drag-and-drop/providers/drag-event-listener.service.mjs +12 -12
- package/esm2020/utils/drag-and-drop/providers/drag-handle-registrar.service.mjs +5 -5
- package/esm2020/utils/drag-and-drop/providers/draggable-snapshot.service.mjs +5 -5
- package/esm2020/utils/drag-and-drop/providers/global-drag-mode.service.mjs +5 -5
- package/esm2020/utils/enums/key-codes.enum.mjs +3 -2
- package/esm2020/utils/focus/arrow-key-direction.enum.mjs +2 -2
- package/esm2020/utils/focus/focus-on-view-init/focus-on-view-init.mjs +23 -18
- package/esm2020/utils/focus/focus-on-view-init/focus-on-view-init.module.mjs +6 -6
- package/esm2020/utils/focus/focus-on-view-init/focus-on-view-init.provider.mjs +2 -2
- package/esm2020/utils/focus/focus-on-view-init/index.mjs +2 -2
- package/esm2020/utils/focus/focus.service.mjs +5 -5
- package/esm2020/utils/focus/focusable-item/basic-focusable-item.service.mjs +5 -5
- package/esm2020/utils/focus/focusable-item/custom-focusable-item-provider.mjs +2 -2
- package/esm2020/utils/focus/focusable-item/focusable-item.mjs +2 -2
- package/esm2020/utils/focus/focusable-item/linkers.mjs +2 -2
- package/esm2020/utils/focus/key-focus/enums/focus-direction.enum.mjs +2 -2
- package/esm2020/utils/focus/key-focus/interfaces.mjs +2 -2
- package/esm2020/utils/focus/key-focus/key-focus-item.mjs +5 -5
- package/esm2020/utils/focus/key-focus/key-focus.mjs +5 -5
- package/esm2020/utils/focus/key-focus/key-focus.module.mjs +6 -6
- package/esm2020/utils/focus/key-focus/roving-tabindex.mjs +5 -5
- package/esm2020/utils/focus/key-focus/util.mjs +7 -2
- package/esm2020/utils/focus/wrap-observable.mjs +2 -2
- package/esm2020/utils/focus-trap/focus-trap-config.interface.mjs +2 -2
- package/esm2020/utils/focus-trap/focus-trap-tracker.service.mjs +5 -5
- package/esm2020/utils/focus-trap/focus-trap.directive.mjs +5 -5
- package/esm2020/utils/focus-trap/focus-trap.mjs +141 -0
- package/esm2020/utils/focus-trap/focus-trap.module.mjs +6 -6
- package/esm2020/utils/focus-trap/index.mjs +2 -2
- package/esm2020/utils/for-type-ahead/for-type-ahead.mjs +54 -0
- package/esm2020/utils/for-type-ahead/for-type-ahead.module.mjs +23 -0
- package/esm2020/utils/for-type-ahead/for-type-ahead.service.mjs +29 -0
- package/esm2020/utils/for-type-ahead/index.mjs +8 -0
- package/esm2020/utils/forms/validation.mjs +2 -2
- package/esm2020/utils/host-wrapping/dynamic-wrapper.mjs +3 -3
- package/esm2020/utils/host-wrapping/empty-anchor.mjs +6 -6
- package/esm2020/utils/host-wrapping/host-wrapper.mjs +3 -3
- package/esm2020/utils/host-wrapping/host-wrapping.module.mjs +7 -7
- package/esm2020/utils/i18n/common-strings.default.mjs +12 -5
- package/esm2020/utils/i18n/common-strings.interface.mjs +6 -1
- package/esm2020/utils/i18n/common-strings.service.mjs +5 -5
- package/esm2020/utils/i18n/index.mjs +2 -2
- package/esm2020/utils/id-generator/id-generator.service.mjs +2 -2
- package/esm2020/utils/index.mjs +4 -2
- package/esm2020/utils/key-codes/key-codes.mjs +2 -2
- package/esm2020/utils/loading/index.mjs +2 -2
- package/esm2020/utils/loading/loading-listener.mjs +2 -2
- package/esm2020/utils/loading/loading.mjs +5 -5
- package/esm2020/utils/loading/loading.module.mjs +6 -6
- package/esm2020/utils/outside-click/index.mjs +6 -1
- package/esm2020/utils/outside-click/outside-click.mjs +5 -5
- package/esm2020/utils/outside-click/outside-click.module.mjs +6 -6
- package/esm2020/utils/popover/enums/alignment.enum.mjs +2 -3
- package/esm2020/utils/popover/enums/axis.enum.mjs +2 -3
- package/esm2020/utils/popover/enums/positions.enum.mjs +2 -3
- package/esm2020/utils/popover/enums/side.enum.mjs +2 -3
- package/esm2020/utils/popover/enums/viewport-violation.enum.mjs +2 -3
- package/esm2020/utils/popover/index.mjs +2 -3
- package/esm2020/utils/popover/interfaces/popover-content-offset.interface.mjs +2 -3
- package/esm2020/utils/popover/interfaces/popover-position.interface.mjs +2 -3
- package/esm2020/utils/popover/interfaces/visibility-coords.interface.mjs +2 -3
- package/esm2020/utils/popover/popover-anchor.mjs +5 -6
- package/esm2020/utils/popover/popover-close-button.mjs +5 -6
- package/esm2020/utils/popover/popover-content.mjs +18 -13
- package/esm2020/utils/popover/popover-open-close-button.mjs +5 -6
- package/esm2020/utils/popover/popover.module.mjs +6 -7
- package/esm2020/utils/popover/position-operators.mjs +2 -3
- package/esm2020/utils/popover/providers/popover-events.service.mjs +5 -6
- package/esm2020/utils/popover/providers/popover-position.service.mjs +12 -7
- package/esm2020/utils/popover/providers/popover-toggle.service.mjs +5 -6
- package/esm2020/utils/scrolling/scrolling-service.mjs +5 -5
- package/esm2020/utils/template-ref/index.mjs +6 -1
- package/esm2020/utils/template-ref/template-ref-container.mjs +5 -5
- package/esm2020/utils/template-ref/template-ref.module.mjs +6 -6
- package/esm2020/wizard/index.mjs +2 -2
- package/esm2020/wizard/providers/button-hub.service.mjs +5 -5
- package/esm2020/wizard/providers/header-actions.service.mjs +5 -5
- package/esm2020/wizard/providers/page-collection.service.mjs +5 -5
- package/esm2020/wizard/providers/wizard-navigation.service.mjs +3 -3
- package/esm2020/wizard/wizard-button.mjs +5 -5
- package/esm2020/wizard/wizard-custom-tags.mjs +5 -5
- package/esm2020/wizard/wizard-header-action.mjs +5 -5
- package/esm2020/wizard/wizard-page-buttons.mjs +5 -5
- package/esm2020/wizard/wizard-page-header-actions.mjs +5 -5
- package/esm2020/wizard/wizard-page-navtitle.mjs +5 -5
- package/esm2020/wizard/wizard-page-title.mjs +5 -5
- package/esm2020/wizard/wizard-page.mjs +3 -3
- package/esm2020/wizard/wizard-stepnav-item.mjs +3 -3
- package/esm2020/wizard/wizard-stepnav.mjs +5 -5
- package/esm2020/wizard/wizard.mjs +27 -10
- package/esm2020/wizard/wizard.module.mjs +6 -6
- package/fesm2015/clr-angular.mjs +3415 -2564
- package/fesm2015/clr-angular.mjs.map +1 -1
- package/fesm2020/clr-angular.mjs +3402 -2516
- package/fesm2020/clr-angular.mjs.map +1 -1
- package/forms/checkbox/checkbox-container.d.ts +0 -5
- package/forms/checkbox/checkbox-wrapper.d.ts +0 -5
- package/forms/checkbox/checkbox.d.ts +0 -5
- package/forms/combobox/combobox-container.d.ts +0 -5
- package/forms/combobox/combobox.d.ts +0 -1
- package/forms/combobox/model/combobox.model.d.ts +0 -5
- package/forms/combobox/model/multi-select-combobox.model.d.ts +0 -5
- package/forms/combobox/model/pseudo-focus.model.d.ts +0 -5
- package/forms/combobox/model/single-select-combobox.model.d.ts +0 -5
- package/forms/combobox/option.d.ts +0 -5
- package/forms/combobox/options.d.ts +0 -5
- package/forms/common/abstract-container.d.ts +0 -5
- package/forms/common/form.d.ts +0 -5
- package/forms/common/layout.d.ts +0 -5
- package/forms/common/wrapped-control.d.ts +0 -5
- package/forms/datalist/datalist-input.d.ts +0 -5
- package/forms/datepicker/date-container.d.ts +12 -3
- package/forms/datepicker/datepicker-view-manager.d.ts +3 -1
- package/forms/input/input.d.ts +0 -5
- package/forms/password/password-container.d.ts +0 -5
- package/forms/password/password.d.ts +0 -5
- package/forms/radio/radio-container.d.ts +0 -5
- package/forms/radio/radio-wrapper.d.ts +0 -5
- package/forms/radio/radio.d.ts +0 -5
- package/forms/range/range-container.d.ts +0 -5
- package/forms/range/range.d.ts +0 -5
- package/forms/select/select.d.ts +0 -5
- package/forms/textarea/textarea.d.ts +0 -5
- package/layout/nav/aria-current-link.d.ts +13 -0
- package/layout/nav/header.d.ts +6 -0
- package/layout/nav/index.d.ts +1 -0
- package/layout/nav/nav-level.d.ts +16 -4
- package/layout/nav/navigation.module.d.ts +7 -6
- package/layout/vertical-nav/vertical-nav-link.d.ts +6 -5
- package/modal/modal-body.d.ts +1 -0
- package/modal/modal.d.ts +2 -1
- package/package.json +7 -17
- package/popover/common/abstract-popover.d.ts +3 -1
- package/popover/dropdown/providers/dropdown-focus-handler.service.d.ts +2 -2
- package/utils/breakpoints/breakpoints.d.ts +14 -0
- package/utils/destroy/destroy.service.d.ts +32 -0
- package/utils/destroy/index.d.ts +1 -0
- package/utils/enums/key-codes.enum.d.ts +1 -0
- package/utils/focus/focus-on-view-init/focus-on-view-init.d.ts +5 -4
- package/utils/focus/key-focus/util.d.ts +1 -0
- package/utils/focus-trap/focus-trap.d.ts +29 -0
- package/utils/for-type-ahead/for-type-ahead.d.ts +15 -0
- package/utils/for-type-ahead/for-type-ahead.module.d.ts +8 -0
- package/utils/for-type-ahead/for-type-ahead.service.d.ts +11 -0
- package/utils/for-type-ahead/index.d.ts +2 -0
- package/utils/host-wrapping/dynamic-wrapper.d.ts +0 -5
- package/utils/host-wrapping/host-wrapper.d.ts +0 -5
- package/utils/i18n/common-strings.interface.d.ts +7 -0
- package/utils/index.d.ts +2 -0
- package/utils/popover/popover-content.d.ts +2 -1
- package/wizard/wizard.d.ts +2 -1
- package/schematics/add/index.js +0 -123
- package/schematics/add/index.js.map +0 -1
- package/schematics/add/index.spec.js +0 -114
- package/schematics/add/index.spec.js.map +0 -1
- package/schematics/add/schema.json +0 -18
- package/schematics/collection.json +0 -10
- package/schematics/migration-collection.json +0 -25
- package/schematics/update/update-0.13.0.js +0 -147
- package/schematics/update/update-0.13.0.js.map +0 -1
- package/schematics/update/update-13.0.0.js +0 -37
- package/schematics/update/update-13.0.0.js.map +0 -1
- package/schematics/update/update-13.0.0.spec.js +0 -71
- package/schematics/update/update-13.0.0.spec.js.map +0 -1
- package/schematics/update/update-3.0.0.js +0 -89
- package/schematics/update/update-3.0.0.js.map +0 -1
- package/schematics/update/update-5.0.0.js +0 -37
- package/schematics/update/update-5.0.0.js.map +0 -1
- package/schematics/update/update-5.0.0.spec.js +0 -71
- package/schematics/update/update-5.0.0.spec.js.map +0 -1
- package/schematics/utility/add-assets-to-config-file.js +0 -25
- package/schematics/utility/add-assets-to-config-file.js.map +0 -1
- package/schematics/utility/add-module-import-to-module.js +0 -36
- package/schematics/utility/add-module-import-to-module.js.map +0 -1
- package/schematics/utility/angular-config-filename.js +0 -10
- package/schematics/utility/angular-config-filename.js.map +0 -1
- package/schematics/utility/compare-versions.js +0 -30
- package/schematics/utility/compare-versions.js.map +0 -1
- package/schematics/utility/config.js +0 -32
- package/schematics/utility/config.js.map +0 -1
- package/schematics/utility/find-app-module.js +0 -17
- package/schematics/utility/find-app-module.js.map +0 -1
- package/schematics/utility/get-file-content.js +0 -12
- package/schematics/utility/get-file-content.js.map +0 -1
- package/schematics/utility/get-index-html-path.js +0 -14
- package/schematics/utility/get-index-html-path.js.map +0 -1
- package/schematics/utility/get-json-file.js +0 -25
- package/schematics/utility/get-json-file.js.map +0 -1
- package/schematics/utility/get-main-path.js +0 -14
- package/schematics/utility/get-main-path.js.map +0 -1
- package/schematics/utility/get-typescript-source-file.js +0 -26
- package/schematics/utility/get-typescript-source-file.js.map +0 -1
- package/schematics/utility/ng-add-options.js +0 -8
- package/schematics/utility/ng-add-options.js.map +0 -1
- package/schematics/utility/run-npm-install.js +0 -14
- package/schematics/utility/run-npm-install.js.map +0 -1
- package/schematics/utility/setup-project.js +0 -37
- package/schematics/utility/setup-project.js.map +0 -1
- package/schematics/utility/update-json-file.js +0 -17
- package/schematics/utility/update-json-file.js.map +0 -1
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
import { AfterContentInit, QueryList } from '@angular/core';
|
|
7
2
|
import { ControlClassService } from '../common/providers/control-class.service';
|
|
8
3
|
import { NgControlService } from '../common/providers/ng-control.service';
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
import { OnInit, InjectionToken, OnDestroy } from '@angular/core';
|
|
7
2
|
import { BehaviorSubject } from 'rxjs';
|
|
8
3
|
import { DynamicWrapper } from '../../utils/host-wrapping/dynamic-wrapper';
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
import { Renderer2, ElementRef, Injector, ViewContainerRef } from '@angular/core';
|
|
7
2
|
import { NgControl } from '@angular/forms';
|
|
8
3
|
import { ClrCheckboxWrapper } from './checkbox-wrapper';
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
import { ElementRef, AfterViewInit, AfterContentInit } from '@angular/core';
|
|
7
2
|
import { NgControlService } from '../common/providers/ng-control.service';
|
|
8
3
|
import { ControlClassService } from '../common/providers/control-class.service';
|
|
@@ -80,7 +80,6 @@ export declare class ClrCombobox<T> extends WrappedFormControl<ClrComboboxContai
|
|
|
80
80
|
private getDisplayNames;
|
|
81
81
|
ngAfterContentInit(): void;
|
|
82
82
|
ngAfterViewInit(): void;
|
|
83
|
-
ngOnDestroy(): void;
|
|
84
83
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrCombobox<any>, [null, null, { optional: true; self: true; }, null, null, null, null, null, null, { optional: true; }, { optional: true; }, null, null, null, null]>;
|
|
85
84
|
static ɵcmp: i0.ɵɵComponentDeclaration<ClrCombobox<any>, "clr-combobox", never, { "placeholder": "placeholder"; "multiSelect": "clrMulti"; }, { "clrInputChange": "clrInputChange"; "clrOpenChange": "clrOpenChange"; "clrSelectionChange": "clrSelectionChange"; }, ["optionSelected"], ["*"]>;
|
|
86
85
|
}
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
export declare abstract class ComboboxModel<T> {
|
|
7
2
|
model: T | T[];
|
|
8
3
|
abstract containsItem(item: T): boolean;
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
import { ComboboxModel } from './combobox.model';
|
|
7
2
|
export declare class MultiSelectComboboxModel<T> implements ComboboxModel<T> {
|
|
8
3
|
model: T[];
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
import { SingleSelectComboboxModel } from './single-select-combobox.model';
|
|
7
2
|
import { Observable } from 'rxjs';
|
|
8
3
|
export declare class PseudoFocusModel<T> extends SingleSelectComboboxModel<T> {
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
import { ComboboxModel } from './combobox.model';
|
|
7
2
|
export declare class SingleSelectComboboxModel<T> implements ComboboxModel<T> {
|
|
8
3
|
model: T;
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
import { ElementRef, OnInit } from '@angular/core';
|
|
7
2
|
import { OptionSelectionService } from './providers/option-selection.service';
|
|
8
3
|
import { ComboboxFocusHandler, OptionData as OptionProxy } from './providers/combobox-focus-handler.service';
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
import { ElementRef, QueryList, AfterViewInit, OnDestroy } from '@angular/core';
|
|
7
2
|
import { OptionSelectionService } from './providers/option-selection.service';
|
|
8
3
|
import { AriaService } from '../../utils/aria/aria.service';
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
import { AfterContentInit, OnDestroy } from '@angular/core';
|
|
7
2
|
import { NgControl } from '@angular/forms';
|
|
8
3
|
import { NgControlService } from './providers/ng-control.service';
|
package/forms/common/form.d.ts
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
import { QueryList } from '@angular/core';
|
|
7
2
|
import { LayoutService } from './providers/layout.service';
|
|
8
3
|
import { MarkControlService } from './providers/mark-control.service';
|
package/forms/common/layout.d.ts
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
import { OnInit } from '@angular/core';
|
|
7
2
|
import { ClrFormLayout, LayoutService } from './providers/layout.service';
|
|
8
3
|
import * as i0 from "@angular/core";
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
import { InjectionToken, Injector, OnInit, Type, ViewContainerRef, Renderer2, ElementRef, OnDestroy } from '@angular/core';
|
|
7
2
|
import { Subscription } from 'rxjs';
|
|
8
3
|
import { DynamicWrapper } from '../../utils/host-wrapping/dynamic-wrapper';
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
import { ViewContainerRef, Injector, Renderer2, ElementRef, AfterContentInit } from '@angular/core';
|
|
7
2
|
import { WrappedFormControl } from '../common/wrapped-control';
|
|
8
3
|
import { ClrDatalistContainer } from './datalist-container';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { ElementRef, AfterViewInit } from '@angular/core';
|
|
1
|
+
import { ElementRef, AfterViewInit, Renderer2 } from '@angular/core';
|
|
2
2
|
import { ClrPopoverToggleService } from '../../utils/popover/providers/popover-toggle.service';
|
|
3
3
|
import { ControlClassService } from '../common/providers/control-class.service';
|
|
4
4
|
import { FocusService } from '../common/providers/focus.service';
|
|
5
5
|
import { LayoutService } from '../common/providers/layout.service';
|
|
6
6
|
import { NgControlService } from '../common/providers/ng-control.service';
|
|
7
7
|
import { DateFormControlService } from './providers/date-form-control.service';
|
|
8
|
+
import { DateIOService } from './providers/date-io.service';
|
|
8
9
|
import { DateNavigationService } from './providers/date-navigation.service';
|
|
9
10
|
import { DatepickerEnabledService } from './providers/datepicker-enabled.service';
|
|
10
11
|
import { ClrCommonStringsService } from '../../utils/i18n/common-strings.service';
|
|
@@ -14,10 +15,12 @@ import { IfControlStateService } from '../common/if-control-state/if-control-sta
|
|
|
14
15
|
import { ClrAbstractContainer } from '../common/abstract-container';
|
|
15
16
|
import * as i0 from "@angular/core";
|
|
16
17
|
export declare class ClrDateContainer extends ClrAbstractContainer implements AfterViewInit {
|
|
18
|
+
protected renderer: Renderer2;
|
|
17
19
|
private toggleService;
|
|
18
20
|
private dateNavigationService;
|
|
19
21
|
private datepickerEnabledService;
|
|
20
22
|
private dateFormControlService;
|
|
23
|
+
private dateIOService;
|
|
21
24
|
commonStrings: ClrCommonStringsService;
|
|
22
25
|
private focusService;
|
|
23
26
|
private viewManagerService;
|
|
@@ -31,7 +34,7 @@ export declare class ClrDateContainer extends ClrAbstractContainer implements Af
|
|
|
31
34
|
get open(): boolean;
|
|
32
35
|
private toggleButton;
|
|
33
36
|
set actionButton(button: ElementRef);
|
|
34
|
-
constructor(toggleService: ClrPopoverToggleService, dateNavigationService: DateNavigationService, datepickerEnabledService: DatepickerEnabledService, dateFormControlService: DateFormControlService, commonStrings: ClrCommonStringsService, focusService: FocusService, viewManagerService: ViewManagerService, controlClassService: ControlClassService, layoutService: LayoutService, ngControlService: NgControlService, ifControlStateService: IfControlStateService);
|
|
37
|
+
constructor(renderer: Renderer2, toggleService: ClrPopoverToggleService, dateNavigationService: DateNavigationService, datepickerEnabledService: DatepickerEnabledService, dateFormControlService: DateFormControlService, dateIOService: DateIOService, commonStrings: ClrCommonStringsService, focusService: FocusService, viewManagerService: ViewManagerService, controlClassService: ControlClassService, layoutService: LayoutService, ngControlService: NgControlService, ifControlStateService: IfControlStateService);
|
|
35
38
|
ngAfterViewInit(): void;
|
|
36
39
|
/**
|
|
37
40
|
* Returns if the Datepicker is enabled or not. If disabled, hides the datepicker trigger.
|
|
@@ -41,10 +44,16 @@ export declare class ClrDateContainer extends ClrAbstractContainer implements Af
|
|
|
41
44
|
* Return if Datepicker is diabled or not as Form Control
|
|
42
45
|
*/
|
|
43
46
|
get isInputDateDisabled(): boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Return the label for the toggle button.
|
|
49
|
+
* If there's a selected date, the date is included in the label.
|
|
50
|
+
*/
|
|
51
|
+
private getToggleButtonLabel;
|
|
52
|
+
private listenForDateChanges;
|
|
44
53
|
/**
|
|
45
54
|
* Processes the user input and Initializes the Calendar everytime the datepicker popover is open.
|
|
46
55
|
*/
|
|
47
56
|
private initializeCalendar;
|
|
48
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDateContainer, [null, null, null, null, null, null, null, null, { optional: true; }, null, null]>;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDateContainer, [null, null, null, null, null, null, null, null, null, null, { optional: true; }, null, null]>;
|
|
49
58
|
static ɵcmp: i0.ɵɵComponentDeclaration<ClrDateContainer, "clr-date-container", never, { "clrPosition": "clrPosition"; }, {}, never, ["label", "[clrDate]", "clr-control-helper", "clr-control-error", "clr-control-success"]>;
|
|
50
59
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
+
import { ClrCommonStringsService } from '../../utils/i18n/common-strings.service';
|
|
1
2
|
import { ViewManagerService } from './providers/view-manager.service';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class ClrDatepickerViewManager {
|
|
5
|
+
commonStrings: ClrCommonStringsService;
|
|
4
6
|
private viewManagerService;
|
|
5
|
-
constructor(viewManagerService: ViewManagerService);
|
|
7
|
+
constructor(commonStrings: ClrCommonStringsService, viewManagerService: ViewManagerService);
|
|
6
8
|
/**
|
|
7
9
|
* Returns if the current view is the monthpicker.
|
|
8
10
|
*/
|
package/forms/input/input.d.ts
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
import { ViewContainerRef, Renderer2, ElementRef, Injector } from '@angular/core';
|
|
7
2
|
import { NgControl } from '@angular/forms';
|
|
8
3
|
import { ClrInputContainer } from './input-container';
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2022 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
import { InjectionToken } from '@angular/core';
|
|
7
2
|
import { BehaviorSubject } from 'rxjs';
|
|
8
3
|
import { ControlClassService } from '../common/providers/control-class.service';
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
import { ElementRef, Injector, OnDestroy, OnInit, Renderer2, ViewContainerRef } from '@angular/core';
|
|
7
2
|
import { BehaviorSubject } from 'rxjs';
|
|
8
3
|
import { NgControl } from '@angular/forms';
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
import { AfterContentInit, QueryList } from '@angular/core';
|
|
7
2
|
import { ControlClassService } from '../common/providers/control-class.service';
|
|
8
3
|
import { NgControlService } from '../common/providers/ng-control.service';
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
import { OnInit } from '@angular/core';
|
|
7
2
|
import { DynamicWrapper } from '../../utils/host-wrapping/dynamic-wrapper';
|
|
8
3
|
import { ClrLabel } from '../common/label';
|
package/forms/radio/radio.d.ts
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
import { ElementRef, Injector, Renderer2, ViewContainerRef } from '@angular/core';
|
|
7
2
|
import { NgControl } from '@angular/forms';
|
|
8
3
|
import { WrappedFormControl } from '../common/wrapped-control';
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
import { Renderer2 } from '@angular/core';
|
|
7
2
|
import { NgControlService } from '../common/providers/ng-control.service';
|
|
8
3
|
import { LayoutService } from '../common/providers/layout.service';
|
package/forms/range/range.d.ts
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
import { ViewContainerRef, Renderer2, ElementRef, Injector } from '@angular/core';
|
|
7
2
|
import { NgControl } from '@angular/forms';
|
|
8
3
|
import { WrappedFormControl } from '../common/wrapped-control';
|
package/forms/select/select.d.ts
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
import { ViewContainerRef, Renderer2, ElementRef, Injector } from '@angular/core';
|
|
7
2
|
import { WrappedFormControl } from '../common/wrapped-control';
|
|
8
3
|
import { ClrSelectContainer } from './select-container';
|
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
3
|
-
* This software is released under MIT license.
|
|
4
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
5
|
-
*/
|
|
6
1
|
import { ViewContainerRef, Renderer2, ElementRef, Injector } from '@angular/core';
|
|
7
2
|
import { NgControl } from '@angular/forms';
|
|
8
3
|
import { WrappedFormControl } from '../common/wrapped-control';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { RouterLinkActive } from '@angular/router';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ClrAriaCurrentLink implements OnInit, OnDestroy {
|
|
5
|
+
private rla;
|
|
6
|
+
ariaCurrent: string | undefined;
|
|
7
|
+
private subscription;
|
|
8
|
+
constructor(rla: RouterLinkActive);
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
ngOnDestroy(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrAriaCurrentLink, never>;
|
|
12
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrAriaCurrentLink, "[clrAriaCurrentLink]", never, {}, {}, never>;
|
|
13
|
+
}
|
package/layout/nav/header.d.ts
CHANGED
|
@@ -17,7 +17,13 @@ export declare class ClrHeader implements OnDestroy {
|
|
|
17
17
|
resetNavTriggers(): void;
|
|
18
18
|
initializeNavTriggers(navList: number[]): void;
|
|
19
19
|
closeOpenNav(): void;
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated Will be removed in with @clr/angular v15.0.0
|
|
22
|
+
*
|
|
23
|
+
* Use `openNav(navLevel)` instead to open the navigation and ResponsiveNavService to close it.
|
|
24
|
+
*/
|
|
20
25
|
toggleNav(navLevel: number): void;
|
|
26
|
+
openNav(navLevel: number): void;
|
|
21
27
|
ngOnDestroy(): void;
|
|
22
28
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrHeader, never>;
|
|
23
29
|
static ɵcmp: i0.ɵɵComponentDeclaration<ClrHeader, "clr-header", never, {}, {}, never, ["*"]>;
|
package/layout/nav/index.d.ts
CHANGED
|
@@ -1,20 +1,32 @@
|
|
|
1
|
-
import { ElementRef, OnInit } from '@angular/core';
|
|
1
|
+
import { ElementRef, Injector, OnInit, Renderer2 } from '@angular/core';
|
|
2
2
|
import { ResponsiveNavigationService } from './providers/responsive-navigation.service';
|
|
3
3
|
import { ResponsiveNavCodes } from './responsive-nav-codes';
|
|
4
|
+
import { FocusTrap, FocusTrapElement } from '../../utils/focus-trap/focus-trap';
|
|
5
|
+
import '@cds/core/internal-components/close-button/register.js';
|
|
4
6
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class ClrNavLevel implements OnInit {
|
|
7
|
+
export declare class ClrNavLevel extends FocusTrap implements OnInit {
|
|
6
8
|
private responsiveNavService;
|
|
7
9
|
private elementRef;
|
|
8
10
|
_level: number;
|
|
9
|
-
|
|
11
|
+
closeButtonAriaLabel: string;
|
|
12
|
+
private _subscription;
|
|
13
|
+
private _isOpen;
|
|
14
|
+
constructor(platformId: any, responsiveNavService: ResponsiveNavigationService, elementRef: ElementRef<FocusTrapElement>, renderer: Renderer2, injector: Injector);
|
|
10
15
|
ngOnInit(): void;
|
|
16
|
+
ngAfterViewInit(): void;
|
|
11
17
|
addNavClass(level: number): void;
|
|
12
18
|
get level(): number;
|
|
13
19
|
get responsiveNavCodes(): ResponsiveNavCodes;
|
|
20
|
+
get isOpen(): boolean;
|
|
21
|
+
onResize(event: Event): void;
|
|
14
22
|
open(): void;
|
|
15
23
|
close(): void;
|
|
16
24
|
onMouseClick(target: any): void;
|
|
25
|
+
protected hideNavigation(): void;
|
|
26
|
+
protected showNavigation(): void;
|
|
27
|
+
protected hideCloseButton(): void;
|
|
28
|
+
protected showCloseButton(): void;
|
|
17
29
|
ngOnDestroy(): void;
|
|
18
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrNavLevel, never>;
|
|
19
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrNavLevel, "[clr-nav-level]", never, { "_level": "clr-nav-level"; }, {}, never>;
|
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrNavLevel, "[clr-nav-level]", never, { "_level": "clr-nav-level"; "closeButtonAriaLabel": "closeAriaLabel"; }, {}, never>;
|
|
20
32
|
}
|
|
@@ -2,14 +2,15 @@ import { Type } from '@angular/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import * as i1 from "./header";
|
|
4
4
|
import * as i2 from "./nav-level";
|
|
5
|
-
import * as i3 from "./
|
|
6
|
-
import * as i4 from "./chocolate/
|
|
7
|
-
import * as i5 from "
|
|
8
|
-
import * as i6 from "
|
|
9
|
-
import * as i7 from "../../
|
|
5
|
+
import * as i3 from "./aria-current-link";
|
|
6
|
+
import * as i4 from "./chocolate/nav-detection-oompa-loompa";
|
|
7
|
+
import * as i5 from "./chocolate/main-container-willy-wonka";
|
|
8
|
+
import * as i6 from "@angular/common";
|
|
9
|
+
import * as i7 from "../../icon/icon.module";
|
|
10
|
+
import * as i8 from "../../popover/dropdown/dropdown.module";
|
|
10
11
|
export declare const CLR_NAVIGATION_DIRECTIVES: Type<any>[];
|
|
11
12
|
export declare class ClrNavigationModule {
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrNavigationModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrNavigationModule, [typeof i1.ClrHeader, typeof i2.ClrNavLevel, typeof i3.
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrNavigationModule, [typeof i1.ClrHeader, typeof i2.ClrNavLevel, typeof i3.ClrAriaCurrentLink, typeof i4.NavDetectionOompaLoompa, typeof i5.MainContainerWillyWonka], [typeof i6.CommonModule, typeof i7.ClrIconModule, typeof i8.ClrDropdownModule], [typeof i1.ClrHeader, typeof i2.ClrNavLevel, typeof i3.ClrAriaCurrentLink, typeof i4.NavDetectionOompaLoompa, typeof i5.MainContainerWillyWonka]>;
|
|
14
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<ClrNavigationModule>;
|
|
15
16
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, OnDestroy } from '@angular/core';
|
|
1
2
|
import { VerticalNavGroupService } from './providers/vertical-nav-group.service';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class ClrVerticalNavLink {
|
|
4
|
-
private
|
|
5
|
-
constructor(
|
|
6
|
-
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ClrVerticalNavLink, [{ optional: true; }]>;
|
|
4
|
+
export declare class ClrVerticalNavLink implements OnDestroy {
|
|
5
|
+
private destroy$;
|
|
6
|
+
constructor(host: ElementRef<HTMLElement>, ref: ChangeDetectorRef, navGroupService: VerticalNavGroupService | null);
|
|
7
|
+
ngOnDestroy(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrVerticalNavLink, [null, null, { optional: true; }]>;
|
|
8
9
|
static ɵcmp: i0.ɵɵComponentDeclaration<ClrVerticalNavLink, "[clrVerticalNavLink]", never, {}, {}, never, ["[clrVerticalNavIcon]", "*"]>;
|
|
9
10
|
}
|
package/modal/modal-body.d.ts
CHANGED
|
@@ -11,6 +11,7 @@ export declare class ClrModalBody implements OnDestroy {
|
|
|
11
11
|
private readonly host;
|
|
12
12
|
private tabindex;
|
|
13
13
|
private unlisteners;
|
|
14
|
+
private observer;
|
|
14
15
|
constructor(renderer: Renderer2, host: ElementRef<HTMLElement>, ngZone: NgZone);
|
|
15
16
|
ngOnDestroy(): void;
|
|
16
17
|
private addTabIndex;
|
package/modal/modal.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ export declare class ClrModal implements OnChanges, OnDestroy {
|
|
|
18
18
|
bypassScrollService: boolean;
|
|
19
19
|
stopClose: boolean;
|
|
20
20
|
altClose: EventEmitter<boolean>;
|
|
21
|
+
labelledBy: string;
|
|
21
22
|
constructor(_scrollingService: ScrollingService, commonStrings: ClrCommonStringsService, modalId: string);
|
|
22
23
|
ngOnChanges(changes: {
|
|
23
24
|
[propName: string]: SimpleChange;
|
|
@@ -27,5 +28,5 @@ export declare class ClrModal implements OnChanges, OnDestroy {
|
|
|
27
28
|
close(): void;
|
|
28
29
|
fadeDone(e: AnimationEvent): void;
|
|
29
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrModal, never>;
|
|
30
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClrModal, "clr-modal", never, { "_open": "clrModalOpen"; "closable": "clrModalClosable"; "size": "clrModalSize"; "staticBackdrop": "clrModalStaticBackdrop"; "skipAnimation": "clrModalSkipAnimation"; "bypassScrollService": "clrModalOverrideScrollService"; "stopClose": "clrModalPreventClose"; }, { "_openChanged": "clrModalOpenChange"; "altClose": "clrModalAlternateClose"; }, never, [".modal-nav", ".modal-title", ".modal-body", ".modal-footer"]>;
|
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrModal, "clr-modal", never, { "_open": "clrModalOpen"; "closable": "clrModalClosable"; "size": "clrModalSize"; "staticBackdrop": "clrModalStaticBackdrop"; "skipAnimation": "clrModalSkipAnimation"; "bypassScrollService": "clrModalOverrideScrollService"; "stopClose": "clrModalPreventClose"; "labelledBy": "clrModalLabelledById"; }, { "_openChanged": "clrModalOpenChange"; "altClose": "clrModalAlternateClose"; }, never, [".modal-nav", ".modal-title", ".modal-body", ".modal-footer"]>;
|
|
31
32
|
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clr/angular",
|
|
3
|
-
"version": "13.0.2",
|
|
4
3
|
"description": "Angular components for Clarity",
|
|
5
|
-
"homepage": "https://clarity.design",
|
|
4
|
+
"homepage": "https://angular.clarity.design",
|
|
6
5
|
"keywords": [
|
|
7
6
|
"ng-add",
|
|
8
7
|
"clarity",
|
|
@@ -11,27 +10,17 @@
|
|
|
11
10
|
],
|
|
12
11
|
"repository": {
|
|
13
12
|
"type": "git",
|
|
14
|
-
"url": "https://github.com/vmware/clarity.git"
|
|
13
|
+
"url": "https://github.com/vmware-clarity/ng-clarity.git"
|
|
15
14
|
},
|
|
16
15
|
"author": "Clarity Design System",
|
|
17
16
|
"license": "MIT",
|
|
18
17
|
"bugs": {
|
|
19
|
-
"url": "https://github.com/vmware/clarity/issues"
|
|
18
|
+
"url": "https://github.com/vmware-clarity/ng-clarity/issues"
|
|
20
19
|
},
|
|
21
20
|
"peerDependencies": {
|
|
22
21
|
"@angular/common": "^13.0.0",
|
|
23
22
|
"@angular/core": "^13.0.0",
|
|
24
|
-
"@cds/core": "next || ^6.0.0 || ^5.6.0"
|
|
25
|
-
"@clr/ui": "13.0.2"
|
|
26
|
-
},
|
|
27
|
-
"schematics": "./schematics/collection.json",
|
|
28
|
-
"ng-update": {
|
|
29
|
-
"migrations": "./schematics/migration-collection.json",
|
|
30
|
-
"packageGroup": [
|
|
31
|
-
"@clr/angular",
|
|
32
|
-
"@clr/ui",
|
|
33
|
-
"@cds/core"
|
|
34
|
-
]
|
|
23
|
+
"@cds/core": "next || ^6.0.0 || ^5.6.0"
|
|
35
24
|
},
|
|
36
25
|
"module": "fesm2015/clr-angular.mjs",
|
|
37
26
|
"es2020": "fesm2020/clr-angular.mjs",
|
|
@@ -55,5 +44,6 @@
|
|
|
55
44
|
"sideEffects": false,
|
|
56
45
|
"dependencies": {
|
|
57
46
|
"tslib": "^2.3.0"
|
|
58
|
-
}
|
|
59
|
-
|
|
47
|
+
},
|
|
48
|
+
"version": "13.2.0"
|
|
49
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewChecked, ElementRef, Injector, OnDestroy, Renderer2 } from '@angular/core';
|
|
1
|
+
import { AfterViewChecked, ElementRef, Injector, OnDestroy, Renderer2, NgZone, ChangeDetectorRef } from '@angular/core';
|
|
2
2
|
import { ClrPopoverToggleService } from '../../utils/popover/providers/popover-toggle.service';
|
|
3
3
|
import { Point } from './popover';
|
|
4
4
|
import { PopoverOptions } from './popover-options.interface';
|
|
@@ -9,6 +9,8 @@ export declare abstract class AbstractPopover implements AfterViewChecked, OnDes
|
|
|
9
9
|
protected el: ElementRef;
|
|
10
10
|
protected toggleService: ClrPopoverToggleService;
|
|
11
11
|
protected renderer: Renderer2;
|
|
12
|
+
protected ngZone: NgZone;
|
|
13
|
+
protected ref: ChangeDetectorRef;
|
|
12
14
|
private popoverInstance;
|
|
13
15
|
private subscription;
|
|
14
16
|
private updateAnchor;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Renderer2 } from '@angular/core';
|
|
1
|
+
import { OnDestroy, Renderer2 } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
import { ClrPopoverToggleService } from '../../../utils/popover/providers/popover-toggle.service';
|
|
4
4
|
import { FocusService } from '../../../utils/focus/focus.service';
|
|
5
5
|
import { FocusableItem } from '../../../utils/focus/focusable-item/focusable-item';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class DropdownFocusHandler implements FocusableItem {
|
|
7
|
+
export declare class DropdownFocusHandler implements OnDestroy, FocusableItem {
|
|
8
8
|
id: string;
|
|
9
9
|
private renderer;
|
|
10
10
|
private parent;
|
|
@@ -1 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* TODO:
|
|
3
|
+
* Using core functions like:
|
|
4
|
+
* - pluckPixelValue
|
|
5
|
+
* - getCssPropertyValue
|
|
6
|
+
*
|
|
7
|
+
* to get the value of the design token.
|
|
8
|
+
*
|
|
9
|
+
* Note: Memoization/Cache usage possible.
|
|
10
|
+
*/
|
|
1
11
|
export declare const DATEPICKER_ENABLE_BREAKPOINT = 768;
|
|
12
|
+
export declare const SMALL_BREAKPOINT = 576;
|
|
13
|
+
export declare const MEDIUM_BREAKPOINT = 768;
|
|
14
|
+
export declare const LARGE_BREAKPOINT = 992;
|
|
15
|
+
export declare const EXTRA_LARGE_BREAKPOINT = 1200;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { OnDestroy } from '@angular/core';
|
|
2
|
+
import { Subject } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* @description
|
|
6
|
+
*
|
|
7
|
+
* Developers should explicitly add this service to providers; it then can be injected
|
|
8
|
+
* into a constructor and used as a notifier for the `takeUntil` operator. This eliminates
|
|
9
|
+
* the need for boilerplates with subscriptions, and we don't need to implement the `OnDestroy`
|
|
10
|
+
* interface and teardown subscriptions there.
|
|
11
|
+
*
|
|
12
|
+
* This can be used as follows:
|
|
13
|
+
* ```ts
|
|
14
|
+
* @Component({
|
|
15
|
+
* selector: 'clr-button-group',
|
|
16
|
+
* templateUrl: 'button-group.html',
|
|
17
|
+
* providers: [ClrDestroyService],
|
|
18
|
+
* })
|
|
19
|
+
* export class ClrButtonGroup {
|
|
20
|
+
* constructor(public buttonGroupNewService: ButtonInGroupService, private destroy$: ClrDestroyService) {}
|
|
21
|
+
*
|
|
22
|
+
* ngAfterContentInit() {
|
|
23
|
+
* this.buttonGroupNewService.changes.pipe(takeUntil(this.destroy$)).subscribe(button => this.rearrangeButton(button));
|
|
24
|
+
* }
|
|
25
|
+
* }
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare class ClrDestroyService extends Subject<void> implements OnDestroy {
|
|
29
|
+
ngOnDestroy(): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrDestroyService, never>;
|
|
31
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ClrDestroyService>;
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './destroy.service';
|