@tilde-nlp/ngx-menu 7.0.2 → 8.0.2

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.
Files changed (40) hide show
  1. package/fesm2022/tilde-nlp-ngx-menu.mjs +24 -26
  2. package/fesm2022/tilde-nlp-ngx-menu.mjs.map +1 -1
  3. package/index.d.ts +382 -3
  4. package/package.json +10 -10
  5. package/lib/components/menu-columns/menu-columns.component.d.ts +0 -27
  6. package/lib/components/menu-icon/menu-icon.component.d.ts +0 -10
  7. package/lib/components/menu-item-btn/menu-item-btn.component.d.ts +0 -9
  8. package/lib/components/menu-item-link/menu-item-link.component.d.ts +0 -25
  9. package/lib/components/menu-item-list/menu-item-list.component.d.ts +0 -21
  10. package/lib/components/menu-lang-switcher/menu-lang-switcher.component.d.ts +0 -13
  11. package/lib/components/menu-profile/menu-profile.component.d.ts +0 -16
  12. package/lib/components/nav-base/models/index.d.ts +0 -1
  13. package/lib/components/nav-base/models/strapi-data-location.enum.d.ts +0 -5
  14. package/lib/components/nav-base/nav-base.component.d.ts +0 -19
  15. package/lib/components/side-nav-menu/index.d.ts +0 -2
  16. package/lib/components/side-nav-menu/models/index.d.ts +0 -2
  17. package/lib/components/side-nav-menu/models/side-nav-settings.model.d.ts +0 -10
  18. package/lib/components/side-nav-menu/models/user-menu-option-button.model.d.ts +0 -3
  19. package/lib/components/side-nav-menu/models/user-menu-option-icon.model.d.ts +0 -5
  20. package/lib/components/side-nav-menu/models/user-menu-option-link.model.d.ts +0 -6
  21. package/lib/components/side-nav-menu/models/user-menu-option.model.d.ts +0 -9
  22. package/lib/components/side-nav-menu/side-nav-menu.component.d.ts +0 -43
  23. package/lib/constants/index.d.ts +0 -1
  24. package/lib/constants/user-menu-options.const.d.ts +0 -18
  25. package/lib/injection-tokens/index.d.ts +0 -1
  26. package/lib/injection-tokens/menu-shared-config.token.d.ts +0 -1
  27. package/lib/menu.module.d.ts +0 -30
  28. package/lib/models/active-menu-item-config.model.d.ts +0 -4
  29. package/lib/models/active-menu-items.model.d.ts +0 -6
  30. package/lib/models/custom-menu-item.model.d.ts +0 -31
  31. package/lib/models/index.d.ts +0 -7
  32. package/lib/models/menu-icon-strapi-extension.const.d.ts +0 -1
  33. package/lib/models/menu-item-group.model.d.ts +0 -22
  34. package/lib/models/menu-layout-direction.model.d.ts +0 -4
  35. package/lib/models/menu-shared-config.model.d.ts +0 -21
  36. package/lib/models/menu-title-navigation.model.d.ts +0 -5
  37. package/lib/services/index.d.ts +0 -2
  38. package/lib/services/menu-items.service.d.ts +0 -40
  39. package/lib/services/strapi.service.d.ts +0 -20
  40. package/public-api.d.ts +0 -10
