@coolon/angular-ui-powerups 2.0.0-alpha.35 → 2.0.0-alpha.37
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/bundles/coolon-angular-ui-powerups.umd.js +776 -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 +61 -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 +100 -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 +64 -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 +122 -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 +629 -255
- package/fesm2015/coolon-angular-ui-powerups.js.map +1 -1
- package/fesm5/coolon-angular-ui-powerups.js +715 -229
- package/fesm5/coolon-angular-ui-powerups.js.map +1 -1
- package/lib/components/commands/command/command.component.d.ts +22 -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 +41 -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,468 @@ 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) {
|
|
522
691
|
var _this = _super.call(this) || this;
|
|
523
|
-
_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');
|
|
524
700
|
return _this;
|
|
525
701
|
}
|
|
526
|
-
|
|
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() {
|
|
742
|
+
var _this = _super.call(this) || 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');
|
|
748
|
+
return _this;
|
|
749
|
+
}
|
|
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
|
+
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;
|
|
858
|
+
_this.childTemplates = chain(_this._rootTemplate).pluckList('children');
|
|
859
|
+
_this.initialised = chain(_this._rootTemplate).isNotNil();
|
|
860
|
+
return _this;
|
|
861
|
+
}
|
|
862
|
+
CommandGroup.prototype.initialise = function () {
|
|
863
|
+
this.rebuildTemplates();
|
|
864
|
+
};
|
|
865
|
+
Object.defineProperty(CommandGroup.prototype, "rootTemplate", {
|
|
527
866
|
get: function () {
|
|
528
|
-
return this.
|
|
867
|
+
return this._rootTemplate.readonly;
|
|
529
868
|
},
|
|
530
869
|
enumerable: true,
|
|
531
870
|
configurable: true
|
|
532
871
|
});
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
872
|
+
Object.defineProperty(CommandGroup.prototype, "registrations", {
|
|
873
|
+
get: function () {
|
|
874
|
+
return this._registrations.readonly;
|
|
875
|
+
},
|
|
876
|
+
enumerable: true,
|
|
877
|
+
configurable: true
|
|
878
|
+
});
|
|
879
|
+
CommandGroup.prototype.notifyChanged = function () {
|
|
880
|
+
if (this.parent) {
|
|
881
|
+
this.parent.notifyChanged();
|
|
882
|
+
}
|
|
883
|
+
else {
|
|
884
|
+
this.rebuildTemplates();
|
|
885
|
+
}
|
|
886
|
+
};
|
|
887
|
+
CommandGroup.prototype.notifyChildFaceChanged = function (is, was) {
|
|
888
|
+
this.notifyChanged();
|
|
889
|
+
};
|
|
890
|
+
CommandGroup.prototype.rebuildTemplates = function () {
|
|
891
|
+
this._rootTemplate.value = new ViewData.GroupData(this.faceModel.value, this.xPosition, this.yPosition, this.registrations.value.map(function (r) { return r.toTemplate(); }));
|
|
892
|
+
};
|
|
893
|
+
Object.defineProperty(CommandGroup.prototype, "depth", {
|
|
894
|
+
get: function () {
|
|
895
|
+
return this.isRoot() ? 0 : this.parent.depth + 1;
|
|
896
|
+
},
|
|
897
|
+
enumerable: true,
|
|
898
|
+
configurable: true
|
|
899
|
+
});
|
|
900
|
+
CommandGroup.prototype.isRoot = function () {
|
|
901
|
+
return false;
|
|
902
|
+
};
|
|
903
|
+
CommandGroup.prototype.registerCommand = function (command, faceModel) {
|
|
904
|
+
return this.register(new Registration.CommandRegistration(faceModel, command));
|
|
905
|
+
};
|
|
906
|
+
CommandGroup.prototype.registerGroup = function (group, faceModel) {
|
|
907
|
+
return this.register(new Registration.GroupRegistration(faceModel, group));
|
|
908
|
+
};
|
|
909
|
+
CommandGroup.prototype.registerFlex = function (component) {
|
|
910
|
+
return this.register(new Registration.FlexRegistration());
|
|
538
911
|
};
|
|
539
|
-
|
|
540
|
-
return
|
|
912
|
+
CommandGroup.prototype.registerSeparator = function (component) {
|
|
913
|
+
return this.register(new Registration.SeparatorRegistration());
|
|
541
914
|
};
|
|
542
|
-
|
|
915
|
+
CommandGroup.prototype.register = function (registration) {
|
|
916
|
+
var _this = this;
|
|
917
|
+
this._registrations.push(registration);
|
|
918
|
+
if (registration instanceof Registration.FaceRegistration) {
|
|
919
|
+
var when = Dsl.disposeWith(registration).when;
|
|
920
|
+
when(registration.faceModel).changes(function (is, was) {
|
|
921
|
+
_this.notifyChildFaceChanged(is, was);
|
|
922
|
+
}, { asLongAs: this.initialised });
|
|
923
|
+
}
|
|
924
|
+
registration.onDispose(function () { return _this._registrations.remove(registration); });
|
|
925
|
+
return registration;
|
|
926
|
+
};
|
|
927
|
+
return CommandGroup;
|
|
543
928
|
}(GarbageCollector));
|
|
929
|
+
(function (CommandGroup) {
|
|
930
|
+
var Root = /** @class */ (function (_super) {
|
|
931
|
+
__extends(Root, _super);
|
|
932
|
+
function Root() {
|
|
933
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
934
|
+
}
|
|
935
|
+
Root.prototype.isRoot = function () {
|
|
936
|
+
return true;
|
|
937
|
+
};
|
|
938
|
+
__decorate([
|
|
939
|
+
TrackExternal(),
|
|
940
|
+
__metadata("design:type", ValueModel)
|
|
941
|
+
], Root.prototype, "faceModel", void 0);
|
|
942
|
+
__decorate([
|
|
943
|
+
TrackExternal({ defaultValue: 'after' }),
|
|
944
|
+
__metadata("design:type", ValueModel)
|
|
945
|
+
], Root.prototype, "xPositionModel", void 0);
|
|
946
|
+
__decorate([
|
|
947
|
+
StoreInValueModel('xPositionModel'),
|
|
948
|
+
__metadata("design:type", String)
|
|
949
|
+
], Root.prototype, "xPosition", void 0);
|
|
950
|
+
__decorate([
|
|
951
|
+
TrackExternal({ defaultValue: 'below' }),
|
|
952
|
+
__metadata("design:type", ValueModel)
|
|
953
|
+
], Root.prototype, "yPositionModel", void 0);
|
|
954
|
+
__decorate([
|
|
955
|
+
StoreInValueModel('yPositionModel'),
|
|
956
|
+
__metadata("design:type", String)
|
|
957
|
+
], Root.prototype, "yPosition", void 0);
|
|
958
|
+
return Root;
|
|
959
|
+
}(CommandGroup));
|
|
960
|
+
CommandGroup.Root = Root;
|
|
961
|
+
function factory() {
|
|
962
|
+
return new Root();
|
|
963
|
+
}
|
|
964
|
+
CommandGroup.factory = factory;
|
|
965
|
+
})(CommandGroup || (CommandGroup = {}));
|
|
544
966
|
|
|
545
|
-
/**
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
var
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
967
|
+
var CommandGroupComponent = /** @class */ (function (_super) {
|
|
968
|
+
__extends(CommandGroupComponent, _super);
|
|
969
|
+
function CommandGroupComponent(parent) {
|
|
970
|
+
var _this = _super.call(this, parent) || this;
|
|
971
|
+
_this.parent = parent;
|
|
972
|
+
_this.xPosition = 'after';
|
|
973
|
+
_this.yPosition = 'below';
|
|
974
|
+
_this.parent.registerGroup(_this, _this.faceModel);
|
|
975
|
+
return _this;
|
|
552
976
|
}
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
977
|
+
CommandGroupComponent_1 = CommandGroupComponent;
|
|
978
|
+
var CommandGroupComponent_1;
|
|
979
|
+
CommandGroupComponent.ctorParameters = function () { return [
|
|
980
|
+
{ type: CommandGroup, decorators: [{ type: SkipSelf }] }
|
|
981
|
+
]; };
|
|
982
|
+
__decorate([
|
|
983
|
+
Input(), TrackExternal(),
|
|
984
|
+
__metadata("design:type", ValueModel)
|
|
985
|
+
], CommandGroupComponent.prototype, "faceModel", void 0);
|
|
986
|
+
__decorate([
|
|
987
|
+
Input(), StoreInValueModel('faceModel'),
|
|
988
|
+
__metadata("design:type", Object)
|
|
989
|
+
], CommandGroupComponent.prototype, "face", void 0);
|
|
990
|
+
__decorate([
|
|
991
|
+
Input(),
|
|
992
|
+
__metadata("design:type", String)
|
|
993
|
+
], CommandGroupComponent.prototype, "xPosition", void 0);
|
|
994
|
+
__decorate([
|
|
995
|
+
Input(),
|
|
996
|
+
__metadata("design:type", String)
|
|
997
|
+
], CommandGroupComponent.prototype, "yPosition", void 0);
|
|
998
|
+
CommandGroupComponent = CommandGroupComponent_1 = __decorate([
|
|
561
999
|
Component({
|
|
562
|
-
selector: 'aup-command-
|
|
563
|
-
template:
|
|
564
|
-
providers: [
|
|
565
|
-
|
|
1000
|
+
selector: 'aup-command-group',
|
|
1001
|
+
template: '',
|
|
1002
|
+
providers: [
|
|
1003
|
+
{ provide: CommandGroup, useExisting: CommandGroupComponent_1 }
|
|
1004
|
+
]
|
|
566
1005
|
}),
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
1006
|
+
__param(0, SkipSelf()),
|
|
1007
|
+
__metadata("design:paramtypes", [CommandGroup])
|
|
1008
|
+
], CommandGroupComponent);
|
|
1009
|
+
return CommandGroupComponent;
|
|
1010
|
+
}(CommandGroup));
|
|
571
1011
|
|
|
572
1012
|
/**
|
|
573
1013
|
* Custom CSS:
|
|
@@ -581,9 +1021,8 @@ var CommandBarComponent = /** @class */ (function (_super) {
|
|
|
581
1021
|
*/
|
|
582
1022
|
var CommandFaceComponent = /** @class */ (function (_super) {
|
|
583
1023
|
__extends(CommandFaceComponent, _super);
|
|
584
|
-
function CommandFaceComponent(
|
|
1024
|
+
function CommandFaceComponent() {
|
|
585
1025
|
var _this = _super.call(this) || this;
|
|
586
|
-
_this.commandContainer = commandContainer;
|
|
587
1026
|
_this.faceModel = new MutableValueModel();
|
|
588
1027
|
_this.ignoreIcon = false;
|
|
589
1028
|
_this.ignoreText = false;
|
|
@@ -594,7 +1033,7 @@ var CommandFaceComponent = /** @class */ (function (_super) {
|
|
|
594
1033
|
_this.iconModel = faceAdapter.pluck('icon');
|
|
595
1034
|
_this.textModel = faceAdapter.pluck('text');
|
|
596
1035
|
_this.positionModel = faceAdapter.pluck('iconPosition');
|
|
597
|
-
_this.
|
|
1036
|
+
_this.colorModel = faceAdapter.pluck('color');
|
|
598
1037
|
return _this;
|
|
599
1038
|
}
|
|
600
1039
|
Object.defineProperty(CommandFaceComponent.prototype, "requiresMissingIconInLayout", {
|
|
@@ -608,8 +1047,8 @@ var CommandFaceComponent = /** @class */ (function (_super) {
|
|
|
608
1047
|
};
|
|
609
1048
|
Object.defineProperty(CommandFaceComponent.prototype, "iconPosition", {
|
|
610
1049
|
get: function () {
|
|
611
|
-
var _a
|
|
612
|
-
return (
|
|
1050
|
+
var _a;
|
|
1051
|
+
return (_a = this.positionModel.value) !== null && _a !== void 0 ? _a : CommandFace.Position.START;
|
|
613
1052
|
},
|
|
614
1053
|
enumerable: true,
|
|
615
1054
|
configurable: true
|
|
@@ -642,16 +1081,13 @@ var CommandFaceComponent = /** @class */ (function (_super) {
|
|
|
642
1081
|
enumerable: true,
|
|
643
1082
|
configurable: true
|
|
644
1083
|
});
|
|
645
|
-
Object.defineProperty(CommandFaceComponent.prototype, "
|
|
1084
|
+
Object.defineProperty(CommandFaceComponent.prototype, "color", {
|
|
646
1085
|
get: function () {
|
|
647
|
-
return this.
|
|
1086
|
+
return this.colorModel.value;
|
|
648
1087
|
},
|
|
649
1088
|
enumerable: true,
|
|
650
1089
|
configurable: true
|
|
651
1090
|
});
|
|
652
|
-
CommandFaceComponent.ctorParameters = function () { return [
|
|
653
|
-
{ type: CommandContainer, decorators: [{ type: Optional }] }
|
|
654
|
-
]; };
|
|
655
1091
|
__decorate([
|
|
656
1092
|
Input('face'), StoreInValueModel('faceModel'),
|
|
657
1093
|
__metadata("design:type", Object)
|
|
@@ -674,10 +1110,10 @@ var CommandFaceComponent = /** @class */ (function (_super) {
|
|
|
674
1110
|
__metadata("design:paramtypes", [])
|
|
675
1111
|
], CommandFaceComponent.prototype, "requiresMissingIconInLayout", null);
|
|
676
1112
|
__decorate([
|
|
677
|
-
HostBinding('
|
|
678
|
-
__metadata("design:type",
|
|
1113
|
+
HostBinding('attr.color'),
|
|
1114
|
+
__metadata("design:type", String),
|
|
679
1115
|
__metadata("design:paramtypes", [])
|
|
680
|
-
], CommandFaceComponent.prototype, "
|
|
1116
|
+
], CommandFaceComponent.prototype, "color", null);
|
|
681
1117
|
CommandFaceComponent = __decorate([
|
|
682
1118
|
Component({
|
|
683
1119
|
selector: 'aup-command-face',
|
|
@@ -685,8 +1121,7 @@ var CommandFaceComponent = /** @class */ (function (_super) {
|
|
|
685
1121
|
encapsulation: ViewEncapsulation.None,
|
|
686
1122
|
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
1123
|
}),
|
|
688
|
-
|
|
689
|
-
__metadata("design:paramtypes", [CommandContainer])
|
|
1124
|
+
__metadata("design:paramtypes", [])
|
|
690
1125
|
], CommandFaceComponent);
|
|
691
1126
|
return CommandFaceComponent;
|
|
692
1127
|
}(DisposableComponent));
|
|
@@ -696,31 +1131,54 @@ var CommandFaceComponent = /** @class */ (function (_super) {
|
|
|
696
1131
|
*/
|
|
697
1132
|
var CommandComponent = /** @class */ (function (_super) {
|
|
698
1133
|
__extends(CommandComponent, _super);
|
|
699
|
-
function CommandComponent(
|
|
1134
|
+
function CommandComponent(parent) {
|
|
700
1135
|
var _this = _super.call(this) || this;
|
|
701
|
-
_this.
|
|
1136
|
+
_this.parent = parent;
|
|
1137
|
+
_this.CommandFace = CommandFace;
|
|
1138
|
+
var _a = Dsl.disposeWith(_this), chain = _a.chain, switchOn = _a.switchOn;
|
|
1139
|
+
_this.activeFaceModel = switchOn(_this.command.busy).toValue(function (when) {
|
|
1140
|
+
when.equalTo(true, _this.busyFaceModel);
|
|
1141
|
+
when.otherwise(_this.faceModel);
|
|
1142
|
+
}).otherwise(_this.faceModel);
|
|
1143
|
+
_this.buttonStyle = chain(_this.activeFaceModel).map(function (f) { return CommandFace.getStyleOf(f); });
|
|
1144
|
+
_this.colorModel = chain(_this.activeFaceModel).map(function (f) { return CommandFace.getColorOf(f); });
|
|
1145
|
+
if (parent) {
|
|
1146
|
+
_this.registerDisposable(_this.parent.registerCommand(_this.command, _this.activeFaceModel));
|
|
1147
|
+
}
|
|
702
1148
|
return _this;
|
|
703
1149
|
}
|
|
704
1150
|
CommandComponent.prototype.ngOnInit = function () {
|
|
705
|
-
this.registerDisposable(this.commandContainer.registerCommand(this.command, this.face));
|
|
706
1151
|
};
|
|
707
1152
|
CommandComponent.ctorParameters = function () { return [
|
|
708
|
-
{ type:
|
|
1153
|
+
{ type: CommandGroup, decorators: [{ type: Optional }] }
|
|
709
1154
|
]; };
|
|
710
1155
|
__decorate([
|
|
711
1156
|
Input(), TrackExternal(),
|
|
712
1157
|
__metadata("design:type", Command)
|
|
713
1158
|
], CommandComponent.prototype, "command", void 0);
|
|
714
1159
|
__decorate([
|
|
715
|
-
Input(),
|
|
1160
|
+
Input(), TrackExternal(),
|
|
1161
|
+
__metadata("design:type", ValueModel)
|
|
1162
|
+
], CommandComponent.prototype, "faceModel", void 0);
|
|
1163
|
+
__decorate([
|
|
1164
|
+
Input(), StoreInValueModel('faceModel'),
|
|
716
1165
|
__metadata("design:type", Object)
|
|
717
1166
|
], CommandComponent.prototype, "face", void 0);
|
|
1167
|
+
__decorate([
|
|
1168
|
+
Input(), TrackExternal(),
|
|
1169
|
+
__metadata("design:type", ValueModel)
|
|
1170
|
+
], CommandComponent.prototype, "busyFaceModel", void 0);
|
|
1171
|
+
__decorate([
|
|
1172
|
+
Input(), StoreInValueModel('busyFaceModel'),
|
|
1173
|
+
__metadata("design:type", Object)
|
|
1174
|
+
], CommandComponent.prototype, "busyFace", void 0);
|
|
718
1175
|
CommandComponent = __decorate([
|
|
719
1176
|
Component({
|
|
720
1177
|
selector: 'aup-command',
|
|
721
|
-
template: ""
|
|
1178
|
+
template: "<ng-container *ngIf=\"!parent\">\n <ng-container [ngSwitch]=\"buttonStyle.value\">\n <button *ngSwitchCase=\"CommandFace.Style.STROKED\" mat-stroked-button [pectinCommand]=\"command\" [color]=\"colorModel.value\">\n <aup-command-face [face]=\"activeFaceModel.value\"></aup-command-face>\n </button>\n <button *ngSwitchCase=\"CommandFace.Style.RAISED\" mat-raised-button [pectinCommand]=\"command\" [color]=\"colorModel.value\">\n <aup-command-face [face]=\"activeFaceModel.value\"></aup-command-face>\n </button>\n <button *ngSwitchDefault mat-button [pectinCommand]=\"command\" [color]=\"colorModel.value\">\n <aup-command-face [face]=\"activeFaceModel.value\"></aup-command-face>\n </button>\n </ng-container>\n</ng-container>\n"
|
|
722
1179
|
}),
|
|
723
|
-
|
|
1180
|
+
__param(0, Optional()),
|
|
1181
|
+
__metadata("design:paramtypes", [CommandGroup])
|
|
724
1182
|
], CommandComponent);
|
|
725
1183
|
return CommandComponent;
|
|
726
1184
|
}(DisposableComponent));
|
|
@@ -728,188 +1186,224 @@ var CommandComponent = /** @class */ (function (_super) {
|
|
|
728
1186
|
/**
|
|
729
1187
|
*
|
|
730
1188
|
*/
|
|
731
|
-
var
|
|
732
|
-
__extends(
|
|
733
|
-
function
|
|
1189
|
+
var FlexComponent = /** @class */ (function (_super) {
|
|
1190
|
+
__extends(FlexComponent, _super);
|
|
1191
|
+
function FlexComponent(parent) {
|
|
734
1192
|
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();
|
|
1193
|
+
_this.parent = parent;
|
|
1194
|
+
if (parent) {
|
|
1195
|
+
parent.registerFlex(_this);
|
|
1196
|
+
}
|
|
742
1197
|
return _this;
|
|
743
1198
|
}
|
|
744
|
-
|
|
745
|
-
};
|
|
746
|
-
PopupMenuRendererComponent.prototype.getPopupMenuCommandFor = function (item) {
|
|
747
|
-
var _this = this;
|
|
748
|
-
var when = Dsl.disposeWith(this).when;
|
|
749
|
-
when(item.command.busy).becomesFalsey(function () {
|
|
750
|
-
_this.commandExecuted.emit();
|
|
751
|
-
});
|
|
752
|
-
return item.command;
|
|
1199
|
+
FlexComponent.prototype.ngOnInit = function () {
|
|
753
1200
|
};
|
|
754
|
-
|
|
755
|
-
|
|
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([
|
|
1201
|
+
FlexComponent.ctorParameters = function () { return [
|
|
1202
|
+
{ type: CommandGroup }
|
|
1203
|
+
]; };
|
|
1204
|
+
FlexComponent = __decorate([
|
|
778
1205
|
Component({
|
|
779
|
-
selector: 'aup-
|
|
780
|
-
template: "
|
|
781
|
-
styles: [":host{display:inline-flex;flex-direction:row;align-items:center}"]
|
|
1206
|
+
selector: 'aup-flex',
|
|
1207
|
+
template: ""
|
|
782
1208
|
}),
|
|
783
|
-
__metadata("design:paramtypes", [])
|
|
784
|
-
],
|
|
785
|
-
return
|
|
1209
|
+
__metadata("design:paramtypes", [CommandGroup])
|
|
1210
|
+
], FlexComponent);
|
|
1211
|
+
return FlexComponent;
|
|
786
1212
|
}(DisposableComponent));
|
|
787
1213
|
|
|
1214
|
+
var ɵ0 = CommandGroup.factory;
|
|
788
1215
|
/**
|
|
789
1216
|
*
|
|
790
1217
|
*/
|
|
791
|
-
var
|
|
792
|
-
__extends(
|
|
793
|
-
function
|
|
1218
|
+
var MoreMenuComponent = /** @class */ (function (_super) {
|
|
1219
|
+
__extends(MoreMenuComponent, _super);
|
|
1220
|
+
function MoreMenuComponent(group) {
|
|
794
1221
|
var _this = _super.call(this) || this;
|
|
795
|
-
_this.
|
|
796
|
-
_this.
|
|
797
|
-
_this.
|
|
1222
|
+
_this.group = group;
|
|
1223
|
+
_this.tooltipModel = new MutableValueModel();
|
|
1224
|
+
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;
|
|
1225
|
+
group.xPosition = 'before'; // this should be the default unless overridden by the user.
|
|
1226
|
+
group.faceModel = chain(_this.tooltipModel).map(function (tooltip) {
|
|
1227
|
+
return {
|
|
1228
|
+
icon: function () { return 'mat:more_vert'; },
|
|
1229
|
+
tooltip: function () {
|
|
1230
|
+
return tooltip;
|
|
1231
|
+
}
|
|
1232
|
+
};
|
|
1233
|
+
}, { allowNil: true });
|
|
798
1234
|
return _this;
|
|
799
1235
|
}
|
|
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();
|
|
1236
|
+
MoreMenuComponent.prototype.ngOnInit = function () {
|
|
813
1237
|
};
|
|
814
|
-
|
|
815
|
-
|
|
1238
|
+
MoreMenuComponent.prototype.ngAfterContentInit = function () {
|
|
1239
|
+
this.group.initialise();
|
|
816
1240
|
};
|
|
817
|
-
|
|
818
|
-
{ type:
|
|
1241
|
+
MoreMenuComponent.ctorParameters = function () { return [
|
|
1242
|
+
{ type: CommandGroup }
|
|
819
1243
|
]; };
|
|
820
1244
|
__decorate([
|
|
821
|
-
Input(),
|
|
822
|
-
__metadata("design:type", String)
|
|
823
|
-
], AbstractPopupMenuComponent.prototype, "xPosition", void 0);
|
|
824
|
-
__decorate([
|
|
825
|
-
Input(),
|
|
1245
|
+
Input(), StoreInValueModel('tooltipModel'),
|
|
826
1246
|
__metadata("design:type", String)
|
|
827
|
-
],
|
|
828
|
-
__decorate([
|
|
829
|
-
ViewChild(PopupMenuRendererComponent),
|
|
830
|
-
__metadata("design:type", PopupMenuRendererComponent)
|
|
831
|
-
], AbstractPopupMenuComponent.prototype, "popupMenu", void 0);
|
|
1247
|
+
], MoreMenuComponent.prototype, "tooltip", void 0);
|
|
832
1248
|
__decorate([
|
|
833
|
-
|
|
834
|
-
__metadata("design:type",
|
|
835
|
-
|
|
836
|
-
|
|
1249
|
+
Trace(),
|
|
1250
|
+
__metadata("design:type", Function),
|
|
1251
|
+
__metadata("design:paramtypes", []),
|
|
1252
|
+
__metadata("design:returntype", void 0)
|
|
1253
|
+
], MoreMenuComponent.prototype, "ngAfterContentInit", null);
|
|
1254
|
+
MoreMenuComponent = __decorate([
|
|
837
1255
|
Component({
|
|
838
|
-
selector: 'aup-
|
|
839
|
-
template: ''
|
|
1256
|
+
selector: 'aup-more-menu',
|
|
1257
|
+
template: '<aup-command-group-renderer [renderRootNode]="true" [groupViewDataModel]="group.rootTemplate"></aup-command-group-renderer>',
|
|
1258
|
+
providers: [{ provide: CommandGroup, useFactory: ɵ0 }]
|
|
840
1259
|
}),
|
|
841
|
-
__metadata("design:paramtypes", [
|
|
842
|
-
],
|
|
843
|
-
return
|
|
844
|
-
}(
|
|
1260
|
+
__metadata("design:paramtypes", [CommandGroup])
|
|
1261
|
+
], MoreMenuComponent);
|
|
1262
|
+
return MoreMenuComponent;
|
|
1263
|
+
}(DisposableComponent));
|
|
845
1264
|
|
|
1265
|
+
var ɵ0$1 = CommandGroup.factory;
|
|
846
1266
|
/**
|
|
847
1267
|
*
|
|
848
1268
|
*/
|
|
849
1269
|
var PopupMenuComponent = /** @class */ (function (_super) {
|
|
850
1270
|
__extends(PopupMenuComponent, _super);
|
|
851
|
-
function PopupMenuComponent(
|
|
852
|
-
var _this = _super.call(this
|
|
853
|
-
_this.
|
|
1271
|
+
function PopupMenuComponent(group) {
|
|
1272
|
+
var _this = _super.call(this) || this;
|
|
1273
|
+
_this.group = group;
|
|
854
1274
|
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');
|
|
1275
|
+
group.faceModel = _this.faceModel;
|
|
857
1276
|
return _this;
|
|
858
1277
|
}
|
|
859
|
-
PopupMenuComponent_1 = PopupMenuComponent;
|
|
860
|
-
PopupMenuComponent.prototype.getTooltip = function () {
|
|
861
|
-
return this.faceTooltipModel.value;
|
|
862
|
-
};
|
|
863
1278
|
PopupMenuComponent.prototype.ngOnInit = function () {
|
|
864
1279
|
};
|
|
865
|
-
|
|
1280
|
+
PopupMenuComponent.prototype.ngAfterContentInit = function () {
|
|
1281
|
+
this.group.initialise();
|
|
1282
|
+
};
|
|
1283
|
+
PopupMenuComponent.prototype.ngAfterViewInit = function () {
|
|
1284
|
+
};
|
|
866
1285
|
PopupMenuComponent.ctorParameters = function () { return [
|
|
867
|
-
{ type:
|
|
1286
|
+
{ type: CommandGroup }
|
|
868
1287
|
]; };
|
|
1288
|
+
__decorate([
|
|
1289
|
+
Input(), TrackExternal(),
|
|
1290
|
+
__metadata("design:type", ValueModel)
|
|
1291
|
+
], PopupMenuComponent.prototype, "faceModel", void 0);
|
|
869
1292
|
__decorate([
|
|
870
1293
|
Input(), StoreInValueModel('faceModel'),
|
|
871
1294
|
__metadata("design:type", Object)
|
|
872
1295
|
], PopupMenuComponent.prototype, "face", void 0);
|
|
873
|
-
|
|
1296
|
+
__decorate([
|
|
1297
|
+
Trace(),
|
|
1298
|
+
__metadata("design:type", Function),
|
|
1299
|
+
__metadata("design:paramtypes", []),
|
|
1300
|
+
__metadata("design:returntype", void 0)
|
|
1301
|
+
], PopupMenuComponent.prototype, "ngOnInit", null);
|
|
1302
|
+
__decorate([
|
|
1303
|
+
Trace(),
|
|
1304
|
+
__metadata("design:type", Function),
|
|
1305
|
+
__metadata("design:paramtypes", []),
|
|
1306
|
+
__metadata("design:returntype", void 0)
|
|
1307
|
+
], PopupMenuComponent.prototype, "ngAfterContentInit", null);
|
|
1308
|
+
__decorate([
|
|
1309
|
+
Trace(),
|
|
1310
|
+
__metadata("design:type", Function),
|
|
1311
|
+
__metadata("design:paramtypes", []),
|
|
1312
|
+
__metadata("design:returntype", void 0)
|
|
1313
|
+
], PopupMenuComponent.prototype, "ngAfterViewInit", null);
|
|
1314
|
+
PopupMenuComponent = __decorate([
|
|
874
1315
|
Component({
|
|
875
1316
|
selector: 'aup-popup-menu',
|
|
876
|
-
template:
|
|
877
|
-
providers: [{ provide:
|
|
1317
|
+
template: '<aup-command-group-renderer [renderRootNode]="true" [groupViewDataModel]="group.rootTemplate"></aup-command-group-renderer>',
|
|
1318
|
+
providers: [{ provide: CommandGroup, useFactory: ɵ0$1 }]
|
|
878
1319
|
}),
|
|
879
|
-
__metadata("design:paramtypes", [
|
|
1320
|
+
__metadata("design:paramtypes", [CommandGroup])
|
|
880
1321
|
], PopupMenuComponent);
|
|
881
1322
|
return PopupMenuComponent;
|
|
882
|
-
}(
|
|
1323
|
+
}(DisposableComponent));
|
|
883
1324
|
|
|
884
1325
|
/**
|
|
885
1326
|
*
|
|
886
1327
|
*/
|
|
887
|
-
var
|
|
888
|
-
__extends(
|
|
889
|
-
function
|
|
890
|
-
var _this = _super.call(this
|
|
891
|
-
_this.
|
|
1328
|
+
var SeparatorComponent = /** @class */ (function (_super) {
|
|
1329
|
+
__extends(SeparatorComponent, _super);
|
|
1330
|
+
function SeparatorComponent(parent) {
|
|
1331
|
+
var _this = _super.call(this) || this;
|
|
1332
|
+
_this.parent = parent;
|
|
1333
|
+
if (parent) {
|
|
1334
|
+
parent.registerSeparator(_this);
|
|
1335
|
+
}
|
|
892
1336
|
return _this;
|
|
893
1337
|
}
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
1338
|
+
SeparatorComponent.prototype.isVertical = function () {
|
|
1339
|
+
return this === null || this === void 0 ? void 0 : this.parent.isRoot();
|
|
1340
|
+
};
|
|
1341
|
+
SeparatorComponent.prototype.ngOnInit = function () {
|
|
1342
|
+
};
|
|
1343
|
+
SeparatorComponent.ctorParameters = function () { return [
|
|
1344
|
+
{ type: CommandGroup, decorators: [{ type: Optional }] }
|
|
1345
|
+
]; };
|
|
1346
|
+
SeparatorComponent = __decorate([
|
|
1347
|
+
Component({
|
|
1348
|
+
selector: 'aup-separator',
|
|
1349
|
+
template: "\n <mat-divider [vertical]=\"isVertical()\"></mat-divider>"
|
|
1350
|
+
}),
|
|
1351
|
+
__param(0, Optional()),
|
|
1352
|
+
__metadata("design:paramtypes", [CommandGroup])
|
|
1353
|
+
], SeparatorComponent);
|
|
1354
|
+
return SeparatorComponent;
|
|
1355
|
+
}(DisposableComponent));
|
|
1356
|
+
|
|
1357
|
+
var ɵ0$2 = CommandGroup.factory;
|
|
1358
|
+
/**
|
|
1359
|
+
*
|
|
1360
|
+
*/
|
|
1361
|
+
var ToolBarComponent = /** @class */ (function (_super) {
|
|
1362
|
+
__extends(ToolBarComponent, _super);
|
|
1363
|
+
function ToolBarComponent(group) {
|
|
1364
|
+
var _this = _super.call(this) || this;
|
|
1365
|
+
_this.group = group;
|
|
1366
|
+
return _this;
|
|
1367
|
+
}
|
|
1368
|
+
ToolBarComponent.prototype.ngOnInit = function () {
|
|
1369
|
+
};
|
|
1370
|
+
ToolBarComponent.prototype.ngAfterContentInit = function () {
|
|
1371
|
+
this.group.initialise();
|
|
1372
|
+
};
|
|
1373
|
+
ToolBarComponent.prototype.ngAfterViewInit = function () {
|
|
1374
|
+
};
|
|
1375
|
+
ToolBarComponent.ctorParameters = function () { return [
|
|
1376
|
+
{ type: CommandGroup }
|
|
898
1377
|
]; };
|
|
899
1378
|
__decorate([
|
|
900
|
-
|
|
901
|
-
__metadata("design:type",
|
|
902
|
-
|
|
903
|
-
|
|
1379
|
+
Trace(),
|
|
1380
|
+
__metadata("design:type", Function),
|
|
1381
|
+
__metadata("design:paramtypes", []),
|
|
1382
|
+
__metadata("design:returntype", void 0)
|
|
1383
|
+
], ToolBarComponent.prototype, "ngOnInit", null);
|
|
1384
|
+
__decorate([
|
|
1385
|
+
Trace(),
|
|
1386
|
+
__metadata("design:type", Function),
|
|
1387
|
+
__metadata("design:paramtypes", []),
|
|
1388
|
+
__metadata("design:returntype", void 0)
|
|
1389
|
+
], ToolBarComponent.prototype, "ngAfterContentInit", null);
|
|
1390
|
+
__decorate([
|
|
1391
|
+
Trace(),
|
|
1392
|
+
__metadata("design:type", Function),
|
|
1393
|
+
__metadata("design:paramtypes", []),
|
|
1394
|
+
__metadata("design:returntype", void 0)
|
|
1395
|
+
], ToolBarComponent.prototype, "ngAfterViewInit", null);
|
|
1396
|
+
ToolBarComponent = __decorate([
|
|
904
1397
|
Component({
|
|
905
|
-
selector: 'aup-
|
|
906
|
-
template:
|
|
907
|
-
providers: [{ provide:
|
|
1398
|
+
selector: 'aup-tool-bar',
|
|
1399
|
+
template: '<aup-command-group-renderer [renderRootNode]="false" [groupViewDataModel]="group.rootTemplate"></aup-command-group-renderer>',
|
|
1400
|
+
providers: [{ provide: CommandGroup, useFactory: ɵ0$2 }],
|
|
1401
|
+
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
1402
|
}),
|
|
909
|
-
__metadata("design:paramtypes", [
|
|
910
|
-
],
|
|
911
|
-
return
|
|
912
|
-
}(
|
|
1403
|
+
__metadata("design:paramtypes", [CommandGroup])
|
|
1404
|
+
], ToolBarComponent);
|
|
1405
|
+
return ToolBarComponent;
|
|
1406
|
+
}(DisposableComponent));
|
|
913
1407
|
|
|
914
1408
|
var FocusContainerComponent = /** @class */ (function (_super) {
|
|
915
1409
|
__extends(FocusContainerComponent, _super);
|
|
@@ -2196,7 +2690,7 @@ var SelectHeaderCellRendererComponent = /** @class */ (function (_super) {
|
|
|
2196
2690
|
|
|
2197
2691
|
var noop = function () {
|
|
2198
2692
|
};
|
|
2199
|
-
var ɵ0 = noop;
|
|
2693
|
+
var ɵ0$3 = noop;
|
|
2200
2694
|
var CELL_RENDERER_COMPONENT_ROW_CACHE = Symbol("aup-cell-renderer:row-data-cache");
|
|
2201
2695
|
var ColumnModel = /** @class */ (function () {
|
|
2202
2696
|
function ColumnModel(columnId, defaults) {
|
|
@@ -2694,12 +3188,14 @@ var TableModel = /** @class */ (function () {
|
|
|
2694
3188
|
}
|
|
2695
3189
|
return column;
|
|
2696
3190
|
};
|
|
3191
|
+
// removeColumn(column: ColumnModel<Row>) {
|
|
3192
|
+
//
|
|
3193
|
+
// }
|
|
2697
3194
|
TableModel.prototype.columnTextProperties = function (columnTextProperties) {
|
|
2698
3195
|
this._columnTextPropertiesLookup = columnTextProperties;
|
|
2699
3196
|
};
|
|
2700
3197
|
TableModel.prototype.getColumnTextProperties = function (column) {
|
|
2701
|
-
|
|
2702
|
-
return factory ? factory() : undefined;
|
|
3198
|
+
return this._columnTextPropertiesLookup ? this._columnTextPropertiesLookup[column.columnId] : undefined;
|
|
2703
3199
|
};
|
|
2704
3200
|
TableModel.prototype.startEditSession = function (row) {
|
|
2705
3201
|
var _this = this;
|
|
@@ -3000,15 +3496,13 @@ var TableHeaderCellRendererComponent = /** @class */ (function () {
|
|
|
3000
3496
|
return TableHeaderCellRendererComponent;
|
|
3001
3497
|
}());
|
|
3002
3498
|
|
|
3003
|
-
var MenuItemData = /** @class */ (function (
|
|
3004
|
-
__extends(MenuItemData, _super);
|
|
3499
|
+
var MenuItemData = /** @class */ (function () {
|
|
3005
3500
|
function MenuItemData(factory, face) {
|
|
3006
|
-
|
|
3007
|
-
|
|
3008
|
-
return _this;
|
|
3501
|
+
this.factory = factory;
|
|
3502
|
+
this.face = face;
|
|
3009
3503
|
}
|
|
3010
3504
|
return MenuItemData;
|
|
3011
|
-
}(
|
|
3505
|
+
}());
|
|
3012
3506
|
/**
|
|
3013
3507
|
*
|
|
3014
3508
|
*/
|
|
@@ -3051,7 +3545,7 @@ var TableRowMenuComponent = /** @class */ (function (_super) {
|
|
|
3051
3545
|
TableRowMenuComponent = __decorate([
|
|
3052
3546
|
Component({
|
|
3053
3547
|
selector: 'aup-table-row-menu',
|
|
3054
|
-
template: "\n
|
|
3548
|
+
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
3549
|
styles: [":host {\n display: inline-flex;\n flex-direction: row;\n align-items: center;\n }"]
|
|
3056
3550
|
}),
|
|
3057
3551
|
__metadata("design:paramtypes", [])
|
|
@@ -3186,13 +3680,16 @@ var ComponentsModule = /** @class */ (function () {
|
|
|
3186
3680
|
IconComponent,
|
|
3187
3681
|
SectionHeaderComponent,
|
|
3188
3682
|
TableRowMenuComponent,
|
|
3189
|
-
|
|
3683
|
+
ToolBarComponent,
|
|
3190
3684
|
CommandComponent,
|
|
3191
3685
|
PopupMenuComponent,
|
|
3686
|
+
CommandGroupComponent,
|
|
3192
3687
|
CommandFaceComponent,
|
|
3193
|
-
|
|
3194
|
-
|
|
3195
|
-
|
|
3688
|
+
MoreMenuComponent,
|
|
3689
|
+
SeparatorComponent,
|
|
3690
|
+
FlexComponent,
|
|
3691
|
+
CommandGroupMenuRendererComponent,
|
|
3692
|
+
CommandGroupRendererComponent
|
|
3196
3693
|
],
|
|
3197
3694
|
imports: [
|
|
3198
3695
|
CommonModule,
|
|
@@ -3212,8 +3709,8 @@ var ComponentsModule = /** @class */ (function () {
|
|
|
3212
3709
|
FontAwesomeModule,
|
|
3213
3710
|
MatTooltipModule,
|
|
3214
3711
|
MatAutocompleteModule,
|
|
3215
|
-
|
|
3216
|
-
|
|
3712
|
+
MatMenuModule,
|
|
3713
|
+
MatDividerModule
|
|
3217
3714
|
],
|
|
3218
3715
|
exports: [
|
|
3219
3716
|
NumberInputComponent,
|
|
@@ -3239,28 +3736,17 @@ var ComponentsModule = /** @class */ (function () {
|
|
|
3239
3736
|
IconComponent,
|
|
3240
3737
|
SectionHeaderComponent,
|
|
3241
3738
|
TableRowMenuComponent,
|
|
3242
|
-
|
|
3739
|
+
CommandGroupComponent,
|
|
3740
|
+
ToolBarComponent,
|
|
3243
3741
|
CommandComponent,
|
|
3244
|
-
AbstractPopupMenuComponent,
|
|
3245
3742
|
PopupMenuComponent,
|
|
3246
3743
|
CommandFaceComponent,
|
|
3247
|
-
|
|
3248
|
-
|
|
3744
|
+
MoreMenuComponent,
|
|
3745
|
+
SeparatorComponent,
|
|
3746
|
+
FlexComponent
|
|
3249
3747
|
],
|
|
3250
3748
|
providers: [
|
|
3251
3749
|
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
3750
|
]
|
|
3265
3751
|
}),
|
|
3266
3752
|
__metadata("design:paramtypes", [FaIconLibrary])
|
|
@@ -6967,7 +7453,7 @@ var ListPlaceNavComponent = /** @class */ (function (_super) {
|
|
|
6967
7453
|
* (at)Place({
|
|
6968
7454
|
* path: 'myPlace',
|
|
6969
7455
|
* data: {
|
|
6970
|
-
* nav: I18n.places.myPlace.nav
|
|
7456
|
+
* nav: I18n.places.myPlace.nav
|
|
6971
7457
|
* }
|
|
6972
7458
|
* })
|
|
6973
7459
|
*/
|
|
@@ -7638,5 +8124,5 @@ function VisitParameterList(options) {
|
|
|
7638
8124
|
* Generated bundle index. Do not edit.
|
|
7639
8125
|
*/
|
|
7640
8126
|
|
|
7641
|
-
export { ACTIVITY_DATA, AUP_PLACE_CONFIG, AbstractInputActivity, AbstractInputComponent, AbstractInteractionContext, AbstractListInputComponent, AbstractPlaceNavigationComponent, AbstractPopStateNavigation,
|
|
8127
|
+
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
8128
|
//# sourceMappingURL=coolon-angular-ui-powerups.js.map
|