{"version":3,"file":"c8y-ngx-components-widgets-implementations-cockpit-legacy-welcome.mjs","sources":["../../widgets/implementations/cockpit-legacy-welcome/legacy-welcome.component.ts","../../widgets/implementations/cockpit-legacy-welcome/legacy-welcome.component.html","../../widgets/implementations/cockpit-legacy-welcome/c8y-ngx-components-widgets-implementations-cockpit-legacy-welcome.ts"],"sourcesContent":["import { Component } from '@angular/core';\nimport { CoreModule, DocsModule } from '@c8y/ngx-components';\nimport { ContextDashboardComponent } from '@c8y/ngx-components/context-dashboard';\n\n@Component({\n  selector: 'c8y-cockpit-legacy-welcome-widget',\n  templateUrl: './legacy-welcome.component.html',\n  standalone: true,\n  imports: [CoreModule, DocsModule]\n})\nexport class CockpitLegacyWelcomeWidgetComponent {\n  constructor(private dashboard: ContextDashboardComponent) {}\n\n  restore() {\n    this.dashboard.restore();\n  }\n}\n","<div class=\"card-block\">\n  <p\n    class=\"lead\"\n    c8y-guide-docs\n  >\n    <span>{{ 'Welcome to Cockpit' | translate }}.</span>\n    <span\n      class=\"cockpit-welcome-manual\"\n      title=\"{{ 'Browse the documentation' | translate }}\"\n      translate\n      ngNonBindable\n    >\n      Find out more in the\n      <a c8y-guide-href=\"/docs/cockpit/cockpit-introduction\">user documentation</a>.\n    </span>\n  </p>\n  <p class=\"m-t-16\">\n    <em>{{ 'New default dashboard available.' | translate }}</em>\n  </p>\n  <button\n    class=\"btn btn-primary btn-sm m-t-16\"\n    (click)=\"restore(); (false)\"\n    translate\n  >\n    Get new dashboard\n  </button>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAUa,mCAAmC,CAAA;AAC9C,IAAA,WAAA,CAAoB,SAAoC,EAAA;QAApC,IAAA,CAAA,SAAS,GAAT,SAAS;IAA8B;IAE3D,OAAO,GAAA;AACL,QAAA,IAAI,CAAC,SAAS,CAAC,OAAO,EAAE;IAC1B;+GALW,mCAAmC,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,yBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAnC,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,IAAA,EAAA,mCAAmC,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mCAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,ECVhD,irBA2BA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,UAAA,EAAA,IAAA,EDnBY,UAAU,8TAAE,UAAU,EAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,IAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,IAAA,EAAA,WAAA,EAAA,CAAA,EAAA,CAAA,CAAA;;4FAErB,mCAAmC,EAAA,UAAA,EAAA,CAAA;kBAN/C,SAAS;AACE,YAAA,IAAA,EAAA,CAAA,EAAA,QAAA,EAAA,mCAAmC,cAEjC,IAAI,EAAA,OAAA,EACP,CAAC,UAAU,EAAE,UAAU,CAAC,EAAA,QAAA,EAAA,irBAAA,EAAA;;;AERnC;;AAEG;;;;"}