@@ -421,7 +421,7 @@ class SideNavMenuComponent extends NavBaseComponent {
421
421
  i0.ɵɵelementStart(22, "div", 13)(23, "menu-columns", 14);
422
422
  i0.ɵɵlistener("toggleCollapseEvent", function SideNavMenuComponent_Template_menu_columns_toggleCollapseEvent_23_listener() { return ctx.toggleCollapse(); });
423
423
  i0.ɵɵelementEnd();
424
- i0.ɵɵtemplate(24, SideNavMenuComponent_Conditional_24_Template, 1, 2, "lib-menu-lang-switcher", 15);
424
+ i0.ɵɵconditionalCreate(24, SideNavMenuComponent_Conditional_24_Template, 1, 2, "lib-menu-lang-switcher", 15);
425
425
  i0.ɵɵelementEnd();
426
426
  i0.ɵɵelementStart(25, "div", 16);
427
427
  i0.ɵɵprojection(26);
@@ -705,9 +705,8 @@ function MenuItemListComponent_Conditional_1_button_2_Template(rf, ctx) { if (rf
705
705
  i0.ɵɵtext(3);
706
706
  i0.ɵɵelementEnd()();
707
707
  } if (rf & 2) {
708
- let tmp_7_0;
709
708
  const ctx_r0 = i0.ɵɵnextContext(2);
710
- i0.ɵɵproperty("routerLink", ctx_r0.menuItemGroup.titleNavigation.path)("matTooltip", i0.ɵɵpipeBind1(1, 3, (tmp_7_0 = ctx_r0.menuItemGroup.titleNavigation == null ? null : ctx_r0.menuItemGroup.titleNavigation.tooltip) !== null && tmp_7_0 !== undefined ? tmp_7_0 : ""));
709
+ i0.ɵɵproperty("routerLink", ctx_r0.menuItemGroup.titleNavigation.path)("matTooltip", i0.ɵɵpipeBind1(1, 3, (ctx_r0.menuItemGroup.titleNavigation == null ? null : ctx_r0.menuItemGroup.titleNavigation.tooltip) ?? ""));
711
710
  i0.ɵɵadvance(3);
712
711
  i0.ɵɵtextInterpolate(ctx_r0.menuItemGroup.titleNavigation.icon);
713
712
  } }
@@ -862,9 +861,8 @@ function MenuItemListComponent_ng_template_9_Template(rf, ctx) { if (rf & 1) {
862
861
  function MenuItemListComponent_ng_template_11_button_0_Conditional_1_Template(rf, ctx) { if (rf & 1) {
863
862
  i0.ɵɵelement(0, "mat-icon", 32);
864
863
  } if (rf & 2) {
865
- let tmp_7_0;
866
864
  const ctx_r0 = i0.ɵɵnextContext(3);
867
- i0.ɵɵproperty("svgIcon", (tmp_7_0 = ctx_r0.menuItemGroup.itemGroupIcon) !== null && tmp_7_0 !== undefined ? tmp_7_0 : "");
865
+ i0.ɵɵproperty("svgIcon", ctx_r0.menuItemGroup.itemGroupIcon ?? "");
868
866
  } }
869
867
  function MenuItemListComponent_ng_template_11_button_0_Conditional_2_Template(rf, ctx) { if (rf & 1) {
870
868
  i0.ɵɵelementStart(0, "mat-icon");
@@ -889,7 +887,8 @@ function MenuItemListComponent_ng_template_11_button_0_Template(rf, ctx) { if (r
889
887
  const _r16 = i0.ɵɵgetCurrentView();
890
888
  i0.ɵɵelementStart(0, "button", 31);
891
889
  i0.ɵɵlistener("click", function MenuItemListComponent_ng_template_11_button_0_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r16); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.menuItemGroup == null ? null : ctx_r0.menuItemGroup.itemGroupClick()); });
892
- i0.ɵɵtemplate(1, MenuItemListComponent_ng_template_11_button_0_Conditional_1_Template, 1, 1, "mat-icon", 32)(2, MenuItemListComponent_ng_template_11_button_0_Conditional_2_Template, 2, 1, "mat-icon")(3, MenuItemListComponent_ng_template_11_button_0_span_3_Template, 3, 3, "span", 33);
890
+ i0.ɵɵconditionalCreate(1, MenuItemListComponent_ng_template_11_button_0_Conditional_1_Template, 1, 1, "mat-icon", 32)(2, MenuItemListComponent_ng_template_11_button_0_Conditional_2_Template, 2, 1, "mat-icon");
891
+ i0.ɵɵtemplate(3, MenuItemListComponent_ng_template_11_button_0_span_3_Template, 3, 3, "span", 33);
893
892
  i0.ɵɵelementEnd();
894
893
  } if (rf & 2) {
895
894
  const ctx_r0 = i0.ɵɵnextContext(2);
@@ -902,9 +901,8 @@ function MenuItemListComponent_ng_template_11_button_0_Template(rf, ctx) { if (r
902
901
  function MenuItemListComponent_ng_template_11_button_1_Conditional_2_Template(rf, ctx) { if (rf & 1) {
903
902
  i0.ɵɵelement(0, "mat-icon", 32);
904
903
  } if (rf & 2) {
905
- let tmp_7_0;
906
904
  const ctx_r0 = i0.ɵɵnextContext(3);
907
- i0.ɵɵproperty("svgIcon", (tmp_7_0 = ctx_r0.menuItemGroup.itemGroupIcon) !== null && tmp_7_0 !== undefined ? tmp_7_0 : "");
905
+ i0.ɵɵproperty("svgIcon", ctx_r0.menuItemGroup.itemGroupIcon ?? "");
908
906
  } }
909
907
  function MenuItemListComponent_ng_template_11_button_1_Conditional_3_Template(rf, ctx) { if (rf & 1) {
910
908
  i0.ɵɵelementStart(0, "mat-icon");
@@ -920,7 +918,7 @@ function MenuItemListComponent_ng_template_11_button_1_Template(rf, ctx) { if (r
920
918
  i0.ɵɵelementStart(0, "button", 35);
921
919
  i0.ɵɵpipe(1, "translate");
922
920
  i0.ɵɵlistener("click", function MenuItemListComponent_ng_template_11_button_1_Template_button_click_0_listener() { i0.ɵɵrestoreView(_r17); const ctx_r0 = i0.ɵɵnextContext(2); return i0.ɵɵresetView(ctx_r0.menuItemGroup == null ? null : ctx_r0.menuItemGroup.itemGroupClick()); });
923
- i0.ɵɵtemplate(2, MenuItemListComponent_ng_template_11_button_1_Conditional_2_Template, 1, 1, "mat-icon", 32)(3, MenuItemListComponent_ng_template_11_button_1_Conditional_3_Template, 2, 1, "mat-icon");
921
+ i0.ɵɵconditionalCreate(2, MenuItemListComponent_ng_template_11_button_1_Conditional_2_Template, 1, 1, "mat-icon", 32)(3, MenuItemListComponent_ng_template_11_button_1_Conditional_3_Template, 2, 1, "mat-icon");
924
922
  i0.ɵɵelementEnd();
925
923
  } if (rf & 2) {
926
924
  const ctx_r0 = i0.ɵɵnextContext(2);
@@ -968,7 +966,7 @@ class MenuItemListComponent {
968
966
  static { this.ɵfac = function MenuItemListComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MenuItemListComponent)(); }; }
969
967
  static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenuItemListComponent, selectors: [["menu-item-list"]], inputs: { direction: "direction", labelsVisible: "labelsVisible", activeItem: "activeItem", showIcons: "showIcons", items: "items", menuItemGroup: "menuItemGroup" }, outputs: { toggleExpand: "toggleExpand" }, standalone: false, decls: 13, vars: 3, consts: [["itemWithChildren", ""], ["menuItemLink", ""], ["menuItemBtn", ""], ["itemGroupButton", ""], ["state", "matMenuTrigger"], ["menu", "matMenu"], ["iconDown", ""], [1, "menu-list-wrapper"], ["fxLayoutAlign", "start center", 1, "menu-item-list-title"], ["fxLayout", "column", 1, "menu-item-list", 3, "fxLayoutAlign"], [4, "ngFor", "ngForOf"], ["class", "menu-title-btn", 4, "ngIf"], ["mat-icon-button", "", "class", "menu-title-btn", 3, "routerLink", "matTooltip", 4, "ngIf"], [1, "menu-title-btn"], ["mat-icon-button", "", 1, "menu-title-btn", 3, "routerLink", "matTooltip"], [4, "ngTemplateOutlet"], [4, "ngTemplateOutlet", "ngTemplateOutletContext"], ["matTooltipClass", "menu-tooltip", "matTooltipPosition", "after", 1, "text-m", "menu-item", "menu-parent-item", 3, "click", "matTooltip", "fxLayout", "fxLayoutAlign", "matMenuTriggerFor", "ngClass.lt-md"], [4, "ngIf"], [1, "child-menu"], ["mat-menu-item", ""], [3, "menuItem"], [1, "menu-item-title"], [1, "title-content"], ["class", "material-icons spin arrow-icon", 4, "ngIf", "ngIfElse"], [1, "material-icons", "spin", "arrow-icon"], [3, "ngClass.lt-md", "menuItem", "direction", "labelsVisible", "activeItem", "showIcons"], [3, "ngClass.lt-md", "menuItem", "direction", "activeItem", 4, "ngIf"], [3, "ngClass.lt-md", "menuItem", "direction", "activeItem"], ["mat-button", "", "class", "menu-title-btn menu-action-button", 3, "active-menu-item-group", "click", 4, "ngIf"], ["mat-icon-button", "", "matTooltipPosition", "after", 3, "matTooltip", "click", 4, "ngIf"], ["mat-button", "", 1, "menu-title-btn", "menu-action-button", 3, "click"], [3, "svgIcon"], ["class", "btn-label", 4, "ngIf"], [1, "btn-label"], ["mat-icon-button", "", "matTooltipPosition", "after", 3, "click", "matTooltip"]], template: function MenuItemListComponent_Template(rf, ctx) { if (rf & 1) {
970
968
  i0.ɵɵelementStart(0, "div", 7);
971
- i0.ɵɵtemplate(1, MenuItemListComponent_Conditional_1_Template, 5, 5, "div", 8)(2, MenuItemListComponent_Conditional_2_Template, 1, 1, "ng-container");
969
+ i0.ɵɵconditionalCreate(1, MenuItemListComponent_Conditional_1_Template, 5, 5, "div", 8)(2, MenuItemListComponent_Conditional_2_Template, 1, 1, "ng-container");
972
970
  i0.ɵɵelementStart(3, "div", 9);
973
971
  i0.ɵɵtemplate(4, MenuItemListComponent_ng_container_4_Template, 2, 4, "ng-container", 10);
974
972
  i0.ɵɵelementEnd()();
@@ -1031,10 +1029,11 @@ function MenuColumnsComponent_ng_container_0_Template(rf, ctx) { if (rf & 1) {
1031
1029
  i0.ɵɵelementContainerEnd();
1032
1030
  } if (rf & 2) {
1033
1031
  const group_r3 = ctx.$implicit;
1032
+ const ctx_r1 = i0.ɵɵnextContext();
1034
1033
  i0.ɵɵadvance();
1035
1034
  i0.ɵɵproperty("ngIf", group_r3.items.length || group_r3.showEmpty);
1036
1035
  i0.ɵɵadvance();
1037
- i0.ɵɵproperty("ngIf", group_r3.isItemsLoading);
1036
+ i0.ɵɵproperty("ngIf", group_r3.isItemsLoading && ctx_r1.isOpen);
1038
1037
  i0.ɵɵadvance();
1039
1038
  i0.ɵɵproperty("ngIf", group_r3.bottomDivider && group_r3.items.length);
1040
1039
  } }
@@ -1082,7 +1081,7 @@ class MenuColumnsComponent {
1082
1081
  }
1083
1082
  (() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MenuColumnsComponent, [{
1084
1083
  type: Component,
1085
- args: [{ selector: 'menu-columns', standalone: false, template: "<ng-container *ngFor=\"let group of mergedGroups\">\r\n <menu-item-list *ngIf=\"group.items.length || group.showEmpty\" [activeItem]=\"activeItem\" [direction]=\"direction\"\r\n (toggleExpand)=\"elementExpanded($event)\" [labelsVisible]=\"isOpen\" [menuItemGroup]=\"group\"\r\n [items]=\"group.items\">\r\n </menu-item-list>\r\n <div class=\"loader-container\" *ngIf=\"group.isItemsLoading\">\r\n <mat-spinner [diameter]=\"24\" class=\"loader\"></mat-spinner>\r\n </div>\r\n <div class=\"divider\" *ngIf=\"group.bottomDivider && group.items.length\">\r\n <mat-divider></mat-divider>\r\n </div>\r\n</ng-container>", styles: [":host{display:inline-block}:host menu-item-list{display:block}.divider{margin:10px 0}.loader-container{padding-left:20px}\n"] }]
1084
+ args: [{ selector: 'menu-columns', standalone: false, template: "<ng-container *ngFor=\"let group of mergedGroups\">\r\n <menu-item-list *ngIf=\"group.items.length || group.showEmpty\" [activeItem]=\"activeItem\" [direction]=\"direction\"\r\n (toggleExpand)=\"elementExpanded($event)\" [labelsVisible]=\"isOpen\" [menuItemGroup]=\"group\"\r\n [items]=\"group.items\">\r\n </menu-item-list>\r\n <div class=\"loader-container\" *ngIf=\"group.isItemsLoading && isOpen\">\r\n <mat-spinner [diameter]=\"24\" class=\"loader\"></mat-spinner>\r\n </div>\r\n <div class=\"divider\" *ngIf=\"group.bottomDivider && group.items.length\">\r\n <mat-divider></mat-divider>\r\n </div>\r\n</ng-container>", styles: [":host{display:inline-block}:host menu-item-list{display:block}.divider{margin:10px 0}.loader-container{padding-left:20px}\n"] }]
1086
1085
  }], () => [{ type: i1$1.Router }, { type: undefined, decorators: [{
1087
1086
  type: Optional
1088
1087
  }, {
@@ -1131,12 +1130,11 @@ function MenuProfileComponent_ng_container_6_Template(rf, ctx) { if (rf & 1) {
1131
1130
  i0.ɵɵtemplate(4, MenuProfileComponent_ng_container_6_mat_icon_4_Template, 2, 0, "mat-icon", 10)(5, MenuProfileComponent_ng_container_6_ng_template_5_Template, 2, 0, "ng-template", null, 3, i0.ɵɵtemplateRefExtractor);
1132
1131
  i0.ɵɵelementContainerEnd();
1133
1132
  } if (rf & 2) {
1134
- let tmp_5_0;
1135
1133
  const iconDown_r2 = i0.ɵɵreference(6);
1136
1134
  const ctx_r0 = i0.ɵɵnextContext();
1137
1135
  const state_r3 = i0.ɵɵreference(2);
1138
1136
  i0.ɵɵadvance(2);
1139
- i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 3, (tmp_5_0 = ctx_r0.username()) !== null && tmp_5_0 !== undefined ? tmp_5_0 : "MENU.ANONYMOUS"), " ");
1137
+ i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(3, 3, ctx_r0.username() ?? "MENU.ANONYMOUS"), " ");
1140
1138
  i0.ɵɵadvance(2);
1141
1139
  i0.ɵɵproperty("ngIf", state_r3.menuOpen)("ngIfElse", iconDown_r2);
1142
1140
  } }
@@ -1175,7 +1173,7 @@ function MenuProfileComponent_For_10_Conditional_0_Conditional_1_Template(rf, ct
1175
1173
  i0.ɵɵproperty("ngTemplateOutlet", profileMenuItem_r6)("ngTemplateOutletContext", i0.ɵɵpureFunction2(3, _c0, item_r5.icon, item_r5.label));
1176
1174
  } }
1177
1175
  function MenuProfileComponent_For_10_Conditional_0_Template(rf, ctx) { if (rf & 1) {
1178
- i0.ɵɵtemplate(0, MenuProfileComponent_For_10_Conditional_0_Conditional_0_Template, 2, 6, "a", 13)(1, MenuProfileComponent_For_10_Conditional_0_Conditional_1_Template, 2, 6, "a", 14);
1176
+ i0.ɵɵconditionalCreate(0, MenuProfileComponent_For_10_Conditional_0_Conditional_0_Template, 2, 6, "a", 13)(1, MenuProfileComponent_For_10_Conditional_0_Conditional_1_Template, 2, 6, "a", 14);
1179
1177
  } if (rf & 2) {
1180
1178
  const item_r5 = i0.ɵɵnextContext().$implicit;
1181
1179
  i0.ɵɵconditional(item_r5.link.isExternal ? 0 : 1);
@@ -1197,7 +1195,7 @@ function MenuProfileComponent_For_10_Conditional_1_Template(rf, ctx) { if (rf &
1197
1195
  i0.ɵɵproperty("ngTemplateOutlet", profileMenuItem_r6)("ngTemplateOutletContext", i0.ɵɵpureFunction2(2, _c0, item_r5.icon, item_r5.label));
1198
1196
  } }
1199
1197
  function MenuProfileComponent_For_10_Template(rf, ctx) { if (rf & 1) {
1200
- i0.ɵɵtemplate(0, MenuProfileComponent_For_10_Conditional_0_Template, 2, 1)(1, MenuProfileComponent_For_10_Conditional_1_Template, 2, 5, "button", 12);
1198
+ i0.ɵɵconditionalCreate(0, MenuProfileComponent_For_10_Conditional_0_Template, 2, 1)(1, MenuProfileComponent_For_10_Conditional_1_Template, 2, 5, "button", 12);
1201
1199
  } if (rf & 2) {
1202
1200
  const item_r5 = ctx.$implicit;
1203
1201
  i0.ɵɵconditional(item_r5.link ? 0 : 1);
@@ -1219,13 +1217,13 @@ function MenuProfileComponent_ng_template_11_Conditional_0_Conditional_1_Templat
1219
1217
  i0.ɵɵproperty("svgIcon", icon_r9 == null ? null : icon_r9.name);
1220
1218
  } }
1221
1219
  function MenuProfileComponent_ng_template_11_Conditional_0_Template(rf, ctx) { if (rf & 1) {
1222
- i0.ɵɵtemplate(0, MenuProfileComponent_ng_template_11_Conditional_0_Conditional_0_Template, 2, 3, "span", 19)(1, MenuProfileComponent_ng_template_11_Conditional_0_Conditional_1_Template, 1, 1, "mat-icon", 20);
1220
+ i0.ɵɵconditionalCreate(0, MenuProfileComponent_ng_template_11_Conditional_0_Conditional_0_Template, 2, 3, "span", 19)(1, MenuProfileComponent_ng_template_11_Conditional_0_Conditional_1_Template, 1, 1, "mat-icon", 20);
1223
1221
  } if (rf & 2) {
1224
1222
  const icon_r9 = i0.ɵɵnextContext().icon;
1225
1223
  i0.ɵɵconditional(!(icon_r9 == null ? null : icon_r9.isCustom) ? 0 : 1);
1226
1224
  } }
1227
1225
  function MenuProfileComponent_ng_template_11_Template(rf, ctx) { if (rf & 1) {
1228
- i0.ɵɵtemplate(0, MenuProfileComponent_ng_template_11_Conditional_0_Template, 2, 1);
1226
+ i0.ɵɵconditionalCreate(0, MenuProfileComponent_ng_template_11_Conditional_0_Template, 2, 1);
1229
1227
  i0.ɵɵtext(1);
1230
1228
  i0.ɵɵpipe(2, "translate");
1231
1229
  } if (rf & 2) {
@@ -1237,9 +1235,9 @@ function MenuProfileComponent_ng_template_11_Template(rf, ctx) { if (rf & 1) {
1237
1235
  } }
1238
1236
  class MenuProfileComponent {
1239
1237
  constructor() {
1240
- this.collapsed = input();
1241
- this.username = input();
1242
- this.userOptions = input();
1238
+ this.collapsed = input(...(ngDevMode ? [undefined, { debugName: "collapsed" }] : []));
1239
+ this.username = input(...(ngDevMode ? [undefined, { debugName: "username" }] : []));
1240
+ this.userOptions = input(...(ngDevMode ? [undefined, { debugName: "userOptions" }] : []));
1243
1241
  this.linkCallbackEvent = output();
1244
1242
  }
1245
1243
  ngOnInit() {
@@ -1265,7 +1263,7 @@ class MenuProfileComponent {
1265
1263
  static { this.ɵfac = function MenuProfileComponent_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || MenuProfileComponent)(); }; }
1266
1264
  static { this.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenuProfileComponent, selectors: [["lib-menu-profile"]], inputs: { collapsed: [1, "collapsed"], username: [1, "username"], userOptions: [1, "userOptions"] }, outputs: { linkCallbackEvent: "linkCallbackEvent" }, standalone: false, decls: 13, vars: 7, consts: [["state", "matMenuTrigger"], ["menu", "matMenu"], ["profileMenuItem", ""], ["iconDown", ""], [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 MenuProfileComponent_Template(rf, ctx) { if (rf & 1) {
1267
1265
  i0.ɵɵelementStart(0, "div", 4)(1, "button", 5, 0)(3, "div", 6);
1268
- i0.ɵɵtemplate(4, MenuProfileComponent_Conditional_4_Template, 1, 1)(5, MenuProfileComponent_Conditional_5_Template, 2, 0, "mat-icon");
1266
+ i0.ɵɵconditionalCreate(4, MenuProfileComponent_Conditional_4_Template, 1, 1)(5, MenuProfileComponent_Conditional_5_Template, 2, 0, "mat-icon");
1269
1267
  i0.ɵɵelementEnd();
1270
1268
  i0.ɵɵtemplate(6, MenuProfileComponent_ng_container_6_Template, 7, 5, "ng-container", 7);
1271
1269
  i0.ɵɵelementEnd();
@@ -1314,7 +1312,7 @@ function MenuLangSwitcherComponent_Conditional_7_Conditional_1_Template(rf, ctx)
1314
1312
  i0.ɵɵelementEnd();
1315
1313
  } }
1316
1314
  function MenuLangSwitcherComponent_Conditional_7_Template(rf, ctx) { if (rf & 1) {
1317
- i0.ɵɵtemplate(0, MenuLangSwitcherComponent_Conditional_7_Conditional_0_Template, 2, 0, "mat-icon", 6)(1, MenuLangSwitcherComponent_Conditional_7_Conditional_1_Template, 2, 0, "mat-icon", 6);
1315
+ i0.ɵɵconditionalCreate(0, MenuLangSwitcherComponent_Conditional_7_Conditional_0_Template, 2, 0, "mat-icon", 6)(1, MenuLangSwitcherComponent_Conditional_7_Conditional_1_Template, 2, 0, "mat-icon", 6);
1318
1316
  } if (rf & 2) {
1319
1317
  i0.ɵɵnextContext();
1320
1318
  const state_r2 = i0.ɵɵreference(1);
@@ -1333,7 +1331,7 @@ function MenuLangSwitcherComponent_For_11_Conditional_0_Template(rf, ctx) { if (
1333
1331
  i0.ɵɵtextInterpolate1(" ", i0.ɵɵpipeBind1(2, 1, lang_r4), " ");
1334
1332
  } }
1335
1333
  function MenuLangSwitcherComponent_For_11_Template(rf, ctx) { if (rf & 1) {
1336
- i0.ɵɵtemplate(0, MenuLangSwitcherComponent_For_11_Conditional_0_Template, 3, 3, "button", 7);
1334
+ i0.ɵɵconditionalCreate(0, MenuLangSwitcherComponent_For_11_Conditional_0_Template, 3, 3, "button", 7);
1337
1335
  } if (rf & 2) {
1338
1336
  const lang_r4 = ctx.$implicit;
1339
1337
  const ctx_r0 = i0.ɵɵnextContext();
@@ -1360,9 +1358,9 @@ class MenuLangSwitcherComponent {
1360
1358
  i0.ɵɵelementStart(3, "div", 3)(4, "mat-icon", 4);
1361
1359
  i0.ɵɵtext(5, "language");
1362
1360
  i0.ɵɵelementEnd();
1363
- i0.ɵɵtemplate(6, MenuLangSwitcherComponent_Conditional_6_Template, 3, 3, "span");
1361
+ i0.ɵɵconditionalCreate(6, MenuLangSwitcherComponent_Conditional_6_Template, 3, 3, "span");
1364
1362
  i0.ɵɵelementEnd();
1365
- i0.ɵɵtemplate(7, MenuLangSwitcherComponent_Conditional_7_Template, 2, 1);
1363
+ i0.ɵɵconditionalCreate(7, MenuLangSwitcherComponent_Conditional_7_Template, 2, 1);
1366
1364
  i0.ɵɵelementEnd();
1367
1365
  i0.ɵɵelementStart(8, "mat-menu", 5, 1);
1368
1366
  i0.ɵɵrepeaterCreate(10, MenuLangSwitcherComponent_For_11_Template, 1, 1, null, null, i0.ɵɵrepeaterTrackByIdentity);