@thetradeengineorg1/snova-shell-module 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -99,6 +99,7 @@ import { NgxDropzoneModule } from 'ngx-dropzone';
99
99
  import { DropZoneModule } from '@thetradeengineorg1/snova-file-uploader';
100
100
  import * as i8$1 from '@swimlane/ngx-datatable';
101
101
  import { NgxDatatableModule } from '@swimlane/ngx-datatable';
102
+ import { settingsComponent } from '@thetradeengineorg1/snova-admin-module';
102
103
 
103
104
  class FeatureIds {
104
105
  }
@@ -9192,7 +9193,7 @@ MenuComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: MenuComponent
9192
9193
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.openMenuPopOver = _t);
9193
9194
  } }, hostBindings: function MenuComponent_HostBindings(rf, ctx) { if (rf & 1) {
9194
9195
  i0.ɵɵlistener("keydown.control.q", function MenuComponent_keydown_control_q_HostBindingHandler() { return ctx.keyOpenEvent(); }, false, i0.ɵɵresolveDocument)("keydown.control.m", function MenuComponent_keydown_control_m_HostBindingHandler() { return ctx.keyCloseEvent(); }, false, i0.ɵɵresolveDocument)("keydown.control.b", function MenuComponent_keydown_control_b_HostBindingHandler() { return ctx.remoteSearchByText(); }, false, i0.ɵɵresolveDocument)("keydown.control.y", function MenuComponent_keydown_control_y_HostBindingHandler() { return ctx.remoteSearchById(); }, false, i0.ɵɵresolveDocument);
9195
- } }, inputs: { reloadAll: ["reload", "reloadAll"] }, outputs: { isOpened: "isOpened", openNewDashboard: "openNewDashboard" }, features: [i0.ɵɵ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) { if (rf & 1) {
9196
+ } }, inputs: { reloadAll: ["reload", "reloadAll"] }, outputs: { isOpened: "isOpened", openNewDashboard: "openNewDashboard" }, features: [i0.ɵɵ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) { if (rf & 1) {
9196
9197
  i0.ɵɵelementStart(0, "button", 0);
9197
9198
  i0.ɵɵelementStart(1, "mat-icon", 1);
9198
9199
  i0.ɵɵtext(2, "menu");
@@ -11642,7 +11643,7 @@ HeaderSideComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: HeaderS
11642
11643
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.documentPopover = _t.first);
11643
11644
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.openAnnoucementDialogComponent = _t.first);
11644
11645
  i0.ɵɵqueryRefresh(_t = i0.ɵɵloadQuery()) && (ctx.fileUploadDropzonePopup = _t);
