@thetradeengineorg1/snova-shell-module 1.0.3 → 1.0.4

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.
@@ -10146,7 +10146,7 @@
10146
10146
  if (rf & 1) {
10147
10147
  i0__namespace.ɵɵlistener("keydown.control.q", function MenuComponent_keydown_control_q_HostBindingHandler() { return ctx.keyOpenEvent(); }, false, i0__namespace.ɵɵresolveDocument)("keydown.control.m", function MenuComponent_keydown_control_m_HostBindingHandler() { return ctx.keyCloseEvent(); }, false, i0__namespace.ɵɵresolveDocument)("keydown.control.b", function MenuComponent_keydown_control_b_HostBindingHandler() { return ctx.remoteSearchByText(); }, false, i0__namespace.ɵɵresolveDocument)("keydown.control.y", function MenuComponent_keydown_control_y_HostBindingHandler() { return ctx.remoteSearchById(); }, false, i0__namespace.ɵɵresolveDocument);
10148
10148
  }
10149
- }, inputs: { reloadAll: ["reload", "reloadAll"] }, outputs: { isOpened: "isOpened", openNewDashboard: "openNewDashboard" }, features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 12, vars: 7, consts: [["type", "submit", "mat-icon-button", "", "fxHide.gt-xs", "", "fxShow", "", 1, "visibles", 3, "matMenuTriggerFor"], [1, "newMenu"], ["yPosition", "below", 1, "filter-panel", 2, "height", "auto", 3, "click"], ["menus", "matMenu"], [4, "ngFor", "ngForOf"], [1, "home-icon", "mat-icon-button", 2, "position", "relative", "left", "88%"], ["mat-icon-button", "", "matTooltipClass", "tooltipClass-mat", 1, "mat-color-accent", "cursor-pointer", "theme-navbar-icon-color", 2, "width", "40px", "height", "40px", "display", "flex", "align-items", "center", "justify-content", "center", 3, "matTooltip", "routerLink"], [2, "font-size", "28px", "line-height", "1", "background", "linear-gradient(90deg,#5de0e6,#004aad)", "-webkit-background-clip", "text", "-webkit-text-fill-color", "transparent", "background-clip", "text", "text-fill-color", "transparent"], ["style", "position: relative; left:90%", "class", "store-icom mat-icon-button", 3, "ngClass", 4, "ngIf"], [4, "ngIf"], ["mat-menu-item", "", "routerLinkActive", "item-active", 3, "routerLink", "click"], [1, "store-icom", "mat-icon-button", 2, "position", "relative", "left", "90%", 3, "ngClass"], ["mat-icon-button", "", "matTooltipClass", "tooltipClass-mat", 1, "mat-color-accent", "cursor-pointer", "theme-navbar-icon-color", 2, "width", "40px", "height", "40px", "display", "flex", "align-items", "center", "justify-content", "center", 3, "matTooltip", "click"]], template: function MenuComponent_Template(rf, ctx) {
10149
+ }, inputs: { reloadAll: ["reload", "reloadAll"] }, outputs: { isOpened: "isOpened", openNewDashboard: "openNewDashboard" }, features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 12, vars: 7, consts: [["type", "submit", "mat-icon-button", "", "fxHide.gt-xs", "", "fxShow", "", 1, "visibles", 3, "matMenuTriggerFor"], [1, "newMenu"], ["yPosition", "below", 1, "filter-panel", 2, "height", "auto", 3, "click"], ["menus", "matMenu"], [4, "ngFor", "ngForOf"], [1, "home-icon", "mat-icon-button", 2, "position", "relative", "left", "88%"], ["mat-icon-button", "", "matTooltipClass", "tooltipClass-mat", 1, "mat-color-accent", "cursor-pointer", "theme-navbar-icon-color", 2, "width", "40px", "height", "40px", "display", "flex", "align-items", "center", "justify-content", "center", 3, "matTooltip", "routerLink"], [2, "font-size", "28px", "line-height", "1", "background", "linear-gradient(90deg,#f79a6b,#f1580c)", "-webkit-background-clip", "text", "-webkit-text-fill-color", "transparent", "background-clip", "text", "text-fill-color", "transparent"], ["style", "position: relative; left:90%", "class", "store-icom mat-icon-button", 3, "ngClass", 4, "ngIf"], [4, "ngIf"], ["mat-menu-item", "", "routerLinkActive", "item-active", 3, "routerLink", "click"], [1, "store-icom", "mat-icon-button", 2, "position", "relative", "left", "90%", 3, "ngClass"], ["mat-icon-button", "", "matTooltipClass", "tooltipClass-mat", 1, "mat-color-accent", "cursor-pointer", "theme-navbar-icon-color", 2, "width", "40px", "height", "40px", "display", "flex", "align-items", "center", "justify-content", "center", 3, "matTooltip", "click"]], template: function MenuComponent_Template(rf, ctx) {
10150
10150
  if (rf & 1) {
10151
10151
  i0__namespace.ɵɵelementStart(0, "button", 0);
10152
10152
  i0__namespace.ɵɵelementStart(1, "mat-icon", 1);
@@ -12735,7 +12735,7 @@
12735
12735
  i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.openAnnoucementDialogComponent = _t.first);
12736
12736
  i0__namespace.ɵɵqueryRefresh(_t = i0__namespace.ɵɵloadQuery()) && (ctx.fileUploadDropzonePopup = _t);
12737
12737
  }
