@coolon/angular-ui-powerups 12.4.0-alpha.28 → 12.4.0-alpha.3
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/styles.scss +0 -3
- package/bundles/coolon-angular-ui-powerups-cypress.umd.js +298 -715
- package/bundles/coolon-angular-ui-powerups-cypress.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.js +61 -275
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/cypress/components/aup-command-face.d.ts +8 -2
- package/cypress/components/aup-command.d.ts +1 -2
- package/cypress/components/aup-input.d.ts +5 -11
- package/cypress/components/aup-more-menu.d.ts +4 -0
- package/cypress/components/aup-popup-menu.d.ts +7 -0
- package/cypress/components/aup-table.d.ts +18 -5
- package/cypress/components/button-mixin.d.ts +19 -0
- package/cypress/components/button.d.ts +7 -11
- package/cypress/coolon-angular-ui-powerups-cypress.metadata.json +1 -1
- package/cypress/exports.d.ts +4 -25
- package/cypress/page-element.d.ts +12 -12
- package/cypress/page.d.ts +33 -5
- package/cypress/section.d.ts +51 -0
- package/esm2015/cypress/components/aup-command-face.js +22 -11
- package/esm2015/cypress/components/aup-command-face.js.map +1 -1
- package/esm2015/cypress/components/aup-command-face.metadata.json +1 -1
- package/esm2015/cypress/components/aup-command.js +6 -12
- package/esm2015/cypress/components/aup-command.js.map +1 -1
- package/esm2015/cypress/components/aup-command.metadata.json +1 -1
- package/esm2015/cypress/components/aup-input.js +5 -17
- package/esm2015/cypress/components/aup-input.js.map +1 -1
- package/esm2015/cypress/components/aup-input.metadata.json +1 -1
- package/esm2015/cypress/components/aup-more-menu.js +7 -0
- package/esm2015/cypress/components/aup-more-menu.js.map +1 -0
- package/esm2015/cypress/components/aup-more-menu.metadata.json +1 -0
- package/esm2015/cypress/components/aup-navigation.js +1 -1
- package/esm2015/cypress/components/aup-navigation.js.map +1 -1
- package/esm2015/cypress/components/aup-popup-menu.js +19 -0
- package/esm2015/cypress/components/aup-popup-menu.js.map +1 -0
- package/esm2015/cypress/components/aup-popup-menu.metadata.json +1 -0
- package/esm2015/cypress/components/aup-table.js +33 -5
- package/esm2015/cypress/components/aup-table.js.map +1 -1
- package/esm2015/cypress/components/aup-table.metadata.json +1 -1
- package/esm2015/cypress/components/button-mixin.js +15 -0
- package/esm2015/cypress/components/button-mixin.js.map +1 -0
- package/esm2015/cypress/components/button-mixin.metadata.json +1 -0
- package/esm2015/cypress/components/button.js +10 -4
- package/esm2015/cypress/components/button.js.map +1 -1
- package/esm2015/cypress/components/button.metadata.json +1 -1
- package/esm2015/cypress/exports.js +4 -25
- package/esm2015/cypress/exports.js.map +1 -1
- package/esm2015/cypress/exports.metadata.json +1 -1
- package/esm2015/cypress/page-element.js +19 -26
- package/esm2015/cypress/page-element.js.map +1 -1
- package/esm2015/cypress/page-element.metadata.json +1 -1
- package/esm2015/cypress/page.js +10 -8
- package/esm2015/cypress/page.js.map +1 -1
- package/esm2015/cypress/page.metadata.json +1 -1
- package/esm2015/cypress/path.js +1 -3
- package/esm2015/cypress/path.js.map +1 -1
- package/esm2015/cypress/section.js +58 -0
- package/esm2015/cypress/section.js.map +1 -0
- package/esm2015/cypress/section.metadata.json +1 -0
- package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/{cards/card-container → card-container}/card-container.component.js +22 -11
- package/esm2015/lib/components/card-container/card-container.component.js.map +1 -0
- package/esm2015/lib/components/card-container/card-container.component.metadata.json +1 -0
- package/esm2015/lib/components/card-container/card-container.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/card-container/card-container.component.scss.shim.ngstyle.js.map +1 -0
- package/esm2015/lib/components/components.module.js +24 -29
- package/esm2015/lib/components/components.module.js.map +1 -1
- package/esm2015/lib/components/components.module.metadata.json +1 -1
- package/esm2015/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/empty-state/empty-state.component.js +1 -1
- package/esm2015/lib/components/empty-state/empty-state.component.metadata.json +1 -1
- package/esm2015/lib/components/exports.js +1 -3
- package/esm2015/lib/components/exports.js.map +1 -1
- package/esm2015/lib/components/exports.metadata.json +1 -1
- package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.js +4 -4
- package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.js.map +1 -1
- package/esm2015/lib/components/tables/tree-table/flattened-tree-list-model.metadata.json +1 -1
- package/esm2015/lib/components/tables/tree-table/tree-table-model.js +0 -1
- package/esm2015/lib/components/tables/tree-table/tree-table-model.js.map +1 -1
- package/esm2015/lib/components/tables/tree-table/tree-table-model.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.js +0 -4
- package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/abstract-activity-trigger.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.js +1 -4
- package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/inline-activity-trigger/inline-activity-trigger.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.js +1 -4
- package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.js +1 -4
- package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.js.map +1 -1
- package/esm2015/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.metadata.json +1 -1
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js +2 -6
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.js.map +1 -1
- package/esm2015/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.metadata.json +1 -1
- package/esm2015/lib/interaction/exports.js +0 -1
- package/esm2015/lib/interaction/exports.js.map +1 -1
- package/esm2015/lib/interaction/exports.metadata.json +1 -1
- package/esm2015/lib/interaction/interaction.module.js +2 -5
- package/esm2015/lib/interaction/interaction.module.js.map +1 -1
- package/esm2015/lib/interaction/interaction.module.metadata.json +1 -1
- package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/esm2015/lib/place/place-router.js +8 -3
- package/esm2015/lib/place/place-router.js.map +1 -1
- package/esm2015/lib/place/place-router.metadata.json +1 -1
- package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
- package/esm2015/lib/place/url-snapshot.js +7 -1
- package/esm2015/lib/place/url-snapshot.js.map +1 -1
- package/esm2015/lib/place/url-snapshot.metadata.json +1 -1
- package/fesm2015/coolon-angular-ui-powerups-cypress.js +219 -532
- package/fesm2015/coolon-angular-ui-powerups-cypress.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +65 -232
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/{cards/card-container → card-container}/card-container.component.d.ts +10 -9
- package/lib/components/exports.d.ts +1 -3
- package/lib/components/tables/tree-table/flattened-tree-list-model.d.ts +1 -0
- package/lib/components/tables/tree-table/tree-table-model.d.ts +5 -4
- 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 -2
- package/lib/interaction/components/activity-triggers/modal-activity-trigger/modal-activity-trigger.component.d.ts +1 -2
- package/lib/interaction/components/activity-triggers/popup-activity-trigger/popup-activity-trigger.component.d.ts +1 -2
- package/lib/interaction/components/inplace-interaction-context/in-place-interaction-context.component.d.ts +0 -1
- package/lib/interaction/exports.d.ts +0 -1
- package/package.json +1 -1
- package/schematics/activity/templates/component/__name@dasherize__.component.html.template +1 -1
- package/schematics/activity/templates/component/__name@dasherize__.component.ts.template +3 -5
- package/assets/cards.scss +0 -13
- package/assets/empty-state.scss +0 -11
- package/cypress/component-builder.d.ts +0 -71
- package/cypress/components/aup-abstract-activity.d.ts +0 -31
- package/cypress/components/aup-abstract-table.d.ts +0 -18
- package/cypress/components/aup-activity.d.ts +0 -9
- package/cypress/components/aup-alert-dialog.d.ts +0 -27
- package/cypress/components/aup-alert.d.ts +0 -9
- package/cypress/components/aup-confirm-dialog.d.ts +0 -27
- package/cypress/components/aup-confirm.d.ts +0 -11
- package/cypress/components/aup-empty-state.d.ts +0 -4
- package/cypress/components/aup-modal-activity.d.ts +0 -24
- package/cypress/components/aup-modal-mixin.d.ts +0 -23
- package/cypress/components/aup-tree-table.d.ts +0 -16
- package/cypress/components/form-element-mixin.d.ts +0 -22
- package/cypress/components/mat-checkbox.d.ts +0 -31
- package/cypress/components/popup/aup-abstract-popup-menu.d.ts +0 -15
- package/cypress/components/popup/aup-more-menu.d.ts +0 -5
- package/cypress/components/popup/aup-popup-menu-panel.d.ts +0 -3
- package/cypress/components/popup/aup-popup-menu.d.ts +0 -7
- package/cypress/components/table/aup-table-cell.d.ts +0 -9
- package/cypress/components/table/aup-table-column.d.ts +0 -10
- package/cypress/components/table/aup-table-row.d.ts +0 -17
- package/cypress/components/table/aup-table-selection-cell.d.ts +0 -5
- package/cypress/components/table/aup-table-selection-column.d.ts +0 -5
- package/cypress/element-locator.d.ts +0 -8
- package/cypress/page-builder.d.ts +0 -9
- package/esm2015/cypress/component-builder.js +0 -92
- package/esm2015/cypress/component-builder.js.map +0 -1
- package/esm2015/cypress/component-builder.metadata.json +0 -1
- package/esm2015/cypress/components/aup-abstract-activity.js +0 -12
- package/esm2015/cypress/components/aup-abstract-activity.js.map +0 -1
- package/esm2015/cypress/components/aup-abstract-activity.metadata.json +0 -1
- package/esm2015/cypress/components/aup-abstract-table.js +0 -50
- package/esm2015/cypress/components/aup-abstract-table.js.map +0 -1
- package/esm2015/cypress/components/aup-abstract-table.metadata.json +0 -1
- package/esm2015/cypress/components/aup-activity.js +0 -13
- package/esm2015/cypress/components/aup-activity.js.map +0 -1
- package/esm2015/cypress/components/aup-activity.metadata.json +0 -1
- package/esm2015/cypress/components/aup-alert-dialog.js +0 -8
- package/esm2015/cypress/components/aup-alert-dialog.js.map +0 -1
- package/esm2015/cypress/components/aup-alert-dialog.metadata.json +0 -1
- package/esm2015/cypress/components/aup-alert.js +0 -13
- package/esm2015/cypress/components/aup-alert.js.map +0 -1
- package/esm2015/cypress/components/aup-alert.metadata.json +0 -1
- package/esm2015/cypress/components/aup-confirm-dialog.js +0 -8
- package/esm2015/cypress/components/aup-confirm-dialog.js.map +0 -1
- package/esm2015/cypress/components/aup-confirm-dialog.metadata.json +0 -1
- package/esm2015/cypress/components/aup-confirm.js +0 -19
- package/esm2015/cypress/components/aup-confirm.js.map +0 -1
- package/esm2015/cypress/components/aup-confirm.metadata.json +0 -1
- package/esm2015/cypress/components/aup-empty-state.js +0 -7
- package/esm2015/cypress/components/aup-empty-state.js.map +0 -1
- package/esm2015/cypress/components/aup-empty-state.metadata.json +0 -1
- package/esm2015/cypress/components/aup-modal-activity.js +0 -5
- package/esm2015/cypress/components/aup-modal-activity.js.map +0 -1
- package/esm2015/cypress/components/aup-modal-activity.metadata.json +0 -1
- package/esm2015/cypress/components/aup-modal-mixin.js +0 -18
- package/esm2015/cypress/components/aup-modal-mixin.js.map +0 -1
- package/esm2015/cypress/components/aup-modal-mixin.metadata.json +0 -1
- package/esm2015/cypress/components/aup-tree-table.js +0 -34
- package/esm2015/cypress/components/aup-tree-table.js.map +0 -1
- package/esm2015/cypress/components/aup-tree-table.metadata.json +0 -1
- package/esm2015/cypress/components/form-element-mixin.js +0 -11
- package/esm2015/cypress/components/form-element-mixin.js.map +0 -1
- package/esm2015/cypress/components/form-element-mixin.metadata.json +0 -1
- package/esm2015/cypress/components/mat-checkbox.js +0 -34
- package/esm2015/cypress/components/mat-checkbox.js.map +0 -1
- package/esm2015/cypress/components/mat-checkbox.metadata.json +0 -1
- package/esm2015/cypress/components/popup/aup-abstract-popup-menu.js +0 -33
- package/esm2015/cypress/components/popup/aup-abstract-popup-menu.js.map +0 -1
- package/esm2015/cypress/components/popup/aup-abstract-popup-menu.metadata.json +0 -1
- package/esm2015/cypress/components/popup/aup-more-menu.js +0 -8
- package/esm2015/cypress/components/popup/aup-more-menu.js.map +0 -1
- package/esm2015/cypress/components/popup/aup-more-menu.metadata.json +0 -1
- package/esm2015/cypress/components/popup/aup-popup-menu-panel.js +0 -4
- package/esm2015/cypress/components/popup/aup-popup-menu-panel.js.map +0 -1
- package/esm2015/cypress/components/popup/aup-popup-menu-panel.metadata.json +0 -1
- package/esm2015/cypress/components/popup/aup-popup-menu.js +0 -12
- package/esm2015/cypress/components/popup/aup-popup-menu.js.map +0 -1
- package/esm2015/cypress/components/popup/aup-popup-menu.metadata.json +0 -1
- package/esm2015/cypress/components/table/aup-table-cell.js +0 -14
- package/esm2015/cypress/components/table/aup-table-cell.js.map +0 -1
- package/esm2015/cypress/components/table/aup-table-cell.metadata.json +0 -1
- package/esm2015/cypress/components/table/aup-table-column.js +0 -19
- package/esm2015/cypress/components/table/aup-table-column.js.map +0 -1
- package/esm2015/cypress/components/table/aup-table-column.metadata.json +0 -1
- package/esm2015/cypress/components/table/aup-table-row.js +0 -28
- package/esm2015/cypress/components/table/aup-table-row.js.map +0 -1
- package/esm2015/cypress/components/table/aup-table-row.metadata.json +0 -1
- package/esm2015/cypress/components/table/aup-table-selection-cell.js +0 -6
- package/esm2015/cypress/components/table/aup-table-selection-cell.js.map +0 -1
- package/esm2015/cypress/components/table/aup-table-selection-cell.metadata.json +0 -1
- package/esm2015/cypress/components/table/aup-table-selection-column.js +0 -6
- package/esm2015/cypress/components/table/aup-table-selection-column.js.map +0 -1
- package/esm2015/cypress/components/table/aup-table-selection-column.metadata.json +0 -1
- package/esm2015/cypress/element-locator.js +0 -16
- package/esm2015/cypress/element-locator.js.map +0 -1
- package/esm2015/cypress/element-locator.metadata.json +0 -1
- package/esm2015/cypress/page-builder.js +0 -16
- package/esm2015/cypress/page-builder.js.map +0 -1
- package/esm2015/cypress/page-builder.metadata.json +0 -1
- package/esm2015/lib/components/cards/abstract-card-container.component.js +0 -29
- package/esm2015/lib/components/cards/abstract-card-container.component.js.map +0 -1
- package/esm2015/lib/components/cards/abstract-card-container.component.metadata.json +0 -1
- package/esm2015/lib/components/cards/abstract-card-container.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/cards/card-container/card-container.component.js.map +0 -1
- package/esm2015/lib/components/cards/card-container/card-container.component.metadata.json +0 -1
- package/esm2015/lib/components/cards/card-container/card-container.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/cards/card-container/card-container.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/components/cards/card-stack/card-stack.component.js +0 -72
- package/esm2015/lib/components/cards/card-stack/card-stack.component.js.map +0 -1
- package/esm2015/lib/components/cards/card-stack/card-stack.component.metadata.json +0 -1
- package/esm2015/lib/components/cards/card-stack/card-stack.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/cards/card-stack/card-stack.component.scss.shim.ngstyle.js.map +0 -1
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js +0 -75
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js.map +0 -1
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.metadata.json +0 -1
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.ngfactory.js.map +0 -1
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.scss.shim.ngstyle.js.map +0 -1
- package/lib/components/cards/abstract-card-container.component.d.ts +0 -11
- package/lib/components/cards/card-stack/card-stack.component.d.ts +0 -63
- package/lib/interaction/components/add-card-activity/add-card-activity.component.d.ts +0 -38
|
@@ -21,7 +21,7 @@ import { MatTableModule } from '@angular/material/table';
|
|
|
21
21
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
22
22
|
import { FontAwesomeModule, FaIconLibrary } from '@fortawesome/angular-fontawesome';
|
|
23
23
|
import { fas } from '@fortawesome/free-solid-svg-icons';
|
|
24
|
-
import { GarbageCollector, DelegatingValueModel, assert, UnaryCommand, lang, Dsl, Logger, TrackExternal, ValueModel, StoreInValueModel, Command, MutableListModel, StoreInListModel, Disposable, MutableValueModel, DelegatingListModel, FocusManager, EventListenerList, Form, Guard, Binding, DebugContext, ListModel, MultipleSelectionModel, DelegatingSelectionModel, AbstractComputedListModel, DirtyTrackingForm, ComputedListModel, PageController, Deferred, Functions } from '@coolon/pectin';
|
|
24
|
+
import { GarbageCollector, DelegatingValueModel, assert, UnaryCommand, lang, Dsl, Logger, TrackExternal, ValueModel, StoreInValueModel, Command, MutableListModel, StoreInListModel, Disposable, MutableValueModel, DelegatingListModel, FocusManager, EventListenerList, Form, Guard, Binding, DebugContext, ListModel, MultipleSelectionModel, DelegatingSelectionModel, AbstractComputedListModel, DirtyTrackingForm, ComputedListModel, PageController, Deferred, Trace, Functions } from '@coolon/pectin';
|
|
25
25
|
import { __decorate, __metadata, __awaiter } from 'tslib';
|
|
26
26
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
27
27
|
import * as _ from 'lodash';
|
|
@@ -526,30 +526,6 @@ var CommandFace;
|
|
|
526
526
|
CommandFace.Adapter = Adapter;
|
|
527
527
|
})(CommandFace || (CommandFace = {}));
|
|
528
528
|
|
|
529
|
-
class AbstractCardContainerComponent extends DisposableComponent {
|
|
530
|
-
constructor() {
|
|
531
|
-
super();
|
|
532
|
-
}
|
|
533
|
-
ngOnInit() {
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
AbstractCardContainerComponent.decorators = [
|
|
537
|
-
{ type: Component, args: [{
|
|
538
|
-
selector: 'aup-abstract-card-container',
|
|
539
|
-
template: ''
|
|
540
|
-
},] }
|
|
541
|
-
];
|
|
542
|
-
AbstractCardContainerComponent.ctorParameters = () => [];
|
|
543
|
-
AbstractCardContainerComponent.propDecorators = {
|
|
544
|
-
addCardCommand: [{ type: Input }],
|
|
545
|
-
addCardFace: [{ type: Input }],
|
|
546
|
-
addCardTemplate: [{ type: ContentChild, args: ['addCardTemplate',] }]
|
|
547
|
-
};
|
|
548
|
-
__decorate([
|
|
549
|
-
TrackExternal(),
|
|
550
|
-
__metadata("design:type", Command)
|
|
551
|
-
], AbstractCardContainerComponent.prototype, "addCardCommand", void 0);
|
|
552
|
-
|
|
553
529
|
/**
|
|
554
530
|
* @example
|
|
555
531
|
* // basic usage
|
|
@@ -567,13 +543,6 @@ __decorate([
|
|
|
567
543
|
* <my-card *ngFor="..."></my-card>
|
|
568
544
|
* </aup-card-container>
|
|
569
545
|
*
|
|
570
|
-
* // use the aup-add-card-activity to display as the new card place holder and to run
|
|
571
|
-
* // the activity inside teh card
|
|
572
|
-
* <aup-card-container [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
|
|
573
|
-
* <my-card *ngFor="..."></my-card>
|
|
574
|
-
* <aup-add-card-activity type="inline" renderAs="card" [face]="i18n.commands.addModal" [activityClass]="AddCardActivity"></aup-add-card-activity>
|
|
575
|
-
* </aup-card-container>
|
|
576
|
-
*
|
|
577
546
|
* // adds an add card component using the specified template. The template
|
|
578
547
|
* // will fill it's container in the grid.
|
|
579
548
|
* <aup-card-container>
|
|
@@ -611,85 +580,30 @@ __decorate([
|
|
|
611
580
|
* --card-background: var(--card-background, #fcfcfb);
|
|
612
581
|
* }
|
|
613
582
|
*/
|
|
614
|
-
class CardContainerComponent extends
|
|
583
|
+
class CardContainerComponent extends DisposableComponent {
|
|
584
|
+
constructor() {
|
|
585
|
+
super();
|
|
586
|
+
}
|
|
587
|
+
ngOnInit() {
|
|
588
|
+
}
|
|
615
589
|
}
|
|
616
590
|
CardContainerComponent.decorators = [
|
|
617
591
|
{ type: Component, args: [{
|
|
618
592
|
selector: 'aup-card-container',
|
|
619
|
-
template: "<div class=\"card-container\">\n <ng-content></ng-content>\n\n <div class=\"add-card-container\" *ngIf=\"addCardCommand.enabled.value\" [pectinCommand]=\"addCardCommand\">\n <aup-command-face *ngIf=\"addCardFace\" [faces]=\"[addCardFace]\"></aup-command-face>\n <aup-icon *ngIf=\"!addCardFace\" icon=\"mat:add\"></aup-icon>\n </div>\n\n <div class=\"add-card-template\" *ngIf=\"addCardTemplate\">\n <ng-container [ngTemplateOutlet]=\"addCardTemplate\"></ng-container>\n </div>\n</div>\n",
|
|
593
|
+
template: "<div class=\"card-container\">\n <ng-content></ng-content>\n\n <div class=\"add-card-container\" *ngIf=\"addCardCommand.enabled.value\" [pectinCommand]=\"addCardCommand\">\n <aup-command-face *ngIf=\"addCardFace\" [faces]=\"[addCardFace]\"></aup-command-face>\n <aup-icon *ngIf=\"!addCardFace\" icon=\"mat:add\"></aup-icon>\n </div>\n\n <div class=\"add-card-template\" *ngIf=\"addCardTemplate\">\n <ng-container [ngTemplateOutlet]=\"addCardTemplate\"></ng-container>\n </div>\n\n</div>\n",
|
|
620
594
|
styles: [":host{--resolved-card-gap:var(--card-gap,16px);--resolved-card-width:var(--card-width,300px);--resolved-card-height:var(--card-height,auto);--resolved-card-min-height:var(--card-min-height,auto);--resolved-card-background:var(--card-background,#fcfcfb);flex:1;display:block;background:var(--resolved-card-background)}.card-container{display:grid;grid-template-columns:repeat(auto-fill,var(--resolved-card-width));grid-auto-rows:minmax(var(--resolved-card-min-height),var(--resolved-card-height));grid-gap:var(--resolved-card-gap);box-sizing:border-box;padding:var(--resolved-card-gap);min-height:calc(var(--resolved-card-height) + 2 * var(--resolved-card-gap));min-width:calc(var(--resolved-card-width) + 2 * var(--resolved-card-gap));width:calc((var(--resolved-card-width) + var(--resolved-card-gap)) * 2 + var(--grid-gap));max-width:100%}.add-card-container{width:var(--resolved-card-width);height:var(--resolved-card-height);min-height:var(--resolved-card-min-height);display:flex;flex-direction:column;align-items:center;justify-content:center;box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:rgba(0,0,0,.54);background-color:hsla(0,0%,100%,.8);transition:all .28s cubic-bezier(.4,0,.2,1)}.add-card-container mat-icon{font-size:200%}.add-card-container:hover{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1);border-color:transparent;background-color:#fff;color:rgba(0,0,0,.54)}.add-card-container:hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.add-card-template-container{width:var(--resolved-card-width);height:var(--resolved-card-height);display:flex;flex-direction:column;align-items:stretch;justify-content:stretch}"]
|
|
621
595
|
},] }
|
|
622
596
|
];
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
* <my-card *ngFor="..."></my-card>
|
|
634
|
-
* </aup-card-stack>
|
|
635
|
-
*
|
|
636
|
-
* // adds an add button with the specified face
|
|
637
|
-
* <aup-card-stack [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
|
|
638
|
-
* <my-card *ngFor="..."></my-card>
|
|
639
|
-
* </aup-card-stack>
|
|
640
|
-
*
|
|
641
|
-
* // use the aup-add-card-activity to display as the new card place holder and to run
|
|
642
|
-
* // the activity inside teh card
|
|
643
|
-
* <aup-card-stack [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
|
|
644
|
-
* <my-card *ngFor="..."></my-card>
|
|
645
|
-
* <aup-add-card-activity type="inline" renderAs="card" [face]="i18n.commands.addModal" [activityClass]="AddCardActivity"></aup-add-card-activity>
|
|
646
|
-
* </aup-card-stack>
|
|
647
|
-
*
|
|
648
|
-
* // adds an add card component using the specified template. The template
|
|
649
|
-
* // will fill it's container in the grid.
|
|
650
|
-
* <aup-card-stack>
|
|
651
|
-
* <my-card *ngFor="..."></my-card>
|
|
652
|
-
* <ng-template #addCardTemplate>
|
|
653
|
-
* <div>This is a new card template, it will the the size of the other cards.</div>
|
|
654
|
-
* </ng-template>
|
|
655
|
-
* </aup-card-stack>
|
|
656
|
-
*
|
|
657
|
-
* // sing the default new card styles for your template
|
|
658
|
-
* @import "../../../../assets/styles";
|
|
659
|
-
* .my-new-card {
|
|
660
|
-
* @include aup-card-stack-new-card-style();
|
|
661
|
-
* // OR
|
|
662
|
-
* @include aup-card-stack-new-card-style(
|
|
663
|
-
* $color: rgba(0,0,0,0.54),
|
|
664
|
-
* $background-color: rgba(255,255,255,0.8),
|
|
665
|
-
* $hover-color: $color,
|
|
666
|
-
* $background-hover-color: white
|
|
667
|
-
* )
|
|
668
|
-
* }
|
|
669
|
-
* <aup-card-stack>
|
|
670
|
-
* <my-card *ngFor="..."></my-card>
|
|
671
|
-
* <ng-template #addCardTemplate>
|
|
672
|
-
* <div class="my-new-card" >This is a new card template, it will the the size of the other cards.</div>
|
|
673
|
-
* </ng-template>
|
|
674
|
-
* </aup-card-stack>
|
|
675
|
-
*
|
|
676
|
-
* // CSS Vars
|
|
677
|
-
* aup-card-stack {
|
|
678
|
-
* --card-gap: var(--card-gap, 16px);
|
|
679
|
-
* --card-height: var(--card-height, auto);
|
|
680
|
-
* --card-min-height: var(--card-min-height, auto);
|
|
681
|
-
* --card-background: var(--card-background, #fcfcfb);
|
|
682
|
-
* }
|
|
683
|
-
*/
|
|
684
|
-
class CardStackComponent extends AbstractCardContainerComponent {
|
|
685
|
-
}
|
|
686
|
-
CardStackComponent.decorators = [
|
|
687
|
-
{ type: Component, args: [{
|
|
688
|
-
selector: 'aup-card-stack',
|
|
689
|
-
template: "<div class=\"card-container\">\n <ng-content></ng-content>\n</div>\n<div class=\"footer\">\n <div class=\"add-card-container\" *ngIf=\"addCardCommand.enabled.value\" [pectinCommand]=\"addCardCommand\">\n <aup-command-face *ngIf=\"addCardFace\" [faces]=\"[addCardFace]\"></aup-command-face>\n <aup-icon *ngIf=\"!addCardFace\" icon=\"mat:add\"></aup-icon>\n </div>\n\n <div class=\"add-card-template\" *ngIf=\"addCardTemplate\">\n <ng-container [ngTemplateOutlet]=\"addCardTemplate\"></ng-container>\n </div>\n <ng-content select=\"[aup-card-stack-footer]\"></ng-content>\n</div>\n",
|
|
690
|
-
styles: [":host{--resolved-card-gap:var(--card-gap,16px);--resolved-card-height:var(--card-height,auto);--resolved-card-min-height:var(--card-min-height,auto);--resolved-card-background:var(--card-background,#fcfcfb);flex:1;display:block;background:var(--resolved-card-background)}.card-container{display:grid;grid-template-columns:1fr;grid-auto-rows:minmax(var(--resolved-card-min-height),var(--resolved-card-height));grid-gap:var(--resolved-card-gap);box-sizing:border-box;padding:var(--resolved-card-gap);max-width:100%}.footer{align-items:stretch;padding:0 var(--resolved-card-gap) var(--resolved-card-gap)}.add-card-container,.footer{display:flex;flex-direction:column}.add-card-container{width:var(--resolved-card-width);height:var(--resolved-card-height);min-height:var(--resolved-card-min-height);align-items:center;justify-content:center;box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:rgba(0,0,0,.54);background-color:hsla(0,0%,100%,.8);transition:all .28s cubic-bezier(.4,0,.2,1)}.add-card-container mat-icon{font-size:200%}.add-card-container:hover{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1);border-color:transparent;background-color:#fff;color:rgba(0,0,0,.54)}.add-card-container:hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}.add-card-template-container{width:var(--resolved-card-width);height:var(--resolved-card-height);display:flex;flex-direction:column;align-items:stretch;justify-content:stretch}"]
|
|
691
|
-
},] }
|
|
692
|
-
];
|
|
597
|
+
CardContainerComponent.ctorParameters = () => [];
|
|
598
|
+
CardContainerComponent.propDecorators = {
|
|
599
|
+
addCardCommand: [{ type: Input }],
|
|
600
|
+
addCardFace: [{ type: Input }],
|
|
601
|
+
addCardTemplate: [{ type: ContentChild, args: ["addCardTemplate",] }]
|
|
602
|
+
};
|
|
603
|
+
__decorate([
|
|
604
|
+
TrackExternal(),
|
|
605
|
+
__metadata("design:type", Command)
|
|
606
|
+
], CardContainerComponent.prototype, "addCardCommand", void 0);
|
|
693
607
|
|
|
694
608
|
/**
|
|
695
609
|
* Custom CSS:
|
|
@@ -1224,7 +1138,7 @@ EmptyStateComponent.decorators = [
|
|
|
1224
1138
|
<ng-content></ng-content>
|
|
1225
1139
|
</div>
|
|
1226
1140
|
`,
|
|
1227
|
-
styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center}.container{
|
|
1141
|
+
styles: [":host{display:flex;flex-direction:column;justify-content:center;align-items:center}.container{padding:var(--aup-default-padding);border:2px dashed rgba(0,0,0,.2);border-radius:5px;font-size:14px;font-weight:300}"]
|
|
1228
1142
|
},] }
|
|
1229
1143
|
];
|
|
1230
1144
|
EmptyStateComponent.ctorParameters = () => [];
|
|
@@ -3600,15 +3514,15 @@ class TreeExpansionModel {
|
|
|
3600
3514
|
|
|
3601
3515
|
class FlattenedTreeListModel extends ComputedListModel {
|
|
3602
3516
|
constructor(source, childRef, expansionModel) {
|
|
3603
|
-
super(source
|
|
3604
|
-
initialValue: [],
|
|
3605
|
-
identifiedWith: row => source.identityOf(row)
|
|
3606
|
-
});
|
|
3517
|
+
super(source);
|
|
3607
3518
|
this.source = source;
|
|
3608
3519
|
this.childRef = childRef;
|
|
3609
3520
|
this.expansionModel = expansionModel;
|
|
3610
3521
|
this.trackSource(expansionModel.isExpandedPredicate);
|
|
3611
3522
|
}
|
|
3523
|
+
getIdentityOf(item) {
|
|
3524
|
+
return this.source.identityOf(item);
|
|
3525
|
+
}
|
|
3612
3526
|
compute(values) {
|
|
3613
3527
|
const result = [];
|
|
3614
3528
|
values.forEach(rootNode => {
|
|
@@ -3679,7 +3593,6 @@ class TreeTableModel extends AbstractTableModel {
|
|
|
3679
3593
|
const childExtractor = _.isFunction(childAccessor) ? childAccessor : row => row[childAccessor];
|
|
3680
3594
|
this.flattenedDataSource = this.registerDisposable(new FlattenedTreeListModel(source, childExtractor, this.treeExpansionModel));
|
|
3681
3595
|
this.setDataSource(this.flattenedDataSource);
|
|
3682
|
-
this.addRowClass('aup-node-collapsed', row => this.isCollapsed(row));
|
|
3683
3596
|
}
|
|
3684
3597
|
treeControlColumn(builder) {
|
|
3685
3598
|
const columnId = 'tree-label';
|
|
@@ -4012,28 +3925,6 @@ class ComponentsModule {
|
|
|
4012
3925
|
}
|
|
4013
3926
|
ComponentsModule.decorators = [
|
|
4014
3927
|
{ type: NgModule, args: [{
|
|
4015
|
-
imports: [
|
|
4016
|
-
CommonModule,
|
|
4017
|
-
BrowserAnimationsModule,
|
|
4018
|
-
FormsModule,
|
|
4019
|
-
MatInputModule,
|
|
4020
|
-
MatFormFieldModule,
|
|
4021
|
-
MatSelectModule,
|
|
4022
|
-
MatTabsModule,
|
|
4023
|
-
DirectivesModule,
|
|
4024
|
-
MatIconModule,
|
|
4025
|
-
MatButtonModule,
|
|
4026
|
-
MatCheckboxModule,
|
|
4027
|
-
MatTableModule,
|
|
4028
|
-
PortalModule,
|
|
4029
|
-
CdkScrollableModule,
|
|
4030
|
-
FontAwesomeModule,
|
|
4031
|
-
MatTooltipModule,
|
|
4032
|
-
MatAutocompleteModule,
|
|
4033
|
-
MatMenuModule,
|
|
4034
|
-
MatDividerModule,
|
|
4035
|
-
MatProgressSpinnerModule
|
|
4036
|
-
],
|
|
4037
3928
|
declarations: [
|
|
4038
3929
|
AbstractInputComponent,
|
|
4039
3930
|
AbstractValueInputComponent,
|
|
@@ -4082,9 +3973,29 @@ ComponentsModule.decorators = [
|
|
|
4082
3973
|
BusyOverlayComponent,
|
|
4083
3974
|
EmptyStateComponent,
|
|
4084
3975
|
PaginatorComponent,
|
|
4085
|
-
AbstractTableComponent
|
|
4086
|
-
|
|
4087
|
-
|
|
3976
|
+
AbstractTableComponent
|
|
3977
|
+
],
|
|
3978
|
+
imports: [
|
|
3979
|
+
CommonModule,
|
|
3980
|
+
BrowserAnimationsModule,
|
|
3981
|
+
FormsModule,
|
|
3982
|
+
MatInputModule,
|
|
3983
|
+
MatFormFieldModule,
|
|
3984
|
+
MatSelectModule,
|
|
3985
|
+
MatTabsModule,
|
|
3986
|
+
DirectivesModule,
|
|
3987
|
+
MatIconModule,
|
|
3988
|
+
MatButtonModule,
|
|
3989
|
+
MatCheckboxModule,
|
|
3990
|
+
MatTableModule,
|
|
3991
|
+
PortalModule,
|
|
3992
|
+
CdkScrollableModule,
|
|
3993
|
+
FontAwesomeModule,
|
|
3994
|
+
MatTooltipModule,
|
|
3995
|
+
MatAutocompleteModule,
|
|
3996
|
+
MatMenuModule,
|
|
3997
|
+
MatDividerModule,
|
|
3998
|
+
MatProgressSpinnerModule
|
|
4088
3999
|
],
|
|
4089
4000
|
exports: [
|
|
4090
4001
|
NumberInputComponent,
|
|
@@ -4121,7 +4032,6 @@ ComponentsModule.decorators = [
|
|
|
4121
4032
|
BusyOverlayComponent,
|
|
4122
4033
|
EmptyStateComponent,
|
|
4123
4034
|
PaginatorComponent,
|
|
4124
|
-
CardStackComponent,
|
|
4125
4035
|
],
|
|
4126
4036
|
providers: [
|
|
4127
4037
|
FocusBindingFactory
|
|
@@ -4815,9 +4725,6 @@ class AbstractActivityTriggerComponent extends DisposableComponent {
|
|
|
4815
4725
|
});
|
|
4816
4726
|
});
|
|
4817
4727
|
}
|
|
4818
|
-
get interactionContext() {
|
|
4819
|
-
return lang$1.abstractMethod(this.constructor);
|
|
4820
|
-
}
|
|
4821
4728
|
ngOnInit() {
|
|
4822
4729
|
}
|
|
4823
4730
|
get isActive() {
|
|
@@ -5039,10 +4946,7 @@ InteractionService.ctorParameters = () => [
|
|
|
5039
4946
|
class ModalActivityTriggerComponent extends AbstractActivityTriggerComponent {
|
|
5040
4947
|
constructor(interactionService) {
|
|
5041
4948
|
super();
|
|
5042
|
-
this.
|
|
5043
|
-
}
|
|
5044
|
-
get interactionContext() {
|
|
5045
|
-
return this._interactionContext;
|
|
4949
|
+
this.interactionContext = interactionService.createModalInteractionContextDisposedWith(this);
|
|
5046
4950
|
}
|
|
5047
4951
|
}
|
|
5048
4952
|
ModalActivityTriggerComponent.decorators = [
|
|
@@ -5082,9 +4986,6 @@ class InPlaceInteractionContextComponent extends DisposableComponent {
|
|
|
5082
4986
|
var _a;
|
|
5083
4987
|
return this.animateFirstActivity ? (((_a = this.tabConfig) === null || _a === void 0 ? void 0 : _a.animationDuration) || '500ms') : '0ms';
|
|
5084
4988
|
}
|
|
5085
|
-
get active() {
|
|
5086
|
-
return this.isActive();
|
|
5087
|
-
}
|
|
5088
4989
|
ngAfterViewInit() {
|
|
5089
4990
|
this.interactionService.registerInplaceInteractionContext(this);
|
|
5090
4991
|
}
|
|
@@ -5129,79 +5030,9 @@ InPlaceInteractionContextComponent.ctorParameters = () => [
|
|
|
5129
5030
|
];
|
|
5130
5031
|
InPlaceInteractionContextComponent.propDecorators = {
|
|
5131
5032
|
activityContainerComponent: [{ type: ViewChild, args: ['activityContainer', { static: true },] }],
|
|
5132
|
-
animateFirstActivity: [{ type: Input }]
|
|
5133
|
-
active: [{ type: HostBinding, args: ["class.active",] }]
|
|
5033
|
+
animateFirstActivity: [{ type: Input }]
|
|
5134
5034
|
};
|
|
5135
5035
|
|
|
5136
|
-
/**
|
|
5137
|
-
*
|
|
5138
|
-
*/
|
|
5139
|
-
class AddCardActivityComponent extends AbstractActivityTriggerComponent {
|
|
5140
|
-
constructor(interactionService) {
|
|
5141
|
-
super();
|
|
5142
|
-
this.interactionStyle = AddCardActivityComponent.InteractionType.MODAL;
|
|
5143
|
-
this.renderAs = AddCardActivityComponent.RenderAs.CARD;
|
|
5144
|
-
const { chain } = Dsl.disposeWith(this);
|
|
5145
|
-
this.modalInteractionContext = interactionService.createModalInteractionContextDisposedWith(this);
|
|
5146
|
-
this.faceList = chain(this.faceModel).mapToList(face => [face]);
|
|
5147
|
-
}
|
|
5148
|
-
get renderAsClass() {
|
|
5149
|
-
return `render-as-${this.renderAs}`;
|
|
5150
|
-
}
|
|
5151
|
-
get activityTypeClass() {
|
|
5152
|
-
return `${this.interactionStyle}-activity`;
|
|
5153
|
-
}
|
|
5154
|
-
isRenderAsCard() {
|
|
5155
|
-
return this.renderAs === 'card';
|
|
5156
|
-
}
|
|
5157
|
-
isRenderAsButton() {
|
|
5158
|
-
return this.renderAs === 'button';
|
|
5159
|
-
}
|
|
5160
|
-
ngOnInit() {
|
|
5161
|
-
}
|
|
5162
|
-
get interactionContext() {
|
|
5163
|
-
switch (this.interactionStyle) {
|
|
5164
|
-
case 'inline':
|
|
5165
|
-
return this.inlineInteractionContext;
|
|
5166
|
-
default:
|
|
5167
|
-
return this.modalInteractionContext;
|
|
5168
|
-
}
|
|
5169
|
-
}
|
|
5170
|
-
isModal() {
|
|
5171
|
-
return this.interactionStyle === 'modal';
|
|
5172
|
-
}
|
|
5173
|
-
isInline() {
|
|
5174
|
-
return this.interactionStyle === 'inline';
|
|
5175
|
-
}
|
|
5176
|
-
}
|
|
5177
|
-
AddCardActivityComponent.decorators = [
|
|
5178
|
-
{ type: Component, args: [{
|
|
5179
|
-
selector: 'aup-add-card-activity',
|
|
5180
|
-
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",
|
|
5181
|
-
styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host[interactionStyle=inline][renderas=card]:not(.active){box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:rgba(0,0,0,.54);background-color:hsla(0,0%,100%,.8);transition:all .28s cubic-bezier(.4,0,.2,1)}:host[interactionStyle=inline][renderas=card]:not(.active):hover{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1);border-color:transparent;background-color:#fff;color:rgba(0,0,0,.54)}:host[interactionStyle=inline][renderas=card]:not(.active):hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}:host[interactionStyle=modal][renderas=card]{box-sizing:border-box;border:2px dashed rgba(0,0,0,.1);border-radius:6px;font-weight:300;cursor:pointer;color:rgba(0,0,0,.54);background-color:hsla(0,0%,100%,.8);transition:all .28s cubic-bezier(.4,0,.2,1)}:host[interactionStyle=modal][renderas=card]:hover{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);transition:all .28s cubic-bezier(.4,0,.2,1);border-color:transparent;background-color:#fff;color:rgba(0,0,0,.54)}:host[interactionStyle=modal][renderas=card]:hover:hover{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px 0 rgba(0,0,0,.14),0 1px 10px 0 rgba(0,0,0,.12)}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}"]
|
|
5182
|
-
},] }
|
|
5183
|
-
];
|
|
5184
|
-
AddCardActivityComponent.ctorParameters = () => [
|
|
5185
|
-
{ type: InteractionService }
|
|
5186
|
-
];
|
|
5187
|
-
AddCardActivityComponent.propDecorators = {
|
|
5188
|
-
inlineInteractionContext: [{ type: ViewChild, args: [InPlaceInteractionContextComponent, { static: true },] }],
|
|
5189
|
-
interactionStyle: [{ type: Input }],
|
|
5190
|
-
renderAs: [{ type: Input }, { type: HostBinding, args: ['class',] }],
|
|
5191
|
-
renderAsClass: [{ type: HostBinding, args: ['class',] }],
|
|
5192
|
-
activityTypeClass: [{ type: HostBinding, args: ['class',] }]
|
|
5193
|
-
};
|
|
5194
|
-
(function (AddCardActivityComponent) {
|
|
5195
|
-
AddCardActivityComponent.InteractionType = Enum({
|
|
5196
|
-
MODAL: 'modal',
|
|
5197
|
-
INLINE: 'inline'
|
|
5198
|
-
});
|
|
5199
|
-
AddCardActivityComponent.RenderAs = Enum({
|
|
5200
|
-
CARD: 'card',
|
|
5201
|
-
BUTTON: 'button'
|
|
5202
|
-
});
|
|
5203
|
-
})(AddCardActivityComponent || (AddCardActivityComponent = {}));
|
|
5204
|
-
|
|
5205
5036
|
/**
|
|
5206
5037
|
* Css Vars.
|
|
5207
5038
|
* --link-color
|
|
@@ -5263,9 +5094,6 @@ class InlineActivityTriggerComponent extends AbstractActivityTriggerComponent {
|
|
|
5263
5094
|
constructor() {
|
|
5264
5095
|
super();
|
|
5265
5096
|
}
|
|
5266
|
-
get interactionContext() {
|
|
5267
|
-
return this._interactionContext;
|
|
5268
|
-
}
|
|
5269
5097
|
}
|
|
5270
5098
|
InlineActivityTriggerComponent.decorators = [
|
|
5271
5099
|
{ type: Component, args: [{
|
|
@@ -5276,7 +5104,7 @@ InlineActivityTriggerComponent.decorators = [
|
|
|
5276
5104
|
];
|
|
5277
5105
|
InlineActivityTriggerComponent.ctorParameters = () => [];
|
|
5278
5106
|
InlineActivityTriggerComponent.propDecorators = {
|
|
5279
|
-
|
|
5107
|
+
interactionContext: [{ type: ViewChild, args: [InPlaceInteractionContextComponent, { static: true },] }]
|
|
5280
5108
|
};
|
|
5281
5109
|
|
|
5282
5110
|
/**
|
|
@@ -5661,9 +5489,6 @@ class PopupActivityTriggerComponent extends AbstractActivityTriggerComponent {
|
|
|
5661
5489
|
this.anchorX = 'start';
|
|
5662
5490
|
this.anchorY = 'bottom';
|
|
5663
5491
|
}
|
|
5664
|
-
get interactionContext() {
|
|
5665
|
-
return this._interactionContext;
|
|
5666
|
-
}
|
|
5667
5492
|
}
|
|
5668
5493
|
PopupActivityTriggerComponent.decorators = [
|
|
5669
5494
|
{ type: Component, args: [{
|
|
@@ -5676,7 +5501,7 @@ PopupActivityTriggerComponent.ctorParameters = () => [];
|
|
|
5676
5501
|
PopupActivityTriggerComponent.propDecorators = {
|
|
5677
5502
|
anchorX: [{ type: Input }],
|
|
5678
5503
|
anchorY: [{ type: Input }],
|
|
5679
|
-
|
|
5504
|
+
interactionContext: [{ type: ViewChild, args: [PopupInteractionContextComponent, { static: true },] }]
|
|
5680
5505
|
};
|
|
5681
5506
|
|
|
5682
5507
|
class InteractionModule {
|
|
@@ -5717,8 +5542,7 @@ InteractionModule.decorators = [
|
|
|
5717
5542
|
AbstractActivityTriggerComponent,
|
|
5718
5543
|
PopupActivityTriggerComponent,
|
|
5719
5544
|
InlineActivityTriggerComponent,
|
|
5720
|
-
ModalActivityTriggerComponent
|
|
5721
|
-
AddCardActivityComponent,
|
|
5545
|
+
ModalActivityTriggerComponent
|
|
5722
5546
|
],
|
|
5723
5547
|
exports: [
|
|
5724
5548
|
ActivityContainerComponent,
|
|
@@ -5734,8 +5558,7 @@ InteractionModule.decorators = [
|
|
|
5734
5558
|
ActivityBodyComponent,
|
|
5735
5559
|
PopupActivityTriggerComponent,
|
|
5736
5560
|
InlineActivityTriggerComponent,
|
|
5737
|
-
ModalActivityTriggerComponent
|
|
5738
|
-
AddCardActivityComponent,
|
|
5561
|
+
ModalActivityTriggerComponent
|
|
5739
5562
|
],
|
|
5740
5563
|
entryComponents: [
|
|
5741
5564
|
ActivityContainerComponent,
|
|
@@ -7196,7 +7019,6 @@ class UrlSnapshot {
|
|
|
7196
7019
|
this.url = url;
|
|
7197
7020
|
this.urlTree = urlSerializer.parse(url);
|
|
7198
7021
|
}
|
|
7199
|
-
// @Trace()
|
|
7200
7022
|
updateVisitSegments(visit) {
|
|
7201
7023
|
const newUrlTree = this.urlSerializer.parse(this.url);
|
|
7202
7024
|
// Ugly, but it works for now.
|
|
@@ -7273,6 +7095,12 @@ class UrlSnapshot {
|
|
|
7273
7095
|
return `UrlSnapshot(${this.url})`;
|
|
7274
7096
|
}
|
|
7275
7097
|
}
|
|
7098
|
+
__decorate([
|
|
7099
|
+
Trace(),
|
|
7100
|
+
__metadata("design:type", Function),
|
|
7101
|
+
__metadata("design:paramtypes", [Visit]),
|
|
7102
|
+
__metadata("design:returntype", UrlSnapshot)
|
|
7103
|
+
], UrlSnapshot.prototype, "updateVisitSegments", null);
|
|
7276
7104
|
__decorate([
|
|
7277
7105
|
Memoize(),
|
|
7278
7106
|
__metadata("design:type", Function),
|
|
@@ -7614,7 +7442,6 @@ class PlaceRouter extends GarbageCollector {
|
|
|
7614
7442
|
* to be able to capture the back button on the first page. If we don't then the back click will exit
|
|
7615
7443
|
* the app directly and we don't get to ask.
|
|
7616
7444
|
*/
|
|
7617
|
-
// @Trace()
|
|
7618
7445
|
syncInteractionContextIdsWithRouter() {
|
|
7619
7446
|
if (this.navigationSession) {
|
|
7620
7447
|
// console.log(`Navigation active -> ${this.navigationSession.toString()}, sync delayed until finished.`);
|
|
@@ -7656,6 +7483,12 @@ PlaceRouter.ctorParameters = () => [
|
|
|
7656
7483
|
{ type: UrlService },
|
|
7657
7484
|
{ type: PlaceHistory }
|
|
7658
7485
|
];
|
|
7486
|
+
__decorate([
|
|
7487
|
+
Trace(),
|
|
7488
|
+
__metadata("design:type", Function),
|
|
7489
|
+
__metadata("design:paramtypes", []),
|
|
7490
|
+
__metadata("design:returntype", Promise)
|
|
7491
|
+
], PlaceRouter.prototype, "syncInteractionContextIdsWithRouter", null);
|
|
7659
7492
|
(function (PlaceRouter) {
|
|
7660
7493
|
class State {
|
|
7661
7494
|
constructor(activeVisits) {
|
|
@@ -8672,5 +8505,5 @@ VisibilityService.ctorParameters = () => [
|
|
|
8672
8505
|
* Generated bundle index. Do not edit.
|
|
8673
8506
|
*/
|
|
8674
8507
|
|
|
8675
|
-
export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT, AbstractActivityTriggerComponent,
|
|
8508
|
+
export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT, AbstractActivityTriggerComponent, AbstractInputActivity, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractPopupMenuComponent, AbstractTableComponent, AbstractTableModel, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityBodyComponent, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, ActivityTitleComponent, AddItemInteractionContextComponent, AlertDialogComponent, AngularUiPowerupsModule, AutocompleteInputComponent, Bounds, BusyOverlayComponent, CELL_EDITOR_PORTAL, CELL_RENDERER_PORTAL, CardContainerComponent, CellEditorPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnListModel, ColumnModel, ColumnTemplateDirective, CommandComponent, CommandContainer, CommandDirective, CommandFace, CommandFaceComponent, ComponentCellRendererPortalRef, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DecoratedTreeNode, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EditRowControls, EditSession, EditorControlColumnModel, EmptyStateComponent, EventCleanUpSession, FlattenedTreeListModel, FlexComponent, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, Formatter, HEADER_CELL_RENDERER_PORTAL, HighlightPipe, HighlightTextModelDirective, HorizontalAlignment, IconComponent, InPlaceInteractionContextComponent, InlineActivityTriggerComponent, InteractionContextTriggerFor, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, LEFT_RIGHT_PLACE_ANIMATION, ListPlaceNavComponent, ListPropertyColumnModel, ModalActivityTriggerComponent, ModalInteractionContextFactory, MoreMenuComponent, MultipleSelectInputComponent, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NotAuthorisedNoticeComponent, NumberInputComponent, POPUP_CONTAINER, PORTAL_EDITOR_COMPONENT, PORTAL_RENDERER_COMPONENT, PaginatorComponent, ParameterDefinition, PasswordInputComponent, Place, PlaceAccessGuard, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupActivityTriggerComponent, PopupAwareComponent, PopupInteractionContextComponent, PopupMenuComponent, PopupMenuRendererComponent, PropertyColumnModel, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, ScrollContainerComponent, SectionHeaderComponent, SelectCellRendererComponent, SelectHeaderCellRendererComponent, SelectInputActivity, SelectInputComponent, SelectionColumnModel, SelfAndDescendantsVisitor, SeparatorComponent, SidePlaceNavigationComponent, StringInputActivity, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableCellRendererComponent, TableComponent, TableHeaderCellRendererComponent, TableModel, TableRowMenuComponent, TemplateCellRendererPortalRef, TextInputComponent, ToolBarComponent, TrackBy, TreeExpansionModel, TreeInheritanceIconComponent, TreeLabelCellRendererComponent, TreeLabelColumnModel, TreeTableComponent, TreeTableModel, UrlService, UrlSnapshot, VerticalFocusContainerComponent, VisibilityService, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationTypeDetermined, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, treeNodeDecorator, ɵ0 };
|
|
8676
8509
|
//# sourceMappingURL=coolon-angular-ui-powerups.js.map
|