@coolon/angular-ui-powerups 12.4.0-alpha.26 → 12.4.0-alpha.28
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/bundles/coolon-angular-ui-powerups.umd.js +157 -59
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/cards/abstract-card-container.component.js +29 -0
- package/esm2015/lib/components/cards/abstract-card-container.component.js.map +1 -0
- package/esm2015/lib/components/cards/abstract-card-container.component.metadata.json +1 -0
- package/esm2015/lib/components/cards/abstract-card-container.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/{card-container → cards/card-container}/card-container.component.js +4 -22
- package/esm2015/lib/components/cards/card-container/card-container.component.js.map +1 -0
- package/esm2015/lib/components/cards/card-container/card-container.component.metadata.json +1 -0
- package/esm2015/lib/components/cards/card-container/card-container.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/cards/card-container/card-container.component.scss.shim.ngstyle.js.map +1 -0
- package/esm2015/lib/components/cards/card-stack/card-stack.component.js +72 -0
- package/esm2015/lib/components/cards/card-stack/card-stack.component.js.map +1 -0
- package/esm2015/lib/components/cards/card-stack/card-stack.component.metadata.json +1 -0
- package/esm2015/lib/components/cards/card-stack/card-stack.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/cards/card-stack/card-stack.component.scss.shim.ngstyle.js.map +1 -0
- package/esm2015/lib/components/components.module.js +29 -24
- 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/exports.js +3 -1
- package/esm2015/lib/components/exports.js.map +1 -1
- package/esm2015/lib/components/exports.metadata.json +1 -1
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js +19 -8
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.js.map +1 -1
- package/esm2015/lib/interaction/components/add-card-activity/add-card-activity.component.metadata.json +1 -1
- package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/esm2015/lib/place/place-router.js +3 -8
- 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/fesm2015/coolon-angular-ui-powerups.js +143 -56
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/cards/abstract-card-container.component.d.ts +11 -0
- package/lib/components/{card-container → cards/card-container}/card-container.component.d.ts +2 -10
- package/lib/components/cards/card-stack/card-stack.component.d.ts +63 -0
- package/lib/components/exports.d.ts +3 -1
- package/lib/interaction/components/add-card-activity/add-card-activity.component.d.ts +15 -2
- 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 +5 -3
- package/esm2015/lib/components/card-container/card-container.component.js.map +0 -1
- package/esm2015/lib/components/card-container/card-container.component.metadata.json +0 -1
- package/esm2015/lib/components/card-container/card-container.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/card-container/card-container.component.scss.shim.ngstyle.js.map +0 -1
|
@@ -768,6 +768,32 @@
|
|
|
768
768
|
__metadata("design:type", Boolean)
|
|
769
769
|
], BusyOverlayComponent.prototype, "busy", void 0);
|
|
770
770
|
|
|
771
|
+
var AbstractCardContainerComponent = /** @class */ (function (_super) {
|
|
772
|
+
__extends(AbstractCardContainerComponent, _super);
|
|
773
|
+
function AbstractCardContainerComponent() {
|
|
774
|
+
return _super.call(this) || this;
|
|
775
|
+
}
|
|
776
|
+
AbstractCardContainerComponent.prototype.ngOnInit = function () {
|
|
777
|
+
};
|
|
778
|
+
return AbstractCardContainerComponent;
|
|
779
|
+
}(DisposableComponent));
|
|
780
|
+
AbstractCardContainerComponent.decorators = [
|
|
781
|
+
{ type: i0.Component, args: [{
|
|
782
|
+
selector: 'aup-abstract-card-container',
|
|
783
|
+
template: ''
|
|
784
|
+
},] }
|
|
785
|
+
];
|
|
786
|
+
AbstractCardContainerComponent.ctorParameters = function () { return []; };
|
|
787
|
+
AbstractCardContainerComponent.propDecorators = {
|
|
788
|
+
addCardCommand: [{ type: i0.Input }],
|
|
789
|
+
addCardFace: [{ type: i0.Input }],
|
|
790
|
+
addCardTemplate: [{ type: i0.ContentChild, args: ['addCardTemplate',] }]
|
|
791
|
+
};
|
|
792
|
+
__decorate([
|
|
793
|
+
pectin.TrackExternal(),
|
|
794
|
+
__metadata("design:type", pectin.Command)
|
|
795
|
+
], AbstractCardContainerComponent.prototype, "addCardCommand", void 0);
|
|
796
|
+
|
|
771
797
|
/**
|
|
772
798
|
* @example
|
|
773
799
|
* // basic usage
|
|
@@ -832,29 +858,92 @@
|
|
|
832
858
|
var CardContainerComponent = /** @class */ (function (_super) {
|
|
833
859
|
__extends(CardContainerComponent, _super);
|
|
834
860
|
function CardContainerComponent() {
|
|
835
|
-
return _super.
|
|
861
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
836
862
|
}
|
|
837
|
-
CardContainerComponent.prototype.ngOnInit = function () {
|
|
838
|
-
};
|
|
839
863
|
return CardContainerComponent;
|
|
840
|
-
}(
|
|
864
|
+
}(AbstractCardContainerComponent));
|
|
841
865
|
CardContainerComponent.decorators = [
|
|
842
866
|
{ type: i0.Component, args: [{
|
|
843
867
|
selector: 'aup-card-container',
|
|
844
|
-
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
|
|
868
|
+
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",
|
|
845
869
|
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}"]
|
|
846
870
|
},] }
|
|
847
871
|
];
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
872
|
+
|
|
873
|
+
/**
|
|
874
|
+
* @example
|
|
875
|
+
* // basic usage
|
|
876
|
+
* <aup-card-stack>
|
|
877
|
+
* <my-card *ngFor="..."></my-card>
|
|
878
|
+
* </aup-card-stack>
|
|
879
|
+
*
|
|
880
|
+
* // adds an add button with a the '+' icon to the end of the card list.
|
|
881
|
+
* <aup-card-stack [addCardCommand]="addCard">
|
|
882
|
+
* <my-card *ngFor="..."></my-card>
|
|
883
|
+
* </aup-card-stack>
|
|
884
|
+
*
|
|
885
|
+
* // adds an add button with the specified face
|
|
886
|
+
* <aup-card-stack [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
|
|
887
|
+
* <my-card *ngFor="..."></my-card>
|
|
888
|
+
* </aup-card-stack>
|
|
889
|
+
*
|
|
890
|
+
* // use the aup-add-card-activity to display as the new card place holder and to run
|
|
891
|
+
* // the activity inside teh card
|
|
892
|
+
* <aup-card-stack [addCardCommand]="addCard" [addCardFace]="i18n.addCard" >
|
|
893
|
+
* <my-card *ngFor="..."></my-card>
|
|
894
|
+
* <aup-add-card-activity type="inline" renderAs="card" [face]="i18n.commands.addModal" [activityClass]="AddCardActivity"></aup-add-card-activity>
|
|
895
|
+
* </aup-card-stack>
|
|
896
|
+
*
|
|
897
|
+
* // adds an add card component using the specified template. The template
|
|
898
|
+
* // will fill it's container in the grid.
|
|
899
|
+
* <aup-card-stack>
|
|
900
|
+
* <my-card *ngFor="..."></my-card>
|
|
901
|
+
* <ng-template #addCardTemplate>
|
|
902
|
+
* <div>This is a new card template, it will the the size of the other cards.</div>
|
|
903
|
+
* </ng-template>
|
|
904
|
+
* </aup-card-stack>
|
|
905
|
+
*
|
|
906
|
+
* // sing the default new card styles for your template
|
|
907
|
+
* @import "../../../../assets/styles";
|
|
908
|
+
* .my-new-card {
|
|
909
|
+
* @include aup-card-stack-new-card-style();
|
|
910
|
+
* // OR
|
|
911
|
+
* @include aup-card-stack-new-card-style(
|
|
912
|
+
* $color: rgba(0,0,0,0.54),
|
|
913
|
+
* $background-color: rgba(255,255,255,0.8),
|
|
914
|
+
* $hover-color: $color,
|
|
915
|
+
* $background-hover-color: white
|
|
916
|
+
* )
|
|
917
|
+
* }
|
|
918
|
+
* <aup-card-stack>
|
|
919
|
+
* <my-card *ngFor="..."></my-card>
|
|
920
|
+
* <ng-template #addCardTemplate>
|
|
921
|
+
* <div class="my-new-card" >This is a new card template, it will the the size of the other cards.</div>
|
|
922
|
+
* </ng-template>
|
|
923
|
+
* </aup-card-stack>
|
|
924
|
+
*
|
|
925
|
+
* // CSS Vars
|
|
926
|
+
* aup-card-stack {
|
|
927
|
+
* --card-gap: var(--card-gap, 16px);
|
|
928
|
+
* --card-height: var(--card-height, auto);
|
|
929
|
+
* --card-min-height: var(--card-min-height, auto);
|
|
930
|
+
* --card-background: var(--card-background, #fcfcfb);
|
|
931
|
+
* }
|
|
932
|
+
*/
|
|
933
|
+
var CardStackComponent = /** @class */ (function (_super) {
|
|
934
|
+
__extends(CardStackComponent, _super);
|
|
935
|
+
function CardStackComponent() {
|
|
936
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
937
|
+
}
|
|
938
|
+
return CardStackComponent;
|
|
939
|
+
}(AbstractCardContainerComponent));
|
|
940
|
+
CardStackComponent.decorators = [
|
|
941
|
+
{ type: i0.Component, args: [{
|
|
942
|
+
selector: 'aup-card-stack',
|
|
943
|
+
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",
|
|
944
|
+
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}"]
|
|
945
|
+
},] }
|
|
946
|
+
];
|
|
858
947
|
|
|
859
948
|
exports.CommandFace = void 0;
|
|
860
949
|
(function (CommandFace) {
|
|
@@ -4698,6 +4787,28 @@
|
|
|
4698
4787
|
}());
|
|
4699
4788
|
ComponentsModule.decorators = [
|
|
4700
4789
|
{ type: i0.NgModule, args: [{
|
|
4790
|
+
imports: [
|
|
4791
|
+
i2.CommonModule,
|
|
4792
|
+
animations.BrowserAnimationsModule,
|
|
4793
|
+
forms.FormsModule,
|
|
4794
|
+
input.MatInputModule,
|
|
4795
|
+
formField.MatFormFieldModule,
|
|
4796
|
+
select.MatSelectModule,
|
|
4797
|
+
tabs.MatTabsModule,
|
|
4798
|
+
DirectivesModule,
|
|
4799
|
+
icon.MatIconModule,
|
|
4800
|
+
button.MatButtonModule,
|
|
4801
|
+
checkbox.MatCheckboxModule,
|
|
4802
|
+
table.MatTableModule,
|
|
4803
|
+
portal.PortalModule,
|
|
4804
|
+
scrolling.CdkScrollableModule,
|
|
4805
|
+
angularFontawesome.FontAwesomeModule,
|
|
4806
|
+
tooltip.MatTooltipModule,
|
|
4807
|
+
autocomplete.MatAutocompleteModule,
|
|
4808
|
+
menu.MatMenuModule,
|
|
4809
|
+
divider.MatDividerModule,
|
|
4810
|
+
progressSpinner.MatProgressSpinnerModule
|
|
4811
|
+
],
|
|
4701
4812
|
declarations: [
|
|
4702
4813
|
AbstractInputComponent,
|
|
4703
4814
|
AbstractValueInputComponent,
|
|
@@ -4746,29 +4857,9 @@
|
|
|
4746
4857
|
BusyOverlayComponent,
|
|
4747
4858
|
EmptyStateComponent,
|
|
4748
4859
|
PaginatorComponent,
|
|
4749
|
-
AbstractTableComponent
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
i2.CommonModule,
|
|
4753
|
-
animations.BrowserAnimationsModule,
|
|
4754
|
-
forms.FormsModule,
|
|
4755
|
-
input.MatInputModule,
|
|
4756
|
-
formField.MatFormFieldModule,
|
|
4757
|
-
select.MatSelectModule,
|
|
4758
|
-
tabs.MatTabsModule,
|
|
4759
|
-
DirectivesModule,
|
|
4760
|
-
icon.MatIconModule,
|
|
4761
|
-
button.MatButtonModule,
|
|
4762
|
-
checkbox.MatCheckboxModule,
|
|
4763
|
-
table.MatTableModule,
|
|
4764
|
-
portal.PortalModule,
|
|
4765
|
-
scrolling.CdkScrollableModule,
|
|
4766
|
-
angularFontawesome.FontAwesomeModule,
|
|
4767
|
-
tooltip.MatTooltipModule,
|
|
4768
|
-
autocomplete.MatAutocompleteModule,
|
|
4769
|
-
menu.MatMenuModule,
|
|
4770
|
-
divider.MatDividerModule,
|
|
4771
|
-
progressSpinner.MatProgressSpinnerModule
|
|
4860
|
+
AbstractTableComponent,
|
|
4861
|
+
AbstractCardContainerComponent,
|
|
4862
|
+
CardStackComponent
|
|
4772
4863
|
],
|
|
4773
4864
|
exports: [
|
|
4774
4865
|
NumberInputComponent,
|
|
@@ -4805,6 +4896,7 @@
|
|
|
4805
4896
|
BusyOverlayComponent,
|
|
4806
4897
|
EmptyStateComponent,
|
|
4807
4898
|
PaginatorComponent,
|
|
4899
|
+
CardStackComponent,
|
|
4808
4900
|
],
|
|
4809
4901
|
providers: [
|
|
4810
4902
|
FocusBindingFactory
|
|
@@ -5989,12 +6081,12 @@
|
|
|
5989
6081
|
/**
|
|
5990
6082
|
*
|
|
5991
6083
|
*/
|
|
5992
|
-
|
|
6084
|
+
exports.AddCardActivityComponent = /** @class */ (function (_super) {
|
|
5993
6085
|
__extends(AddCardActivityComponent, _super);
|
|
5994
6086
|
function AddCardActivityComponent(interactionService) {
|
|
5995
6087
|
var _this = _super.call(this) || this;
|
|
5996
|
-
_this.
|
|
5997
|
-
_this.renderAs =
|
|
6088
|
+
_this.interactionStyle = AddCardActivityComponent.InteractionType.MODAL;
|
|
6089
|
+
_this.renderAs = AddCardActivityComponent.RenderAs.CARD;
|
|
5998
6090
|
var chain = pectin.Dsl.disposeWith(_this).chain;
|
|
5999
6091
|
_this.modalInteractionContext = interactionService.createModalInteractionContextDisposedWith(_this);
|
|
6000
6092
|
_this.faceList = chain(_this.faceModel).mapToList(function (face) { return [face]; });
|
|
@@ -6009,7 +6101,7 @@
|
|
|
6009
6101
|
});
|
|
6010
6102
|
Object.defineProperty(AddCardActivityComponent.prototype, "activityTypeClass", {
|
|
6011
6103
|
get: function () {
|
|
6012
|
-
return this.
|
|
6104
|
+
return this.interactionStyle + "-activity";
|
|
6013
6105
|
},
|
|
6014
6106
|
enumerable: false,
|
|
6015
6107
|
configurable: true
|
|
@@ -6024,7 +6116,7 @@
|
|
|
6024
6116
|
};
|
|
6025
6117
|
Object.defineProperty(AddCardActivityComponent.prototype, "interactionContext", {
|
|
6026
6118
|
get: function () {
|
|
6027
|
-
switch (this.
|
|
6119
|
+
switch (this.interactionStyle) {
|
|
6028
6120
|
case 'inline':
|
|
6029
6121
|
return this.inlineInteractionContext;
|
|
6030
6122
|
default:
|
|
@@ -6035,30 +6127,40 @@
|
|
|
6035
6127
|
configurable: true
|
|
6036
6128
|
});
|
|
6037
6129
|
AddCardActivityComponent.prototype.isModal = function () {
|
|
6038
|
-
return this.
|
|
6130
|
+
return this.interactionStyle === 'modal';
|
|
6039
6131
|
};
|
|
6040
6132
|
AddCardActivityComponent.prototype.isInline = function () {
|
|
6041
|
-
return this.
|
|
6133
|
+
return this.interactionStyle === 'inline';
|
|
6042
6134
|
};
|
|
6043
6135
|
return AddCardActivityComponent;
|
|
6044
6136
|
}(AbstractActivityTriggerComponent));
|
|
6045
|
-
AddCardActivityComponent.decorators = [
|
|
6137
|
+
exports.AddCardActivityComponent.decorators = [
|
|
6046
6138
|
{ type: i0.Component, args: [{
|
|
6047
6139
|
selector: 'aup-add-card-activity',
|
|
6048
6140
|
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",
|
|
6049
|
-
styles: [":host{display:flex;flex-direction:column;align-items:stretch}:host[
|
|
6141
|
+
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}"]
|
|
6050
6142
|
},] }
|
|
6051
6143
|
];
|
|
6052
|
-
AddCardActivityComponent.ctorParameters = function () { return [
|
|
6144
|
+
exports.AddCardActivityComponent.ctorParameters = function () { return [
|
|
6053
6145
|
{ type: exports.InteractionService }
|
|
6054
6146
|
]; };
|
|
6055
|
-
AddCardActivityComponent.propDecorators = {
|
|
6147
|
+
exports.AddCardActivityComponent.propDecorators = {
|
|
6056
6148
|
inlineInteractionContext: [{ type: i0.ViewChild, args: [InPlaceInteractionContextComponent, { static: true },] }],
|
|
6057
|
-
|
|
6149
|
+
interactionStyle: [{ type: i0.Input }],
|
|
6058
6150
|
renderAs: [{ type: i0.Input }, { type: i0.HostBinding, args: ['class',] }],
|
|
6059
6151
|
renderAsClass: [{ type: i0.HostBinding, args: ['class',] }],
|
|
6060
6152
|
activityTypeClass: [{ type: i0.HostBinding, args: ['class',] }]
|
|
6061
6153
|
};
|
|
6154
|
+
(function (AddCardActivityComponent) {
|
|
6155
|
+
AddCardActivityComponent.InteractionType = typescriptStringEnums.Enum({
|
|
6156
|
+
MODAL: 'modal',
|
|
6157
|
+
INLINE: 'inline'
|
|
6158
|
+
});
|
|
6159
|
+
AddCardActivityComponent.RenderAs = typescriptStringEnums.Enum({
|
|
6160
|
+
CARD: 'card',
|
|
6161
|
+
BUTTON: 'button'
|
|
6162
|
+
});
|
|
6163
|
+
})(exports.AddCardActivityComponent || (exports.AddCardActivityComponent = {}));
|
|
6062
6164
|
|
|
6063
6165
|
/**
|
|
6064
6166
|
* Css Vars.
|
|
@@ -6618,7 +6720,7 @@
|
|
|
6618
6720
|
PopupActivityTriggerComponent,
|
|
6619
6721
|
InlineActivityTriggerComponent,
|
|
6620
6722
|
ModalActivityTriggerComponent,
|
|
6621
|
-
AddCardActivityComponent,
|
|
6723
|
+
exports.AddCardActivityComponent,
|
|
6622
6724
|
],
|
|
6623
6725
|
exports: [
|
|
6624
6726
|
ActivityContainerComponent,
|
|
@@ -6635,7 +6737,7 @@
|
|
|
6635
6737
|
PopupActivityTriggerComponent,
|
|
6636
6738
|
InlineActivityTriggerComponent,
|
|
6637
6739
|
ModalActivityTriggerComponent,
|
|
6638
|
-
AddCardActivityComponent,
|
|
6740
|
+
exports.AddCardActivityComponent,
|
|
6639
6741
|
],
|
|
6640
6742
|
entryComponents: [
|
|
6641
6743
|
ActivityContainerComponent,
|
|
@@ -8740,6 +8842,7 @@
|
|
|
8740
8842
|
* to be able to capture the back button on the first page. If we don't then the back click will exit
|
|
8741
8843
|
* the app directly and we don't get to ask.
|
|
8742
8844
|
*/
|
|
8845
|
+
// @Trace()
|
|
8743
8846
|
PlaceRouter.prototype.syncInteractionContextIdsWithRouter = function () {
|
|
8744
8847
|
var _this = this;
|
|
8745
8848
|
if (this.navigationSession) {
|
|
@@ -8783,12 +8886,6 @@
|
|
|
8783
8886
|
{ type: UrlService },
|
|
8784
8887
|
{ type: exports.PlaceHistory }
|
|
8785
8888
|
]; };
|
|
8786
|
-
__decorate([
|
|
8787
|
-
pectin.Trace(),
|
|
8788
|
-
__metadata("design:type", Function),
|
|
8789
|
-
__metadata("design:paramtypes", []),
|
|
8790
|
-
__metadata("design:returntype", Promise)
|
|
8791
|
-
], exports.PlaceRouter.prototype, "syncInteractionContextIdsWithRouter", null);
|
|
8792
8889
|
(function (PlaceRouter) {
|
|
8793
8890
|
var State = /** @class */ (function () {
|
|
8794
8891
|
function State(activeVisits) {
|
|
@@ -9922,6 +10019,7 @@
|
|
|
9922
10019
|
exports.AUP_PLACE_CONFIG = AUP_PLACE_CONFIG;
|
|
9923
10020
|
exports.AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT = AUP_UNAUTHORISED_PLACE_NOTICE_COMPONENT;
|
|
9924
10021
|
exports.AbstractActivityTriggerComponent = AbstractActivityTriggerComponent;
|
|
10022
|
+
exports.AbstractCardContainerComponent = AbstractCardContainerComponent;
|
|
9925
10023
|
exports.AbstractInputActivity = AbstractInputActivity;
|
|
9926
10024
|
exports.AbstractInputComponent = AbstractInputComponent;
|
|
9927
10025
|
exports.AbstractInteractionContext = AbstractInteractionContext;
|
|
@@ -9939,7 +10037,6 @@
|
|
|
9939
10037
|
exports.ActivityOutletComponent = ActivityOutletComponent;
|
|
9940
10038
|
exports.ActivityRef = ActivityRef;
|
|
9941
10039
|
exports.ActivityTitleComponent = ActivityTitleComponent;
|
|
9942
|
-
exports.AddCardActivityComponent = AddCardActivityComponent;
|
|
9943
10040
|
exports.AddItemInteractionContextComponent = AddItemInteractionContextComponent;
|
|
9944
10041
|
exports.AlertDialogComponent = AlertDialogComponent;
|
|
9945
10042
|
exports.AngularUiPowerupsModule = AngularUiPowerupsModule;
|
|
@@ -9948,6 +10045,7 @@
|
|
|
9948
10045
|
exports.CELL_EDITOR_PORTAL = CELL_EDITOR_PORTAL;
|
|
9949
10046
|
exports.CELL_RENDERER_PORTAL = CELL_RENDERER_PORTAL;
|
|
9950
10047
|
exports.CardContainerComponent = CardContainerComponent;
|
|
10048
|
+
exports.CardStackComponent = CardStackComponent;
|
|
9951
10049
|
exports.CellEditorPortalRef = CellEditorPortalRef;
|
|
9952
10050
|
exports.CellHeaderPortalRef = CellHeaderPortalRef;
|
|
9953
10051
|
exports.CellPortalRef = CellPortalRef;
|