@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,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getAppFromConfig = exports.getConfig = exports.configPath = void 0;
|
|
4
|
-
/**
|
|
5
|
-
* @license
|
|
6
|
-
* Copyright Google Inc. All Rights Reserved.
|
|
7
|
-
*
|
|
8
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
9
|
-
* found in the LICENSE file at https://angular.io/license
|
|
10
|
-
*/
|
|
11
|
-
const schematics_1 = require("@angular-devkit/schematics");
|
|
12
|
-
exports.configPath = '/.angular-cli.json';
|
|
13
|
-
function getConfig(host) {
|
|
14
|
-
const configBuffer = host.read(exports.configPath);
|
|
15
|
-
if (configBuffer === null) {
|
|
16
|
-
throw new schematics_1.SchematicsException('Could not find .angular-cli.json');
|
|
17
|
-
}
|
|
18
|
-
const config = JSON.parse(configBuffer.toString());
|
|
19
|
-
return config;
|
|
20
|
-
}
|
|
21
|
-
exports.getConfig = getConfig;
|
|
22
|
-
function getAppFromConfig(config, appIndexOrName) {
|
|
23
|
-
if (!config.apps) {
|
|
24
|
-
return null;
|
|
25
|
-
}
|
|
26
|
-
if (parseInt(appIndexOrName) >= 0) {
|
|
27
|
-
return config.apps[parseInt(appIndexOrName)];
|
|
28
|
-
}
|
|
29
|
-
return config.apps.filter(app => app.name === appIndexOrName)[0];
|
|
30
|
-
}
|
|
31
|
-
exports.getAppFromConfig = getAppFromConfig;
|
|
32
|
-
//# sourceMappingURL=config.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/config.ts"],"names":[],"mappings":";;;AAAA;;;;;;GAMG;AACH,2DAAuE;AAub1D,QAAA,UAAU,GAAG,oBAAoB,CAAC;AAE/C,SAAgB,SAAS,CAAC,IAAU;IAClC,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,kBAAU,CAAC,CAAC;IAC3C,IAAI,YAAY,KAAK,IAAI,EAAE;QACzB,MAAM,IAAI,gCAAmB,CAAC,kCAAkC,CAAC,CAAC;KACnE;IAED,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC,CAAC;IAEnD,OAAO,MAAM,CAAC;AAChB,CAAC;AATD,8BASC;AAED,SAAgB,gBAAgB,CAAC,MAAiB,EAAE,cAAsB;IACxE,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACb;IAED,IAAI,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE;QACjC,OAAO,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC;KAC9C;IAED,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;AACnE,CAAC;AAVD,4CAUC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
4
|
-
* This software is released under MIT license.
|
|
5
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.findAppModule = void 0;
|
|
9
|
-
const ng_ast_utils_1 = require("@schematics/angular/utility/ng-ast-utils");
|
|
10
|
-
const get_main_path_1 = require("./get-main-path");
|
|
11
|
-
function findAppModule(host, config, projectName) {
|
|
12
|
-
const mainPath = (0, get_main_path_1.getMainPath)(config, projectName);
|
|
13
|
-
const appModulePath = (0, ng_ast_utils_1.getAppModulePath)(host, mainPath);
|
|
14
|
-
return appModulePath;
|
|
15
|
-
}
|
|
16
|
-
exports.findAppModule = findAppModule;
|
|
17
|
-
//# sourceMappingURL=find-app-module.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"find-app-module.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/find-app-module.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAGH,2EAA4E;AAC5E,mDAA8C;AAE9C,SAAgB,aAAa,CAAC,IAAU,EAAE,MAAW,EAAE,WAAmB;IACxE,MAAM,QAAQ,GAAG,IAAA,2BAAW,EAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IAClD,MAAM,aAAa,GAAG,IAAA,+BAAgB,EAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAEvD,OAAO,aAAa,CAAC;AACvB,CAAC;AALD,sCAKC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.getFileContent = void 0;
|
|
4
|
-
function getFileContent(tree, path) {
|
|
5
|
-
const fileEntry = tree.get(path);
|
|
6
|
-
if (!fileEntry) {
|
|
7
|
-
throw new Error(`The file (${path}) does not exist.`);
|
|
8
|
-
}
|
|
9
|
-
return fileEntry.content.toString();
|
|
10
|
-
}
|
|
11
|
-
exports.getFileContent = getFileContent;
|
|
12
|
-
//# sourceMappingURL=get-file-content.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-file-content.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/get-file-content.ts"],"names":[],"mappings":";;;AASA,SAAgB,cAAc,CAAC,IAAU,EAAE,IAAY;IACrD,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAEjC,IAAI,CAAC,SAAS,EAAE;QACd,MAAM,IAAI,KAAK,CAAC,aAAa,IAAI,mBAAmB,CAAC,CAAC;KACvD;IAED,OAAO,SAAS,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;AACtC,CAAC;AARD,wCAQC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
4
|
-
* This software is released under MIT license.
|
|
5
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.getIndexHtmlPath = void 0;
|
|
9
|
-
function getIndexHtmlPath(config, projectName) {
|
|
10
|
-
const project = config.projects[projectName];
|
|
11
|
-
return project.architect.build.options.index;
|
|
12
|
-
}
|
|
13
|
-
exports.getIndexHtmlPath = getIndexHtmlPath;
|
|
14
|
-
//# sourceMappingURL=get-index-html-path.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-index-html-path.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/get-index-html-path.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,SAAgB,gBAAgB,CAAC,MAAW,EAAE,WAAmB;IAC/D,MAAM,OAAO,GAAG,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;IAC7C,OAAO,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;AAC/C,CAAC;AAHD,4CAGC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
4
|
-
* This software is released under MIT license.
|
|
5
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.getJsonFile = void 0;
|
|
9
|
-
const schematics_1 = require("@angular-devkit/schematics");
|
|
10
|
-
const core_1 = require("@angular-devkit/core");
|
|
11
|
-
const getJsonFile = (tree, path) => {
|
|
12
|
-
const file = tree.get(path);
|
|
13
|
-
if (!file) {
|
|
14
|
-
throw new core_1.FileDoesNotExistException(path);
|
|
15
|
-
}
|
|
16
|
-
try {
|
|
17
|
-
const content = JSON.parse(file.content.toString());
|
|
18
|
-
return content;
|
|
19
|
-
}
|
|
20
|
-
catch (e) {
|
|
21
|
-
throw new schematics_1.SchematicsException(`File ${path} could not be parsed!`);
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
exports.getJsonFile = getJsonFile;
|
|
25
|
-
//# sourceMappingURL=get-json-file.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-json-file.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/get-json-file.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAGH,2DAAiE;AACjE,+CAAiE;AAE1D,MAAM,WAAW,GAAG,CAAI,IAAU,EAAE,IAAY,EAAK,EAAE;IAC5D,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAC5B,IAAI,CAAC,IAAI,EAAE;QACT,MAAM,IAAI,gCAAyB,CAAC,IAAI,CAAC,CAAC;KAC3C;IAED,IAAI;QACF,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC;QAEpD,OAAO,OAAY,CAAC;KACrB;IAAC,OAAO,CAAC,EAAE;QACV,MAAM,IAAI,gCAAmB,CAAC,QAAQ,IAAI,uBAAuB,CAAC,CAAC;KACpE;AACH,CAAC,CAAC;AAbW,QAAA,WAAW,eAatB"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
4
|
-
* This software is released under MIT license.
|
|
5
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.getMainPath = void 0;
|
|
9
|
-
function getMainPath(config, projectName) {
|
|
10
|
-
const project = config.projects[projectName];
|
|
11
|
-
return project.architect.build.options.main;
|
|
12
|
-
}
|
|
13
|
-
exports.getMainPath = getMainPath;
|
|
14
|
-
//# sourceMappingURL=get-main-path.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-main-path.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/get-main-path.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,SAAgB,WAAW,CAAC,MAAW,EAAE,WAAmB;IAC1D,MAAM,OAAO,GAAG,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;IAC7C,OAAO,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;AAC9C,CAAC;AAHD,kCAGC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
4
|
-
* This software is released under MIT license.
|
|
5
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.getTypeScriptSourceFile = void 0;
|
|
9
|
-
const ts = require("typescript");
|
|
10
|
-
const schematics_1 = require("@angular-devkit/schematics");
|
|
11
|
-
/**
|
|
12
|
-
* Reads file from given path and returns TypeScript source file.
|
|
13
|
-
* @param host {Tree} The source tree.
|
|
14
|
-
* @param path {String} The path to the file to read. Relative to the root of the tree.
|
|
15
|
-
* */
|
|
16
|
-
function getTypeScriptSourceFile(host, path) {
|
|
17
|
-
const buffer = host.read(path);
|
|
18
|
-
if (!buffer) {
|
|
19
|
-
throw new schematics_1.SchematicsException(`Could not find ${path}!`);
|
|
20
|
-
}
|
|
21
|
-
const content = buffer.toString();
|
|
22
|
-
const sourceFile = ts.createSourceFile(path, content, ts.ScriptTarget.Latest, true);
|
|
23
|
-
return sourceFile;
|
|
24
|
-
}
|
|
25
|
-
exports.getTypeScriptSourceFile = getTypeScriptSourceFile;
|
|
26
|
-
//# sourceMappingURL=get-typescript-source-file.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-typescript-source-file.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/get-typescript-source-file.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAGH,iCAAiC;AACjC,2DAAiE;AAEjE;;;;KAIK;AACL,SAAgB,uBAAuB,CAAC,IAAU,EAAE,IAAY;IAC9D,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/B,IAAI,CAAC,MAAM,EAAE;QACX,MAAM,IAAI,gCAAmB,CAAC,kBAAkB,IAAI,GAAG,CAAC,CAAC;KAC1D;IAED,MAAM,OAAO,GAAG,MAAM,CAAC,QAAQ,EAAE,CAAC;IAClC,MAAM,UAAU,GAAG,EAAE,CAAC,gBAAgB,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAEpF,OAAO,UAAU,CAAC;AACpB,CAAC;AAVD,0DAUC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
4
|
-
* This software is released under MIT license.
|
|
5
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
//# sourceMappingURL=ng-add-options.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ng-add-options.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/ng-add-options.ts"],"names":[],"mappings":";AAAA;;;;GAIG"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
4
|
-
* This software is released under MIT license.
|
|
5
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.runNpmInstall = void 0;
|
|
9
|
-
const tasks_1 = require("@angular-devkit/schematics/tasks");
|
|
10
|
-
function runNpmInstall(_tree, context) {
|
|
11
|
-
context.addTask(new tasks_1.NodePackageInstallTask());
|
|
12
|
-
}
|
|
13
|
-
exports.runNpmInstall = runNpmInstall;
|
|
14
|
-
//# sourceMappingURL=run-npm-install.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"run-npm-install.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/run-npm-install.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAGH,4DAA0E;AAE1E,SAAgB,aAAa,CAAC,KAAW,EAAE,OAAyB;IAClE,OAAO,CAAC,OAAO,CAAC,IAAI,8BAAsB,EAAE,CAAC,CAAC;AAChD,CAAC;AAFD,sCAEC"}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
4
|
-
* This software is released under MIT license.
|
|
5
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
6
|
-
*/
|
|
7
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
8
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
9
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
10
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
11
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
12
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
13
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
14
|
-
});
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.setupProject = void 0;
|
|
18
|
-
function setupProject(tree, schematicRunner, name) {
|
|
19
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
20
|
-
tree = yield schematicRunner
|
|
21
|
-
.runExternalSchematicAsync('@schematics/angular', 'workspace', {
|
|
22
|
-
name: 'workspace',
|
|
23
|
-
version: '10.0.0',
|
|
24
|
-
newProjectRoot: '',
|
|
25
|
-
})
|
|
26
|
-
.toPromise();
|
|
27
|
-
tree = yield schematicRunner
|
|
28
|
-
.runExternalSchematicAsync('@schematics/angular', 'application', {
|
|
29
|
-
name,
|
|
30
|
-
projectRoot: '',
|
|
31
|
-
}, tree)
|
|
32
|
-
.toPromise();
|
|
33
|
-
return tree;
|
|
34
|
-
});
|
|
35
|
-
}
|
|
36
|
-
exports.setupProject = setupProject;
|
|
37
|
-
//# sourceMappingURL=setup-project.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setup-project.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/setup-project.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;AAIH,SAAsB,YAAY,CAChC,IAAkB,EAClB,eAAoC,EACpC,IAAY;;QAEZ,IAAI,GAAG,MAAM,eAAe;aACzB,yBAAyB,CAAC,qBAAqB,EAAE,WAAW,EAAE;YAC7D,IAAI,EAAE,WAAW;YACjB,OAAO,EAAE,QAAQ;YACjB,cAAc,EAAE,EAAE;SACnB,CAAC;aACD,SAAS,EAAE,CAAC;QAEf,IAAI,GAAG,MAAM,eAAe;aACzB,yBAAyB,CACxB,qBAAqB,EACrB,aAAa,EACb;YACE,IAAI;YACJ,WAAW,EAAE,EAAE;SAChB,EACD,IAAI,CACL;aACA,SAAS,EAAE,CAAC;QAEf,OAAO,IAAI,CAAC;IACd,CAAC;CAAA;AA1BD,oCA0BC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
|
|
4
|
-
* This software is released under MIT license.
|
|
5
|
-
* The full license information can be found in LICENSE in the root directory of this project.
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.updateJsonFile = void 0;
|
|
9
|
-
const get_json_file_1 = require("./get-json-file");
|
|
10
|
-
// Writes changes to a JSON file
|
|
11
|
-
function updateJsonFile(tree, path, callback) {
|
|
12
|
-
const json = (0, get_json_file_1.getJsonFile)(tree, path);
|
|
13
|
-
callback(json);
|
|
14
|
-
tree.overwrite(path, JSON.stringify(json, null, 2));
|
|
15
|
-
}
|
|
16
|
-
exports.updateJsonFile = updateJsonFile;
|
|
17
|
-
//# sourceMappingURL=update-json-file.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"update-json-file.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/update-json-file.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAGH,mDAA8C;AAE9C,gCAAgC;AAChC,SAAgB,cAAc,CAAC,IAAU,EAAE,IAAY,EAAE,QAAyB;IAChF,MAAM,IAAI,GAAG,IAAA,2BAAW,EAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACrC,QAAQ,CAAC,IAAI,CAAC,CAAC;IACf,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;AACtD,CAAC;AAJD,wCAIC"}
|