11645
- } }, inputs: { notificPanel: "notificPanel" }, outputs: { opened: "opened" }, features: [i0.ɵɵ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) { if (rf & 1) {
11646
+ } }, inputs: { notificPanel: "notificPanel" }, outputs: { opened: "opened" }, features: [i0.ɵɵ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) { if (rf & 1) {
11646
11647
  const _r38 = i0.ɵɵgetCurrentView();
11647
11648
  i0.ɵɵelementStart(0, "mat-toolbar", 0);
11648
11649
  i0.ɵɵelementStart(1, "div", 1);
@@ -11812,13 +11813,13 @@ function SideBarComponent_div_9_ng_container_3_Template(rf, ctx) { if (rf & 1) {
11812
11813
  const item_r1 = i0.ɵɵnextContext().$implicit;
11813
11814
  const ctx_r3 = i0.ɵɵnextContext();
11814
11815
  i0.ɵɵadvance(2);
11815
- i0.ɵɵtextInterpolate(item_r1.icon);
11816
+ i0.ɵɵtextInterpolate1(" ", item_r1.icon, " ");
11816
11817
  i0.ɵɵadvance(2);
11817
11818
  i0.ɵɵtextInterpolate1(" ", item_r1.menu ? i0.ɵɵpipeBind2(5, 2, item_r1.menu, ctx_r3.softLabels) : i0.ɵɵpipeBind1(6, 5, item_r1.name), " ");
11818
11819
  } }
11819
11820
  function SideBarComponent_div_9_ng_container_4_Template(rf, ctx) { if (rf & 1) {
11820
11821
  i0.ɵɵelementContainerStart(0);
11821
- i0.ɵɵelementStart(1, "a", 12);
11822
+ i0.ɵɵelementStart(1, "a", 10);
11822
11823
  i0.ɵɵelementStart(2, "mat-icon", 5);
11823
11824
  i0.ɵɵtext(3);
11824
11825
  i0.ɵɵelementEnd();
@@ -11835,121 +11836,55 @@ function SideBarComponent_div_9_ng_container_4_Template(rf, ctx) { if (rf & 1) {
11835
11836
  i0.ɵɵadvance(1);
11836
11837
  i0.ɵɵproperty("href", item_r1.state, i0.ɵɵsanitizeUrl);
11837
11838
  i0.ɵɵadvance(2);
11838
- i0.ɵɵtextInterpolate(item_r1.icon);
11839
+ i0.ɵɵtextInterpolate1(" ", item_r1.icon, " ");
11839
11840
  i0.ɵɵadvance(2);
11840
11841
  i0.ɵɵtextInterpolate1(" ", item_r1.menu ? i0.ɵɵpipeBind2(6, 3, item_r1.menu, ctx_r4.softLabels) : i0.ɵɵpipeBind1(7, 6, item_r1.name), " ");
11841
11842
  } }
11842
- function SideBarComponent_div_9_div_5_Template(rf, ctx) { if (rf & 1) {
11843
- const _r12 = i0.ɵɵgetCurrentView();
11844
- i0.ɵɵelementStart(0, "div", 13);
11845
- i0.ɵɵlistener("click", function SideBarComponent_div_9_div_5_Template_div_click_0_listener() { i0.ɵɵrestoreView(_r12); const item_r1 = i0.ɵɵnextContext().$implicit; const ctx_r10 = i0.ɵɵnextContext(); return ctx_r10.toggleDropdown(item_r1); });
11846
- i0.ɵɵelementStart(1, "mat-icon", 5);
11847
- i0.ɵɵtext(2);
11848
- i0.ɵɵelementEnd();
11849
- i0.ɵɵelementStart(3, "h6", 6);
11850
- i0.ɵɵtext(4);
11851
- i0.ɵɵpipe(5, "softLabelsPipe");
11852
- i0.ɵɵpipe(6, "translate");
11853
- i0.ɵɵelementEnd();
11854
- i0.ɵɵelementStart(7, "mat-icon", 14);
11855
- i0.ɵɵtext(8);
11856
- i0.ɵɵelementEnd();
11857
- i0.ɵɵelementEnd();
11858
- } if (rf & 2) {
11859
- const item_r1 = i0.ɵɵnextContext().$implicit;
11860
- const ctx_r5 = i0.ɵɵnextContext();
11861
- i0.ɵɵadvance(2);
11862
- i0.ɵɵtextInterpolate(item_r1.icon);
11863
- i0.ɵɵadvance(2);
11864
- i0.ɵɵtextInterpolate1(" ", item_r1.menu ? i0.ɵɵpipeBind2(5, 3, item_r1.menu, ctx_r5.softLabels) : i0.ɵɵpipeBind1(6, 6, item_r1.name), " ");
11865
- i0.ɵɵadvance(4);
11866
- i0.ɵɵtextInterpolate1(" ", item_r1.open ? "expand_less" : "expand_more", " ");
11867
- } }
11868
11843
  const _c0$6 = function (a0) { return { background: a0 }; };
11869
- function SideBarComponent_div_9_div_6_span_1_Template(rf, ctx) { if (rf & 1) {
11870
- i0.ɵɵelementStart(0, "span", 17);
11844
+ function SideBarComponent_div_9_div_5_span_1_Template(rf, ctx) { if (rf & 1) {
11845
+ i0.ɵɵelementStart(0, "span", 13);
11871
11846
  i0.ɵɵtext(1);
11872
11847
  i0.ɵɵelementEnd();
11873
11848
  } if (rf & 2) {
11874
- const badge_r15 = ctx.$implicit;
11875
- i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c0$6, badge_r15.color));
11849
+ const badge_r9 = ctx.$implicit;
11850
+ i0.ɵɵproperty("ngStyle", i0.ɵɵpureFunction1(2, _c0$6, badge_r9.color));
11876
11851
  i0.ɵɵadvance(1);
11877
- i0.ɵɵtextInterpolate1(" ", badge_r15.value, " ");
11852
+ i0.ɵɵtextInterpolate1(" ", badge_r9.value, " ");
11878
11853
  } }
11879
- function SideBarComponent_div_9_div_6_Template(rf, ctx) { if (rf & 1) {
11880
- i0.ɵɵelementStart(0, "div", 15);
11881
- i0.ɵɵtemplate(1, SideBarComponent_div_9_div_6_span_1_Template, 2, 4, "span", 16);
11854
+ function SideBarComponent_div_9_div_5_Template(rf, ctx) { if (rf & 1) {
11855
+ i0.ɵɵelementStart(0, "div", 11);
11856
+ i0.ɵɵtemplate(1, SideBarComponent_div_9_div_5_span_1_Template, 2, 4, "span", 12);
11882
11857
  i0.ɵɵelementEnd();
11883
11858
  } if (rf & 2) {
11884
11859
  const item_r1 = i0.ɵɵnextContext().$implicit;
11885
11860
  i0.ɵɵadvance(1);
11886
11861
  i0.ɵɵproperty("ngForOf", item_r1.badges);
11887
11862
  } }
11888
- function SideBarComponent_div_9_div_7_div_1_Template(rf, ctx) { if (rf & 1) {
11889
- const _r21 = i0.ɵɵgetCurrentView();
11890
- i0.ɵɵelementStart(0, "div", 2);
11891
- i0.ɵɵelementStart(1, "div", 19);
11892
- i0.ɵɵlistener("click", function SideBarComponent_div_9_div_7_div_1_Template_div_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r21); const itemLvL2_r18 = restoredCtx.$implicit; const ctx_r20 = i0.ɵɵnextContext(2); const i_r2 = ctx_r20.index; const item_r1 = ctx_r20.$implicit; const ctx_r19 = i0.ɵɵnextContext(); return ctx_r19.selectMenu(i_r2, "/" + item_r1.state + "/" + itemLvL2_r18.state); });
11893
- i0.ɵɵelementStart(2, "div", 4);
11894
- i0.ɵɵelementStart(3, "mat-icon", 5);
11895
- i0.ɵɵtext(4);
11896
- i0.ɵɵelementEnd();
11897
- i0.ɵɵelementStart(5, "h6", 6);
11898
- i0.ɵɵtext(6);
11899
- i0.ɵɵpipe(7, "softLabelsPipe");
11900
- i0.ɵɵpipe(8, "translate");
11901
- i0.ɵɵelementEnd();
11902
- i0.ɵɵelementEnd();
11903
- i0.ɵɵelementEnd();
11904
- i0.ɵɵelementEnd();
11905
- } if (rf & 2) {
11906
- const itemLvL2_r18 = ctx.$implicit;
11907
- const ctx_r17 = i0.ɵɵnextContext(3);
11908
- i0.ɵɵadvance(4);
11909
- i0.ɵɵtextInterpolate(itemLvL2_r18.icon);
11910
- i0.ɵɵadvance(2);
11911
- i0.ɵɵtextInterpolate1(" ", itemLvL2_r18.menu ? i0.ɵɵpipeBind2(7, 2, itemLvL2_r18.menu, ctx_r17.softLabels) : i0.ɵɵpipeBind1(8, 5, itemLvL2_r18.name), " ");
11912
- } }
11913
- function SideBarComponent_div_9_div_7_Template(rf, ctx) { if (rf & 1) {
11914
- i0.ɵɵelementStart(0, "div", 18);
11915
- i0.ɵɵtemplate(1, SideBarComponent_div_9_div_7_div_1_Template, 9, 7, "div", 7);
11916
- i0.ɵɵelementEnd();
11917
- } if (rf & 2) {
11918
- const item_r1 = i0.ɵɵnextContext().$implicit;
11919
- i0.ɵɵadvance(1);
11920
- i0.ɵɵproperty("ngForOf", item_r1.sub);
11921
- } }
11922
- const _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)" }; };
11863
+ const _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)" }; };
11923
11864
  function SideBarComponent_div_9_Template(rf, ctx) { if (rf & 1) {
11924
- const _r24 = i0.ɵɵgetCurrentView();
11865
+ const _r12 = i0.ɵɵgetCurrentView();
11925
11866
  i0.ɵɵelementStart(0, "div", 2);
11926
11867
  i0.ɵɵelementStart(1, "div", 3);
11927
- i0.ɵɵlistener("mouseenter", function SideBarComponent_div_9_Template_div_mouseenter_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r24); const i_r2 = restoredCtx.index; const ctx_r23 = i0.ɵɵnextContext(); return ctx_r23.enter(i_r2); })("mouseleave", function SideBarComponent_div_9_Template_div_mouseleave_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r24); const i_r2 = restoredCtx.index; const ctx_r25 = i0.ɵɵnextContext(); return ctx_r25.leave(i_r2); })("click", function SideBarComponent_div_9_Template_div_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r24); const i_r2 = restoredCtx.index; const item_r1 = restoredCtx.$implicit; const ctx_r26 = i0.ɵɵnextContext(); return ctx_r26.selectMenu(i_r2, item_r1.state); });
11868
+ i0.ɵɵlistener("mouseenter", function SideBarComponent_div_9_Template_div_mouseenter_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r12); const i_r2 = restoredCtx.index; const ctx_r11 = i0.ɵɵnextContext(); return ctx_r11.enter(i_r2); })("mouseleave", function SideBarComponent_div_9_Template_div_mouseleave_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r12); const i_r2 = restoredCtx.index; const ctx_r13 = i0.ɵɵnextContext(); return ctx_r13.leave(i_r2); })("click", function SideBarComponent_div_9_Template_div_click_1_listener() { const restoredCtx = i0.ɵɵrestoreView(_r12); const i_r2 = restoredCtx.index; const item_r1 = restoredCtx.$implicit; const ctx_r14 = i0.ɵɵnextContext(); return ctx_r14.selectMenu(i_r2, item_r1.state); });
11928
11869
  i0.ɵɵelementStart(2, "div", 4);
