@coolon/angular-ui-powerups 1.11.1 → 1.11.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/CHANGELOG.md +14 -0
- package/assets/form.scss +37 -0
- package/assets/interaction.scss +22 -0
- package/assets/mixins.scss +28 -0
- package/assets/router.scss +9 -0
- package/assets/table.scss +9 -0
- package/assets/tabs.scss +17 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +93 -94
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.d.ts +18 -18
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/coolon-angular-ui-powerups.js +18 -18
- package/esm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/esm2015/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js +2 -2
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js.map +1 -1
- package/esm2015/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.metadata.json +1 -1
- package/esm5/coolon-angular-ui-powerups.js +18 -18
- package/esm5/coolon-angular-ui-powerups.js.map +1 -1
- package/esm5/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js +2 -2
- package/esm5/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +64 -64
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +71 -71
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/interaction/components/add-item-interaction-context/add-item-interaction-context.component.d.ts +3 -2
- package/package.json +1 -1
|
@@ -1141,76 +1141,6 @@ var ActivityContainerComponent = /** @class */ (function (_super) {
|
|
|
1141
1141
|
return ActivityContainerComponent;
|
|
1142
1142
|
}(AbstractInteractionContext));
|
|
1143
1143
|
|
|
1144
|
-
var AddItemInteractionContextComponent = /** @class */ (function (_super) {
|
|
1145
|
-
__extends(AddItemInteractionContextComponent, _super);
|
|
1146
|
-
function AddItemInteractionContextComponent() {
|
|
1147
|
-
var _this = _super.call(this) || this;
|
|
1148
|
-
_this.tabindex = 0;
|
|
1149
|
-
_this.clickCommand = Command.create(function (context) {
|
|
1150
|
-
if (_this.activityClass) {
|
|
1151
|
-
_this.startActivity(_this.activityClass, _this.activityData).catch(function (e) {
|
|
1152
|
-
// don't care.
|
|
1153
|
-
});
|
|
1154
|
-
}
|
|
1155
|
-
else {
|
|
1156
|
-
_this.addCommand.withContext(context).execute();
|
|
1157
|
-
}
|
|
1158
|
-
});
|
|
1159
|
-
return _this;
|
|
1160
|
-
}
|
|
1161
|
-
Object.defineProperty(AddItemInteractionContextComponent.prototype, "active", {
|
|
1162
|
-
get: function () {
|
|
1163
|
-
return this.interactionContext ? this.interactionContext.isActive() : false;
|
|
1164
|
-
},
|
|
1165
|
-
enumerable: true,
|
|
1166
|
-
configurable: true
|
|
1167
|
-
});
|
|
1168
|
-
AddItemInteractionContextComponent.prototype.startActivity = function (activityType, data) {
|
|
1169
|
-
return this.interactionContext.startActivity(activityType, data);
|
|
1170
|
-
};
|
|
1171
|
-
AddItemInteractionContextComponent.prototype.ngOnInit = function () {
|
|
1172
|
-
};
|
|
1173
|
-
__decorate([
|
|
1174
|
-
Input(),
|
|
1175
|
-
__metadata("design:type", String)
|
|
1176
|
-
], AddItemInteractionContextComponent.prototype, "label", void 0);
|
|
1177
|
-
__decorate([
|
|
1178
|
-
Input(),
|
|
1179
|
-
__metadata("design:type", Object)
|
|
1180
|
-
], AddItemInteractionContextComponent.prototype, "activityClass", void 0);
|
|
1181
|
-
__decorate([
|
|
1182
|
-
Input(),
|
|
1183
|
-
__metadata("design:type", Object)
|
|
1184
|
-
], AddItemInteractionContextComponent.prototype, "activityData", void 0);
|
|
1185
|
-
__decorate([
|
|
1186
|
-
Input(),
|
|
1187
|
-
TrackExternal(),
|
|
1188
|
-
__metadata("design:type", Command)
|
|
1189
|
-
], AddItemInteractionContextComponent.prototype, "addCommand", void 0);
|
|
1190
|
-
__decorate([
|
|
1191
|
-
ViewChild(InPlaceInteractionContextComponent),
|
|
1192
|
-
__metadata("design:type", InPlaceInteractionContextComponent)
|
|
1193
|
-
], AddItemInteractionContextComponent.prototype, "interactionContext", void 0);
|
|
1194
|
-
__decorate([
|
|
1195
|
-
HostBinding('class.interaction-active'),
|
|
1196
|
-
__metadata("design:type", Boolean),
|
|
1197
|
-
__metadata("design:paramtypes", [])
|
|
1198
|
-
], AddItemInteractionContextComponent.prototype, "active", null);
|
|
1199
|
-
__decorate([
|
|
1200
|
-
HostBinding('tabindex'),
|
|
1201
|
-
__metadata("design:type", Object)
|
|
1202
|
-
], AddItemInteractionContextComponent.prototype, "tabindex", void 0);
|
|
1203
|
-
AddItemInteractionContextComponent = __decorate([
|
|
1204
|
-
Component({
|
|
1205
|
-
selector: 'aup-add-item-interaction-context',
|
|
1206
|
-
template: "<aup-in-place-interaction-context #interactionContext [animateFirstActivity]=\"false\">\n <a part=\"link\" class=\"link\" [pectinCommand]=\"clickCommand\"><mat-icon>add</mat-icon> {{label}}</a>\n</aup-in-place-interaction-context>\n",
|
|
1207
|
-
styles: [":host{--def-link-color:var(--link-color, currentColor);--def-link-backgound:var(--link-background, rgba(0, 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:0}:host:hover{--link-background:rgba(0,0,0,0.1)}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-backgound);padding:var(--def-link-padding);cursor:pointer;text-decoration:none}a.link mat-icon{margin-right:8px}"]
|
|
1208
|
-
}),
|
|
1209
|
-
__metadata("design:paramtypes", [])
|
|
1210
|
-
], AddItemInteractionContextComponent);
|
|
1211
|
-
return AddItemInteractionContextComponent;
|
|
1212
|
-
}(DisposableComponent));
|
|
1213
|
-
|
|
1214
1144
|
var InteractionServiceRoutingAdapter = /** @class */ (function () {
|
|
1215
1145
|
function InteractionServiceRoutingAdapter(activeInteractionContextIds, activeModalContext, createExclusiveInteractionContext) {
|
|
1216
1146
|
this.activeInteractionContextIds = activeInteractionContextIds;
|
|
@@ -1474,6 +1404,76 @@ var InPlaceInteractionContextComponent = /** @class */ (function (_super) {
|
|
|
1474
1404
|
return InPlaceInteractionContextComponent;
|
|
1475
1405
|
}(DisposableComponent));
|
|
1476
1406
|
|
|
1407
|
+
var AddItemInteractionContextComponent = /** @class */ (function (_super) {
|
|
1408
|
+
__extends(AddItemInteractionContextComponent, _super);
|
|
1409
|
+
function AddItemInteractionContextComponent() {
|
|
1410
|
+
var _this = _super.call(this) || this;
|
|
1411
|
+
_this.tabindex = 0;
|
|
1412
|
+
_this.clickCommand = Command.create(function (context) {
|
|
1413
|
+
if (_this.activityClass) {
|
|
1414
|
+
_this.startActivity(_this.activityClass, _this.activityData).catch(function (e) {
|
|
1415
|
+
// don't care.
|
|
1416
|
+
});
|
|
1417
|
+
}
|
|
1418
|
+
else {
|
|
1419
|
+
_this.addCommand.withContext(context).execute();
|
|
1420
|
+
}
|
|
1421
|
+
});
|
|
1422
|
+
return _this;
|
|
1423
|
+
}
|
|
1424
|
+
Object.defineProperty(AddItemInteractionContextComponent.prototype, "active", {
|
|
1425
|
+
get: function () {
|
|
1426
|
+
return this.interactionContext ? this.interactionContext.isActive() : false;
|
|
1427
|
+
},
|
|
1428
|
+
enumerable: true,
|
|
1429
|
+
configurable: true
|
|
1430
|
+
});
|
|
1431
|
+
AddItemInteractionContextComponent.prototype.startActivity = function (activityType, data) {
|
|
1432
|
+
return this.interactionContext.startActivity(activityType, data);
|
|
1433
|
+
};
|
|
1434
|
+
AddItemInteractionContextComponent.prototype.ngOnInit = function () {
|
|
1435
|
+
};
|
|
1436
|
+
__decorate([
|
|
1437
|
+
Input(),
|
|
1438
|
+
__metadata("design:type", String)
|
|
1439
|
+
], AddItemInteractionContextComponent.prototype, "label", void 0);
|
|
1440
|
+
__decorate([
|
|
1441
|
+
Input(),
|
|
1442
|
+
__metadata("design:type", Object)
|
|
1443
|
+
], AddItemInteractionContextComponent.prototype, "activityClass", void 0);
|
|
1444
|
+
__decorate([
|
|
1445
|
+
Input(),
|
|
1446
|
+
__metadata("design:type", Object)
|
|
1447
|
+
], AddItemInteractionContextComponent.prototype, "activityData", void 0);
|
|
1448
|
+
__decorate([
|
|
1449
|
+
Input(),
|
|
1450
|
+
TrackExternal(),
|
|
1451
|
+
__metadata("design:type", Command)
|
|
1452
|
+
], AddItemInteractionContextComponent.prototype, "addCommand", void 0);
|
|
1453
|
+
__decorate([
|
|
1454
|
+
ViewChild(InPlaceInteractionContextComponent),
|
|
1455
|
+
__metadata("design:type", InPlaceInteractionContextComponent)
|
|
1456
|
+
], AddItemInteractionContextComponent.prototype, "interactionContext", void 0);
|
|
1457
|
+
__decorate([
|
|
1458
|
+
HostBinding('class.interaction-active'),
|
|
1459
|
+
__metadata("design:type", Boolean),
|
|
1460
|
+
__metadata("design:paramtypes", [])
|
|
1461
|
+
], AddItemInteractionContextComponent.prototype, "active", null);
|
|
1462
|
+
__decorate([
|
|
1463
|
+
HostBinding('tabindex'),
|
|
1464
|
+
__metadata("design:type", Object)
|
|
1465
|
+
], AddItemInteractionContextComponent.prototype, "tabindex", void 0);
|
|
1466
|
+
AddItemInteractionContextComponent = __decorate([
|
|
1467
|
+
Component({
|
|
1468
|
+
selector: 'aup-add-item-interaction-context',
|
|
1469
|
+
template: "<aup-in-place-interaction-context #interactionContext [animateFirstActivity]=\"false\">\n <a part=\"link\" class=\"link\" [pectinCommand]=\"clickCommand\"><mat-icon>add</mat-icon> {{label}}</a>\n</aup-in-place-interaction-context>\n",
|
|
1470
|
+
styles: [":host{--def-link-color:var(--link-color, currentColor);--def-link-backgound:var(--link-background, rgba(0, 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:0}:host:hover{--link-background:rgba(0,0,0,0.1)}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-backgound);padding:var(--def-link-padding);cursor:pointer;text-decoration:none}a.link mat-icon{margin-right:8px}"]
|
|
1471
|
+
}),
|
|
1472
|
+
__metadata("design:paramtypes", [])
|
|
1473
|
+
], AddItemInteractionContextComponent);
|
|
1474
|
+
return AddItemInteractionContextComponent;
|
|
1475
|
+
}(DisposableComponent));
|
|
1476
|
+
|
|
1477
1477
|
var PopupInteractionContextComponent = /** @class */ (function (_super) {
|
|
1478
1478
|
__extends(PopupInteractionContextComponent, _super);
|
|
1479
1479
|
function PopupInteractionContextComponent(_element, _overlay) {
|
|
@@ -6120,5 +6120,5 @@ function VisitParameterList(options) {
|
|
|
6120
6120
|
* Generated bundle index. Do not edit.
|
|
6121
6121
|
*/
|
|
6122
6122
|
|
|
6123
|
-
export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractInputActivity, AbstractInputComponent, AbstractInteractionContext, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, Activity, ActivityActionsComponent, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, AddItemInteractionContextComponent, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CardContainerComponent, CheckboxInputComponent, ColumnModel, ColumnTemplateDirective, CommandDirective, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EditRowControls, EditorControlColumnModel, EmptyStateComponent, EventCleanUpSession, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, Formatter, InPlaceInteractionContextComponent, InteractionContextTriggerFor, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, LEFT_RIGHT_PLACE_ANIMATION, ListPlaceNavComponent, ModalInteractionContextFactory, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NumberInputComponent, ParameterDefinition, PasswordInputComponent, Place, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupInteractionContextComponent, PropertyColumnModel, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, ScrollContainerComponent, SelectCellRendererComponent, SelectHeaderCellRendererComponent, SelectInputComponent, SelectionColumnModel, SidePlaceNavigationComponent, StringInputActivity, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableCellRendererComponent, TableComponent, TableHeaderCellRendererComponent, TableModel, TextInputComponent, UrlService, UrlSnapshot, VerticalFocusContainerComponent, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, DirectivesModule as ɵa, CommandDirective as ɵb, CardContainerComponent as ɵba, TableComponent as ɵbb, EditRowControls as ɵbc, ColumnTemplateDirective as ɵbd, DefaultCellRendererComponent as ɵbe, TableCellRendererComponent as ɵbf, SelectCellRendererComponent as ɵbg, SelectHeaderCellRendererComponent as ɵbh, DefaultHeaderCellRendererComponent as ɵbi, TableHeaderCellRendererComponent as ɵbj, InteractionModule as ɵbk, ActivityContainerComponent as ɵbl, AbstractInteractionContext as ɵbm, ActivityOutletComponent as ɵbn, ConfirmationDialogComponent as ɵbo, ACTIVITY_DATA as ɵbp, Activity as ɵbq, ConfirmThenDialogComponent as ɵbs, AlertDialogComponent as ɵbt, InPlaceInteractionContextComponent as ɵbv, InteractionService as ɵbw, ModalInteractionContextFactory as ɵbx, AddItemInteractionContextComponent as ɵby,
|
|
6123
|
+
export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractInputActivity, AbstractInputComponent, AbstractInteractionContext, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, Activity, ActivityActionsComponent, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, AddItemInteractionContextComponent, AlertDialogComponent, AngularUiPowerupsModule, Bounds, BusyOverlayComponent, CardContainerComponent, CheckboxInputComponent, ColumnModel, ColumnTemplateDirective, CommandDirective, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EditRowControls, EditorControlColumnModel, EmptyStateComponent, EventCleanUpSession, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, Formatter, InPlaceInteractionContextComponent, InteractionContextTriggerFor, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, LEFT_RIGHT_PLACE_ANIMATION, ListPlaceNavComponent, ModalInteractionContextFactory, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NumberInputComponent, ParameterDefinition, PasswordInputComponent, Place, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupInteractionContextComponent, PropertyColumnModel, ROUTE_PARAMETER_LIST_KEY, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, ScrollContainerComponent, SelectCellRendererComponent, SelectHeaderCellRendererComponent, SelectInputComponent, SelectionColumnModel, SidePlaceNavigationComponent, StringInputActivity, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableCellRendererComponent, TableComponent, TableHeaderCellRendererComponent, TableModel, TextInputComponent, UrlService, UrlSnapshot, VerticalFocusContainerComponent, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, DirectivesModule as ɵa, CommandDirective as ɵb, CardContainerComponent as ɵba, TableComponent as ɵbb, EditRowControls as ɵbc, ColumnTemplateDirective as ɵbd, DefaultCellRendererComponent as ɵbe, TableCellRendererComponent as ɵbf, SelectCellRendererComponent as ɵbg, SelectHeaderCellRendererComponent as ɵbh, DefaultHeaderCellRendererComponent as ɵbi, TableHeaderCellRendererComponent as ɵbj, InteractionModule as ɵbk, ActivityContainerComponent as ɵbl, AbstractInteractionContext as ɵbm, ActivityOutletComponent as ɵbn, ConfirmationDialogComponent as ɵbo, ACTIVITY_DATA as ɵbp, Activity as ɵbq, ConfirmThenDialogComponent as ɵbs, AlertDialogComponent as ɵbt, InPlaceInteractionContextComponent as ɵbv, InteractionService as ɵbw, ModalInteractionContextFactory as ɵbx, AddItemInteractionContextComponent as ɵby, ActivityActionsComponent as ɵbz, FocusBindingDirective as ɵc, DisposableComponent as ɵca, PopupInteractionContextComponent as ɵcb, InteractionContextTriggerFor as ɵcc, PlaceModule as ɵcd, EmptyStateComponent as ɵce, BusyOverlayComponent as ɵcf, PlaceOutletComponent as ɵcg, leftRightPlaceAnimation as ɵch, LEFT_RIGHT_PLACE_ANIMATION as ɵci, AUP_PLACE_CONFIG as ɵcj, PlaceRouter as ɵcl, UrlService as ɵcm, PlaceHistory as ɵcn, TabbedPlaceNavigationComponent as ɵco, AbstractPlaceNavigationComponent as ɵcp, ListPlaceNavComponent as ɵcq, SidePlaceNavigationComponent as ɵcr, DisposableComponent as ɵd, FocusBindingFactory as ɵe, ComponentsModule as ɵf, AbstractInputComponent as ɵg, AbstractInputActivity as ɵh, Activity as ɵi, ACTIVITY_DATA as ɵj, NumberInputComponent as ɵk, StringInputComponent as ɵl, StringInputActivity as ɵm, TextInputComponent as ɵn, PasswordInputComponent as ɵo, SelectInputComponent as ɵp, CheckboxInputComponent as ɵq, ScrollContainerComponent as ɵr, NoopComponent as ɵs, SwitchCaseOption as ɵt, SwitchCaseWhenDirective as ɵu, SwitchCaseDefaultDirective as ɵv, SwitchCaseComponent as ɵw, FocusContainerComponent as ɵx, VerticalFocusContainerComponent as ɵy, FocusableComponent as ɵz };
|
|
6124
6124
|
//# sourceMappingURL=coolon-angular-ui-powerups.js.map
|