{ "pipes": [], "interfaces": [ { "name": "User", "id": "interface-User-d4821beac0e4a852e513391b7470981c4353fdd95a18628bb68136c8695b489ee15b926e2e5031bc26cf30e1508e0a362c3ee13a06734702b4d15af140e485d5", "file": "src/stories/user.ts", "deprecated": false, "deprecationMessage": "", "type": "interface", "sourceCode": "export interface User {\n name: string;\n}\n", "properties": [ { "name": "name", "deprecated": false, "deprecationMessage": "", "type": "string", "indexKey": "", "optional": false, "description": "", "line": 2 } ], "indexSignatures": [], "kind": 171, "methods": [], "extends": [] } ], "injectables": [], "guards": [], "interceptors": [], "classes": [], "directives": [], "components": [ { "name": "App", "id": "component-App-83cb7b7567c923484135ef4026de76b33228744a4ddaa9d672eb827726bbfa38c43278ebd454406570c04388b3c322b89ea75154e2084ebb64a76bdf8957fb6c", "file": "src/app/app.ts", "encapsulation": [], "entryComponents": [], "inputs": [], "outputs": [], "providers": [], "selector": "app-root", "styleUrls": [], "styles": [], "templateUrl": [ "./app.html" ], "viewProviders": [], "hostDirectives": [], "inputsClass": [], "outputsClass": [], "propertiesClass": [ { "name": "title", "defaultValue": "signal('implem')", "deprecated": false, "deprecationMessage": "", "type": "", "indexKey": "", "optional": false, "description": "", "line": 11, "modifierKind": [ 124, 148 ] } ], "methodsClass": [], "deprecated": false, "deprecationMessage": "", "hostBindings": [], "hostListeners": [], "standalone": false, "imports": [ { "name": "RouterOutlet" } ], "description": "", "rawdescription": "\n", "type": "component", "sourceCode": "import { Component, signal } from '@angular/core';\nimport { RouterOutlet } from '@angular/router';\n\n@Component({\n selector: 'app-root',\n imports: [RouterOutlet],\n templateUrl: './app.html',\n styleUrl: './app.scss'\n})\nexport class App {\n protected readonly title = signal('implem');\n}\n", "styleUrl": "./app.scss", "assetsDirs": [], "styleUrlsData": "", "stylesData": "", "extends": [], "templateData": "\n\n\n\n\n\n\n\n\n\n\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n

Hello, {{ title() }}

\n

Congratulations! Your app is running. 🎉

\n
\n
\n
\n
\n @for (item of [\n { title: 'Explore the Docs', link: 'https://angular.dev' },\n { title: 'Learn with Tutorials', link: 'https://angular.dev/tutorials' },\n { title: 'Prompt and best practices for AI', link: 'https://angular.dev/ai/develop-with-ai'},\n { title: 'CLI Docs', link: 'https://angular.dev/tools/cli' },\n { title: 'Angular Language Service', link: 'https://angular.dev/tools/language-service' },\n { title: 'Angular DevTools', link: 'https://angular.dev/tools/devtools' },\n ]; track item.title) {\n \n {{ item.title }}\n \n \n \n \n }\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n
\n
\n
\n\n\n\n\n\n\n\n\n\n\n\n" }, { "name": "ButtonComponent", "id": "component-ButtonComponent-d7bf0323e6da130e2609e2af0117b4a8d7cd874132206af50bf43dfc37044485fe50f2867ea76525730dd195b9b95a43802a12dadc6ad5cd7bf2faa07f19f0da", "file": "src/stories/button.component.ts", "encapsulation": [], "entryComponents": [], "inputs": [], "outputs": [], "providers": [], "selector": "storybook-button", "styleUrls": [ "./button.css" ], "styles": [], "template": " ", "templateUrl": [], "viewProviders": [], "hostDirectives": [], "inputsClass": [ { "name": "backgroundColor", "deprecated": false, "deprecationMessage": "", "rawdescription": "\nWhat background color to use", "description": "

What background color to use

\n", "line": 25, "type": "string", "decorators": [] }, { "name": "label", "defaultValue": "'Button'", "deprecated": false, "deprecationMessage": "", "jsdoctags": [ { "pos": 760, "end": 773, "kind": 327, "id": 0, "flags": 16842752, "modifierFlagsCache": 0, "transformFlags": 0, "tagName": { "pos": 761, "end": 769, "kind": 80, "id": 0, "flags": 16842752, "transformFlags": 0, "escapedText": "required" }, "comment": "" } ], "rawdescription": "\n\nButton contents\n\n", "description": "

Button contents

\n", "line": 37, "type": "string", "decorators": [] }, { "name": "primary", "defaultValue": "false", "deprecated": false, "deprecationMessage": "", "rawdescription": "\nIs this the principal call to action on the page?", "description": "

Is this the principal call to action on the page?

\n", "line": 21, "type": "boolean", "decorators": [] }, { "name": "size", "defaultValue": "'medium'", "deprecated": false, "deprecationMessage": "", "rawdescription": "\nHow large should the button be?", "description": "

How large should the button be?

\n", "line": 29, "type": "\"small\" | \"medium\" | \"large\"", "decorators": [] } ], "outputsClass": [ { "name": "onClick", "defaultValue": "new EventEmitter()", "deprecated": false, "deprecationMessage": "", "rawdescription": "\nOptional click handler", "description": "

Optional click handler

\n", "line": 41, "type": "EventEmitter" } ], "propertiesClass": [], "methodsClass": [], "deprecated": false, "deprecationMessage": "", "hostBindings": [], "hostListeners": [], "standalone": true, "imports": [ { "name": "CommonModule", "type": "module" } ], "description": "", "rawdescription": "\n", "type": "component", "sourceCode": "import { CommonModule } from '@angular/common';\nimport { Component, Input, Output, EventEmitter } from '@angular/core';\n\n@Component({\n selector: 'storybook-button',\n standalone: true,\n imports: [CommonModule],\n template: ` \n {{ label }}\n`,\n styleUrls: ['./button.css'],\n})\nexport class ButtonComponent {\n /** Is this the principal call to action on the page? */\n @Input()\n primary = false;\n\n /** What background color to use */\n @Input()\n backgroundColor?: string;\n\n /** How large should the button be? */\n @Input()\n size: 'small' | 'medium' | 'large' = 'medium';\n\n /**\n * Button contents\n *\n * @required\n */\n @Input()\n label = 'Button';\n\n /** Optional click handler */\n @Output()\n onClick = new EventEmitter();\n\n public get classes(): string[] {\n const mode = this.primary ? 'storybook-button--primary' : 'storybook-button--secondary';\n\n return ['storybook-button', `storybook-button--${this.size}`, mode];\n }\n}\n", "assetsDirs": [], "styleUrlsData": [ { "data": ".storybook-button {\n display: inline-block;\n cursor: pointer;\n border: 0;\n border-radius: 3em;\n font-weight: 700;\n line-height: 1;\n font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;\n}\n.storybook-button--primary {\n background-color: #555ab9;\n color: white;\n}\n.storybook-button--secondary {\n box-shadow: rgba(0, 0, 0, 0.15) 0px 0px 0px 1px inset;\n background-color: transparent;\n color: #333;\n}\n.storybook-button--small {\n padding: 10px 16px;\n font-size: 12px;\n}\n.storybook-button--medium {\n padding: 11px 20px;\n font-size: 14px;\n}\n.storybook-button--large {\n padding: 12px 24px;\n font-size: 16px;\n}\n", "styleUrl": "./button.css" } ], "stylesData": "", "extends": [], "accessors": { "classes": { "name": "classes", "getSignature": { "name": "classes", "type": "[]", "returnType": "string[]", "line": 43 } } } }, { "name": "HeaderComponent", "id": "component-HeaderComponent-48b9abe37706bc42f20cfa97ed9f943678344ea7d254c0c82183c657750c2191b43486fe730c778627b2ea6aa0e2f33a7abcf3ce08b68ad18b062ad99ea97acb", "file": "src/stories/header.component.ts", "encapsulation": [], "entryComponents": [], "inputs": [], "outputs": [], "providers": [], "selector": "storybook-header", "styleUrls": [ "./header.css" ], "styles": [], "template": "
\n
\n \n \n \n \n \n \n \n

Acme

\n
\n
\n
\n \n Welcome, {{ user.name }}!\n \n \n
\n
\n \n \n
\n
\n
\n
", "templateUrl": [], "viewProviders": [], "hostDirectives": [], "inputsClass": [ { "name": "user", "defaultValue": "null", "deprecated": false, "deprecationMessage": "", "line": 66, "type": "User | null", "decorators": [] } ], "outputsClass": [ { "name": "onCreateAccount", "defaultValue": "new EventEmitter()", "deprecated": false, "deprecationMessage": "", "line": 75, "type": "EventEmitter" }, { "name": "onLogin", "defaultValue": "new EventEmitter()", "deprecated": false, "deprecationMessage": "", "line": 69, "type": "EventEmitter" }, { "name": "onLogout", "defaultValue": "new EventEmitter()", "deprecated": false, "deprecationMessage": "", "line": 72, "type": "EventEmitter" } ], "propertiesClass": [], "methodsClass": [], "deprecated": false, "deprecationMessage": "", "hostBindings": [], "hostListeners": [], "standalone": true, "imports": [ { "name": "CommonModule", "type": "module" }, { "name": "ButtonComponent", "type": "component" } ], "description": "", "rawdescription": "\n", "type": "component", "sourceCode": "import { Component, Input, Output, EventEmitter } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { ButtonComponent } from './button.component';\nimport type { User } from './user';\n\n@Component({\n selector: 'storybook-header',\n standalone: true,\n imports: [CommonModule, ButtonComponent],\n template: `
\n
\n
\n \n \n \n \n \n \n \n

Acme

\n
\n
\n
\n \n Welcome, {{ user.name }}!\n \n \n
\n
\n \n \n
\n
\n
\n
`,\n styleUrls: ['./header.css'],\n})\nexport class HeaderComponent {\n @Input()\n user: User | null = null;\n\n @Output()\n onLogin = new EventEmitter();\n\n @Output()\n onLogout = new EventEmitter();\n\n @Output()\n onCreateAccount = new EventEmitter();\n}\n", "assetsDirs": [], "styleUrlsData": [ { "data": ".storybook-header {\n display: flex;\n justify-content: space-between;\n align-items: center;\n border-bottom: 1px solid rgba(0, 0, 0, 0.1);\n padding: 15px 20px;\n font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;\n}\n\n.storybook-header svg {\n display: inline-block;\n vertical-align: top;\n}\n\n.storybook-header h1 {\n display: inline-block;\n vertical-align: top;\n margin: 6px 0 6px 10px;\n font-weight: 700;\n font-size: 20px;\n line-height: 1;\n}\n\n.storybook-header button + button {\n margin-left: 10px;\n}\n\n.storybook-header .welcome {\n margin-right: 10px;\n color: #333;\n font-size: 14px;\n}\n", "styleUrl": "./header.css" } ], "stylesData": "", "extends": [] }, { "name": "PageComponent", "id": "component-PageComponent-21dd6eb370b4983b5c21c84d40e6f54d266a9d9af9889e6e76b35c43058bd53b3e451bad089d5adf4bea46647ba10265a2fa8cb15630398e75636307d4817fc6", "file": "src/stories/page.component.ts", "encapsulation": [], "entryComponents": [], "inputs": [], "outputs": [], "providers": [], "selector": "storybook-page", "styleUrls": [ "./page.css" ], "styles": [], "template": "
\n
\n

Pages in Storybook

\n

\n We recommend building UIs with a\n \n component-driven\n \n process starting with atomic components and ending with pages.\n

\n

\n Render pages with mock data. This makes it easy to build and review page states without\n needing to navigate to them in your app. Here are some handy patterns for managing page data\n in Storybook:\n

\n
    \n
  • \n Use a higher-level connected component. Storybook helps you compose such data from the\n \"args\" of child component stories\n
  • \n
  • \n Assemble data in the page component from your services. You can mock these services out\n using Storybook.\n
  • \n
\n

\n Get a guided tutorial on component-driven development at\n \n Storybook tutorials\n \n . Read more in the\n docs \n .\n

\n
\n Tip Adjust the width of the canvas with the\n \n \n \n \n \n Viewports addon in the toolbar\n
\n
\n
", "templateUrl": [], "viewProviders": [], "hostDirectives": [], "inputsClass": [], "outputsClass": [], "propertiesClass": [ { "name": "user", "defaultValue": "null", "deprecated": false, "deprecationMessage": "", "type": "User | null", "indexKey": "", "optional": false, "description": "", "line": 69 } ], "methodsClass": [ { "name": "doCreateAccount", "args": [], "optional": false, "returnType": "void", "typeParameters": [], "line": 79, "deprecated": false, "deprecationMessage": "" }, { "name": "doLogin", "args": [], "optional": false, "returnType": "void", "typeParameters": [], "line": 75, "deprecated": false, "deprecationMessage": "" }, { "name": "doLogout", "args": [], "optional": false, "returnType": "void", "typeParameters": [], "line": 71, "deprecated": false, "deprecationMessage": "" } ], "deprecated": false, "deprecationMessage": "", "hostBindings": [], "hostListeners": [], "standalone": true, "imports": [ { "name": "CommonModule", "type": "module" }, { "name": "HeaderComponent", "type": "component" } ], "description": "", "rawdescription": "\n", "type": "component", "sourceCode": "import { Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { HeaderComponent } from './header.component';\nimport type { User } from './user';\n\n@Component({\n selector: 'storybook-page',\n standalone: true,\n imports: [CommonModule, HeaderComponent],\n template: `
\n \n
\n

Pages in Storybook

\n

\n We recommend building UIs with a\n \n component-driven\n \n process starting with atomic components and ending with pages.\n

\n

\n Render pages with mock data. This makes it easy to build and review page states without\n needing to navigate to them in your app. Here are some handy patterns for managing page data\n in Storybook:\n

\n
    \n
  • \n Use a higher-level connected component. Storybook helps you compose such data from the\n \"args\" of child component stories\n
  • \n
  • \n Assemble data in the page component from your services. You can mock these services out\n using Storybook.\n
  • \n
\n

\n Get a guided tutorial on component-driven development at\n \n Storybook tutorials\n \n . Read more in the\n docs \n .\n

\n
\n Tip Adjust the width of the canvas with the\n \n \n \n \n \n Viewports addon in the toolbar\n
\n
\n
`,\n styleUrls: ['./page.css'],\n})\nexport class PageComponent {\n user: User | null = null;\n\n doLogout() {\n this.user = null;\n }\n\n doLogin() {\n this.user = { name: 'Jane Doe' };\n }\n\n doCreateAccount() {\n this.user = { name: 'Jane Doe' };\n }\n}\n", "assetsDirs": [], "styleUrlsData": [ { "data": ".storybook-page {\n margin: 0 auto;\n padding: 48px 20px;\n max-width: 600px;\n color: #333;\n font-size: 14px;\n line-height: 24px;\n font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;\n}\n\n.storybook-page h2 {\n display: inline-block;\n vertical-align: top;\n margin: 0 0 4px;\n font-weight: 700;\n font-size: 32px;\n line-height: 1;\n}\n\n.storybook-page p {\n margin: 1em 0;\n}\n\n.storybook-page a {\n color: inherit;\n}\n\n.storybook-page ul {\n margin: 1em 0;\n padding-left: 30px;\n}\n\n.storybook-page li {\n margin-bottom: 8px;\n}\n\n.storybook-page .tip {\n display: inline-block;\n vertical-align: top;\n margin-right: 10px;\n border-radius: 1em;\n background: #e7fdd8;\n padding: 4px 12px;\n color: #357a14;\n font-weight: 700;\n font-size: 11px;\n line-height: 12px;\n}\n\n.storybook-page .tip-wrapper {\n margin-top: 40px;\n margin-bottom: 40px;\n font-size: 13px;\n line-height: 20px;\n}\n\n.storybook-page .tip-wrapper svg {\n display: inline-block;\n vertical-align: top;\n margin-top: 3px;\n margin-right: 4px;\n width: 12px;\n height: 12px;\n}\n\n.storybook-page .tip-wrapper svg path {\n fill: #1ea7fd;\n}\n", "styleUrl": "./page.css" } ], "stylesData": "", "extends": [] } ], "modules": [], "miscellaneous": { "variables": [ { "name": "appConfig", "ctype": "miscellaneous", "subtype": "variable", "file": "src/app/app.config.ts", "deprecated": false, "deprecationMessage": "", "type": "ApplicationConfig", "defaultValue": "{\n providers: [\n provideBrowserGlobalErrorListeners(),\n provideZoneChangeDetection({ eventCoalescing: true }),\n provideRouter(routes)\n ]\n}" } ], "functions": [], "typealiases": [], "enumerations": [], "groupedVariables": { "src/app/app.config.ts": [ { "name": "appConfig", "ctype": "miscellaneous", "subtype": "variable", "file": "src/app/app.config.ts", "deprecated": false, "deprecationMessage": "", "type": "ApplicationConfig", "defaultValue": "{\n providers: [\n provideBrowserGlobalErrorListeners(),\n provideZoneChangeDetection({ eventCoalescing: true }),\n provideRouter(routes)\n ]\n}" } ] }, "groupedFunctions": {}, "groupedEnumerations": {}, "groupedTypeAliases": {} }, "routes": [], "coverage": { "count": 13, "status": "low", "files": [ { "filePath": "src/app/app.config.ts", "type": "variable", "linktype": "miscellaneous", "linksubtype": "variable", "name": "appConfig", "coveragePercent": 0, "coverageCount": "0/1", "status": "low" }, { "filePath": "src/app/app.ts", "type": "component", "linktype": "component", "name": "App", "coveragePercent": 0, "coverageCount": "0/2", "status": "low" }, { "filePath": "src/stories/button.component.ts", "type": "component", "linktype": "component", "name": "ButtonComponent", "coveragePercent": 83, "coverageCount": "5/6", "status": "very-good" }, { "filePath": "src/stories/header.component.ts", "type": "component", "linktype": "component", "name": "HeaderComponent", "coveragePercent": 0, "coverageCount": "0/5", "status": "low" }, { "filePath": "src/stories/page.component.ts", "type": "component", "linktype": "component", "name": "PageComponent", "coveragePercent": 0, "coverageCount": "0/5", "status": "low" }, { "filePath": "src/stories/user.ts", "type": "interface", "linktype": "interface", "name": "User", "coveragePercent": 0, "coverageCount": "0/2", "status": "low" } ] } }