ng-implementation/implem/.angular/cache/20.1.4/babel-webpack/979cd3657af582081b319a1b788235ee.json
2025-08-19 12:05:42 +02:00

1 line
No EOL
7.1 KiB
JSON

{"ast":null,"code":"import { __decorate } from \"tslib\";\nimport __NG_CLI_RESOURCE__0 from \"./page.css?ngResource\";\nimport { Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { HeaderComponent } from './header.component';\nlet PageComponent = class PageComponent {\n user = null;\n doLogout() {\n this.user = null;\n }\n doLogin() {\n this.user = {\n name: 'Jane Doe'\n };\n }\n doCreateAccount() {\n this.user = {\n name: 'Jane Doe'\n };\n }\n};\nPageComponent = __decorate([Component({\n selector: 'storybook-page',\n standalone: true,\n imports: [CommonModule, HeaderComponent],\n template: `<article>\n <storybook-header\n [user]=\"user\"\n (onLogout)=\"doLogout()\"\n (onLogin)=\"doLogin()\"\n (onCreateAccount)=\"doCreateAccount()\"\n ></storybook-header>\n <section class=\"storybook-page\">\n <h2>Pages in Storybook</h2>\n <p>\n We recommend building UIs with a\n <a href=\"https://componentdriven.org\" target=\"_blank\" rel=\"noopener noreferrer\">\n <strong>component-driven</strong>\n </a>\n process starting with atomic components and ending with pages.\n </p>\n <p>\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 </p>\n <ul>\n <li>\n Use a higher-level connected component. Storybook helps you compose such data from the\n \"args\" of child component stories\n </li>\n <li>\n Assemble data in the page component from your services. You can mock these services out\n using Storybook.\n </li>\n </ul>\n <p>\n Get a guided tutorial on component-driven development at\n <a href=\"https://storybook.js.org/tutorials/\" target=\"_blank\" rel=\"noopener noreferrer\">\n Storybook tutorials\n </a>\n . Read more in the\n <a href=\"https://storybook.js.org/docs\" target=\"_blank\" rel=\"noopener noreferrer\"> docs </a>\n .\n </p>\n <div class=\"tip-wrapper\">\n <span class=\"tip\">Tip</span> Adjust the width of the canvas with the\n <svg width=\"10\" height=\"10\" viewBox=\"0 0 12 12\" xmlns=\"http://www.w3.org/2000/svg\">\n <g fill=\"none\" fillRule=\"evenodd\">\n <path\n d=\"M1.5 5.2h4.8c.3 0 .5.2.5.4v5.1c-.1.2-.3.3-.4.3H1.4a.5.5 0 01-.5-.4V5.7c0-.3.2-.5.5-.5zm0-2.1h6.9c.3 0 .5.2.5.4v7a.5.5 0 01-1 0V4H1.5a.5.5 0 010-1zm0-2.1h9c.3 0 .5.2.5.4v9.1a.5.5 0 01-1 0V2H1.5a.5.5 0 010-1zm4.3 5.2H2V10h3.8V6.2z\"\n id=\"a\"\n fill=\"#999\"\n />\n </g>\n </svg>\n Viewports addon in the toolbar\n </div>\n </section>\n</article>`,\n styles: [__NG_CLI_RESOURCE__0]\n})], PageComponent);\nexport { PageComponent };","map":{"version":3,"names":["__decorate","__NG_CLI_RESOURCE__0","Component","CommonModule","HeaderComponent","PageComponent","user","doLogout","doLogin","name","doCreateAccount","selector","standalone","imports","template","styles"],"sources":["/home/poule/encrypted/stockage-syncable/www/development/html/ng-implementation/implem/src/stories/page.component.ts"],"sourcesContent":["import { __decorate } from \"tslib\";\nimport __NG_CLI_RESOURCE__0 from \"./page.css?ngResource\";\nimport { Component } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { HeaderComponent } from './header.component';\nlet PageComponent = class PageComponent {\n user = null;\n doLogout() {\n this.user = null;\n }\n doLogin() {\n this.user = { name: 'Jane Doe' };\n }\n doCreateAccount() {\n this.user = { name: 'Jane Doe' };\n }\n};\nPageComponent = __decorate([\n Component({\n selector: 'storybook-page',\n standalone: true,\n imports: [CommonModule, HeaderComponent],\n template: `<article>\n <storybook-header\n [user]=\"user\"\n (onLogout)=\"doLogout()\"\n (onLogin)=\"doLogin()\"\n (onCreateAccount)=\"doCreateAccount()\"\n ></storybook-header>\n <section class=\"storybook-page\">\n <h2>Pages in Storybook</h2>\n <p>\n We recommend building UIs with a\n <a href=\"https://componentdriven.org\" target=\"_blank\" rel=\"noopener noreferrer\">\n <strong>component-driven</strong>\n </a>\n process starting with atomic components and ending with pages.\n </p>\n <p>\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 </p>\n <ul>\n <li>\n Use a higher-level connected component. Storybook helps you compose such data from the\n \"args\" of child component stories\n </li>\n <li>\n Assemble data in the page component from your services. You can mock these services out\n using Storybook.\n </li>\n </ul>\n <p>\n Get a guided tutorial on component-driven development at\n <a href=\"https://storybook.js.org/tutorials/\" target=\"_blank\" rel=\"noopener noreferrer\">\n Storybook tutorials\n </a>\n . Read more in the\n <a href=\"https://storybook.js.org/docs\" target=\"_blank\" rel=\"noopener noreferrer\"> docs </a>\n .\n </p>\n <div class=\"tip-wrapper\">\n <span class=\"tip\">Tip</span> Adjust the width of the canvas with the\n <svg width=\"10\" height=\"10\" viewBox=\"0 0 12 12\" xmlns=\"http://www.w3.org/2000/svg\">\n <g fill=\"none\" fillRule=\"evenodd\">\n <path\n d=\"M1.5 5.2h4.8c.3 0 .5.2.5.4v5.1c-.1.2-.3.3-.4.3H1.4a.5.5 0 01-.5-.4V5.7c0-.3.2-.5.5-.5zm0-2.1h6.9c.3 0 .5.2.5.4v7a.5.5 0 01-1 0V4H1.5a.5.5 0 010-1zm0-2.1h9c.3 0 .5.2.5.4v9.1a.5.5 0 01-1 0V2H1.5a.5.5 0 010-1zm4.3 5.2H2V10h3.8V6.2z\"\n id=\"a\"\n fill=\"#999\"\n />\n </g>\n </svg>\n Viewports addon in the toolbar\n </div>\n </section>\n</article>`,\n styles: [__NG_CLI_RESOURCE__0]\n })\n], PageComponent);\nexport { PageComponent };\n"],"mappings":"AAAA,SAASA,UAAU,QAAQ,OAAO;AAClC,OAAOC,oBAAoB,MAAM,uBAAuB;AACxD,SAASC,SAAS,QAAQ,eAAe;AACzC,SAASC,YAAY,QAAQ,iBAAiB;AAC9C,SAASC,eAAe,QAAQ,oBAAoB;AACpD,IAAIC,aAAa,GAAG,MAAMA,aAAa,CAAC;EACpCC,IAAI,GAAG,IAAI;EACXC,QAAQA,CAAA,EAAG;IACP,IAAI,CAACD,IAAI,GAAG,IAAI;EACpB;EACAE,OAAOA,CAAA,EAAG;IACN,IAAI,CAACF,IAAI,GAAG;MAAEG,IAAI,EAAE;IAAW,CAAC;EACpC;EACAC,eAAeA,CAAA,EAAG;IACd,IAAI,CAACJ,IAAI,GAAG;MAAEG,IAAI,EAAE;IAAW,CAAC;EACpC;AACJ,CAAC;AACDJ,aAAa,GAAGL,UAAU,CAAC,CACvBE,SAAS,CAAC;EACNS,QAAQ,EAAE,gBAAgB;EAC1BC,UAAU,EAAE,IAAI;EAChBC,OAAO,EAAE,CAACV,YAAY,EAAEC,eAAe,CAAC;EACxCU,QAAQ,EAAE;AAClB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;EACHC,MAAM,EAAE,CAACd,oBAAoB;AACjC,CAAC,CAAC,CACL,EAAEI,aAAa,CAAC;AACjB,SAASA,aAAa","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}