@coolon/angular-ui-powerups 13.8.1 → 14.0.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/esm2020/lib/angular-ui-powerups.module.mjs +16 -18
- package/esm2020/lib/components/busy-overlay/busy-overlay.component.mjs +5 -5
- package/esm2020/lib/components/cards/abstract-card-container.component.mjs +3 -3
- package/esm2020/lib/components/cards/card-container/card-container.component.mjs +7 -7
- package/esm2020/lib/components/cards/card-stack/card-stack.component.mjs +7 -7
- package/esm2020/lib/components/commands/command/command.component.mjs +8 -8
- package/esm2020/lib/components/commands/command-face/command-face.component.mjs +5 -5
- package/esm2020/lib/components/commands/flex.component.mjs +5 -9
- package/esm2020/lib/components/commands/group/popup-menu/abstract-popup-menu.component.mjs +4 -4
- package/esm2020/lib/components/commands/group/popup-menu/more-menu.component.mjs +10 -10
- package/esm2020/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.mjs +9 -9
- package/esm2020/lib/components/commands/group/popup-menu/popup-menu.component.mjs +11 -11
- package/esm2020/lib/components/commands/group/tool-bar/tool-bar.component.mjs +3 -3
- package/esm2020/lib/components/commands/separator.component.mjs +7 -18
- package/esm2020/lib/components/components.module.mjs +25 -27
- package/esm2020/lib/components/disposable-component.mjs +3 -3
- package/esm2020/lib/components/empty-state/empty-state.component.mjs +3 -3
- package/esm2020/lib/components/focus-container/focus-container.component.mjs +3 -3
- package/esm2020/lib/components/focusable.component.mjs +3 -3
- package/esm2020/lib/components/forms/abstract-input.component.mjs +4 -4
- package/esm2020/lib/components/forms/abstract-list-input.component.mjs +3 -3
- package/esm2020/lib/components/forms/abstract-value-input.component.mjs +3 -3
- package/esm2020/lib/components/forms/autocomplete-input/autocomplete-input.component.mjs +10 -10
- package/esm2020/lib/components/forms/checkbox-input/checkbox-input.component.mjs +6 -6
- package/esm2020/lib/components/forms/multiple-select-input/multiple-select-input.component.mjs +8 -8
- package/esm2020/lib/components/forms/number-input/number-input.component.mjs +10 -10
- package/esm2020/lib/components/forms/password-input/password-input.component.mjs +8 -8
- package/esm2020/lib/components/forms/select-input/select-input.component.mjs +8 -8
- package/esm2020/lib/components/forms/string-input/string-input.component.mjs +11 -11
- package/esm2020/lib/components/forms/text-input/text-input.component.mjs +7 -7
- package/esm2020/lib/components/icon/icon.component.mjs +5 -5
- package/esm2020/lib/components/labelled-value/labelled-value.component.mjs +3 -3
- package/esm2020/lib/components/loading-container/loading-container.component.mjs +5 -5
- package/esm2020/lib/components/noop/noop.component.mjs +3 -3
- package/esm2020/lib/components/resize-aware.component.mjs +3 -3
- package/esm2020/lib/components/scroll-container/scroll-container.component.mjs +3 -3
- package/esm2020/lib/components/section-header/section-header.component.mjs +3 -3
- package/esm2020/lib/components/switch-case/switch-case.component.mjs +11 -11
- package/esm2020/lib/components/tables/abstract-table.component.mjs +3 -3
- package/esm2020/lib/components/tables/column/column-model.mjs +1 -1
- package/esm2020/lib/components/tables/column/column-template/column-template.directive.mjs +3 -3
- package/esm2020/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.mjs +7 -7
- package/esm2020/lib/components/tables/paginator/paginator.component.mjs +6 -6
- package/esm2020/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.mjs +4 -4
- package/esm2020/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.mjs +4 -4
- package/esm2020/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.mjs +7 -7
- package/esm2020/lib/components/tables/renderer/selection-cell/selection-cell.component.mjs +6 -6
- package/esm2020/lib/components/tables/renderer/table-body/table-body.component.mjs +8 -8
- package/esm2020/lib/components/tables/renderer/table-cell/table-cell.component.mjs +12 -12
- package/esm2020/lib/components/tables/renderer/table-header-cell/table-header-cell.component.mjs +7 -7
- package/esm2020/lib/components/tables/table/table.component.mjs +8 -8
- package/esm2020/lib/components/tables/table-row-menu/table-row-menu.component.mjs +11 -19
- package/esm2020/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.mjs +3 -3
- package/esm2020/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.mjs +5 -5
- package/esm2020/lib/components/tables/tree-table/tree-table-component.mjs +6 -6
- package/esm2020/lib/components/text/markdown/markdown.component.mjs +3 -3
- package/esm2020/lib/components/vertical-focus-container/vertical-focus-container.component.mjs +3 -3
- package/esm2020/lib/directives/command.directive.mjs +3 -3
- package/esm2020/lib/directives/directives.module.mjs +11 -13
- package/esm2020/lib/directives/focus-binding-factory.mjs +3 -3
- package/esm2020/lib/directives/focus-binding.directive.mjs +3 -3
- package/esm2020/lib/directives/highlight-text-model.directive.mjs +3 -3
- package/esm2020/lib/directives/highlight.pipe.mjs +3 -3
- package/esm2020/lib/interaction/activity.mjs +3 -3
- package/esm2020/lib/interaction/components/abstract-confirm-dialog.component.mjs +3 -3
- package/esm2020/lib/interaction/components/abstract-dialog.component.mjs +3 -3
- package/esm2020/lib/interaction/components/activity-actions/activity-actions.component.mjs +5 -5
- package/esm2020/lib/interaction/components/activity-body/activity-body.component.mjs +3 -3
- package/esm2020/lib/interaction/components/activity-container/activity-container.component.mjs +8 -8
- package/esm2020/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.mjs +3 -3
- package/esm2020/lib/interaction/components/activity-title/activity-title.component.mjs +3 -3
- package/esm2020/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.mjs +3 -3
- package/esm2020/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.mjs +5 -5
- package/esm2020/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.mjs +3 -3
- package/esm2020/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.mjs +5 -5
- package/esm2020/lib/interaction/components/add-card-activity/add-card-activity.component.mjs +8 -8
- package/esm2020/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.mjs +5 -5
- package/esm2020/lib/interaction/components/alert-dialog/alert-dialog.component.mjs +7 -7
- package/esm2020/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.mjs +7 -7
- package/esm2020/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.mjs +7 -7
- package/esm2020/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.mjs +7 -7
- package/esm2020/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.mjs +8 -8
- package/esm2020/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.mjs +3 -3
- package/esm2020/lib/interaction/components/input-activities/input-activity.mjs +3 -3
- package/esm2020/lib/interaction/components/input-activities/select-input-activity.mjs +4 -4
- package/esm2020/lib/interaction/components/input-activities/string-input-activity.mjs +4 -4
- package/esm2020/lib/interaction/components/popup-interaction-context/popup-interaction-context.component.mjs +3 -3
- package/esm2020/lib/interaction/directives/interaction-context-trigger-for.directive.mjs +3 -3
- package/esm2020/lib/interaction/interaction.module.mjs +20 -22
- package/esm2020/lib/interaction/services/interaction.service.mjs +3 -3
- package/esm2020/lib/interaction/services/mat-dialog-interaction/dialog-interaction-context-factory.mjs +3 -3
- package/esm2020/lib/place/components/abstract-place-navigation.component.mjs +3 -3
- package/esm2020/lib/place/components/list-place-nav/list-place-nav.component.mjs +9 -9
- package/esm2020/lib/place/components/not-authorised-notice/not-authorised-notice.component.mjs +3 -3
- package/esm2020/lib/place/components/place-outlet/place-outlet.component.mjs +4 -4
- package/esm2020/lib/place/components/side-place-navigation/side-place-navigation.component.mjs +7 -7
- package/esm2020/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.mjs +7 -7
- package/esm2020/lib/place/guards/noop-auth-guard.service.mjs +3 -3
- package/esm2020/lib/place/guards/place.guard.mjs +3 -3
- package/esm2020/lib/place/place-component.mjs +3 -3
- package/esm2020/lib/place/place-history.mjs +3 -3
- package/esm2020/lib/place/place-router.mjs +3 -3
- package/esm2020/lib/place/place.module.mjs +16 -20
- package/esm2020/lib/place/url-service.mjs +3 -3
- package/esm2020/lib/services/markdown/markdown.service.mjs +3 -3
- package/esm2020/lib/services/visibility-service.mjs +3 -3
- package/fesm2015/coolon-angular-ui-powerups.mjs +552 -587
- package/fesm2015/coolon-angular-ui-powerups.mjs.map +1 -1
- package/fesm2020/coolon-angular-ui-powerups.mjs +509 -544
- package/fesm2020/coolon-angular-ui-powerups.mjs.map +1 -1
- package/lib/components/busy-overlay/busy-overlay.component.d.ts +1 -1
- package/lib/components/cards/abstract-card-container.component.d.ts +1 -1
- package/lib/components/cards/card-container/card-container.component.d.ts +1 -1
- package/lib/components/cards/card-stack/card-stack.component.d.ts +1 -1
- package/lib/components/commands/command/command.component.d.ts +1 -1
- package/lib/components/commands/command-face/command-face.component.d.ts +1 -1
- package/lib/components/commands/flex.component.d.ts +1 -1
- package/lib/components/commands/group/popup-menu/abstract-popup-menu.component.d.ts +1 -1
- package/lib/components/commands/group/popup-menu/more-menu.component.d.ts +1 -1
- package/lib/components/commands/group/popup-menu/popup-menu-renderer/popup-menu-renderer.component.d.ts +1 -1
- package/lib/components/commands/group/popup-menu/popup-menu.component.d.ts +1 -1
- package/lib/components/commands/group/tool-bar/tool-bar.component.d.ts +1 -1
- package/lib/components/commands/separator.component.d.ts +1 -1
- package/lib/components/disposable-component.d.ts +1 -1
- package/lib/components/empty-state/empty-state.component.d.ts +1 -1
- package/lib/components/focus-container/focus-container.component.d.ts +1 -1
- package/lib/components/focusable.component.d.ts +1 -1
- package/lib/components/forms/abstract-input.component.d.ts +1 -1
- package/lib/components/forms/abstract-list-input.component.d.ts +1 -1
- package/lib/components/forms/abstract-value-input.component.d.ts +1 -1
- package/lib/components/forms/autocomplete-input/autocomplete-input.component.d.ts +1 -1
- package/lib/components/forms/checkbox-input/checkbox-input.component.d.ts +1 -1
- package/lib/components/forms/multiple-select-input/multiple-select-input.component.d.ts +1 -1
- package/lib/components/forms/number-input/number-input.component.d.ts +1 -1
- package/lib/components/forms/password-input/password-input.component.d.ts +1 -1
- package/lib/components/forms/select-input/select-input.component.d.ts +1 -1
- package/lib/components/forms/string-input/string-input.component.d.ts +1 -1
- package/lib/components/forms/text-input/text-input.component.d.ts +1 -1
- package/lib/components/icon/icon.component.d.ts +1 -1
- package/lib/components/labelled-value/labelled-value.component.d.ts +1 -1
- package/lib/components/loading-container/loading-container.component.d.ts +1 -1
- package/lib/components/noop/noop.component.d.ts +1 -1
- package/lib/components/resize-aware.component.d.ts +1 -1
- package/lib/components/scroll-container/scroll-container.component.d.ts +1 -1
- package/lib/components/section-header/section-header.component.d.ts +1 -1
- package/lib/components/switch-case/switch-case.component.d.ts +3 -3
- package/lib/components/tables/abstract-table.component.d.ts +1 -1
- package/lib/components/tables/column/column-model.d.ts +1 -1
- package/lib/components/tables/column/column-template/column-template.directive.d.ts +1 -1
- package/lib/components/tables/editor/edit-row-controls/edit-row-controls.component.d.ts +1 -1
- package/lib/components/tables/paginator/paginator.component.d.ts +1 -1
- package/lib/components/tables/renderer/default-cell-renderer/default-cell-renderer.component.d.ts +1 -1
- package/lib/components/tables/renderer/default-header-cell-renderer/default-header-cell-renderer.component.d.ts +1 -1
- package/lib/components/tables/renderer/select-header-cell/selection-header-cell.component.d.ts +1 -1
- package/lib/components/tables/renderer/selection-cell/selection-cell.component.d.ts +1 -1
- package/lib/components/tables/renderer/table-body/table-body.component.d.ts +1 -1
- package/lib/components/tables/renderer/table-cell/table-cell.component.d.ts +8 -9
- package/lib/components/tables/renderer/table-header-cell/table-header-cell.component.d.ts +5 -6
- package/lib/components/tables/table/table.component.d.ts +1 -1
- package/lib/components/tables/table-row-menu/table-row-menu.component.d.ts +1 -1
- package/lib/components/tables/tree-table/tree-inheritance-icon/tree-inheritance-icon.component.d.ts +1 -1
- package/lib/components/tables/tree-table/tree-label-cell-renderer/tree-label-cell-renderer.component.d.ts +1 -1
- package/lib/components/tables/tree-table/tree-table-component.d.ts +1 -1
- package/lib/components/text/markdown/markdown.component.d.ts +1 -1
- package/lib/components/vertical-focus-container/vertical-focus-container.component.d.ts +1 -1
- package/lib/directives/command.directive.d.ts +1 -1
- package/lib/directives/focus-binding.directive.d.ts +1 -1
- package/lib/directives/highlight-text-model.directive.d.ts +1 -1
- package/lib/directives/highlight.pipe.d.ts +1 -1
- package/lib/interaction/activity.d.ts +1 -1
- package/lib/interaction/components/abstract-confirm-dialog.component.d.ts +1 -1
- package/lib/interaction/components/abstract-dialog.component.d.ts +1 -1
- package/lib/interaction/components/activity-actions/activity-actions.component.d.ts +1 -1
- package/lib/interaction/components/activity-body/activity-body.component.d.ts +1 -1
- package/lib/interaction/components/activity-container/activity-container.component.d.ts +1 -1
- package/lib/interaction/components/activity-container/activity-outlet/activity-outlet.component.d.ts +1 -1
- package/lib/interaction/components/activity-title/activity-title.component.d.ts +1 -1
- package/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.d.ts +1 -1
- package/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.d.ts +1 -1
- package/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.d.ts +1 -1
- package/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.d.ts +1 -1
- package/lib/interaction/components/add-card-activity/add-card-activity.component.d.ts +1 -1
- package/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.d.ts +1 -1
- package/lib/interaction/components/alert-dialog/alert-dialog.component.d.ts +1 -1
- package/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.d.ts +1 -1
- package/lib/interaction/components/confirm-then-execute-dialog/confirm-then-execute-dialog.component.d.ts +1 -1
- package/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.d.ts +1 -1
- package/lib/interaction/components/editors/inline-string-editor/inline-string-editor.component.d.ts +1 -1
- package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +1 -1
- package/lib/interaction/components/input-activities/input-activity.d.ts +1 -1
- package/lib/interaction/components/input-activities/select-input-activity.d.ts +1 -1
- 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 +1 -1
- package/lib/interaction/directives/interaction-context-trigger-for.directive.d.ts +1 -1
- package/lib/place/components/abstract-place-navigation.component.d.ts +1 -1
- package/lib/place/components/list-place-nav/list-place-nav.component.d.ts +1 -1
- package/lib/place/components/not-authorised-notice/not-authorised-notice.component.d.ts +1 -1
- package/lib/place/components/place-outlet/place-outlet.component.d.ts +1 -1
- package/lib/place/components/side-place-navigation/side-place-navigation.component.d.ts +1 -1
- package/lib/place/components/tabbed-place-navigation/tabbed-place-navigation.component.d.ts +1 -1
- package/lib/place/place-component.d.ts +1 -1
- package/package.json +14 -14
- package/coolon-angular-ui-powerups.d.ts +0 -5
|
@@ -13,9 +13,9 @@ export class AbstractConfirmDialogComponent extends AbstractDialogComponent {
|
|
|
13
13
|
});
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
AbstractConfirmDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
17
|
-
AbstractConfirmDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16
|
+
AbstractConfirmDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: AbstractConfirmDialogComponent, deps: [{ token: ALERT_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
AbstractConfirmDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: AbstractConfirmDialogComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: AbstractConfirmDialogComponent, decorators: [{
|
|
19
19
|
type: Component,
|
|
20
20
|
args: [{
|
|
21
21
|
template: ''
|
|
@@ -47,9 +47,9 @@ export class AbstractDialogComponent extends Activity {
|
|
|
47
47
|
return isFunction(this.config['destructive']) && this.config.destructive();
|
|
48
48
|
}
|
|
49
49
|
}
|
|
50
|
-
AbstractDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
51
|
-
AbstractDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
50
|
+
AbstractDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: AbstractDialogComponent, deps: [{ token: ALERT_CONFIG }], target: i0.ɵɵFactoryTarget.Component });
|
|
51
|
+
AbstractDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: AbstractDialogComponent, selector: "ng-component", usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
52
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: AbstractDialogComponent, decorators: [{
|
|
53
53
|
type: Component,
|
|
54
54
|
args: [{
|
|
55
55
|
template: ''
|
|
@@ -6,8 +6,8 @@ import { CommandFace } from '../../../components/commands/command-face';
|
|
|
6
6
|
import { CommandComponent } from "../../../components/commands/command/command.component";
|
|
7
7
|
import { DisposableComponent } from '../../../components/disposable-component';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
|
-
import * as i1 from "
|
|
10
|
-
import * as i2 from "
|
|
9
|
+
import * as i1 from "@angular/common";
|
|
10
|
+
import * as i2 from "../../../components/commands/command/command.component";
|
|
11
11
|
/**
|
|
12
12
|
* @example
|
|
13
13
|
* <aup-activity-actions [confirmFace]="saveFace" [cancelFace]="cancelFace">
|
|
@@ -66,8 +66,8 @@ export class ActivityActionsComponent extends DisposableComponent {
|
|
|
66
66
|
this.cancelCommandComponent.requestFocus();
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
ActivityActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
70
|
-
ActivityActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
69
|
+
ActivityActionsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ActivityActionsComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component });
|
|
70
|
+
ActivityActionsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: ActivityActionsComponent, selector: "aup-activity-actions", inputs: { confirmCommand: "confirmCommand", cancelCommand: "cancelCommand", faces: "faces", confirmFace: "confirmFace", cancelFace: "cancelFace", style: "style", layout: "layout", align: "align" }, host: { properties: { "attr.layout": "this.layout", "attr.align": "this.align" } }, viewQueries: [{ propertyName: "confirmCommandComponent", first: true, predicate: ["confirmCommandComponent"], descendants: true }, { propertyName: "cancelCommandComponent", first: true, predicate: ["cancelCommandComponent"], descendants: true }], usesInheritance: true, ngImport: i0, template: "<div class=\"content\">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf=\"hasConfirmFace()\">\n <aup-command #confirmCommandComponent class=\"confirm\" [command]=\"confirmCommand\" [face]=\"confirmFace\" data-cy=\"confirm-command\"></aup-command>\n</ng-container>\n<ng-container *ngIf=\"hasCancelFace()\">\n <aup-command #cancelCommandComponent class=\"cancel\" [command]=\"cancelCommand\" [face]=\"cancelFace\" data-cy=\"cancel-command\"></aup-command>\n</ng-container>\n", styles: [":host{display:grid;grid-template-rows:auto;align-items:center;justify-content:end;--resolved-activity-actions-gap: var(--activity-actions-gap, 8px)}:host[layout=block][align=start]{grid-template-areas:\"cancel confirm content\";grid-template-columns:auto auto 1fr}:host[layout=block][align=start] .confirm{margin-left:var(--resolved-activity-actions-gap)}:host[layout=block][align=end]{grid-template-areas:\"content cancel confirm\";grid-template-columns:1fr auto auto}:host[layout=block][align=end] .confirm{margin-left:var(--resolved-activity-actions-gap)}:host[layout=block][align=stretch]{grid-template-areas:\"cancel content confirm\";grid-template-columns:auto 1fr auto}:host[layout=inline]{grid-template-areas:\"confirm cancel content\";grid-template-columns:auto auto 1fr}:host[layout=inline] .cancel{margin-left:var(--resolved-activity-actions-gap)}.cancel{grid-area:cancel}.confirm{grid-area:confirm}.content{grid-area:content;text-align:left}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.CommandComponent, selector: "aup-command", inputs: ["command", "faceModel", "face", "busyFaceModel", "busyFace", "alignFace"] }] });
|
|
71
71
|
__decorate([
|
|
72
72
|
TrackExternal(),
|
|
73
73
|
__metadata("design:type", Command)
|
|
@@ -76,7 +76,7 @@ __decorate([
|
|
|
76
76
|
TrackExternal(),
|
|
77
77
|
__metadata("design:type", Command)
|
|
78
78
|
], ActivityActionsComponent.prototype, "cancelCommand", void 0);
|
|
79
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
79
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ActivityActionsComponent, decorators: [{
|
|
80
80
|
type: Component,
|
|
81
81
|
args: [{ selector: 'aup-activity-actions', template: "<div class=\"content\">\n <ng-content></ng-content>\n</div>\n<ng-container *ngIf=\"hasConfirmFace()\">\n <aup-command #confirmCommandComponent class=\"confirm\" [command]=\"confirmCommand\" [face]=\"confirmFace\" data-cy=\"confirm-command\"></aup-command>\n</ng-container>\n<ng-container *ngIf=\"hasCancelFace()\">\n <aup-command #cancelCommandComponent class=\"cancel\" [command]=\"cancelCommand\" [face]=\"cancelFace\" data-cy=\"cancel-command\"></aup-command>\n</ng-container>\n", styles: [":host{display:grid;grid-template-rows:auto;align-items:center;justify-content:end;--resolved-activity-actions-gap: var(--activity-actions-gap, 8px)}:host[layout=block][align=start]{grid-template-areas:\"cancel confirm content\";grid-template-columns:auto auto 1fr}:host[layout=block][align=start] .confirm{margin-left:var(--resolved-activity-actions-gap)}:host[layout=block][align=end]{grid-template-areas:\"content cancel confirm\";grid-template-columns:1fr auto auto}:host[layout=block][align=end] .confirm{margin-left:var(--resolved-activity-actions-gap)}:host[layout=block][align=stretch]{grid-template-areas:\"cancel content confirm\";grid-template-columns:auto 1fr auto}:host[layout=inline]{grid-template-areas:\"confirm cancel content\";grid-template-columns:auto auto 1fr}:host[layout=inline] .cancel{margin-left:var(--resolved-activity-actions-gap)}.cancel{grid-area:cancel}.confirm{grid-area:confirm}.content{grid-area:content;text-align:left}\n"] }]
|
|
82
82
|
}], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { confirmCommandComponent: [{
|
|
@@ -9,9 +9,9 @@ export class ActivityBodyComponent extends DisposableComponent {
|
|
|
9
9
|
ngOnInit() {
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
ActivityBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
13
|
-
ActivityBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
12
|
+
ActivityBodyComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ActivityBodyComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
13
|
+
ActivityBodyComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: ActivityBodyComponent, selector: "aup-activity-body", inputs: { fullWidth: "fullWidth" }, host: { properties: { "class.full-width": "this.fullWidth" } }, usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: ["<ng-content></ng-content>\n"] });
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ActivityBodyComponent, decorators: [{
|
|
15
15
|
type: Component,
|
|
16
16
|
args: [{ selector: 'aup-activity-body', template: "<ng-content></ng-content>\n", styles: ["<ng-content></ng-content>\n"] }]
|
|
17
17
|
}], propDecorators: { fullWidth: [{
|
package/esm2020/lib/interaction/components/activity-container/activity-container.component.mjs
CHANGED
|
@@ -9,11 +9,11 @@ import { ActivityRef } from "../../activity-ref";
|
|
|
9
9
|
import { ActivityOutletComponent } from "./activity-outlet/activity-outlet.component";
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
import * as i1 from "../../../place/place-router";
|
|
12
|
-
import * as i2 from "@angular/
|
|
13
|
-
import * as i3 from "
|
|
14
|
-
import * as i4 from "
|
|
15
|
-
import * as i5 from "@angular/
|
|
16
|
-
import * as i6 from "
|
|
12
|
+
import * as i2 from "@angular/common";
|
|
13
|
+
import * as i3 from "@angular/material/tabs";
|
|
14
|
+
import * as i4 from "../../../components/busy-overlay/busy-overlay.component";
|
|
15
|
+
import * as i5 from "@angular/cdk/a11y";
|
|
16
|
+
import * as i6 from "./activity-outlet/activity-outlet.component";
|
|
17
17
|
export class ActivityContainerComponent extends AbstractInteractionContext {
|
|
18
18
|
constructor(placeRouter) {
|
|
19
19
|
super();
|
|
@@ -203,9 +203,9 @@ export class ActivityContainerComponent extends AbstractInteractionContext {
|
|
|
203
203
|
}, 75);
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
|
-
ActivityContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
207
|
-
ActivityContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
208
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
206
|
+
ActivityContainerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ActivityContainerComponent, deps: [{ token: i1.PlaceRouter }], target: i0.ɵɵFactoryTarget.Component });
|
|
207
|
+
ActivityContainerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: ActivityContainerComponent, selector: "aup-activity-container", inputs: { dynamicHeight: "dynamicHeight" }, viewQueries: [{ propertyName: "tabs", first: true, predicate: ["tabs"], descendants: true, static: true }, { propertyName: "activityOutlets", predicate: ActivityOutletComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\">\n <mat-tab *ngFor=\"let activityRef of activityRefs; let i = index; trackBy: activityIndex\">\n <aup-busy-overlay [busyModel]=\"busy\" cdkTrapFocus cdkTrapFocusAutoCapture>\n <!--\n We have issues where angular is triggering a leave animation when an\n new activity is started, but is not running the enter animation\n when it is scrolled back into view. So we track the tab changes and\n disable all animations inside the tab while we're animating.\n -->\n <div class=\"activity-outlet-wrapper\" [@.disabled]=\"!activityRef.focused\">\n <aup-activity-outlet [nestedInteractionContext]=\"this\" [activityRef]=\"activityRef\"></aup-activity-outlet>\n </div>\n </aup-busy-overlay>\n </mat-tab>\n</mat-tab-group>\n", styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}aup-busy-overlay{flex:1}.activity-outlet-wrapper{flex:1}\n"], dependencies: [{ kind: "directive", type: i2.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "component", type: i3.MatTabGroup, selector: "mat-tab-group", inputs: ["color", "disableRipple"], exportAs: ["matTabGroup"] }, { kind: "component", type: i3.MatTab, selector: "mat-tab", inputs: ["disabled", "label", "aria-label", "aria-labelledby", "labelClass", "bodyClass"], exportAs: ["matTab"] }, { kind: "component", type: i4.BusyOverlayComponent, selector: "aup-busy-overlay", inputs: ["busyModel", "busy"] }, { kind: "directive", type: i5.CdkTrapFocus, selector: "[cdkTrapFocus]", inputs: ["cdkTrapFocus", "cdkTrapFocusAutoCapture"], exportAs: ["cdkTrapFocus"] }, { kind: "component", type: i6.ActivityOutletComponent, selector: "aup-activity-outlet", inputs: ["nestedInteractionContext", "activityRef"] }] });
|
|
208
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ActivityContainerComponent, decorators: [{
|
|
209
209
|
type: Component,
|
|
210
210
|
args: [{ selector: "aup-activity-container", template: "<mat-tab-group #tabs no-tab-header\n [dynamicHeight]=\"dynamicHeight\"\n [class.full-height-tabs]=\"!dynamicHeight\">\n <mat-tab *ngFor=\"let activityRef of activityRefs; let i = index; trackBy: activityIndex\">\n <aup-busy-overlay [busyModel]=\"busy\" cdkTrapFocus cdkTrapFocusAutoCapture>\n <!--\n We have issues where angular is triggering a leave animation when an\n new activity is started, but is not running the enter animation\n when it is scrolled back into view. So we track the tab changes and\n disable all animations inside the tab while we're animating.\n -->\n <div class=\"activity-outlet-wrapper\" [@.disabled]=\"!activityRef.focused\">\n <aup-activity-outlet [nestedInteractionContext]=\"this\" [activityRef]=\"activityRef\"></aup-activity-outlet>\n </div>\n </aup-busy-overlay>\n </mat-tab>\n</mat-tab-group>\n", styles: [":host{display:flex;flex-direction:column}mat-tab-group{flex:1}aup-busy-overlay{flex:1}.activity-outlet-wrapper{flex:1}\n"] }]
|
|
211
211
|
}], ctorParameters: function () { return [{ type: i1.PlaceRouter }]; }, propDecorators: { dynamicHeight: [{
|
|
@@ -46,9 +46,9 @@ export class ActivityOutletComponent {
|
|
|
46
46
|
return this.activityComponentRef.instance;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
ActivityOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
50
|
-
ActivityOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
51
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
49
|
+
ActivityOutletComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ActivityOutletComponent, deps: [{ token: i0.ComponentFactoryResolver }, { token: i0.ViewContainerRef }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Component });
|
|
50
|
+
ActivityOutletComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: ActivityOutletComponent, selector: "aup-activity-outlet", inputs: { nestedInteractionContext: "nestedInteractionContext", activityRef: "activityRef" }, ngImport: i0, template: '', isInline: true, styles: [":host{display:block}\n"] });
|
|
51
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ActivityOutletComponent, decorators: [{
|
|
52
52
|
type: Component,
|
|
53
53
|
args: [{ selector: 'aup-activity-outlet', template: '', styles: [":host{display:block}\n"] }]
|
|
54
54
|
}], ctorParameters: function () { return [{ type: i0.ComponentFactoryResolver }, { type: i0.ViewContainerRef }, { type: i0.Injector }]; }, propDecorators: { nestedInteractionContext: [{
|
|
@@ -22,9 +22,9 @@ export class ActivityTitleComponent extends DisposableComponent {
|
|
|
22
22
|
ngOnInit() {
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
ActivityTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
26
|
-
ActivityTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
25
|
+
ActivityTitleComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ActivityTitleComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
+
ActivityTitleComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: ActivityTitleComponent, selector: "aup-activity-title", inputs: { hasTransparentBackground: "hasTransparentBackground", color: "color" }, host: { properties: { "class.transparent-background": "this.hasTransparentBackground", "attr.color": "this.color" } }, usesInheritance: true, ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] });
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ActivityTitleComponent, decorators: [{
|
|
28
28
|
type: Component,
|
|
29
29
|
args: [{ selector: 'aup-activity-title', template: "<ng-content></ng-content>\n", styles: [":host{display:block}\n"] }]
|
|
30
30
|
}], propDecorators: { hasTransparentBackground: [{
|
package/esm2020/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.mjs
CHANGED
|
@@ -32,8 +32,8 @@ export class AbstractActivityTriggerComponent extends DisposableComponent {
|
|
|
32
32
|
return this.interactionContext?.isActive();
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
|
-
AbstractActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
36
|
-
AbstractActivityTriggerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
35
|
+
AbstractActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: AbstractActivityTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
36
|
+
AbstractActivityTriggerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: AbstractActivityTriggerComponent, selector: "aup-abstract-activity-trigger", inputs: { activityClass: "activityClass", activityClassModel: "activityClassModel", activityData: "activityData", activityDataModel: "activityDataModel", face: "face", faceModel: "faceModel", alignFace: "alignFace" }, outputs: { confirmEvent: "confirmEvent", cancelEvent: "cancelEvent" }, host: { properties: { "class.active": "this.isActive" } }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
37
37
|
__decorate([
|
|
38
38
|
StoreInValueModel('activityClassModel'),
|
|
39
39
|
__metadata("design:type", Object)
|
|
@@ -58,7 +58,7 @@ __decorate([
|
|
|
58
58
|
TrackExternal(),
|
|
59
59
|
__metadata("design:type", ValueModel)
|
|
60
60
|
], AbstractActivityTriggerComponent.prototype, "faceModel", void 0);
|
|
61
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
61
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: AbstractActivityTriggerComponent, decorators: [{
|
|
62
62
|
type: Component,
|
|
63
63
|
args: [{
|
|
64
64
|
selector: 'aup-abstract-activity-trigger',
|
|
@@ -2,8 +2,8 @@ import { Component, ViewChild } from '@angular/core';
|
|
|
2
2
|
import { InPlaceInteractionContextComponent } from '../../inplace-interaction-context/in-place-interaction-context.component';
|
|
3
3
|
import { AbstractActivityTriggerComponent } from '../abstract-activity-trigger.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "
|
|
6
|
-
import * as i2 from "
|
|
5
|
+
import * as i1 from "../../../../components/commands/command/command.component";
|
|
6
|
+
import * as i2 from "../../inplace-interaction-context/in-place-interaction-context.component";
|
|
7
7
|
export class InlineActivityTriggerComponent extends AbstractActivityTriggerComponent {
|
|
8
8
|
constructor() {
|
|
9
9
|
super();
|
|
@@ -12,9 +12,9 @@ export class InlineActivityTriggerComponent extends AbstractActivityTriggerCompo
|
|
|
12
12
|
return this._interactionContext;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
|
-
InlineActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
16
|
-
InlineActivityTriggerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
15
|
+
InlineActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: InlineActivityTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
InlineActivityTriggerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: InlineActivityTriggerComponent, selector: "aup-inline-activity-trigger", viewQueries: [{ propertyName: "_interactionContext", first: true, predicate: InPlaceInteractionContextComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<aup-in-place-interaction-context #interactionContext [animateFirstActivity]=\"false\">\n <aup-command [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n</aup-in-place-interaction-context>\n", styles: [":host{display:inline-block}\n"], dependencies: [{ kind: "component", type: i1.CommandComponent, selector: "aup-command", inputs: ["command", "faceModel", "face", "busyFaceModel", "busyFace", "alignFace"] }, { kind: "component", type: i2.InPlaceInteractionContextComponent, selector: "aup-in-place-interaction-context", inputs: ["animateFirstActivity", "syncWithRoutes"] }] });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: InlineActivityTriggerComponent, decorators: [{
|
|
18
18
|
type: Component,
|
|
19
19
|
args: [{ selector: 'aup-inline-activity-trigger', template: "<aup-in-place-interaction-context #interactionContext [animateFirstActivity]=\"false\">\n <aup-command [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n</aup-in-place-interaction-context>\n", styles: [":host{display:inline-block}\n"] }]
|
|
20
20
|
}], ctorParameters: function () { return []; }, propDecorators: { _interactionContext: [{
|
|
@@ -13,9 +13,9 @@ export class ModalActivityTriggerComponent extends AbstractActivityTriggerCompon
|
|
|
13
13
|
return this._interactionContext;
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
|
-
ModalActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
17
|
-
ModalActivityTriggerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
16
|
+
ModalActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ModalActivityTriggerComponent, deps: [{ token: i1.InteractionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
17
|
+
ModalActivityTriggerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: ModalActivityTriggerComponent, selector: "aup-modal-activity-trigger", usesInheritance: true, ngImport: i0, template: "<aup-command [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n", styles: [":host{display:inline-block}\n"], dependencies: [{ kind: "component", type: i2.CommandComponent, selector: "aup-command", inputs: ["command", "faceModel", "face", "busyFaceModel", "busyFace", "alignFace"] }] });
|
|
18
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ModalActivityTriggerComponent, decorators: [{
|
|
19
19
|
type: Component,
|
|
20
20
|
args: [{ selector: 'aup-modal-activity-trigger', template: "<aup-command [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n", styles: [":host{display:inline-block}\n"] }]
|
|
21
21
|
}], ctorParameters: function () { return [{ type: i1.InteractionService }]; } });
|
|
@@ -2,8 +2,8 @@ import { Component, Input, ViewChild } from '@angular/core';
|
|
|
2
2
|
import { PopupInteractionContextComponent } from '../../popup-interaction-context/popup-interaction-context.component';
|
|
3
3
|
import { AbstractActivityTriggerComponent } from '../abstract-activity-trigger.component';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "
|
|
6
|
-
import * as i2 from "
|
|
5
|
+
import * as i1 from "../../../../components/commands/command/command.component";
|
|
6
|
+
import * as i2 from "../../popup-interaction-context/popup-interaction-context.component";
|
|
7
7
|
export class PopupActivityTriggerComponent extends AbstractActivityTriggerComponent {
|
|
8
8
|
constructor() {
|
|
9
9
|
super();
|
|
@@ -14,9 +14,9 @@ export class PopupActivityTriggerComponent extends AbstractActivityTriggerCompon
|
|
|
14
14
|
return this._interactionContext;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
PopupActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
18
|
-
PopupActivityTriggerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
19
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
17
|
+
PopupActivityTriggerComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: PopupActivityTriggerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
18
|
+
PopupActivityTriggerComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: PopupActivityTriggerComponent, selector: "aup-popup-activity-trigger", inputs: { anchorX: "anchorX", anchorY: "anchorY" }, viewQueries: [{ propertyName: "_interactionContext", first: true, predicate: PopupInteractionContextComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<aup-popup-interaction-context [anchorX]=\"anchorX\" [anchorY]=\"anchorY\">\n <aup-command [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n</aup-popup-interaction-context>\n", styles: [":host{display:inline-block}\n"], dependencies: [{ kind: "component", type: i1.CommandComponent, selector: "aup-command", inputs: ["command", "faceModel", "face", "busyFaceModel", "busyFace", "alignFace"] }, { kind: "component", type: i2.PopupInteractionContextComponent, selector: "aup-popup-interaction-context", inputs: ["anchorX", "anchorY"] }] });
|
|
19
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: PopupActivityTriggerComponent, decorators: [{
|
|
20
20
|
type: Component,
|
|
21
21
|
args: [{ selector: 'aup-popup-activity-trigger', template: "<aup-popup-interaction-context [anchorX]=\"anchorX\" [anchorY]=\"anchorY\">\n <aup-command [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n</aup-popup-interaction-context>\n", styles: [":host{display:inline-block}\n"] }]
|
|
22
22
|
}], ctorParameters: function () { return []; }, propDecorators: { anchorX: [{
|
package/esm2020/lib/interaction/components/add-card-activity/add-card-activity.component.mjs
CHANGED
|
@@ -6,11 +6,11 @@ import { AbstractActivityTriggerComponent } from '../activity-triggers/abstract-
|
|
|
6
6
|
import { InPlaceInteractionContextComponent } from '../inplace-interaction-context/in-place-interaction-context.component';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
import * as i1 from "../../services/interaction.service";
|
|
9
|
-
import * as i2 from "
|
|
10
|
-
import * as i3 from "../../../
|
|
11
|
-
import * as i4 from "../../../components/commands/command
|
|
12
|
-
import * as i5 from "../../../
|
|
13
|
-
import * as i6 from "
|
|
9
|
+
import * as i2 from "@angular/common";
|
|
10
|
+
import * as i3 from "../../../directives/command.directive";
|
|
11
|
+
import * as i4 from "../../../components/commands/command/command.component";
|
|
12
|
+
import * as i5 from "../../../components/commands/command-face/command-face.component";
|
|
13
|
+
import * as i6 from "../inplace-interaction-context/in-place-interaction-context.component";
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
@@ -53,9 +53,9 @@ export class AddCardActivityComponent extends AbstractActivityTriggerComponent {
|
|
|
53
53
|
return this.interactionStyle === 'inline';
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
AddCardActivityComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
57
|
-
AddCardActivityComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
58
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
56
|
+
AddCardActivityComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: AddCardActivityComponent, deps: [{ token: i1.InteractionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
57
|
+
AddCardActivityComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: AddCardActivityComponent, selector: "aup-add-card-activity", inputs: { interactionStyle: "interactionStyle", renderAs: "renderAs" }, host: { properties: { "class": "this.activityTypeClass", "class.not-card": "this.notCard" } }, viewQueries: [{ propertyName: "inlineInteractionContext", first: true, predicate: InPlaceInteractionContextComponent, descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<aup-in-place-interaction-context [animateFirstActivity]=\"false\" [pectinCommand]=\"startActivityCommand\">\n <aup-command *ngIf=\"isRenderAsButton()\" [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n <section *ngIf=\"isRenderAsCard()\" class=\"face-wrapper\">\n <aup-command-face class=\"mat-button\" [faces]=\"faceList.value\"></aup-command-face>\n </section>\n</aup-in-place-interaction-context>\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch;background-color:#fff}:host[interactionStyle=inline][renderas=card]:not(.active){transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}:host[interactionStyle=inline][renderas=card]:not(.active):hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}:host[interactionStyle=inline][renderas=card]:not(.active):hover{border-color:transparent;background-color:#fff;color:#0000008a}:host[interactionStyle=modal][renderas=card]{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}:host[interactionStyle=modal][renderas=card]:hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}:host[interactionStyle=modal][renderas=card]:hover{border-color:transparent;background-color:#fff;color:#0000008a}:host-context(aup-card-container)[renderas=button]{align-self:start}section.face-wrapper{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}aup-in-place-interaction-context{flex:1}aup-in-place-interaction-context.active{border:3px solid #6273c7;border-radius:4px;overflow:hidden}\n"], dependencies: [{ kind: "directive", type: i2.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i3.CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter"] }, { kind: "component", type: i4.CommandComponent, selector: "aup-command", inputs: ["command", "faceModel", "face", "busyFaceModel", "busyFace", "alignFace"] }, { kind: "component", type: i5.CommandFaceComponent, selector: "aup-command-face", inputs: ["faces", "face", "ignoreIcon", "ignoreText", "includeMissingIconInLayout"] }, { kind: "component", type: i6.InPlaceInteractionContextComponent, selector: "aup-in-place-interaction-context", inputs: ["animateFirstActivity", "syncWithRoutes"] }] });
|
|
58
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: AddCardActivityComponent, decorators: [{
|
|
59
59
|
type: Component,
|
|
60
60
|
args: [{ selector: 'aup-add-card-activity', template: "<aup-in-place-interaction-context [animateFirstActivity]=\"false\" [pectinCommand]=\"startActivityCommand\">\n <aup-command *ngIf=\"isRenderAsButton()\" [command]=\"startActivityCommand\" [faceModel]=\"faceModel\" [alignFace]=\"alignFace\"></aup-command>\n <section *ngIf=\"isRenderAsCard()\" class=\"face-wrapper\">\n <aup-command-face class=\"mat-button\" [faces]=\"faceList.value\"></aup-command-face>\n </section>\n</aup-in-place-interaction-context>\n", styles: [":host{display:flex;flex-direction:column;align-items:stretch;background-color:#fff}:host[interactionStyle=inline][renderas=card]:not(.active){transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}:host[interactionStyle=inline][renderas=card]:not(.active):hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}:host[interactionStyle=inline][renderas=card]:not(.active):hover{border-color:transparent;background-color:#fff;color:#0000008a}:host[interactionStyle=modal][renderas=card]{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:#0000008a;background-color:#fffc}:host[interactionStyle=modal][renderas=card]:hover{box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}:host[interactionStyle=modal][renderas=card]:hover{border-color:transparent;background-color:#fff;color:#0000008a}:host-context(aup-card-container)[renderas=button]{align-self:start}section.face-wrapper{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center}aup-in-place-interaction-context{flex:1}aup-in-place-interaction-context.active{border:3px solid #6273c7;border-radius:4px;overflow:hidden}\n"] }]
|
|
61
61
|
}], ctorParameters: function () { return [{ type: i1.InteractionService }]; }, propDecorators: { inlineInteractionContext: [{
|
|
@@ -4,9 +4,9 @@ import { Command, TrackExternal } from '@coolon/pectin';
|
|
|
4
4
|
import { DisposableComponent } from '../../../components/disposable-component';
|
|
5
5
|
import { InPlaceInteractionContextComponent } from '../inplace-interaction-context/in-place-interaction-context.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "
|
|
7
|
+
import * as i1 from "../../../directives/command.directive";
|
|
8
8
|
import * as i2 from "../../../components/icon/icon.component";
|
|
9
|
-
import * as i3 from "
|
|
9
|
+
import * as i3 from "../inplace-interaction-context/in-place-interaction-context.component";
|
|
10
10
|
/**
|
|
11
11
|
* Css Vars.
|
|
12
12
|
* --link-color
|
|
@@ -41,13 +41,13 @@ export class AddItemInteractionContextComponent extends DisposableComponent {
|
|
|
41
41
|
ngOnInit() {
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
|
-
AddItemInteractionContextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
45
|
-
AddItemInteractionContextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
44
|
+
AddItemInteractionContextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: AddItemInteractionContextComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
45
|
+
AddItemInteractionContextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: AddItemInteractionContextComponent, selector: "aup-add-item-interaction-context", inputs: { label: "label", icon: "icon", activityClass: "activityClass", activityData: "activityData", addCommand: "addCommand" }, host: { properties: { "class.interaction-active": "this.active", "tabindex": "this.tabindex" } }, viewQueries: [{ propertyName: "interactionContext", first: true, predicate: InPlaceInteractionContextComponent, descendants: true }], usesInheritance: true, ngImport: i0, template: "<aup-in-place-interaction-context [animateFirstActivity]=\"false\">\n <a part=\"link\" class=\"link\" [pectinCommand]=\"clickCommand\"><aup-icon [icon]=\"icon\"></aup-icon> {{label}}</a>\n</aup-in-place-interaction-context>\n", styles: [":host{--def-link-color: var(--link-color, currentColor);--def-link-color-hover: var(--link-color-hover, currentColor);--def-link-background: var(--link-background, transparent);--def-link-background-hover: var(--link-background-hover, rgba(0, 0, 0, .05));--def-link-border-radius: var(--link-border-radius, 4px);--def-link-padding: var(--link-padding, calc(var(--aup-default-padding) / 2));display:flex;flex-direction:column;border-radius:var(--def-link-border-radius);box-sizing:border-box;outline:none}:host:hover a.link{color:var(--def-link-color-hover);background-color:var(--def-link-background-hover)}aup-in-place-interaction-context{border-radius:var(--def-link-border-radius)}a.link{display:flex;flex-direction:row;align-items:center;border-radius:var(--def-link-border-radius);color:var(--def-link-color);background:var(--def-link-background);padding:var(--def-link-padding);cursor:pointer;text-decoration:none}a.link mat-icon{margin-right:8px}\n"], dependencies: [{ kind: "directive", type: i1.CommandDirective, selector: "[pectinCommand]", inputs: ["pectinCommand", "commandParameter"] }, { kind: "component", type: i2.IconComponent, selector: "aup-icon", inputs: ["icon"] }, { kind: "component", type: i3.InPlaceInteractionContextComponent, selector: "aup-in-place-interaction-context", inputs: ["animateFirstActivity", "syncWithRoutes"] }] });
|
|
46
46
|
__decorate([
|
|
47
47
|
TrackExternal(),
|
|
48
48
|
__metadata("design:type", Command)
|
|
49
49
|
], AddItemInteractionContextComponent.prototype, "addCommand", void 0);
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: AddItemInteractionContextComponent, decorators: [{
|
|
51
51
|
type: Component,
|
|
52
52
|
args: [{ selector: 'aup-add-item-interaction-context', template: "<aup-in-place-interaction-context [animateFirstActivity]=\"false\">\n <a part=\"link\" class=\"link\" [pectinCommand]=\"clickCommand\"><aup-icon [icon]=\"icon\"></aup-icon> {{label}}</a>\n</aup-in-place-interaction-context>\n", styles: [":host{--def-link-color: var(--link-color, currentColor);--def-link-color-hover: var(--link-color-hover, currentColor);--def-link-background: var(--link-background, transparent);--def-link-background-hover: var(--link-background-hover, rgba(0, 0, 0, .05));--def-link-border-radius: var(--link-border-radius, 4px);--def-link-padding: var(--link-padding, calc(var(--aup-default-padding) / 2));display:flex;flex-direction:column;border-radius:var(--def-link-border-radius);box-sizing:border-box;outline:none}:host:hover a.link{color:var(--def-link-color-hover);background-color:var(--def-link-background-hover)}aup-in-place-interaction-context{border-radius:var(--def-link-border-radius)}a.link{display:flex;flex-direction:row;align-items:center;border-radius:var(--def-link-border-radius);color:var(--def-link-color);background:var(--def-link-background);padding:var(--def-link-padding);cursor:pointer;text-decoration:none}a.link mat-icon{margin-right:8px}\n"] }]
|
|
53
53
|
}], ctorParameters: function () { return []; }, propDecorators: { label: [{
|
|
@@ -4,11 +4,11 @@ import { ACTIVITY_DATA } from '../../activity';
|
|
|
4
4
|
import { Alert } from '../../alert';
|
|
5
5
|
import { AbstractDialogComponent } from '../abstract-dialog.component';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
import * as i1 from "
|
|
7
|
+
import * as i1 from "@angular/common";
|
|
8
8
|
import * as i2 from "../../../components/text/markdown/markdown.component";
|
|
9
|
-
import * as i3 from "../activity-
|
|
10
|
-
import * as i4 from "../activity-
|
|
11
|
-
import * as i5 from "
|
|
9
|
+
import * as i3 from "../activity-actions/activity-actions.component";
|
|
10
|
+
import * as i4 from "../activity-title/activity-title.component";
|
|
11
|
+
import * as i5 from "../activity-body/activity-body.component";
|
|
12
12
|
import * as i6 from "../../alert";
|
|
13
13
|
export class AlertDialogComponent extends AbstractDialogComponent {
|
|
14
14
|
constructor(alert) {
|
|
@@ -18,9 +18,9 @@ export class AlertDialogComponent extends AbstractDialogComponent {
|
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
AlertDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
22
|
-
AlertDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
21
|
+
AlertDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: AlertDialogComponent, deps: [{ token: ACTIVITY_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
AlertDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: AlertDialogComponent, selector: "aup-alert-dialog", usesInheritance: true, ngImport: i0, template: "<aup-activity-title *ngIf=\"title\" [color]=\"color\"><aup-markdown [content]=\"title\" [inline]=\"true\"></aup-markdown></aup-activity-title>\n<aup-activity-body>\n <aup-markdown *ngFor=\"let line of content\" [content]=\"line\"></aup-markdown>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\"></aup-activity-actions>\n", styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MarkdownComponent, selector: "aup-markdown, [aupMarkdown]", inputs: ["content$", "content", "inline"] }, { kind: "component", type: i3.ActivityActionsComponent, selector: "aup-activity-actions", inputs: ["confirmCommand", "cancelCommand", "faces", "confirmFace", "cancelFace", "style", "layout", "align"] }, { kind: "component", type: i4.ActivityTitleComponent, selector: "aup-activity-title", inputs: ["hasTransparentBackground", "color"] }, { kind: "component", type: i5.ActivityBodyComponent, selector: "aup-activity-body", inputs: ["fullWidth"] }] });
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: AlertDialogComponent, decorators: [{
|
|
24
24
|
type: Component,
|
|
25
25
|
args: [{ selector: 'aup-alert-dialog', template: "<aup-activity-title *ngIf=\"title\" [color]=\"color\"><aup-markdown [content]=\"title\" [inline]=\"true\"></aup-markdown></aup-activity-title>\n<aup-activity-body>\n <aup-markdown *ngFor=\"let line of content\" [content]=\"line\"></aup-markdown>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\"></aup-activity-actions>\n", styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}\n"] }]
|
|
26
26
|
}], ctorParameters: function () { return [{ type: i6.Alert, decorators: [{
|
package/esm2020/lib/interaction/components/confirm-then-dialog/confirm-then-dialog.component.mjs
CHANGED
|
@@ -3,11 +3,11 @@ import { Command } from '@coolon/pectin';
|
|
|
3
3
|
import { ACTIVITY_DATA } from '../../activity';
|
|
4
4
|
import { AbstractConfirmDialogComponent } from '../abstract-confirm-dialog.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
7
|
import * as i2 from "../../../components/text/markdown/markdown.component";
|
|
8
|
-
import * as i3 from "../activity-
|
|
9
|
-
import * as i4 from "../activity-
|
|
10
|
-
import * as i5 from "
|
|
8
|
+
import * as i3 from "../activity-actions/activity-actions.component";
|
|
9
|
+
import * as i4 from "../activity-title/activity-title.component";
|
|
10
|
+
import * as i5 from "../activity-body/activity-body.component";
|
|
11
11
|
export class ConfirmThenDialogComponent extends AbstractConfirmDialogComponent {
|
|
12
12
|
constructor(config) {
|
|
13
13
|
super(config.confirm);
|
|
@@ -18,9 +18,9 @@ export class ConfirmThenDialogComponent extends AbstractConfirmDialogComponent {
|
|
|
18
18
|
});
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
ConfirmThenDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
22
|
-
ConfirmThenDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
23
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
21
|
+
ConfirmThenDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ConfirmThenDialogComponent, deps: [{ token: ACTIVITY_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
22
|
+
ConfirmThenDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: ConfirmThenDialogComponent, selector: "aup-confirmation-dialog", usesInheritance: true, ngImport: i0, template: "<aup-activity-title *ngIf=\"title\" [color]=\"color\"><aup-markdown [content]=\"title\" [inline]=\"true\"></aup-markdown></aup-activity-title>\n<aup-activity-body>\n <aup-markdown *ngFor=\"let line of content\" [content]=\"line\"></aup-markdown>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\" [cancelFace]=\"cancelFace\"></aup-activity-actions>\n", styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MarkdownComponent, selector: "aup-markdown, [aupMarkdown]", inputs: ["content$", "content", "inline"] }, { kind: "component", type: i3.ActivityActionsComponent, selector: "aup-activity-actions", inputs: ["confirmCommand", "cancelCommand", "faces", "confirmFace", "cancelFace", "style", "layout", "align"] }, { kind: "component", type: i4.ActivityTitleComponent, selector: "aup-activity-title", inputs: ["hasTransparentBackground", "color"] }, { kind: "component", type: i5.ActivityBodyComponent, selector: "aup-activity-body", inputs: ["fullWidth"] }] });
|
|
23
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ConfirmThenDialogComponent, decorators: [{
|
|
24
24
|
type: Component,
|
|
25
25
|
args: [{ selector: 'aup-confirmation-dialog', template: "<aup-activity-title *ngIf=\"title\" [color]=\"color\"><aup-markdown [content]=\"title\" [inline]=\"true\"></aup-markdown></aup-activity-title>\n<aup-activity-body>\n <aup-markdown *ngFor=\"let line of content\" [content]=\"line\"></aup-markdown>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\" [cancelFace]=\"cancelFace\"></aup-activity-actions>\n", styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}\n"] }]
|
|
26
26
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
|
@@ -3,11 +3,11 @@ import { Command } from '@coolon/pectin';
|
|
|
3
3
|
import { ACTIVITY_DATA } from '../../activity';
|
|
4
4
|
import { AbstractConfirmDialogComponent } from '../abstract-confirm-dialog.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
7
|
import * as i2 from "../../../components/text/markdown/markdown.component";
|
|
8
|
-
import * as i3 from "../activity-
|
|
9
|
-
import * as i4 from "../activity-
|
|
10
|
-
import * as i5 from "
|
|
8
|
+
import * as i3 from "../activity-actions/activity-actions.component";
|
|
9
|
+
import * as i4 from "../activity-title/activity-title.component";
|
|
10
|
+
import * as i5 from "../activity-body/activity-body.component";
|
|
11
11
|
export class ConfirmThenExecuteDialogComponent extends AbstractConfirmDialogComponent {
|
|
12
12
|
constructor(data) {
|
|
13
13
|
super(data.confirm);
|
|
@@ -22,9 +22,9 @@ export class ConfirmThenExecuteDialogComponent extends AbstractConfirmDialogComp
|
|
|
22
22
|
});
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
ConfirmThenExecuteDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
26
|
-
ConfirmThenExecuteDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
27
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
25
|
+
ConfirmThenExecuteDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ConfirmThenExecuteDialogComponent, deps: [{ token: ACTIVITY_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
26
|
+
ConfirmThenExecuteDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: ConfirmThenExecuteDialogComponent, selector: "aup-confirmation-execute-dialog", usesInheritance: true, ngImport: i0, template: "<aup-activity-title *ngIf=\"title\" [color]=\"color\"><aup-markdown [content]=\"title\" [inline]=\"true\"></aup-markdown></aup-activity-title>\n<aup-activity-body>\n <aup-markdown *ngFor=\"let line of content\" [content]=\"line\"></aup-markdown>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\" [cancelFace]=\"cancelFace\"></aup-activity-actions>\n", styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MarkdownComponent, selector: "aup-markdown, [aupMarkdown]", inputs: ["content$", "content", "inline"] }, { kind: "component", type: i3.ActivityActionsComponent, selector: "aup-activity-actions", inputs: ["confirmCommand", "cancelCommand", "faces", "confirmFace", "cancelFace", "style", "layout", "align"] }, { kind: "component", type: i4.ActivityTitleComponent, selector: "aup-activity-title", inputs: ["hasTransparentBackground", "color"] }, { kind: "component", type: i5.ActivityBodyComponent, selector: "aup-activity-body", inputs: ["fullWidth"] }] });
|
|
27
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ConfirmThenExecuteDialogComponent, decorators: [{
|
|
28
28
|
type: Component,
|
|
29
29
|
args: [{ selector: 'aup-confirmation-execute-dialog', template: "<aup-activity-title *ngIf=\"title\" [color]=\"color\"><aup-markdown [content]=\"title\" [inline]=\"true\"></aup-markdown></aup-activity-title>\n<aup-activity-body>\n <aup-markdown *ngFor=\"let line of content\" [content]=\"line\"></aup-markdown>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\" [cancelFace]=\"cancelFace\"></aup-activity-actions>\n", styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}\n"] }]
|
|
30
30
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|
package/esm2020/lib/interaction/components/confirmation-dialog/confirmation-dialog.component.mjs
CHANGED
|
@@ -3,11 +3,11 @@ import { Command } from '@coolon/pectin';
|
|
|
3
3
|
import { ACTIVITY_DATA } from '../../activity';
|
|
4
4
|
import { AbstractConfirmDialogComponent } from '../abstract-confirm-dialog.component';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
import * as i1 from "
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
7
|
import * as i2 from "../../../components/text/markdown/markdown.component";
|
|
8
|
-
import * as i3 from "../activity-
|
|
9
|
-
import * as i4 from "../activity-
|
|
10
|
-
import * as i5 from "
|
|
8
|
+
import * as i3 from "../activity-actions/activity-actions.component";
|
|
9
|
+
import * as i4 from "../activity-title/activity-title.component";
|
|
10
|
+
import * as i5 from "../activity-body/activity-body.component";
|
|
11
11
|
export class ConfirmationDialogComponent extends AbstractConfirmDialogComponent {
|
|
12
12
|
constructor(confirm) {
|
|
13
13
|
super(confirm);
|
|
@@ -17,9 +17,9 @@ export class ConfirmationDialogComponent extends AbstractConfirmDialogComponent
|
|
|
17
17
|
});
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
|
-
ConfirmationDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
21
|
-
ConfirmationDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "
|
|
22
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
20
|
+
ConfirmationDialogComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ConfirmationDialogComponent, deps: [{ token: ACTIVITY_DATA }], target: i0.ɵɵFactoryTarget.Component });
|
|
21
|
+
ConfirmationDialogComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "14.0.7", type: ConfirmationDialogComponent, selector: "aup-confirmation-dialog", usesInheritance: true, ngImport: i0, template: "<aup-activity-title *ngIf=\"title\" [color]=\"color\"><aup-markdown [content]=\"title\" [inline]=\"true\"></aup-markdown></aup-activity-title>\n<aup-activity-body>\n <aup-markdown *ngFor=\"let line of content\" [content]=\"line\"></aup-markdown>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\" [cancelFace]=\"cancelFace\"></aup-activity-actions>\n\n", styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}\n"], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.MarkdownComponent, selector: "aup-markdown, [aupMarkdown]", inputs: ["content$", "content", "inline"] }, { kind: "component", type: i3.ActivityActionsComponent, selector: "aup-activity-actions", inputs: ["confirmCommand", "cancelCommand", "faces", "confirmFace", "cancelFace", "style", "layout", "align"] }, { kind: "component", type: i4.ActivityTitleComponent, selector: "aup-activity-title", inputs: ["hasTransparentBackground", "color"] }, { kind: "component", type: i5.ActivityBodyComponent, selector: "aup-activity-body", inputs: ["fullWidth"] }] });
|
|
22
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: ConfirmationDialogComponent, decorators: [{
|
|
23
23
|
type: Component,
|
|
24
24
|
args: [{ selector: 'aup-confirmation-dialog', template: "<aup-activity-title *ngIf=\"title\" [color]=\"color\"><aup-markdown [content]=\"title\" [inline]=\"true\"></aup-markdown></aup-activity-title>\n<aup-activity-body>\n <aup-markdown *ngFor=\"let line of content\" [content]=\"line\"></aup-markdown>\n</aup-activity-body>\n<aup-activity-actions [confirmFace]=\"confirmFace\" [cancelFace]=\"cancelFace\"></aup-activity-actions>\n\n", styles: [":host{display:block}.mat-dialog-content{margin:0;padding:0}.mat-dialog-actions{margin-bottom:0!important;padding:0;align-items:flex-end;justify-content:flex-end}\n"] }]
|
|
25
25
|
}], ctorParameters: function () { return [{ type: undefined, decorators: [{
|