@coolon/angular-ui-powerups 16.0.1 → 16.1.0-alpha.190
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/assets/activities/activities.scss +8 -6
- package/assets/activities/input-activities.scss +14 -6
- package/assets/draw.scss +20 -0
- package/assets/form.scss +77 -23
- package/assets/icons.scss +2 -1
- package/assets/interaction/editor/inline-string-editor.scss +4 -0
- package/assets/interaction.scss +1 -1
- package/assets/layout.scss +3 -0
- package/assets/place.scss +31 -0
- package/assets/styles.scss +4 -0
- package/assets/table.scss +60 -18
- package/assets/tabs.scss +15 -2
- package/esm2022/lib/angular-ui-powerups.module.mjs +9 -9
- package/esm2022/lib/animations/slide-animations.mjs +15 -10
- package/esm2022/lib/components/alignment.mjs +1 -1
- package/esm2022/lib/components/busy-overlay/busy-overlay.component.mjs +19 -20
- package/esm2022/lib/components/cards/abstract-card-container.component.mjs +36 -13
- package/esm2022/lib/components/cards/card-container/card-container.component.mjs +7 -10
- package/esm2022/lib/components/commands/button-renderer/button-renderer.component.mjs +115 -0
- package/esm2022/lib/components/commands/command/command.component.mjs +66 -56
- package/esm2022/lib/components/commands/command-face/command-face.component.mjs +21 -13
- package/esm2022/lib/components/commands/command-face.mjs +12 -11
- package/esm2022/lib/components/commands/flex.component.mjs +4 -6
- package/esm2022/lib/components/commands/group/command-container.mjs +1 -1
- package/esm2022/lib/components/commands/group/popup-aware.component.mjs +31 -8
- package/esm2022/lib/components/commands/group/popup-container.mjs +1 -1
- package/esm2022/lib/components/commands/group/popup-menu/abstract-popup-menu.component.mjs +37 -31
- package/esm2022/lib/components/commands/group/popup-menu/more-menu.component.mjs +20 -27
- package/esm2022/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.mjs +19 -14
- package/esm2022/lib/components/commands/group/popup-menu/popup-menu.component.mjs +24 -29
- package/esm2022/lib/components/commands/group/tool-bar/tool-bar.component.mjs +12 -19
- package/esm2022/lib/components/commands/separator.component.mjs +8 -16
- package/esm2022/lib/components/components.module.mjs +83 -53
- package/esm2022/lib/components/disposable-component.mjs +54 -7
- package/esm2022/lib/components/empty-state/empty-state.component.mjs +7 -11
- package/esm2022/lib/components/exports.mjs +16 -5
- package/esm2022/lib/components/file/file-download/file-download.component.mjs +89 -0
- package/esm2022/lib/components/focus-container/focus-container.component.mjs +4 -6
- package/esm2022/lib/components/focusable.component.mjs +5 -5
- package/esm2022/lib/components/forms/abstract-input.component.mjs +70 -24
- package/esm2022/lib/components/forms/abstract-list-input.component.mjs +11 -19
- package/esm2022/lib/components/forms/abstract-value-input.component.mjs +11 -19
- package/esm2022/lib/components/forms/autocomplete-input/autocomplete-input.component.mjs +29 -37
- package/esm2022/lib/components/forms/checkbox-input/checkbox-input.component.mjs +10 -10
- package/esm2022/lib/components/forms/form-field.mjs +2 -0
- package/esm2022/lib/components/forms/multiple-select-input/multiple-select-input.component.mjs +22 -28
- package/esm2022/lib/components/forms/number-input/number-input.component.mjs +89 -14
- package/esm2022/lib/components/forms/password-input/password-input.component.mjs +43 -8
- package/esm2022/lib/components/forms/search-input/search-input.component.mjs +33 -0
- package/esm2022/lib/components/forms/select-input/select-input.component.mjs +44 -45
- package/esm2022/lib/components/forms/string-input/string-input.component.mjs +46 -25
- package/esm2022/lib/components/forms/text-input/text-input.component.mjs +12 -10
- package/esm2022/lib/components/icon/icon.component.mjs +10 -7
- package/esm2022/lib/components/labelled-value/labelled-value.component.mjs +4 -6
- package/esm2022/lib/components/loadable-component.mjs +69 -0
- package/esm2022/lib/components/loading-container/loading-container.component.mjs +32 -29
- package/esm2022/lib/components/noop/noop.component.mjs +5 -7
- package/esm2022/lib/components/resize-aware.component.mjs +64 -27
- package/esm2022/lib/components/scroll-container/scroll-container.component.mjs +17 -15
- package/esm2022/lib/components/section-header/section-header.component.mjs +4 -6
- package/esm2022/lib/components/switch-case/switch-case.component.mjs +28 -28
- package/esm2022/lib/components/tables/abstract-table-model.mjs +123 -64
- package/esm2022/lib/components/tables/abstract-table.component.mjs +34 -15
- package/esm2022/lib/components/tables/column/column-manager.mjs +81 -0
- package/esm2022/lib/components/tables/column/column-model.mjs +23 -12
- package/esm2022/lib/components/tables/column/column-order-manager.mjs +19 -0
- package/esm2022/lib/components/tables/column/column-template/column-template.directive.mjs +4 -4
- package/esm2022/lib/components/tables/column/custom-template-column-model.mjs +3 -3
- package/esm2022/lib/components/tables/column/custom-value-column-model.mjs +5 -5
- package/esm2022/lib/components/tables/column/editor-controls-column-model.mjs +5 -5
- package/esm2022/lib/components/tables/column/list-propery-column-model.mjs +7 -6
- package/esm2022/lib/components/tables/column/property-column-model.mjs +6 -6
- package/esm2022/lib/components/tables/column/selection-column-model.mjs +35 -13
- package/esm2022/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.mjs +13 -13
- package/esm2022/lib/components/tables/editor/edit-session.mjs +5 -3
- package/esm2022/lib/components/tables/editor/editable-cell-renderer.mjs +1 -1
- package/esm2022/lib/components/tables/filter/column-text-search-formatter.mjs +1 -1
- package/esm2022/lib/components/tables/filter/enable-cell-text-search.decorator.mjs +3 -2
- package/esm2022/lib/components/tables/filter/table-filter-model.mjs +16 -11
- package/esm2022/lib/components/tables/filter/text-search-predicate.mjs +16 -2
- package/esm2022/lib/components/tables/footer/footer-row-model.mjs +38 -0
- package/esm2022/lib/components/tables/paginator/paginator.component.mjs +12 -12
- package/esm2022/lib/components/tables/renderer/abstract-cell-renderer.mjs +7 -0
- package/esm2022/lib/components/tables/renderer/cell-editors.mjs +1 -1
- package/esm2022/lib/components/tables/renderer/cell-portal-ref.mjs +23 -7
- package/esm2022/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.mjs +6 -8
- package/esm2022/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.mjs +5 -7
- package/esm2022/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.mjs +26 -14
- package/esm2022/lib/components/tables/renderer/selection-cell/selection-cell.component.mjs +11 -8
- package/esm2022/lib/components/tables/renderer/table-action-column/menu-builder.mjs +2 -0
- package/esm2022/lib/components/tables/renderer/table-action-column/table-action-column.component.mjs +153 -0
- package/esm2022/lib/components/tables/renderer/table-body/table-body.component.mjs +180 -63
- package/esm2022/lib/components/tables/renderer/table-cell/table-cell.component.mjs +12 -12
- package/esm2022/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu-popup.component.mjs +45 -0
- package/esm2022/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu.component.mjs +71 -0
- package/esm2022/lib/components/tables/renderer/table-footer-row/table-footer-row.component.mjs +30 -0
- package/esm2022/lib/components/tables/renderer/table-header-cell/table-header-cell.component.mjs +5 -7
- package/esm2022/lib/components/tables/table/table-model.mjs +12 -3
- package/esm2022/lib/components/tables/table/table.component.mjs +54 -68
- package/esm2022/lib/components/tables/tree-table/decorated-tree-node.mjs +5 -4
- package/esm2022/lib/components/tables/tree-table/flattened-tree-list-model.mjs +1 -1
- package/esm2022/lib/components/tables/tree-table/tree-expansion-model.mjs +5 -5
- package/esm2022/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.mjs +5 -7
- package/esm2022/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.mjs +16 -13
- package/esm2022/lib/components/tables/tree-table/tree-label-column-model.mjs +4 -7
- package/esm2022/lib/components/tables/tree-table/tree-table-component.mjs +27 -16
- package/esm2022/lib/components/tables/tree-table/tree-table-model.mjs +5 -8
- package/esm2022/lib/components/text/markdown/markdown.component.mjs +25 -22
- package/esm2022/lib/components/track.mjs +24 -0
- package/esm2022/lib/components/types/bounds.class.mjs +1 -5
- package/esm2022/lib/components/vertical-focus-container/vertical-focus-container.component.mjs +17 -17
- package/esm2022/lib/directives/command.directive.mjs +25 -14
- package/esm2022/lib/directives/directives.module.mjs +10 -10
- package/esm2022/lib/directives/exports.mjs +2 -1
- package/esm2022/lib/directives/focus-binding-factory.mjs +4 -4
- package/esm2022/lib/directives/focus-binding.directive.mjs +6 -8
- package/esm2022/lib/directives/focus-binding.mjs +4 -5
- package/esm2022/lib/directives/garbage-collector.directive.mjs +5 -4
- package/esm2022/lib/directives/highlight-text-model.directive.mjs +11 -9
- package/esm2022/lib/directives/highlight.pipe.mjs +12 -11
- package/esm2022/lib/directives/resize-observer.directive.mjs +40 -0
- package/esm2022/lib/interaction/abstract-interaction-context.mjs +6 -7
- package/esm2022/lib/interaction/activity-context.mjs +4 -0
- package/esm2022/lib/interaction/activity-ref.mjs +4 -4
- package/esm2022/lib/interaction/activity.mjs +39 -35
- package/esm2022/lib/interaction/alert.mjs +2 -2
- package/esm2022/lib/interaction/components/abstract-confirm-dialog.component.mjs +13 -10
- package/esm2022/lib/interaction/components/abstract-dialog.component.mjs +4 -45
- package/esm2022/lib/interaction/components/activity-actions/activity-actions.component.mjs +42 -28
- package/esm2022/lib/interaction/components/activity-body/activity-body.component.mjs +10 -6
- package/esm2022/lib/interaction/components/activity-container/activity-container.component.mjs +53 -22
- package/esm2022/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.mjs +55 -19
- package/esm2022/lib/interaction/components/activity-title/activity-title.component.mjs +6 -8
- package/esm2022/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.mjs +41 -31
- package/esm2022/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.mjs +5 -5
- package/esm2022/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.mjs +5 -5
- package/esm2022/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.mjs +5 -5
- package/esm2022/lib/interaction/components/add-card-activity/add-card-activity.component.mjs +6 -8
- package/esm2022/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.mjs +11 -11
- package/esm2022/lib/interaction/components/alert-dialog/alert-dialog.component.mjs +12 -12
- package/esm2022/lib/interaction/components/alert-renderer/alert-renderer.component.mjs +55 -0
- package/esm2022/lib/interaction/components/confirm-renderer/confirm-renderer.component.mjs +54 -0
- package/esm2022/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.mjs +6 -10
- package/esm2022/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.mjs +6 -10
- package/esm2022/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.mjs +9 -11
- package/esm2022/lib/interaction/components/editors/edit-context.mjs +1 -1
- package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-editor-model.mjs +5 -5
- package/esm2022/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.mjs +55 -48
- package/esm2022/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +32 -25
- package/esm2022/lib/interaction/components/input-activities/input-activity.mjs +21 -16
- package/esm2022/lib/interaction/components/input-activities/select-input-activity.mjs +49 -33
- package/esm2022/lib/interaction/components/input-activities/string-input-activity.mjs +30 -28
- package/esm2022/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.mjs +18 -15
- package/esm2022/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.mjs +134 -0
- package/esm2022/lib/interaction/confirm.mjs +26 -2
- package/esm2022/lib/interaction/directives/interaction-context-trigger-for.directive.mjs +6 -6
- package/esm2022/lib/interaction/exports.mjs +6 -1
- package/esm2022/lib/interaction/in-place-interaction-context.mjs +1 -1
- package/esm2022/lib/interaction/interaction-context-provider.mjs +17 -0
- package/esm2022/lib/interaction/interaction-context.mjs +3 -2
- package/esm2022/lib/interaction/interaction.module.mjs +44 -29
- package/esm2022/lib/interaction/route-synchronisation-adapter.mjs +1 -1
- package/esm2022/lib/interaction/services/interaction-service-routing-adapter.mjs +4 -4
- package/esm2022/lib/interaction/services/interaction.service.mjs +23 -11
- package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.mjs +9 -10
- package/esm2022/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.mjs +23 -5
- package/esm2022/lib/interaction/services/modal-interaction-context.factory.mjs +1 -1
- package/esm2022/lib/place/components/abstract-place-navigation.component.mjs +39 -31
- package/esm2022/lib/place/components/list-place-nav/list-place-nav.component.mjs +7 -7
- package/esm2022/lib/place/components/not-authorised-notice/not-authorised-notice.component.mjs +5 -7
- package/esm2022/lib/place/components/place-outlet/place-outlet.component.mjs +49 -44
- package/esm2022/lib/place/components/place-outlet/route-animations.mjs +1 -1
- package/esm2022/lib/place/components/side-place-navigation/side-place-navigation.component.mjs +25 -16
- package/esm2022/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.mjs +7 -7
- package/esm2022/lib/place/exports.mjs +2 -1
- package/esm2022/lib/place/guards/consolidated-param-map.mjs +4 -4
- package/esm2022/lib/place/guards/noop-auth-guard.service.mjs +5 -7
- package/esm2022/lib/place/guards/place.guard.mjs +19 -16
- package/esm2022/lib/place/navigation/place-component-deactivation-handler.mjs +2 -2
- package/esm2022/lib/place/navigation/session/abstract-pop-state-navigation.mjs +1 -1
- package/esm2022/lib/place/navigation/session/event-cleanup/event-clean-up-session.mjs +1 -1
- package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-leaving-interaction-transition-cancelled.mjs +1 -1
- package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-link-triggered-navigation-interaction-cancelation-type-determined.mjs +1 -1
- package/esm2022/lib/place/navigation/session/event-cleanup/wait-until-popstate-during-can-deactivate-transition-finishes.mjs +1 -1
- package/esm2022/lib/place/navigation/session/interactions/navigating-during-interaction.mjs +2 -2
- package/esm2022/lib/place/navigation/session/interactions/pop-state-during-interaction-navigation.mjs +1 -1
- package/esm2022/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.mjs +3 -3
- package/esm2022/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.mjs +3 -6
- package/esm2022/lib/place/navigation/session/navigating.mjs +2 -2
- package/esm2022/lib/place/navigation/session/navigation-context.mjs +1 -1
- package/esm2022/lib/place/navigation/session/navigation-session.mjs +2 -2
- package/esm2022/lib/place/navigation/session/pop-state-navigation.mjs +1 -1
- package/esm2022/lib/place/place-access-guard.mjs +1 -1
- package/esm2022/lib/place/place-auth-service.mjs +152 -0
- package/esm2022/lib/place/place-component.mjs +62 -48
- package/esm2022/lib/place/place-config.mjs +1 -1
- package/esm2022/lib/place/place-definition.mjs +15 -4
- package/esm2022/lib/place/place-history.mjs +6 -8
- package/esm2022/lib/place/place-router.mjs +87 -94
- package/esm2022/lib/place/place.decorator.mjs +2 -2
- package/esm2022/lib/place/place.module.mjs +16 -12
- package/esm2022/lib/place/route/formatter.mjs +2 -2
- package/esm2022/lib/place/route/json-types.mjs +1 -1
- package/esm2022/lib/place/route/parameter-decorators.mjs +54 -50
- package/esm2022/lib/place/route/parameter-definition.mjs +6 -2
- package/esm2022/lib/place/route/parameter-sanitiser.mjs +7 -2
- package/esm2022/lib/place/route/parameter-snapshot.mjs +1 -1
- package/esm2022/lib/place/route/visit-segment-sanitiser.mjs +1 -1
- package/esm2022/lib/place/url-service.mjs +4 -4
- package/esm2022/lib/place/url-snapshot.mjs +3 -3
- package/esm2022/lib/place/visit-segment.mjs +2 -2
- package/esm2022/lib/place/visit.mjs +2 -2
- package/esm2022/lib/services/markdown/markdown.service.mjs +5 -7
- package/esm2022/lib/services/markdown/pill-plugin.mjs +1 -3
- package/esm2022/lib/services/visibility-service.mjs +9 -9
- package/fesm2022/coolon-angular-ui-powerups.mjs +4720 -3041
- package/fesm2022/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/angular-ui-powerups.module.d.ts +5 -5
- package/lib/animations/slide-animations.d.ts +1 -0
- package/lib/components/busy-overlay/busy-overlay.component.d.ts +4 -7
- package/lib/components/cards/abstract-card-container.component.d.ts +9 -7
- package/lib/components/cards/card-container/card-container.component.d.ts +3 -4
- package/lib/components/commands/button-renderer/button-renderer.component.d.ts +30 -0
- package/lib/components/commands/command/command.component.d.ts +15 -17
- package/lib/components/commands/command-face/command-face.component.d.ts +5 -5
- package/lib/components/commands/command-face.d.ts +8 -9
- package/lib/components/commands/flex.component.d.ts +1 -3
- package/lib/components/commands/group/popup-aware.component.d.ts +9 -4
- package/lib/components/commands/group/popup-menu/abstract-popup-menu.component.d.ts +7 -7
- package/lib/components/commands/group/popup-menu/more-menu.component.d.ts +4 -6
- package/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.d.ts +7 -5
- package/lib/components/commands/group/popup-menu/popup-menu.component.d.ts +5 -7
- package/lib/components/commands/group/tool-bar/tool-bar.component.d.ts +3 -7
- package/lib/components/commands/separator.component.d.ts +3 -6
- package/lib/components/components.module.d.ts +57 -51
- package/lib/components/disposable-component.d.ts +21 -3
- package/lib/components/empty-state/empty-state.component.d.ts +1 -4
- package/lib/components/exports.d.ts +15 -4
- package/lib/components/file/file-download/file-download.component.d.ts +45 -0
- package/lib/components/focus-container/focus-container.component.d.ts +1 -3
- package/lib/components/forms/abstract-input.component.d.ts +21 -13
- package/lib/components/forms/abstract-list-input.component.d.ts +4 -8
- package/lib/components/forms/abstract-value-input.component.d.ts +3 -7
- package/lib/components/forms/autocomplete-input/autocomplete-input.component.d.ts +8 -14
- package/lib/components/forms/checkbox-input/checkbox-input.component.d.ts +3 -3
- package/lib/components/forms/form-field.d.ts +5 -0
- package/lib/components/forms/multiple-select-input/multiple-select-input.component.d.ts +3 -8
- package/lib/components/forms/number-input/number-input.component.d.ts +17 -7
- package/lib/components/forms/password-input/password-input.component.d.ts +8 -4
- package/lib/components/forms/search-input/search-input.component.d.ts +10 -0
- package/lib/components/forms/select-input/select-input.component.d.ts +7 -10
- package/lib/components/forms/string-input/string-input.component.d.ts +10 -6
- package/lib/components/forms/text-input/text-input.component.d.ts +4 -3
- package/lib/components/labelled-value/labelled-value.component.d.ts +1 -3
- package/lib/components/loadable-component.d.ts +20 -0
- package/lib/components/loading-container/loading-container.component.d.ts +6 -9
- package/lib/components/noop/noop.component.d.ts +0 -1
- package/lib/components/resize-aware.component.d.ts +25 -6
- package/lib/components/scroll-container/scroll-container.component.d.ts +2 -3
- package/lib/components/section-header/section-header.component.d.ts +1 -3
- package/lib/components/switch-case/switch-case.component.d.ts +10 -12
- package/lib/components/tables/abstract-table-model.d.ts +50 -23
- package/lib/components/tables/abstract-table.component.d.ts +8 -7
- package/lib/components/tables/column/column-manager.d.ts +19 -0
- package/lib/components/tables/column/column-model.d.ts +8 -4
- package/lib/components/tables/column/column-order-manager.d.ts +20 -0
- package/lib/components/tables/column/custom-template-column-model.d.ts +3 -2
- package/lib/components/tables/column/custom-value-column-model.d.ts +3 -2
- package/lib/components/tables/column/editor-controls-column-model.d.ts +3 -2
- package/lib/components/tables/column/list-propery-column-model.d.ts +3 -2
- package/lib/components/tables/column/property-column-model.d.ts +3 -2
- package/lib/components/tables/column/selection-column-model.d.ts +10 -4
- package/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.d.ts +4 -6
- package/lib/components/tables/editor/edit-session.d.ts +1 -1
- package/lib/components/tables/editor/editable-cell-renderer.d.ts +1 -1
- package/lib/components/tables/filter/enable-cell-text-search.decorator.d.ts +1 -1
- package/lib/components/tables/filter/text-search-predicate.d.ts +9 -0
- package/lib/components/tables/footer/footer-row-model.d.ts +22 -0
- package/lib/components/tables/paginator/paginator.component.d.ts +2 -4
- package/lib/components/tables/renderer/abstract-cell-renderer.d.ts +6 -0
- package/lib/components/tables/renderer/cell-editors.d.ts +5 -5
- package/lib/components/tables/renderer/cell-portal-ref.d.ts +21 -14
- package/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.d.ts +0 -1
- package/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.d.ts +0 -1
- package/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.d.ts +3 -2
- package/lib/components/tables/renderer/table-action-column/menu-builder.d.ts +7 -0
- package/lib/components/tables/renderer/table-action-column/table-action-column.component.d.ts +42 -0
- package/lib/components/tables/renderer/table-body/table-body.component.d.ts +47 -24
- package/lib/components/tables/renderer/table-cell/table-cell.component.d.ts +3 -5
- package/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu-popup.component.d.ts +19 -0
- package/lib/components/tables/renderer/table-custom-more-menu/table-custom-more-menu.component.d.ts +24 -0
- package/lib/components/tables/renderer/table-footer-row/table-footer-row.component.d.ts +11 -0
- package/lib/components/tables/renderer/table-header-cell/table-header-cell.component.d.ts +0 -1
- package/lib/components/tables/table/table-model.d.ts +4 -4
- package/lib/components/tables/table/table.component.d.ts +18 -14
- package/lib/components/tables/tree-table/flattened-tree-list-model.d.ts +1 -1
- package/lib/components/tables/tree-table/tree-expansion-model.d.ts +2 -2
- package/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.d.ts +0 -1
- package/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.d.ts +3 -3
- package/lib/components/tables/tree-table/tree-label-column-model.d.ts +3 -3
- package/lib/components/tables/tree-table/tree-table-component.d.ts +7 -4
- package/lib/components/tables/tree-table/tree-table-model.d.ts +4 -5
- package/lib/components/text/markdown/markdown.component.d.ts +3 -4
- package/lib/components/{track-by.d.ts → track.d.ts} +4 -7
- package/lib/components/types/bounds.class.d.ts +0 -2
- package/lib/components/vertical-focus-container/vertical-focus-container.component.d.ts +3 -6
- package/lib/directives/command.directive.d.ts +7 -5
- package/lib/directives/directives.module.d.ts +5 -5
- package/lib/directives/exports.d.ts +1 -0
- package/lib/directives/focus-binding.directive.d.ts +2 -3
- package/lib/directives/highlight-text-model.directive.d.ts +1 -1
- package/lib/directives/resize-observer.directive.d.ts +16 -0
- package/lib/interaction/abstract-interaction-context.d.ts +1 -1
- package/lib/interaction/activity-context.d.ts +9 -0
- package/lib/interaction/activity-ref.d.ts +2 -2
- package/lib/interaction/activity.d.ts +9 -9
- package/lib/interaction/components/abstract-confirm-dialog.component.d.ts +2 -1
- package/lib/interaction/components/abstract-dialog.component.d.ts +5 -14
- package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +15 -13
- package/lib/interaction/components/activity-body/activity-body.component.d.ts +3 -4
- package/lib/interaction/components/activity-container/activity-container.component.d.ts +11 -5
- package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts +4 -5
- package/lib/interaction/components/activity-title/activity-title.component.d.ts +2 -4
- package/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.d.ts +7 -8
- package/lib/interaction/components/add-card-activity/add-card-activity.component.d.ts +1 -3
- package/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.d.ts +2 -4
- package/lib/interaction/components/alert-dialog/alert-dialog.component.d.ts +6 -1
- package/lib/interaction/components/alert-renderer/alert-renderer.component.d.ts +17 -0
- package/lib/interaction/components/confirm-renderer/confirm-renderer.component.d.ts +15 -0
- package/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.d.ts +1 -1
- package/lib/interaction/components/editors/edit-context.d.ts +1 -1
- package/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.d.ts +7 -9
- package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +9 -7
- package/lib/interaction/components/input-activities/input-activity.d.ts +5 -3
- package/lib/interaction/components/input-activities/select-input-activity.d.ts +4 -2
- package/lib/interaction/components/input-activities/string-input-activity.d.ts +1 -1
- package/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.d.ts +4 -5
- package/lib/interaction/components/slide-down-interaction-context/slide-down-interaction-context.component.d.ts +53 -0
- package/lib/interaction/confirm.d.ts +4 -0
- package/lib/interaction/directives/interaction-context-trigger-for.directive.d.ts +3 -3
- package/lib/interaction/exports.d.ts +5 -0
- package/lib/interaction/interaction-context-provider.d.ts +11 -0
- package/lib/interaction/interaction-context.d.ts +7 -1
- package/lib/interaction/interaction.module.d.ts +35 -32
- package/lib/interaction/services/interaction-service-routing-adapter.d.ts +3 -3
- package/lib/interaction/services/interaction.service.d.ts +2 -1
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.d.ts +2 -3
- package/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context.d.ts +4 -3
- package/lib/place/components/abstract-place-navigation.component.d.ts +8 -8
- package/lib/place/components/not-authorised-notice/not-authorised-notice.component.d.ts +0 -1
- package/lib/place/components/place-outlet/place-outlet.component.d.ts +9 -11
- package/lib/place/components/side-place-navigation/side-place-navigation.component.d.ts +4 -3
- package/lib/place/exports.d.ts +1 -0
- package/lib/place/guards/noop-auth-guard.service.d.ts +0 -1
- package/lib/place/guards/place.guard.d.ts +2 -2
- package/lib/place/navigation/session/interactions/remove-last-interaction-from-url-navigation-session.d.ts +0 -1
- package/lib/place/navigation/session/interactions/synchronise-interaction-context-ids-with-route.d.ts +2 -2
- package/lib/place/place-access-guard.d.ts +2 -2
- package/lib/place/place-auth-service.d.ts +49 -0
- package/lib/place/place-component.d.ts +11 -12
- package/lib/place/place-definition.d.ts +2 -0
- package/lib/place/place-history.d.ts +0 -1
- package/lib/place/place-router.d.ts +11 -13
- package/lib/place/place.decorator.d.ts +1 -1
- package/lib/place/place.module.d.ts +6 -5
- package/lib/place/route/json-types.d.ts +1 -3
- package/lib/place/route/parameter-decorators.d.ts +3 -4
- package/lib/place/route/parameter-definition.d.ts +3 -3
- package/lib/place/route/parameter-sanitiser.d.ts +7 -0
- package/lib/place/url-snapshot.d.ts +3 -3
- package/lib/place/visit-segment.d.ts +4 -4
- package/lib/place/visit.d.ts +2 -2
- package/lib/services/markdown/markdown.service.d.ts +0 -1
- package/lib/services/visibility-service.d.ts +1 -1
- package/package.json +20 -18
- package/esm2022/lib/components/cards/card-stack/card-stack.component.mjs +0 -81
- package/esm2022/lib/components/tables/column/column-list-model.mjs +0 -44
- package/esm2022/lib/components/tables/table-row-menu/table-row-menu.component.mjs +0 -84
- package/esm2022/lib/components/track-by.mjs +0 -24
- package/lib/components/cards/card-stack/card-stack.component.d.ts +0 -68
- package/lib/components/tables/column/column-list-model.d.ts +0 -13
- package/lib/components/tables/table-row-menu/table-row-menu.component.d.ts +0 -28
- package/schematics/activity/index.d.ts +0 -3
- package/schematics/activity/index.js +0 -32
- package/schematics/activity/index.js.map +0 -1
- package/schematics/activity/index.spec.d.ts +0 -1
- package/schematics/activity/index.spec.js +0 -364
- package/schematics/activity/index.spec.js.map +0 -1
- package/schematics/activity/schema.d.ts +0 -4
- package/schematics/activity/schema.js +0 -3
- package/schematics/activity/schema.js.map +0 -1
- package/schematics/activity/schema.json +0 -27
- package/schematics/activity/templates/component/__name@dasherize__.component.html.template +0 -5
- package/schematics/activity/templates/component/__name@dasherize__.component.scss.template +0 -4
- package/schematics/activity/templates/component/__name@dasherize__.component.spec.ts.template +0 -25
- package/schematics/activity/templates/component/__name@dasherize__.component.ts.template +0 -40
- package/schematics/activity/templates/component/__name@dasherize__.i18n.yml.template +0 -9
- package/schematics/aup-i18n/index.d.ts +0 -4
- package/schematics/aup-i18n/index.js +0 -86
- package/schematics/aup-i18n/index.js.map +0 -1
- package/schematics/aup-i18n/schema.d.ts +0 -3
- package/schematics/aup-i18n/schema.js +0 -3
- package/schematics/aup-i18n/schema.js.map +0 -1
- package/schematics/aup-i18n/schema.json +0 -18
- package/schematics/aup-i18n/templates/app/aup.i18n.yml.template +0 -80
- package/schematics/bootstrap-app/index.d.ts +0 -4
- package/schematics/bootstrap-app/index.js +0 -109
- package/schematics/bootstrap-app/index.js.map +0 -1
- package/schematics/bootstrap-app/schema.d.ts +0 -3
- package/schematics/bootstrap-app/schema.js +0 -3
- package/schematics/bootstrap-app/schema.js.map +0 -1
- package/schematics/bootstrap-app/schema.json +0 -18
- package/schematics/bootstrap-app/templates/i18n.config.json.template +0 -11
- package/schematics/bootstrap-app/templates/src/app/app-routing.module.ts.template +0 -23
- package/schematics/bootstrap-app/templates/src/app/app.component.html.template +0 -7
- package/schematics/bootstrap-app/templates/src/app/app.component.scss.template +0 -12
- package/schematics/bootstrap-app/templates/src/app/app.component.ts.template +0 -19
- package/schematics/bootstrap-app/templates/src/app/app.module.ts.template +0 -74
- package/schematics/bootstrap-app/templates/src/app/components/components.module.ts.template +0 -16
- package/schematics/bootstrap-app/templates/src/app/i18n.ts.template +0 -9
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/MaterialIcons-Regular.eot +0 -0
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/MaterialIcons-Regular.ijmap +0 -1
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/MaterialIcons-Regular.svg +0 -2373
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/MaterialIcons-Regular.ttf +0 -0
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/MaterialIcons-Regular.woff +0 -0
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/MaterialIcons-Regular.woff2 +0 -0
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/README.md +0 -9
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/codepoints +0 -932
- package/schematics/bootstrap-app/templates/src/assets/fonts/material-design-icons/material-icons.css +0 -36
- package/schematics/bootstrap-app/templates/src/index.html.template +0 -13
- package/schematics/bootstrap-app/templates/src/styles/global-variables.scss.template +0 -13
- package/schematics/bootstrap-app/templates/src/styles.scss.template +0 -85
- package/schematics/collection.json +0 -48
- package/schematics/component/index.d.ts +0 -3
- package/schematics/component/index.js +0 -36
- package/schematics/component/index.js.map +0 -1
- package/schematics/component/index.spec.d.ts +0 -1
- package/schematics/component/index.spec.js +0 -364
- package/schematics/component/index.spec.js.map +0 -1
- package/schematics/component/schema.d.ts +0 -5
- package/schematics/component/schema.js +0 -3
- package/schematics/component/schema.js.map +0 -1
- package/schematics/component/schema.json +0 -39
- package/schematics/component/templates/component/__name@dasherize__.component.html.template +0 -1
- package/schematics/component/templates/component/__name@dasherize__.component.scss.template +0 -4
- package/schematics/component/templates/component/__name@dasherize__.component.spec.ts.template +0 -25
- package/schematics/component/templates/component/__name@dasherize__.component.ts.template +0 -24
- package/schematics/component/templates/component/__name@dasherize__.i18n.yml.template +0 -1
- package/schematics/ng-add/index.d.ts +0 -3
- package/schematics/ng-add/index.js +0 -37
- package/schematics/ng-add/index.js.map +0 -1
- package/schematics/package-util.d.ts +0 -13
- package/schematics/package-util.js +0 -61
- package/schematics/package-util.js.map +0 -1
- package/schematics/place-add/index.d.ts +0 -3
- package/schematics/place-add/index.js +0 -45
- package/schematics/place-add/index.js.map +0 -1
- package/schematics/place-add/index.spec.d.ts +0 -1
- package/schematics/place-add/index.spec.js +0 -364
- package/schematics/place-add/index.spec.js.map +0 -1
- package/schematics/place-add/schema.d.ts +0 -5
- package/schematics/place-add/schema.js +0 -3
- package/schematics/place-add/schema.js.map +0 -1
- package/schematics/place-add/schema.json +0 -33
- package/schematics/place-add/templates/component/__name@dasherize__.component.html.template +0 -1
- package/schematics/place-add/templates/component/__name@dasherize__.component.scss.template +0 -4
- package/schematics/place-add/templates/component/__name@dasherize__.component.spec.ts.template +0 -25
- package/schematics/place-add/templates/component/__name@dasherize__.component.ts.template +0 -35
- package/schematics/place-add/templates/component/__name@dasherize__.i18n.yml.template +0 -5
- package/schematics/place-bootstrap/index.d.ts +0 -3
- package/schematics/place-bootstrap/index.js +0 -21
- package/schematics/place-bootstrap/index.js.map +0 -1
- package/schematics/place-bootstrap/schema.d.ts +0 -4
- package/schematics/place-bootstrap/schema.js +0 -3
- package/schematics/place-bootstrap/schema.js.map +0 -1
- package/schematics/place-bootstrap/schema.json +0 -28
- package/schematics/place-bootstrap/templates/__name@dasherize__/place-routes.ts.template +0 -3
- package/schematics/place-bootstrap/templates/__name@dasherize__/places.module.ts.template +0 -16
- package/schematics/place-routes/index.d.ts +0 -3
- package/schematics/place-routes/index.js +0 -24
- package/schematics/place-routes/index.js.map +0 -1
- package/schematics/place-routes/place-builder.d.ts +0 -18
- package/schematics/place-routes/place-builder.js +0 -123
- package/schematics/place-routes/place-builder.js.map +0 -1
- package/schematics/place-routes/place-class-scanner.d.ts +0 -47
- package/schematics/place-routes/place-class-scanner.js +0 -223
- package/schematics/place-routes/place-class-scanner.js.map +0 -1
- package/schematics/place-routes/place-def.d.ts +0 -62
- package/schematics/place-routes/place-def.js +0 -195
- package/schematics/place-routes/place-def.js.map +0 -1
- package/schematics/place-routes/schema.d.ts +0 -4
- package/schematics/place-routes/schema.js +0 -3
- package/schematics/place-routes/schema.js.map +0 -1
- package/schematics/place-routes/schema.json +0 -26
- package/schematics/place-routes/templates/place-routes.ts.template +0 -15
- package/schematics/utils/build-context.d.ts +0 -74
- package/schematics/utils/build-context.js +0 -189
- package/schematics/utils/build-context.js.map +0 -1
- package/schematics/utils/decorators/decorated-class.d.ts +0 -13
- package/schematics/utils/decorators/decorated-class.js +0 -28
- package/schematics/utils/decorators/decorated-class.js.map +0 -1
- package/schematics/utils/decorators/decorated-source-file.d.ts +0 -15
- package/schematics/utils/decorators/decorated-source-file.js +0 -27
- package/schematics/utils/decorators/decorated-source-file.js.map +0 -1
- package/schematics/utils/import-def.d.ts +0 -30
- package/schematics/utils/import-def.js +0 -97
- package/schematics/utils/import-def.js.map +0 -1
- package/schematics/utils/method-scanner.d.ts +0 -16
- package/schematics/utils/method-scanner.js +0 -70
- package/schematics/utils/method-scanner.js.map +0 -1
- package/schematics/utils/mixin.d.ts +0 -11
- package/schematics/utils/mixin.js +0 -27
- package/schematics/utils/mixin.js.map +0 -1
- package/schematics/utils/parameter-def.d.ts +0 -5
- package/schematics/utils/parameter-def.js +0 -3
- package/schematics/utils/parameter-def.js.map +0 -1
- package/schematics/utils/path-helper.d.ts +0 -14
- package/schematics/utils/path-helper.js +0 -30
- package/schematics/utils/path-helper.js.map +0 -1
- package/schematics/utils/schematic-tree-file-system.d.ts +0 -30
- package/schematics/utils/schematic-tree-file-system.js +0 -113
- package/schematics/utils/schematic-tree-file-system.js.map +0 -1
- package/schematics/utils/source-file-scanner.d.ts +0 -14
- package/schematics/utils/source-file-scanner.js +0 -89
- package/schematics/utils/source-file-scanner.js.map +0 -1
- package/schematics/utils/source-file-utilities.d.ts +0 -6
- package/schematics/utils/source-file-utilities.js +0 -36
- package/schematics/utils/source-file-utilities.js.map +0 -1
- package/schematics/utils/stringy.d.ts +0 -15
- package/schematics/utils/stringy.js +0 -50
- package/schematics/utils/stringy.js.map +0 -1
- package/schematics/utils/template-utilities.d.ts +0 -2
- package/schematics/utils/template-utilities.js +0 -24
- package/schematics/utils/template-utilities.js.map +0 -1
- package/schematics/utils/workspace.d.ts +0 -15
- package/schematics/utils/workspace.js +0 -59
- package/schematics/utils/workspace.js.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"source-file-utilities.js","sourceRoot":"","sources":["../../../../../libs/angular-ui-powerups/schematics/utils/source-file-utilities.ts"],"names":[],"mappings":";;;AACA,mCAA+B;AAC/B,uCAAmF;AAEnF,SAAgB,eAAe,CAAC,IAAU,EAAE,IAAY;IACtD,OAAO,IAAI,CAAC,OAAO,EAAE,KAAK,qBAAU,CAAC,SAAS;QAC5C,IAAI,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,GAAG,IAAI,GAAG,CAAC,CAAC,CAAC,2FAA2F;AACtI,CAAC;AAHD,0CAGC;AAED,SAAgB,oBAAoB,CAAC,KAAa;IAChD,OAAO,IAAA,cAAK,EAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,kBAAkB,EAAE,EAAE,CAAC,CAAC;AACtE,CAAC;AAFD,oDAEC;AAED,SAAgB,sBAAsB,CAAC,KAAa;IAClD,OAAO,KAAK,CAAC,CAAC,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,oBAAoB,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;AAC1H,CAAC;AAFD,wDAEC;AAED,SAAgB,sBAAsB,CAAC,SAA2B,EAAE,aAAqB;IACvF,IAAI,MAAM,GAAc,IAAI,CAAC;IAC7B,SAAS,CAAC,YAAY,CAAC,CAAC,IAAI,EAAE,EAAE;QAC9B,IAAI,eAAe,CAAC,IAAI,EAAE,aAAa,CAAC,EAAE;YACxC,MAAM,GAAG,IAAiB,CAAC;YAC3B,sDAAsD;YACtD,OAAO,IAAI,CAAC;SACb;QACD,OAAO,KAAK,CAAC;IACf,CAAC,CAAC,CAAC;IACH,OAAO,MAAM,CAAC;AAChB,CAAC;AAXD,wDAWC;AAED,SAAgB,YAAY,CAAC,IAAmB;IAC9C,OAAO,IAAI,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,qBAAqB,EAAE,EAAE,CAAC,CAAC;AAC3D,CAAC;AAFD,oCAEC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare class Stringy {
|
|
2
|
-
private readonly value;
|
|
3
|
-
static from(value: string): Stringy;
|
|
4
|
-
constructor(value: string);
|
|
5
|
-
pluralize(): Stringy;
|
|
6
|
-
camelize(upperCaseFirstLetter?: boolean): Stringy;
|
|
7
|
-
camelizeLower(): Stringy;
|
|
8
|
-
capitalise(): Stringy;
|
|
9
|
-
dasherize(): Stringy;
|
|
10
|
-
underscore(): Stringy;
|
|
11
|
-
singularize(): Stringy;
|
|
12
|
-
equals(other: string | Stringy): boolean;
|
|
13
|
-
toString(): string;
|
|
14
|
-
valueOf(): string;
|
|
15
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Stringy = void 0;
|
|
4
|
-
const i = require("inflected");
|
|
5
|
-
const S = require("string"); // todo: invistigate replacing with https://vocajs.com/
|
|
6
|
-
const ALL_CAPS = /^[A-Z_-]+$/;
|
|
7
|
-
class Stringy {
|
|
8
|
-
static from(value) {
|
|
9
|
-
const base = ALL_CAPS.test(value) ? value.toLowerCase() : value;
|
|
10
|
-
return new Stringy(base);
|
|
11
|
-
}
|
|
12
|
-
constructor(value) {
|
|
13
|
-
this.value = value;
|
|
14
|
-
}
|
|
15
|
-
pluralize() {
|
|
16
|
-
return new Stringy(i.pluralize(this.value));
|
|
17
|
-
}
|
|
18
|
-
camelize(upperCaseFirstLetter = true) {
|
|
19
|
-
// S will camemlise dasherised strings to lowerCaseForm where as the inflector won't.
|
|
20
|
-
// so we camelise first then apply the case change using the inflector
|
|
21
|
-
const term = S(this.value).camelize().toString();
|
|
22
|
-
return new Stringy(i.camelize(term, upperCaseFirstLetter));
|
|
23
|
-
}
|
|
24
|
-
camelizeLower() {
|
|
25
|
-
return this.camelize(false);
|
|
26
|
-
}
|
|
27
|
-
capitalise() {
|
|
28
|
-
return new Stringy(S(this.dasherize().toString()).capitalize().toString());
|
|
29
|
-
}
|
|
30
|
-
dasherize() {
|
|
31
|
-
return new Stringy(S(this.value).dasherize().toString().replace(/^-/, ''));
|
|
32
|
-
}
|
|
33
|
-
underscore() {
|
|
34
|
-
return new Stringy(S(this.value).underscore().toString().replace(/^_/, ''));
|
|
35
|
-
}
|
|
36
|
-
singularize() {
|
|
37
|
-
return new Stringy(i.singularize(this.value));
|
|
38
|
-
}
|
|
39
|
-
equals(other) {
|
|
40
|
-
return other.toString() === this.value;
|
|
41
|
-
}
|
|
42
|
-
toString() {
|
|
43
|
-
return this.value;
|
|
44
|
-
}
|
|
45
|
-
valueOf() {
|
|
46
|
-
return this.value;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
exports.Stringy = Stringy;
|
|
50
|
-
//# sourceMappingURL=stringy.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"stringy.js","sourceRoot":"","sources":["../../../../../libs/angular-ui-powerups/schematics/utils/stringy.ts"],"names":[],"mappings":";;;AAAA,+BAA+B;AAE/B,4BAA4B,CAAC,uDAAuD;AAGpF,MAAM,QAAQ,GAAG,YAAY,CAAC;AAE9B,MAAa,OAAO;IAElB,MAAM,CAAC,IAAI,CAAC,KAAa;QACvB,MAAM,IAAI,GAAG,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC;QAChE,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAC3B,CAAC;IAED,YAA6B,KAAa;QAAb,UAAK,GAAL,KAAK,CAAQ;IAC1C,CAAC;IAED,SAAS;QACP,OAAO,IAAI,OAAO,CAAC,CAAC,CAAC,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;IAC9C,CAAC;IAED,QAAQ,CAAC,uBAAgC,IAAI;QAC3C,qFAAqF;QACrF,sEAAsE;QACtE,MAAM,IAAI,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,CAAC;QACjD,OAAO,IAAI,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,IAAI,EAAE,oBAAoB,CAAC,CAAC,CAAC;IAC7D,CAAC;IAED,aAAa;QACX,OAAO,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9B,CAAC;IAED,UAAU;QACR,OAAO,IAAI,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC,UAAU,EAAE,CAAC,QAAQ,EAAE,CAAC,CAAC;IAC7E,CAAC;IAED,SAAS;QACP,OAAO,IAAI,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,SAAS,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;IAC7E,CAAC;IAED,UAAU;QACR,OAAO,IAAI,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,UAAU,EAAE,CAAC,QAAQ,EAAE,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;IAC9E,CAAC;IAED,WAAW;QACT,OAAO,IAAI,OAAO,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC;IAChD,CAAC;IAED,MAAM,CAAC,KAAuB;QAC5B,OAAO,KAAK,CAAC,QAAQ,EAAE,KAAK,IAAI,CAAC,KAAK,CAAC;IACzC,CAAC;IAED,QAAQ;QACN,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;IAED,OAAO;QACL,OAAO,IAAI,CAAC,KAAK,CAAC;IACpB,CAAC;CACF;AApDD,0BAoDC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.applyTemplatesWithOverwrite = void 0;
|
|
4
|
-
const core_1 = require("@angular-devkit/core");
|
|
5
|
-
const schematics_1 = require("@angular-devkit/schematics");
|
|
6
|
-
function applyTemplatesWithOverwrite(tree, templateUrl, templateData, outDir) {
|
|
7
|
-
// this.context.logger.info(`${this.workspaceProject.sourceRoot}/${this.projectType}`);
|
|
8
|
-
// this.context.logger.info(placeRoot.dir);
|
|
9
|
-
const newFiles = (0, schematics_1.apply)((0, schematics_1.url)(templateUrl), [
|
|
10
|
-
(0, schematics_1.applyTemplates)(Object.assign(Object.assign({}, templateData), core_1.strings)),
|
|
11
|
-
(0, schematics_1.move)(`${outDir}`),
|
|
12
|
-
// // @see https://github.com/angular/angular-cli/issues/11337#issuecomment-448259549
|
|
13
|
-
// forEach((fileEntry: FileEntry) => {
|
|
14
|
-
// // this.context.logger.info(fileEntry.path);
|
|
15
|
-
// if (tree.exists(fileEntry.path)) {
|
|
16
|
-
// tree.overwrite(fileEntry.path, fileEntry.content);
|
|
17
|
-
// }
|
|
18
|
-
// return fileEntry;
|
|
19
|
-
// }),
|
|
20
|
-
]);
|
|
21
|
-
return (0, schematics_1.mergeWith)(newFiles, schematics_1.MergeStrategy.Overwrite);
|
|
22
|
-
}
|
|
23
|
-
exports.applyTemplatesWithOverwrite = applyTemplatesWithOverwrite;
|
|
24
|
-
//# sourceMappingURL=template-utilities.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"template-utilities.js","sourceRoot":"","sources":["../../../../../libs/angular-ui-powerups/schematics/utils/template-utilities.ts"],"names":[],"mappings":";;;AAAA,+CAA+C;AAC/C,2DAWoC;AAEpC,SAAgB,2BAA2B,CAAC,IAAU,EAAE,WAAmB,EAAE,YAAoB,EAAE,MAAc;IAC/G,uFAAuF;IACvF,2CAA2C;IAC3C,MAAM,QAAQ,GAAG,IAAA,kBAAK,EACpB,IAAA,gBAAG,EAAC,WAAW,CAAC,EAChB;QACE,IAAA,2BAAc,kCACT,YAAY,GACZ,cAAO,EACV;QACF,IAAA,iBAAI,EAAC,GAAG,MAAM,EAAE,CAAC;QACjB,qFAAqF;QACrF,sCAAsC;QACtC,iDAAiD;QACjD,uCAAuC;QACvC,yDAAyD;QACzD,MAAM;QACN,sBAAsB;QACtB,MAAM;KACP,CAAC,CAAC;IACL,OAAO,IAAA,sBAAS,EAAC,QAAQ,EAAE,0BAAa,CAAC,SAAS,CAAC,CAAC;AACtD,CAAC;AArBD,kEAqBC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { SchematicContext, Tree } from '@angular-devkit/schematics';
|
|
2
|
-
import { BuildContext } from './build-context';
|
|
3
|
-
export declare class Workspace {
|
|
4
|
-
readonly schema: any;
|
|
5
|
-
readonly tree: Tree;
|
|
6
|
-
readonly context: SchematicContext;
|
|
7
|
-
get defaultProject(): any;
|
|
8
|
-
constructor(schema: any, tree: Tree, context: SchematicContext);
|
|
9
|
-
static load(tree: Tree, _context: SchematicContext): Workspace;
|
|
10
|
-
getProject(projectName: string): BuildContext;
|
|
11
|
-
getApplication(projectName: string): BuildContext.App;
|
|
12
|
-
getApplicationOrDefault(projectName: string | undefined): BuildContext.App;
|
|
13
|
-
getLibrary(projectName: string): BuildContext.Lib;
|
|
14
|
-
protected loadProjectSettings(project: string, tree: Tree): BuildContext.Settings;
|
|
15
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Workspace = void 0;
|
|
4
|
-
const build_context_1 = require("./build-context");
|
|
5
|
-
class Workspace {
|
|
6
|
-
get defaultProject() {
|
|
7
|
-
return this.schema.defaultProject;
|
|
8
|
-
}
|
|
9
|
-
constructor(schema, tree, context) {
|
|
10
|
-
this.schema = schema;
|
|
11
|
-
this.tree = tree;
|
|
12
|
-
this.context = context;
|
|
13
|
-
}
|
|
14
|
-
static load(tree, _context) {
|
|
15
|
-
const workspaceConfig = tree.read('/angular.json');
|
|
16
|
-
if (!workspaceConfig) {
|
|
17
|
-
throw new Error('Could not find Angular workspace configuration');
|
|
18
|
-
}
|
|
19
|
-
const workspaceContent = workspaceConfig.toString();
|
|
20
|
-
return new Workspace(JSON.parse(workspaceContent), tree, _context);
|
|
21
|
-
}
|
|
22
|
-
getProject(projectName) {
|
|
23
|
-
const settings = this.loadProjectSettings(projectName, this.tree);
|
|
24
|
-
return settings.projectType === 'app' ?
|
|
25
|
-
this.getApplication(projectName) :
|
|
26
|
-
this.getLibrary(projectName);
|
|
27
|
-
}
|
|
28
|
-
getApplication(projectName) {
|
|
29
|
-
const settings = this.loadProjectSettings(projectName, this.tree);
|
|
30
|
-
if (settings.projectType !== 'app') {
|
|
31
|
-
throw new Error(`Requested app context, but '${projectName}' is a library`);
|
|
32
|
-
}
|
|
33
|
-
return new build_context_1.BuildContext.App(this.tree, projectName, settings, this.context);
|
|
34
|
-
}
|
|
35
|
-
getApplicationOrDefault(projectName) {
|
|
36
|
-
return this.getApplication(projectName !== null && projectName !== void 0 ? projectName : this.defaultProject);
|
|
37
|
-
}
|
|
38
|
-
getLibrary(projectName) {
|
|
39
|
-
const settings = this.loadProjectSettings(projectName, this.tree);
|
|
40
|
-
if (settings.projectType !== 'lib') {
|
|
41
|
-
throw new Error(`Requested app context, but '${projectName}' is a library`);
|
|
42
|
-
}
|
|
43
|
-
return new build_context_1.BuildContext.Lib(this.tree, projectName, settings, this.context);
|
|
44
|
-
}
|
|
45
|
-
loadProjectSettings(project, tree) {
|
|
46
|
-
const workspaceProject = this.schema.projects[project || this.schema.defaultProject];
|
|
47
|
-
const projectType = workspaceProject.projectType === 'application' ? 'app' : 'lib';
|
|
48
|
-
const tsConfigPath = projectType === "app" ?
|
|
49
|
-
workspaceProject.architect.build.options.tsConfig
|
|
50
|
-
: `${workspaceProject.root}/tsconfig.lib.json`;
|
|
51
|
-
return {
|
|
52
|
-
workspaceProject,
|
|
53
|
-
projectType: projectType,
|
|
54
|
-
tsConfigPath
|
|
55
|
-
};
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
exports.Workspace = Workspace;
|
|
59
|
-
//# sourceMappingURL=workspace.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../../../../libs/angular-ui-powerups/schematics/utils/workspace.ts"],"names":[],"mappings":";;;AAEA,mDAA+C;AAE/C,MAAa,SAAS;IAEpB,IAAI,cAAc;QAChB,OAAO,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC;IACpC,CAAC;IAED,YAAqB,MAAW,EAAW,IAAU,EAAW,OAAyB;QAApE,WAAM,GAAN,MAAM,CAAK;QAAW,SAAI,GAAJ,IAAI,CAAM;QAAW,YAAO,GAAP,OAAO,CAAkB;IACzF,CAAC;IAED,MAAM,CAAC,IAAI,CAAC,IAAU,EAAE,QAA0B;QAChD,MAAM,eAAe,GAAG,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QACnD,IAAI,CAAC,eAAe,EAAE;YACpB,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;SACnE;QACD,MAAM,gBAAgB,GAAG,eAAe,CAAC,QAAQ,EAAE,CAAC;QACpD,OAAO,IAAI,SAAS,CAAC,IAAI,CAAC,KAAK,CAAC,gBAAgB,CAAC,EAAE,IAAI,EAAE,QAAQ,CAAC,CAAC;IACrE,CAAC;IAED,UAAU,CAAC,WAAmB;QAC5B,MAAM,QAAQ,GAAG,IAAI,CAAC,mBAAmB,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QAClE,OAAO,QAAQ,CAAC,WAAW,KAAK,KAAK,CAAC,CAAC;YACrC,IAAI,CAAC,cAAc,CAAC,WAAW,CAAC,CAAC,CAAC;YAClC,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC,CAAA;IAChC,CAAC;IAED,cAAc,CAAC,WAAmB;QAChC,MAAM,QAAQ,GAAG,IAAI,CAAC,mBAAmB,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QAClE,IAAI,QAAQ,CAAC,WAAW,KAAK,KAAK,EAAE;YAClC,MAAM,IAAI,KAAK,CAAC,+BAA+B,WAAW,gBAAgB,CAAC,CAAC;SAC7E;QACD,OAAO,IAAI,4BAAY,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IAC9E,CAAC;IAED,uBAAuB,CAAC,WAA6B;QACnD,OAAO,IAAI,CAAC,cAAc,CAAC,WAAW,aAAX,WAAW,cAAX,WAAW,GAAI,IAAI,CAAC,cAAc,CAAC,CAAC;IACjE,CAAC;IAED,UAAU,CAAC,WAAmB;QAC5B,MAAM,QAAQ,GAAG,IAAI,CAAC,mBAAmB,CAAC,WAAW,EAAE,IAAI,CAAC,IAAI,CAAC,CAAC;QAClE,IAAI,QAAQ,CAAC,WAAW,KAAK,KAAK,EAAE;YAClC,MAAM,IAAI,KAAK,CAAC,+BAA+B,WAAW,gBAAgB,CAAC,CAAC;SAC7E;QACD,OAAO,IAAI,4BAAY,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IAC9E,CAAC;IAGS,mBAAmB,CAAC,OAAe,EAAE,IAAU;QAEvD,MAAM,gBAAgB,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,IAAI,IAAI,CAAC,MAAM,CAAC,cAAc,CAAC,CAAC;QACrF,MAAM,WAAW,GAAG,gBAAgB,CAAC,WAAW,KAAK,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC;QACnF,MAAM,YAAY,GAAG,WAAW,KAAK,KAAK,CAAC,CAAC;YAC1C,gBAAgB,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,QAAQ;YACjD,CAAC,CAAC,GAAG,gBAAgB,CAAC,IAAI,oBAAoB,CAAC;QAEjD,OAAO;YACL,gBAAgB;YAChB,WAAW,EAAE,WAAW;YACxB,YAAY;SACb,CAAC;IACJ,CAAC;CAGF;AA9DD,8BA8DC"}
|