@tilde-nlp/ngx-menu 6.1.39 → 6.1.40
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.
|
@@ -844,8 +844,9 @@ class MenuColumnsComponent {
|
|
|
844
844
|
}] }); })();
|
|
845
845
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(MenuColumnsComponent, { className: "MenuColumnsComponent", filePath: "lib\\components\\menu-columns\\menu-columns.component.ts", lineNumber: 16 }); })();
|
|
846
846
|
|
|
847
|
+
const _c0 = ["*"];
|
|
847
848
|
const _forTrack0 = ($index, $item) => $item.label;
|
|
848
|
-
const
|
|
849
|
+
const _c1 = (a0, a1) => ({ icon: a0, label: a1 });
|
|
849
850
|
function SideNavMenuComponent_a_14_Template(rf, ctx) { if (rf & 1) {
|
|
850
851
|
const _r2 = i0.ɵɵgetCurrentView();
|
|
851
852
|
i0.ɵɵelementStart(0, "a", 6);
|
|
@@ -865,115 +866,115 @@ function SideNavMenuComponent_a_14_Template(rf, ctx) { if (rf & 1) {
|
|
|
865
866
|
i0.ɵɵadvance(2);
|
|
866
867
|
i0.ɵɵtextInterpolate1(" ", ctx_r2.productName, " ");
|
|
867
868
|
} }
|
|
868
|
-
function
|
|
869
|
+
function SideNavMenuComponent_Conditional_30_Template(rf, ctx) { if (rf & 1) {
|
|
869
870
|
i0.ɵɵtext(0);
|
|
870
871
|
} if (rf & 2) {
|
|
871
872
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
872
873
|
i0.ɵɵtextInterpolate1(" ", ctx_r2.userInitials, " ");
|
|
873
874
|
} }
|
|
874
|
-
function
|
|
875
|
+
function SideNavMenuComponent_Conditional_31_Template(rf, ctx) { if (rf & 1) {
|
|
875
876
|
i0.ɵɵelementStart(0, "mat-icon");
|
|
876
877
|
i0.ɵɵtext(1, "person");
|
|
877
878
|
i0.ɵɵelementEnd();
|
|
878
879
|
} }
|
|
879
|
-
function
|
|
880
|
-
i0.ɵɵelementStart(0, "mat-icon",
|
|
880
|
+
function SideNavMenuComponent_ng_container_32_mat_icon_4_Template(rf, ctx) { if (rf & 1) {
|
|
881
|
+
i0.ɵɵelementStart(0, "mat-icon", 26);
|
|
881
882
|
i0.ɵɵtext(1);
|
|
882
883
|
i0.ɵɵelementEnd();
|
|
883
884
|
} if (rf & 2) {
|
|
884
885
|
i0.ɵɵadvance();
|
|
885
886
|
i0.ɵɵtextInterpolate("keyboard_arrow_down");
|
|
886
887
|
} }
|
|
887
|
-
function
|
|
888
|
-
i0.ɵɵelementStart(0, "mat-icon",
|
|
888
|
+
function SideNavMenuComponent_ng_container_32_ng_template_5_Template(rf, ctx) { if (rf & 1) {
|
|
889
|
+
i0.ɵɵelementStart(0, "mat-icon", 26);
|
|
889
890
|
i0.ɵɵtext(1);
|
|
890
891
|
i0.ɵɵelementEnd();
|
|
891
892
|
} if (rf & 2) {
|
|
892
893
|
i0.ɵɵadvance();
|
|
893
894
|
i0.ɵɵtextInterpolate("keyboard_arrow_up");
|
|
894
895
|
} }
|
|
895
|
-
function
|
|
896
|
+
function SideNavMenuComponent_ng_container_32_Template(rf, ctx) { if (rf & 1) {
|
|
896
897
|
i0.ɵɵelementContainerStart(0);
|
|
897
|
-
i0.ɵɵelementStart(1, "span",
|
|
898
|
+
i0.ɵɵelementStart(1, "span", 24);
|
|
898
899
|
i0.ɵɵtext(2);
|
|
899
900
|
i0.ɵɵpipe(3, "translate");
|
|
900
901
|
i0.ɵɵelementEnd();
|
|
901
|
-
i0.ɵɵtemplate(4,
|
|
902
|
+
i0.ɵɵtemplate(4, SideNavMenuComponent_ng_container_32_mat_icon_4_Template, 2, 1, "mat-icon", 25)(5, SideNavMenuComponent_ng_container_32_ng_template_5_Template, 2, 1, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
|
|
902
903
|
i0.ɵɵelementContainerEnd();
|
|
903
904
|
} if (rf & 2) {
|
|
904
905
|
let tmp_5_0;
|
|
905
906
|
const iconDown_r4 = i0.ɵɵreference(6);
|
|
906
907
|
const ctx_r2 = i0.ɵɵnextContext();
|
|
907
|
-
const state_r5 = i0.ɵɵreference(
|
|
908
|
+
const state_r5 = i0.ɵɵreference(28);
|
|
908
909
|
i0.ɵɵadvance(2);
|
|
909
910
|
i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 3, (tmp_5_0 = ctx_r2.username) !== null && tmp_5_0 !== undefined ? tmp_5_0 : "MENU.ANONYMOUS"), " ");
|
|
910
911
|
i0.ɵɵadvance(2);
|
|
911
912
|
i0.ɵɵproperty("ngIf", state_r5.menuOpen)("ngIfElse", iconDown_r4);
|
|
912
913
|
} }
|
|
913
|
-
function
|
|
914
|
+
function SideNavMenuComponent_For_36_Conditional_0_Conditional_0_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
914
915
|
i0.ɵɵelementContainer(0);
|
|
915
916
|
} }
|
|
916
|
-
function
|
|
917
|
+
function SideNavMenuComponent_For_36_Conditional_0_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
917
918
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
918
|
-
i0.ɵɵelementStart(0, "a",
|
|
919
|
-
i0.ɵɵlistener("click", function
|
|
920
|
-
i0.ɵɵtemplate(1,
|
|
919
|
+
i0.ɵɵelementStart(0, "a", 30);
|
|
920
|
+
i0.ɵɵlistener("click", function SideNavMenuComponent_For_36_Conditional_0_Conditional_0_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r6); const item_r7 = i0.ɵɵnextContext(2).$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.linkCallback(item_r7.link)); });
|
|
921
|
+
i0.ɵɵtemplate(1, SideNavMenuComponent_For_36_Conditional_0_Conditional_0_ng_container_1_Template, 1, 0, "ng-container", 31);
|
|
921
922
|
i0.ɵɵelementEnd();
|
|
922
923
|
} if (rf & 2) {
|
|
923
924
|
const item_r7 = i0.ɵɵnextContext(2).$implicit;
|
|
924
925
|
i0.ɵɵnextContext();
|
|
925
|
-
const profileMenuItem_r8 = i0.ɵɵreference(
|
|
926
|
+
const profileMenuItem_r8 = i0.ɵɵreference(38);
|
|
926
927
|
i0.ɵɵproperty("href", item_r7.link.href, i0.ɵɵsanitizeUrl);
|
|
927
928
|
i0.ɵɵadvance();
|
|
928
|
-
i0.ɵɵproperty("ngTemplateOutlet", profileMenuItem_r8)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3,
|
|
929
|
+
i0.ɵɵproperty("ngTemplateOutlet", profileMenuItem_r8)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c1, item_r7.icon, item_r7.label));
|
|
929
930
|
} }
|
|
930
|
-
function
|
|
931
|
+
function SideNavMenuComponent_For_36_Conditional_0_Conditional_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
931
932
|
i0.ɵɵelementContainer(0);
|
|
932
933
|
} }
|
|
933
|
-
function
|
|
934
|
+
function SideNavMenuComponent_For_36_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
934
935
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
935
|
-
i0.ɵɵelementStart(0, "a",
|
|
936
|
-
i0.ɵɵlistener("click", function
|
|
937
|
-
i0.ɵɵtemplate(1,
|
|
936
|
+
i0.ɵɵelementStart(0, "a", 32);
|
|
937
|
+
i0.ɵɵlistener("click", function SideNavMenuComponent_For_36_Conditional_0_Conditional_1_Template_a_click_0_listener() { i0.ɵɵrestoreView(_r9); const item_r7 = i0.ɵɵnextContext(2).$implicit; const ctx_r2 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r2.linkCallback(item_r7.link)); });
|
|
938
|
+
i0.ɵɵtemplate(1, SideNavMenuComponent_For_36_Conditional_0_Conditional_1_ng_container_1_Template, 1, 0, "ng-container", 31);
|
|
938
939
|
i0.ɵɵelementEnd();
|
|
939
940
|
} if (rf & 2) {
|
|
940
941
|
const item_r7 = i0.ɵɵnextContext(2).$implicit;
|
|
941
942
|
i0.ɵɵnextContext();
|
|
942
|
-
const profileMenuItem_r8 = i0.ɵɵreference(
|
|
943
|
+
const profileMenuItem_r8 = i0.ɵɵreference(38);
|
|
943
944
|
i0.ɵɵproperty("routerLink", item_r7.link.href);
|
|
944
945
|
i0.ɵɵadvance();
|
|
945
|
-
i0.ɵɵproperty("ngTemplateOutlet", profileMenuItem_r8)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3,
|
|
946
|
+
i0.ɵɵproperty("ngTemplateOutlet", profileMenuItem_r8)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c1, item_r7.icon, item_r7.label));
|
|
946
947
|
} }
|
|
947
|
-
function
|
|
948
|
-
i0.ɵɵtemplate(0,
|
|
948
|
+
function SideNavMenuComponent_For_36_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
949
|
+
i0.ɵɵtemplate(0, SideNavMenuComponent_For_36_Conditional_0_Conditional_0_Template, 2, 6, "a", 28)(1, SideNavMenuComponent_For_36_Conditional_0_Conditional_1_Template, 2, 6, "a", 29);
|
|
949
950
|
} if (rf & 2) {
|
|
950
951
|
const item_r7 = i0.ɵɵnextContext().$implicit;
|
|
951
952
|
i0.ɵɵconditional(item_r7.link.isExternal ? 0 : 1);
|
|
952
953
|
} }
|
|
953
|
-
function
|
|
954
|
+
function SideNavMenuComponent_For_36_Conditional_1_ng_container_1_Template(rf, ctx) { if (rf & 1) {
|
|
954
955
|
i0.ɵɵelementContainer(0);
|
|
955
956
|
} }
|
|
956
|
-
function
|
|
957
|
+
function SideNavMenuComponent_For_36_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
957
958
|
const _r10 = i0.ɵɵgetCurrentView();
|
|
958
|
-
i0.ɵɵelementStart(0, "button",
|
|
959
|
-
i0.ɵɵlistener("click", function
|
|
960
|
-
i0.ɵɵtemplate(1,
|
|
959
|
+
i0.ɵɵelementStart(0, "button", 33);
|
|
960
|
+
i0.ɵɵlistener("click", function SideNavMenuComponent_For_36_Conditional_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r10); const item_r7 = i0.ɵɵnextContext().$implicit; return i0.ɵɵresetView(item_r7.button == null ? null : item_r7.button.callback()); });
|
|
961
|
+
i0.ɵɵtemplate(1, SideNavMenuComponent_For_36_Conditional_1_ng_container_1_Template, 1, 0, "ng-container", 31);
|
|
961
962
|
i0.ɵɵelementEnd();
|
|
962
963
|
} if (rf & 2) {
|
|
963
964
|
const item_r7 = i0.ɵɵnextContext().$implicit;
|
|
964
965
|
i0.ɵɵnextContext();
|
|
965
|
-
const profileMenuItem_r8 = i0.ɵɵreference(
|
|
966
|
+
const profileMenuItem_r8 = i0.ɵɵreference(38);
|
|
966
967
|
i0.ɵɵadvance();
|
|
967
|
-
i0.ɵɵproperty("ngTemplateOutlet", profileMenuItem_r8)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2,
|
|
968
|
+
i0.ɵɵproperty("ngTemplateOutlet", profileMenuItem_r8)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c1, item_r7.icon, item_r7.label));
|
|
968
969
|
} }
|
|
969
|
-
function
|
|
970
|
-
i0.ɵɵtemplate(0,
|
|
970
|
+
function SideNavMenuComponent_For_36_Template(rf, ctx) { if (rf & 1) {
|
|
971
|
+
i0.ɵɵtemplate(0, SideNavMenuComponent_For_36_Conditional_0_Template, 2, 1)(1, SideNavMenuComponent_For_36_Conditional_1_Template, 2, 5, "button", 27);
|
|
971
972
|
} if (rf & 2) {
|
|
972
973
|
const item_r7 = ctx.$implicit;
|
|
973
974
|
i0.ɵɵconditional(item_r7.link ? 0 : 1);
|
|
974
975
|
} }
|
|
975
|
-
function
|
|
976
|
-
i0.ɵɵelementStart(0, "span",
|
|
976
|
+
function SideNavMenuComponent_ng_template_37_Conditional_0_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
977
|
+
i0.ɵɵelementStart(0, "span", 36);
|
|
977
978
|
i0.ɵɵtext(1);
|
|
978
979
|
i0.ɵɵelementEnd();
|
|
979
980
|
} if (rf & 2) {
|
|
@@ -982,20 +983,20 @@ function SideNavMenuComponent_ng_template_35_Conditional_0_Conditional_0_Templat
|
|
|
982
983
|
i0.ɵɵadvance();
|
|
983
984
|
i0.ɵɵtextInterpolate1(" ", icon_r11 == null ? null : icon_r11.name, " ");
|
|
984
985
|
} }
|
|
985
|
-
function
|
|
986
|
-
i0.ɵɵelement(0, "mat-icon",
|
|
986
|
+
function SideNavMenuComponent_ng_template_37_Conditional_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
|
|
987
|
+
i0.ɵɵelement(0, "mat-icon", 35);
|
|
987
988
|
} if (rf & 2) {
|
|
988
989
|
const icon_r11 = i0.ɵɵnextContext(2).icon;
|
|
989
990
|
i0.ɵɵproperty("svgIcon", icon_r11 == null ? null : icon_r11.name);
|
|
990
991
|
} }
|
|
991
|
-
function
|
|
992
|
-
i0.ɵɵtemplate(0,
|
|
992
|
+
function SideNavMenuComponent_ng_template_37_Conditional_0_Template(rf, ctx) { if (rf & 1) {
|
|
993
|
+
i0.ɵɵtemplate(0, SideNavMenuComponent_ng_template_37_Conditional_0_Conditional_0_Template, 2, 3, "span", 34)(1, SideNavMenuComponent_ng_template_37_Conditional_0_Conditional_1_Template, 1, 1, "mat-icon", 35);
|
|
993
994
|
} if (rf & 2) {
|
|
994
995
|
const icon_r11 = i0.ɵɵnextContext().icon;
|
|
995
996
|
i0.ɵɵconditional(!(icon_r11 == null ? null : icon_r11.isCustom) ? 0 : 1);
|
|
996
997
|
} }
|
|
997
|
-
function
|
|
998
|
-
i0.ɵɵtemplate(0,
|
|
998
|
+
function SideNavMenuComponent_ng_template_37_Template(rf, ctx) { if (rf & 1) {
|
|
999
|
+
i0.ɵɵtemplate(0, SideNavMenuComponent_ng_template_37_Conditional_0_Template, 2, 1);
|
|
999
1000
|
i0.ɵɵtext(1);
|
|
1000
1001
|
i0.ɵɵpipe(2, "translate");
|
|
1001
1002
|
} if (rf & 2) {
|
|
@@ -1098,8 +1099,9 @@ class SideNavMenuComponent extends NavBaseComponent {
|
|
|
1098
1099
|
this.userInitials = splittedUsername[0][0] + splittedUsername[1][0];
|
|
1099
1100
|
}
|
|
1100
1101
|
static { this.ɵfac = function SideNavMenuComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || SideNavMenuComponent)(i0.ɵɵdirectiveInject(i1.StrapiLinkService), i0.ɵɵdirectiveInject(i2.DOMService), i0.ɵɵdirectiveInject(MenuItemsService)); }; }
|
|
1101
|
-
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SideNavMenuComponent, selectors: [["lib-side-nav-menu"]], inputs: { username: "username", menuSettings: "menuSettings", productName: "productName" }, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
1102
|
+
static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SideNavMenuComponent, selectors: [["lib-side-nav-menu"]], inputs: { username: "username", menuSettings: "menuSettings", productName: "productName" }, features: [i0.ɵɵInheritDefinitionFeature], ngContentSelectors: _c0, decls: 39, vars: 35, consts: [["state", "matMenuTrigger"], ["menu", "matMenu"], ["profileMenuItem", ""], ["iconDown", ""], ["fxHide.gt-xs", ""], [1, "mobile-header", 3, "fxHide"], ["fxFlex", "3.125em", "fxLayoutAlign", "start center", 3, "click", "libPlausibleEvent", "href"], ["height", "40", "width", "40", "alt", "logo", 1, "menu-logo", 3, "src"], [1, "menu-product-name"], ["mat-icon-button", "", 1, "toggler", 3, "click", "libPlausibleEvent"], ["fxLayout", "column", 1, "menu-container", 3, "ngClass.lt-sm"], ["fxLayout", "column", "fxFlexFill", "", 1, "content"], ["fxLayout", "row", 1, "menu-container-header", 3, "fxLayoutAlign"], ["fxFlex", "3.125em", "fxLayoutAlign", "start center", 3, "libPlausibleEvent", "no-click", "href", "click", 4, "ngIf"], ["mat-icon-button", "", 1, "toggler", 3, "click", "libPlausibleEvent", "matTooltip"], ["fxHide.lt-sm", ""], ["fxLayout", "column", 1, "menu-wrapper"], ["role", "navigation", 3, "toggleCollapseEvent", "direction", "isOpen", "active"], ["fxFlex", "", "fxLayout", "column"], [1, "profile"], [1, "profile-wrapper", 3, "matMenuTriggerFor"], [1, "profile-icon"], [4, "ngIf"], [1, "profile-menu"], [1, "profile-name"], ["class", "profile-arrow spin", 4, "ngIf", "ngIfElse"], [1, "profile-arrow", "spin"], ["mat-menu-item", "", 1, "profile-option"], ["target", "_blank", 1, "mat-mdc-menu-item", 3, "href"], [1, "mat-mdc-menu-item", 3, "routerLink"], ["target", "_blank", 1, "mat-mdc-menu-item", 3, "click", "href"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], [1, "mat-mdc-menu-item", 3, "click", "routerLink"], ["mat-menu-item", "", 1, "profile-option", 3, "click"], [1, "material-icons", "profile-option-icon", 3, "material-icons-outlined"], [1, "profile-option-icon", 3, "svgIcon"], [1, "material-icons", "profile-option-icon"]], template: function SideNavMenuComponent_Template(rf, ctx) { if (rf & 1) {
|
|
1102
1103
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
1104
|
+
i0.ɵɵprojectionDef();
|
|
1103
1105
|
i0.ɵɵelementStart(0, "div", 4)(1, "div", 5)(2, "a", 6);
|
|
1104
1106
|
i0.ɵɵpipe(3, "translate");
|
|
1105
1107
|
i0.ɵɵlistener("click", function SideNavMenuComponent_Template_a_click_2_listener($event) { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.logoClick($event)); });
|
|
@@ -1128,18 +1130,21 @@ class SideNavMenuComponent extends NavBaseComponent {
|
|
|
1128
1130
|
i0.ɵɵelementStart(22, "div", 16)(23, "menu-columns", 17);
|
|
1129
1131
|
i0.ɵɵlistener("toggleCollapseEvent", function SideNavMenuComponent_Template_menu_columns_toggleCollapseEvent_23_listener() { i0.ɵɵrestoreView(_r1); return i0.ɵɵresetView(ctx.toggleCollapse()); });
|
|
1130
1132
|
i0.ɵɵelementEnd()();
|
|
1131
|
-
i0.ɵɵelementStart(24, "div", 18)
|
|
1132
|
-
i0.ɵɵ
|
|
1133
|
+
i0.ɵɵelementStart(24, "div", 18);
|
|
1134
|
+
i0.ɵɵprojection(25);
|
|
1133
1135
|
i0.ɵɵelementEnd();
|
|
1134
|
-
i0.ɵɵ
|
|
1136
|
+
i0.ɵɵelementStart(26, "div", 19)(27, "button", 20, 0)(29, "div", 21);
|
|
1137
|
+
i0.ɵɵtemplate(30, SideNavMenuComponent_Conditional_30_Template, 1, 1)(31, SideNavMenuComponent_Conditional_31_Template, 2, 0, "mat-icon");
|
|
1135
1138
|
i0.ɵɵelementEnd();
|
|
1136
|
-
i0.ɵɵ
|
|
1137
|
-
i0.ɵɵ
|
|
1139
|
+
i0.ɵɵtemplate(32, SideNavMenuComponent_ng_container_32_Template, 7, 5, "ng-container", 22);
|
|
1140
|
+
i0.ɵɵelementEnd();
|
|
1141
|
+
i0.ɵɵelementStart(33, "mat-menu", 23, 1);
|
|
1142
|
+
i0.ɵɵrepeaterCreate(35, SideNavMenuComponent_For_36_Template, 2, 1, null, null, _forTrack0);
|
|
1138
1143
|
i0.ɵɵelementEnd()();
|
|
1139
|
-
i0.ɵɵtemplate(
|
|
1144
|
+
i0.ɵɵtemplate(37, SideNavMenuComponent_ng_template_37_Template, 3, 4, "ng-template", null, 2, i0.ɵɵtemplateRefExtractor);
|
|
1140
1145
|
i0.ɵɵelementEnd()();
|
|
1141
1146
|
} if (rf & 2) {
|
|
1142
|
-
const menu_r13 = i0.ɵɵreference(
|
|
1147
|
+
const menu_r13 = i0.ɵɵreference(34);
|
|
1143
1148
|
i0.ɵɵadvance();
|
|
1144
1149
|
i0.ɵɵproperty("fxHide", !ctx.collapsed);
|
|
1145
1150
|
i0.ɵɵadvance();
|
|
@@ -1168,19 +1173,19 @@ class SideNavMenuComponent extends NavBaseComponent {
|
|
|
1168
1173
|
i0.ɵɵtextInterpolate(ctx.collapsed ? "keyboard_double_arrow_right" : "keyboard_double_arrow_left");
|
|
1169
1174
|
i0.ɵɵadvance(2);
|
|
1170
1175
|
i0.ɵɵproperty("direction", ctx.direction)("isOpen", !ctx.collapsed)("active", ctx.active);
|
|
1171
|
-
i0.ɵɵadvance(
|
|
1176
|
+
i0.ɵɵadvance(4);
|
|
1172
1177
|
i0.ɵɵproperty("matMenuTriggerFor", menu_r13);
|
|
1173
1178
|
i0.ɵɵadvance(3);
|
|
1174
|
-
i0.ɵɵconditional(ctx.userInitials ?
|
|
1179
|
+
i0.ɵɵconditional(ctx.userInitials ? 30 : 31);
|
|
1175
1180
|
i0.ɵɵadvance(2);
|
|
1176
1181
|
i0.ɵɵproperty("ngIf", !ctx.collapsed);
|
|
1177
1182
|
i0.ɵɵadvance(3);
|
|
1178
1183
|
i0.ɵɵrepeater(ctx.menuSettings.userOptions);
|
|
1179
|
-
} }, dependencies: [i1$2.DefaultLayoutDirective, i1$2.DefaultLayoutAlignDirective, i1$2.FlexFillDirective, i1$2.DefaultFlexDirective, i2$2.DefaultShowHideDirective, i2$2.DefaultClassDirective, i1$1.RouterLink, i4.NgIf, i4.NgTemplateOutlet, i5.MatTooltip, i2$1.MatIcon, i7.MatIconButton, i6.MatMenu, i6.MatMenuItem, i6.MatMenuTrigger, i2.PlausibleEventDirective, MenuColumnsComponent, i8.TranslatePipe], styles: ["a[_ngcontent-%COMP%]{text-decoration:none}.no-click[_ngcontent-%COMP%]{pointer-events:none!important}.mobile-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:23px 27px;background-color:#fcfcfc;border:1px solid var(--base-70)}.mobile.menu-container.collapsed[_ngcontent-%COMP%]{display:none!important}.mobile.menu-container[_ngcontent-%COMP%]:not(.collapsed){display:block!important;position:fixed;min-width:100vw;min-height:100dvh;z-index:1000}.mobile[_ngcontent-%COMP%] .profile-wrapper[_ngcontent-%COMP%]{position:relative}.mobile[_ngcontent-%COMP%] .profile-wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:absolute!important;right:0}.menu-product-name[_ngcontent-%COMP%]{white-space:nowrap;margin-left:12px;font-weight:600;color:var(--base-10)}.menu-container[_ngcontent-%COMP%]{max-height:100dvh;white-space:nowrap;height:100%;transition:width .2s ease;min-height:100dvh;overflow:auto;background:var(--base-100);border-right:2px solid var(--base-95)}.menu-container[_ngcontent-%COMP%] .menu-container-header[_ngcontent-%COMP%]{margin:24px 0;max-height:40px}.menu-container.collapsed[_ngcontent-%COMP%] .menu-container-header[_ngcontent-%COMP%]{margin:24px 0 32px!important}.menu-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]:not(.collapsed){overflow-x:hidden;padding:0 12px}.menu-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]:not(.collapsed) .menu-logo[_ngcontent-%COMP%]{margin-left:16px;max-width:100%}.menu-container[_ngcontent-%COMP%] .divider[_ngcontent-%COMP%]{width:100%}.menu-container[_ngcontent-%COMP%] .profile[_ngcontent-%COMP%]{position:relative;
|
|
1184
|
+
} }, dependencies: [i1$2.DefaultLayoutDirective, i1$2.DefaultLayoutAlignDirective, i1$2.FlexFillDirective, i1$2.DefaultFlexDirective, i2$2.DefaultShowHideDirective, i2$2.DefaultClassDirective, i1$1.RouterLink, i4.NgIf, i4.NgTemplateOutlet, i5.MatTooltip, i2$1.MatIcon, i7.MatIconButton, i6.MatMenu, i6.MatMenuItem, i6.MatMenuTrigger, i2.PlausibleEventDirective, MenuColumnsComponent, i8.TranslatePipe], styles: ["a[_ngcontent-%COMP%]{text-decoration:none}.no-click[_ngcontent-%COMP%]{pointer-events:none!important}.mobile-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:23px 27px;background-color:#fcfcfc;border:1px solid var(--base-70)}.mobile.menu-container.collapsed[_ngcontent-%COMP%]{display:none!important}.mobile.menu-container[_ngcontent-%COMP%]:not(.collapsed){display:block!important;position:fixed;min-width:100vw;min-height:100dvh;z-index:1000}.mobile[_ngcontent-%COMP%] .profile-wrapper[_ngcontent-%COMP%]{position:relative}.mobile[_ngcontent-%COMP%] .profile-wrapper[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{position:absolute!important;right:0}.menu-product-name[_ngcontent-%COMP%]{white-space:nowrap;margin-left:12px;font-weight:600;color:var(--base-10)}.menu-container[_ngcontent-%COMP%]{max-height:100dvh;white-space:nowrap;height:100%;transition:width .2s ease;min-height:100dvh;overflow:auto;background:var(--base-100);border-right:2px solid var(--base-95)}.menu-container[_ngcontent-%COMP%] .menu-container-header[_ngcontent-%COMP%]{margin:24px 0;max-height:40px}.menu-container.collapsed[_ngcontent-%COMP%] .menu-container-header[_ngcontent-%COMP%]{margin:24px 0 32px!important}.menu-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]:not(.collapsed){overflow-x:hidden;padding:0 12px}.menu-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]:not(.collapsed) .menu-logo[_ngcontent-%COMP%]{margin-left:16px;max-width:100%}.menu-container[_ngcontent-%COMP%] .divider[_ngcontent-%COMP%]{width:100%}.menu-container[_ngcontent-%COMP%] .profile[_ngcontent-%COMP%]{position:relative;margin-top:100px}.menu-container[_ngcontent-%COMP%] .profile-wrapper[_ngcontent-%COMP%]{background:none;color:var(--base-30);display:flex;align-items:center;justify-content:start;width:100%;position:absolute;bottom:0;margin:32px 0}.menu-container[_ngcontent-%COMP%] .profile-icon[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;min-width:40px;height:40px;border-radius:100%;color:var(--base-0);background-color:var(--base-70);font-size:16px;font-weight:600}.menu-container[_ngcontent-%COMP%] .profile-name[_ngcontent-%COMP%]{max-width:145px;overflow:hidden;margin-left:12px;text-overflow:ellipsis}.collapsed[_ngcontent-%COMP%] .profile-wrapper[_ngcontent-%COMP%]{margin:36px 0!important}.mobile[_ngcontent-%COMP%] .profile-name[_ngcontent-%COMP%]{max-width:60vw}.profile-option-icon[_ngcontent-%COMP%]{vertical-align:middle;margin:0 5px 5px 0}[_nghost-%COMP%] .menu-item{display:flex;padding:16px!important;border-radius:4px!important}[_nghost-%COMP%] .child-list .menu-item{padding:8px 46px!important}[_nghost-%COMP%] .collapsed .menu-item{padding:0!important;width:40px;height:40px;border-radius:50%!important}[_nghost-%COMP%] .active-menu-item{background-color:var(--base-95)!important}[_nghost-%COMP%] .menu-item-title{margin-left:12px}tld-menu-icon[_ngcontent-%COMP%]{margin-right:10px}.profile-arrow[_ngcontent-%COMP%]{position:absolute;right:3px;margin-right:20px}.spin[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spinArrow .3s forwards}[_nghost-%COMP%] button.collapse-btn .mat-mdc-button-persistent-ripple, [_nghost-%COMP%] button.toggler .mat-mdc-button-persistent-ripple{display:none}[_nghost-%COMP%] .mobile .child-list .menu-item{padding:8px 54px!important} .cdk-overlay-container .profile-menu{margin:10px 0!important} .mat-mdc-menu-item .mat-icon{margin-right:5px!important} .collapsed .profile-wrapper{justify-content:center!important} .profile-menu a{font-weight:400!important;display:flex;align-items:center;gap:5px} .profile-menu a:hover{color:var(--mat-menu-item-label-text-color, var(--mat-app-on-surface))!important;text-decoration:inherit}@keyframes _ngcontent-%COMP%_spinArrow{to{transform:rotate(180deg)}}"] }); }
|
|
1180
1185
|
}
|
|
1181
1186
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SideNavMenuComponent, [{
|
|
1182
1187
|
type: Component,
|
|
1183
|
-
args: [{ selector: 'lib-side-nav-menu', template: "<div fxHide.gt-xs>\r\n <div [fxHide]=\"!collapsed\" class=\"mobile-header\">\r\n <a [libPlausibleEvent]=\"LOGOCLICK_PLAUSIBLE_EVENT\" fxFlex=\"3.125em\" [href]=\"baseUrl\" [class.no-click]=\"menuSettings?.disableLogoNavigation\"\r\n [attr.aria-label]=\"'MENU.ARIA_LABELS.LOGO' | translate\" (click)=\"logoClick($event)\" fxLayoutAlign=\"start center\"\r\n >\r\n <img height=\"40\" width=\"40\" class=\"menu-logo\" [src]=\"menuLogoImage\" alt=\"logo\" />\r\n <span class=\"menu-product-name\">\r\n {{ productName }}\r\n </span>\r\n </a>\r\n\r\n <button\r\n mat-icon-button\r\n class=\"toggler\"\r\n [attr.aria-label]=\"'ARIA_LABELS.MENU_TOGGLER' | translate\"\r\n [libPlausibleEvent]=\"collapsed ? EXPAND_PLAUSIBLE_EVENT : COLLAPSE_PLAUSIBLE_EVENT\"\r\n (click)=\"toggleCollapse()\"\r\n >\r\n <mat-icon>menu</mat-icon>\r\n </button>\r\n </div>\r\n</div>\r\n\r\n<div [ngClass.lt-sm]=\"'mobile'\" class=\"menu-container\" [style.width]=\"sideNavWidth\" fxLayout=\"column\" [class.collapsed]=\"collapsed\">\r\n <div class=\"content\" fxLayout=\"column\" fxFlexFill>\r\n <div class=\"menu-container-header\" fxLayout=\"row\" [fxLayoutAlign]=\"collapsed ? 'center center' : 'space-between center'\">\r\n <a *ngIf=\"!collapsed\" [libPlausibleEvent]=\"LOGOCLICK_PLAUSIBLE_EVENT\" fxFlex=\"3.125em\" [class.no-click]=\"menuSettings?.disableLogoNavigation\" [href]=\"baseUrl\"\r\n [attr.aria-label]=\"'MENU.ARIA_LABELS.LOGO' | translate\" (click)=\"logoClick($event)\" fxLayoutAlign=\"start center\"\r\n >\r\n <img height=\"40\" width=\"40\" class=\"menu-logo\" [src]=\"menuLogoImage\" alt=\"logo\" />\r\n <span class=\"menu-product-name\">\r\n {{ productName }}\r\n </span>\r\n </a>\r\n\r\n <button\r\n mat-icon-button\r\n class=\"toggler\"\r\n [attr.aria-label]=\"'ARIA_LABELS.MENU_TOGGLER' | translate\"\r\n [libPlausibleEvent]=\"collapsed ? EXPAND_PLAUSIBLE_EVENT : COLLAPSE_PLAUSIBLE_EVENT\"\r\n [matTooltip]=\"(collapsed ? 'MENU.EXPAND' : 'MENU.COLLAPSE') | translate\"\r\n (click)=\"toggleCollapse()\"\r\n >\r\n <mat-icon fxHide.gt-xs>close</mat-icon>\r\n <mat-icon fxHide.lt-sm>{{ collapsed ? 'keyboard_double_arrow_right' : 'keyboard_double_arrow_left' }}</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <div class=\"menu-wrapper\" fxLayout=\"column\">\r\n <menu-columns (toggleCollapseEvent)=\"toggleCollapse()\" [direction]=\"direction\" role=\"navigation\" [isOpen]=\"!collapsed\"\r\n [active]=\"active\"></menu-columns>\r\n </div>\r\n\r\n <div class=\"profile\">\r\n <button #state=\"matMenuTrigger\" [matMenuTriggerFor]=\"menu\" class=\"profile-wrapper\">\r\n <div class=\"profile-icon\">\r\n @if (userInitials) {\r\n {{userInitials}}\r\n } @else {\r\n <mat-icon>person</mat-icon>\r\n }\r\n </div>\r\n\r\n <ng-container *ngIf=\"!collapsed\">\r\n <span class=\"profile-name\">\r\n {{ username ?? 'MENU.ANONYMOUS' | translate }}\r\n </span>\r\n\r\n <mat-icon *ngIf=\"state.menuOpen; else iconDown\" class=\"profile-arrow spin\">{{\"keyboard_arrow_down\"}}</mat-icon>\r\n\r\n <ng-template #iconDown>\r\n <mat-icon class=\"profile-arrow spin\">{{\"keyboard_arrow_up\" }}</mat-icon>\r\n </ng-template>\r\n </ng-container>\r\n </button>\r\n\r\n <mat-menu #menu=\"matMenu\" class=\"profile-menu\">\r\n @for (item of menuSettings.userOptions; track item.label) {\r\n @if (item.link) {\r\n @if (item.link.isExternal) {\r\n <a class=\"mat-mdc-menu-item\" [href]=\"item.link.href\" target=\"_blank\" (click)=\"linkCallback(item.link)\">\r\n <ng-container\r\n *ngTemplateOutlet=\"profileMenuItem; context: { icon: item.icon, label: item.label }\">\r\n </ng-container>\r\n </a>\r\n } @else {\r\n <a class=\"mat-mdc-menu-item\" [routerLink]=\"item.link.href\" (click)=\"linkCallback(item.link)\">\r\n <ng-container\r\n *ngTemplateOutlet=\"profileMenuItem; context: { icon: item.icon, label: item.label }\">\r\n </ng-container>\r\n </a>\r\n }\r\n } @else {\r\n <button\r\n mat-menu-item\r\n class=\"profile-option\"\r\n (click)=\"item.button?.callback()\"\r\n >\r\n <ng-container\r\n *ngTemplateOutlet=\"profileMenuItem; context: { icon: item.icon, label: item.label }\">\r\n </ng-container>\r\n </button>\r\n }\r\n }\r\n </mat-menu>\r\n </div>\r\n\r\n <ng-template #profileMenuItem let-icon=\"icon\" let-label=\"label\">\r\n @if (icon) {\r\n @if (!icon?.isCustom) {\r\n <span class=\"material-icons profile-option-icon\" [class.material-icons-outlined]=\"icon?.isOutlined\">\r\n {{icon?.name}}\r\n </span>\r\n } @else {\r\n <mat-icon class=\"profile-option-icon\" [svgIcon]=\"icon?.name\"></mat-icon>\r\n }\r\n }\r\n {{ label | translate }}\r\n </ng-template>\r\n</div>\r\n", styles: ["a{text-decoration:none}.no-click{pointer-events:none!important}.mobile-header{display:flex;justify-content:space-between;padding:23px 27px;background-color:#fcfcfc;border:1px solid var(--base-70)}.mobile.menu-container.collapsed{display:none!important}.mobile.menu-container:not(.collapsed){display:block!important;position:fixed;min-width:100vw;min-height:100dvh;z-index:1000}.mobile .profile-wrapper{position:relative}.mobile .profile-wrapper mat-icon{position:absolute!important;right:0}.menu-product-name{white-space:nowrap;margin-left:12px;font-weight:600;color:var(--base-10)}.menu-container{max-height:100dvh;white-space:nowrap;height:100%;transition:width .2s ease;min-height:100dvh;overflow:auto;background:var(--base-100);border-right:2px solid var(--base-95)}.menu-container .menu-container-header{margin:24px 0;max-height:40px}.menu-container.collapsed .menu-container-header{margin:24px 0 32px!important}.menu-container .content:not(.collapsed){overflow-x:hidden;padding:0 12px}.menu-container .content:not(.collapsed) .menu-logo{margin-left:16px;max-width:100%}.menu-container .divider{width:100%}.menu-container .profile{position:relative;
|
|
1188
|
+
args: [{ selector: 'lib-side-nav-menu', template: "<div fxHide.gt-xs>\r\n <div [fxHide]=\"!collapsed\" class=\"mobile-header\">\r\n <a [libPlausibleEvent]=\"LOGOCLICK_PLAUSIBLE_EVENT\" fxFlex=\"3.125em\" [href]=\"baseUrl\" [class.no-click]=\"menuSettings?.disableLogoNavigation\"\r\n [attr.aria-label]=\"'MENU.ARIA_LABELS.LOGO' | translate\" (click)=\"logoClick($event)\" fxLayoutAlign=\"start center\"\r\n >\r\n <img height=\"40\" width=\"40\" class=\"menu-logo\" [src]=\"menuLogoImage\" alt=\"logo\" />\r\n <span class=\"menu-product-name\">\r\n {{ productName }}\r\n </span>\r\n </a>\r\n\r\n <button\r\n mat-icon-button\r\n class=\"toggler\"\r\n [attr.aria-label]=\"'ARIA_LABELS.MENU_TOGGLER' | translate\"\r\n [libPlausibleEvent]=\"collapsed ? EXPAND_PLAUSIBLE_EVENT : COLLAPSE_PLAUSIBLE_EVENT\"\r\n (click)=\"toggleCollapse()\"\r\n >\r\n <mat-icon>menu</mat-icon>\r\n </button>\r\n </div>\r\n</div>\r\n\r\n<div [ngClass.lt-sm]=\"'mobile'\" class=\"menu-container\" [style.width]=\"sideNavWidth\" fxLayout=\"column\" [class.collapsed]=\"collapsed\">\r\n <div class=\"content\" fxLayout=\"column\" fxFlexFill>\r\n <div class=\"menu-container-header\" fxLayout=\"row\" [fxLayoutAlign]=\"collapsed ? 'center center' : 'space-between center'\">\r\n <a *ngIf=\"!collapsed\" [libPlausibleEvent]=\"LOGOCLICK_PLAUSIBLE_EVENT\" fxFlex=\"3.125em\" [class.no-click]=\"menuSettings?.disableLogoNavigation\" [href]=\"baseUrl\"\r\n [attr.aria-label]=\"'MENU.ARIA_LABELS.LOGO' | translate\" (click)=\"logoClick($event)\" fxLayoutAlign=\"start center\"\r\n >\r\n <img height=\"40\" width=\"40\" class=\"menu-logo\" [src]=\"menuLogoImage\" alt=\"logo\" />\r\n <span class=\"menu-product-name\">\r\n {{ productName }}\r\n </span>\r\n </a>\r\n\r\n <button\r\n mat-icon-button\r\n class=\"toggler\"\r\n [attr.aria-label]=\"'ARIA_LABELS.MENU_TOGGLER' | translate\"\r\n [libPlausibleEvent]=\"collapsed ? EXPAND_PLAUSIBLE_EVENT : COLLAPSE_PLAUSIBLE_EVENT\"\r\n [matTooltip]=\"(collapsed ? 'MENU.EXPAND' : 'MENU.COLLAPSE') | translate\"\r\n (click)=\"toggleCollapse()\"\r\n >\r\n <mat-icon fxHide.gt-xs>close</mat-icon>\r\n <mat-icon fxHide.lt-sm>{{ collapsed ? 'keyboard_double_arrow_right' : 'keyboard_double_arrow_left' }}</mat-icon>\r\n </button>\r\n </div>\r\n\r\n <div class=\"menu-wrapper\" fxLayout=\"column\">\r\n <menu-columns (toggleCollapseEvent)=\"toggleCollapse()\" [direction]=\"direction\" role=\"navigation\" [isOpen]=\"!collapsed\"\r\n [active]=\"active\"></menu-columns>\r\n </div>\r\n <div fxFlex fxLayout=\"column\">\r\n <ng-content></ng-content>\r\n </div>\r\n <div class=\"profile\">\r\n <button #state=\"matMenuTrigger\" [matMenuTriggerFor]=\"menu\" class=\"profile-wrapper\">\r\n <div class=\"profile-icon\">\r\n @if (userInitials) {\r\n {{userInitials}}\r\n } @else {\r\n <mat-icon>person</mat-icon>\r\n }\r\n </div>\r\n\r\n <ng-container *ngIf=\"!collapsed\">\r\n <span class=\"profile-name\">\r\n {{ username ?? 'MENU.ANONYMOUS' | translate }}\r\n </span>\r\n\r\n <mat-icon *ngIf=\"state.menuOpen; else iconDown\" class=\"profile-arrow spin\">{{\"keyboard_arrow_down\"}}</mat-icon>\r\n\r\n <ng-template #iconDown>\r\n <mat-icon class=\"profile-arrow spin\">{{\"keyboard_arrow_up\" }}</mat-icon>\r\n </ng-template>\r\n </ng-container>\r\n </button>\r\n\r\n <mat-menu #menu=\"matMenu\" class=\"profile-menu\">\r\n @for (item of menuSettings.userOptions; track item.label) {\r\n @if (item.link) {\r\n @if (item.link.isExternal) {\r\n <a class=\"mat-mdc-menu-item\" [href]=\"item.link.href\" target=\"_blank\" (click)=\"linkCallback(item.link)\">\r\n <ng-container\r\n *ngTemplateOutlet=\"profileMenuItem; context: { icon: item.icon, label: item.label }\">\r\n </ng-container>\r\n </a>\r\n } @else {\r\n <a class=\"mat-mdc-menu-item\" [routerLink]=\"item.link.href\" (click)=\"linkCallback(item.link)\">\r\n <ng-container\r\n *ngTemplateOutlet=\"profileMenuItem; context: { icon: item.icon, label: item.label }\">\r\n </ng-container>\r\n </a>\r\n }\r\n } @else {\r\n <button\r\n mat-menu-item\r\n class=\"profile-option\"\r\n (click)=\"item.button?.callback()\"\r\n >\r\n <ng-container\r\n *ngTemplateOutlet=\"profileMenuItem; context: { icon: item.icon, label: item.label }\">\r\n </ng-container>\r\n </button>\r\n }\r\n }\r\n </mat-menu>\r\n </div>\r\n\r\n <ng-template #profileMenuItem let-icon=\"icon\" let-label=\"label\">\r\n @if (icon) {\r\n @if (!icon?.isCustom) {\r\n <span class=\"material-icons profile-option-icon\" [class.material-icons-outlined]=\"icon?.isOutlined\">\r\n {{icon?.name}}\r\n </span>\r\n } @else {\r\n <mat-icon class=\"profile-option-icon\" [svgIcon]=\"icon?.name\"></mat-icon>\r\n }\r\n }\r\n {{ label | translate }}\r\n </ng-template>\r\n</div>\r\n", styles: ["a{text-decoration:none}.no-click{pointer-events:none!important}.mobile-header{display:flex;justify-content:space-between;padding:23px 27px;background-color:#fcfcfc;border:1px solid var(--base-70)}.mobile.menu-container.collapsed{display:none!important}.mobile.menu-container:not(.collapsed){display:block!important;position:fixed;min-width:100vw;min-height:100dvh;z-index:1000}.mobile .profile-wrapper{position:relative}.mobile .profile-wrapper mat-icon{position:absolute!important;right:0}.menu-product-name{white-space:nowrap;margin-left:12px;font-weight:600;color:var(--base-10)}.menu-container{max-height:100dvh;white-space:nowrap;height:100%;transition:width .2s ease;min-height:100dvh;overflow:auto;background:var(--base-100);border-right:2px solid var(--base-95)}.menu-container .menu-container-header{margin:24px 0;max-height:40px}.menu-container.collapsed .menu-container-header{margin:24px 0 32px!important}.menu-container .content:not(.collapsed){overflow-x:hidden;padding:0 12px}.menu-container .content:not(.collapsed) .menu-logo{margin-left:16px;max-width:100%}.menu-container .divider{width:100%}.menu-container .profile{position:relative;margin-top:100px}.menu-container .profile-wrapper{background:none;color:var(--base-30);display:flex;align-items:center;justify-content:start;width:100%;position:absolute;bottom:0;margin:32px 0}.menu-container .profile-icon{display:flex;justify-content:center;align-items:center;min-width:40px;height:40px;border-radius:100%;color:var(--base-0);background-color:var(--base-70);font-size:16px;font-weight:600}.menu-container .profile-name{max-width:145px;overflow:hidden;margin-left:12px;text-overflow:ellipsis}.collapsed .profile-wrapper{margin:36px 0!important}.mobile .profile-name{max-width:60vw}.profile-option-icon{vertical-align:middle;margin:0 5px 5px 0}:host ::ng-deep .menu-item{display:flex;padding:16px!important;border-radius:4px!important}:host ::ng-deep .child-list .menu-item{padding:8px 46px!important}:host ::ng-deep .collapsed .menu-item{padding:0!important;width:40px;height:40px;border-radius:50%!important}:host ::ng-deep .active-menu-item{background-color:var(--base-95)!important}:host ::ng-deep .menu-item-title{margin-left:12px}tld-menu-icon{margin-right:10px}.profile-arrow{position:absolute;right:3px;margin-right:20px}.spin{animation:spinArrow .3s forwards}:host::ng-deep button.collapse-btn .mat-mdc-button-persistent-ripple,:host::ng-deep button.toggler .mat-mdc-button-persistent-ripple{display:none}:host ::ng-deep .mobile .child-list .menu-item{padding:8px 54px!important}::ng-deep .cdk-overlay-container .profile-menu{margin:10px 0!important}::ng-deep .mat-mdc-menu-item .mat-icon{margin-right:5px!important}::ng-deep .collapsed .profile-wrapper{justify-content:center!important}::ng-deep .profile-menu a{font-weight:400!important;display:flex;align-items:center;gap:5px}::ng-deep .profile-menu a:hover{color:var(--mat-menu-item-label-text-color, var(--mat-app-on-surface))!important;text-decoration:inherit}@keyframes spinArrow{to{transform:rotate(180deg)}}\n"] }]
|
|
1184
1189
|
}], () => [{ type: i1.StrapiLinkService }, { type: i2.DOMService }, { type: MenuItemsService }], { username: [{
|
|
1185
1190
|
type: Input
|
|
1186
1191
|
}], menuSettings: [{
|