@coolon/angular-ui-powerups 2.0.0-alpha.35 → 2.0.0-alpha.36
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 +7 -0
- package/bundles/coolon-angular-ui-powerups.umd.js +774 -286
- package/bundles/coolon-angular-ui-powerups.umd.js.map +1 -1
- package/bundles/coolon-angular-ui-powerups.umd.min.js +2 -2
- package/bundles/coolon-angular-ui-powerups.umd.min.js.map +1 -1
- package/coolon-angular-ui-powerups.d.ts +45 -42
- package/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/coolon-angular-ui-powerups.js +43 -40
- package/esm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/esm2015/coolon-angular-ui-powerups.metadata.json +1 -1
- package/esm2015/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
- package/esm2015/lib/components/commands/command/command.component.js +48 -0
- package/esm2015/lib/components/commands/command/command.component.js.map +1 -0
- package/esm2015/lib/components/commands/command/command.component.metadata.json +1 -0
- package/esm2015/lib/components/commands/command/command.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/commands/command-face/command-face.component.js +12 -18
- package/esm2015/lib/components/commands/command-face/command-face.component.js.map +1 -1
- package/esm2015/lib/components/commands/command-face/command-face.component.metadata.json +1 -1
- package/esm2015/lib/components/commands/command-face.js +39 -5
- package/esm2015/lib/components/commands/command-face.js.map +1 -1
- package/esm2015/lib/components/commands/flex.component.js +30 -0
- package/esm2015/lib/components/commands/flex.component.js.map +1 -0
- package/esm2015/lib/components/commands/flex.component.metadata.json +1 -0
- package/esm2015/lib/components/commands/flex.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/commands/group/command-group/command-group.component.js +47 -0
- package/esm2015/lib/components/commands/group/command-group/command-group.component.js.map +1 -0
- package/esm2015/lib/components/commands/group/command-group/command-group.component.metadata.json +1 -0
- package/esm2015/lib/components/commands/group/command-group/command-group.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.js +55 -0
- package/esm2015/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.js.map +1 -0
- package/esm2015/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.metadata.json +1 -0
- package/esm2015/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.js +39 -0
- package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.js.map +1 -0
- package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.metadata.json +1 -0
- package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/commands/group/command-group-renderer/command-group-renderer.component.scss.shim.ngstyle.js.map +1 -0
- package/esm2015/lib/components/commands/group/command-group.js +112 -0
- package/esm2015/lib/components/commands/group/command-group.js.map +1 -0
- package/esm2015/lib/components/commands/group/command-group.metadata.json +1 -0
- package/esm2015/lib/components/commands/group/more-menu.component.js +55 -0
- package/esm2015/lib/components/commands/group/more-menu.component.js.map +1 -0
- package/esm2015/lib/components/commands/group/more-menu.component.metadata.json +1 -0
- package/esm2015/lib/components/commands/group/more-menu.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/commands/group/popup-menu.component.js +65 -0
- package/esm2015/lib/components/commands/group/popup-menu.component.js.map +1 -0
- package/esm2015/lib/components/commands/group/popup-menu.component.metadata.json +1 -0
- package/esm2015/lib/components/commands/group/popup-menu.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/commands/group/registration.js +58 -0
- package/esm2015/lib/components/commands/group/registration.js.map +1 -0
- package/esm2015/lib/components/commands/group/registration.metadata.json +1 -0
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.js +55 -0
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.js.map +1 -0
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.metadata.json +1 -0
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/commands/group/tool-bar/tool-bar.component.scss.shim.ngstyle.js.map +1 -0
- package/esm2015/lib/components/commands/group/view-data.js +104 -0
- package/esm2015/lib/components/commands/group/view-data.js.map +1 -0
- package/esm2015/lib/components/commands/group/view-data.metadata.json +1 -0
- package/esm2015/lib/components/commands/separator.component.js +35 -0
- package/esm2015/lib/components/commands/separator.component.js.map +1 -0
- package/esm2015/lib/components/commands/separator.component.metadata.json +1 -0
- package/esm2015/lib/components/commands/separator.component.ngfactory.js.map +1 -0
- package/esm2015/lib/components/components.module.js +25 -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/index.js +13 -7
- package/esm2015/lib/components/index.js.map +1 -1
- package/esm2015/lib/components/index.metadata.json +1 -1
- package/esm2015/lib/components/table/table-model.js +4 -2
- package/esm2015/lib/components/table/table-model.js.map +1 -1
- package/esm2015/lib/components/table/table-row-menu/table-row-menu.component.js +12 -21
- package/esm2015/lib/components/table/table-row-menu/table-row-menu.component.js.map +1 -1
- package/esm2015/lib/components/table/table-row-menu/table-row-menu.component.metadata.json +1 -1
- package/esm2015/lib/components/track-by.js +5 -0
- package/esm2015/lib/components/track-by.js.map +1 -0
- package/esm2015/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js +1 -1
- package/esm2015/lib/place/components/side-place-navigation/side-place-navigation.component.js.map +1 -1
- package/esm2015/lib/place/place.module.ngfactory.js.map +1 -1
- package/esm5/coolon-angular-ui-powerups.js +43 -40
- package/esm5/coolon-angular-ui-powerups.js.map +1 -1
- package/esm5/lib/angular-ui-powerups.module.ngfactory.js.map +1 -1
- package/esm5/lib/components/commands/command/command.component.js +51 -0
- package/esm5/lib/components/commands/command/command.component.js.map +1 -0
- package/esm5/lib/components/commands/command/command.component.ngfactory.js.map +1 -0
- package/esm5/lib/components/commands/command-face/command-face.component.js +12 -18
- package/esm5/lib/components/commands/command-face/command-face.component.js.map +1 -1
- package/esm5/lib/components/commands/command-face.js +43 -5
- package/esm5/lib/components/commands/command-face.js.map +1 -1
- package/esm5/lib/components/commands/flex.component.js +33 -0
- package/esm5/lib/components/commands/flex.component.js.map +1 -0
- package/esm5/lib/components/commands/flex.component.ngfactory.js.map +1 -0
- package/esm5/lib/components/commands/group/command-group/command-group.component.js +51 -0
- package/esm5/lib/components/commands/group/command-group/command-group.component.js.map +1 -0
- package/esm5/lib/components/commands/group/command-group/command-group.component.ngfactory.js.map +1 -0
- package/esm5/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.js +59 -0
- package/esm5/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.js.map +1 -0
- package/esm5/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.ngfactory.js.map +1 -0
- package/esm5/lib/components/commands/group/command-group-renderer/command-group-renderer.component.js +42 -0
- package/esm5/lib/components/commands/group/command-group-renderer/command-group-renderer.component.js.map +1 -0
- package/esm5/lib/components/commands/group/command-group-renderer/command-group-renderer.component.ngfactory.js.map +1 -0
- package/esm5/lib/components/commands/group/command-group-renderer/command-group-renderer.component.scss.shim.ngstyle.js.map +1 -0
- package/esm5/lib/components/commands/group/command-group.js +134 -0
- package/esm5/lib/components/commands/group/command-group.js.map +1 -0
- package/esm5/lib/components/commands/group/more-menu.component.js +58 -0
- package/esm5/lib/components/commands/group/more-menu.component.js.map +1 -0
- package/esm5/lib/components/commands/group/more-menu.component.ngfactory.js.map +1 -0
- package/esm5/lib/components/commands/group/popup-menu.component.js +68 -0
- package/esm5/lib/components/commands/group/popup-menu.component.js.map +1 -0
- package/esm5/lib/components/commands/group/popup-menu.component.ngfactory.js.map +1 -0
- package/esm5/lib/components/commands/group/registration.js +80 -0
- package/esm5/lib/components/commands/group/registration.js.map +1 -0
- package/esm5/lib/components/commands/group/tool-bar/tool-bar.component.js +58 -0
- package/esm5/lib/components/commands/group/tool-bar/tool-bar.component.js.map +1 -0
- package/esm5/lib/components/commands/group/tool-bar/tool-bar.component.ngfactory.js.map +1 -0
- package/esm5/lib/components/commands/group/tool-bar/tool-bar.component.scss.shim.ngstyle.js.map +1 -0
- package/esm5/lib/components/commands/group/view-data.js +131 -0
- package/esm5/lib/components/commands/group/view-data.js.map +1 -0
- package/esm5/lib/components/commands/separator.component.js +37 -0
- package/esm5/lib/components/commands/separator.component.js.map +1 -0
- package/esm5/lib/components/commands/separator.component.ngfactory.js.map +1 -0
- package/esm5/lib/components/components.module.js +25 -29
- package/esm5/lib/components/components.module.js.map +1 -1
- package/esm5/lib/components/components.module.ngfactory.js.map +1 -1
- package/esm5/lib/components/index.js +13 -7
- package/esm5/lib/components/index.js.map +1 -1
- package/esm5/lib/components/table/table-model.js +4 -2
- package/esm5/lib/components/table/table-model.js.map +1 -1
- package/esm5/lib/components/table/table-row-menu/table-row-menu.component.js +5 -8
- package/esm5/lib/components/table/table-row-menu/table-row-menu.component.js.map +1 -1
- package/esm5/lib/components/track-by.js +5 -0
- package/esm5/lib/components/track-by.js.map +1 -0
- package/esm5/lib/interaction/interaction.module.ngfactory.js.map +1 -1
- package/esm5/lib/place/components/side-place-navigation/side-place-navigation.component.js +1 -1
- package/esm5/lib/place/components/side-place-navigation/side-place-navigation.component.js.map +1 -1
- package/esm5/lib/place/place.module.ngfactory.js.map +1 -1
- package/fesm2015/coolon-angular-ui-powerups.js +627 -255
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +713 -229
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/commands/command/command.component.d.ts +18 -0
- package/lib/components/commands/command-face/command-face.component.d.ts +3 -5
- package/lib/components/commands/command-face.d.ts +17 -2
- package/lib/components/commands/flex.component.d.ts +11 -0
- package/lib/components/commands/group/command-group/command-group.component.d.ts +11 -0
- package/lib/components/commands/group/command-group-menu-renderer/command-group-menu-renderer.component.d.ts +21 -0
- package/lib/components/commands/group/command-group-renderer/command-group-renderer.component.d.ts +13 -0
- package/lib/components/commands/group/command-group.d.ts +44 -0
- package/lib/components/commands/group/more-menu.component.d.ts +14 -0
- package/lib/components/commands/group/popup-menu.component.d.ts +17 -0
- package/lib/components/commands/group/registration.d.ts +32 -0
- package/lib/components/commands/group/tool-bar/tool-bar.component.d.ts +13 -0
- package/lib/components/commands/group/view-data.d.ts +40 -0
- package/lib/components/commands/separator.component.d.ts +12 -0
- package/lib/components/index.d.ts +13 -7
- package/lib/components/table/table-model.d.ts +1 -1
- package/lib/components/table/table-row-menu/table-row-menu.component.d.ts +2 -1
- package/lib/components/track-by.d.ts +3 -0
- package/lib/place/components/side-place-navigation/side-place-navigation.component.d.ts +1 -1
- package/package.json +1 -1
- package/esm2015/lib/components/commands/command-bar.component.js +0 -51
- package/esm2015/lib/components/commands/command-bar.component.js.map +0 -1
- package/esm2015/lib/components/commands/command-bar.component.metadata.json +0 -1
- package/esm2015/lib/components/commands/command-bar.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/commands/command-container.js +0 -20
- package/esm2015/lib/components/commands/command-container.js.map +0 -1
- package/esm2015/lib/components/commands/command-container.metadata.json +0 -1
- package/esm2015/lib/components/commands/command.component.js +0 -38
- package/esm2015/lib/components/commands/command.component.js.map +0 -1
- package/esm2015/lib/components/commands/command.component.metadata.json +0 -1
- package/esm2015/lib/components/commands/command.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/commands/popup-menu/abstract-popup-menu.component.js +0 -57
- package/esm2015/lib/components/commands/popup-menu/abstract-popup-menu.component.js.map +0 -1
- package/esm2015/lib/components/commands/popup-menu/abstract-popup-menu.component.metadata.json +0 -1
- package/esm2015/lib/components/commands/popup-menu/abstract-popup-menu.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/commands/popup-menu/more-menu.component.js +0 -40
- package/esm2015/lib/components/commands/popup-menu/more-menu.component.js.map +0 -1
- package/esm2015/lib/components/commands/popup-menu/more-menu.component.metadata.json +0 -1
- package/esm2015/lib/components/commands/popup-menu/more-menu.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/commands/popup-menu/popup-menu.component.js +0 -49
- package/esm2015/lib/components/commands/popup-menu/popup-menu.component.js.map +0 -1
- package/esm2015/lib/components/commands/popup-menu/popup-menu.component.metadata.json +0 -1
- package/esm2015/lib/components/commands/popup-menu/popup-menu.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/commands/popup-menu-renderer/popup-menu-renderer.component.js +0 -62
- package/esm2015/lib/components/commands/popup-menu-renderer/popup-menu-renderer.component.js.map +0 -1
- package/esm2015/lib/components/commands/popup-menu-renderer/popup-menu-renderer.component.metadata.json +0 -1
- package/esm2015/lib/components/commands/popup-menu-renderer/popup-menu-renderer.component.ngfactory.js.map +0 -1
- package/esm2015/lib/components/commands/popup-menu-renderer/popup-menu-renderer.component.scss.shim.ngstyle.js.map +0 -1
- package/esm5/lib/components/commands/command-bar.component.js +0 -31
- package/esm5/lib/components/commands/command-bar.component.js.map +0 -1
- package/esm5/lib/components/commands/command-bar.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/commands/command-container.js +0 -30
- package/esm5/lib/components/commands/command-container.js.map +0 -1
- package/esm5/lib/components/commands/command.component.js +0 -41
- package/esm5/lib/components/commands/command.component.js.map +0 -1
- package/esm5/lib/components/commands/command.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/commands/popup-menu/abstract-popup-menu.component.js +0 -64
- package/esm5/lib/components/commands/popup-menu/abstract-popup-menu.component.js.map +0 -1
- package/esm5/lib/components/commands/popup-menu/abstract-popup-menu.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/commands/popup-menu/more-menu.component.js +0 -35
- package/esm5/lib/components/commands/popup-menu/more-menu.component.js.map +0 -1
- package/esm5/lib/components/commands/popup-menu/more-menu.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/commands/popup-menu/popup-menu.component.js +0 -45
- package/esm5/lib/components/commands/popup-menu/popup-menu.component.js.map +0 -1
- package/esm5/lib/components/commands/popup-menu/popup-menu.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/commands/popup-menu-renderer/popup-menu-renderer.component.js +0 -66
- package/esm5/lib/components/commands/popup-menu-renderer/popup-menu-renderer.component.js.map +0 -1
- package/esm5/lib/components/commands/popup-menu-renderer/popup-menu-renderer.component.ngfactory.js.map +0 -1
- package/esm5/lib/components/commands/popup-menu-renderer/popup-menu-renderer.component.scss.shim.ngstyle.js.map +0 -1
- package/lib/components/commands/command-bar.component.d.ts +0 -10
- package/lib/components/commands/command-container.d.ts +0 -15
- package/lib/components/commands/command.component.d.ts +0 -15
- package/lib/components/commands/popup-menu/abstract-popup-menu.component.d.ts +0 -18
- package/lib/components/commands/popup-menu/more-menu.component.d.ts +0 -9
- package/lib/components/commands/popup-menu/popup-menu.component.d.ts +0 -14
- package/lib/components/commands/popup-menu-renderer/popup-menu-renderer.component.d.ts +0 -21
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __extends, __decorate, __metadata, __param, __assign, __awaiter, __generator, __spread } from 'tslib';
|
|
2
2
|
import { DOCUMENT, CommonModule, Location } from '@angular/common';
|
|
3
|
-
import { ElementRef, Inject, Input, HostListener, Directive, NgZone, ɵɵdefineInjectable, ɵɵinject, Injectable, NgModule, ContentChild, TemplateRef, Component,
|
|
3
|
+
import { ElementRef, Inject, Input, HostListener, Directive, NgZone, ɵɵdefineInjectable, ɵɵinject, Injectable, NgModule, ContentChild, TemplateRef, Component, EventEmitter, Optional, SkipSelf, ViewChild, Output, ViewChildren, QueryList, HostBinding, ViewEncapsulation, Self, ChangeDetectorRef, ContentChildren, ViewContainerRef, InjectionToken, Injector, ComponentFactoryResolver } from '@angular/core';
|
|
4
4
|
import { FormsModule } from '@angular/forms';
|
|
5
5
|
import { MatFormFieldModule } from '@angular/material/form-field';
|
|
6
6
|
import { MatInputModule } from '@angular/material/input';
|
|
@@ -12,13 +12,14 @@ import { CdkScrollableModule } from '@angular/cdk/scrolling';
|
|
|
12
12
|
import { MatAutocompleteModule } from '@angular/material/autocomplete';
|
|
13
13
|
import { MatButtonModule } from '@angular/material/button';
|
|
14
14
|
import { MatCheckboxModule } from '@angular/material/checkbox';
|
|
15
|
+
import { MatDividerModule } from '@angular/material/divider';
|
|
15
16
|
import { MatIconModule } from '@angular/material/icon';
|
|
16
|
-
import { MatMenu, MatMenuTrigger,
|
|
17
|
+
import { MatMenu, MatMenuTrigger, MatMenuModule } from '@angular/material/menu';
|
|
17
18
|
import { MatTableModule } from '@angular/material/table';
|
|
18
19
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
19
20
|
import { FaIconLibrary, FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
|
20
21
|
import { fas } from '@fortawesome/free-solid-svg-icons';
|
|
21
|
-
import { DelegatingValueModel, assert, UnaryCommand, lang, Dsl, GarbageCollector, Logger, TrackExternal, Command,
|
|
22
|
+
import { DelegatingValueModel, assert, UnaryCommand, lang, Dsl, GarbageCollector, Logger, TrackExternal, Command, MutableValueModel, StoreInValueModel, ValueModel, MutableListModel, Trace, FocusManager, EventListenerList, Form, Guard, Binding, DebugContext, ListModel, StoreInListModel, MultipleSelectionModel, DirtyTrackingForm, DelegatingCommand, Deferred, Functions } from '@coolon/pectin';
|
|
22
23
|
import { Memoize } from '@typescript-plus/fast-memoize-decorator/dist/src';
|
|
23
24
|
import ___default, { isEqual, isNil } from 'lodash';
|
|
24
25
|
import { Enum } from 'typescript-string-enums';
|
|
@@ -416,6 +417,11 @@ var CardContainerComponent = /** @class */ (function (_super) {
|
|
|
416
417
|
return CardContainerComponent;
|
|
417
418
|
}(DisposableComponent));
|
|
418
419
|
|
|
420
|
+
var TrackBy;
|
|
421
|
+
(function (TrackBy) {
|
|
422
|
+
TrackBy.byIndex = function (data, index) { return index; };
|
|
423
|
+
})(TrackBy || (TrackBy = {}));
|
|
424
|
+
|
|
419
425
|
var CommandFace;
|
|
420
426
|
(function (CommandFace) {
|
|
421
427
|
var Position;
|
|
@@ -423,6 +429,31 @@ var CommandFace;
|
|
|
423
429
|
Position["START"] = "start";
|
|
424
430
|
Position["END"] = "end";
|
|
425
431
|
})(Position = CommandFace.Position || (CommandFace.Position = {}));
|
|
432
|
+
CommandFace.Style = Enum({
|
|
433
|
+
FLAT: 'flat',
|
|
434
|
+
STROKED: 'stroked',
|
|
435
|
+
RAISED: 'raised'
|
|
436
|
+
});
|
|
437
|
+
function getColorOf(face) {
|
|
438
|
+
return ___default.isFunction(face === null || face === void 0 ? void 0 : face.color) ? face.color() : undefined;
|
|
439
|
+
}
|
|
440
|
+
CommandFace.getColorOf = getColorOf;
|
|
441
|
+
function getStyleOf(face) {
|
|
442
|
+
return ___default.isFunction(face === null || face === void 0 ? void 0 : face.style) ? face.style() : undefined;
|
|
443
|
+
}
|
|
444
|
+
CommandFace.getStyleOf = getStyleOf;
|
|
445
|
+
function getIconOf(face) {
|
|
446
|
+
return ___default.isFunction(face === null || face === void 0 ? void 0 : face.icon) ? face.icon() : undefined;
|
|
447
|
+
}
|
|
448
|
+
CommandFace.getIconOf = getIconOf;
|
|
449
|
+
function getTooltipOf(face) {
|
|
450
|
+
return ___default.isFunction(face === null || face === void 0 ? void 0 : face.tooltip) ? face.tooltip() : undefined;
|
|
451
|
+
}
|
|
452
|
+
CommandFace.getTooltipOf = getTooltipOf;
|
|
453
|
+
function getTextOf(face) {
|
|
454
|
+
return ___default.isFunction(face === null || face === void 0 ? void 0 : face.text) ? face.text() : undefined;
|
|
455
|
+
}
|
|
456
|
+
CommandFace.getTextOf = getTextOf;
|
|
426
457
|
var Adapter = /** @class */ (function () {
|
|
427
458
|
function Adapter(face) {
|
|
428
459
|
this.face = face;
|
|
@@ -436,7 +467,7 @@ var CommandFace;
|
|
|
436
467
|
});
|
|
437
468
|
Object.defineProperty(Adapter.prototype, "icon", {
|
|
438
469
|
get: function () {
|
|
439
|
-
return
|
|
470
|
+
return CommandFace.getIconOf(this.face);
|
|
440
471
|
},
|
|
441
472
|
enumerable: true,
|
|
442
473
|
configurable: true
|
|
@@ -469,9 +500,16 @@ var CommandFace;
|
|
|
469
500
|
enumerable: true,
|
|
470
501
|
configurable: true
|
|
471
502
|
});
|
|
472
|
-
Object.defineProperty(Adapter.prototype, "
|
|
503
|
+
Object.defineProperty(Adapter.prototype, "color", {
|
|
504
|
+
get: function () {
|
|
505
|
+
return CommandFace.getColorOf(this.face);
|
|
506
|
+
},
|
|
507
|
+
enumerable: true,
|
|
508
|
+
configurable: true
|
|
509
|
+
});
|
|
510
|
+
Object.defineProperty(Adapter.prototype, "style", {
|
|
473
511
|
get: function () {
|
|
474
|
-
return
|
|
512
|
+
return CommandFace.getStyleOf(this.face);
|
|
475
513
|
},
|
|
476
514
|
enumerable: true,
|
|
477
515
|
configurable: true
|
|
@@ -508,66 +546,479 @@ var CommandFace;
|
|
|
508
546
|
], Adapter.prototype, "iconPositionEnd", null);
|
|
509
547
|
__decorate([
|
|
510
548
|
Memoize(),
|
|
511
|
-
__metadata("design:type",
|
|
549
|
+
__metadata("design:type", String),
|
|
550
|
+
__metadata("design:paramtypes", [])
|
|
551
|
+
], Adapter.prototype, "color", null);
|
|
552
|
+
__decorate([
|
|
553
|
+
Memoize(),
|
|
554
|
+
__metadata("design:type", String),
|
|
512
555
|
__metadata("design:paramtypes", [])
|
|
513
|
-
], Adapter.prototype, "
|
|
556
|
+
], Adapter.prototype, "style", null);
|
|
514
557
|
return Adapter;
|
|
515
558
|
}());
|
|
516
559
|
CommandFace.Adapter = Adapter;
|
|
517
560
|
})(CommandFace || (CommandFace = {}));
|
|
518
561
|
|
|
519
|
-
var
|
|
520
|
-
|
|
521
|
-
|
|
562
|
+
var ViewData = /** @class */ (function () {
|
|
563
|
+
function ViewData() {
|
|
564
|
+
}
|
|
565
|
+
return ViewData;
|
|
566
|
+
}());
|
|
567
|
+
(function (ViewData) {
|
|
568
|
+
var FaceData = /** @class */ (function (_super) {
|
|
569
|
+
__extends(FaceData, _super);
|
|
570
|
+
function FaceData(face) {
|
|
571
|
+
var _this = _super.call(this) || this;
|
|
572
|
+
_this.faceAdapter = new CommandFace.Adapter(face);
|
|
573
|
+
return _this;
|
|
574
|
+
}
|
|
575
|
+
return FaceData;
|
|
576
|
+
}(ViewData));
|
|
577
|
+
ViewData.FaceData = FaceData;
|
|
578
|
+
var GroupData = /** @class */ (function (_super) {
|
|
579
|
+
__extends(GroupData, _super);
|
|
580
|
+
function GroupData(face, xPosition, yPosition, children) {
|
|
581
|
+
var _this = _super.call(this, face) || this;
|
|
582
|
+
_this.xPosition = xPosition;
|
|
583
|
+
_this.yPosition = yPosition;
|
|
584
|
+
_this.children = children;
|
|
585
|
+
return _this;
|
|
586
|
+
}
|
|
587
|
+
Object.defineProperty(GroupData.prototype, "hasMixedIcons", {
|
|
588
|
+
get: function () {
|
|
589
|
+
var hasFaces = this.children.filter(function (c) { return ViewData.hasFace(c); });
|
|
590
|
+
var iconCount = hasFaces.filter(function (c) { return !!c.faceAdapter.icon; }).length;
|
|
591
|
+
return iconCount > 0 && hasFaces.length !== iconCount;
|
|
592
|
+
},
|
|
593
|
+
enumerable: true,
|
|
594
|
+
configurable: true
|
|
595
|
+
});
|
|
596
|
+
__decorate([
|
|
597
|
+
Memoize(),
|
|
598
|
+
__metadata("design:type", Boolean),
|
|
599
|
+
__metadata("design:paramtypes", [])
|
|
600
|
+
], GroupData.prototype, "hasMixedIcons", null);
|
|
601
|
+
return GroupData;
|
|
602
|
+
}(FaceData));
|
|
603
|
+
ViewData.GroupData = GroupData;
|
|
604
|
+
var CommandData = /** @class */ (function (_super) {
|
|
605
|
+
__extends(CommandData, _super);
|
|
606
|
+
function CommandData(face, command) {
|
|
607
|
+
var _this = _super.call(this, face) || this;
|
|
608
|
+
_this.command = command;
|
|
609
|
+
return _this;
|
|
610
|
+
}
|
|
611
|
+
return CommandData;
|
|
612
|
+
}(FaceData));
|
|
613
|
+
ViewData.CommandData = CommandData;
|
|
614
|
+
var SeparatorData = /** @class */ (function (_super) {
|
|
615
|
+
__extends(SeparatorData, _super);
|
|
616
|
+
function SeparatorData() {
|
|
617
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
618
|
+
}
|
|
619
|
+
return SeparatorData;
|
|
620
|
+
}(ViewData));
|
|
621
|
+
ViewData.SeparatorData = SeparatorData;
|
|
622
|
+
var FlexData = /** @class */ (function (_super) {
|
|
623
|
+
__extends(FlexData, _super);
|
|
624
|
+
function FlexData() {
|
|
625
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
626
|
+
}
|
|
627
|
+
return FlexData;
|
|
628
|
+
}(ViewData));
|
|
629
|
+
ViewData.FlexData = FlexData;
|
|
630
|
+
function as(type, viewData) {
|
|
631
|
+
return viewData instanceof type ? viewData : lang.illegalState("expected instance of " + type.name + ", got " + viewData.constructor.name);
|
|
632
|
+
}
|
|
633
|
+
ViewData.as = as;
|
|
634
|
+
function getCommand(data) {
|
|
635
|
+
return as(CommandData, data).command;
|
|
636
|
+
}
|
|
637
|
+
ViewData.getCommand = getCommand;
|
|
638
|
+
function getTooltip(data) {
|
|
639
|
+
return as(FaceData, data).faceAdapter.tooltip;
|
|
640
|
+
}
|
|
641
|
+
ViewData.getTooltip = getTooltip;
|
|
642
|
+
function getStyle(data) {
|
|
643
|
+
return as(FaceData, data).faceAdapter.style;
|
|
644
|
+
}
|
|
645
|
+
ViewData.getStyle = getStyle;
|
|
646
|
+
function getColor(data) {
|
|
647
|
+
return as(FaceData, data).faceAdapter.color;
|
|
648
|
+
}
|
|
649
|
+
ViewData.getColor = getColor;
|
|
650
|
+
function hasText(data) {
|
|
651
|
+
return !!as(FaceData, data).faceAdapter.text;
|
|
652
|
+
}
|
|
653
|
+
ViewData.hasText = hasText;
|
|
654
|
+
function getFace(data) {
|
|
655
|
+
return as(FaceData, data).faceAdapter.face;
|
|
656
|
+
}
|
|
657
|
+
ViewData.getFace = getFace;
|
|
658
|
+
function asGroup(viewData) {
|
|
659
|
+
return as(GroupData, viewData);
|
|
660
|
+
}
|
|
661
|
+
ViewData.asGroup = asGroup;
|
|
662
|
+
function hasMixedIcons(data) {
|
|
663
|
+
return as(GroupData, data).hasMixedIcons;
|
|
664
|
+
}
|
|
665
|
+
ViewData.hasMixedIcons = hasMixedIcons;
|
|
666
|
+
function isGroup(data) {
|
|
667
|
+
return data instanceof GroupData;
|
|
668
|
+
}
|
|
669
|
+
ViewData.isGroup = isGroup;
|
|
670
|
+
function hasFace(data) {
|
|
671
|
+
return data instanceof FaceData;
|
|
672
|
+
}
|
|
673
|
+
ViewData.hasFace = hasFace;
|
|
674
|
+
function isCommand(data) {
|
|
675
|
+
return data instanceof CommandData;
|
|
676
|
+
}
|
|
677
|
+
ViewData.isCommand = isCommand;
|
|
678
|
+
function isSeparator(data) {
|
|
679
|
+
return data instanceof SeparatorData;
|
|
680
|
+
}
|
|
681
|
+
ViewData.isSeparator = isSeparator;
|
|
682
|
+
function isFlex(data) {
|
|
683
|
+
return data instanceof FlexData;
|
|
684
|
+
}
|
|
685
|
+
ViewData.isFlex = isFlex;
|
|
686
|
+
})(ViewData || (ViewData = {}));
|
|
687
|
+
|
|
688
|
+
var CommandGroupMenuRendererComponent = /** @class */ (function (_super) {
|
|
689
|
+
__extends(CommandGroupMenuRendererComponent, _super);
|
|
690
|
+
function CommandGroupMenuRendererComponent(parent) {
|
|
691
|
+
var _this = _super.call(this) || this;
|
|
692
|
+
_this.parent = parent;
|
|
693
|
+
_this.groupViewDataModel = new MutableValueModel();
|
|
694
|
+
_this.commandFired = new EventEmitter();
|
|
695
|
+
_this.ViewData = ViewData;
|
|
696
|
+
_this.TrackBy = TrackBy;
|
|
697
|
+
var _a = Dsl.disposeWith(_this), chain = _a.chain, valueOf = _a.valueOf, before = _a.before, when = _a.when, after = _a.after, observe = _a.observe, switchOn = _a.switchOn;
|
|
698
|
+
_this.children = chain(_this.groupViewDataModel).pluckList('children');
|
|
699
|
+
_this.hasMixedIcons = chain(_this.groupViewDataModel).pluck('hasMixedIcons');
|
|
700
|
+
return _this;
|
|
701
|
+
}
|
|
702
|
+
CommandGroupMenuRendererComponent.prototype.getCommand = function (data) {
|
|
703
|
+
var _this = this;
|
|
704
|
+
var command = ViewData.getCommand(data);
|
|
705
|
+
var when = Dsl.disposeWith(this).when;
|
|
706
|
+
when(command.busy).becomesFalsey(function () { return _this.commandFired.emit(); });
|
|
707
|
+
return command;
|
|
708
|
+
};
|
|
709
|
+
CommandGroupMenuRendererComponent.ctorParameters = function () { return [
|
|
710
|
+
{ type: CommandGroupMenuRendererComponent, decorators: [{ type: Optional }, { type: SkipSelf }] }
|
|
711
|
+
]; };
|
|
712
|
+
__decorate([
|
|
713
|
+
ViewChild('menu', { static: true }),
|
|
714
|
+
__metadata("design:type", MatMenu)
|
|
715
|
+
], CommandGroupMenuRendererComponent.prototype, "menuComponent", void 0);
|
|
716
|
+
__decorate([
|
|
717
|
+
Input(), StoreInValueModel('groupViewDataModel'),
|
|
718
|
+
__metadata("design:type", ViewData.GroupData)
|
|
719
|
+
], CommandGroupMenuRendererComponent.prototype, "groupViewData", void 0);
|
|
720
|
+
__decorate([
|
|
721
|
+
Output(),
|
|
722
|
+
__metadata("design:type", Object)
|
|
723
|
+
], CommandGroupMenuRendererComponent.prototype, "commandFired", void 0);
|
|
724
|
+
__decorate([
|
|
725
|
+
ViewChildren(MatMenuTrigger),
|
|
726
|
+
__metadata("design:type", QueryList)
|
|
727
|
+
], CommandGroupMenuRendererComponent.prototype, "triggers", void 0);
|
|
728
|
+
CommandGroupMenuRendererComponent = __decorate([
|
|
729
|
+
Component({
|
|
730
|
+
selector: 'aup-command-group-menu',
|
|
731
|
+
template: "<mat-menu #menu [xPosition]=\"groupViewData.xPosition\" [yPosition]=\"groupViewData.yPosition\">\n <ng-container *ngFor=\"let data of children.value; trackBy: TrackBy.byIndex\" >\n <button *ngIf=\"ViewData.isCommand(data)\"\n [pectinCommand]=\"getCommand(data)\"\n [matTooltip]=\"ViewData.getTooltip(data)\"\n mat-menu-item>\n <aup-command-face [face]=\"ViewData.getFace(data)\"\n [includeMissingIconInLayout]=\"hasMixedIcons.value\"></aup-command-face>\n </button>\n\n <ng-container *ngIf=\"ViewData.isGroup(data)\">\n <button mat-menu-item\n #trigger=\"matMenuTrigger\"\n [matMenuTriggerFor]=\"innerPanel.menuComponent\"\n >\n <aup-command-face [face]=\"ViewData.getFace(data)\"\n [includeMissingIconInLayout]=\"hasMixedIcons.value\"></aup-command-face>\n </button>\n <aup-command-group-menu #innerPanel\n [groupViewData]=\"ViewData.asGroup(data)\"\n (commandFired)=\"trigger.closeMenu()\"></aup-command-group-menu>\n </ng-container>\n\n <mat-divider *ngIf=\"ViewData.isSeparator(data)\"></mat-divider>\n\n </ng-container>\n</mat-menu>\n"
|
|
732
|
+
}),
|
|
733
|
+
__param(0, Optional()), __param(0, SkipSelf()),
|
|
734
|
+
__metadata("design:paramtypes", [CommandGroupMenuRendererComponent])
|
|
735
|
+
], CommandGroupMenuRendererComponent);
|
|
736
|
+
return CommandGroupMenuRendererComponent;
|
|
737
|
+
}(DisposableComponent));
|
|
738
|
+
|
|
739
|
+
var CommandGroupRendererComponent = /** @class */ (function (_super) {
|
|
740
|
+
__extends(CommandGroupRendererComponent, _super);
|
|
741
|
+
function CommandGroupRendererComponent() {
|
|
522
742
|
var _this = _super.call(this) || this;
|
|
523
|
-
_this.
|
|
743
|
+
_this.renderRootNode = true;
|
|
744
|
+
_this.ViewData = ViewData;
|
|
745
|
+
_this.TrackBy = TrackBy;
|
|
746
|
+
var _a = Dsl.disposeWith(_this), chain = _a.chain, valueOf = _a.valueOf, before = _a.before, when = _a.when, after = _a.after, observe = _a.observe, switchOn = _a.switchOn;
|
|
747
|
+
_this.childViewDataModels = chain(_this.groupViewDataModel).pluckList('children');
|
|
524
748
|
return _this;
|
|
525
749
|
}
|
|
526
|
-
|
|
750
|
+
__decorate([
|
|
751
|
+
Input(), TrackExternal(),
|
|
752
|
+
__metadata("design:type", ValueModel)
|
|
753
|
+
], CommandGroupRendererComponent.prototype, "groupViewDataModel", void 0);
|
|
754
|
+
__decorate([
|
|
755
|
+
Input(), StoreInValueModel('groupViewDataModel'),
|
|
756
|
+
__metadata("design:type", ViewData.GroupData)
|
|
757
|
+
], CommandGroupRendererComponent.prototype, "groupViewData", void 0);
|
|
758
|
+
__decorate([
|
|
759
|
+
Input(),
|
|
760
|
+
HostBinding('class.render-root'),
|
|
761
|
+
__metadata("design:type", Object)
|
|
762
|
+
], CommandGroupRendererComponent.prototype, "renderRootNode", void 0);
|
|
763
|
+
CommandGroupRendererComponent = __decorate([
|
|
764
|
+
Component({
|
|
765
|
+
selector: 'aup-command-group-renderer',
|
|
766
|
+
template: "<ng-template #groupTemplate let-group>\n\n <ng-container *ngIf=\"ViewData.hasText(group)\" [ngSwitch]=\"ViewData.getStyle(group)\">\n <ng-container *ngSwitchCase=\"'stroked'\">\n <button #trigger=\"matMenuTrigger\"\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n [matTooltip]=\"ViewData.getTooltip(group)\"\n [color]=\"ViewData.getColor(group)\"\n mat-stroked-button>\n <aup-command-face [face]=\"ViewData.getFace(group)\"></aup-command-face>\n </button>\n <aup-command-group-menu #subMenu [groupViewData]=\"group\" (commandFired)=\"trigger.closeMenu()\"></aup-command-group-menu>\n </ng-container>\n\n <ng-container *ngSwitchCase=\"'raised'\">\n <button #trigger=\"matMenuTrigger\"\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n\n [matTooltip]=\"ViewData.getTooltip(group)\"\n [color]=\"ViewData.getColor(group)\"\n mat-raised-button>\n <aup-command-face [face]=\"ViewData.getFace(group)\"></aup-command-face>\n </button>\n <aup-command-group-menu #subMenu [groupViewData]=\"group\" (commandFired)=\"trigger.closeMenu()\"></aup-command-group-menu>\n </ng-container>\n\n <ng-container *ngSwitchDefault>\n <button #trigger=\"matMenuTrigger\"\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n [matTooltip]=\"ViewData.getTooltip(group)\"\n [color]=\"ViewData.getColor(group)\"\n mat-button>\n <aup-command-face [face]=\"ViewData.getFace(group)\"></aup-command-face>\n </button>\n <aup-command-group-menu #subMenu [groupViewData]=\"group\" (commandFired)=\"trigger.closeMenu()\"></aup-command-group-menu>\n </ng-container>\n\n </ng-container>\n\n <ng-container *ngIf=\"!ViewData.hasText(group)\">\n <button #trigger=\"matMenuTrigger\"\n mat-icon-button\n [matMenuTriggerFor]=\"subMenu.menuComponent\"\n\n [matTooltip]=\"ViewData.getTooltip(group)\"\n [color]=\"ViewData.getColor(group)\"\n >\n <aup-command-face [face]=\"ViewData.getFace(group)\"></aup-command-face>\n </button>\n <aup-command-group-menu #subMenu [groupViewData]=\"group\" (commandFired)=\"trigger.closeMenu()\"></aup-command-group-menu>\n </ng-container>\n\n</ng-template>\n\n\n<ng-template #commandTemplate let-data>\n\n <ng-container *ngIf=\"ViewData.hasText(data)\" [ngSwitch]=\"ViewData.getStyle(data)\">\n <button *ngSwitchCase=\"'raised'\"\n [pectinCommand]=\"ViewData.getCommand(data)\"\n [matTooltip]=\"ViewData.getTooltip(data)\"\n [color]=\"ViewData.getColor(data)\"\n mat-raised-button>\n <aup-command-face [face]=\"ViewData.getFace(data)\"></aup-command-face>\n </button>\n <button *ngSwitchCase=\"'stroked'\"\n [pectinCommand]=\"ViewData.getCommand(data)\"\n [matTooltip]=\"ViewData.getTooltip(data)\"\n [color]=\"ViewData.getColor(data)\"\n mat-stroked-button>\n <aup-command-face [face]=\"ViewData.getFace(data)\"></aup-command-face>\n </button>\n <button *ngSwitchDefault\n [pectinCommand]=\"ViewData.getCommand(data)\"\n [matTooltip]=\"ViewData.getTooltip(data)\"\n [color]=\"ViewData.getColor(data)\"\n mat-button>\n <aup-command-face [face]=\"ViewData.getFace(data)\"></aup-command-face>\n </button>\n </ng-container>\n\n <button *ngIf=\"!ViewData.hasText(data)\"\n [pectinCommand]=\"ViewData.getCommand(data)\"\n [matTooltip]=\"ViewData.getTooltip(data)\"\n [color]=\"ViewData.getColor(data)\"\n mat-icon-button>\n <aup-command-face [face]=\"ViewData.getFace(data)\"></aup-command-face>\n </button>\n\n</ng-template>\n\n\n<ng-template *ngIf=\"renderRootNode\"\n [ngTemplateOutlet]=\"groupTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: groupViewDataModel.value }\">\n</ng-template>\n\n<ng-container *ngIf=\"!renderRootNode\">\n <ng-container *ngFor=\"let data of this.childViewDataModels.value; trackBy: TrackBy.byIndex\">\n <ng-template *ngIf=\"ViewData.isGroup(data)\"\n [ngTemplateOutlet]=\"groupTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: data }\">\n </ng-template>\n <ng-template *ngIf=\"ViewData.isCommand(data)\"\n [ngTemplateOutlet]=\"commandTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: data }\">\n </ng-template>\n\n <mat-divider *ngIf=\"ViewData.isSeparator(data)\" [vertical]=\"true\"></mat-divider>\n </ng-container>\n\n</ng-container>\n",
|
|
767
|
+
styles: [":host{display:inline-flex;flex-direction:row;align-items:center}:host:not(.render-root) mat-divider{-ms-grid-row-align:stretch;align-self:stretch;margin:4px 0}:host:not(.render-root)>*+*{margin-left:8px}:host span.flex{flex:1}"]
|
|
768
|
+
}),
|
|
769
|
+
__metadata("design:paramtypes", [])
|
|
770
|
+
], CommandGroupRendererComponent);
|
|
771
|
+
return CommandGroupRendererComponent;
|
|
772
|
+
}(DisposableComponent));
|
|
773
|
+
|
|
774
|
+
var Registration = /** @class */ (function (_super) {
|
|
775
|
+
__extends(Registration, _super);
|
|
776
|
+
function Registration() {
|
|
777
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
778
|
+
}
|
|
779
|
+
return Registration;
|
|
780
|
+
}(GarbageCollector));
|
|
781
|
+
(function (Registration) {
|
|
782
|
+
var FaceRegistration = /** @class */ (function (_super) {
|
|
783
|
+
__extends(FaceRegistration, _super);
|
|
784
|
+
function FaceRegistration(faceModel) {
|
|
785
|
+
var _this = _super.call(this) || this;
|
|
786
|
+
_this.faceModel = faceModel;
|
|
787
|
+
return _this;
|
|
788
|
+
}
|
|
789
|
+
return FaceRegistration;
|
|
790
|
+
}(Registration));
|
|
791
|
+
Registration.FaceRegistration = FaceRegistration;
|
|
792
|
+
var CommandRegistration = /** @class */ (function (_super) {
|
|
793
|
+
__extends(CommandRegistration, _super);
|
|
794
|
+
function CommandRegistration(faceModel, command) {
|
|
795
|
+
var _this = _super.call(this, faceModel) || this;
|
|
796
|
+
_this.command = command;
|
|
797
|
+
return _this;
|
|
798
|
+
}
|
|
799
|
+
CommandRegistration.prototype.toTemplate = function () {
|
|
800
|
+
return new ViewData.CommandData(this.faceModel.value, this.command);
|
|
801
|
+
};
|
|
802
|
+
return CommandRegistration;
|
|
803
|
+
}(FaceRegistration));
|
|
804
|
+
Registration.CommandRegistration = CommandRegistration;
|
|
805
|
+
var GroupRegistration = /** @class */ (function (_super) {
|
|
806
|
+
__extends(GroupRegistration, _super);
|
|
807
|
+
function GroupRegistration(faceModel, group) {
|
|
808
|
+
var _this = _super.call(this, faceModel) || this;
|
|
809
|
+
_this.group = group;
|
|
810
|
+
return _this;
|
|
811
|
+
}
|
|
812
|
+
GroupRegistration.prototype.toTemplate = function () {
|
|
813
|
+
return new ViewData.GroupData(this.faceModel.value, this.group.xPosition, this.group.yPosition, this.group.registrations.value.map(function (r) { return r.toTemplate(); }));
|
|
814
|
+
};
|
|
815
|
+
return GroupRegistration;
|
|
816
|
+
}(FaceRegistration));
|
|
817
|
+
Registration.GroupRegistration = GroupRegistration;
|
|
818
|
+
var SeparatorRegistration = /** @class */ (function (_super) {
|
|
819
|
+
__extends(SeparatorRegistration, _super);
|
|
820
|
+
function SeparatorRegistration() {
|
|
821
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
822
|
+
_this.template = new ViewData.SeparatorData();
|
|
823
|
+
return _this;
|
|
824
|
+
}
|
|
825
|
+
SeparatorRegistration.prototype.toTemplate = function () {
|
|
826
|
+
return this.template;
|
|
827
|
+
};
|
|
828
|
+
return SeparatorRegistration;
|
|
829
|
+
}(Registration));
|
|
830
|
+
Registration.SeparatorRegistration = SeparatorRegistration;
|
|
831
|
+
var FlexRegistration = /** @class */ (function (_super) {
|
|
832
|
+
__extends(FlexRegistration, _super);
|
|
833
|
+
function FlexRegistration() {
|
|
834
|
+
var _this = _super !== null && _super.apply(this, arguments) || this;
|
|
835
|
+
_this.template = new ViewData.FlexData();
|
|
836
|
+
return _this;
|
|
837
|
+
}
|
|
838
|
+
FlexRegistration.prototype.toTemplate = function () {
|
|
839
|
+
return this.template;
|
|
840
|
+
};
|
|
841
|
+
return FlexRegistration;
|
|
842
|
+
}(Registration));
|
|
843
|
+
Registration.FlexRegistration = FlexRegistration;
|
|
844
|
+
function hasFace(entry) {
|
|
845
|
+
return entry instanceof CommandRegistration || entry instanceof GroupRegistration;
|
|
846
|
+
}
|
|
847
|
+
Registration.hasFace = hasFace;
|
|
848
|
+
})(Registration || (Registration = {}));
|
|
849
|
+
|
|
850
|
+
var CommandGroup = /** @class */ (function (_super) {
|
|
851
|
+
__extends(CommandGroup, _super);
|
|
852
|
+
function CommandGroup(parent) {
|
|
853
|
+
var _this = _super.call(this) || this;
|
|
854
|
+
_this.parent = parent;
|
|
855
|
+
_this._rootTemplate = new MutableValueModel();
|
|
856
|
+
_this._registrations = new MutableListModel();
|
|
857
|
+
_this._childFaceModels = new MutableListModel();
|
|
858
|
+
_this._faceChangeCount = new MutableValueModel(0);
|
|
859
|
+
var _a = Dsl.disposeWith(_this), chain = _a.chain, valueOf = _a.valueOf, before = _a.before, when = _a.when, after = _a.after, observe = _a.observe, switchOn = _a.switchOn;
|
|
860
|
+
var childFaces = chain(_this._childFaceModels)
|
|
861
|
+
.map(function (m) { return m.value; }, { dependsOn: _this._faceChangeCount })
|
|
862
|
+
.rejectNil();
|
|
863
|
+
var iconCount = childFaces
|
|
864
|
+
.select(function (face) { return !!CommandFace.getIconOf(face); })
|
|
865
|
+
.count();
|
|
866
|
+
_this.hasMixedIcons = valueOf.all(iconCount.isGreaterThan(0), iconCount.doesNotEqual(childFaces.length)).areTruthy();
|
|
867
|
+
_this.childTemplates = chain(_this._rootTemplate).pluckList('children');
|
|
868
|
+
_this.initialised = chain(_this._rootTemplate).isNotNil();
|
|
869
|
+
return _this;
|
|
870
|
+
}
|
|
871
|
+
CommandGroup.prototype.initialise = function () {
|
|
872
|
+
this.rebuildTemplates();
|
|
873
|
+
};
|
|
874
|
+
Object.defineProperty(CommandGroup.prototype, "rootTemplate", {
|
|
527
875
|
get: function () {
|
|
528
|
-
return this.
|
|
876
|
+
return this._rootTemplate.readonly;
|
|
529
877
|
},
|
|
530
878
|
enumerable: true,
|
|
531
879
|
configurable: true
|
|
532
880
|
});
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
881
|
+
Object.defineProperty(CommandGroup.prototype, "registrations", {
|
|
882
|
+
get: function () {
|
|
883
|
+
return this._registrations.readonly;
|
|
884
|
+
},
|
|
885
|
+
enumerable: true,
|
|
886
|
+
configurable: true
|
|
887
|
+
});
|
|
888
|
+
CommandGroup.prototype.notifyChanged = function () {
|
|
889
|
+
if (this.parent) {
|
|
890
|
+
this.parent.notifyChanged();
|
|
891
|
+
}
|
|
892
|
+
else {
|
|
893
|
+
this.rebuildTemplates();
|
|
894
|
+
}
|
|
895
|
+
};
|
|
896
|
+
CommandGroup.prototype.notifyChildFaceChanged = function (is, was) {
|
|
897
|
+
this.notifyChanged();
|
|
898
|
+
};
|
|
899
|
+
CommandGroup.prototype.rebuildTemplates = function () {
|
|
900
|
+
this._rootTemplate.value = new ViewData.GroupData(this.faceModel.value, this.xPosition, this.yPosition, this.registrations.value.map(function (r) { return r.toTemplate(); }));
|
|
901
|
+
};
|
|
902
|
+
Object.defineProperty(CommandGroup.prototype, "depth", {
|
|
903
|
+
get: function () {
|
|
904
|
+
return this.isRoot() ? 0 : this.parent.depth + 1;
|
|
905
|
+
},
|
|
906
|
+
enumerable: true,
|
|
907
|
+
configurable: true
|
|
908
|
+
});
|
|
909
|
+
CommandGroup.prototype.isRoot = function () {
|
|
910
|
+
return false;
|
|
911
|
+
};
|
|
912
|
+
CommandGroup.prototype.registerCommand = function (command, faceModel) {
|
|
913
|
+
return this.register(new Registration.CommandRegistration(faceModel, command));
|
|
914
|
+
};
|
|
915
|
+
CommandGroup.prototype.registerGroup = function (group, faceModel) {
|
|
916
|
+
return this.register(new Registration.GroupRegistration(faceModel, group));
|
|
538
917
|
};
|
|
539
|
-
|
|
540
|
-
return
|
|
918
|
+
CommandGroup.prototype.registerFlex = function (component) {
|
|
919
|
+
return this.register(new Registration.FlexRegistration());
|
|
541
920
|
};
|
|
542
|
-
|
|
921
|
+
CommandGroup.prototype.registerSeparator = function (component) {
|
|
922
|
+
return this.register(new Registration.SeparatorRegistration());
|
|
923
|
+
};
|
|
924
|
+
CommandGroup.prototype.register = function (registration) {
|
|
925
|
+
var _this = this;
|
|
926
|
+
this._registrations.push(registration);
|
|
927
|
+
if (registration instanceof Registration.FaceRegistration) {
|
|
928
|
+
this._childFaceModels.push(registration.faceModel);
|
|
929
|
+
var when = Dsl.disposeWith(registration).when;
|
|
930
|
+
when(registration.faceModel).changes(function (is, was) {
|
|
931
|
+
_this.notifyChildFaceChanged(new CommandFace.Adapter(is), new CommandFace.Adapter(was));
|
|
932
|
+
}, { asLongAs: this.initialised });
|
|
933
|
+
registration.onDispose(function () { return _this._childFaceModels.remove(registration.faceModel); });
|
|
934
|
+
}
|
|
935
|
+
registration.onDispose(function () { return _this._registrations.remove(registration); });
|
|
936
|
+
return registration;
|
|
937
|
+
};
|
|
938
|
+
return CommandGroup;
|
|
543
939
|
}(GarbageCollector));
|
|
940
|
+
(function (CommandGroup) {
|
|
941
|
+
var Root = /** @class */ (function (_super) {
|
|
942
|
+
__extends(Root, _super);
|
|
943
|
+
function Root() {
|
|
944
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
945
|
+
}
|
|
946
|
+
Root.prototype.isRoot = function () {
|
|
947
|
+
return true;
|
|
948
|
+
};
|
|
949
|
+
__decorate([
|
|
950
|
+
TrackExternal(),
|
|
951
|
+
__metadata("design:type", ValueModel)
|
|
952
|
+
], Root.prototype, "faceModel", void 0);
|
|
953
|
+
__decorate([
|
|
954
|
+
TrackExternal({ defaultValue: 'after' }),
|
|
955
|
+
__metadata("design:type", ValueModel)
|
|
956
|
+
], Root.prototype, "xPositionModel", void 0);
|
|
957
|
+
__decorate([
|
|
958
|
+
StoreInValueModel('xPositionModel'),
|
|
959
|
+
__metadata("design:type", String)
|
|
960
|
+
], Root.prototype, "xPosition", void 0);
|
|
961
|
+
__decorate([
|
|
962
|
+
TrackExternal({ defaultValue: 'below' }),
|
|
963
|
+
__metadata("design:type", ValueModel)
|
|
964
|
+
], Root.prototype, "yPositionModel", void 0);
|
|
965
|
+
__decorate([
|
|
966
|
+
StoreInValueModel('yPositionModel'),
|
|
967
|
+
__metadata("design:type", String)
|
|
968
|
+
], Root.prototype, "yPosition", void 0);
|
|
969
|
+
return Root;
|
|
970
|
+
}(CommandGroup));
|
|
971
|
+
CommandGroup.Root = Root;
|
|
972
|
+
function factory() {
|
|
973
|
+
return new Root();
|
|
974
|
+
}
|
|
975
|
+
CommandGroup.factory = factory;
|
|
976
|
+
})(CommandGroup || (CommandGroup = {}));
|
|
544
977
|
|
|
545
|
-
/**
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
var
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
978
|
+
var CommandGroupComponent = /** @class */ (function (_super) {
|
|
979
|
+
__extends(CommandGroupComponent, _super);
|
|
980
|
+
function CommandGroupComponent(parent) {
|
|
981
|
+
var _this = _super.call(this, parent) || this;
|
|
982
|
+
_this.parent = parent;
|
|
983
|
+
_this.xPosition = 'after';
|
|
984
|
+
_this.yPosition = 'below';
|
|
985
|
+
_this.parent.registerGroup(_this, _this.faceModel);
|
|
986
|
+
return _this;
|
|
552
987
|
}
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
988
|
+
CommandGroupComponent_1 = CommandGroupComponent;
|
|
989
|
+
var CommandGroupComponent_1;
|
|
990
|
+
CommandGroupComponent.ctorParameters = function () { return [
|
|
991
|
+
{ type: CommandGroup, decorators: [{ type: SkipSelf }] }
|
|
992
|
+
]; };
|
|
993
|
+
__decorate([
|
|
994
|
+
Input(), TrackExternal(),
|
|
995
|
+
__metadata("design:type", ValueModel)
|
|
996
|
+
], CommandGroupComponent.prototype, "faceModel", void 0);
|
|
997
|
+
__decorate([
|
|
998
|
+
Input(), StoreInValueModel('faceModel'),
|
|
999
|
+
__metadata("design:type", Object)
|
|
1000
|
+
], CommandGroupComponent.prototype, "face", void 0);
|
|
1001
|
+
__decorate([
|
|
1002
|
+
Input(),
|
|
1003
|
+
__metadata("design:type", String)
|
|
1004
|
+
], CommandGroupComponent.prototype, "xPosition", void 0);
|
|
1005
|
+
__decorate([
|
|
1006
|
+
Input(),
|
|
1007
|
+
__metadata("design:type", String)
|
|
1008
|
+
], CommandGroupComponent.prototype, "yPosition", void 0);
|
|
1009
|
+
CommandGroupComponent = CommandGroupComponent_1 = __decorate([
|
|
561
1010
|
Component({
|
|
562
|
-
selector: 'aup-command-
|
|
563
|
-
template:
|
|
564
|
-
providers: [
|
|
565
|
-
|
|
1011
|
+
selector: 'aup-command-group',
|
|
1012
|
+
template: '',
|
|
1013
|
+
providers: [
|
|
1014
|
+
{ provide: CommandGroup, useExisting: CommandGroupComponent_1 }
|
|
1015
|
+
]
|
|
566
1016
|
}),
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
1017
|
+
__param(0, SkipSelf()),
|
|
1018
|
+
__metadata("design:paramtypes", [CommandGroup])
|
|
1019
|
+
], CommandGroupComponent);
|
|
1020
|
+
return CommandGroupComponent;
|
|
1021
|
+
}(CommandGroup));
|
|
571
1022
|
|
|
572
1023
|
/**
|
|
573
1024
|
* Custom CSS:
|
|
@@ -581,9 +1032,8 @@ var CommandBarComponent = /** @class */ (function (_super) {
|
|
|
581
1032
|
*/
|
|
582
1033
|
var CommandFaceComponent = /** @class */ (function (_super) {
|
|
583
1034
|
__extends(CommandFaceComponent, _super);
|
|
584
|
-
function CommandFaceComponent(
|
|
1035
|
+
function CommandFaceComponent() {
|
|
585
1036
|
var _this = _super.call(this) || this;
|
|
586
|
-
_this.commandContainer = commandContainer;
|
|
587
1037
|
_this.faceModel = new MutableValueModel();
|
|
588
1038
|
_this.ignoreIcon = false;
|
|
589
1039
|
_this.ignoreText = false;
|
|
@@ -594,7 +1044,7 @@ var CommandFaceComponent = /** @class */ (function (_super) {
|
|
|
594
1044
|
_this.iconModel = faceAdapter.pluck('icon');
|
|
595
1045
|
_this.textModel = faceAdapter.pluck('text');
|
|
596
1046
|
_this.positionModel = faceAdapter.pluck('iconPosition');
|
|
597
|
-
_this.
|
|
1047
|
+
_this.colorModel = faceAdapter.pluck('color');
|
|
598
1048
|
return _this;
|
|
599
1049
|
}
|
|
600
1050
|
Object.defineProperty(CommandFaceComponent.prototype, "requiresMissingIconInLayout", {
|
|
@@ -608,8 +1058,8 @@ var CommandFaceComponent = /** @class */ (function (_super) {
|
|
|
608
1058
|
};
|
|
609
1059
|
Object.defineProperty(CommandFaceComponent.prototype, "iconPosition", {
|
|
610
1060
|
get: function () {
|
|
611
|
-
var _a
|
|
612
|
-
return (
|
|
1061
|
+
var _a;
|
|
1062
|
+
return (_a = this.positionModel.value) !== null && _a !== void 0 ? _a : CommandFace.Position.START;
|
|
613
1063
|
},
|
|
614
1064
|
enumerable: true,
|
|
615
1065
|
configurable: true
|
|
@@ -642,16 +1092,13 @@ var CommandFaceComponent = /** @class */ (function (_super) {
|
|
|
642
1092
|
enumerable: true,
|
|
643
1093
|
configurable: true
|
|
644
1094
|
});
|
|
645
|
-
Object.defineProperty(CommandFaceComponent.prototype, "
|
|
1095
|
+
Object.defineProperty(CommandFaceComponent.prototype, "color", {
|
|
646
1096
|
get: function () {
|
|
647
|
-
return this.
|
|
1097
|
+
return this.colorModel.value;
|
|
648
1098
|
},
|
|
649
1099
|
enumerable: true,
|
|
650
1100
|
configurable: true
|
|
651
1101
|
});
|
|
652
|
-
CommandFaceComponent.ctorParameters = function () { return [
|
|
653
|
-
{ type: CommandContainer, decorators: [{ type: Optional }] }
|
|
654
|
-
]; };
|
|
655
1102
|
__decorate([
|
|
656
1103
|
Input('face'), StoreInValueModel('faceModel'),
|
|
657
1104
|
__metadata("design:type", Object)
|
|
@@ -674,10 +1121,10 @@ var CommandFaceComponent = /** @class */ (function (_super) {
|
|
|
674
1121
|
__metadata("design:paramtypes", [])
|
|
675
1122
|
], CommandFaceComponent.prototype, "requiresMissingIconInLayout", null);
|
|
676
1123
|
__decorate([
|
|
677
|
-
HostBinding('
|
|
678
|
-
__metadata("design:type",
|
|
1124
|
+
HostBinding('attr.color'),
|
|
1125
|
+
__metadata("design:type", String),
|
|
679
1126
|
__metadata("design:paramtypes", [])
|
|
680
|
-
], CommandFaceComponent.prototype, "
|
|
1127
|
+
], CommandFaceComponent.prototype, "color", null);
|
|
681
1128
|
CommandFaceComponent = __decorate([
|
|
682
1129
|
Component({
|
|
683
1130
|
selector: 'aup-command-face',
|
|
@@ -685,8 +1132,7 @@ var CommandFaceComponent = /** @class */ (function (_super) {
|
|
|
685
1132
|
encapsulation: ViewEncapsulation.None,
|
|
686
1133
|
styles: ["aup-command-face{--icon-gap:var(--aup-command-face-icon-gap);display:inline-flex;flex-direction:row;align-items:center}aup-command-face *+*{margin-left:var(--icon-gap)}aup-command-face.hide-icon aup-icon{visibility:hidden}"]
|
|
687
1134
|
}),
|
|
688
|
-
|
|
689
|
-
__metadata("design:paramtypes", [CommandContainer])
|
|
1135
|
+
__metadata("design:paramtypes", [])
|
|
690
1136
|
], CommandFaceComponent);
|
|
691
1137
|
return CommandFaceComponent;
|
|
692
1138
|
}(DisposableComponent));
|
|
@@ -696,31 +1142,41 @@ var CommandFaceComponent = /** @class */ (function (_super) {
|
|
|
696
1142
|
*/
|
|
697
1143
|
var CommandComponent = /** @class */ (function (_super) {
|
|
698
1144
|
__extends(CommandComponent, _super);
|
|
699
|
-
function CommandComponent(
|
|
1145
|
+
function CommandComponent(parent) {
|
|
700
1146
|
var _this = _super.call(this) || this;
|
|
701
|
-
_this.
|
|
1147
|
+
_this.parent = parent;
|
|
1148
|
+
_this.CommandFace = CommandFace;
|
|
1149
|
+
var _a = Dsl.disposeWith(_this), chain = _a.chain, valueOf = _a.valueOf, before = _a.before, when = _a.when, after = _a.after, observe = _a.observe, switchOn = _a.switchOn;
|
|
1150
|
+
_this.buttonStyle = chain(_this.faceModel).map(function (f) { return CommandFace.getStyleOf(f); });
|
|
1151
|
+
if (parent) {
|
|
1152
|
+
_this.registerDisposable(_this.parent.registerCommand(_this.command, _this.faceModel));
|
|
1153
|
+
}
|
|
702
1154
|
return _this;
|
|
703
1155
|
}
|
|
704
1156
|
CommandComponent.prototype.ngOnInit = function () {
|
|
705
|
-
this.registerDisposable(this.commandContainer.registerCommand(this.command, this.face));
|
|
706
1157
|
};
|
|
707
1158
|
CommandComponent.ctorParameters = function () { return [
|
|
708
|
-
{ type:
|
|
1159
|
+
{ type: CommandGroup, decorators: [{ type: Optional }] }
|
|
709
1160
|
]; };
|
|
710
1161
|
__decorate([
|
|
711
1162
|
Input(), TrackExternal(),
|
|
712
1163
|
__metadata("design:type", Command)
|
|
713
1164
|
], CommandComponent.prototype, "command", void 0);
|
|
714
1165
|
__decorate([
|
|
715
|
-
Input(),
|
|
1166
|
+
Input(), TrackExternal(),
|
|
1167
|
+
__metadata("design:type", ValueModel)
|
|
1168
|
+
], CommandComponent.prototype, "faceModel", void 0);
|
|
1169
|
+
__decorate([
|
|
1170
|
+
Input(), StoreInValueModel('faceModel'),
|
|
716
1171
|
__metadata("design:type", Object)
|
|
717
1172
|
], CommandComponent.prototype, "face", void 0);
|
|
718
1173
|
CommandComponent = __decorate([
|
|
719
1174
|
Component({
|
|
720
1175
|
selector: 'aup-command',
|
|
721
|
-
template: ""
|
|
1176
|
+
template: "<ng-container *ngIf=\"!parent\">\n <ng-container [ngSwitch]=\"buttonStyle.value\">\n <button *ngSwitchCase=\"CommandFace.Style.STROKED\" mat-stroked-button [pectinCommand]=\"command\" [color]=\"CommandFace.getColorOf(face)\">\n <aup-command-face [face]=\"face\"></aup-command-face>\n </button>\n <button *ngSwitchCase=\"CommandFace.Style.RAISED\" mat-raised-button [pectinCommand]=\"command\" [color]=\"CommandFace.getColorOf(face)\">\n <aup-command-face [face]=\"face\"></aup-command-face>\n </button>\n <button *ngSwitchDefault mat-button [pectinCommand]=\"command\" [color]=\"CommandFace.getColorOf(face)\">\n <aup-command-face [face]=\"face\"></aup-command-face>\n </button>\n </ng-container>\n</ng-container>\n"
|
|
722
1177
|
}),
|
|
723
|
-
|
|
1178
|
+
__param(0, Optional()),
|
|
1179
|
+
__metadata("design:paramtypes", [CommandGroup])
|
|
724
1180
|
], CommandComponent);
|
|
725
1181
|
return CommandComponent;
|
|
726
1182
|
}(DisposableComponent));
|
|
@@ -728,188 +1184,224 @@ var CommandComponent = /** @class */ (function (_super) {
|
|
|
728
1184
|
/**
|
|
729
1185
|
*
|
|
730
1186
|
*/
|
|
731
|
-
var
|
|
732
|
-
__extends(
|
|
733
|
-
function
|
|
1187
|
+
var FlexComponent = /** @class */ (function (_super) {
|
|
1188
|
+
__extends(FlexComponent, _super);
|
|
1189
|
+
function FlexComponent(parent) {
|
|
734
1190
|
var _this = _super.call(this) || this;
|
|
735
|
-
_this.
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
var registrations = chain(_this.commandRegistrations);
|
|
740
|
-
var iconCount = registrations.select(function (r) { return !!r.faceAdapter.icon; }).count();
|
|
741
|
-
_this.hasMixedIcons = valueOf.all(iconCount.isGreaterThan(0), iconCount.doesNotEqual(registrations.length)).areTruthy();
|
|
1191
|
+
_this.parent = parent;
|
|
1192
|
+
if (parent) {
|
|
1193
|
+
parent.registerFlex(_this);
|
|
1194
|
+
}
|
|
742
1195
|
return _this;
|
|
743
1196
|
}
|
|
744
|
-
|
|
1197
|
+
FlexComponent.prototype.ngOnInit = function () {
|
|
745
1198
|
};
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
_this.commandExecuted.emit();
|
|
751
|
-
});
|
|
752
|
-
return item.command;
|
|
753
|
-
};
|
|
754
|
-
PopupMenuRendererComponent.prototype.getButtonColor = function (registration) {
|
|
755
|
-
return registration.faceAdapter.destructive ? 'warn' : undefined;
|
|
756
|
-
};
|
|
757
|
-
__decorate([
|
|
758
|
-
Input(), TrackExternal(),
|
|
759
|
-
__metadata("design:type", ListModel)
|
|
760
|
-
], PopupMenuRendererComponent.prototype, "commandRegistrations", void 0);
|
|
761
|
-
__decorate([
|
|
762
|
-
Input(),
|
|
763
|
-
__metadata("design:type", String)
|
|
764
|
-
], PopupMenuRendererComponent.prototype, "xPosition", void 0);
|
|
765
|
-
__decorate([
|
|
766
|
-
Input(),
|
|
767
|
-
__metadata("design:type", String)
|
|
768
|
-
], PopupMenuRendererComponent.prototype, "yPosition", void 0);
|
|
769
|
-
__decorate([
|
|
770
|
-
Output(),
|
|
771
|
-
__metadata("design:type", Object)
|
|
772
|
-
], PopupMenuRendererComponent.prototype, "commandExecuted", void 0);
|
|
773
|
-
__decorate([
|
|
774
|
-
ViewChild(MatMenu),
|
|
775
|
-
__metadata("design:type", MatMenu)
|
|
776
|
-
], PopupMenuRendererComponent.prototype, "matMenu", void 0);
|
|
777
|
-
PopupMenuRendererComponent = __decorate([
|
|
1199
|
+
FlexComponent.ctorParameters = function () { return [
|
|
1200
|
+
{ type: CommandGroup }
|
|
1201
|
+
]; };
|
|
1202
|
+
FlexComponent = __decorate([
|
|
778
1203
|
Component({
|
|
779
|
-
selector: 'aup-
|
|
780
|
-
template: "
|
|
781
|
-
styles: [":host{display:inline-flex;flex-direction:row;align-items:center}"]
|
|
1204
|
+
selector: 'aup-flex',
|
|
1205
|
+
template: ""
|
|
782
1206
|
}),
|
|
783
|
-
__metadata("design:paramtypes", [])
|
|
784
|
-
],
|
|
785
|
-
return
|
|
1207
|
+
__metadata("design:paramtypes", [CommandGroup])
|
|
1208
|
+
], FlexComponent);
|
|
1209
|
+
return FlexComponent;
|
|
786
1210
|
}(DisposableComponent));
|
|
787
1211
|
|
|
1212
|
+
var ɵ0 = CommandGroup.factory;
|
|
788
1213
|
/**
|
|
789
1214
|
*
|
|
790
1215
|
*/
|
|
791
|
-
var
|
|
792
|
-
__extends(
|
|
793
|
-
function
|
|
1216
|
+
var MoreMenuComponent = /** @class */ (function (_super) {
|
|
1217
|
+
__extends(MoreMenuComponent, _super);
|
|
1218
|
+
function MoreMenuComponent(group) {
|
|
794
1219
|
var _this = _super.call(this) || this;
|
|
795
|
-
_this.
|
|
796
|
-
_this.
|
|
797
|
-
_this.
|
|
1220
|
+
_this.group = group;
|
|
1221
|
+
_this.tooltipModel = new MutableValueModel();
|
|
1222
|
+
var _a = Dsl.disposeWith(_this), chain = _a.chain, valueOf = _a.valueOf, before = _a.before, when = _a.when, after = _a.after, observe = _a.observe, switchOn = _a.switchOn;
|
|
1223
|
+
group.xPosition = 'before'; // this should be the default unless overridden by the user.
|
|
1224
|
+
group.faceModel = chain(_this.tooltipModel).map(function (tooltip) {
|
|
1225
|
+
return {
|
|
1226
|
+
icon: function () { return 'mat:more_vert'; },
|
|
1227
|
+
tooltip: function () {
|
|
1228
|
+
return tooltip;
|
|
1229
|
+
}
|
|
1230
|
+
};
|
|
1231
|
+
}, { allowNil: true });
|
|
798
1232
|
return _this;
|
|
799
1233
|
}
|
|
800
|
-
|
|
801
|
-
this.cdr.detectChanges();
|
|
802
|
-
};
|
|
803
|
-
Object.defineProperty(AbstractPopupMenuComponent.prototype, "matMenuComponent", {
|
|
804
|
-
get: function () {
|
|
805
|
-
var _a;
|
|
806
|
-
return (_a = this.popupMenu) === null || _a === void 0 ? void 0 : _a.matMenu;
|
|
807
|
-
},
|
|
808
|
-
enumerable: true,
|
|
809
|
-
configurable: true
|
|
810
|
-
});
|
|
811
|
-
AbstractPopupMenuComponent.prototype.closeMenu = function () {
|
|
812
|
-
this.menuTrigger.closeMenu();
|
|
1234
|
+
MoreMenuComponent.prototype.ngOnInit = function () {
|
|
813
1235
|
};
|
|
814
|
-
|
|
815
|
-
|
|
1236
|
+
MoreMenuComponent.prototype.ngAfterContentInit = function () {
|
|
1237
|
+
this.group.initialise();
|
|
816
1238
|
};
|
|
817
|
-
|
|
818
|
-
{ type:
|
|
1239
|
+
MoreMenuComponent.ctorParameters = function () { return [
|
|
1240
|
+
{ type: CommandGroup }
|
|
819
1241
|
]; };
|
|
820
1242
|
__decorate([
|
|
821
|
-
Input(),
|
|
1243
|
+
Input(), StoreInValueModel('tooltipModel'),
|
|
822
1244
|
__metadata("design:type", String)
|
|
823
|
-
],
|
|
824
|
-
__decorate([
|
|
825
|
-
Input(),
|
|
826
|
-
__metadata("design:type", String)
|
|
827
|
-
], AbstractPopupMenuComponent.prototype, "yPosition", void 0);
|
|
828
|
-
__decorate([
|
|
829
|
-
ViewChild(PopupMenuRendererComponent),
|
|
830
|
-
__metadata("design:type", PopupMenuRendererComponent)
|
|
831
|
-
], AbstractPopupMenuComponent.prototype, "popupMenu", void 0);
|
|
1245
|
+
], MoreMenuComponent.prototype, "tooltip", void 0);
|
|
832
1246
|
__decorate([
|
|
833
|
-
|
|
834
|
-
__metadata("design:type",
|
|
835
|
-
|
|
836
|
-
|
|
1247
|
+
Trace(),
|
|
1248
|
+
__metadata("design:type", Function),
|
|
1249
|
+
__metadata("design:paramtypes", []),
|
|
1250
|
+
__metadata("design:returntype", void 0)
|
|
1251
|
+
], MoreMenuComponent.prototype, "ngAfterContentInit", null);
|
|
1252
|
+
MoreMenuComponent = __decorate([
|
|
837
1253
|
Component({
|
|
838
|
-
selector: 'aup-
|
|
839
|
-
template: ''
|
|
1254
|
+
selector: 'aup-more-menu',
|
|
1255
|
+
template: '<aup-command-group-renderer [renderRootNode]="true" [groupViewDataModel]="group.rootTemplate"></aup-command-group-renderer>',
|
|
1256
|
+
providers: [{ provide: CommandGroup, useFactory: ɵ0 }]
|
|
840
1257
|
}),
|
|
841
|
-
__metadata("design:paramtypes", [
|
|
842
|
-
],
|
|
843
|
-
return
|
|
844
|
-
}(
|
|
1258
|
+
__metadata("design:paramtypes", [CommandGroup])
|
|
1259
|
+
], MoreMenuComponent);
|
|
1260
|
+
return MoreMenuComponent;
|
|
1261
|
+
}(DisposableComponent));
|
|
845
1262
|
|
|
1263
|
+
var ɵ0$1 = CommandGroup.factory;
|
|
846
1264
|
/**
|
|
847
1265
|
*
|
|
848
1266
|
*/
|
|
849
1267
|
var PopupMenuComponent = /** @class */ (function (_super) {
|
|
850
1268
|
__extends(PopupMenuComponent, _super);
|
|
851
|
-
function PopupMenuComponent(
|
|
852
|
-
var _this = _super.call(this
|
|
853
|
-
_this.
|
|
1269
|
+
function PopupMenuComponent(group) {
|
|
1270
|
+
var _this = _super.call(this) || this;
|
|
1271
|
+
_this.group = group;
|
|
854
1272
|
var _a = Dsl.disposeWith(_this), chain = _a.chain, valueOf = _a.valueOf, before = _a.before, when = _a.when, after = _a.after, observe = _a.observe, switchOn = _a.switchOn;
|
|
855
|
-
|
|
856
|
-
_this.faceTooltipModel = faceAdapterModel.pluck('tooltip');
|
|
1273
|
+
group.faceModel = _this.faceModel;
|
|
857
1274
|
return _this;
|
|
858
1275
|
}
|
|
859
|
-
PopupMenuComponent_1 = PopupMenuComponent;
|
|
860
|
-
PopupMenuComponent.prototype.getTooltip = function () {
|
|
861
|
-
return this.faceTooltipModel.value;
|
|
862
|
-
};
|
|
863
1276
|
PopupMenuComponent.prototype.ngOnInit = function () {
|
|
864
1277
|
};
|
|
865
|
-
|
|
1278
|
+
PopupMenuComponent.prototype.ngAfterContentInit = function () {
|
|
1279
|
+
this.group.initialise();
|
|
1280
|
+
};
|
|
1281
|
+
PopupMenuComponent.prototype.ngAfterViewInit = function () {
|
|
1282
|
+
};
|
|
866
1283
|
PopupMenuComponent.ctorParameters = function () { return [
|
|
867
|
-
{ type:
|
|
1284
|
+
{ type: CommandGroup }
|
|
868
1285
|
]; };
|
|
1286
|
+
__decorate([
|
|
1287
|
+
Input(), TrackExternal(),
|
|
1288
|
+
__metadata("design:type", ValueModel)
|
|
1289
|
+
], PopupMenuComponent.prototype, "faceModel", void 0);
|
|
869
1290
|
__decorate([
|
|
870
1291
|
Input(), StoreInValueModel('faceModel'),
|
|
871
1292
|
__metadata("design:type", Object)
|
|
872
1293
|
], PopupMenuComponent.prototype, "face", void 0);
|
|
873
|
-
|
|
1294
|
+
__decorate([
|
|
1295
|
+
Trace(),
|
|
1296
|
+
__metadata("design:type", Function),
|
|
1297
|
+
__metadata("design:paramtypes", []),
|
|
1298
|
+
__metadata("design:returntype", void 0)
|
|
1299
|
+
], PopupMenuComponent.prototype, "ngOnInit", null);
|
|
1300
|
+
__decorate([
|
|
1301
|
+
Trace(),
|
|
1302
|
+
__metadata("design:type", Function),
|
|
1303
|
+
__metadata("design:paramtypes", []),
|
|
1304
|
+
__metadata("design:returntype", void 0)
|
|
1305
|
+
], PopupMenuComponent.prototype, "ngAfterContentInit", null);
|
|
1306
|
+
__decorate([
|
|
1307
|
+
Trace(),
|
|
1308
|
+
__metadata("design:type", Function),
|
|
1309
|
+
__metadata("design:paramtypes", []),
|
|
1310
|
+
__metadata("design:returntype", void 0)
|
|
1311
|
+
], PopupMenuComponent.prototype, "ngAfterViewInit", null);
|
|
1312
|
+
PopupMenuComponent = __decorate([
|
|
874
1313
|
Component({
|
|
875
1314
|
selector: 'aup-popup-menu',
|
|
876
|
-
template:
|
|
877
|
-
providers: [{ provide:
|
|
1315
|
+
template: '<aup-command-group-renderer [renderRootNode]="true" [groupViewDataModel]="group.rootTemplate"></aup-command-group-renderer>',
|
|
1316
|
+
providers: [{ provide: CommandGroup, useFactory: ɵ0$1 }]
|
|
878
1317
|
}),
|
|
879
|
-
__metadata("design:paramtypes", [
|
|
1318
|
+
__metadata("design:paramtypes", [CommandGroup])
|
|
880
1319
|
], PopupMenuComponent);
|
|
881
1320
|
return PopupMenuComponent;
|
|
882
|
-
}(
|
|
1321
|
+
}(DisposableComponent));
|
|
883
1322
|
|
|
884
1323
|
/**
|
|
885
1324
|
*
|
|
886
1325
|
*/
|
|
887
|
-
var
|
|
888
|
-
__extends(
|
|
889
|
-
function
|
|
890
|
-
var _this = _super.call(this
|
|
891
|
-
_this.
|
|
1326
|
+
var SeparatorComponent = /** @class */ (function (_super) {
|
|
1327
|
+
__extends(SeparatorComponent, _super);
|
|
1328
|
+
function SeparatorComponent(parent) {
|
|
1329
|
+
var _this = _super.call(this) || this;
|
|
1330
|
+
_this.parent = parent;
|
|
1331
|
+
if (parent) {
|
|
1332
|
+
parent.registerSeparator(_this);
|
|
1333
|
+
}
|
|
892
1334
|
return _this;
|
|
893
1335
|
}
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
1336
|
+
SeparatorComponent.prototype.isVertical = function () {
|
|
1337
|
+
return this === null || this === void 0 ? void 0 : this.parent.isRoot();
|
|
1338
|
+
};
|
|
1339
|
+
SeparatorComponent.prototype.ngOnInit = function () {
|
|
1340
|
+
};
|
|
1341
|
+
SeparatorComponent.ctorParameters = function () { return [
|
|
1342
|
+
{ type: CommandGroup, decorators: [{ type: Optional }] }
|
|
1343
|
+
]; };
|
|
1344
|
+
SeparatorComponent = __decorate([
|
|
1345
|
+
Component({
|
|
1346
|
+
selector: 'aup-separator',
|
|
1347
|
+
template: "\n <mat-divider [vertical]=\"isVertical()\"></mat-divider>"
|
|
1348
|
+
}),
|
|
1349
|
+
__param(0, Optional()),
|
|
1350
|
+
__metadata("design:paramtypes", [CommandGroup])
|
|
1351
|
+
], SeparatorComponent);
|
|
1352
|
+
return SeparatorComponent;
|
|
1353
|
+
}(DisposableComponent));
|
|
1354
|
+
|
|
1355
|
+
var ɵ0$2 = CommandGroup.factory;
|
|
1356
|
+
/**
|
|
1357
|
+
*
|
|
1358
|
+
*/
|
|
1359
|
+
var ToolBarComponent = /** @class */ (function (_super) {
|
|
1360
|
+
__extends(ToolBarComponent, _super);
|
|
1361
|
+
function ToolBarComponent(group) {
|
|
1362
|
+
var _this = _super.call(this) || this;
|
|
1363
|
+
_this.group = group;
|
|
1364
|
+
return _this;
|
|
1365
|
+
}
|
|
1366
|
+
ToolBarComponent.prototype.ngOnInit = function () {
|
|
1367
|
+
};
|
|
1368
|
+
ToolBarComponent.prototype.ngAfterContentInit = function () {
|
|
1369
|
+
this.group.initialise();
|
|
1370
|
+
};
|
|
1371
|
+
ToolBarComponent.prototype.ngAfterViewInit = function () {
|
|
1372
|
+
};
|
|
1373
|
+
ToolBarComponent.ctorParameters = function () { return [
|
|
1374
|
+
{ type: CommandGroup }
|
|
898
1375
|
]; };
|
|
899
1376
|
__decorate([
|
|
900
|
-
|
|
901
|
-
__metadata("design:type",
|
|
902
|
-
|
|
903
|
-
|
|
1377
|
+
Trace(),
|
|
1378
|
+
__metadata("design:type", Function),
|
|
1379
|
+
__metadata("design:paramtypes", []),
|
|
1380
|
+
__metadata("design:returntype", void 0)
|
|
1381
|
+
], ToolBarComponent.prototype, "ngOnInit", null);
|
|
1382
|
+
__decorate([
|
|
1383
|
+
Trace(),
|
|
1384
|
+
__metadata("design:type", Function),
|
|
1385
|
+
__metadata("design:paramtypes", []),
|
|
1386
|
+
__metadata("design:returntype", void 0)
|
|
1387
|
+
], ToolBarComponent.prototype, "ngAfterContentInit", null);
|
|
1388
|
+
__decorate([
|
|
1389
|
+
Trace(),
|
|
1390
|
+
__metadata("design:type", Function),
|
|
1391
|
+
__metadata("design:paramtypes", []),
|
|
1392
|
+
__metadata("design:returntype", void 0)
|
|
1393
|
+
], ToolBarComponent.prototype, "ngAfterViewInit", null);
|
|
1394
|
+
ToolBarComponent = __decorate([
|
|
904
1395
|
Component({
|
|
905
|
-
selector: 'aup-
|
|
906
|
-
template:
|
|
907
|
-
providers: [{ provide:
|
|
1396
|
+
selector: 'aup-tool-bar',
|
|
1397
|
+
template: '<aup-command-group-renderer [renderRootNode]="false" [groupViewDataModel]="group.rootTemplate"></aup-command-group-renderer>',
|
|
1398
|
+
providers: [{ provide: CommandGroup, useFactory: ɵ0$2 }],
|
|
1399
|
+
styles: [":host{display:inline-flex;flex-direction:row;align-items:center}:host mat-divider{-ms-grid-row-align:stretch;align-self:stretch;margin:4px 0}:host span.flex{flex:1}:host>*+*{margin-left:8px}"]
|
|
908
1400
|
}),
|
|
909
|
-
__metadata("design:paramtypes", [
|
|
910
|
-
],
|
|
911
|
-
return
|
|
912
|
-
}(
|
|
1401
|
+
__metadata("design:paramtypes", [CommandGroup])
|
|
1402
|
+
], ToolBarComponent);
|
|
1403
|
+
return ToolBarComponent;
|
|
1404
|
+
}(DisposableComponent));
|
|
913
1405
|
|
|
914
1406
|
var FocusContainerComponent = /** @class */ (function (_super) {
|
|
915
1407
|
__extends(FocusContainerComponent, _super);
|
|
@@ -2196,7 +2688,7 @@ var SelectHeaderCellRendererComponent = /** @class */ (function (_super) {
|
|
|
2196
2688
|
|
|
2197
2689
|
var noop = function () {
|
|
2198
2690
|
};
|
|
2199
|
-
var ɵ0 = noop;
|
|
2691
|
+
var ɵ0$3 = noop;
|
|
2200
2692
|
var CELL_RENDERER_COMPONENT_ROW_CACHE = Symbol("aup-cell-renderer:row-data-cache");
|
|
2201
2693
|
var ColumnModel = /** @class */ (function () {
|
|
2202
2694
|
function ColumnModel(columnId, defaults) {
|
|
@@ -2694,12 +3186,14 @@ var TableModel = /** @class */ (function () {
|
|
|
2694
3186
|
}
|
|
2695
3187
|
return column;
|
|
2696
3188
|
};
|
|
3189
|
+
// removeColumn(column: ColumnModel<Row>) {
|
|
3190
|
+
//
|
|
3191
|
+
// }
|
|
2697
3192
|
TableModel.prototype.columnTextProperties = function (columnTextProperties) {
|
|
2698
3193
|
this._columnTextPropertiesLookup = columnTextProperties;
|
|
2699
3194
|
};
|
|
2700
3195
|
TableModel.prototype.getColumnTextProperties = function (column) {
|
|
2701
|
-
|
|
2702
|
-
return factory ? factory() : undefined;
|
|
3196
|
+
return this._columnTextPropertiesLookup ? this._columnTextPropertiesLookup[column.columnId] : undefined;
|
|
2703
3197
|
};
|
|
2704
3198
|
TableModel.prototype.startEditSession = function (row) {
|
|
2705
3199
|
var _this = this;
|
|
@@ -3000,15 +3494,13 @@ var TableHeaderCellRendererComponent = /** @class */ (function () {
|
|
|
3000
3494
|
return TableHeaderCellRendererComponent;
|
|
3001
3495
|
}());
|
|
3002
3496
|
|
|
3003
|
-
var MenuItemData = /** @class */ (function (
|
|
3004
|
-
__extends(MenuItemData, _super);
|
|
3497
|
+
var MenuItemData = /** @class */ (function () {
|
|
3005
3498
|
function MenuItemData(factory, face) {
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
return _this;
|
|
3499
|
+
this.factory = factory;
|
|
3500
|
+
this.face = face;
|
|
3009
3501
|
}
|
|
3010
3502
|
return MenuItemData;
|
|
3011
|
-
}(
|
|
3503
|
+
}());
|
|
3012
3504
|
/**
|
|
3013
3505
|
*
|
|
3014
3506
|
*/
|
|
@@ -3051,7 +3543,7 @@ var TableRowMenuComponent = /** @class */ (function (_super) {
|
|
|
3051
3543
|
TableRowMenuComponent = __decorate([
|
|
3052
3544
|
Component({
|
|
3053
3545
|
selector: 'aup-table-row-menu',
|
|
3054
|
-
template: "\n
|
|
3546
|
+
template: "\n <aup-tool-bar>\n <aup-command *ngFor=\"let action of actions\" [command]=\"action.factory.create(value)\"\n [face]=\"action.faceModel\"></aup-command>\n </aup-tool-bar>\n <ng-container *ngIf=\"moreActions.length > 0\">\n <aup-more-menu>\n <aup-command *ngFor=\"let action of moreActions\" [command]=\"action.factory.create(value)\"\n [face]=\"action.faceModel\"></aup-command>\n </aup-more-menu>\n </ng-container>\n ",
|
|
3055
3547
|
styles: [":host {\n display: inline-flex;\n flex-direction: row;\n align-items: center;\n }"]
|
|
3056
3548
|
}),
|
|
3057
3549
|
__metadata("design:paramtypes", [])
|
|
@@ -3186,13 +3678,16 @@ var ComponentsModule = /** @class */ (function () {
|
|
|
3186
3678
|
IconComponent,
|
|
3187
3679
|
SectionHeaderComponent,
|
|
3188
3680
|
TableRowMenuComponent,
|
|
3189
|
-
|
|
3681
|
+
ToolBarComponent,
|
|
3190
3682
|
CommandComponent,
|
|
3191
3683
|
PopupMenuComponent,
|
|
3684
|
+
CommandGroupComponent,
|
|
3192
3685
|
CommandFaceComponent,
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3686
|
+
MoreMenuComponent,
|
|
3687
|
+
SeparatorComponent,
|
|
3688
|
+
FlexComponent,
|
|
3689
|
+
CommandGroupMenuRendererComponent,
|
|
3690
|
+
CommandGroupRendererComponent
|
|
3196
3691
|
],
|
|
3197
3692
|
imports: [
|
|
3198
3693
|
CommonModule,
|
|
@@ -3212,8 +3707,8 @@ var ComponentsModule = /** @class */ (function () {
|
|
|
3212
3707
|
FontAwesomeModule,
|
|
3213
3708
|
MatTooltipModule,
|
|
3214
3709
|
MatAutocompleteModule,
|
|
3215
|
-
|
|
3216
|
-
|
|
3710
|
+
MatMenuModule,
|
|
3711
|
+
MatDividerModule
|
|
3217
3712
|
],
|
|
3218
3713
|
exports: [
|
|
3219
3714
|
NumberInputComponent,
|
|
@@ -3239,28 +3734,17 @@ var ComponentsModule = /** @class */ (function () {
|
|
|
3239
3734
|
IconComponent,
|
|
3240
3735
|
SectionHeaderComponent,
|
|
3241
3736
|
TableRowMenuComponent,
|
|
3242
|
-
|
|
3737
|
+
CommandGroupComponent,
|
|
3738
|
+
ToolBarComponent,
|
|
3243
3739
|
CommandComponent,
|
|
3244
|
-
AbstractPopupMenuComponent,
|
|
3245
3740
|
PopupMenuComponent,
|
|
3246
3741
|
CommandFaceComponent,
|
|
3247
|
-
|
|
3248
|
-
|
|
3742
|
+
MoreMenuComponent,
|
|
3743
|
+
SeparatorComponent,
|
|
3744
|
+
FlexComponent
|
|
3249
3745
|
],
|
|
3250
3746
|
providers: [
|
|
3251
3747
|
FocusBindingFactory
|
|
3252
|
-
// {
|
|
3253
|
-
// provide: CELL_EDITOR_REGISTRATION, useValue: {
|
|
3254
|
-
// type: 'string',
|
|
3255
|
-
// editorClass: StringInputComponent
|
|
3256
|
-
// }, multi: true
|
|
3257
|
-
// },
|
|
3258
|
-
// {
|
|
3259
|
-
// provide: CELL_EDITOR_REGISTRATION, useValue: {
|
|
3260
|
-
// type: 'number',
|
|
3261
|
-
// editorClass: NumberInputComponent
|
|
3262
|
-
// }, multi: true
|
|
3263
|
-
// }
|
|
3264
3748
|
]
|
|
3265
3749
|
}),
|
|
3266
3750
|
__metadata("design:paramtypes", [FaIconLibrary])
|
|
@@ -6967,7 +7451,7 @@ var ListPlaceNavComponent = /** @class */ (function (_super) {
|
|
|
6967
7451
|
* (at)Place({
|
|
6968
7452
|
* path: 'myPlace',
|
|
6969
7453
|
* data: {
|
|
6970
|
-
* nav: I18n.places.myPlace.nav
|
|
7454
|
+
* nav: I18n.places.myPlace.nav
|
|
6971
7455
|
* }
|
|
6972
7456
|
* })
|
|
6973
7457
|
*/
|
|
@@ -7638,5 +8122,5 @@ function VisitParameterList(options) {
|
|
|
7638
8122
|
* Generated bundle index. Do not edit.
|
|
7639
8123
|
*/
|
|
7640
8124
|
|
|
7641
|
-
export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractInputActivity, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation,
|
|
8125
|
+
export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractInputActivity, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation, AbstractValueInputComponent, Activity, ActivityActionsComponent, ActivityContainerComponent, ActivityOutletComponent, ActivityRef, AddItemInteractionContextComponent, AlertDialogComponent, AngularUiPowerupsModule, AutocompleteInputComponent, Bounds, BusyOverlayComponent, CELL_EDITOR_PORTAL, CELL_RENDERER_PORTAL, CardContainerComponent, CellEditorPortalRef, CellHeaderPortalRef, CellPortalRef, CellRendererPortalRef, CheckboxInputComponent, ColumnModel, ColumnTemplateDirective, CommandComponent, CommandDirective, CommandFace, CommandFaceComponent, CommandGroup, CommandGroupComponent, CommandGroupMenuRendererComponent, CommandGroupRendererComponent, ComponentCellRendererPortalRef, ComponentsModule, ConfirmThenDialogComponent, ConfirmationDialogComponent, ConsolidatedParameterMap, CustomTemplateColumnModel, CustomValueColumnModel, DEFINITION_META_DATA_KEY, DIALOG_INTERACTION_SERVICE_DEFAULTS, DefaultCellRendererComponent, DefaultHeaderCellRendererComponent, DialogInteractionContext, DialogInteractionContextFactory, Dimension, DirectivesModule, DisposableComponent, EditRowControls, EditSession, EditorControlColumnModel, EmptyStateComponent, EventCleanUpSession, FlexComponent, FocusBinding, FocusBindingDirective, FocusBindingFactory, FocusContainerComponent, FocusableComponent, Formatter, HEADER_CELL_RENDERER_PORTAL, IconComponent, InPlaceInteractionContextComponent, InteractionContextTriggerFor, InteractionModule, InteractionService, InteractionServiceRoutingAdapter, LEFT_RIGHT_PLACE_ANIMATION, ListPlaceNavComponent, ListPropertyColumnModel, ModalInteractionContextFactory, MoreMenuComponent, MultipleSelectInputComponent, Navigating, NavigatingDuringInteraction, NavigationContext, NavigationSession, NoopAuthGuard, NoopComponent, NumberInputComponent, PORTAL_EDITOR_COMPONENT, PORTAL_RENDERER_COMPONENT, ParameterDefinition, PasswordInputComponent, Place, PlaceComponent, PlaceComponentDeactivationHandler, PlaceDefinition, PlaceGuard, PlaceHistory, PlaceModule, PlaceOutletComponent, PlaceRouter, Point, PopStateDuringInteractionNavigation, PopStateNavigation, PopupInteractionContextComponent, PopupMenuComponent, PropertyColumnModel, ROUTE_PARAMETER_LIST_KEY, Registration, RemoveLastInteractionFromUrlNavigationSession, ResizeAwareComponent, RouteId, ScrollContainerComponent, SectionHeaderComponent, SelectCellRendererComponent, SelectHeaderCellRendererComponent, SelectInputActivity, SelectInputComponent, SelectionColumnModel, SeparatorComponent, SidePlaceNavigationComponent, StringInputActivity, StringInputComponent, SwitchCaseComponent, SwitchCaseDefaultDirective, SwitchCaseOption, SwitchCaseWhenDirective, SynchroniseInteractionContextIdsWithRoute, TabbedPlaceNavigationComponent, TableCellRendererComponent, TableComponent, TableHeaderCellRendererComponent, TableModel, TableRowMenuComponent, TemplateCellRendererPortalRef, TextInputComponent, ToolBarComponent, TrackBy, UrlService, UrlSnapshot, VerticalFocusContainerComponent, ViewData, Visit, VisitParameter, VisitParameterList, VisitSanitiser, WaitUntilLeavingInteractionTransitionCancelled, WaitUntilLinkTriggeredNavigationInteractionCancellationEventsFinish, WaitUntilPopStateDuringCanDeactivateInteractionFinishes, leftRightPlaceAnimation, slideDownOnEnterAnimation, slideRightOnEnterAnimation, ɵ0, 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, IconComponent as ɵbk, SectionHeaderComponent as ɵbl, TableRowMenuComponent as ɵbm, ToolBarComponent as ɵbn, CommandGroup as ɵbo, CommandComponent as ɵbp, PopupMenuComponent as ɵbq, CommandGroupComponent as ɵbr, CommandFaceComponent as ɵbs, MoreMenuComponent as ɵbt, SeparatorComponent as ɵbu, FlexComponent as ɵbv, CommandGroupMenuRendererComponent as ɵbw, CommandGroupRendererComponent as ɵbx, PlaceModule as ɵby, ComponentsModule as ɵbz, FocusBindingDirective as ɵc, EmptyStateComponent as ɵca, BusyOverlayComponent as ɵcb, PlaceOutletComponent as ɵcc, leftRightPlaceAnimation as ɵcd, LEFT_RIGHT_PLACE_ANIMATION as ɵce, AUP_PLACE_CONFIG as ɵcf, PlaceRouter as ɵch, InteractionService as ɵci, ModalInteractionContextFactory as ɵcj, UrlService as ɵck, PlaceHistory as ɵcl, TabbedPlaceNavigationComponent as ɵcm, AbstractPlaceNavigationComponent as ɵcn, ListPlaceNavComponent as ɵco, SidePlaceNavigationComponent as ɵcp, InteractionModule as ɵcq, ActivityContainerComponent as ɵcr, AbstractInteractionContext as ɵcs, ActivityOutletComponent as ɵct, ConfirmationDialogComponent as ɵcu, ACTIVITY_DATA as ɵcv, Activity as ɵcw, ConfirmThenDialogComponent as ɵcy, AlertDialogComponent as ɵcz, DisposableComponent as ɵd, InPlaceInteractionContextComponent as ɵdb, AddItemInteractionContextComponent as ɵdc, ActivityActionsComponent as ɵdd, PopupInteractionContextComponent as ɵde, StringInputActivity as ɵdf, AbstractInputActivity as ɵdg, SelectInputActivity as ɵdh, InteractionContextTriggerFor as ɵdi, FocusBindingFactory as ɵe, ComponentsModule as ɵf, AbstractInputComponent as ɵg, AbstractValueInputComponent as ɵh, AbstractListInputComponent as ɵi, NumberInputComponent as ɵj, StringInputComponent as ɵk, TextInputComponent as ɵl, PasswordInputComponent as ɵm, SelectInputComponent as ɵn, MultipleSelectInputComponent as ɵo, AutocompleteInputComponent 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 };
|
|
7642
8126
|
//# sourceMappingURL=coolon-angular-ui-powerups.js.map
|