1cc19fb9177a80f5fce3318ccefbbb01cf4d65f886695ad4f72426233d8f71e6.json raw

   1  {"ast":null,"code":"import { IconButtonComponent } from \"../icon-button/icon-button.component\";\nimport * as i0 from \"@angular/core\";\nexport let NavItemComponent = /*#__PURE__*/(() => {\n  class NavItemComponent {\n    text;\n    static ɵfac = function NavItemComponent_Factory(__ngFactoryType__) {\n      return new (__ngFactoryType__ || NavItemComponent)();\n    };\n    static ɵcmp = /*@__PURE__*/i0.ɵɵdefineComponent({\n      type: NavItemComponent,\n      selectors: [[\"lib-nav-item\"]],\n      inputs: {\n        text: \"text\"\n      },\n      decls: 5,\n      vars: 1,\n      consts: [[1, \"sam-no-select\", \"text\"], [1, \"sam-flex-grow\"], [1, \"buttons\", \"sam-flex-row\", \"gap-h\"], [\"icon\", \"arrow-right\", 2, \"pointer-events\", \"none\"]],\n      template: function NavItemComponent_Template(rf, ctx) {\n        if (rf & 1) {\n          i0.ɵɵelementStart(0, \"span\", 0);\n          i0.ɵɵtext(1);\n          i0.ɵɵelementEnd();\n          i0.ɵɵelement(2, \"div\", 1);\n          i0.ɵɵelementStart(3, \"div\", 2);\n          i0.ɵɵelement(4, \"lib-icon-button\", 3);\n          i0.ɵɵelementEnd();\n        }\n        if (rf & 2) {\n          i0.ɵɵadvance();\n          i0.ɵɵtextInterpolate1(\" \", ctx.text, \"\\n\");\n        }\n      },\n      dependencies: [IconButtonComponent],\n      styles: [\"[_nghost-%COMP%] {\\n  cursor: pointer;\\n  height: 48px;\\n  min-height: 48px;\\n  display: flex;\\n  flex-direction: row;\\n  align-items: center;\\n  padding-left: var(--size);\\n  padding-right: var(--size-h);\\n  background: var(--background-light);\\n  border-radius: var(--radius-lg);\\n  margin-bottom: var(--size-h);\\n  border: 1px solid var(--border);\\n  transition: background-color 0.2s ease, border-color 0.2s ease;\\n}\\n[_nghost-%COMP%]:hover {\\n  background: var(--background-light-hover);\\n  border-color: var(--primary);\\n}\\n[_nghost-%COMP%]   .text[_ngcontent-%COMP%] {\\n  overflow-x: hidden;\\n  text-overflow: ellipsis;\\n  white-space: nowrap;\\n  color: var(--foreground);\\n}\"]\n    });\n  }\n  return NavItemComponent;\n})();","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}