11929
11870
  i0.ɵɵtemplate(3, SideBarComponent_div_9_ng_container_3_Template, 7, 7, "ng-container", 8);
11930
11871
  i0.ɵɵtemplate(4, SideBarComponent_div_9_ng_container_4_Template, 8, 8, "ng-container", 8);
11931
- i0.ɵɵtemplate(5, SideBarComponent_div_9_div_5_Template, 9, 8, "div", 9);
11932
- i0.ɵɵtemplate(6, SideBarComponent_div_9_div_6_Template, 2, 1, "div", 10);
11872
+ i0.ɵɵtemplate(5, SideBarComponent_div_9_div_5_Template, 2, 1, "div", 9);
11933
11873
  i0.ɵɵelementEnd();
11934
11874
  i0.ɵɵelementEnd();
11935
- i0.ɵɵtemplate(7, SideBarComponent_div_9_div_7_Template, 2, 1, "div", 11);
11936
11875
  i0.ɵɵelementEnd();
11937
11876
  } if (rf & 2) {
11938
11877
  const item_r1 = ctx.$implicit;
11939
11878
  const i_r2 = ctx.index;
11940
11879
  const ctx_r0 = i0.ɵɵnextContext();
11941
11880
  i0.ɵɵadvance(1);
11942
- i0.ɵɵproperty("ngStyle", (ctx_r0.selectedRowIndex == i_r2 || ctx_r0.showBackGroundColor == i_r2) && i0.ɵɵpureFunction0(6, _c1$1));
11881
+ i0.ɵɵproperty("ngStyle", (ctx_r0.selectedRowIndex == i_r2 || ctx_r0.showBackGroundColor == i_r2) && i0.ɵɵpureFunction0(4, _c1$1));
11943
11882
  i0.ɵɵadvance(2);
11944
11883
  i0.ɵɵproperty("ngIf", item_r1.type === "link" || item_r1.type === "applicationlink");
11945
11884
  i0.ɵɵadvance(1);
11946
11885
  i0.ɵɵproperty("ngIf", item_r1.type === "extLink");
11947
11886
  i0.ɵɵadvance(1);
11948
- i0.ɵɵproperty("ngIf", item_r1.type === "dropDown");
11949
- i0.ɵɵadvance(1);
11950
11887
  i0.ɵɵproperty("ngIf", item_r1.badges == null ? null : item_r1.badges.length);
11951
- i0.ɵɵadvance(1);
11952
- i0.ɵɵproperty("ngIf", item_r1.open && item_r1.type === "dropDown");
11953
11888
  } }
