@clr/angular 15.3.0 → 15.5.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/accordion/accordion-panel.d.ts +4 -4
- package/accordion/stepper/providers/stepper.service.d.ts +2 -1
- package/accordion/stepper/stepper-panel.d.ts +2 -2
- package/button/button-group/button-group.d.ts +7 -11
- package/button/button-group/button.d.ts +11 -11
- package/button/button-loading/loading-button.d.ts +2 -2
- package/button/providers/button-group-focus-handler.service.d.ts +1 -1
- package/clarity.api.md +133 -119
- package/data/datagrid/built-in/filters/datagrid-numeric-filter-impl.d.ts +7 -12
- package/data/datagrid/built-in/filters/datagrid-numeric-filter.d.ts +13 -16
- package/data/datagrid/built-in/filters/datagrid-string-filter-impl.d.ts +7 -7
- package/data/datagrid/built-in/filters/datagrid-string-filter.d.ts +10 -10
- package/data/datagrid/datagrid-action-overflow.d.ts +8 -8
- package/data/datagrid/datagrid-cell.d.ts +2 -2
- package/data/datagrid/datagrid-column-separator.d.ts +6 -6
- package/data/datagrid/datagrid-column-toggle-button.d.ts +2 -2
- package/data/datagrid/datagrid-column-toggle.d.ts +6 -6
- package/data/datagrid/datagrid-column.d.ts +37 -40
- package/data/datagrid/datagrid-detail-header.d.ts +1 -1
- package/data/datagrid/datagrid-filter.d.ts +5 -5
- package/data/datagrid/datagrid-footer.d.ts +1 -1
- package/data/datagrid/datagrid-hideable-column.d.ts +3 -3
- package/data/datagrid/datagrid-if-detail.d.ts +3 -3
- package/data/datagrid/datagrid-if-expanded.service.d.ts +4 -4
- package/data/datagrid/datagrid-items.d.ts +1 -1
- package/data/datagrid/datagrid-pagination.d.ts +17 -17
- package/data/datagrid/datagrid-row-detail.d.ts +8 -8
- package/data/datagrid/datagrid-row.d.ts +53 -48
- package/data/datagrid/datagrid.d.ts +43 -47
- package/data/datagrid/interfaces/filter.interface.d.ts +2 -2
- package/data/datagrid/providers/column-resizer.service.d.ts +3 -3
- package/data/datagrid/providers/columns.service.d.ts +2 -2
- package/data/datagrid/providers/detail.service.d.ts +7 -7
- package/data/datagrid/providers/display-mode.service.d.ts +1 -1
- package/data/datagrid/providers/filters.d.ts +2 -2
- package/data/datagrid/providers/global-expandable-rows.d.ts +3 -3
- package/data/datagrid/providers/items.d.ts +25 -25
- package/data/datagrid/providers/page.d.ts +21 -21
- package/data/datagrid/providers/row-action-service.d.ts +2 -2
- package/data/datagrid/providers/selection.d.ts +42 -42
- package/data/datagrid/providers/sort.d.ts +6 -6
- package/data/datagrid/providers/state-debouncer.provider.d.ts +1 -1
- package/data/datagrid/providers/state.provider.d.ts +1 -1
- package/data/datagrid/providers/table-size.service.d.ts +1 -1
- package/data/datagrid/render/cell-renderer.d.ts +3 -3
- package/data/datagrid/render/header-renderer.d.ts +3 -3
- package/data/datagrid/render/main-renderer.d.ts +12 -12
- package/data/datagrid/render/noop-dom-adapter.d.ts +7 -7
- package/data/datagrid/render/render-organizer.d.ts +1 -1
- package/data/datagrid/render/row-renderer.d.ts +1 -1
- package/data/datagrid/utils/datagrid-filter-registrar.d.ts +2 -2
- package/data/datagrid/utils/key-navigation-grid.controller.d.ts +5 -5
- package/data/stack-view/stack-block.d.ts +13 -13
- package/data/stack-view/stack-view-custom-tags.d.ts +1 -1
- package/data/tree-view/models/declarative-tree-node.model.d.ts +2 -2
- package/data/tree-view/models/recursive-tree-node.model.d.ts +5 -5
- package/data/tree-view/models/tree-node.model.d.ts +4 -4
- package/data/tree-view/recursive-children.d.ts +3 -3
- package/data/tree-view/recursive-for-of.d.ts +1 -1
- package/data/tree-view/tree-focus-manager.service.d.ts +8 -8
- package/data/tree-view/tree-node.d.ts +18 -18
- package/data/tree-view/tree.d.ts +2 -2
- package/emphasis/alert/alert.d.ts +11 -11
- package/emphasis/alert/alerts-pager.d.ts +6 -6
- package/emphasis/alert/alerts.d.ts +6 -6
- package/emphasis/alert/providers/icon-and-types.service.d.ts +1 -1
- package/emphasis/alert/providers/multi-alert.service.d.ts +2 -2
- package/esm2020/accordion/accordion-panel.mjs +4 -4
- package/esm2020/accordion/accordion.mjs +1 -1
- package/esm2020/accordion/providers/accordion.service.mjs +1 -1
- package/esm2020/accordion/stepper/providers/stepper.service.mjs +4 -4
- package/esm2020/accordion/stepper/stepper-panel.mjs +4 -4
- package/esm2020/accordion/stepper/stepper.mjs +1 -1
- package/esm2020/button/button-group/button-group.mjs +20 -21
- package/esm2020/button/button-group/button.mjs +14 -14
- package/esm2020/button/button-loading/loading-button.mjs +2 -2
- package/esm2020/button/providers/button-group-focus-handler.service.mjs +5 -5
- package/esm2020/button/providers/button-in-group.service.mjs +1 -1
- package/esm2020/data/datagrid/built-in/filters/datagrid-numeric-filter-impl.mjs +11 -16
- package/esm2020/data/datagrid/built-in/filters/datagrid-numeric-filter.mjs +59 -59
- package/esm2020/data/datagrid/built-in/filters/datagrid-string-filter-impl.mjs +10 -10
- package/esm2020/data/datagrid/built-in/filters/datagrid-string-filter.mjs +32 -32
- package/esm2020/data/datagrid/datagrid-action-overflow.mjs +26 -26
- package/esm2020/data/datagrid/datagrid-cell.mjs +4 -4
- package/esm2020/data/datagrid/datagrid-column-separator.mjs +6 -6
- package/esm2020/data/datagrid/datagrid-column-toggle-button.mjs +4 -4
- package/esm2020/data/datagrid/datagrid-column-toggle.mjs +7 -7
- package/esm2020/data/datagrid/datagrid-column.mjs +132 -132
- package/esm2020/data/datagrid/datagrid-detail-header.mjs +1 -1
- package/esm2020/data/datagrid/datagrid-filter.mjs +7 -7
- package/esm2020/data/datagrid/datagrid-footer.mjs +1 -1
- package/esm2020/data/datagrid/datagrid-hideable-column.mjs +5 -5
- package/esm2020/data/datagrid/datagrid-if-detail.mjs +9 -9
- package/esm2020/data/datagrid/datagrid-if-expanded.service.mjs +7 -7
- package/esm2020/data/datagrid/datagrid-items.mjs +1 -1
- package/esm2020/data/datagrid/datagrid-pagination.mjs +41 -41
- package/esm2020/data/datagrid/datagrid-row-detail.mjs +18 -18
- package/esm2020/data/datagrid/datagrid-row.mjs +122 -108
- package/esm2020/data/datagrid/datagrid.mjs +60 -57
- package/esm2020/data/datagrid/interfaces/filter.interface.mjs +1 -1
- package/esm2020/data/datagrid/providers/column-resizer.service.mjs +4 -4
- package/esm2020/data/datagrid/providers/columns.service.mjs +7 -7
- package/esm2020/data/datagrid/providers/detail.service.mjs +15 -15
- package/esm2020/data/datagrid/providers/display-mode.service.mjs +2 -2
- package/esm2020/data/datagrid/providers/filters.mjs +1 -1
- package/esm2020/data/datagrid/providers/global-expandable-rows.mjs +7 -7
- package/esm2020/data/datagrid/providers/items.mjs +41 -41
- package/esm2020/data/datagrid/providers/page.mjs +22 -22
- package/esm2020/data/datagrid/providers/row-action-service.mjs +7 -7
- package/esm2020/data/datagrid/providers/selection.mjs +68 -68
- package/esm2020/data/datagrid/providers/sort.mjs +4 -4
- package/esm2020/data/datagrid/providers/state-debouncer.provider.mjs +5 -5
- package/esm2020/data/datagrid/providers/state.provider.mjs +1 -1
- package/esm2020/data/datagrid/providers/table-size.service.mjs +1 -1
- package/esm2020/data/datagrid/render/cell-renderer.mjs +1 -1
- package/esm2020/data/datagrid/render/header-renderer.mjs +11 -11
- package/esm2020/data/datagrid/render/main-renderer.mjs +17 -17
- package/esm2020/data/datagrid/render/noop-dom-adapter.mjs +8 -15
- package/esm2020/data/datagrid/render/render-organizer.mjs +1 -1
- package/esm2020/data/datagrid/render/row-renderer.mjs +1 -1
- package/esm2020/data/datagrid/utils/datagrid-filter-registrar.mjs +4 -4
- package/esm2020/data/datagrid/utils/key-navigation-grid.controller.mjs +1 -1
- package/esm2020/data/stack-view/stack-block.mjs +37 -37
- package/esm2020/data/stack-view/stack-view-custom-tags.mjs +4 -4
- package/esm2020/data/tree-view/models/declarative-tree-node.model.mjs +7 -7
- package/esm2020/data/tree-view/models/recursive-tree-node.model.mjs +14 -14
- package/esm2020/data/tree-view/models/tree-node.model.mjs +15 -15
- package/esm2020/data/tree-view/recursive-children.mjs +1 -1
- package/esm2020/data/tree-view/recursive-for-of.mjs +1 -1
- package/esm2020/data/tree-view/tree-features.service.mjs +1 -1
- package/esm2020/data/tree-view/tree-focus-manager.service.mjs +33 -33
- package/esm2020/data/tree-view/tree-node.mjs +49 -49
- package/esm2020/data/tree-view/tree.mjs +8 -8
- package/esm2020/emphasis/alert/alert.mjs +33 -34
- package/esm2020/emphasis/alert/alerts-pager.mjs +17 -17
- package/esm2020/emphasis/alert/alerts.mjs +17 -17
- package/esm2020/emphasis/alert/providers/icon-and-types.service.mjs +1 -1
- package/esm2020/emphasis/alert/providers/multi-alert.service.mjs +4 -4
- package/esm2020/forms/checkbox/checkbox-container.mjs +4 -4
- package/esm2020/forms/checkbox/checkbox-wrapper.mjs +1 -1
- package/esm2020/forms/combobox/combobox.mjs +116 -113
- package/esm2020/forms/combobox/model/pseudo-focus.model.mjs +1 -1
- package/esm2020/forms/combobox/option-items.directive.mjs +16 -16
- package/esm2020/forms/combobox/option-selected.directive.mjs +1 -1
- package/esm2020/forms/combobox/option.mjs +12 -12
- package/esm2020/forms/combobox/options.mjs +13 -13
- package/esm2020/forms/combobox/providers/combobox-focus-handler.service.mjs +42 -42
- package/esm2020/forms/combobox/providers/option-selection.service.mjs +6 -6
- package/esm2020/forms/common/abstract-container.mjs +5 -5
- package/esm2020/forms/common/form.mjs +8 -8
- package/esm2020/forms/common/if-control-state/abstract-if-state.mjs +2 -3
- package/esm2020/forms/common/if-control-state/if-control-state.service.mjs +4 -5
- package/esm2020/forms/common/label.mjs +8 -8
- package/esm2020/forms/common/providers/container-id.service.mjs +1 -1
- package/esm2020/forms/common/providers/control-id.service.mjs +1 -1
- package/esm2020/forms/common/providers/focus.service.mjs +1 -1
- package/esm2020/forms/common/providers/layout.service.mjs +6 -6
- package/esm2020/forms/common/providers/mark-control.service.mjs +1 -1
- package/esm2020/forms/common/providers/ng-control.service.mjs +4 -4
- package/esm2020/forms/common/wrapped-control.mjs +25 -25
- package/esm2020/forms/datalist/datalist-input.mjs +1 -1
- package/esm2020/forms/datalist/datalist.mjs +7 -7
- package/esm2020/forms/datalist/providers/datalist-id.service.mjs +1 -1
- package/esm2020/forms/datepicker/calendar.mjs +24 -24
- package/esm2020/forms/datepicker/date-container.mjs +18 -18
- package/esm2020/forms/datepicker/date-input.mjs +31 -31
- package/esm2020/forms/datepicker/day.mjs +4 -4
- package/esm2020/forms/datepicker/daypicker.mjs +13 -13
- package/esm2020/forms/datepicker/model/calendar-view.model.mjs +9 -9
- package/esm2020/forms/datepicker/model/calendar.model.mjs +12 -12
- package/esm2020/forms/datepicker/model/day.model.mjs +4 -4
- package/esm2020/forms/datepicker/model/year-range.model.mjs +17 -17
- package/esm2020/forms/datepicker/monthpicker.mjs +15 -15
- package/esm2020/forms/datepicker/providers/date-form-control.service.mjs +1 -1
- package/esm2020/forms/datepicker/providers/date-io.service.mjs +48 -48
- package/esm2020/forms/datepicker/providers/date-navigation.service.mjs +30 -33
- package/esm2020/forms/datepicker/providers/datepicker-enabled.service.mjs +1 -1
- package/esm2020/forms/datepicker/providers/locale-helper.service.mjs +1 -1
- package/esm2020/forms/datepicker/providers/view-manager.service.mjs +2 -2
- package/esm2020/forms/datepicker/yearpicker.mjs +37 -37
- package/esm2020/forms/password/password-container.mjs +4 -4
- package/esm2020/forms/radio/radio-container.mjs +4 -4
- package/esm2020/forms/radio/radio-wrapper.mjs +1 -1
- package/esm2020/forms/range/range-container.mjs +4 -4
- package/esm2020/forms/select/select-container.mjs +1 -1
- package/esm2020/layout/nav/nav-level.mjs +45 -53
- package/esm2020/layout/nav/providers/responsive-navigation.service.mjs +1 -1
- package/esm2020/layout/tabs/providers/tabs.service.mjs +5 -5
- package/esm2020/layout/tabs/tab-content.mjs +11 -11
- package/esm2020/layout/tabs/tab-link.directive.mjs +18 -18
- package/esm2020/layout/tabs/tab.mjs +4 -4
- package/esm2020/layout/tabs/tabs.mjs +40 -40
- package/esm2020/layout/vertical-nav/providers/vertical-nav-group.service.mjs +1 -1
- package/esm2020/layout/vertical-nav/providers/vertical-nav.service.mjs +1 -1
- package/esm2020/layout/vertical-nav/vertical-nav-group.mjs +26 -26
- package/esm2020/layout/vertical-nav/vertical-nav.mjs +8 -8
- package/esm2020/modal/modal.mjs +4 -4
- package/esm2020/popover/common/abstract-popover.mjs +14 -14
- package/esm2020/popover/common/popover.mjs +2 -2
- package/esm2020/popover/dropdown/dropdown-item.mjs +7 -7
- package/esm2020/popover/dropdown/dropdown-menu.mjs +5 -5
- package/esm2020/popover/dropdown/dropdown.mjs +5 -5
- package/esm2020/popover/dropdown/providers/dropdown-focus-handler.service.mjs +49 -49
- package/esm2020/popover/dropdown/providers/dropdown.service.mjs +1 -1
- package/esm2020/popover/signpost/providers/signpost-id.service.mjs +4 -4
- package/esm2020/popover/signpost/signpost-content.mjs +13 -13
- package/esm2020/popover/signpost/signpost-trigger.mjs +12 -12
- package/esm2020/popover/signpost/signpost.mjs +4 -4
- package/esm2020/popover/tooltip/providers/tooltip-id.service.mjs +4 -4
- package/esm2020/popover/tooltip/tooltip-content.mjs +1 -1
- package/esm2020/popover/tooltip/tooltip.mjs +4 -4
- package/esm2020/progress/progress-bars/progress-bar.mjs +53 -61
- package/esm2020/progress/spinner/spinner.mjs +12 -1
- package/esm2020/timeline/timeline-step.mjs +6 -6
- package/esm2020/utils/chocolate/oompa-loompa.mjs +1 -1
- package/esm2020/utils/chocolate/willy-wonka.mjs +2 -2
- package/esm2020/utils/conditional/if-active.directive.mjs +22 -31
- package/esm2020/utils/conditional/if-active.service.mjs +5 -12
- package/esm2020/utils/conditional/if-expanded.directive.mjs +14 -14
- package/esm2020/utils/conditional/if-expanded.service.mjs +4 -4
- package/esm2020/utils/conditional/if-open.directive.mjs +14 -23
- package/esm2020/utils/focus/focus-on-view-init/focus-on-view-init.mjs +2 -2
- package/esm2020/utils/focus/focus-trap/index.mjs +7 -0
- package/esm2020/utils/focus/focus-trap/standalone-cdk-trap-focus.directive.mjs +19 -0
- package/esm2020/utils/focus/focus.service.mjs +1 -1
- package/esm2020/utils/focus/focusable-item/basic-focusable-item.service.mjs +1 -1
- package/esm2020/utils/focus/focusable-item/focusable-item.mjs +1 -1
- package/esm2020/utils/focus/key-focus/key-focus-item.mjs +1 -1
- package/esm2020/utils/focus/key-focus/key-focus.mjs +39 -35
- package/esm2020/utils/focus/key-focus/roving-tabindex.mjs +4 -4
- package/esm2020/utils/host-wrapping/host-wrapper.mjs +1 -1
- package/esm2020/utils/i18n/common-strings.default.mjs +2 -1
- package/esm2020/utils/i18n/common-strings.interface.mjs +1 -1
- package/esm2020/utils/i18n/common-strings.service.mjs +7 -7
- package/esm2020/utils/index.mjs +2 -1
- package/esm2020/utils/loading/loading.mjs +1 -1
- package/esm2020/utils/popover/index.mjs +2 -1
- package/esm2020/utils/popover/popover-close-button.mjs +2 -2
- package/esm2020/utils/popover/popover-content.mjs +17 -22
- package/esm2020/utils/popover/popover-host.directive.mjs +5 -5
- package/esm2020/utils/popover/popover-open-close-button.mjs +2 -2
- package/esm2020/utils/popover/providers/popover-events.service.mjs +24 -42
- package/esm2020/utils/popover/providers/popover-position.service.mjs +1 -7
- package/esm2020/utils/popover/providers/popover-toggle.service.mjs +14 -16
- package/esm2020/wizard/heading-level.mjs +7 -0
- package/esm2020/wizard/index.mjs +3 -2
- package/esm2020/wizard/providers/button-hub.service.mjs +1 -1
- package/esm2020/wizard/providers/header-actions.service.mjs +1 -3
- package/esm2020/wizard/providers/page-collection.service.mjs +30 -32
- package/esm2020/wizard/providers/wizard-navigation.service.mjs +52 -52
- package/esm2020/wizard/wizard-button.mjs +10 -10
- package/esm2020/wizard/wizard-header-action.mjs +1 -1
- package/esm2020/wizard/wizard-page-title.mjs +7 -4
- package/esm2020/wizard/wizard-page.mjs +92 -122
- package/esm2020/wizard/wizard-stepnav-item.mjs +6 -6
- package/esm2020/wizard/wizard-title.mjs +21 -0
- package/esm2020/wizard/wizard.mjs +72 -59
- package/esm2020/wizard/wizard.module.mjs +5 -5
- package/fesm2015/clr-angular.mjs +2352 -2408
- package/fesm2015/clr-angular.mjs.map +1 -1
- package/fesm2020/clr-angular.mjs +2358 -2408
- package/fesm2020/clr-angular.mjs.map +1 -1
- package/forms/checkbox/checkbox-container.d.ts +2 -2
- package/forms/combobox/combobox.d.ts +30 -28
- package/forms/combobox/option-items.directive.d.ts +2 -2
- package/forms/combobox/option-selected.directive.d.ts +1 -1
- package/forms/combobox/option.d.ts +5 -5
- package/forms/combobox/options.d.ts +6 -6
- package/forms/combobox/providers/combobox-focus-handler.service.d.ts +9 -9
- package/forms/combobox/providers/option-selection.service.d.ts +6 -5
- package/forms/common/abstract-container.d.ts +6 -9
- package/forms/common/form.d.ts +3 -3
- package/forms/common/if-control-state/abstract-if-state.d.ts +1 -1
- package/forms/common/if-control-state/if-control-state.service.d.ts +2 -2
- package/forms/common/label.d.ts +3 -3
- package/forms/common/providers/container-id.service.d.ts +1 -1
- package/forms/common/providers/control-id.service.d.ts +1 -1
- package/forms/common/providers/layout.service.d.ts +2 -2
- package/forms/common/providers/ng-control.service.d.ts +2 -2
- package/forms/common/wrapped-control.d.ts +10 -10
- package/forms/datalist/datalist-input.d.ts +1 -1
- package/forms/datalist/datalist.d.ts +2 -2
- package/forms/datalist/providers/datalist-id.service.d.ts +1 -1
- package/forms/datepicker/calendar.d.ts +13 -13
- package/forms/datepicker/date-container.d.ts +5 -5
- package/forms/datepicker/date-input.d.ts +7 -7
- package/forms/datepicker/day.d.ts +1 -1
- package/forms/datepicker/daypicker.d.ts +8 -8
- package/forms/datepicker/model/calendar-view.model.d.ts +5 -5
- package/forms/datepicker/model/calendar.model.d.ts +5 -5
- package/forms/datepicker/model/day.model.d.ts +1 -1
- package/forms/datepicker/model/year-range.model.d.ts +10 -10
- package/forms/datepicker/monthpicker.d.ts +9 -9
- package/forms/datepicker/providers/date-form-control.service.d.ts +2 -2
- package/forms/datepicker/providers/date-io.service.d.ts +3 -3
- package/forms/datepicker/providers/date-navigation.service.d.ts +21 -24
- package/forms/datepicker/providers/datepicker-enabled.service.d.ts +1 -1
- package/forms/datepicker/providers/locale-helper.service.d.ts +1 -1
- package/forms/datepicker/providers/view-manager.service.d.ts +1 -1
- package/forms/datepicker/yearpicker.d.ts +10 -10
- package/forms/password/password-container.d.ts +2 -2
- package/forms/radio/radio-container.d.ts +2 -2
- package/forms/range/range-container.d.ts +2 -2
- package/layout/nav/nav-level.d.ts +10 -14
- package/layout/nav/providers/responsive-navigation.service.d.ts +1 -1
- package/layout/tabs/providers/tabs.service.d.ts +3 -3
- package/layout/tabs/tab-content.d.ts +4 -4
- package/layout/tabs/tab-link.directive.d.ts +6 -6
- package/layout/tabs/tab.d.ts +1 -1
- package/layout/tabs/tabs.d.ts +14 -14
- package/layout/vertical-nav/providers/vertical-nav.service.d.ts +3 -3
- package/layout/vertical-nav/vertical-nav-group.d.ts +8 -8
- package/layout/vertical-nav/vertical-nav.d.ts +4 -4
- package/package.json +4 -4
- package/popover/common/abstract-popover.d.ts +9 -9
- package/popover/common/popover.d.ts +2 -2
- package/popover/dropdown/dropdown-item.d.ts +2 -2
- package/popover/dropdown/dropdown-menu.d.ts +2 -2
- package/popover/dropdown/dropdown.d.ts +2 -2
- package/popover/dropdown/providers/dropdown-focus-handler.service.d.ts +15 -15
- package/popover/signpost/providers/signpost-id.service.d.ts +1 -1
- package/popover/signpost/signpost-content.d.ts +9 -9
- package/popover/signpost/signpost-trigger.d.ts +3 -3
- package/popover/signpost/signpost.d.ts +2 -2
- package/popover/tooltip/providers/tooltip-id.service.d.ts +1 -1
- package/popover/tooltip/tooltip-content.d.ts +3 -3
- package/popover/tooltip/tooltip.d.ts +1 -1
- package/progress/progress-bars/progress-bar.d.ts +24 -29
- package/progress/spinner/spinner.d.ts +4 -11
- package/timeline/timeline-step.d.ts +2 -2
- package/utils/chocolate/oompa-loompa.d.ts +2 -2
- package/utils/chocolate/willy-wonka.d.ts +1 -1
- package/utils/conditional/if-active.directive.d.ts +12 -21
- package/utils/conditional/if-active.service.d.ts +2 -9
- package/utils/conditional/if-expanded.directive.d.ts +5 -5
- package/utils/conditional/if-expanded.service.d.ts +3 -3
- package/utils/conditional/if-open.directive.d.ts +10 -19
- package/utils/focus/focus-on-view-init/focus-on-view-init.d.ts +2 -2
- package/utils/focus/focus-trap/index.d.ts +1 -0
- package/utils/focus/focus-trap/standalone-cdk-trap-focus.directive.d.ts +6 -0
- package/utils/focus/focus.service.d.ts +2 -2
- package/utils/focus/focusable-item/basic-focusable-item.service.d.ts +1 -1
- package/utils/focus/focusable-item/focusable-item.d.ts +3 -3
- package/utils/focus/key-focus/key-focus-item.d.ts +1 -1
- package/utils/focus/key-focus/key-focus.d.ts +13 -9
- package/utils/focus/key-focus/roving-tabindex.d.ts +2 -2
- package/utils/host-wrapping/host-wrapper.d.ts +1 -1
- package/utils/i18n/common-strings.interface.d.ts +4 -0
- package/utils/i18n/common-strings.service.d.ts +4 -4
- package/utils/index.d.ts +1 -0
- package/utils/loading/loading.d.ts +1 -1
- package/utils/popover/index.d.ts +1 -0
- package/utils/popover/popover-close-button.d.ts +1 -1
- package/utils/popover/popover-content.d.ts +6 -6
- package/utils/popover/popover-host.directive.d.ts +3 -3
- package/utils/popover/popover-open-close-button.d.ts +1 -1
- package/utils/popover/providers/popover-events.service.d.ts +9 -15
- package/utils/popover/providers/popover-position.service.d.ts +3 -5
- package/utils/popover/providers/popover-toggle.service.d.ts +5 -9
- package/wizard/heading-level.d.ts +1 -0
- package/wizard/index.d.ts +2 -1
- package/wizard/providers/button-hub.service.d.ts +5 -5
- package/wizard/providers/header-actions.service.d.ts +1 -1
- package/wizard/providers/page-collection.service.d.ts +21 -21
- package/wizard/providers/wizard-navigation.service.d.ts +90 -90
- package/wizard/wizard-button.d.ts +1 -1
- package/wizard/wizard-header-action.d.ts +1 -1
- package/wizard/wizard-page-title.d.ts +3 -1
- package/wizard/wizard-page.d.ts +164 -194
- package/wizard/wizard-stepnav-item.d.ts +1 -1
- package/wizard/wizard-title.d.ts +7 -0
- package/wizard/wizard.d.ts +64 -56
- package/wizard/wizard.module.d.ts +2 -2
- package/esm2020/wizard/wizard-custom-tags.mjs +0 -18
- package/wizard/wizard-custom-tags.d.ts +0 -5
package/wizard/wizard-page.d.ts
CHANGED
|
@@ -22,76 +22,27 @@ export declare class ClrWizardPage implements OnInit {
|
|
|
22
22
|
pageCollection: PageCollectionService;
|
|
23
23
|
buttonService: ButtonHubService;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
|
-
*
|
|
27
|
-
* @memberof WizardPage
|
|
28
|
-
*/
|
|
29
|
-
constructor(navService: WizardNavigationService, pageCollection: PageCollectionService, buttonService: ButtonHubService);
|
|
30
|
-
/**
|
|
31
|
-
* Contains a reference to the page title which is used for a number
|
|
32
|
-
* of different tasks for display in the wizard.
|
|
33
|
-
*
|
|
34
|
-
* @memberof WizardPage
|
|
35
|
-
*
|
|
36
|
-
*/
|
|
37
|
-
pageTitle: ClrWizardPageTitle;
|
|
38
|
-
/**
|
|
39
|
-
* Contains a reference to the desired title for the page's step in the
|
|
40
|
-
* navigation on the left side of the wizard. Can be projected to change the
|
|
41
|
-
* navigation link's text.
|
|
42
|
-
*
|
|
43
|
-
* If not defined, then ClrWizardPage.pageTitle will be displayed in the stepnav.
|
|
44
|
-
*
|
|
45
|
-
* @memberof WizardPage
|
|
46
|
-
*
|
|
47
|
-
*/
|
|
48
|
-
pageNavTitle: ClrWizardPageNavTitle;
|
|
49
|
-
/**
|
|
50
|
-
* Contains a reference to the buttons defined within the page. If not defined,
|
|
51
|
-
* the wizard defaults to the set of buttons defined as a direct child of the
|
|
52
|
-
* wizard.
|
|
53
|
-
*
|
|
54
|
-
* @memberof WizardPage
|
|
55
|
-
*
|
|
56
|
-
*/
|
|
57
|
-
_buttons: ClrWizardPageButtons;
|
|
58
|
-
/**
|
|
59
|
-
* Contains a reference to the header actions defined within the page. If not defined,
|
|
60
|
-
* the wizard defaults to the set of header actions defined as a direct child of the
|
|
61
|
-
* wizard.
|
|
62
|
-
*
|
|
63
|
-
* @memberof WizardPage
|
|
64
|
-
*
|
|
65
|
-
*/
|
|
66
|
-
_headerActions: ClrWizardPageHeaderActions;
|
|
67
|
-
/**
|
|
68
|
-
*
|
|
69
|
-
* @memberof WizardPage
|
|
70
|
-
*
|
|
71
|
-
*/
|
|
72
|
-
private _nextStepDisabled;
|
|
73
|
-
/**
|
|
74
|
-
* A getter that tells whether or not the wizard should be allowed
|
|
75
|
-
* to move to the next page.
|
|
76
|
-
*
|
|
77
|
-
* Useful for in-page validation because it prevents forward navigation
|
|
78
|
-
* and visibly disables the next button.
|
|
25
|
+
* An input value that is used internally to generate the ClrWizardPage ID as
|
|
26
|
+
* well as the step nav item ID.
|
|
79
27
|
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
82
|
-
*
|
|
28
|
+
* Typed as any because it should be able to accept numbers as well as
|
|
29
|
+
* strings. Passing an index for wizard whose pages are created with an
|
|
30
|
+
* ngFor loop is a common use case.
|
|
83
31
|
*
|
|
84
32
|
* @memberof WizardPage
|
|
85
33
|
*
|
|
86
34
|
*/
|
|
87
|
-
|
|
35
|
+
_id: any;
|
|
88
36
|
/**
|
|
89
|
-
*
|
|
37
|
+
* Overrides all actions from the page level, so you can use an alternate function for
|
|
38
|
+
* validation or data-munging with a ClrWizardPage.onCommit (clrWizardPageOnCommit output),
|
|
39
|
+
* ClrWizardPage.onCancel (clrWizardPageOnCancel output), or one
|
|
40
|
+
* of the granular page-level button click event emitters.
|
|
90
41
|
*
|
|
91
42
|
* @memberof WizardPage
|
|
92
43
|
*
|
|
93
44
|
*/
|
|
94
|
-
|
|
45
|
+
preventDefault: boolean | string;
|
|
95
46
|
/**
|
|
96
47
|
* Emits when the value of ClrWizardPage.nextStepDisabled changes.
|
|
97
48
|
* Should emit the new value of nextStepDisabled.
|
|
@@ -100,34 +51,6 @@ export declare class ClrWizardPage implements OnInit {
|
|
|
100
51
|
*
|
|
101
52
|
*/
|
|
102
53
|
nextStepDisabledChange: EventEmitter<boolean>;
|
|
103
|
-
/**
|
|
104
|
-
*
|
|
105
|
-
* @memberof WizardPage
|
|
106
|
-
*
|
|
107
|
-
*/
|
|
108
|
-
private _previousStepDisabled;
|
|
109
|
-
/**
|
|
110
|
-
* A getter that tells whether or not the wizard should be allowed
|
|
111
|
-
* to move to the previous page.
|
|
112
|
-
*
|
|
113
|
-
* Useful for in-page validation because it prevents backward navigation
|
|
114
|
-
* and visibly disables the previous button.
|
|
115
|
-
*
|
|
116
|
-
* Does not require that you re-implement navigation routines like you
|
|
117
|
-
* would if you were using ClrWizardPage.preventDefault or
|
|
118
|
-
* Wizard.preventDefault.
|
|
119
|
-
*
|
|
120
|
-
* @memberof WizardPage
|
|
121
|
-
*
|
|
122
|
-
*/
|
|
123
|
-
get previousStepDisabled(): boolean;
|
|
124
|
-
/**
|
|
125
|
-
* Sets whether the page should allow backward navigation.
|
|
126
|
-
*
|
|
127
|
-
* @memberof WizardPage
|
|
128
|
-
*
|
|
129
|
-
*/
|
|
130
|
-
set previousStepDisabled(val: boolean);
|
|
131
54
|
/**
|
|
132
55
|
* Emits when the value of ClrWizardPage.previousStepDisabled changes.
|
|
133
56
|
* Should emit the new value of previousStepDisabled.
|
|
@@ -136,96 +59,12 @@ export declare class ClrWizardPage implements OnInit {
|
|
|
136
59
|
*
|
|
137
60
|
*/
|
|
138
61
|
previousStepDisabledChange: EventEmitter<boolean>;
|
|
139
|
-
/**
|
|
140
|
-
*
|
|
141
|
-
* @memberof WizardPage
|
|
142
|
-
*
|
|
143
|
-
*/
|
|
144
|
-
private _hasError;
|
|
145
|
-
/**
|
|
146
|
-
* A getter that tells whether or not the page has an error.
|
|
147
|
-
*
|
|
148
|
-
* @memberof WizardPage
|
|
149
|
-
*
|
|
150
|
-
*/
|
|
151
|
-
get hasError(): boolean;
|
|
152
|
-
/**
|
|
153
|
-
* Sets whether the page has an error and also resolve the "falsy" value. The
|
|
154
|
-
* current logic treat a "0" or an empty string as false and likewise will treat any
|
|
155
|
-
* "truthy" value as true.
|
|
156
|
-
*
|
|
157
|
-
* @memberof WizardPage
|
|
158
|
-
*
|
|
159
|
-
*/
|
|
160
|
-
set hasError(val: boolean);
|
|
161
|
-
/**
|
|
162
|
-
* Overrides all actions from the page level, so you can use an alternate function for
|
|
163
|
-
* validation or data-munging with a ClrWizardPage.onCommit (clrWizardPageOnCommit output),
|
|
164
|
-
* ClrWizardPage.onCancel (clrWizardPageOnCancel output), or one
|
|
165
|
-
* of the granular page-level button click event emitters.
|
|
166
|
-
*
|
|
167
|
-
* @memberof WizardPage
|
|
168
|
-
*
|
|
169
|
-
*/
|
|
170
|
-
preventDefault: boolean | string;
|
|
171
|
-
/**
|
|
172
|
-
*
|
|
173
|
-
* @memberof WizardPage
|
|
174
|
-
*
|
|
175
|
-
*/
|
|
176
|
-
private _stopCancel;
|
|
177
|
-
/**
|
|
178
|
-
* A getter that retrieves whether the page is preventing the cancel action.
|
|
179
|
-
*
|
|
180
|
-
* @memberof WizardPage
|
|
181
|
-
*
|
|
182
|
-
*/
|
|
183
|
-
get stopCancel(): boolean;
|
|
184
|
-
/**
|
|
185
|
-
* Overrides the cancel action from the page level. Allows you to use an
|
|
186
|
-
* alternate function for validation or data-munging before cancelling the
|
|
187
|
-
* wizard when combined with the ClrWizardPage.onCancel
|
|
188
|
-
* (the clrWizardPageOnCancel output).
|
|
189
|
-
*
|
|
190
|
-
* Requires that you manually close the wizard from your host component,
|
|
191
|
-
* usually with a call to Wizard.forceNext() or wizard.next();
|
|
192
|
-
*
|
|
193
|
-
* @memberof ClrWizardPage
|
|
194
|
-
*/
|
|
195
|
-
set stopCancel(val: boolean);
|
|
196
62
|
/**
|
|
197
63
|
*
|
|
198
64
|
* @memberof WizardPage
|
|
199
65
|
*
|
|
200
66
|
*/
|
|
201
67
|
stopCancelChange: EventEmitter<boolean>;
|
|
202
|
-
/**
|
|
203
|
-
*
|
|
204
|
-
* @memberof WizardPage
|
|
205
|
-
*
|
|
206
|
-
*/
|
|
207
|
-
private _stopNext;
|
|
208
|
-
/**
|
|
209
|
-
* A getter that tells you whether the page is preventing the next action.
|
|
210
|
-
*
|
|
211
|
-
* @memberof WizardPage
|
|
212
|
-
*
|
|
213
|
-
*/
|
|
214
|
-
get stopNext(): boolean;
|
|
215
|
-
/**
|
|
216
|
-
* Overrides forward navigation from the page level. Allows you to use an
|
|
217
|
-
* alternate function for validation or data-munging before moving the
|
|
218
|
-
* wizard to the next pagewhen combined with the ClrWizardPage.onCommit
|
|
219
|
-
* (clrWizardPageOnCommit) or ClrWizardPage.nextButtonClicked
|
|
220
|
-
* (clrWizardPageNext) outputs.
|
|
221
|
-
*
|
|
222
|
-
* Requires that you manually tell the wizard to navigate forward from
|
|
223
|
-
* the hostComponent, usually with a call to Wizard.forceNext() or
|
|
224
|
-
* wizard.next();
|
|
225
|
-
*
|
|
226
|
-
* @memberof ClrWizardPage
|
|
227
|
-
*/
|
|
228
|
-
set stopNext(val: boolean);
|
|
229
68
|
/**
|
|
230
69
|
* An event emitter carried over from a legacy version of ClrWizardPage.
|
|
231
70
|
* Fires an event on ClrWizardPage whenever the next or finish buttons
|
|
@@ -362,17 +201,154 @@ export declare class ClrWizardPage implements OnInit {
|
|
|
362
201
|
primaryButtonClicked: EventEmitter<string>;
|
|
363
202
|
customButtonClicked: EventEmitter<string>;
|
|
364
203
|
/**
|
|
365
|
-
*
|
|
366
|
-
*
|
|
204
|
+
* Contains a reference to the page title which is used for a number
|
|
205
|
+
* of different tasks for display in the wizard.
|
|
367
206
|
*
|
|
368
|
-
*
|
|
369
|
-
*
|
|
370
|
-
|
|
207
|
+
* @memberof WizardPage
|
|
208
|
+
*
|
|
209
|
+
*/
|
|
210
|
+
pageTitle: ClrWizardPageTitle;
|
|
211
|
+
/**
|
|
212
|
+
* Contains a reference to the desired title for the page's step in the
|
|
213
|
+
* navigation on the left side of the wizard. Can be projected to change the
|
|
214
|
+
* navigation link's text.
|
|
215
|
+
*
|
|
216
|
+
* If not defined, then ClrWizardPage.pageTitle will be displayed in the stepnav.
|
|
371
217
|
*
|
|
372
218
|
* @memberof WizardPage
|
|
373
219
|
*
|
|
374
220
|
*/
|
|
375
|
-
|
|
221
|
+
pageNavTitle: ClrWizardPageNavTitle;
|
|
222
|
+
/**
|
|
223
|
+
* Contains a reference to the buttons defined within the page. If not defined,
|
|
224
|
+
* the wizard defaults to the set of buttons defined as a direct child of the
|
|
225
|
+
* wizard.
|
|
226
|
+
*
|
|
227
|
+
* @memberof WizardPage
|
|
228
|
+
*
|
|
229
|
+
*/
|
|
230
|
+
_buttons: ClrWizardPageButtons;
|
|
231
|
+
/**
|
|
232
|
+
* Contains a reference to the header actions defined within the page. If not defined,
|
|
233
|
+
* the wizard defaults to the set of header actions defined as a direct child of the
|
|
234
|
+
* wizard.
|
|
235
|
+
*
|
|
236
|
+
* @memberof WizardPage
|
|
237
|
+
*
|
|
238
|
+
*/
|
|
239
|
+
_headerActions: ClrWizardPageHeaderActions;
|
|
240
|
+
/**
|
|
241
|
+
*
|
|
242
|
+
* @memberof WizardPage
|
|
243
|
+
*
|
|
244
|
+
*/
|
|
245
|
+
private _nextStepDisabled;
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @memberof WizardPage
|
|
249
|
+
*
|
|
250
|
+
*/
|
|
251
|
+
private _previousStepDisabled;
|
|
252
|
+
/**
|
|
253
|
+
*
|
|
254
|
+
* @memberof WizardPage
|
|
255
|
+
*
|
|
256
|
+
*/
|
|
257
|
+
private _hasError;
|
|
258
|
+
/**
|
|
259
|
+
*
|
|
260
|
+
* @memberof WizardPage
|
|
261
|
+
*
|
|
262
|
+
*/
|
|
263
|
+
private _stopCancel;
|
|
264
|
+
/**
|
|
265
|
+
*
|
|
266
|
+
* @memberof WizardPage
|
|
267
|
+
*
|
|
268
|
+
*/
|
|
269
|
+
private _stopNext;
|
|
270
|
+
/**
|
|
271
|
+
*
|
|
272
|
+
* @memberof WizardPage
|
|
273
|
+
*
|
|
274
|
+
*/
|
|
275
|
+
private _complete;
|
|
276
|
+
/**
|
|
277
|
+
* Creates an instance of ClrWizardPage.
|
|
278
|
+
*
|
|
279
|
+
* @memberof WizardPage
|
|
280
|
+
*/
|
|
281
|
+
constructor(navService: WizardNavigationService, pageCollection: PageCollectionService, buttonService: ButtonHubService);
|
|
282
|
+
/**
|
|
283
|
+
* A property that tells whether or not the wizard should be allowed
|
|
284
|
+
* to move to the next page.
|
|
285
|
+
*
|
|
286
|
+
* Useful for in-page validation because it prevents forward navigation
|
|
287
|
+
* and visibly disables the next button.
|
|
288
|
+
*
|
|
289
|
+
* Does not require that you re-implement navigation routines like you
|
|
290
|
+
* would if you were using ClrWizardPage.preventDefault or
|
|
291
|
+
* Wizard.preventDefault.
|
|
292
|
+
*
|
|
293
|
+
* @memberof WizardPage
|
|
294
|
+
*
|
|
295
|
+
*/
|
|
296
|
+
get nextStepDisabled(): boolean;
|
|
297
|
+
set nextStepDisabled(val: boolean);
|
|
298
|
+
/**
|
|
299
|
+
* A property that tells whether or not the wizard should be allowed
|
|
300
|
+
* to move to the previous page.
|
|
301
|
+
*
|
|
302
|
+
* Useful for in-page validation because it prevents backward navigation
|
|
303
|
+
* and visibly disables the previous button.
|
|
304
|
+
*
|
|
305
|
+
* Does not require that you re-implement navigation routines like you
|
|
306
|
+
* would if you were using ClrWizardPage.preventDefault or
|
|
307
|
+
* Wizard.preventDefault.
|
|
308
|
+
*
|
|
309
|
+
* @memberof WizardPage
|
|
310
|
+
*
|
|
311
|
+
*/
|
|
312
|
+
get previousStepDisabled(): boolean;
|
|
313
|
+
set previousStepDisabled(val: boolean);
|
|
314
|
+
/**
|
|
315
|
+
* Whether the page has an error and also resolve the "falsy" value. The
|
|
316
|
+
* current logic treat a "0" or an empty string as false and likewise will treat any
|
|
317
|
+
* "truthy" value as true.
|
|
318
|
+
*
|
|
319
|
+
* @memberof WizardPage
|
|
320
|
+
*
|
|
321
|
+
*/
|
|
322
|
+
get hasError(): boolean;
|
|
323
|
+
set hasError(val: boolean);
|
|
324
|
+
/**
|
|
325
|
+
* Overrides the cancel action from the page level. Allows you to use an
|
|
326
|
+
* alternate function for validation or data-munging before cancelling the
|
|
327
|
+
* wizard when combined with the ClrWizardPage.onCancel
|
|
328
|
+
* (the clrWizardPageOnCancel output).
|
|
329
|
+
*
|
|
330
|
+
* Requires that you manually close the wizard from your host component,
|
|
331
|
+
* usually with a call to Wizard.forceNext() or wizard.next();
|
|
332
|
+
*
|
|
333
|
+
* @memberof ClrWizardPage
|
|
334
|
+
*/
|
|
335
|
+
get stopCancel(): boolean;
|
|
336
|
+
set stopCancel(val: boolean);
|
|
337
|
+
/**
|
|
338
|
+
* Overrides forward navigation from the page level. Allows you to use an
|
|
339
|
+
* alternate function for validation or data-munging before moving the
|
|
340
|
+
* wizard to the next pagewhen combined with the ClrWizardPage.onCommit
|
|
341
|
+
* (clrWizardPageOnCommit) or ClrWizardPage.nextButtonClicked
|
|
342
|
+
* (clrWizardPageNext) outputs.
|
|
343
|
+
*
|
|
344
|
+
* Requires that you manually tell the wizard to navigate forward from
|
|
345
|
+
* the hostComponent, usually with a call to Wizard.forceNext() or
|
|
346
|
+
* wizard.next();
|
|
347
|
+
*
|
|
348
|
+
* @memberof ClrWizardPage
|
|
349
|
+
*/
|
|
350
|
+
get stopNext(): boolean;
|
|
351
|
+
set stopNext(val: boolean);
|
|
376
352
|
/**
|
|
377
353
|
* A read-only getter that generates an ID string for the wizard page from
|
|
378
354
|
* either the value passed to the ClrWizardPage "id" input or a wizard page
|
|
@@ -395,12 +371,6 @@ export declare class ClrWizardPage implements OnInit {
|
|
|
395
371
|
*
|
|
396
372
|
*/
|
|
397
373
|
get readyToComplete(): boolean;
|
|
398
|
-
/**
|
|
399
|
-
*
|
|
400
|
-
* @memberof WizardPage
|
|
401
|
-
*
|
|
402
|
-
*/
|
|
403
|
-
private _complete;
|
|
404
374
|
/**
|
|
405
375
|
* A page is marked as completed if it is both readyToComplete and completed,
|
|
406
376
|
* as in the next or finish action has been executed while this page was current.
|
|
@@ -492,17 +462,14 @@ export declare class ClrWizardPage implements OnInit {
|
|
|
492
462
|
*/
|
|
493
463
|
get hasButtons(): boolean;
|
|
494
464
|
/**
|
|
495
|
-
*
|
|
496
|
-
* wizard. Bypasses all checks but still emits the ClrWizardPage.onLoad
|
|
497
|
-
* (clrWizardPageOnLoad) output.
|
|
465
|
+
* A read-only getter that returns the id used by the step nav item associated with the page.
|
|
498
466
|
*
|
|
499
|
-
*
|
|
500
|
-
* in Wizard.
|
|
467
|
+
* ClrWizardPage needs this ID string for aria information.
|
|
501
468
|
*
|
|
502
469
|
* @memberof WizardPage
|
|
503
470
|
*
|
|
504
471
|
*/
|
|
505
|
-
|
|
472
|
+
get stepItemId(): string;
|
|
506
473
|
/**
|
|
507
474
|
* Links the nav service and establishes the current page if one is not defined.
|
|
508
475
|
*
|
|
@@ -511,14 +478,17 @@ export declare class ClrWizardPage implements OnInit {
|
|
|
511
478
|
*/
|
|
512
479
|
ngOnInit(): void;
|
|
513
480
|
/**
|
|
514
|
-
*
|
|
481
|
+
* Uses the nav service to make the ClrWizardPage the current page in the
|
|
482
|
+
* wizard. Bypasses all checks but still emits the ClrWizardPage.onLoad
|
|
483
|
+
* (clrWizardPageOnLoad) output.
|
|
515
484
|
*
|
|
516
|
-
*
|
|
485
|
+
* In most cases, it is better to use the default navigation functions
|
|
486
|
+
* in Wizard.
|
|
517
487
|
*
|
|
518
488
|
* @memberof WizardPage
|
|
519
489
|
*
|
|
520
490
|
*/
|
|
521
|
-
|
|
491
|
+
makeCurrent(): void;
|
|
522
492
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrWizardPage, never>;
|
|
523
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClrWizardPage, "clr-wizard-page", never, { "
|
|
493
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrWizardPage, "clr-wizard-page", never, { "_id": "id"; "preventDefault": "clrWizardPagePreventDefault"; "nextStepDisabled": "clrWizardPageNextDisabled"; "previousStepDisabled": "clrWizardPagePreviousDisabled"; "hasError": "clrWizardPageHasError"; "stopCancel": "clrWizardPagePreventDefaultCancel"; "stopNext": "clrWizardPagePreventDefaultNext"; }, { "nextStepDisabledChange": "clrWizardPageNextDisabledChange"; "previousStepDisabledChange": "clrWizardPagePreviousDisabledChange"; "stopCancelChange": "clrWizardPagePreventDefaultCancelChange"; "onCommit": "clrWizardPageOnCommit"; "onLoad": "clrWizardPageOnLoad"; "pageOnCancel": "clrWizardPageOnCancel"; "finishButtonClicked": "clrWizardPageFinish"; "previousButtonClicked": "clrWizardPagePrevious"; "nextButtonClicked": "clrWizardPageNext"; "dangerButtonClicked": "clrWizardPageDanger"; "primaryButtonClicked": "clrWizardPagePrimary"; "customButtonClicked": "clrWizardPageCustomButton"; }, ["pageTitle", "pageNavTitle", "_buttons", "_headerActions"], ["*"], false, never>;
|
|
524
494
|
}
|
|
@@ -9,7 +9,6 @@ export declare class ClrWizardStepnavItem {
|
|
|
9
9
|
commonStrings: ClrCommonStringsService;
|
|
10
10
|
page: ClrWizardPage;
|
|
11
11
|
constructor(navService: WizardNavigationService, pageCollection: PageCollectionService, commonStrings: ClrCommonStringsService);
|
|
12
|
-
private pageGuard;
|
|
13
12
|
get id(): string;
|
|
14
13
|
get stepAriaCurrent(): string;
|
|
15
14
|
get isDisabled(): boolean;
|
|
@@ -18,6 +17,7 @@ export declare class ClrWizardStepnavItem {
|
|
|
18
17
|
get hasError(): boolean;
|
|
19
18
|
get canNavigate(): boolean;
|
|
20
19
|
click(): void;
|
|
20
|
+
private pageGuard;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrWizardStepnavItem, never>;
|
|
22
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<ClrWizardStepnavItem, "[clr-wizard-stepnav-item]", never, { "page": "page"; }, {}, never, ["*"], false, never>;
|
|
23
23
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { HeadingLevel } from './heading-level';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ClrWizardTitle {
|
|
4
|
+
headingLevel: HeadingLevel;
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClrWizardTitle, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ClrWizardTitle, "clr-wizard-title", never, { "headingLevel": "clrHeadingLevel"; }, {}, never, never, false, never>;
|
|
7
|
+
}
|
package/wizard/wizard.d.ts
CHANGED
|
@@ -1,17 +1,24 @@
|
|
|
1
1
|
import { AfterContentInit, DoCheck, ElementRef, EventEmitter, IterableDiffers, OnDestroy, QueryList } from '@angular/core';
|
|
2
|
+
import { ClrCommonStringsService } from '../utils';
|
|
2
3
|
import { ButtonHubService } from './providers/button-hub.service';
|
|
3
4
|
import { HeaderActionService } from './providers/header-actions.service';
|
|
4
5
|
import { PageCollectionService } from './providers/page-collection.service';
|
|
5
6
|
import { WizardNavigationService } from './providers/wizard-navigation.service';
|
|
6
7
|
import { ClrWizardHeaderAction } from './wizard-header-action';
|
|
7
8
|
import { ClrWizardPage } from './wizard-page';
|
|
9
|
+
import { ClrWizardTitle } from './wizard-title';
|
|
8
10
|
import * as i0 from "@angular/core";
|
|
9
11
|
export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
|
|
10
12
|
private platformId;
|
|
13
|
+
private commonStrings;
|
|
11
14
|
navService: WizardNavigationService;
|
|
12
15
|
pageCollection: PageCollectionService;
|
|
13
16
|
buttonService: ButtonHubService;
|
|
14
17
|
headerActionService: HeaderActionService;
|
|
18
|
+
/**
|
|
19
|
+
* Set the aria-label for the stepnav section of the wizard. Set using `[clrWizardStepnavAriaLabel]` input.
|
|
20
|
+
*/
|
|
21
|
+
stepnavAriaLabel: string;
|
|
15
22
|
/**
|
|
16
23
|
* Set the modal size of the wizard. Set using `[clrWizardSize]` input.
|
|
17
24
|
*/
|
|
@@ -21,14 +28,63 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
|
|
|
21
28
|
* in the top right corner. Set using `[clrWizardClosable]` input.
|
|
22
29
|
*/
|
|
23
30
|
closable: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Emits when the wizard is opened or closed.
|
|
33
|
+
* Listen via `(clrWizardOpenChange)` event.
|
|
34
|
+
*/
|
|
35
|
+
_openChanged: EventEmitter<boolean>;
|
|
36
|
+
/**
|
|
37
|
+
* Emits when the wizard is canceled. Listen via `(clrWizardOnCancel)` event.
|
|
38
|
+
* Can be combined with the `[clrWizardPreventDefaultCancel]` input to create
|
|
39
|
+
* wizard-level custom cancel routines.
|
|
40
|
+
*/
|
|
41
|
+
onCancel: EventEmitter<any>;
|
|
42
|
+
/**
|
|
43
|
+
* Emits when the wizard is completed. Listen via `(clrWizardOnFinish)` event.
|
|
44
|
+
* Can be combined with the `[clrWizardPreventDefaultNext]` input to create
|
|
45
|
+
* wizard-level custom completion routines.
|
|
46
|
+
*/
|
|
47
|
+
wizardFinished: EventEmitter<any>;
|
|
48
|
+
/**
|
|
49
|
+
* Emits when the wizard is reset. Listen via `(clrWizardOnReset)` event.
|
|
50
|
+
*/
|
|
51
|
+
onReset: EventEmitter<any>;
|
|
52
|
+
/**
|
|
53
|
+
* Emits when the current page has changed. Listen via `(clrWizardCurrentPageChanged)` event.
|
|
54
|
+
* output. Useful for non-blocking validation.
|
|
55
|
+
*/
|
|
56
|
+
currentPageChanged: EventEmitter<any>;
|
|
57
|
+
/**
|
|
58
|
+
* Emits when the wizard moves to the next page. Listen via `(clrWizardOnNext)` event.
|
|
59
|
+
* Can be combined with the `[clrWizardPreventDefaultNext]` input to create
|
|
60
|
+
* wizard-level custom navigation routines, which are useful for validation.
|
|
61
|
+
*/
|
|
62
|
+
onMoveNext: EventEmitter<any>;
|
|
63
|
+
/**
|
|
64
|
+
* Emits when the wizard moves to the previous page. Can be useful for validation.
|
|
65
|
+
* Listen via `(clrWizardOnPrevious)` event.
|
|
66
|
+
*/
|
|
67
|
+
onMovePrevious: EventEmitter<any>;
|
|
68
|
+
pageTitle: ElementRef;
|
|
69
|
+
pages: QueryList<ClrWizardPage>;
|
|
70
|
+
headerActions: QueryList<ClrWizardHeaderAction>;
|
|
71
|
+
_open: boolean;
|
|
72
|
+
wizardId: string;
|
|
73
|
+
protected wizardTitle: ClrWizardTitle;
|
|
74
|
+
private _forceForward;
|
|
75
|
+
private _stopNext;
|
|
76
|
+
private _stopCancel;
|
|
77
|
+
private _stopNavigation;
|
|
78
|
+
private _disableStepnav;
|
|
79
|
+
private differ;
|
|
80
|
+
private subscriptions;
|
|
81
|
+
constructor(platformId: any, commonStrings: ClrCommonStringsService, navService: WizardNavigationService, pageCollection: PageCollectionService, buttonService: ButtonHubService, headerActionService: HeaderActionService, differs: IterableDiffers);
|
|
24
82
|
/**
|
|
25
83
|
* Resets page completed states when navigating backwards.
|
|
26
84
|
* Set using `[clrWizardForceForwardNavigation]` input.
|
|
27
85
|
*/
|
|
28
|
-
set forceForward(value: boolean);
|
|
29
86
|
get forceForward(): boolean;
|
|
30
|
-
|
|
31
|
-
_open: boolean;
|
|
87
|
+
set forceForward(value: boolean);
|
|
32
88
|
/**
|
|
33
89
|
* Toggles open/close of the wizard component.
|
|
34
90
|
* Set using the `[clrWizardOpen]` input.
|
|
@@ -40,9 +96,8 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
|
|
|
40
96
|
* will require you to create your own calls to .next() and .finish() in your
|
|
41
97
|
* host component to make the ClrWizard work as expected.
|
|
42
98
|
*/
|
|
43
|
-
set stopNext(value: boolean);
|
|
44
99
|
get stopNext(): boolean;
|
|
45
|
-
|
|
100
|
+
set stopNext(value: boolean);
|
|
46
101
|
/**
|
|
47
102
|
* Prevents ClrWizard from closing when the cancel button or close "X" is clicked.
|
|
48
103
|
* Set using the `[clrWizardPreventDefaultCancel]` input.
|
|
@@ -51,9 +106,8 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
|
|
|
51
106
|
* to make the ClrWizard work as expected. Useful for doing checks or prompts
|
|
52
107
|
* before closing a ClrWizard.
|
|
53
108
|
*/
|
|
54
|
-
set stopCancel(value: boolean);
|
|
55
109
|
get stopCancel(): boolean;
|
|
56
|
-
|
|
110
|
+
set stopCancel(value: boolean);
|
|
57
111
|
/**
|
|
58
112
|
* Prevents ClrWizard from performing any form of navigation away from the current
|
|
59
113
|
* page. Set using the `[clrWizardPreventNavigation]` input.
|
|
@@ -62,9 +116,8 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
|
|
|
62
116
|
* display loading content but not allow the user to execute navigation in
|
|
63
117
|
* the stepnav, close X, or the back, finish, or next buttons.
|
|
64
118
|
*/
|
|
65
|
-
set stopNavigation(value: boolean);
|
|
66
119
|
get stopNavigation(): boolean;
|
|
67
|
-
|
|
120
|
+
set stopNavigation(value: boolean);
|
|
68
121
|
/**
|
|
69
122
|
* Prevents clicks on the links in the stepnav from working.
|
|
70
123
|
* Set using `[clrWizardDisableStepnav]` input.
|
|
@@ -72,57 +125,12 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
|
|
|
72
125
|
* ClrWizard is in a state of completion and you don't want users to be
|
|
73
126
|
* able to jump backwards and change things.
|
|
74
127
|
*/
|
|
75
|
-
set disableStepnav(value: boolean);
|
|
76
128
|
get disableStepnav(): boolean;
|
|
77
|
-
|
|
78
|
-
/**
|
|
79
|
-
* Emits when the wizard is opened or closed.
|
|
80
|
-
* Listen via `(clrWizardOpenChange)` event.
|
|
81
|
-
*/
|
|
82
|
-
_openChanged: EventEmitter<boolean>;
|
|
83
|
-
/**
|
|
84
|
-
* Emits when the wizard is canceled. Listen via `(clrWizardOnCancel)` event.
|
|
85
|
-
* Can be combined with the `[clrWizardPreventDefaultCancel]` input to create
|
|
86
|
-
* wizard-level custom cancel routines.
|
|
87
|
-
*/
|
|
88
|
-
onCancel: EventEmitter<any>;
|
|
89
|
-
/**
|
|
90
|
-
* Emits when the wizard is completed. Listen via `(clrWizardOnFinish)` event.
|
|
91
|
-
* Can be combined with the `[clrWizardPreventDefaultNext]` input to create
|
|
92
|
-
* wizard-level custom completion routines.
|
|
93
|
-
*/
|
|
94
|
-
wizardFinished: EventEmitter<any>;
|
|
95
|
-
/**
|
|
96
|
-
* Emits when the wizard is reset. Listen via `(clrWizardOnReset)` event.
|
|
97
|
-
*/
|
|
98
|
-
onReset: EventEmitter<any>;
|
|
99
|
-
/**
|
|
100
|
-
* Emits when the current page has changed. Listen via `(clrWizardCurrentPageChanged)` event.
|
|
101
|
-
* output. Useful for non-blocking validation.
|
|
102
|
-
*/
|
|
103
|
-
currentPageChanged: EventEmitter<any>;
|
|
104
|
-
/**
|
|
105
|
-
* Emits when the wizard moves to the next page. Listen via `(clrWizardOnNext)` event.
|
|
106
|
-
* Can be combined with the `[clrWizardPreventDefaultNext]` input to create
|
|
107
|
-
* wizard-level custom navigation routines, which are useful for validation.
|
|
108
|
-
*/
|
|
109
|
-
onMoveNext: EventEmitter<any>;
|
|
110
|
-
/**
|
|
111
|
-
* Emits when the wizard moves to the previous page. Can be useful for validation.
|
|
112
|
-
* Listen via `(clrWizardOnPrevious)` event.
|
|
113
|
-
*/
|
|
114
|
-
onMovePrevious: EventEmitter<any>;
|
|
115
|
-
pages: QueryList<ClrWizardPage>;
|
|
116
|
-
headerActions: QueryList<ClrWizardHeaderAction>;
|
|
117
|
-
wizardTitle: ElementRef;
|
|
129
|
+
set disableStepnav(value: boolean);
|
|
118
130
|
get currentPage(): ClrWizardPage;
|
|
119
131
|
set currentPage(page: ClrWizardPage);
|
|
120
132
|
get isLast(): boolean;
|
|
121
133
|
get isFirst(): boolean;
|
|
122
|
-
wizardId: string;
|
|
123
|
-
private differ;
|
|
124
|
-
private subscriptions;
|
|
125
|
-
constructor(platformId: any, navService: WizardNavigationService, pageCollection: PageCollectionService, buttonService: ButtonHubService, headerActionService: HeaderActionService, differs: IterableDiffers);
|
|
126
134
|
ngAfterContentInit(): void;
|
|
127
135
|
ngDoCheck(): void;
|
|
128
136
|
ngOnDestroy(): void;
|
|
@@ -223,5 +231,5 @@ export declare class ClrWizard implements OnDestroy, AfterContentInit, DoCheck {
|
|
|
223
231
|
private updateNavOnPageChanges;
|
|
224
232
|
private emitWizardFinished;
|
|
225
233
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrWizard, never>;
|
|
226
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ClrWizard, "clr-wizard", never, { "size": "clrWizardSize"; "closable": "clrWizardClosable"; "forceForward": "clrWizardForceForwardNavigation"; "clrWizardOpen": "clrWizardOpen"; "stopNext": "clrWizardPreventDefaultNext"; "stopCancel": "clrWizardPreventDefaultCancel"; "stopNavigation": "clrWizardPreventNavigation"; "disableStepnav": "clrWizardDisableStepnav"; }, { "_openChanged": "clrWizardOpenChange"; "onCancel": "clrWizardOnCancel"; "wizardFinished": "clrWizardOnFinish"; "onReset": "clrWizardOnReset"; "currentPageChanged": "clrWizardCurrentPageChanged"; "onMoveNext": "clrWizardOnNext"; "onMovePrevious": "clrWizardOnPrevious"; }, ["pages", "headerActions"], ["clr-wizard-title", "clr-wizard-header-action", "*", "clr-wizard-button"], false, never>;
|
|
234
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClrWizard, "clr-wizard", never, { "stepnavAriaLabel": "clrWizardStepnavAriaLabel"; "size": "clrWizardSize"; "closable": "clrWizardClosable"; "forceForward": "clrWizardForceForwardNavigation"; "clrWizardOpen": "clrWizardOpen"; "stopNext": "clrWizardPreventDefaultNext"; "stopCancel": "clrWizardPreventDefaultCancel"; "stopNavigation": "clrWizardPreventNavigation"; "disableStepnav": "clrWizardDisableStepnav"; }, { "_openChanged": "clrWizardOpenChange"; "onCancel": "clrWizardOnCancel"; "wizardFinished": "clrWizardOnFinish"; "onReset": "clrWizardOnReset"; "currentPageChanged": "clrWizardCurrentPageChanged"; "onMoveNext": "clrWizardOnNext"; "onMovePrevious": "clrWizardOnPrevious"; }, ["wizardTitle", "pages", "headerActions"], ["clr-wizard-title", "clr-wizard-header-action", "*", "clr-wizard-button"], false, never>;
|
|
227
235
|
}
|
|
@@ -5,7 +5,7 @@ import * as i3 from "./wizard-stepnav";
|
|
|
5
5
|
import * as i4 from "./wizard-stepnav-item";
|
|
6
6
|
import * as i5 from "./wizard-button";
|
|
7
7
|
import * as i6 from "./wizard-header-action";
|
|
8
|
-
import * as i7 from "./wizard-
|
|
8
|
+
import * as i7 from "./wizard-title";
|
|
9
9
|
import * as i8 from "./wizard-page-title";
|
|
10
10
|
import * as i9 from "./wizard-page-navtitle";
|
|
11
11
|
import * as i10 from "./wizard-page-buttons";
|
|
@@ -17,6 +17,6 @@ export declare const CLR_WIZARD_DIRECTIVES: any[];
|
|
|
17
17
|
export declare class ClrWizardModule {
|
|
18
18
|
constructor();
|
|
19
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<ClrWizardModule, never>;
|
|
20
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrWizardModule, [typeof i1.ClrWizard, typeof i2.ClrWizardPage, typeof i3.ClrWizardStepnav, typeof i4.ClrWizardStepnavItem, typeof i5.ClrWizardButton, typeof i6.ClrWizardHeaderAction, typeof i7.
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ClrWizardModule, [typeof i1.ClrWizard, typeof i2.ClrWizardPage, typeof i3.ClrWizardStepnav, typeof i4.ClrWizardStepnavItem, typeof i5.ClrWizardButton, typeof i6.ClrWizardHeaderAction, typeof i7.ClrWizardTitle, typeof i8.ClrWizardPageTitle, typeof i9.ClrWizardPageNavTitle, typeof i10.ClrWizardPageButtons, typeof i11.ClrWizardPageHeaderActions], [typeof i12.CommonModule, typeof i13.ClrModalModule, typeof i14.ClrAlertModule], [typeof i1.ClrWizard, typeof i2.ClrWizardPage, typeof i3.ClrWizardStepnav, typeof i4.ClrWizardStepnavItem, typeof i5.ClrWizardButton, typeof i6.ClrWizardHeaderAction, typeof i7.ClrWizardTitle, typeof i8.ClrWizardPageTitle, typeof i9.ClrWizardPageNavTitle, typeof i10.ClrWizardPageButtons, typeof i11.ClrWizardPageHeaderActions]>;
|
|
21
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<ClrWizardModule>;
|
|
22
22
|
}
|