@seniorsistemas/angular-components 17.7.3 → 17.7.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/seniorsistemas-angular-components.umd.js +335 -235
- package/bundles/seniorsistemas-angular-components.umd.js.map +1 -1
- package/bundles/seniorsistemas-angular-components.umd.min.js +2 -2
- package/bundles/seniorsistemas-angular-components.umd.min.js.map +1 -1
- package/components/tiered-menu/components/tiered-menu/tiered-menu.component.d.ts +8 -4
- package/components/tiered-menu/components/tiered-menu-item/tiered-menu-item.component.d.ts +2 -1
- package/components/tiered-menu/components/tiered-menu-nested/tiered-menu-nested.component.d.ts +7 -4
- package/components/tiered-menu/models/tiered-menu-item-data.d.ts +2 -0
- package/components/tiered-menu/models/tiered-menu-item-internal-data.d.ts +2 -6
- package/components/tiered-menu/{tiered-menu.event.service.d.ts → services/tiered-menu.event.service.d.ts} +1 -8
- package/components/tiered-menu/services/tiered-menu.global.service.d.ts +4 -0
- package/components/tiered-menu/{tiered-menu.service.d.ts → services/tiered-menu.service.d.ts} +5 -3
- package/components/tiered-menu/tiered-menu.directive.d.ts +16 -14
- package/esm2015/components/ia-insight/components/ia-insight-card/components/ia-insight-card-loader/ia-insight-card-loader.component.js +3 -3
- package/esm2015/components/ia-insight/components/ia-insight-card/ia-insight-card.component.js +3 -2
- package/esm2015/components/tiered-menu/components/tiered-menu/tiered-menu.component.js +110 -51
- package/esm2015/components/tiered-menu/components/tiered-menu-item/tiered-menu-item.component.js +16 -8
- package/esm2015/components/tiered-menu/components/tiered-menu-nested/tiered-menu-nested.component.js +53 -9
- package/esm2015/components/tiered-menu/models/tiered-menu-item-data.js +1 -1
- package/esm2015/components/tiered-menu/models/tiered-menu-item-internal-data.js +1 -1
- package/esm2015/components/tiered-menu/services/tiered-menu.event.service.js +18 -0
- package/esm2015/components/tiered-menu/services/tiered-menu.global.service.js +9 -0
- package/esm2015/components/tiered-menu/services/tiered-menu.service.js +51 -0
- package/esm2015/components/tiered-menu/tiered-menu.directive.js +103 -109
- package/esm2015/components/tiered-menu/tiered-menu.module.js +8 -12
- package/esm2015/seniorsistemas-angular-components.js +18 -17
- package/esm5/components/ia-insight/components/ia-insight-card/components/ia-insight-card-loader/ia-insight-card-loader.component.js +3 -3
- package/esm5/components/ia-insight/components/ia-insight-card/ia-insight-card.component.js +3 -2
- package/esm5/components/tiered-menu/components/tiered-menu/tiered-menu.component.js +110 -51
- package/esm5/components/tiered-menu/components/tiered-menu-item/tiered-menu-item.component.js +16 -8
- package/esm5/components/tiered-menu/components/tiered-menu-nested/tiered-menu-nested.component.js +53 -9
- package/esm5/components/tiered-menu/models/tiered-menu-item-data.js +1 -1
- package/esm5/components/tiered-menu/models/tiered-menu-item-internal-data.js +1 -1
- package/esm5/components/tiered-menu/services/tiered-menu.event.service.js +19 -0
- package/esm5/components/tiered-menu/services/tiered-menu.global.service.js +12 -0
- package/esm5/components/tiered-menu/services/tiered-menu.service.js +54 -0
- package/esm5/components/tiered-menu/tiered-menu.directive.js +103 -110
- package/esm5/components/tiered-menu/tiered-menu.module.js +8 -12
- package/esm5/seniorsistemas-angular-components.js +18 -17
- package/fesm2015/seniorsistemas-angular-components.js +313 -214
- package/fesm2015/seniorsistemas-angular-components.js.map +1 -1
- package/fesm5/seniorsistemas-angular-components.js +317 -218
- package/fesm5/seniorsistemas-angular-components.js.map +1 -1
- package/package.json +2 -1
- package/seniorsistemas-angular-components.d.ts +17 -16
- package/seniorsistemas-angular-components.metadata.json +1 -1
- package/esm2015/components/tiered-menu/tiered-menu.event.service.js +0 -39
- package/esm2015/components/tiered-menu/tiered-menu.service.js +0 -39
- package/esm5/components/tiered-menu/tiered-menu.event.service.js +0 -40
- package/esm5/components/tiered-menu/tiered-menu.service.js +0 -44
|
@@ -50,6 +50,7 @@ import { MessageService, ConfirmationService } from 'primeng/api';
|
|
|
50
50
|
import { ProgressBarModule as ProgressBarModule$1 } from 'primeng/progressbar';
|
|
51
51
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
52
52
|
import { Clipboard } from '@angular/cdk/clipboard';
|
|
53
|
+
import marked from 'marked';
|
|
53
54
|
import Cropper from 'cropperjs';
|
|
54
55
|
import { moveItemInArray, transferArrayItem, DragDropModule } from '@angular/cdk/drag-drop';
|
|
55
56
|
import * as elementResizeDetectorMaker_ from 'element-resize-detector';
|
|
@@ -13337,7 +13338,7 @@ var IAInsightCardComponent = /** @class */ (function () {
|
|
|
13337
13338
|
this.insight.request$
|
|
13338
13339
|
.pipe(first(), finalize(function () { return (_this.isLoading = false); }))
|
|
13339
13340
|
.subscribe(function (content) {
|
|
13340
|
-
_this.content = content;
|
|
13341
|
+
_this.content = marked.marked(content);
|
|
13341
13342
|
});
|
|
13342
13343
|
};
|
|
13343
13344
|
IAInsightCardComponent.ctorParameters = function () { return [
|
|
@@ -13412,8 +13413,8 @@ var IAInsightCardLoaderComponent = /** @class */ (function () {
|
|
|
13412
13413
|
IAInsightCardLoaderComponent = __decorate([
|
|
13413
13414
|
Component({
|
|
13414
13415
|
selector: "s-ia-insight-card-loader",
|
|
13415
|
-
template: "<div class=\"ia-insight-card-loader\">\n <div class=\"loader\">\n <div class=\"loader-icon\">\n <div sSVGFactory></div>\n </div>\n </div>\n \n <span class=\"loader-label\">{{ \"platform.angular_components.loading_insight\" | translate }}</span>\n</div>\n",
|
|
13416
|
-
styles: [".ia-insight-card-loader{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:24px}.ia-insight-card-loader .loader{-ms-flex-align:center;align-items:center;animation:2s linear infinite spin;border:2px solid #f1f7f8;border-top:2px solid #0fa389;border-radius:50%;display:-ms-flexbox;display:flex;height:48px;-ms-flex-pack:center;justify-content:center;width:48px}.ia-insight-card-loader .loader .loader-icon{animation:2s linear infinite reverse spin;height:
|
|
13416
|
+
template: "<div class=\"ia-insight-card-loader\">\n <div class=\"loader\">\n <div class=\"loader-icon\">\n <div *sSVGFactory=\"'iassist'\"></div>\n </div>\n </div>\n \n <span class=\"loader-label\">{{ \"platform.angular_components.loading_insight\" | translate }}</span>\n</div>\n",
|
|
13417
|
+
styles: [".ia-insight-card-loader{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;gap:24px}.ia-insight-card-loader .loader{-ms-flex-align:center;align-items:center;animation:2s linear infinite spin;border:2px solid #f1f7f8;border-top:2px solid #0fa389;border-radius:50%;display:-ms-flexbox;display:flex;height:48px;-ms-flex-pack:center;justify-content:center;width:48px}.ia-insight-card-loader .loader .loader-icon{animation:2s linear infinite reverse spin;height:32px;transform:translate(-50%,-50%)}.ia-insight-card-loader .loader-label{color:#888b99;font-family:\"Open Sans\",sans-serif;font-size:16px}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}"]
|
|
13417
13418
|
})
|
|
13418
13419
|
], IAInsightCardLoaderComponent);
|
|
13419
13420
|
return IAInsightCardLoaderComponent;
|
|
@@ -15973,27 +15974,6 @@ var TieredMenuEventService = /** @class */ (function () {
|
|
|
15973
15974
|
this.closeItemMenuEvent = new EventEmitter();
|
|
15974
15975
|
this.createMenuEvent = new EventEmitter();
|
|
15975
15976
|
}
|
|
15976
|
-
TieredMenuEventService.prototype.emitIncrementCurrentItemEvent = function () {
|
|
15977
|
-
this.incrementCurrentItemEvent.emit();
|
|
15978
|
-
};
|
|
15979
|
-
TieredMenuEventService.prototype.emitDecrementCurrentItemEvent = function () {
|
|
15980
|
-
this.decrementCurrentItemEvent.emit();
|
|
15981
|
-
};
|
|
15982
|
-
TieredMenuEventService.prototype.emitCloseAllMenusEvent = function () {
|
|
15983
|
-
this.closeAllMenusEvent.emit();
|
|
15984
|
-
};
|
|
15985
|
-
TieredMenuEventService.prototype.emitSelectItemEvent = function (item) {
|
|
15986
|
-
this.selectItemEvent.emit(item);
|
|
15987
|
-
};
|
|
15988
|
-
TieredMenuEventService.prototype.emitOpenItemMenuEvent = function (item) {
|
|
15989
|
-
this.openItemMenuEvent.emit(item);
|
|
15990
|
-
};
|
|
15991
|
-
TieredMenuEventService.prototype.emitCloseItemMenuEvent = function (item) {
|
|
15992
|
-
this.closeItemMenuEvent.emit(item);
|
|
15993
|
-
};
|
|
15994
|
-
TieredMenuEventService.prototype.emitCreateMenuEvent = function (item) {
|
|
15995
|
-
this.createMenuEvent.emit(item);
|
|
15996
|
-
};
|
|
15997
15977
|
TieredMenuEventService = __decorate([
|
|
15998
15978
|
Injectable()
|
|
15999
15979
|
], TieredMenuEventService);
|
|
@@ -16002,22 +15982,26 @@ var TieredMenuEventService = /** @class */ (function () {
|
|
|
16002
15982
|
|
|
16003
15983
|
var TieredMenuService = /** @class */ (function () {
|
|
16004
15984
|
function TieredMenuService() {
|
|
15985
|
+
this.currentItems = [];
|
|
15986
|
+
this.items = [];
|
|
16005
15987
|
}
|
|
16006
15988
|
TieredMenuService.prototype.normalizeData = function (items, parent) {
|
|
16007
15989
|
var _this = this;
|
|
16008
15990
|
return items.map(function (i) {
|
|
16009
|
-
|
|
16010
|
-
|
|
15991
|
+
var item = __assign({}, i);
|
|
15992
|
+
if (item.submenu) {
|
|
15993
|
+
item.submenu = _this.normalizeData(item.submenu, item);
|
|
16011
15994
|
}
|
|
16012
|
-
|
|
16013
|
-
|
|
16014
|
-
|
|
16015
|
-
return
|
|
15995
|
+
item.id = _this._generateId();
|
|
15996
|
+
item.parent = parent;
|
|
15997
|
+
item.isOpen = false;
|
|
15998
|
+
return item;
|
|
16016
15999
|
});
|
|
16017
16000
|
};
|
|
16018
16001
|
TieredMenuService.prototype.markAllItemsAsClosed = function (items) {
|
|
16019
16002
|
var _this = this;
|
|
16020
|
-
return items.map(function (
|
|
16003
|
+
return items.map(function (i) {
|
|
16004
|
+
var item = __assign({}, i);
|
|
16021
16005
|
if (item.submenu) {
|
|
16022
16006
|
item.submenu = _this.markAllItemsAsClosed(item.submenu);
|
|
16023
16007
|
}
|
|
@@ -16025,16 +16009,22 @@ var TieredMenuService = /** @class */ (function () {
|
|
|
16025
16009
|
return item;
|
|
16026
16010
|
});
|
|
16027
16011
|
};
|
|
16028
|
-
TieredMenuService.prototype.searchTheHierarchy = function (
|
|
16029
|
-
var
|
|
16030
|
-
while (
|
|
16031
|
-
if (
|
|
16012
|
+
TieredMenuService.prototype.searchTheHierarchy = function (itemA, itemB) {
|
|
16013
|
+
var item = itemB;
|
|
16014
|
+
while (item) {
|
|
16015
|
+
if (item === itemA) {
|
|
16032
16016
|
return true;
|
|
16033
16017
|
}
|
|
16034
|
-
|
|
16018
|
+
item = item.parent;
|
|
16035
16019
|
}
|
|
16036
16020
|
return false;
|
|
16037
16021
|
};
|
|
16022
|
+
TieredMenuService.prototype.cloneItems = function (items) {
|
|
16023
|
+
return JSON.parse(JSON.stringify(items));
|
|
16024
|
+
};
|
|
16025
|
+
TieredMenuService.prototype._generateId = function () {
|
|
16026
|
+
return "id-" + Math.random().toString(36).substring(2, 9) + "-" + Math.random().toString(36).substring(2, 9) + "-" + Math.random().toString(36).substring(2, 9);
|
|
16027
|
+
};
|
|
16038
16028
|
TieredMenuService = __decorate([
|
|
16039
16029
|
Injectable()
|
|
16040
16030
|
], TieredMenuService);
|
|
@@ -16046,9 +16036,44 @@ var TieredMenuNestedComponent = /** @class */ (function () {
|
|
|
16046
16036
|
this.tieredMenuService = tieredMenuService;
|
|
16047
16037
|
this._tieredMenuEventService = _tieredMenuEventService;
|
|
16048
16038
|
this.top = 0;
|
|
16049
|
-
this.
|
|
16039
|
+
this.left = 0;
|
|
16050
16040
|
this._unsubscribe$ = new Subject();
|
|
16051
16041
|
}
|
|
16042
|
+
TieredMenuNestedComponent.prototype.onResize = function () {
|
|
16043
|
+
this._tieredMenuEventService.closeAllMenusEvent.emit();
|
|
16044
|
+
};
|
|
16045
|
+
TieredMenuNestedComponent.prototype.onDocumentClick = function (event) {
|
|
16046
|
+
// Closing menu when clicked outside.
|
|
16047
|
+
var target = event.target;
|
|
16048
|
+
var clickedInside = target.closest("s-tiered-menu-item") || target.closest("s-tiered-menu-divider");
|
|
16049
|
+
if (!clickedInside) {
|
|
16050
|
+
this._tieredMenuEventService.closeAllMenusEvent.emit();
|
|
16051
|
+
}
|
|
16052
|
+
};
|
|
16053
|
+
TieredMenuNestedComponent.prototype.onKeydownHandler = function (event) {
|
|
16054
|
+
switch (event.key) {
|
|
16055
|
+
case "Escape":
|
|
16056
|
+
this._tieredMenuEventService.closeAllMenusEvent.emit();
|
|
16057
|
+
break;
|
|
16058
|
+
case " ":
|
|
16059
|
+
case "Enter":
|
|
16060
|
+
this._tieredMenuEventService.selectItemEvent.emit(this.tieredMenuService.currentItem);
|
|
16061
|
+
break;
|
|
16062
|
+
case "ArrowLeft":
|
|
16063
|
+
// When nested I need a reference to the current item's parent item, otherwise just the current item.
|
|
16064
|
+
this._tieredMenuEventService.closeItemMenuEvent.emit(this.tieredMenuService.currentItem.parent);
|
|
16065
|
+
break;
|
|
16066
|
+
case "ArrowRight":
|
|
16067
|
+
this._tieredMenuEventService.openItemMenuEvent.emit(this.tieredMenuService.currentItem);
|
|
16068
|
+
break;
|
|
16069
|
+
case "ArrowUp":
|
|
16070
|
+
this._tieredMenuEventService.decrementCurrentItemEvent.emit();
|
|
16071
|
+
break;
|
|
16072
|
+
case "ArrowDown":
|
|
16073
|
+
this._tieredMenuEventService.incrementCurrentItemEvent.emit();
|
|
16074
|
+
break;
|
|
16075
|
+
}
|
|
16076
|
+
};
|
|
16052
16077
|
TieredMenuNestedComponent.prototype.ngOnInit = function () {
|
|
16053
16078
|
this.tieredMenuService.currentItems = this.items;
|
|
16054
16079
|
this._subscribeEvents();
|
|
@@ -16129,7 +16154,7 @@ var TieredMenuNestedComponent = /** @class */ (function () {
|
|
|
16129
16154
|
if (item.command) {
|
|
16130
16155
|
item.command();
|
|
16131
16156
|
// Close all menus after the item was selected.
|
|
16132
|
-
_this._tieredMenuEventService.
|
|
16157
|
+
_this._tieredMenuEventService.closeAllMenusEvent.emit();
|
|
16133
16158
|
}
|
|
16134
16159
|
});
|
|
16135
16160
|
this._tieredMenuEventService.openItemMenuEvent
|
|
@@ -16141,7 +16166,7 @@ var TieredMenuNestedComponent = /** @class */ (function () {
|
|
|
16141
16166
|
while ((_a = itemAux === null || itemAux === void 0 ? void 0 : itemAux.parent) === null || _a === void 0 ? void 0 : _a.parent) {
|
|
16142
16167
|
itemAux = itemAux.parent;
|
|
16143
16168
|
}
|
|
16144
|
-
_this._tieredMenuEventService.
|
|
16169
|
+
_this._tieredMenuEventService.closeItemMenuEvent.emit((_b = itemAux.parent) !== null && _b !== void 0 ? _b : itemAux);
|
|
16145
16170
|
}
|
|
16146
16171
|
_this._lastOpenItem = item;
|
|
16147
16172
|
_this._openItem(item);
|
|
@@ -16158,20 +16183,30 @@ var TieredMenuNestedComponent = /** @class */ (function () {
|
|
|
16158
16183
|
{ type: TieredMenuService },
|
|
16159
16184
|
{ type: TieredMenuEventService }
|
|
16160
16185
|
]; };
|
|
16186
|
+
__decorate([
|
|
16187
|
+
HostListener("window:resize")
|
|
16188
|
+
], TieredMenuNestedComponent.prototype, "onResize", null);
|
|
16189
|
+
__decorate([
|
|
16190
|
+
HostListener("document:click", ["$event"])
|
|
16191
|
+
], TieredMenuNestedComponent.prototype, "onDocumentClick", null);
|
|
16192
|
+
__decorate([
|
|
16193
|
+
HostListener("document:keydown", ["$event"])
|
|
16194
|
+
], TieredMenuNestedComponent.prototype, "onKeydownHandler", null);
|
|
16161
16195
|
TieredMenuNestedComponent = __decorate([
|
|
16162
16196
|
Component({
|
|
16163
|
-
template: "<div\n class=\"menu menu--nested\"\n [ngStyle]=\"{\n 'top': top + 'px',\n '
|
|
16164
|
-
styles: [".menu{background-color:#fff;border:1px solid #ccc;border-radius:6px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;min-width:176px;padding:4px 0;position:
|
|
16197
|
+
template: "<div\n class=\"menu menu--nested\"\n [ngStyle]=\"{\n 'top': top + 'px',\n 'left': left + 'px'\n }\">\n <ng-container *ngTemplateOutlet=\"itemsTemplate; context: { $implicit: items }\"></ng-container>\n</div>\n\n<ng-template #itemsTemplate let-items>\n <div *ngFor=\"let item of items\">\n <s-tiered-menu-item\n *ngIf=\"!item.divider\"\n [item]=\"item\"\n [focused]=\"item === tieredMenuService.currentItem\"\n [closeOnClick]=\"true\">\n </s-tiered-menu-item>\n\n <s-tiered-menu-divider *ngIf=\"item.divider\"></s-tiered-menu-divider>\n\n <div *ngIf=\"item.submenu && item.isOpen\">\n <div class=\"submenu\">\n <ng-container *ngTemplateOutlet=\"itemsTemplate; context: { $implicit: item.submenu }\"></ng-container>\n </div>\n </div>\n </div>\n</ng-template>\n",
|
|
16198
|
+
styles: [".menu{background-color:#fff;border:1px solid #ccc;border-radius:6px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;min-width:176px;padding:4px 0;position:absolute;z-index:9999;overflow:auto;width:calc(100vw - 8px)}.menu .submenu{margin-left:24px}"]
|
|
16165
16199
|
})
|
|
16166
16200
|
], TieredMenuNestedComponent);
|
|
16167
16201
|
return TieredMenuNestedComponent;
|
|
16168
16202
|
}());
|
|
16169
16203
|
|
|
16170
16204
|
var TieredMenuComponent = /** @class */ (function () {
|
|
16171
|
-
function TieredMenuComponent(_appRef, _componentFactoryResolver, _injector, tieredMenuService, _tieredMenuEventService) {
|
|
16205
|
+
function TieredMenuComponent(_appRef, _componentFactoryResolver, _injector, _changeDetectorRef, tieredMenuService, _tieredMenuEventService) {
|
|
16172
16206
|
this._appRef = _appRef;
|
|
16173
16207
|
this._componentFactoryResolver = _componentFactoryResolver;
|
|
16174
16208
|
this._injector = _injector;
|
|
16209
|
+
this._changeDetectorRef = _changeDetectorRef;
|
|
16175
16210
|
this.tieredMenuService = tieredMenuService;
|
|
16176
16211
|
this._tieredMenuEventService = _tieredMenuEventService;
|
|
16177
16212
|
this.top = 0;
|
|
@@ -16182,6 +16217,54 @@ var TieredMenuComponent = /** @class */ (function () {
|
|
|
16182
16217
|
this.destroyRequest = new EventEmitter();
|
|
16183
16218
|
}
|
|
16184
16219
|
TieredMenuComponent_1 = TieredMenuComponent;
|
|
16220
|
+
TieredMenuComponent.prototype.onResize = function () {
|
|
16221
|
+
this._tieredMenuEventService.closeAllMenusEvent.emit();
|
|
16222
|
+
};
|
|
16223
|
+
TieredMenuComponent.prototype.onDocumentClick = function (event) {
|
|
16224
|
+
// Closing menu when clicked outside.
|
|
16225
|
+
var target = event.target;
|
|
16226
|
+
var clickedInside = target.closest("s-tiered-menu-item") || target.closest("s-tiered-menu-divider");
|
|
16227
|
+
if (!clickedInside) {
|
|
16228
|
+
this._tieredMenuEventService.closeAllMenusEvent.emit();
|
|
16229
|
+
}
|
|
16230
|
+
};
|
|
16231
|
+
TieredMenuComponent.prototype.onKeydownHandler = function (event) {
|
|
16232
|
+
switch (event.key) {
|
|
16233
|
+
case "Escape":
|
|
16234
|
+
this._tieredMenuEventService.closeAllMenusEvent.emit();
|
|
16235
|
+
break;
|
|
16236
|
+
case " ":
|
|
16237
|
+
case "Enter":
|
|
16238
|
+
if (!this.tieredMenuService.currentItem.disabled) {
|
|
16239
|
+
this._tieredMenuEventService.selectItemEvent.emit(this.tieredMenuService.currentItem);
|
|
16240
|
+
}
|
|
16241
|
+
break;
|
|
16242
|
+
case "ArrowLeft":
|
|
16243
|
+
if (this.items.includes(this.tieredMenuService.currentItem)) {
|
|
16244
|
+
this._tieredMenuEventService.closeItemMenuEvent.emit(this.tieredMenuService.currentItem);
|
|
16245
|
+
this._changeDetectorRef.detectChanges();
|
|
16246
|
+
}
|
|
16247
|
+
break;
|
|
16248
|
+
case "ArrowRight":
|
|
16249
|
+
if (!this.tieredMenuService.currentItem.disabled && this.items.includes(this.tieredMenuService.currentItem)) {
|
|
16250
|
+
this._tieredMenuEventService.openItemMenuEvent.emit(this.tieredMenuService.currentItem);
|
|
16251
|
+
event.stopImmediatePropagation();
|
|
16252
|
+
}
|
|
16253
|
+
break;
|
|
16254
|
+
case "ArrowUp":
|
|
16255
|
+
if (!this.tieredMenuService.currentItem || this.items.includes(this.tieredMenuService.currentItem)) {
|
|
16256
|
+
this._tieredMenuEventService.decrementCurrentItemEvent.emit();
|
|
16257
|
+
event.stopImmediatePropagation();
|
|
16258
|
+
}
|
|
16259
|
+
break;
|
|
16260
|
+
case "ArrowDown":
|
|
16261
|
+
if (!this.tieredMenuService.currentItem || this.items.includes(this.tieredMenuService.currentItem)) {
|
|
16262
|
+
this._tieredMenuEventService.incrementCurrentItemEvent.emit();
|
|
16263
|
+
event.stopImmediatePropagation();
|
|
16264
|
+
}
|
|
16265
|
+
break;
|
|
16266
|
+
}
|
|
16267
|
+
};
|
|
16185
16268
|
TieredMenuComponent.prototype.ngOnInit = function () {
|
|
16186
16269
|
this.tieredMenuService.currentItems = this.items;
|
|
16187
16270
|
this._subscribeEvents();
|
|
@@ -16241,8 +16324,7 @@ var TieredMenuComponent = /** @class */ (function () {
|
|
|
16241
16324
|
// Setting the menu items.
|
|
16242
16325
|
this._componentRef.instance.items = items;
|
|
16243
16326
|
// Subscribe menu events.
|
|
16244
|
-
this._componentRef.instance.destroyRequest
|
|
16245
|
-
.subscribe(function (propagate) {
|
|
16327
|
+
this._componentRef.instance.destroyRequest.subscribe(function (propagate) {
|
|
16246
16328
|
_this._destroy(propagate);
|
|
16247
16329
|
});
|
|
16248
16330
|
this._menuDivElement = domElem.querySelector(".menu");
|
|
@@ -16262,14 +16344,23 @@ var TieredMenuComponent = /** @class */ (function () {
|
|
|
16262
16344
|
}
|
|
16263
16345
|
};
|
|
16264
16346
|
TieredMenuComponent.prototype._setMenuPosition = function (position) {
|
|
16265
|
-
var _a;
|
|
16347
|
+
var _a, _b;
|
|
16348
|
+
var ITEM_HEIGHT = 37;
|
|
16349
|
+
var DIVIDER_HEIGHT = 5;
|
|
16350
|
+
var PADDING = 8;
|
|
16266
16351
|
if (this._componentRef !== null) {
|
|
16267
16352
|
var top_1 = position.top, right = position.right, bottom = position.bottom, left = position.left;
|
|
16353
|
+
var itemsCount = (_a = this._componentRef.instance.items) === null || _a === void 0 ? void 0 : _a.reduce(function (count, item) {
|
|
16354
|
+
return !item.divider ? count + 1 : count;
|
|
16355
|
+
}, 0);
|
|
16356
|
+
var dividersCount = (_b = this._componentRef.instance.items) === null || _b === void 0 ? void 0 : _b.reduce(function (count, item) {
|
|
16357
|
+
return item.divider ? count + 1 : count;
|
|
16358
|
+
}, 0);
|
|
16268
16359
|
// I need to calculate the height of the component because the internal elements have not been created yet.
|
|
16269
|
-
var menuHeight =
|
|
16360
|
+
var menuHeight = itemsCount * ITEM_HEIGHT + dividersCount * DIVIDER_HEIGHT + PADDING + 8;
|
|
16270
16361
|
var menuWidth = this._menuDivElement.getBoundingClientRect().width;
|
|
16271
|
-
var rightFreeSpace =
|
|
16272
|
-
var bottomFreeSpace =
|
|
16362
|
+
var rightFreeSpace = window.innerWidth - right;
|
|
16363
|
+
var bottomFreeSpace = window.innerHeight - bottom;
|
|
16273
16364
|
if (rightFreeSpace > menuWidth) {
|
|
16274
16365
|
this._componentRef.instance.left = right;
|
|
16275
16366
|
}
|
|
@@ -16277,85 +16368,77 @@ var TieredMenuComponent = /** @class */ (function () {
|
|
|
16277
16368
|
this._componentRef.instance.left = left - menuWidth;
|
|
16278
16369
|
}
|
|
16279
16370
|
if (bottomFreeSpace <= menuHeight) {
|
|
16280
|
-
this._componentRef.instance.top =
|
|
16371
|
+
this._componentRef.instance.top = Math.max(window.innerHeight - menuHeight, window.scrollY);
|
|
16281
16372
|
}
|
|
16282
16373
|
else {
|
|
16283
|
-
this._componentRef.instance.top = top_1;
|
|
16374
|
+
this._componentRef.instance.top = window.scrollY + top_1;
|
|
16284
16375
|
}
|
|
16285
16376
|
}
|
|
16286
16377
|
};
|
|
16287
16378
|
TieredMenuComponent.prototype._subscribeEvents = function () {
|
|
16288
16379
|
var _this = this;
|
|
16289
16380
|
// Increment current item event.
|
|
16290
|
-
this._tieredMenuEventService.incrementCurrentItemEvent
|
|
16291
|
-
.pipe(takeUntil(this._unsubscribe$))
|
|
16292
|
-
.subscribe(function () {
|
|
16381
|
+
this._tieredMenuEventService.incrementCurrentItemEvent.pipe(takeUntil(this._unsubscribe$)).subscribe(function () {
|
|
16293
16382
|
_this._incrementCurItem();
|
|
16294
16383
|
});
|
|
16295
16384
|
// Decrement current item event.
|
|
16296
|
-
this._tieredMenuEventService.decrementCurrentItemEvent
|
|
16297
|
-
.pipe(takeUntil(this._unsubscribe$))
|
|
16298
|
-
.subscribe(function () {
|
|
16385
|
+
this._tieredMenuEventService.decrementCurrentItemEvent.pipe(takeUntil(this._unsubscribe$)).subscribe(function () {
|
|
16299
16386
|
_this._decrementCurItem();
|
|
16300
16387
|
});
|
|
16301
16388
|
// Select item event.
|
|
16302
|
-
this._tieredMenuEventService.selectItemEvent
|
|
16303
|
-
.pipe(takeUntil(this._unsubscribe$))
|
|
16304
|
-
.subscribe(function (item) {
|
|
16389
|
+
this._tieredMenuEventService.selectItemEvent.pipe(takeUntil(this._unsubscribe$)).subscribe(function (item) {
|
|
16305
16390
|
if (item.submenu) {
|
|
16306
|
-
_this._tieredMenuEventService.
|
|
16391
|
+
_this._tieredMenuEventService.openItemMenuEvent.emit(item);
|
|
16307
16392
|
}
|
|
16308
16393
|
else if (item.command) {
|
|
16309
|
-
_this._tieredMenuEventService.
|
|
16394
|
+
_this._tieredMenuEventService.closeAllMenusEvent.emit();
|
|
16310
16395
|
item.command();
|
|
16311
16396
|
}
|
|
16312
16397
|
});
|
|
16313
16398
|
// Close all menus event.
|
|
16314
|
-
this._tieredMenuEventService.closeAllMenusEvent
|
|
16315
|
-
.pipe(takeUntil(this._unsubscribe$))
|
|
16316
|
-
.subscribe(function () {
|
|
16399
|
+
this._tieredMenuEventService.closeAllMenusEvent.pipe(takeUntil(this._unsubscribe$)).subscribe(function () {
|
|
16317
16400
|
_this._destroy();
|
|
16318
16401
|
_this.tieredMenuService.currentItem = null;
|
|
16319
16402
|
_this.tieredMenuService.currentItems = _this.tieredMenuService.items;
|
|
16403
|
+
_this.tieredMenuService.markAllItemsAsClosed(_this.tieredMenuService.items);
|
|
16320
16404
|
});
|
|
16321
16405
|
// Open item menu event.
|
|
16322
|
-
this._tieredMenuEventService.openItemMenuEvent
|
|
16323
|
-
.pipe(takeUntil(this._unsubscribe$))
|
|
16324
|
-
.subscribe(function (item) {
|
|
16325
|
-
item.isOpen = false;
|
|
16406
|
+
this._tieredMenuEventService.openItemMenuEvent.pipe(takeUntil(this._unsubscribe$)).subscribe(function (item) {
|
|
16326
16407
|
if (_this.tieredMenuService.currentItem) {
|
|
16327
16408
|
if (_this.tieredMenuService.currentItem.parent === item) {
|
|
16328
16409
|
return;
|
|
16329
16410
|
}
|
|
16330
16411
|
if (!_this.tieredMenuService.searchTheHierarchy(_this.tieredMenuService.currentItem.parent, item)) {
|
|
16331
|
-
var
|
|
16332
|
-
|
|
16333
|
-
|
|
16334
|
-
|
|
16412
|
+
var current = _this.tieredMenuService.currentItem;
|
|
16413
|
+
current.isOpen = false;
|
|
16414
|
+
while ((current === null || current === void 0 ? void 0 : current.parent) !== item.parent) {
|
|
16415
|
+
_this._tieredMenuEventService.closeItemMenuEvent.emit(current);
|
|
16416
|
+
_this._changeDetectorRef.detectChanges();
|
|
16417
|
+
current = current.parent;
|
|
16335
16418
|
}
|
|
16336
|
-
|
|
16337
|
-
|
|
16338
|
-
if (item.submenu) {
|
|
16339
|
-
if (!item.isOpen) {
|
|
16340
|
-
var _a = document
|
|
16341
|
-
.querySelector("#" + item.id)
|
|
16342
|
-
.getBoundingClientRect(), top_2 = _a.top, right = _a.right, left = _a.left, bottom = _a.bottom;
|
|
16343
|
-
var position = { top: top_2, right: right, left: left, bottom: bottom };
|
|
16344
|
-
if (_this.items.includes(item)) {
|
|
16345
|
-
_this._createMenu(item.submenu, position);
|
|
16346
|
-
_this.tieredMenuService.currentItems = item.submenu;
|
|
16347
|
-
_this.tieredMenuService.currentItem = item.submenu[0];
|
|
16419
|
+
if (current) {
|
|
16420
|
+
current.isOpen = false;
|
|
16348
16421
|
}
|
|
16349
16422
|
}
|
|
16350
16423
|
}
|
|
16424
|
+
if (item.submenu && !item.isOpen && _this.items.includes(item)) {
|
|
16425
|
+
var _a = document.querySelector("#" + item.id).getBoundingClientRect(), top_2 = _a.top, right = _a.right, left = _a.left, bottom = _a.bottom;
|
|
16426
|
+
var position = { top: top_2, right: right, left: left, bottom: bottom };
|
|
16427
|
+
_this._createMenu(item.submenu, position);
|
|
16428
|
+
_this.tieredMenuService.currentItems = item.submenu;
|
|
16429
|
+
_this.tieredMenuService.currentItem = item.submenu[0];
|
|
16430
|
+
item.isOpen = true;
|
|
16431
|
+
}
|
|
16351
16432
|
});
|
|
16352
16433
|
// Close item menu event.
|
|
16353
16434
|
this._tieredMenuEventService.closeItemMenuEvent
|
|
16354
16435
|
.pipe(takeUntil(this._unsubscribe$))
|
|
16355
16436
|
.subscribe(function (item) {
|
|
16356
16437
|
var _a, _b;
|
|
16357
|
-
if (_this.items.
|
|
16358
|
-
item.
|
|
16438
|
+
if (_this.items.some(function (i) { return i.id === item.id; })) {
|
|
16439
|
+
if (item.parent) {
|
|
16440
|
+
item.parent.isOpen = false;
|
|
16441
|
+
}
|
|
16359
16442
|
_this.tieredMenuService.currentItems = ((_b = (_a = item === null || item === void 0 ? void 0 : item.parent) === null || _a === void 0 ? void 0 : _a.parent) === null || _b === void 0 ? void 0 : _b.submenu) || _this.tieredMenuService.items;
|
|
16360
16443
|
_this.tieredMenuService.currentItem = item.parent;
|
|
16361
16444
|
_this.destroyRequest.emit(false);
|
|
@@ -16367,108 +16450,106 @@ var TieredMenuComponent = /** @class */ (function () {
|
|
|
16367
16450
|
{ type: ApplicationRef },
|
|
16368
16451
|
{ type: ComponentFactoryResolver },
|
|
16369
16452
|
{ type: Injector },
|
|
16453
|
+
{ type: ChangeDetectorRef },
|
|
16370
16454
|
{ type: TieredMenuService },
|
|
16371
16455
|
{ type: TieredMenuEventService }
|
|
16372
16456
|
]; };
|
|
16373
16457
|
__decorate([
|
|
16374
16458
|
Output()
|
|
16375
16459
|
], TieredMenuComponent.prototype, "destroyRequest", void 0);
|
|
16460
|
+
__decorate([
|
|
16461
|
+
HostListener("window:resize")
|
|
16462
|
+
], TieredMenuComponent.prototype, "onResize", null);
|
|
16463
|
+
__decorate([
|
|
16464
|
+
HostListener("document:click", ["$event"])
|
|
16465
|
+
], TieredMenuComponent.prototype, "onDocumentClick", null);
|
|
16466
|
+
__decorate([
|
|
16467
|
+
HostListener("document:keydown", ["$event"])
|
|
16468
|
+
], TieredMenuComponent.prototype, "onKeydownHandler", null);
|
|
16376
16469
|
TieredMenuComponent = TieredMenuComponent_1 = __decorate([
|
|
16377
16470
|
Component({
|
|
16378
16471
|
selector: "s-tiered-menu",
|
|
16379
|
-
template: "<div
|
|
16380
|
-
styles: [".menu{background-color:#fff;border:1px solid #ccc;border-radius:6px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;min-width:176px;padding:4px 0;position:
|
|
16472
|
+
template: "<div\n class=\"menu\"\n [ngStyle]=\"{\n 'left': left + 'px',\n 'top': top + 'px'\n }\">\n\n <div *ngFor=\"let item of items\">\n <s-tiered-menu-item\n *ngIf=\"!item.divider\"\n [item]=\"item\"\n [focused]=\"item === tieredMenuService.currentItem\"\n [highlight]=\"item.isOpen\"\n triggerEvent=\"hover\"\n [closeOnClick]=\"false\">\n </s-tiered-menu-item>\n <s-tiered-menu-divider *ngIf=\"item.divider\"></s-tiered-menu-divider>\n </div>\n</div>",
|
|
16473
|
+
styles: [".menu{background-color:#fff;border:1px solid #ccc;border-radius:6px;box-shadow:0 2px 12px 0 rgba(0,0,0,.1);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:column;flex-direction:column;max-height:100vh;min-width:176px;padding:4px 0;overflow-y:auto;position:absolute;z-index:9999}"]
|
|
16381
16474
|
})
|
|
16382
16475
|
], TieredMenuComponent);
|
|
16383
16476
|
return TieredMenuComponent;
|
|
16384
16477
|
}());
|
|
16385
16478
|
|
|
16479
|
+
var TieredMenuGlobalService = /** @class */ (function () {
|
|
16480
|
+
function TieredMenuGlobalService() {
|
|
16481
|
+
}
|
|
16482
|
+
TieredMenuGlobalService = __decorate([
|
|
16483
|
+
Injectable()
|
|
16484
|
+
], TieredMenuGlobalService);
|
|
16485
|
+
return TieredMenuGlobalService;
|
|
16486
|
+
}());
|
|
16487
|
+
|
|
16386
16488
|
var TieredMenuDirective = /** @class */ (function () {
|
|
16387
|
-
function TieredMenuDirective(_elementRef, _appRef, _componentFactoryResolver, _injector, _tieredMenuEventService, _tieredMenuService) {
|
|
16489
|
+
function TieredMenuDirective(_elementRef, _appRef, _componentFactoryResolver, _injector, _tieredMenuEventService, _tieredMenuService, _tieredMenuGlobalService, _changeDetectorRef) {
|
|
16388
16490
|
this._elementRef = _elementRef;
|
|
16389
16491
|
this._appRef = _appRef;
|
|
16390
16492
|
this._componentFactoryResolver = _componentFactoryResolver;
|
|
16391
16493
|
this._injector = _injector;
|
|
16392
16494
|
this._tieredMenuEventService = _tieredMenuEventService;
|
|
16393
16495
|
this._tieredMenuService = _tieredMenuService;
|
|
16496
|
+
this._tieredMenuGlobalService = _tieredMenuGlobalService;
|
|
16497
|
+
this._changeDetectorRef = _changeDetectorRef;
|
|
16498
|
+
this.items = [];
|
|
16499
|
+
this.triggerEvent = "click";
|
|
16394
16500
|
this._componentRef = null;
|
|
16395
16501
|
this._isNested = false;
|
|
16396
16502
|
this._isOpen = false;
|
|
16397
16503
|
this._unsubscribe$ = new Subject();
|
|
16398
|
-
this.alwaysOpen = false;
|
|
16399
|
-
this.triggerEvent = "click";
|
|
16400
16504
|
}
|
|
16505
|
+
TieredMenuDirective.prototype.onClick = function (event) {
|
|
16506
|
+
var _a;
|
|
16507
|
+
if (this.triggerEvent === "click" && ((_a = this._tieredMenuService.items) === null || _a === void 0 ? void 0 : _a.length) > 0 && !this._isOpen) {
|
|
16508
|
+
this._lastActiveElement = document.activeElement;
|
|
16509
|
+
this._createMenu();
|
|
16510
|
+
event.preventDefault();
|
|
16511
|
+
event.stopPropagation();
|
|
16512
|
+
}
|
|
16513
|
+
};
|
|
16401
16514
|
TieredMenuDirective.prototype.ngOnInit = function () {
|
|
16402
|
-
this.
|
|
16403
|
-
this._tieredMenuService.currentItems = this._tieredMenuService.items;
|
|
16404
|
-
this._tieredMenuService.currentItem = this._tieredMenuService.items[0];
|
|
16515
|
+
this._updateServiceItems();
|
|
16405
16516
|
this._subscribeEvents();
|
|
16406
16517
|
};
|
|
16407
|
-
TieredMenuDirective.prototype.
|
|
16408
|
-
|
|
16409
|
-
|
|
16410
|
-
|
|
16411
|
-
|
|
16412
|
-
|
|
16413
|
-
|
|
16518
|
+
TieredMenuDirective.prototype.ngDoCheck = function () {
|
|
16519
|
+
if (!this.previousItems) {
|
|
16520
|
+
this.previousItems = this._tieredMenuService.cloneItems(this.items);
|
|
16521
|
+
}
|
|
16522
|
+
;
|
|
16523
|
+
var hasChanges = false;
|
|
16524
|
+
if (this.items.length !== this.previousItems.length) {
|
|
16525
|
+
hasChanges = true;
|
|
16414
16526
|
}
|
|
16527
|
+
else {
|
|
16528
|
+
for (var i = 0; i < this.items.length; i++) {
|
|
16529
|
+
if (!this._compareItems(this.items[i], this.previousItems[i])) {
|
|
16530
|
+
hasChanges = true;
|
|
16531
|
+
break;
|
|
16532
|
+
}
|
|
16533
|
+
}
|
|
16534
|
+
}
|
|
16535
|
+
if (hasChanges) {
|
|
16536
|
+
this._updateServiceItems();
|
|
16537
|
+
this._changeDetectorRef.detectChanges();
|
|
16538
|
+
this._rebuildMenu();
|
|
16539
|
+
}
|
|
16540
|
+
this.previousItems = this._tieredMenuService.cloneItems(this.items);
|
|
16415
16541
|
};
|
|
16416
16542
|
TieredMenuDirective.prototype.ngOnDestroy = function () {
|
|
16417
16543
|
this._unsubscribe$.next();
|
|
16418
16544
|
this._unsubscribe$.complete();
|
|
16419
16545
|
this._destroy();
|
|
16420
16546
|
};
|
|
16421
|
-
TieredMenuDirective.prototype.onResize = function () {
|
|
16422
|
-
if (!this.alwaysOpen) {
|
|
16423
|
-
this._tieredMenuEventService.emitCloseAllMenusEvent();
|
|
16424
|
-
}
|
|
16425
|
-
};
|
|
16426
|
-
TieredMenuDirective.prototype.onKeydownHandler = function (event) {
|
|
16427
|
-
if (!this._isOpen)
|
|
16428
|
-
return;
|
|
16429
|
-
switch (event.key) {
|
|
16430
|
-
case "Escape":
|
|
16431
|
-
this._tieredMenuEventService.emitCloseAllMenusEvent();
|
|
16432
|
-
break;
|
|
16433
|
-
case " ":
|
|
16434
|
-
case "Enter":
|
|
16435
|
-
this._tieredMenuEventService.emitSelectItemEvent(this._tieredMenuService.currentItem);
|
|
16436
|
-
break;
|
|
16437
|
-
case "ArrowLeft":
|
|
16438
|
-
// When nested I need a reference to the current item's parent item, otherwise just the current item.
|
|
16439
|
-
this._tieredMenuEventService.emitCloseItemMenuEvent(this._isNested ? this._tieredMenuService.currentItem.parent : this._tieredMenuService.currentItem);
|
|
16440
|
-
break;
|
|
16441
|
-
case "ArrowRight":
|
|
16442
|
-
this._tieredMenuEventService.emitOpenItemMenuEvent(this._tieredMenuService.currentItem);
|
|
16443
|
-
break;
|
|
16444
|
-
case "ArrowUp":
|
|
16445
|
-
this._tieredMenuEventService.emitDecrementCurrentItemEvent();
|
|
16446
|
-
break;
|
|
16447
|
-
case "ArrowDown":
|
|
16448
|
-
this._tieredMenuEventService.emitIncrementCurrentItemEvent();
|
|
16449
|
-
break;
|
|
16450
|
-
}
|
|
16451
|
-
};
|
|
16452
|
-
TieredMenuDirective.prototype.onClick = function (event) {
|
|
16453
|
-
if (this.triggerEvent === "click" && this.items && this.items && !this._isOpen) {
|
|
16454
|
-
this._lastActiveElement = document.activeElement;
|
|
16455
|
-
this._createMenu();
|
|
16456
|
-
event.preventDefault();
|
|
16457
|
-
event.stopPropagation();
|
|
16458
|
-
}
|
|
16459
|
-
};
|
|
16460
|
-
TieredMenuDirective.prototype.onDocumentClick = function (event) {
|
|
16461
|
-
// Closing menu when clicked outside.
|
|
16462
|
-
var target = event.target;
|
|
16463
|
-
var clickedInside = target.closest("s-tiered-menu-item") || target.closest("s-tiered-menu-divider");
|
|
16464
|
-
if (!clickedInside) {
|
|
16465
|
-
this._tieredMenuEventService.emitCloseAllMenusEvent();
|
|
16466
|
-
}
|
|
16467
|
-
};
|
|
16468
16547
|
TieredMenuDirective.prototype._createMenu = function () {
|
|
16469
|
-
var _a;
|
|
16470
|
-
if (!this._componentRef && this.items) {
|
|
16471
|
-
(
|
|
16548
|
+
var _a, _b, _c;
|
|
16549
|
+
if (!this._componentRef && ((_a = this._tieredMenuService.items) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
16550
|
+
(_b = this._tieredMenuGlobalService.lastInstance) === null || _b === void 0 ? void 0 : _b._destroy();
|
|
16551
|
+
this._tieredMenuGlobalService.lastInstance = this;
|
|
16552
|
+
(_c = this._lastActiveElement) === null || _c === void 0 ? void 0 : _c.blur();
|
|
16472
16553
|
this._isOpen = true;
|
|
16473
16554
|
this._isNested = document.body.clientWidth < 600;
|
|
16474
16555
|
this._isNested ? this._createNestedMenu() : this._createTieredMenu();
|
|
@@ -16476,145 +16557,176 @@ var TieredMenuDirective = /** @class */ (function () {
|
|
|
16476
16557
|
};
|
|
16477
16558
|
TieredMenuDirective.prototype._createTieredMenu = function () {
|
|
16478
16559
|
var _this = this;
|
|
16479
|
-
|
|
16560
|
+
var _a;
|
|
16561
|
+
if (!this._componentRef && ((_a = this._tieredMenuService.items) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
16480
16562
|
var componentFactory = this._componentFactoryResolver.resolveComponentFactory(TieredMenuComponent);
|
|
16481
16563
|
this._componentRef = componentFactory.create(this._injector);
|
|
16482
16564
|
this._appRef.attachView(this._componentRef.hostView);
|
|
16483
16565
|
var domElem = this._componentRef.hostView.rootNodes[0];
|
|
16484
16566
|
document.body.appendChild(domElem);
|
|
16485
16567
|
this._setMenuComponentProperties();
|
|
16486
|
-
this._componentRef.instance.destroyRequest
|
|
16487
|
-
.pipe(takeUntil(this._unsubscribe$))
|
|
16488
|
-
.subscribe(function () {
|
|
16568
|
+
this._componentRef.instance.destroyRequest.pipe(takeUntil(this._unsubscribe$)).subscribe(function () {
|
|
16489
16569
|
_this._destroy();
|
|
16490
16570
|
});
|
|
16491
|
-
this._menuDivElement = domElem.querySelector(".menu");
|
|
16492
16571
|
this._setMenuPosition();
|
|
16493
16572
|
}
|
|
16494
16573
|
};
|
|
16495
16574
|
TieredMenuDirective.prototype._createNestedMenu = function () {
|
|
16496
|
-
|
|
16575
|
+
var _a;
|
|
16576
|
+
if (!this._componentRef && ((_a = this._tieredMenuService.items) === null || _a === void 0 ? void 0 : _a.length) > 0) {
|
|
16497
16577
|
var componentFactory = this._componentFactoryResolver.resolveComponentFactory(TieredMenuNestedComponent);
|
|
16498
16578
|
this._componentRef = componentFactory.create(this._injector);
|
|
16499
16579
|
this._appRef.attachView(this._componentRef.hostView);
|
|
16500
16580
|
var domElem = this._componentRef.hostView.rootNodes[0];
|
|
16501
16581
|
document.body.appendChild(domElem);
|
|
16502
16582
|
this._setMenuComponentProperties();
|
|
16503
|
-
this._menuDivElement = domElem.querySelector(".menu");
|
|
16504
16583
|
this._setMenuPosition();
|
|
16505
16584
|
}
|
|
16506
16585
|
};
|
|
16507
16586
|
TieredMenuDirective.prototype._destroy = function () {
|
|
16508
|
-
|
|
16509
|
-
if (this._componentRef !== null && !this.alwaysOpen) {
|
|
16587
|
+
if (this._componentRef) {
|
|
16510
16588
|
this._isOpen = false;
|
|
16511
16589
|
window.clearTimeout(this._showTimeout);
|
|
16512
16590
|
this._appRef.detachView(this._componentRef.hostView);
|
|
16513
16591
|
this._componentRef.destroy();
|
|
16514
16592
|
this._componentRef = null;
|
|
16515
|
-
this._menuDivElement = null;
|
|
16516
|
-
(_a = this._lastActiveElement) === null || _a === void 0 ? void 0 : _a.focus();
|
|
16517
16593
|
this._tieredMenuService.currentItems = this._tieredMenuService.items;
|
|
16518
16594
|
this._tieredMenuService.currentItem = this._tieredMenuService.items[0];
|
|
16595
|
+
this._tieredMenuEventService.closeAllMenusEvent.emit();
|
|
16519
16596
|
}
|
|
16520
16597
|
};
|
|
16521
16598
|
TieredMenuDirective.prototype._setMenuPosition = function () {
|
|
16599
|
+
var _a, _b;
|
|
16600
|
+
var ITEM_HEIGHT = 37;
|
|
16601
|
+
var ITEM_WIDTH = 176;
|
|
16602
|
+
var DIVIDER_HEIGHT = 5;
|
|
16603
|
+
var PADDING = 8;
|
|
16604
|
+
var MARGIN = 4;
|
|
16522
16605
|
if (this._componentRef !== null) {
|
|
16523
|
-
|
|
16524
|
-
var
|
|
16525
|
-
var
|
|
16526
|
-
|
|
16527
|
-
|
|
16528
|
-
|
|
16529
|
-
|
|
16530
|
-
|
|
16531
|
-
|
|
16532
|
-
|
|
16533
|
-
|
|
16534
|
-
|
|
16606
|
+
this._componentRef.instance.top = 8;
|
|
16607
|
+
var _c = this._elementRef.nativeElement.getBoundingClientRect(), bottom = _c.bottom, left = _c.left, right = _c.right;
|
|
16608
|
+
var itemsCount = (_a = this._componentRef.instance.items) === null || _a === void 0 ? void 0 : _a.reduce(function (count, item) {
|
|
16609
|
+
return !item.divider ? count + 1 : count;
|
|
16610
|
+
}, 0);
|
|
16611
|
+
var dividersCount = (_b = this._componentRef.instance.items) === null || _b === void 0 ? void 0 : _b.reduce(function (count, item) {
|
|
16612
|
+
return item.divider ? count + 1 : count;
|
|
16613
|
+
}, 0);
|
|
16614
|
+
var menuHeight = itemsCount * ITEM_HEIGHT + dividersCount * DIVIDER_HEIGHT + PADDING + MARGIN;
|
|
16615
|
+
var rightFreeSpace = window.innerWidth - right;
|
|
16616
|
+
var bottomFreeSpace = window.innerHeight - bottom;
|
|
16617
|
+
this._componentRef.instance.top = bottom;
|
|
16618
|
+
this._componentRef.instance.left = left;
|
|
16619
|
+
if (bottomFreeSpace <= menuHeight) {
|
|
16620
|
+
this._componentRef.instance.top = Math.max(bottom - menuHeight, 0);
|
|
16535
16621
|
}
|
|
16536
16622
|
else {
|
|
16537
|
-
|
|
16538
|
-
|
|
16623
|
+
this._componentRef.instance.top = bottom + MARGIN;
|
|
16624
|
+
}
|
|
16625
|
+
if (rightFreeSpace > 176) {
|
|
16626
|
+
this._componentRef.instance.left = left;
|
|
16627
|
+
}
|
|
16628
|
+
else {
|
|
16629
|
+
this._componentRef.instance.left = right - ITEM_WIDTH;
|
|
16630
|
+
}
|
|
16631
|
+
if (this._isNested) {
|
|
16632
|
+
this._componentRef.instance.left = MARGIN;
|
|
16539
16633
|
}
|
|
16540
16634
|
}
|
|
16541
16635
|
};
|
|
16542
16636
|
TieredMenuDirective.prototype._setMenuComponentProperties = function () {
|
|
16543
16637
|
if (this._componentRef != null) {
|
|
16544
|
-
this._componentRef.instance.items = this.items;
|
|
16638
|
+
this._componentRef.instance.items = this._tieredMenuService.items;
|
|
16545
16639
|
}
|
|
16546
16640
|
};
|
|
16547
16641
|
TieredMenuDirective.prototype._subscribeEvents = function () {
|
|
16548
16642
|
var _this = this;
|
|
16549
|
-
this._tieredMenuEventService.closeAllMenusEvent
|
|
16550
|
-
.
|
|
16551
|
-
.subscribe(function () {
|
|
16552
|
-
_this.items = _this._tieredMenuService.markAllItemsAsClosed(_this.items);
|
|
16643
|
+
this._tieredMenuEventService.closeAllMenusEvent.pipe(takeUntil(this._unsubscribe$)).subscribe(function () {
|
|
16644
|
+
_this._tieredMenuService.items = _this._tieredMenuService.markAllItemsAsClosed(_this._tieredMenuService.items);
|
|
16553
16645
|
_this._destroy();
|
|
16554
16646
|
});
|
|
16555
16647
|
};
|
|
16648
|
+
TieredMenuDirective.prototype._compareItems = function (item1, item2) {
|
|
16649
|
+
return JSON.stringify(item1) === JSON.stringify(item2);
|
|
16650
|
+
};
|
|
16651
|
+
TieredMenuDirective.prototype._rebuildMenu = function () {
|
|
16652
|
+
this._destroy();
|
|
16653
|
+
};
|
|
16654
|
+
TieredMenuDirective.prototype._updateServiceItems = function () {
|
|
16655
|
+
this._tieredMenuService.items = this._tieredMenuService.normalizeData(this.items);
|
|
16656
|
+
this._tieredMenuService.currentItems = this._tieredMenuService.items;
|
|
16657
|
+
this._tieredMenuService.currentItem = this._tieredMenuService.items[0];
|
|
16658
|
+
};
|
|
16556
16659
|
TieredMenuDirective.ctorParameters = function () { return [
|
|
16557
16660
|
{ type: ElementRef },
|
|
16558
16661
|
{ type: ApplicationRef },
|
|
16559
16662
|
{ type: ComponentFactoryResolver },
|
|
16560
16663
|
{ type: Injector },
|
|
16561
16664
|
{ type: TieredMenuEventService },
|
|
16562
|
-
{ type: TieredMenuService }
|
|
16665
|
+
{ type: TieredMenuService },
|
|
16666
|
+
{ type: TieredMenuGlobalService },
|
|
16667
|
+
{ type: ChangeDetectorRef }
|
|
16563
16668
|
]; };
|
|
16564
16669
|
__decorate([
|
|
16565
16670
|
Input()
|
|
16566
16671
|
], TieredMenuDirective.prototype, "items", void 0);
|
|
16567
|
-
__decorate([
|
|
16568
|
-
Input()
|
|
16569
|
-
], TieredMenuDirective.prototype, "alwaysOpen", void 0);
|
|
16570
16672
|
__decorate([
|
|
16571
16673
|
Input()
|
|
16572
16674
|
], TieredMenuDirective.prototype, "triggerEvent", void 0);
|
|
16573
|
-
__decorate([
|
|
16574
|
-
HostListener("window:resize")
|
|
16575
|
-
], TieredMenuDirective.prototype, "onResize", null);
|
|
16576
|
-
__decorate([
|
|
16577
|
-
HostListener("document:keydown", ["$event"])
|
|
16578
|
-
], TieredMenuDirective.prototype, "onKeydownHandler", null);
|
|
16579
16675
|
__decorate([
|
|
16580
16676
|
HostListener("click", ["$event"])
|
|
16581
16677
|
], TieredMenuDirective.prototype, "onClick", null);
|
|
16582
|
-
__decorate([
|
|
16583
|
-
HostListener("document:click", ["$event"])
|
|
16584
|
-
], TieredMenuDirective.prototype, "onDocumentClick", null);
|
|
16585
16678
|
TieredMenuDirective = __decorate([
|
|
16586
16679
|
Directive({
|
|
16587
16680
|
selector: "[sTieredMenu]",
|
|
16681
|
+
providers: [TieredMenuEventService, TieredMenuService],
|
|
16588
16682
|
})
|
|
16589
16683
|
], TieredMenuDirective);
|
|
16590
16684
|
return TieredMenuDirective;
|
|
16591
16685
|
}());
|
|
16592
16686
|
|
|
16687
|
+
var TieredMenuDividerComponent = /** @class */ (function () {
|
|
16688
|
+
function TieredMenuDividerComponent() {
|
|
16689
|
+
}
|
|
16690
|
+
TieredMenuDividerComponent = __decorate([
|
|
16691
|
+
Component({
|
|
16692
|
+
selector: "s-tiered-menu-divider",
|
|
16693
|
+
template: "<div class=\"divider\"></div>",
|
|
16694
|
+
styles: [".divider{margin:2px 0;height:1px;background-color:#ccc}"]
|
|
16695
|
+
})
|
|
16696
|
+
], TieredMenuDividerComponent);
|
|
16697
|
+
return TieredMenuDividerComponent;
|
|
16698
|
+
}());
|
|
16699
|
+
|
|
16593
16700
|
var TieredMenuItemComponent = /** @class */ (function () {
|
|
16594
16701
|
function TieredMenuItemComponent(_tieredMenuEventService) {
|
|
16595
16702
|
this._tieredMenuEventService = _tieredMenuEventService;
|
|
16596
16703
|
this.focused = false;
|
|
16704
|
+
this.highlight = false;
|
|
16597
16705
|
this.triggerEvent = "click";
|
|
16598
16706
|
this.closeOnClick = false;
|
|
16599
16707
|
}
|
|
16600
16708
|
TieredMenuItemComponent.prototype.onClick = function () {
|
|
16709
|
+
if (this.item.disabled)
|
|
16710
|
+
return;
|
|
16601
16711
|
if (this.item.submenu) {
|
|
16602
16712
|
if (!this.item.isOpen) {
|
|
16603
|
-
this._tieredMenuEventService.
|
|
16713
|
+
this._tieredMenuEventService.openItemMenuEvent.emit(this.item);
|
|
16604
16714
|
}
|
|
16605
16715
|
else if (this.closeOnClick) {
|
|
16606
|
-
this._tieredMenuEventService.
|
|
16716
|
+
this._tieredMenuEventService.closeItemMenuEvent.emit(this.item);
|
|
16607
16717
|
}
|
|
16608
16718
|
}
|
|
16609
16719
|
else {
|
|
16610
|
-
this._tieredMenuEventService.
|
|
16720
|
+
this._tieredMenuEventService.selectItemEvent.emit(this.item);
|
|
16611
16721
|
}
|
|
16612
16722
|
};
|
|
16613
16723
|
TieredMenuItemComponent.prototype.onMouseEnter = function () {
|
|
16614
16724
|
var _this = this;
|
|
16725
|
+
if (this.item.disabled)
|
|
16726
|
+
return;
|
|
16615
16727
|
if (this.triggerEvent === "hover" && !this.item.isOpen) {
|
|
16616
16728
|
this._showTimeout = window.setTimeout(function () {
|
|
16617
|
-
_this._tieredMenuEventService.
|
|
16729
|
+
_this._tieredMenuEventService.openItemMenuEvent.emit(_this.item);
|
|
16618
16730
|
}, 300);
|
|
16619
16731
|
}
|
|
16620
16732
|
};
|
|
@@ -16630,6 +16742,9 @@ var TieredMenuItemComponent = /** @class */ (function () {
|
|
|
16630
16742
|
__decorate([
|
|
16631
16743
|
Input()
|
|
16632
16744
|
], TieredMenuItemComponent.prototype, "focused", void 0);
|
|
16745
|
+
__decorate([
|
|
16746
|
+
Input()
|
|
16747
|
+
], TieredMenuItemComponent.prototype, "highlight", void 0);
|
|
16633
16748
|
__decorate([
|
|
16634
16749
|
Input()
|
|
16635
16750
|
], TieredMenuItemComponent.prototype, "triggerEvent", void 0);
|
|
@@ -16649,26 +16764,13 @@ var TieredMenuItemComponent = /** @class */ (function () {
|
|
|
16649
16764
|
TieredMenuItemComponent = __decorate([
|
|
16650
16765
|
Component({
|
|
16651
16766
|
selector: "s-tiered-menu-item",
|
|
16652
|
-
template: "<div\n [id]=\"item.id\"\n class=\"tiered-menu-item\"\n [ngClass]=\"{\n 'tiered-menu-item--open': item.isOpen,\n 'tiered-menu-item--focused': focused\n }\">\n <div class=\"tiered-menu-item-content\">\n <span class=\"icon\" [ngClass]=\"item.iconClass\"></span>\n <span class=\"label\">{{ item.label }}</span>\n </div>\n <span\n *ngIf=\"item.submenu\"\n class=\"submenu-icon\"\n [ngClass]=\"{\n 'fas': true,\n 'fa-chevron-left': item.isOpen,\n 'fa-chevron-right': !item.isOpen\n }\">\n </span>\n</div>",
|
|
16653
|
-
styles: [".tiered-menu-item{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:8px 16px;-webkit-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.tiered-menu-item .tiered-menu-item-content .label{margin:0 12px}.tiered-menu-item:hover{background-color:#e9e6e6}.tiered-menu-item--focused{background-color:#ccc!important}.tiered-menu-item--open{background-color:#e4e2e2}"]
|
|
16767
|
+
template: "<div\n [id]=\"item.id\"\n class=\"tiered-menu-item\"\n [ngClass]=\"{\n 'tiered-menu-item--open': item.isOpen,\n 'tiered-menu-item--focused': focused,\n 'tiered-menu-item--disabled': item.disabled\n }\">\n <div class=\"tiered-menu-item-content\">\n <span class=\"icon\" [ngClass]=\"item.iconClass\"></span>\n <span class=\"label\">{{ item.label }}</span>\n </div>\n <span\n *ngIf=\"item.submenu\"\n class=\"submenu-icon\"\n [ngClass]=\"{\n 'fas': true,\n 'fa-chevron-left': item.isOpen,\n 'fa-chevron-right': !item.isOpen\n }\">\n </span>\n</div>",
|
|
16768
|
+
styles: [".tiered-menu-item{-ms-flex-align:center;align-items:center;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;padding:8px 16px;-webkit-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.tiered-menu-item .tiered-menu-item-content .label{margin:0 12px}.tiered-menu-item:hover{background-color:#e9e6e6}.tiered-menu-item--focused{background-color:#ccc!important}.tiered-menu-item--open{background-color:#e4e2e2}.tiered-menu-item--disabled{opacity:50%;cursor:default}"]
|
|
16654
16769
|
})
|
|
16655
16770
|
], TieredMenuItemComponent);
|
|
16656
16771
|
return TieredMenuItemComponent;
|
|
16657
16772
|
}());
|
|
16658
16773
|
|
|
16659
|
-
var TieredMenuDividerComponent = /** @class */ (function () {
|
|
16660
|
-
function TieredMenuDividerComponent() {
|
|
16661
|
-
}
|
|
16662
|
-
TieredMenuDividerComponent = __decorate([
|
|
16663
|
-
Component({
|
|
16664
|
-
selector: "s-tiered-menu-divider",
|
|
16665
|
-
template: "<div class=\"divider\"></div>",
|
|
16666
|
-
styles: [".divider{margin:2px 0;height:1px;background-color:#ccc}"]
|
|
16667
|
-
})
|
|
16668
|
-
], TieredMenuDividerComponent);
|
|
16669
|
-
return TieredMenuDividerComponent;
|
|
16670
|
-
}());
|
|
16671
|
-
|
|
16672
16774
|
var TieredMenuModule = /** @class */ (function () {
|
|
16673
16775
|
function TieredMenuModule() {
|
|
16674
16776
|
}
|
|
@@ -16685,10 +16787,7 @@ var TieredMenuModule = /** @class */ (function () {
|
|
|
16685
16787
|
TieredMenuDividerComponent,
|
|
16686
16788
|
],
|
|
16687
16789
|
exports: [TieredMenuDirective],
|
|
16688
|
-
providers: [
|
|
16689
|
-
TieredMenuEventService,
|
|
16690
|
-
TieredMenuService,
|
|
16691
|
-
],
|
|
16790
|
+
providers: [TieredMenuGlobalService],
|
|
16692
16791
|
})
|
|
16693
16792
|
], TieredMenuModule);
|
|
16694
16793
|
return TieredMenuModule;
|
|
@@ -17648,5 +17747,5 @@ var fallback = {
|
|
|
17648
17747
|
* Generated bundle index. Do not edit.
|
|
17649
17748
|
*/
|
|
17650
17749
|
|
|
17651
|
-
export { AccordionComponent, AccordionModule, AccordionPanelComponent, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, CardComponent, CardModule, CardTemplateTypes, ChipsField, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CountryPhonePickerComponent, CountryPhonePickerModule, CurrencyField, CustomFieldsComponent, CustomFieldsModule, CustomFieldsService, DEFAULT_CALENDAR_LOCALE_OPTIONS, DEFAULT_LOCALE_OPTIONS, DEFAULT_NUMBER_LOCALE_OPTIONS, DebounceUtils, DoubleClickDirective, DynamicConfig, DynamicFormComponent, DynamicFormModule, DynamicType, EditableOverlayDirective, EditableOverlayModule, EmptyStateComponent, EmptyStateModule, EnumBadgeColors, EnumColumnFieldType, EnumSeverity, ExportUtils, Field, FieldType, Fieldset, FileUploadComponent, FileUploadModule, FileValidation, FormField, GanttComponent, GanttModule, GlobalSearchComponent, GlobalSearchDropdownItemComponent, GlobalSearchModule, GlobalSearchSizeEnum, HostProjectConfigsInjectionToken, IAInsightComponent, IAInsightModule, IAInsightTemplateTypes, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, KanbanComponent, KanbanModule, KanbanTemplateTypes, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, ObjectCardComponent, ObjectCardFieldComponent, ObjectCardMainComponent, ObjectCardModule, Option, Ordination, PanelComponent, PanelModule, PasswordField, PasswordStrengthComponent, PasswordStrengthDirective, PasswordStrengthModule, PasswordStrengthPositions, PasswordStrengths, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, RowTogllerDirective, SVGFactoryDirective, SVGFactoryModule, Section, SelectButtonComponent, SelectButtonModule, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TextAreaField, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, countries, fallback, TooltipComponent as ɵa, TooltipDirective as ɵb, LocalizedNumberInputModule as ɵba, NumberInputModule as ɵbb, NumberFieldComponent as ɵbc, CurrencyFieldModule as ɵbd, CurrencyFieldComponent as ɵbe, NumberFieldModule$1 as ɵbf, BignumberInputModule as ɵbg, BignumberFieldComponent as ɵbh, AutocompleteFieldComponent as ɵbi, BooleanFieldComponent as ɵbj, BooleanSwitchFieldComponent as ɵbk, CalendarFieldComponent as ɵbl, ChipsFieldComponent as ɵbm, CountryPhonePickerFieldComponent as ɵbn, DynamicFieldComponent as ɵbo, DynamicFormDirective as ɵbp, FieldsetComponent as ɵbq, FileUploadComponent$1 as ɵbr, LookupFieldComponent as ɵbs, PasswordFieldComponent as ɵbt, RadioButtonComponent as ɵbu, RowComponent as ɵbv, SectionComponent as ɵbw, SelectFieldComponent as ɵbx, SliderFieldComponent as ɵby, TextAreaFieldComponent as ɵbz, TemplateDirective as ɵc, TextAreaIAFieldComponent as ɵca, IAssistService as ɵcb, DecimalField as ɵcd, SideTableComponent as ɵce, ThumbnailService as ɵcf, InfiniteScrollModule as ɵcg, InfiniteScrollDirective as ɵch, IAInsightSidebarComponent as ɵci, IAInsightCardComponent as ɵcj, IAInsightCardLoaderComponent as ɵck, StructureModule as ɵcl, HeaderComponent as ɵcm, FooterComponent as ɵcn, KanbanEventService as ɵco, KanbanItemComponent as ɵcp, KanbanColumnComponent as ɵcq, KanbanItemDraggingComponent as ɵcr, NumberLocaleOptions as ɵcs, BorderButtonModule as ɵct, BorderButtonComponent as ɵcu, ProgressBarDeterminateComponent as ɵcv, ProgressBarIndeterminateComponent as ɵcw, SelectButtonItemComponent as ɵcx, SlidePanelService as ɵcy, TieredMenuEventService as ɵcz, TemplateModule as ɵd, TieredMenuService as ɵda,
|
|
17750
|
+
export { AccordionComponent, AccordionModule, AccordionPanelComponent, AngularComponentsModule, AutocompleteField, BadgeColors, BadgeComponent, BadgeModule, BaseFieldComponent, BignumberField, BignumberInputDirective, BignumberInputModule, BooleanField, BooleanOptionsLabel, BreadcrumbComponent, BreadcrumbModule, Breakpoints, ButtonComponent, ButtonModule, ButtonPriority, ButtonSize, CalendarField, CalendarLocaleOptions, CalendarMaskDirective, CalendarMaskModule, CardComponent, CardModule, CardTemplateTypes, ChipsField, CodeEditorModule, CollapseLinkComponent, CollapseLinkModule, ControlErrorsComponent, ControlErrorsModule, CountryPhonePickerComponent, CountryPhonePickerModule, CurrencyField, CustomFieldsComponent, CustomFieldsModule, CustomFieldsService, DEFAULT_CALENDAR_LOCALE_OPTIONS, DEFAULT_LOCALE_OPTIONS, DEFAULT_NUMBER_LOCALE_OPTIONS, DebounceUtils, DoubleClickDirective, DynamicConfig, DynamicFormComponent, DynamicFormModule, DynamicType, EditableOverlayDirective, EditableOverlayModule, EmptyStateComponent, EmptyStateModule, EnumBadgeColors, EnumColumnFieldType, EnumSeverity, ExportUtils, Field, FieldType, Fieldset, FileUploadComponent, FileUploadModule, FileValidation, FormField, GanttComponent, GanttModule, GlobalSearchComponent, GlobalSearchDropdownItemComponent, GlobalSearchModule, GlobalSearchSizeEnum, HostProjectConfigsInjectionToken, IAInsightComponent, IAInsightModule, IAInsightTemplateTypes, ImageCropperComponent, ImageCropperModule, ImageCropperService, InfoSignDirective, InfoSignModule, KanbanComponent, KanbanModule, KanbanTemplateTypes, Languages, LoadingStateComponent, LoadingStateDirective, LoadingStateModule, LocaleModule, LocaleOptions, LocaleService, LocalizedCurrencyPipe, LocalizedCurrencyPipeOptions, LocalizedDateImpurePipe, LocalizedDatePipe, LocalizedNumberInputDirective, LocalizedNumberInputModule, LocalizedNumberPipe, LocalizedTimeImpurePipe, LocalizedTimePipe, LongPressDirective, LookupComponent, LookupField, MaskFormatterModule, MaskFormatterPipe, MouseEventsModule, NavigationDirective, NumberAlignmentOption, NumberField, NumberInputDirective, NumberInputModule, NumberLocaleOptions, ObjectCardComponent, ObjectCardFieldComponent, ObjectCardMainComponent, ObjectCardModule, Option, Ordination, PanelComponent, PanelModule, PasswordField, PasswordStrengthComponent, PasswordStrengthDirective, PasswordStrengthModule, PasswordStrengthPositions, PasswordStrengths, ProductHeaderComponent, ProductHeaderModule, ProfilePicturePickerComponent, ProfilePicturePickerModule, ProgressBarColors, ProgressBarComponent, ProgressBarModule, RadioButtonField, RatingScaleComponent, RatingScaleModule, RationButtonOption, RowTogllerDirective, SVGFactoryDirective, SVGFactoryModule, Section, SelectButtonComponent, SelectButtonModule, SelectField, SelectOption, SidebarComponent, SidebarModule, SlidePanelComponent, SlidePanelModule, SplitButtonComponent, SplitButtonModule, SplitButtonType, StatsCardComponent, StatsCardModule, StepState, StepsComponent, StepsModule, Structure, SwitchComponent, SwitchModule, TableFrozenPositionDirective, TableHeaderCheckboxComponent, TableHeaderCheckboxModule, TableModule, TaxCalculationLanguageConfigs, TextAreaField, TextField, Themes, ThumbnailComponent, ThumbnailModule, ThumbnailSize, TieredMenuDirective, TieredMenuModule, TileComponent, TileModule, TimelineComponent, TimelineItem, TimelineItemSeverity, TimelineItemSize, TimelineModule, TokenListComponent, TokenListModule, TooltipModule, TooltipPosition, ValidateErrors, ViewMode, WorkspaceSwitchComponent, WorkspaceSwitchModule, countries, fallback, TooltipComponent as ɵa, TooltipDirective as ɵb, LocalizedNumberInputModule as ɵba, NumberInputModule as ɵbb, NumberFieldComponent as ɵbc, CurrencyFieldModule as ɵbd, CurrencyFieldComponent as ɵbe, NumberFieldModule$1 as ɵbf, BignumberInputModule as ɵbg, BignumberFieldComponent as ɵbh, AutocompleteFieldComponent as ɵbi, BooleanFieldComponent as ɵbj, BooleanSwitchFieldComponent as ɵbk, CalendarFieldComponent as ɵbl, ChipsFieldComponent as ɵbm, CountryPhonePickerFieldComponent as ɵbn, DynamicFieldComponent as ɵbo, DynamicFormDirective as ɵbp, FieldsetComponent as ɵbq, FileUploadComponent$1 as ɵbr, LookupFieldComponent as ɵbs, PasswordFieldComponent as ɵbt, RadioButtonComponent as ɵbu, RowComponent as ɵbv, SectionComponent as ɵbw, SelectFieldComponent as ɵbx, SliderFieldComponent as ɵby, TextAreaFieldComponent as ɵbz, TemplateDirective as ɵc, TextAreaIAFieldComponent as ɵca, IAssistService as ɵcb, DecimalField as ɵcd, SideTableComponent as ɵce, ThumbnailService as ɵcf, InfiniteScrollModule as ɵcg, InfiniteScrollDirective as ɵch, IAInsightSidebarComponent as ɵci, IAInsightCardComponent as ɵcj, IAInsightCardLoaderComponent as ɵck, StructureModule as ɵcl, HeaderComponent as ɵcm, FooterComponent as ɵcn, KanbanEventService as ɵco, KanbanItemComponent as ɵcp, KanbanColumnComponent as ɵcq, KanbanItemDraggingComponent as ɵcr, NumberLocaleOptions as ɵcs, BorderButtonModule as ɵct, BorderButtonComponent as ɵcu, ProgressBarDeterminateComponent as ɵcv, ProgressBarIndeterminateComponent as ɵcw, SelectButtonItemComponent as ɵcx, SlidePanelService as ɵcy, TieredMenuEventService as ɵcz, TemplateModule as ɵd, TieredMenuService as ɵda, TieredMenuGlobalService as ɵdb, TieredMenuComponent as ɵdc, TieredMenuNestedComponent as ɵdd, TieredMenuItemComponent as ɵde, TieredMenuDividerComponent as ɵdf, TimelineItemModule as ɵdg, TimelineIconItemComponent as ɵdh, HorizontalTimelineModule as ɵdi, HorizontalTimelineComponent as ɵdj, VerticalTimelineModule as ɵdk, VerticalTimelineComponent as ɵdl, RangeLineComponent as ɵdm, CollapseOptionComponent as ɵdn, CollapsedItemsComponent as ɵdo, VerticalItemsComponent as ɵdp, CustomTranslationsModule as ɵe, CodeEditorComponent as ɵf, CoreFacade as ɵg, CodeMirror6Core as ɵh, CountryPhonePickerService as ɵi, LocalizedCurrencyImpurePipe as ɵj, LocalizedBignumberPipe as ɵk, LocalizedBignumberImpurePipe as ɵl, NumericPipe as ɵm, NumericService as ɵn, EmptyStateGoBackComponent as ɵo, IAssistIconComponent as ɵp, SeniorIconComponent as ɵq, DotsIndicatorComponent as ɵr, LoadingIndicatorComponent as ɵs, FileUploadService as ɵt, InfoSignComponent as ɵu, TableColumnsComponent as ɵv, TablePagingComponent as ɵw, TextFieldModule as ɵx, TextFieldComponent as ɵy, NumberFieldModule as ɵz };
|
|
17652
17751
|
//# sourceMappingURL=seniorsistemas-angular-components.js.map
|