11954
11889
  class SideBarComponent {
11955
11890
  constructor(store, router) {
@@ -11960,8 +11895,28 @@ class SideBarComponent {
11960
11895
  ngOnInit() {
11961
11896
  // load soft labels
11962
11897
  this.softLabels = JSON.parse(localStorage.getItem("SoftLabels"));
11963
- // get menu items from store
11964
- this.menuItems$ = this.store.pipe(select(getCurrentActiveMenuCategoryMenuItems), tap(menuList => this.routerActive(menuList)));
11898
+ // get menu items and filter out HR, HR management & Activity Tracker
11899
+ this.menuItems$ = this.store.pipe(select(getCurrentActiveMenuCategoryMenuItems), map(menuList => menuList.filter(item => {
11900
+ var _a, _b;
11901
+ const menuLabel = ((_a = item.menu) === null || _a === void 0 ? void 0 : _a.toLowerCase()) || "";
11902
+ const state = ((_b = item.state) === null || _b === void 0 ? void 0 : _b.toLowerCase()) || "";
11903
+ // ❌ remove HR (direct link)
11904
+ if (menuLabel === "hr" || state.startsWith("hrmanagment/employeelist")) {
11905
+ return false;
11906
+ }
11907
+ // ❌ remove HR management dropdown & submenus
11908
+ if (menuLabel.includes("hr managment") || menuLabel.includes("hr management")) {
11909
+ return false;
11910
+ }
11911
+ if (state.startsWith("hrmanagment") || state.startsWith("hrmdetails")) {
11912
+ return false;
11913
+ }
11914
+ // ❌ remove Activity Tracker
11915
+ if (menuLabel.includes("activity tracker") || state.startsWith("activitytracker")) {
11916
+ return false;
11917
+ }
11918
+ return true;
11919
+ })), tap(menuList => this.routerActive(menuList)));
11965
11920
  // trigger menu load
11966
11921
  this.store.dispatch(new GetAllMenuItemsTriggered(MenuCategories.Main));
11967
11922
  // listen to route changes
@@ -11986,10 +11941,6 @@ class SideBarComponent {
11986
11941
  leave(i) {
11987
11942
  this.showBackGroundColor = null;
11988
11943
  }
11989
- toggleDropdown(item) {
11990
- item.open = !item.open;
11991
- }
11992
- // ✅ NEW: unified method
11993
11944
  selectMenu(index, link) {
11994
11945
  this.selectedRowIndex = index;
11995
11946
  if (link) {
@@ -11998,7 +11949,7 @@ class SideBarComponent {
11998
11949
  }
11999
11950
  }
12000
11951
  SideBarComponent.ɵfac = function SideBarComponent_Factory(t) { return new (t || SideBarComponent)(i0.ɵɵdirectiveInject(i3.Store), i0.ɵɵdirectiveInject(i2.Router)); };
12001
- SideBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵ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) { if (rf & 1) {
11952
+ SideBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵ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) { if (rf & 1) {
12002
11953
  i0.ɵɵelementStart(0, "div", 0);
12003
11954
  i0.ɵɵelementStart(1, "div", 1);
12004
11955
  i0.ɵɵelementStart(2, "div", 2);
@@ -12006,15 +11957,15 @@ SideBarComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SideBarCom
12006
11957
  i0.ɵɵ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"); });
12007
11958
  i0.ɵɵelementStart(4, "div", 4);
12008
11959
  i0.ɵɵelementStart(5, "mat-icon", 5);
12009
- i0.ɵɵtext(6, "home");
11960
+ i0.ɵɵtext(6, " assessment ");
12010
11961
  i0.ɵɵelementEnd();
12011
11962
  i0.ɵɵelementStart(7, "h6", 6);
12012
- i0.ɵɵtext(8, "Home");
11963
+ i0.ɵɵtext(8, "Report");
12013
11964
  i0.ɵɵelementEnd();
12014
11965
  i0.ɵɵelementEnd();
12015
11966
  i0.ɵɵelementEnd();
12016
11967
  i0.ɵɵelementEnd();
12017
- i0.ɵɵtemplate(9, SideBarComponent_div_9_Template, 8, 7, "div", 7);
11968
+ i0.ɵɵtemplate(9, SideBarComponent_div_9_Template, 6, 5, "div", 7);
12018
11969
  i0.ɵɵpipe(10, "async");
12019
11970
  i0.ɵɵelementEnd();
12020
11971
  i0.ɵɵelementEnd();
@@ -15823,6 +15774,7 @@ const ShellRouts = [
15823
15774
  component: AdminLayoutComponent,
15824
15775
  children: [
15825
15776
  // no default child here on purpose – layout shows grid when there’s no child
15777
+ { path: 'settings', component: settingsComponent },
15826
15778
  { path: 'accounts', component: AccountAndBillingComponent },
15827
15779
  { path: 'payments-plans', component: CompanyPlansComponent },
15828
15780
  { path: 'welcome', component: LiveWelcomePageComponent }