12738
- }, inputs: { notificPanel: "notificPanel" }, outputs: { opened: "opened" }, features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 45, vars: 26, consts: [[1, "topbar", "remove-padding", 2, "background", "#ffffff !important", "border-bottom", "1px solid #e5e7eb", "height", "65px", "padding", "0 20px", "z-index", "1200", "position", "relative"], ["fxFlex", ""], [3, "reload", "isOpened", "openNewDashboard"], ["fxFlex", "", "fxLayout", "row", "fxHide.xs", "", "fxLayoutAlign", "center"], ["fxFlex", "", "fxLayout", "row", "fxLayoutAlign", "end center", 2, "gap", "10px"], ["class", "filter-data custom-box language-section", "style", "width:180px; position:relative;", 3, "click", 4, "ngIf"], [4, "ngIf"], ["mat-icon-button", "", "id", "feedTimeSheetComponent", 2, "background", "rgba(255,255,255,0.6)", "border-radius", "10px", 3, "matTooltip", "satPopoverAnchorFor", "click"], [2, "background", "linear-gradient(90deg,#5de0e6,#004aad)", "-webkit-background-clip", "text", "-webkit-text-fill-color", "transparent"], ["mat-icon-button", "", "style", "position:relative; background:rgba(255,255,255,0.6); border-radius:10px;", 3, "matTooltip", "matMenuTriggerFor", "click", 4, "ngIf"], ["notification", "matMenu"], ["mat-icon-button", "", "style", "width:32px; height:32px; background:rgba(255,255,255,0.6);\n border-radius:50%; border:1px solid #e5e7eb;\n display:flex; align-items:center; justify-content:center; overflow:hidden;", 3, "matMenuTriggerFor", 4, "ngIf"], ["hasBackdrop", "", "scrollStrategy", "reposition", "verticalAlign", "below", "horizontalAlign", "before", 3, "autoFocus", "restoreFocus", "interactiveClose"], ["feedTimeSheet", ""], [3, "isFeedTimeSheet", "closeFeedTimeSheetPopup"], ["accountMenu", "matMenu"], ["mat-menu-item", "", 3, "click"], ["mat-menu-item", "", 3, "click", 4, "ngIf"], [1, "feedback-icon", 3, "satPopoverAnchorFor"], ["verticalAlign", "below", "hasBackdrop", "", "backdropClass", "backdrop-color", "horizontalAlign", "end", 3, "interactiveClose"], ["feedBackPopOver", ""], [3, "closeDialog", 4, "ngIf"], [1, "filter-data", "custom-box", "language-section", 2, "width", "180px", "position", "relative", 3, "click"], ["placeholder", "", "name", "selectedCompany", "panelClass", "company-select-panel", 3, "ngModel", "ngModelChange", "selectionChange"], ["style", "display:flex; align-items:center; gap:10px;", 4, "ngIf"], ["fxFlex", "", "fxLayoutAlign", "start center", 1, "search_goalinput", "ml-1", 2, "position", "sticky", "top", "0", "z-index", "1", "background-color", "#fff", "padding", "6px 8px"], [1, "full-width", 2, "width", "100%", "margin", "0"], ["matInput", "", "autocomplete", "off", 1, "search_goal", 3, "placeholder", "ngModel", "ngModelChange"], ["style", "cursor:pointer", 3, "click", 4, "ngIf"], ["matTooltipClass", "tooltipClass-mat", "matTooltipShowDelay", "400", 3, "value", "matTooltip", 4, "ngFor", "ngForOf"], [2, "display", "flex", "align-items", "center", "gap", "10px"], ["fxLayoutAlign", "start center", "size", "20", 3, "name", "src", "isRound"], [1, "language-display", 2, "font-weight", "600", "overflow", "hidden", "text-overflow", "ellipsis", "white-space", "nowrap", "background", "linear-gradient(90deg,#5de0e6,#004aad)", "-webkit-background-clip", "text", "-webkit-text-fill-color", "transparent", "background-clip", "text"], [2, "cursor", "pointer", 3, "click"], ["matTooltipClass", "tooltipClass-mat", "matTooltipShowDelay", "400", 3, "value", "matTooltip"], [1, "cursor-pointer", 2, "display", "flex", "align-items", "center"], ["size", "20", 3, "name", "src", "isRound"], [2, "margin-left", "8px"], ["mat-icon-button", "", 2, "background", "rgba(255,255,255,0.6)", "border-radius", "10px", 3, "matTooltip", "ngClass", "click"], ["mat-icon-button", "", 2, "background", "rgba(255,255,255,0.6)", "border-radius", "10px", 3, "matTooltip", "click"], ["mat-icon-button", "", 2, "position", "relative", "background", "rgba(255,255,255,0.6)", "border-radius", "10px", 3, "matTooltip", "matMenuTriggerFor", "click"], ["class", "notification-number mat-bg-warn", "style", "position:absolute; top:-2px; right:-2px;", 4, "ngIf"], [1, "notification-number", "mat-bg-warn", 2, "position", "absolute", "top", "-2px", "right", "-2px"], ["mat-icon-button", "", 2, "width", "32px", "height", "32px", "background", "rgba(255,255,255,0.6)", "border-radius", "50%", "border", "1px solid #e5e7eb", "display", "flex", "align-items", "center", "justify-content", "center", "overflow", "hidden", 3, "matMenuTriggerFor"], ["alt", "profile image", "style", "width:28px; height:28px; border-radius:50%;", 3, "src", 4, "ngIf"], ["alt", "profile image", 2, "width", "28px", "height", "28px", "border-radius", "50%", 3, "src"], ["size", "26", 3, "name", "isRound"], [3, "closeDialog"]], template: function HeaderSideComponent_Template(rf, ctx) {
12738
+ }, inputs: { notificPanel: "notificPanel" }, outputs: { opened: "opened" }, features: [i0__namespace.ɵɵInheritDefinitionFeature], decls: 45, vars: 26, consts: [[1, "topbar", "remove-padding", 2, "background", "#ffffff !important", "border-bottom", "1px solid #e5e7eb", "height", "65px", "padding", "0 20px", "z-index", "1200", "position", "relative"], ["fxFlex", ""], [3, "reload", "isOpened", "openNewDashboard"], ["fxFlex", "", "fxLayout", "row", "fxHide.xs", "", "fxLayoutAlign", "center"], ["fxFlex", "", "fxLayout", "row", "fxLayoutAlign", "end center", 2, "gap", "10px"], ["class", "filter-data custom-box language-section", "style", "width:180px; position:relative;", 3, "click", 4, "ngIf"], [4, "ngIf"], ["mat-icon-button", "", "id", "feedTimeSheetComponent", 2, "background", "rgba(255,255,255,0.6)", "border-radius", "10px", 3, "matTooltip", "satPopoverAnchorFor", "click"], [2, "background", "linear-gradient(90deg,#f79a6b,#f1580c)", "-webkit-background-clip", "text", "-webkit-text-fill-color", "transparent"], ["mat-icon-button", "", "style", "position:relative; background:rgba(255,255,255,0.6); border-radius:10px;", 3, "matTooltip", "matMenuTriggerFor", "click", 4, "ngIf"], ["notification", "matMenu"], ["mat-icon-button", "", "style", "width:32px; height:32px; background:rgba(255,255,255,0.6);\n border-radius:50%; border:1px solid #e5e7eb;\n display:flex; align-items:center; justify-content:center; overflow:hidden;", 3, "matMenuTriggerFor", 4, "ngIf"], ["hasBackdrop", "", "scrollStrategy", "reposition", "verticalAlign", "below", "horizontalAlign", "before", 3, "autoFocus", "restoreFocus", "interactiveClose"], ["feedTimeSheet", ""], [3, "isFeedTimeSheet", "closeFeedTimeSheetPopup"], ["accountMenu", "matMenu"], ["mat-menu-item", "", 3, "click"], ["mat-menu-item", "", 3, "click", 4, "ngIf"], [1, "feedback-icon", 3, "satPopoverAnchorFor"], ["verticalAlign", "below", "hasBackdrop", "", "backdropClass", "backdrop-color", "horizontalAlign", "end", 3, "interactiveClose"], ["feedBackPopOver", ""], [3, "closeDialog", 4, "ngIf"], [1, "filter-data", "custom-box", "language-section", 2, "width", "180px", "position", "relative", 3, "click"], ["placeholder", "", "name", "selectedCompany", "panelClass", "company-select-panel", 3, "ngModel", "ngModelChange", "selectionChange"], ["style", "display:flex; align-items:center; gap:10px;", 4, "ngIf"], ["fxFlex", "", "fxLayoutAlign", "start center", 1, "search_goalinput", "ml-1", 2, "position", "sticky", "top", "0", "z-index", "1", "background-color", "#fff", "padding", "6px 8px"], [1, "full-width", 2, "width", "100%", "margin", "0"], ["matInput", "", "autocomplete", "off", 1, "search_goal", 3, "placeholder", "ngModel", "ngModelChange"], ["style", "cursor:pointer", 3, "click", 4, "ngIf"], ["matTooltipClass", "tooltipClass-mat", "matTooltipShowDelay", "400", 3, "value", "matTooltip", 4, "ngFor", "ngForOf"], [2, "display", "flex", "align-items", "center", "gap", "10px"], ["fxLayoutAlign", "start center", "size", "20", 3, "name", "src", "isRound"], [1, "language-display", 2, "font-weight", "600", "overflow", "hidden", "text-overflow", "ellipsis", "white-space", "nowrap", "background", "linear-gradient(90deg,#f79a6b,#f1580c)", "-webkit-background-clip", "text", "-webkit-text-fill-color", "transparent", "background-clip", "text"], [2, "cursor", "pointer", 3, "click"], ["matTooltipClass", "tooltipClass-mat", "matTooltipShowDelay", "400", 3, "value", "matTooltip"], [1, "cursor-pointer", 2, "display", "flex", "align-items", "center"], ["size", "20", 3, "name", "src", "isRound"], [2, "margin-left", "8px"], ["mat-icon-button", "", 2, "background", "rgba(255,255,255,0.6)", "border-radius", "10px", 3, "matTooltip", "ngClass", "click"], ["mat-icon-button", "", 2, "background", "rgba(255,255,255,0.6)", "border-radius", "10px", 3, "matTooltip", "click"], ["mat-icon-button", "", 2, "position", "relative", "background", "rgba(255,255,255,0.6)", "border-radius", "10px", 3, "matTooltip", "matMenuTriggerFor", "click"], ["class", "notification-number mat-bg-warn", "style", "position:absolute; top:-2px; right:-2px;", 4, "ngIf"], [1, "notification-number", "mat-bg-warn", 2, "position", "absolute", "top", "-2px", "right", "-2px"], ["mat-icon-button", "", 2, "width", "32px", "height", "32px", "background", "rgba(255,255,255,0.6)", "border-radius", "50%", "border", "1px solid #e5e7eb", "display", "flex", "align-items", "center", "justify-content", "center", "overflow", "hidden", 3, "matMenuTriggerFor"], ["alt", "profile image", "style", "width:28px; height:28px; border-radius:50%;", 3, "src", 4, "ngIf"], ["alt", "profile image", 2, "width", "28px", "height", "28px", "border-radius", "50%", 3, "src"], ["size", "26", 3, "name", "isRound"], [3, "closeDialog"]], template: function HeaderSideComponent_Template(rf, ctx) {
12739
12739
  if (rf & 1) {
12740
12740
  var _r38_1 = i0__namespace.ɵɵgetCurrentView();
12741
12741
  i0__namespace.ɵɵelementStart(0, "mat-toolbar", 0);
@@ -12914,7 +12914,7 @@
12914
12914
  var item_r1 = i0__namespace.ɵɵnextContext().$implicit;
12915
12915
  var ctx_r3 = i0__namespace.ɵɵnextContext();
12916
12916
  i0__namespace.ɵɵadvance(2);
12917
- i0__namespace.ɵɵtextInterpolate(item_r1.icon);
12917
+ i0__namespace.ɵɵtextInterpolate1(" ", item_r1.icon, " ");
12918
12918
  i0__namespace.ɵɵadvance(2);
12919
12919
  i0__namespace.ɵɵtextInterpolate1(" ", item_r1.menu ? i0__namespace.ɵɵpipeBind2(5, 2, item_r1.menu, ctx_r3.softLabels) : i0__namespace.ɵɵpipeBind1(6, 5, item_r1.name), " ");
12920
12920
  }
@@ -12922,7 +12922,7 @@
12922
12922
  function SideBarComponent_div_9_ng_container_4_Template(rf, ctx) {
12923
12923
  if (rf & 1) {
12924
12924
  i0__namespace.ɵɵelementContainerStart(0);
12925
- i0__namespace.ɵɵelementStart(1, "a", 12);
12925
+ i0__namespace.ɵɵelementStart(1, "a", 10);
12926
12926
  i0__namespace.ɵɵelementStart(2, "mat-icon", 5);
12927
12927
  i0__namespace.ɵɵtext(3);
12928
12928
  i0__namespace.ɵɵelementEnd();
@@ -12940,58 +12940,29 @@
12940
12940
  i0__namespace.ɵɵadvance(1);
12941
12941
  i0__namespace.ɵɵproperty("href", item_r1.state, i0__namespace.ɵɵsanitizeUrl);
12942
12942
  i0__namespace.ɵɵadvance(2);
12943
- i0__namespace.ɵɵtextInterpolate(item_r1.icon);
12943
+ i0__namespace.ɵɵtextInterpolate1(" ", item_r1.icon, " ");
12944
12944
  i0__namespace.ɵɵadvance(2);
12945
12945
  i0__namespace.ɵɵtextInterpolate1(" ", item_r1.menu ? i0__namespace.ɵɵpipeBind2(6, 3, item_r1.menu, ctx_r4.softLabels) : i0__namespace.ɵɵpipeBind1(7, 6, item_r1.name), " ");
12946
12946
  }
12947
12947
  }
12948
- function SideBarComponent_div_9_div_5_Template(rf, ctx) {
12949
- if (rf & 1) {
12950
- var _r12_1 = i0__namespace.ɵɵgetCurrentView();
12951
- i0__namespace.ɵɵelementStart(0, "div", 13);
12952
- i0__namespace.ɵɵlistener("click", function SideBarComponent_div_9_div_5_Template_div_click_0_listener() { i0__namespace.ɵɵrestoreView(_r12_1); var item_r1 = i0__namespace.ɵɵnextContext().$implicit; var ctx_r10 = i0__namespace.ɵɵnextContext(); return ctx_r10.toggleDropdown(item_r1); });
12953
- i0__namespace.ɵɵelementStart(1, "mat-icon", 5);
12954
- i0__namespace.ɵɵtext(2);
12955
- i0__namespace.ɵɵelementEnd();
12956
- i0__namespace.ɵɵelementStart(3, "h6", 6);
12957
- i0__namespace.ɵɵtext(4);
12958
- i0__namespace.ɵɵpipe(5, "softLabelsPipe");
12959
- i0__namespace.ɵɵpipe(6, "translate");
12960
- i0__namespace.ɵɵelementEnd();
12961
- i0__namespace.ɵɵelementStart(7, "mat-icon", 14);
12962
- i0__namespace.ɵɵtext(8);
12963
- i0__namespace.ɵɵelementEnd();
12964
- i0__namespace.ɵɵelementEnd();
12965
- }
12966
- if (rf & 2) {
12967
- var item_r1 = i0__namespace.ɵɵnextContext().$implicit;
12968
- var ctx_r5 = i0__namespace.ɵɵnextContext();
12969
- i0__namespace.ɵɵadvance(2);
12970
- i0__namespace.ɵɵtextInterpolate(item_r1.icon);
12971
- i0__namespace.ɵɵadvance(2);
12972
- i0__namespace.ɵɵtextInterpolate1(" ", item_r1.menu ? i0__namespace.ɵɵpipeBind2(5, 3, item_r1.menu, ctx_r5.softLabels) : i0__namespace.ɵɵpipeBind1(6, 6, item_r1.name), " ");
12973
- i0__namespace.ɵɵadvance(4);
12974
- i0__namespace.ɵɵtextInterpolate1(" ", item_r1.open ? "expand_less" : "expand_more", " ");
12975
- }
12976
- }
12977
12948
  var _c0$6 = function (a0) { return { background: a0 }; };
12978
- function SideBarComponent_div_9_div_6_span_1_Template(rf, ctx) {
12949
+ function SideBarComponent_div_9_div_5_span_1_Template(rf, ctx) {
12979
12950
  if (rf & 1) {
12980
- i0__namespace.ɵɵelementStart(0, "span", 17);
12951
+ i0__namespace.ɵɵelementStart(0, "span", 13);
12981
12952
  i0__namespace.ɵɵtext(1);
12982
12953
  i0__namespace.ɵɵelementEnd();
12983
12954
  }
12984
12955
  if (rf & 2) {
12985
- var badge_r15 = ctx.$implicit;
12986
- i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction1(2, _c0$6, badge_r15.color));
12956
+ var badge_r9 = ctx.$implicit;
12957
+ i0__namespace.ɵɵproperty("ngStyle", i0__namespace.ɵɵpureFunction1(2, _c0$6, badge_r9.color));
12987
12958
  i0__namespace.ɵɵadvance(1);
12988
- i0__namespace.ɵɵtextInterpolate1(" ", badge_r15.value, " ");
12959
+ i0__namespace.ɵɵtextInterpolate1(" ", badge_r9.value, " ");
12989
12960
  }
12990
12961
  }
12991
- function SideBarComponent_div_9_div_6_Template(rf, ctx) {
12962
+ function SideBarComponent_div_9_div_5_Template(rf, ctx) {
12992
12963
  if (rf & 1) {
12993
- i0__namespace.ɵɵelementStart(0, "div", 15);
12994
- i0__namespace.ɵɵtemplate(1, SideBarComponent_div_9_div_6_span_1_Template, 2, 4, "span", 16);
12964
+ i0__namespace.ɵɵelementStart(0, "div", 11);
12965
+ i0__namespace.ɵɵtemplate(1, SideBarComponent_div_9_div_5_span_1_Template, 2, 4, "span", 12);
12995
12966
  i0__namespace.ɵɵelementEnd();
12996
12967
  }
12997
12968
  if (rf & 2) {
@@ -13000,61 +12971,19 @@
13000
12971
  i0__namespace.ɵɵproperty("ngForOf", item_r1.badges);
13001
12972
  }
13002
12973
  }
13003
- function SideBarComponent_div_9_div_7_div_1_Template(rf, ctx) {
13004
- if (rf & 1) {
13005
- var _r21_1 = i0__namespace.ɵɵgetCurrentView();
13006
- i0__namespace.ɵɵelementStart(0, "div", 2);
13007
- i0__namespace.ɵɵelementStart(1, "div", 19);
13008
- i0__namespace.ɵɵlistener("click", function SideBarComponent_div_9_div_7_div_1_Template_div_click_1_listener() { var restoredCtx = i0__namespace.ɵɵrestoreView(_r21_1); var itemLvL2_r18 = restoredCtx.$implicit; var ctx_r20 = i0__namespace.ɵɵnextContext(2); var i_r2 = ctx_r20.index; var item_r1 = ctx_r20.$implicit; var ctx_r19 = i0__namespace.ɵɵnextContext(); return ctx_r19.selectMenu(i_r2, "/" + item_r1.state + "/" + itemLvL2_r18.state); });
13009
- i0__namespace.ɵɵelementStart(2, "div", 4);
13010
- i0__namespace.ɵɵelementStart(3, "mat-icon", 5);
13011
- i0__namespace.ɵɵtext(4);
13012
- i0__namespace.ɵɵelementEnd();
13013
- i0__namespace.ɵɵelementStart(5, "h6", 6);
13014
- i0__namespace.ɵɵtext(6);
13015
- i0__namespace.ɵɵpipe(7, "softLabelsPipe");
13016
- i0__namespace.ɵɵpipe(8, "translate");
13017
- i0__namespace.ɵɵelementEnd();
13018
- i0__namespace.ɵɵelementEnd();
13019
- i0__namespace.ɵɵelementEnd();
13020
- i0__namespace.ɵɵelementEnd();
13021
- }
13022
- if (rf & 2) {
13023
- var itemLvL2_r18 = ctx.$implicit;
13024
- var ctx_r17 = i0__namespace.ɵɵnextContext(3);
13025
- i0__namespace.ɵɵadvance(4);
13026
- i0__namespace.ɵɵtextInterpolate(itemLvL2_r18.icon);
13027
- i0__namespace.ɵɵadvance(2);
13028
- i0__namespace.ɵɵtextInterpolate1(" ", itemLvL2_r18.menu ? i0__namespace.ɵɵpipeBind2(7, 2, itemLvL2_r18.menu, ctx_r17.softLabels) : i0__namespace.ɵɵpipeBind1(8, 5, itemLvL2_r18.name), " ");
13029
- }
13030
- }
13031
- function SideBarComponent_div_9_div_7_Template(rf, ctx) {
13032
- if (rf & 1) {
13033
- i0__namespace.ɵɵelementStart(0, "div", 18);
13034
- i0__namespace.ɵɵtemplate(1, SideBarComponent_div_9_div_7_div_1_Template, 9, 7, "div", 7);
13035
- i0__namespace.ɵɵelementEnd();
13036
- }
13037
- if (rf & 2) {
13038
- var item_r1 = i0__namespace.ɵɵnextContext().$implicit;
13039
- i0__namespace.ɵɵadvance(1);
13040
- i0__namespace.ɵɵproperty("ngForOf", item_r1.sub);
13041
- }
13042
- }
13043
- var _c1$1 = function () { return { "background-color": "#DBEAFE", "border-image": "linear-gradient(135deg,#5de0e6,#004aad) 1", "box-shadow": "0 4px 15px rgba(0,0,0,0.15)" }; };
12974
+ var _c1$1 = function () { return { "background-color": "#DBEAFE", "border-image": "linear-gradient(135deg,#f79a6b,#f1580c) 1", "box-shadow": "0 4px 15px rgba(0,0,0,0.15)" }; };
13044
12975
  function SideBarComponent_div_9_Template(rf, ctx) {
13045
12976
  if (rf & 1) {
13046
- var _r24_1 = i0__namespace.ɵɵgetCurrentView();
12977
+ var _r12_1 = i0__namespace.ɵɵgetCurrentView();
13047
12978
  i0__namespace.ɵɵelementStart(0, "div", 2);
13048
12979
  i0__namespace.ɵɵelementStart(1, "div", 3);
13049
- i0__namespace.ɵɵlistener("mouseenter", function SideBarComponent_div_9_Template_div_mouseenter_1_listener() { var restoredCtx = i0__namespace.ɵɵrestoreView(_r24_1); var i_r2 = restoredCtx.index; var ctx_r23 = i0__namespace.ɵɵnextContext(); return ctx_r23.enter(i_r2); })("mouseleave", function SideBarComponent_div_9_Template_div_mouseleave_1_listener() { var restoredCtx = i0__namespace.ɵɵrestoreView(_r24_1); var i_r2 = restoredCtx.index; var ctx_r25 = i0__namespace.ɵɵnextContext(); return ctx_r25.leave(i_r2); })("click", function SideBarComponent_div_9_Template_div_click_1_listener() { var restoredCtx = i0__namespace.ɵɵrestoreView(_r24_1); var i_r2 = restoredCtx.index; var item_r1 = restoredCtx.$implicit; var ctx_r26 = i0__namespace.ɵɵnextContext(); return ctx_r26.selectMenu(i_r2, item_r1.state); });
12980
+ i0__namespace.ɵɵlistener("mouseenter", function SideBarComponent_div_9_Template_div_mouseenter_1_listener() { var restoredCtx = i0__namespace.ɵɵrestoreView(_r12_1); var i_r2 = restoredCtx.index; var ctx_r11 = i0__namespace.ɵɵnextContext(); return ctx_r11.enter(i_r2); })("mouseleave", function SideBarComponent_div_9_Template_div_mouseleave_1_listener() { var restoredCtx = i0__namespace.ɵɵrestoreView(_r12_1); var i_r2 = restoredCtx.index; var ctx_r13 = i0__namespace.ɵɵnextContext(); return ctx_r13.leave(i_r2); })("click", function SideBarComponent_div_9_Template_div_click_1_listener() { var restoredCtx = i0__namespace.ɵɵrestoreView(_r12_1); var i_r2 = restoredCtx.index; var item_r1 = restoredCtx.$implicit; var ctx_r14 = i0__namespace.ɵɵnextContext(); return ctx_r14.selectMenu(i_r2, item_r1.state); });
13050
12981
  i0__namespace.ɵɵelementStart(2, "div", 4);
13051
12982
  i0__namespace.ɵɵtemplate(3, SideBarComponent_div_9_ng_container_3_Template, 7, 7, "ng-container", 8);
13052
12983
  i0__namespace.ɵɵtemplate(4, SideBarComponent_div_9_ng_container_4_Template, 8, 8, "ng-container", 8);
13053
- i0__namespace.ɵɵtemplate(5, SideBarComponent_div_9_div_5_Template, 9, 8, "div", 9);
13054
- i0__namespace.ɵɵtemplate(6, SideBarComponent_div_9_div_6_Template, 2, 1, "div", 10);
12984
+ i0__namespace.ɵɵtemplate(5, SideBarComponent_div_9_div_5_Template, 2, 1, "div", 9);
13055
12985
  i0__namespace.ɵɵelementEnd();
13056
12986
  i0__namespace.ɵɵelementEnd();
13057
- i0__namespace.ɵɵtemplate(7, SideBarComponent_div_9_div_7_Template, 2, 1, "div", 11);
13058
12987
  i0__namespace.ɵɵelementEnd();
13059
12988
  }
13060
12989
  if (rf & 2) {
@@ -13062,17 +12991,13 @@
13062
12991
  var i_r2 = ctx.index;
13063
12992
  var ctx_r0 = i0__namespace.ɵɵnextContext();
13064
12993
  i0__namespace.ɵɵadvance(1);
13065
- i0__namespace.ɵɵproperty("ngStyle", (ctx_r0.selectedRowIndex == i_r2 || ctx_r0.showBackGroundColor == i_r2) && i0__namespace.ɵɵpureFunction0(6, _c1$1));
12994
+ i0__namespace.ɵɵproperty("ngStyle", (ctx_r0.selectedRowIndex == i_r2 || ctx_r0.showBackGroundColor == i_r2) && i0__namespace.ɵɵpureFunction0(4, _c1$1));
13066
12995
  i0__namespace.ɵɵadvance(2);
13067
12996
  i0__namespace.ɵɵproperty("ngIf", item_r1.type === "link" || item_r1.type === "applicationlink");
13068
12997
  i0__namespace.ɵɵadvance(1);
13069
12998
  i0__namespace.ɵɵproperty("ngIf", item_r1.type === "extLink");
13070
12999
  i0__namespace.ɵɵadvance(1);
13071
- i0__namespace.ɵɵproperty("ngIf", item_r1.type === "dropDown");
13072
- i0__namespace.ɵɵadvance(1);
13073
13000
  i0__namespace.ɵɵproperty("ngIf", item_r1.badges == null ? null : item_r1.badges.length);
13074
- i0__namespace.ɵɵadvance(1);
13075
- i0__namespace.ɵɵproperty("ngIf", item_r1.open && item_r1.type === "dropDown");
13076
13001
  }
13077
13002
  }
13078
13003
  var SideBarComponent = /** @class */ (function () {
@@ -13085,8 +13010,28 @@
13085
13010
  var _this = this;
13086
13011
  // load soft labels
13087
13012
  this.softLabels = JSON.parse(localStorage.getItem("SoftLabels"));
13088
- // get menu items from store
13089
- this.menuItems$ = this.store.pipe(i3.select(getCurrentActiveMenuCategoryMenuItems), operators.tap(function (menuList) { return _this.routerActive(menuList); }));
13013
+ // get menu items and filter out HR, HR management & Activity Tracker
13014
+ this.menuItems$ = this.store.pipe(i3.select(getCurrentActiveMenuCategoryMenuItems), operators.map(function (menuList) { return menuList.filter(function (item) {
13015
+ var _a, _b;
13016
+ var menuLabel = ((_a = item.menu) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || "";
13017
+ var state = ((_b = item.state) === null || _b === void 0 ? void 0 : _b.toLowerCase()) || "";
13018
+ // ❌ remove HR (direct link)
13019
+ if (menuLabel === "hr" || state.startsWith("hrmanagment/employeelist")) {
13020
+ return false;
13021
+ }
13022
+ // ❌ remove HR management dropdown & submenus
13023
+ if (menuLabel.includes("hr managment") || menuLabel.includes("hr management")) {
13024
+ return false;
13025
+ }
13026
+ if (state.startsWith("hrmanagment") || state.startsWith("hrmdetails")) {
13027
+ return false;
13028
+ }
13029
+ // ❌ remove Activity Tracker
13030
+ if (menuLabel.includes("activity tracker") || state.startsWith("activitytracker")) {
13031
+ return false;
13032
+ }
13033
+ return true;
13034
+ }); }), operators.tap(function (menuList) { return _this.routerActive(menuList); }));
13090
13035
  // trigger menu load
13091
13036
  this.store.dispatch(new GetAllMenuItemsTriggered(MenuCategories.Main));
13092
13037
  // listen to route changes
@@ -13112,10 +13057,6 @@
13112
13057
  SideBarComponent.prototype.leave = function (i) {
13113
13058
  this.showBackGroundColor = null;
13114
13059
  };
13115
- SideBarComponent.prototype.toggleDropdown = function (item) {
13116
- item.open = !item.open;
13117
- };
13118
- // ✅ NEW: unified method
13119
13060
  SideBarComponent.prototype.selectMenu = function (index, link) {
13120
13061
  this.selectedRowIndex = index;
13121
13062
  if (link) {
@@ -13125,7 +13066,7 @@
13125
13066
  return SideBarComponent;
13126
13067
  }());
13127
13068
  SideBarComponent.ɵfac = function SideBarComponent_Factory(t) { return new (t || SideBarComponent)(i0__namespace.ɵɵdirectiveInject(i3__namespace.Store), i0__namespace.ɵɵdirectiveInject(i2__namespace.Router)); };
13128
- SideBarComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: SideBarComponent, selectors: [["app-sidebar"]], decls: 11, vars: 5, consts: [[1, "d-flex", "flex-column", "justify-content-center", "align-items-center", 2, "width", "100vw", "height", "calc(100vh - 60px)", "background-color", "#F9FAFB", "padding", "30px", "overflow", "auto"], [1, "row", "justify-content-center", "align-items-center", 2, "height", "auto"], [1, "col-6", "col-md-3", "mb-4"], [1, "card", "cursor-pointer", 2, "height", "150px", "border-radius", "12px", "transition", "all 0.3s ease", "background", "#fff", "box-shadow", "0 2px 6px rgba(0,0,0,0.08)", "border", "2px solid transparent", 3, "ngStyle", "mouseenter", "mouseleave", "click"], [1, "card-body", "d-flex", "flex-column", "align-items-center", "justify-content-center"], [2, "font-size", "40px", "margin-bottom", "10px", "width", "48px", "height", "48px", "display", "flex", "align-items", "center", "justify-content", "center", "background", "linear-gradient(135deg,#5de0e6,#004aad)", "-webkit-background-clip", "text", "-webkit-text-fill-color", "transparent", "background-clip", "text", "text-fill-color", "transparent"], [2, "font-size", "14px", "margin", "0", "color", "#111827", "text-align", "center"], ["class", "col-6 col-md-3 mb-4", 4, "ngFor", "ngForOf"], [4, "ngIf"], ["class", "w-100 d-flex flex-column align-items-center cursor-pointer", 3, "click", 4, "ngIf"], ["class", "mt-2", 4, "ngIf"], ["class", "row w-100 mt-2", 4, "ngIf"], ["target", "_blank", 1, "w-100", "d-flex", "flex-column", "align-items-center", 3, "href"], [1, "w-100", "d-flex", "flex-column", "align-items-center", "cursor-pointer", 3, "click"], [2, "font-size", "24px", "margin-top", "5px", "width", "32px", "height", "32px", "background", "linear-gradient(135deg,#5de0e6,#004aad)", "-webkit-background-clip", "text", "-webkit-text-fill-color", "transparent", "background-clip", "text", "text-fill-color", "transparent"], [1, "mt-2"], ["class", "badge rounded-pill", 3, "ngStyle", 4, "ngFor", "ngForOf"], [1, "badge", "rounded-pill", 3, "ngStyle"], [1, "row", "w-100", "mt-2"], [1, "card", "cursor-pointer", 2, "height", "150px", "border-radius", "12px", "transition", "all 0.3s ease", "background", "#fff", "box-shadow", "0 2px 6px rgba(0,0,0,0.08)", "border", "2px solid transparent", 3, "click"]], template: function SideBarComponent_Template(rf, ctx) {
13069
+ SideBarComponent.ɵcmp = /*@__PURE__*/ i0__namespace.ɵɵdefineComponent({ type: SideBarComponent, selectors: [["app-sidebar"]], decls: 11, vars: 5, consts: [[1, "d-flex", "flex-column", "justify-content-center", "align-items-center", 2, "width", "100vw", "height", "calc(100vh - 60px)", "padding", "30px", "overflow", "auto", "background", "linear-gradient(rgba(255,255,255,0.7), rgba(255,255,255,0.7))"], [1, "row", "justify-content-center", "align-items-center", 2, "height", "auto"], [1, "col-6", "col-md-3", "mb-4"], [1, "card", "cursor-pointer", 2, "height", "150px", "border-radius", "12px", "transition", "all 0.3s ease", "background", "#fff", "box-shadow", "0 2px 6px rgba(0,0,0,0.08)", "border", "2px solid transparent", 3, "ngStyle", "mouseenter", "mouseleave", "click"], [1, "card-body", "d-flex", "flex-column", "align-items-center", "justify-content-center"], [2, "font-size", "40px", "margin-bottom", "10px", "width", "48px", "height", "48px", "display", "flex", "align-items", "center", "justify-content", "center", "background", "linear-gradient(135deg,#f79a6b,#f1580c)", "-webkit-background-clip", "text", "-webkit-text-fill-color", "transparent", "background-clip", "text", "text-fill-color", "transparent"], [2, "font-size", "14px", "margin", "0", "color", "#111827", "text-align", "center"], ["class", "col-6 col-md-3 mb-4", 4, "ngFor", "ngForOf"], [4, "ngIf"], ["class", "mt-2", 4, "ngIf"], ["target", "_blank", 1, "w-100", "d-flex", "flex-column", "align-items-center", 3, "href"], [1, "mt-2"], ["class", "badge rounded-pill", 3, "ngStyle", 4, "ngFor", "ngForOf"], [1, "badge", "rounded-pill", 3, "ngStyle"]], template: function SideBarComponent_Template(rf, ctx) {
13129
13070
  if (rf & 1) {
13130
13071
  i0__namespace.ɵɵelementStart(0, "div", 0);
13131
13072
  i0__namespace.ɵɵelementStart(1, "div", 1);
@@ -13134,15 +13075,15 @@
13134
13075
  i0__namespace.ɵɵlistener("mouseenter", function SideBarComponent_Template_div_mouseenter_3_listener() { return ctx.enter(99); })("mouseleave", function SideBarComponent_Template_div_mouseleave_3_listener() { return ctx.leave(99); })("click", function SideBarComponent_Template_div_click_3_listener() { return ctx.selectMenu(99, "/dashboard-management"); });
13135
13076
  i0__namespace.ɵɵelementStart(4, "div", 4);
13136
13077
  i0__namespace.ɵɵelementStart(5, "mat-icon", 5);
13137
- i0__namespace.ɵɵtext(6, "home");
13078
+ i0__namespace.ɵɵtext(6, " assessment ");
13138
13079
  i0__namespace.ɵɵelementEnd();
13139
13080
  i0__namespace.ɵɵelementStart(7, "h6", 6);
13140
- i0__namespace.ɵɵtext(8, "Home");
13081
+ i0__namespace.ɵɵtext(8, "Report");
13141
13082
  i0__namespace.ɵɵelementEnd();
13142
13083
  i0__namespace.ɵɵelementEnd();
13143
13084
  i0__namespace.ɵɵelementEnd();
13144
13085
  i0__namespace.ɵɵelementEnd();
13145
- i0__namespace.ɵɵtemplate(9, SideBarComponent_div_9_Template, 8, 7, "div", 7);
13086
+ i0__namespace.ɵɵtemplate(9, SideBarComponent_div_9_Template, 6, 5, "div", 7);
13146
13087
  i0__namespace.ɵɵpipe(10, "async");
13147
13088
  i0__namespace.ɵɵelementEnd();
13148
13089
  i0__namespace.ɵɵelementEnd();