@mojawork/ui-docs 2.6.1 → 2.7.0
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.
- package/README.md +2 -2
- package/catalog/atoms/inline-spinner.md +188 -0
- package/catalog/atoms/reader-doc.md +25 -0
- package/catalog/forms/chip.md +285 -0
- package/catalog/guide.json +62 -5
- package/catalog/layout/spinner.md +7 -0
- package/catalog/manifest.json +28 -4
- package/catalog/version.json +2 -2
- package/package.json +1 -1
- package/storybook/4555.0f383313.iframe.bundle.js +1 -0
- package/storybook/atoms-_electrons-loader-docs-mdx.1176957f.iframe.bundle.js +1 -0
- package/storybook/atoms-_electrons-loader-loader-component-stories.8edadc42.iframe.bundle.js +1 -0
- package/storybook/atoms-inline-spinner-docs-mdx.a98163b8.iframe.bundle.js +1 -0
- package/storybook/atoms-inline-spinner-inline-spinner-component-stories.76f59aa8.iframe.bundle.js +1 -0
- package/storybook/atoms-reader-doc-docs-mdx.1860338f.iframe.bundle.js +1 -0
- package/storybook/atoms-reader-doc-reader-doc-component-stories.8ccd618b.iframe.bundle.js +1 -0
- package/storybook/forms-chip-chip-component-stories.90a45ea4.iframe.bundle.js +1 -0
- package/storybook/forms-chip-docs-mdx.01e1b518.iframe.bundle.js +1 -0
- package/storybook/{home-overview-mdx.0d4ede52.iframe.bundle.js → home-overview-mdx.3b40bdbd.iframe.bundle.js} +1 -1
- package/storybook/iframe.html +2 -2
- package/storybook/index.json +1 -1
- package/storybook/layout-spinner-docs-mdx.03741741.iframe.bundle.js +1 -0
- package/storybook/layout-spinner-spinner-component-stories.69ae1389.iframe.bundle.js +1 -0
- package/storybook/main.4f406815.iframe.bundle.js +1 -0
- package/storybook/project.json +1 -1
- package/storybook/runtime~main.4072cb65.iframe.bundle.js +1 -0
- package/storybook/version.json +2 -2
- package/version.json +2 -2
- package/storybook/4555.251b232c.iframe.bundle.js +0 -1
- package/storybook/atoms-reader-doc-docs-mdx.0688c3b9.iframe.bundle.js +0 -1
- package/storybook/atoms-reader-doc-reader-doc-component-stories.a6fec57d.iframe.bundle.js +0 -1
- package/storybook/layout-spinner-docs-mdx.4be572c0.iframe.bundle.js +0 -1
- package/storybook/layout-spinner-spinner-component-stories.ab8245c6.iframe.bundle.js +0 -1
- package/storybook/main.1f12809e.iframe.bundle.js +0 -1
- package/storybook/runtime~main.52ba2f02.iframe.bundle.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkmoja_work=self.webpackChunkmoja_work||[]).push([[3999],{"./libs/ui/src/lib/atoms/reader-doc/reader-doc.component.stories.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{CodeInNarrowCell:()=>CodeInNarrowCell,Default:()=>Default,DroppedMarkup:()=>DroppedMarkup,Empty:()=>Empty,Failed:()=>Failed,FallbackDefect:()=>FallbackDefect,Figure:()=>Figure,SourceLanguage:()=>SourceLanguage,WaysOut:()=>WaysOut,__namedExportsOrder:()=>__namedExportsOrder,default:()=>reader_doc_component_stories});var tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.mjs");var reader_doc_componentngResource=__webpack_require__("./libs/ui/src/lib/atoms/reader-doc/reader-doc.component.css?ngResource"),reader_doc_componentngResource_default=__webpack_require__.n(reader_doc_componentngResource),_effect_chunk2=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),core=__webpack_require__("./node_modules/@angular/core/fesm2022/core.mjs"),_resource_chunk=__webpack_require__("./node_modules/@angular/core/fesm2022/_resource-chunk.mjs"),_debug_node_chunk=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),ngneat_transloco=__webpack_require__("./node_modules/@ngneat/transloco/fesm2022/ngneat-transloco.mjs"),marked_esm=__webpack_require__("./node_modules/marked/lib/marked.esm.js");const ALLOWED_SCHEMES=new Set(["http:","https:","mailto:"]);function slug(text){return text.toLowerCase().replaceAll(/[^a-z0-9]+/g,"-").replaceAll(/^-+|-+$/g,"")||"section"}function urlAllowed(href){const value=href.trim();if(""===value)return!1;if(/[\0-]/.test(value))return!1;if(!/^[a-zA-Z][a-zA-Z0-9+.-]*:/.test(value))return!0;try{return ALLOWED_SCHEMES.has(new URL(value).protocol)}catch{return!1}}class Collector{names=new Set;total=0;add(name){this.names.add(name),this.total+=1}result(){return{count:this.total,tags:[...this.names].sort()}}}function instance(collector){return new marked_esm.Dz({renderer:{html:token=>(function openingTags(raw){return[...raw.replaceAll(/<!--[\s\S]*?-->/g,"").matchAll(/<([a-zA-Z][a-zA-Z0-9-]*)/g)].map(m=>m[1].toLowerCase())}(token.raw??token.text??"").forEach(name=>collector.add(name)),""),heading(token){const text=this.parser.parseInline(token.tokens),id=slug(token.text);return`<h${token.depth} id="${id}">${text}</h${token.depth}>\n`},link(token){const text=this.parser.parseInline(token.tokens);if(!urlAllowed(token.href))return collector.add("a"),text;const title=token.title?` title="${escapeAttribute(token.title)}"`:"";return`<a href="${escapeAttribute(token.href)}"${title}>${text}</a>`},table(token){return marked_esm.A4.prototype.table.call(this,token).replace("<table>",'<table class="ui">')},image(token){if(!urlAllowed(token.href))return collector.add("img"),"";const title=token.title?` title="${escapeAttribute(token.title)}"`:"";return`<img src="${escapeAttribute(token.href)}" alt="${escapeAttribute(token.text)}"${title} />`}}})}function escapeAttribute(value){return value.replaceAll("&","&").replaceAll('"',""").replaceAll("<","<").replaceAll(">",">")}function toView(markdown,marked){const tokens=marked.lexer(markdown),lead=[],sections=[];for(const token of tokens){if("heading"===token.type&&2===token.depth){const heading=token;sections.push({id:slug(heading.text),title:heading.text,tokens:[]});continue}const current=sections.at(-1);(void 0===current?lead:current.tokens).push(token)}return{lead:marked.parser(lead),sections:sections.map(section=>({id:section.id,title:section.title,html:marked.parser(section.tokens)}))}}let UiReaderDocComponent=class UiReaderDocComponent{markdown=(0,core.input)(null);error=(0,core.input)(null);notice=(0,core.input)("none");contentLang=(0,core.input)(null);stand=(0,core.input)(null);downloadHref=(0,core.input)(null);downloadName=(0,core.input)(null);printable=(0,core.input)(!1);document=(0,_effect_chunk2.WQX)(_effect_chunk2.qQL);rendered=(0,_resource_chunk.EW)(()=>function renderReaderDocument(markdown=""){const collector=new Collector;return{full:toView(markdown,instance(collector)),dropped:collector.result()}}(this.markdown()??""));dropped=(0,_resource_chunk.EW)(()=>this.rendered().dropped);lead=(0,_resource_chunk.EW)(()=>this.rendered().full.lead);sections=(0,_resource_chunk.EW)(()=>this.rendered().full.sections);hasBar=(0,_resource_chunk.EW)(()=>"none"!==this.notice()||this.dropped().count>0||null!==this.downloadHref()||this.printable());isEmpty=(0,_resource_chunk.EW)(()=>{const doc=this.rendered().full;return""===doc.lead.trim()&&0===doc.sections.length});print(){this.document.defaultView?.print()}static propDecorators={markdown:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"markdown",required:!1,transform:void 0}]}],error:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"error",required:!1,transform:void 0}]}],notice:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"notice",required:!1,transform:void 0}]}],contentLang:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"contentLang",required:!1,transform:void 0}]}],stand:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"stand",required:!1,transform:void 0}]}],downloadHref:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"downloadHref",required:!1,transform:void 0}]}],downloadName:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"downloadName",required:!1,transform:void 0}]}],printable:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"printable",required:!1,transform:void 0}]}]}};UiReaderDocComponent=(0,tslib_es6.Cg)([(0,_debug_node_chunk.uAl)({selector:"ui-reader-doc",template:'@if (error(); as message) {\n <p class="_state _error" role="alert">{{ message }}</p>\n} @else if (isEmpty()) {\n <p class="_state _empty" role="alert">{{ \'reader.empty\' | transloco }}</p>\n} @else {\n @if (hasBar()) {\n <header class="_bar">\n <div class="_notices">\n @switch (notice()) {\n @case (\'source-language\') {\n <p class="_notice">\n {{ \'reader.sourceLanguage\' | transloco: { lang: contentLang() ?? \'\' } }}\n </p>\n }\n @case (\'fallback\') {\n <p class="_notice _defect" role="alert">\n {{ \'reader.fallback\' | transloco: { lang: contentLang() ?? \'\' } }}\n </p>\n }\n }\n\n \x3c!-- Not switchable off: it appears only when content really was left\n out, and a reader that keeps that to itself is lying quietly. --\x3e\n @if (dropped().count > 0) {\n <p class="_notice _dropped">\n {{\n \'reader.dropped\'\n | transloco: { count: dropped().count, tags: dropped().tags.join(\', \') }\n }}\n </p>\n }\n </div>\n\n <div class="_actions">\n \x3c!-- Icon buttons in the library\'s own shape: the glyph is the content,\n the wording lives in `title` so it stays translated and reachable. --\x3e\n @if (downloadHref(); as href) {\n <a\n class="ui-icon _download"\n [href]="href"\n [attr.download]="downloadName() ?? \'\'"\n [title]="\'reader.download\' | transloco"\n [attr.aria-label]="\'reader.download\' | transloco"\n >file_download</a\n >\n }\n @if (printable()) {\n <button\n type="button"\n class="ui-icon _print"\n [title]="\'reader.print\' | transloco"\n [attr.aria-label]="\'reader.print\' | transloco"\n (click)="print()"\n >\n print\n </button>\n }\n </div>\n </header>\n }\n\n <article class="_doc">\n \x3c!-- The HTML comes from the renderer next door, which can only produce the\n tags marked builds itself. Angular\'s sanitiser still runs over it — a\n second net costs nothing here, and nothing is waved through. --\x3e\n <div class="_lead" [innerHTML]="lead()"></div>\n\n @for (section of sections(); track section.id) {\n <section class="_section">\n <h2 [id]="section.id">{{ section.title }}</h2>\n <div [innerHTML]="section.html"></div>\n </section>\n }\n </article>\n\n @if (stand(); as date) {\n <footer class="_stand">{{ \'reader.stand\' | transloco: { date: date } }}</footer>\n }\n}\n',encapsulation:_debug_node_chunk.gXe.None,imports:[ngneat_transloco.Kj],styles:[reader_doc_componentngResource_default()]})],UiReaderDocComponent);const reader_doc_component_stories={title:"Atoms/ReaderDoc",component:UiReaderDocComponent,argTypes:{notice:{control:"select",options:["none","source-language","fallback"]},printable:{control:"boolean"}}},noControls={controls:{disable:!0}},render=args=>({props:{...args},template:'\n <ui-reader-doc\n class="block max-w-3xl border border-c-secondary p-6"\n [markdown]="markdown"\n [error]="error"\n [notice]="notice"\n [contentLang]="contentLang"\n [stand]="stand"\n [downloadHref]="downloadHref"\n [downloadName]="downloadName"\n [printable]="printable"\n ></ui-reader-doc>\n '}),base={markdown:"# Demo document\n\nThis document exists to be read by the component below. Everything in it\ndemonstrates one of the shapes the renderer handles.\n\n- a list item, which carries the gear instead of a bullet on paper\n- a second one, so the spacing has something to show\n\nA [link that is kept](https://moja.work) and `inline code`.\n\n## A section\n\nSecond-level headings start a section. This paragraph sits inside one.\n\n| Column | Column |\n| --- | --- |\n| cell | cell |\n\n## Another section\n\n```\na code block keeps itself whole\n```\n",error:null,notice:"none",contentLang:null,stand:null,downloadHref:null,downloadName:null,printable:!1},Default={args:{...base},render},WaysOut={parameters:noControls,args:{...base,downloadHref:"assets/ui/documents/demo.pdf",downloadName:"demo.pdf",printable:!0,stand:"2026-08-15"},render},Figure={parameters:noControls,args:{...base,markdown:"# Demo document\n\nA paragraph that holds nothing but an image is a figure and stands centred.\nThe one below links somewhere as well — a linked image is a figure too.\n\n[](https://moja.work)\n\nProse with an image inside keeps its flow: \nthe picture sits in the line where the author put it.\n"},render},CodeInNarrowCell={parameters:noControls,args:{...base,markdown:"# Demo document\n\nInline code is one token and never wraps, however narrow the cell — the text\naround it breaks instead. A code block keeps its own breaks and scrolls.\n\n| App | What it is |\n| --- | --- |\n| `change-me` | A long description that takes the width, so the first column is squeezed to what the name needs and not one character more |\n| `another-long-name` | The same again, a second row so the column has to agree on one width for both names |\n"},render},SourceLanguage={parameters:noControls,args:{...base,notice:"source-language",contentLang:"EN"},render},FallbackDefect={parameters:noControls,args:{...base,notice:"fallback",contentLang:"EN"},render},DroppedMarkup={parameters:noControls,args:{...base,markdown:"# Demo document\n\nThis document contains <b>raw HTML</b> and a <details>block element</details>.\nThe words survive, the markup does not — and the notice above says so.\n"},render},Empty={parameters:noControls,args:{...base,markdown:""},render},Failed={parameters:noControls,args:{...base,error:"The source did not answer."},render},__namedExportsOrder=["Default","WaysOut","Figure","CodeInNarrowCell","SourceLanguage","FallbackDefect","DroppedMarkup","Empty","Failed"];Default.parameters={...Default.parameters,docs:{...Default.parameters?.docs,source:{originalSource:"{\n args: {\n ...base\n },\n render\n}",...Default.parameters?.docs?.source},description:{story:"Reading, and nothing else. No buttons, because none were handed in — a\nbutton appears only when it can keep its promise.",...Default.parameters?.docs?.description}}},WaysOut.parameters={...WaysOut.parameters,docs:{...WaysOut.parameters?.docs,source:{originalSource:"{\n parameters: noControls,\n args: {\n ...base,\n // A real, tiny PDF from the library's own assets — a stand-in that says\n // it is one when you open it. The previous one was text under a `.pdf`\n // name, so every click ended in \"the file could not be opened\": a story\n // teaching that the download is broken.\n downloadHref: 'assets/ui/documents/demo.pdf',\n downloadName: 'demo.pdf',\n printable: true,\n stand: '2026-08-15'\n },\n render\n}",...WaysOut.parameters?.docs?.source},description:{story:"Both ways out. The download is the main way and carries the weight; printing\nis the side way. The file is handed in as an address — the component makes\nnothing.",...WaysOut.parameters?.docs?.description}}},Figure.parameters={...Figure.parameters,docs:{...Figure.parameters?.docs,source:{originalSource:"{\n parameters: noControls,\n args: {\n ...base,\n markdown: WITH_FIGURE\n },\n render\n}",...Figure.parameters?.docs?.source},description:{story:"A lone image is a figure: centred, whether it links somewhere or not. An\nimage inside prose is not — it stays in its line. The renderer draws no\nframe and no caption; where the picture stands is all it decides.",...Figure.parameters?.docs?.description}}},CodeInNarrowCell.parameters={...CodeInNarrowCell.parameters,docs:{...CodeInNarrowCell.parameters?.docs,source:{originalSource:"{\n parameters: noControls,\n args: {\n ...base,\n markdown: WITH_CODE_IN_CELL\n },\n render\n}",...CodeInNarrowCell.parameters?.docs?.source},description:{story:"Inline code in a squeezed table cell: the hyphenated names stay on one line\neach, the description column takes the break.",...CodeInNarrowCell.parameters?.docs?.description}}},SourceLanguage.parameters={...SourceLanguage.parameters,docs:{...SourceLanguage.parameters?.docs,source:{originalSource:"{\n parameters: noControls,\n args: {\n ...base,\n notice: 'source-language',\n contentLang: 'EN'\n },\n render\n}",...SourceLanguage.parameters?.docs?.source},description:{story:"The quiet note: the text is in its source language and that is expected. It\nmust be distinguishable at a glance from the state below — that is the whole\nreason they are two states.",...SourceLanguage.parameters?.docs?.description}}},FallbackDefect.parameters={...FallbackDefect.parameters,docs:{...FallbackDefect.parameters?.docs,source:{originalSource:"{\n parameters: noControls,\n args: {\n ...base,\n notice: 'fallback',\n contentLang: 'EN'\n },\n render\n}",...FallbackDefect.parameters?.docs?.source},description:{story:'The defect: the requested language is missing although it should exist. It\ncarries the error colour and `role="alert"`, because a fallback nobody\nnotices is how an English page ends up in a German view unremarked.',...FallbackDefect.parameters?.docs?.description}}},DroppedMarkup.parameters={...DroppedMarkup.parameters,docs:{...DroppedMarkup.parameters?.docs,source:{originalSource:"{\n parameters: noControls,\n args: {\n ...base,\n markdown: WITH_HTML\n },\n render\n}",...DroppedMarkup.parameters?.docs?.source},description:{story:"Raw HTML is discarded, and the reader says so with a count and the element\nnames. There is no input that hides this: the notice only ever appears when\nsomething really was left out.",...DroppedMarkup.parameters?.docs?.description}}},Empty.parameters={...Empty.parameters,docs:{...Empty.parameters?.docs,source:{originalSource:"{\n parameters: noControls,\n args: {\n ...base,\n markdown: ''\n },\n render\n}",...Empty.parameters?.docs?.source},description:{story:"Nothing to read is a loud state, never a blank area that reads as a broken component.",...Empty.parameters?.docs?.description}}},Failed.parameters={...Failed.parameters,docs:{...Failed.parameters?.docs,source:{originalSource:"{\n parameters: noControls,\n args: {\n ...base,\n error: 'The source did not answer.'\n },\n render\n}",...Failed.parameters?.docs?.source},description:{story:"A failure the placer wants shown in its own words, in place of the document.",...Failed.parameters?.docs?.description}}}},"./libs/ui/src/lib/atoms/reader-doc/reader-doc.component.css?ngResource"(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,"@layer ui.base, ui.components;\n@layer ui.components {\n/* The reader on SCREEN, and nothing but. The document area stays neutral —\n this component carries foreign text, and a reader that decorates what it\n displays makes every source look like it was written in this house.\n\n It hangs on nothing outside itself: no stylesheet is imported, no class is\n left in the output as a hook for one, and no other file is named here as\n the other half of a design. Whatever this looks like is decided in this\n file.\n\n Encapsulation is None, so everything hangs under the tag. */\n\nui-reader-doc {\n display: block;\n color: var(--ui-c-default);\n\n /* ---- states that replace the document ---- */\n\n ._state {\n /* Centred in both directions: these two replace the whole document, so the\n sentence stands in the middle of the space the text would have had\n rather than in its top-left corner like a first paragraph. */\n display: flex;\n align-items: center;\n justify-content: center;\n text-align: center;\n padding: var(--ui-spacer);\n border-radius: var(--ui-border-radius);\n background-color: var(--ui-c-primary);\n color: var(--ui-c-primary-invert);\n }\n\n /* A tint rather than a slab of red, and the sentence in the error colour\n itself — the same pair the fallback notice uses, one step louder. A filled\n red block reads as a warning sign; this reads as a message that went\n wrong, which is what it is. */\n ._state._error {\n border: var(--ui-border-width) solid var(--ui-c-error);\n background-color: color-mix(in srgb, var(--ui-c-error) 20%, transparent);\n color: var(--ui-c-error);\n font-weight: bold;\n }\n\n /* ---- the bar above the document ---- */\n\n ._bar {\n display: flex;\n flex-wrap: wrap;\n gap: calc(var(--ui-spacer) * 0.5);\n justify-content: space-between;\n align-items: flex-start;\n /* Half a spacer, the same step the bar uses between its own parts. A full\n one left the notice floating well clear of the text it is about. */\n margin-bottom: calc(var(--ui-spacer) * 0.5);\n }\n\n ._notices {\n display: flex;\n flex-direction: column;\n gap: calc(var(--ui-spacer) * 0.25);\n flex: 1 1 20rem;\n }\n\n ._notice {\n margin: 0;\n padding: calc(var(--ui-spacer) * 0.5);\n border: var(--ui-border-width) solid var(--ui-c-secondary);\n border-radius: var(--ui-border-radius);\n /* A tint of the border's own colour, mixed against whatever lies behind\n it — so the note carries in both themes without a second token. */\n background-color: color-mix(in srgb, var(--ui-c-secondary) 12%, transparent);\n font-size: 0.9em;\n }\n\n /* A fallback is a DEFECT and looks like one. It must never be mistaken for\n the quiet note that a text is simply in its source language — that is the\n whole reason the two are separate states. */\n ._notice._defect {\n border-color: var(--ui-c-error);\n background-color: color-mix(in srgb, var(--ui-c-error) 10%, transparent);\n color: var(--ui-c-error);\n font-weight: bold;\n }\n\n ._actions {\n display: flex;\n gap: calc(var(--ui-spacer) * 0.25);\n align-items: center;\n }\n\n /* The print button needs nothing here: `ui-icon` puts it under the library's\n own button rule, which is where the splitter's icon row gets its look\n from. The download cannot use that rule — it is an `<a>`, because `href`\n and `download` belong on a link — so the rule's declarations are mirrored\n for it, token for token, rather than a second button design invented next\n to it. Size and padding come from `.ui-icon` for both. */\n ._actions ._download {\n background-color: var(--ui-c-fourthly);\n border: var(--ui-border-width) solid transparent;\n border-radius: var(--ui-border-radius);\n box-shadow: 0 0 var(--ui-button-shadow) 0 var(--ui-c-thirdly);\n color: var(--ui-c-default);\n font-weight: 400;\n text-decoration: none;\n cursor: pointer;\n }\n\n ._actions button:hover,\n ._actions a:hover {\n color: var(--ui-c-focus);\n }\n\n ._actions button:focus-visible,\n ._actions a:focus-visible {\n outline: var(--ui-border-width) solid var(--ui-c-focus);\n outline-offset: 2px;\n }\n\n /* ---- the document ---- */\n\n ._doc {\n line-height: 165%;\n }\n\n /* Headings are told apart by size and air, not by decoration. The library\n already sizes h1..h3 globally, so the document needs nothing beyond room\n around them — a reader carries a foreign text and must not push a house\n style onto it. */\n ._doc h1,\n ._doc h2 {\n /* In `em`, so the air scales with the heading rather than with the layout\n spacer — that one is 4rem and turned every heading into a clearing.\n More room above than below: a heading belongs to the text under it. */\n margin: 1.2em 0 0.4em;\n font-weight: normal;\n line-height: 140%;\n }\n\n ._doc ._lead > :first-child {\n margin-top: 0;\n }\n\n /* A step under every block that carries text, so a paragraph, a section body\n and a table never sit flush against whatever follows them. */\n ._doc div,\n ._doc p {\n padding-bottom: calc(var(--ui-spacer) * 0.25);\n }\n\n /* A table takes its step as margin: `table.ui` collapses its borders, and in\n that model the browser ignores padding on the table itself — the text\n after it sat flush against the last row. */\n ._doc table {\n margin-bottom: calc(var(--ui-spacer) * 0.5);\n }\n\n /* The fold keeps the browser's own marker. A section that folds has to look\n like it does, and the platform's triangle says so in the reader's own\n idiom — a house shape here would be the reader's design talking over the\n document's. */\n ._doc a {\n color: var(--ui-c-default);\n text-decoration: underline;\n text-decoration-color: var(--ui-c-secondary);\n }\n\n ._doc img {\n max-width: 100%;\n }\n\n /* A paragraph that holds nothing but an image — or an image that is a link —\n is a figure, and a figure stands centred. That is the one place the reader\n decides a position for the author: Markdown has no way to say it, and a\n picture flush left under a table reads as a mistake, not as a choice.\n Prose with an image inside keeps its flow; only the lone image moves. */\n ._doc p:has(> img:only-child),\n ._doc p:has(> a:only-child > img:only-child) {\n text-align: center;\n\n /* The Tailwind preflight makes every img a block, and a block ignores\n text-align; the figure is laid out as a block of its own width in the\n middle of the line, which is what \"centred\" means for either display. */\n img {\n display: inline-block;\n }\n }\n\n /* A token is one thing. Inline code names an identifier, a file, a flag —\n and an identifier cut at its hyphen (`change-` / `me`) is no longer the\n thing it names. So code in running text never wraps; the line around it\n does. A code BLOCK is not this: `pre` keeps its own breaks and scrolls. */\n ._doc :not(pre) > code {\n white-space: nowrap;\n }\n\n ._doc pre {\n padding: calc(var(--ui-spacer) * 0.5);\n border: var(--ui-border-width) solid var(--ui-c-secondary);\n border-radius: var(--ui-border-radius);\n overflow-x: auto;\n }\n\n /* Tables carry `class=\"ui\"` from the renderer and take the library's own\n table design with it — see Styling / Tags. A second table style in this\n component is exactly the house design the document area must not bring. */\n ._doc table.ui {\n width: 100%;\n\n /* A cell reads from its first line. Browsers centre cells vertically, so a\n one-word key next to a three-line description floats mid-air and the\n eye has to find the row it belongs to; at the top, key and text start\n together. That is reading, not design — the look stays the library's. */\n th,\n td {\n vertical-align: top;\n }\n }\n\n ._doc blockquote {\n margin: 0 0 calc(var(--ui-spacer) * 0.5);\n padding-left: var(--ui-spacer);\n border-left: calc(var(--ui-border-width) * 2) solid var(--ui-c-secondary);\n }\n\n ._stand {\n margin-top: var(--ui-spacer);\n font-size: 0.85em;\n color: var(--ui-c-secondary);\n }\n\n /* ---- the side way ----\n A print of the PAGE, not a paper design: the chrome goes and the breaks\n are kept off headings, so a sheet coming out of a browser is readable.\n That is the whole of it. What a document looks like on paper as a\n designed thing is not this component's question, and nothing here knows\n of an answer to it. */\n @media print {\n ._bar ._actions,\n ._stand {\n display: none;\n }\n\n ._doc h1,\n ._doc h2,\n ._doc li,\n ._doc pre,\n ._doc blockquote {\n break-inside: avoid;\n }\n\n ._doc h1,\n ._doc h2,\n ._doc h3 {\n break-after: avoid;\n }\n }\n}\n}\n",""]),module.exports=___CSS_LOADER_EXPORT___.toString()}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkmoja_work=self.webpackChunkmoja_work||[]).push([[365,1043],{"./libs/ui/.storybook/demos/header/header.component.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{b:()=>UiInternHeaderComponent});var tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.mjs");var header_componentngResource=__webpack_require__("./libs/ui/.storybook/demos/header/header.component.css?ngResource"),header_componentngResource_default=__webpack_require__.n(header_componentngResource),_common_module_chunk=__webpack_require__("./node_modules/@angular/common/fesm2022/_common_module-chunk.mjs"),_effect_chunk2=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),core=__webpack_require__("./node_modules/@angular/core/fesm2022/core.mjs"),_debug_node_chunk=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),ui_config_types=__webpack_require__("./libs/ui/src/config/ui-config.types.ts"),layout_service=__webpack_require__("./libs/ui/src/lib/layout/_service/layout.service.ts");let UiInternHeaderComponent=class UiInternHeaderComponent{layoutService=(0,_effect_chunk2.WQX)(layout_service.u);theme=(0,core.input)(null);display=(0,core.input)(!1,{transform:core.booleanAttribute});onTop=(0,core.input)(!1,{transform:core.booleanAttribute});ngOnInit(){this.layoutService.handleTheme(this.theme(),ui_config_types.Q)}ngOnDestroy(){this.layoutService.handleTheme("theme-light",ui_config_types.Q)}setTheme(){this.layoutService.handleTheme(null,ui_config_types.Q)}static propDecorators={theme:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"theme",required:!1,transform:void 0}]}],display:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"display",required:!1,transform:void 0}]}],onTop:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"onTop",required:!1,transform:void 0}]}]}};UiInternHeaderComponent=(0,tslib_es6.Cg)([(0,_debug_node_chunk.uAl)({selector:"ui-intern-header",template:'@if (display()) {\n <button class="ui" [class._on-top]="onTop()" (click)="setTheme()">\n switch Theme\n </button>\n}\n',encapsulation:_debug_node_chunk.gXe.Emulated,standalone:!0,imports:[_common_module_chunk.MD],styles:[header_componentngResource_default()]})],UiInternHeaderComponent)},"./libs/ui/src/config/ui-config.types.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Q:()=>uiConfigStorybookCssPrefix,y:()=>uiConfigTypes});const uiConfigStorybookCssPrefix="ui-storybook ",uiConfigTypes={mainID:"ui-main",mainClass:"ui-main",storeName:"ui-layout"}},"./libs/ui/src/lib/layout/_service/layout.service.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{u:()=>UiLayoutService});var tslib__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/tslib/tslib.es6.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),_ngx_pwa_local_storage__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@ngx-pwa/local-storage/fesm2022/ngx-pwa-local-storage.mjs"),_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./libs/ui/src/config/ui-config.types.ts");let UiLayoutService=class UiLayoutService{storage=(0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.WQX)(_ngx_pwa_local_storage__WEBPACK_IMPORTED_MODULE_3__.AX);settings={cssPrefix:"",theme:null,zoom:null,fullscreen:null,direction:"center",layoutSize:null};setStorage(){this.storage.set(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName,this.settings).subscribe()}handleInit(config){this.settings.cssPrefix=config.cssPrefix,this.settings.theme=config.theme,this.settings.zoom=config.zoom?"zoom":"x-zoom",this.settings.fullscreen=config.fullscreen?"fullscreen":"x-fullscreen",this.handleFullScreen(this.settings.fullscreen),this.storage.get(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName).subscribe(data=>{data&&(this.settings=data),this.setStorage(),this.setTheme(null)})}setTheme(theme){document.body.className=theme?`${this.settings.cssPrefix} ${theme}`:`${this.settings.cssPrefix} ${this.settings.theme}`}getTheme(){return this.storage.get(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName).subscribe(data=>{data&&(this.settings=data)}),this.settings.theme}getMainClass(){return`${_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.mainClass} ${this.settings.zoom} ${this.settings.fullscreen}`}handleFullScreen(init){init?this.settings.fullscreen=init:"fullscreen"===this.settings.fullscreen?this.settings.fullscreen="x-fullscreen":this.settings.fullscreen="fullscreen",this.setStorage()}handleZoom(init){init?this.settings.zoom=init:"zoom"===this.settings.zoom?this.settings.zoom="x-zoom":this.settings.zoom="zoom",this.setStorage()}handleTheme(theme,prefix){return prefix&&(this.settings.cssPrefix=prefix),theme?(this.setTheme(theme),this.settings.theme=theme):(this.settings.theme="theme-light"===this.settings.theme?"theme-dark":"theme-light",this.setTheme(null)),this.setStorage(),this.settings.theme}handleDirection(type){this.settings.direction=type,this.setStorage()}setLayoutSize(sizes){this.settings.layoutSize=sizes,this.storage.set(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName,this.settings).subscribe()}getLayoutSize(){return this.storage.get(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName).subscribe(data=>{data&&(this.settings=data)}),this.settings.layoutSize}};UiLayoutService=(0,tslib__WEBPACK_IMPORTED_MODULE_0__.Cg)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_1__._qm)({providedIn:"root"})],UiLayoutService)},"./libs/ui/.storybook/blocks/guide.mdx"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Ay:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),file_Users_moja_projects_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/addon-docs/dist/blocks.js"),_guide_entries__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./libs/ui/.storybook/blocks/guide.entries.js"),_guide_model_mjs__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./libs/ui/.storybook/blocks/guide.model.mjs");const Link=({href,children})=>href?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__.zE,{href,children}):(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children}),Sentences=({items})=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("ul",{children:items.map((s,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("li",{children:s},i))}),Block=({of,entry})=>{const m=(0,_guide_model_mjs__WEBPACK_IMPORTED_MODULE_5__.Cc)(entry,_guide_entries__WEBPACK_IMPORTED_MODULE_4__.H,of);return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("section",{className:"ui-guide",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("h4",{children:["Guide — a recommendation, not the truth",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("small",{children:[" · reviewed ",m.reviewed]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:["Written by an agent from the sources below, only for what runs in the house."," ","component"===m.kind?"The section above is what the component does; this is what to reach for it for.":"The pages of the parts say what each does; this is what they are for together."," ","Where the two disagree, the page wins."]}),m.uses.length>0&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Builds on"})," ",m.uses.map((u,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("span",{children:[i>0&&", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Link,{href:u.href,children:u.selector})]},u.selector))]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Use it for"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Sentences,{items:m.useFor}),m.notFor.length>0&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Not for"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Sentences,{items:m.notFor})]}),m.instead.length>0&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Instead"})," ",m.instead.map((s,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("span",{children:[i>0&&", ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Link,{href:s.href,children:s.selector})]},s.selector))]}),m.note&&(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Note"})," ",m.note]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("p",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Shown in"})," ",m.shownIn.map((s,i)=>(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("span",{children:[i>0&&" · ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Link,{href:s.href,children:s.label})]},s.label))]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("p",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("small",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("strong",{children:"Sources"})," ",m.sources.join(" · ")]})})]})};function _createMdxContent(props){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:["\n","\n","\n","\n","\n","\n","\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(Block,{of:props.of,entry:props.entry})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,file_Users_moja_projects_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return MDXLayout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}},"./libs/ui/src/lib/layout/spinner/docs.mdx"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>MDXContent});__webpack_require__("./node_modules/react/index.js");var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/react/jsx-runtime.js"),file_Users_moja_projects_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@storybook/addon-docs/dist/blocks.js"),_spinner_component_stories__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./libs/ui/src/lib/layout/spinner/spinner.component.stories.ts"),_storybook_blocks_guide_mdx__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./libs/ui/.storybook/blocks/guide.mdx"),_guide_ui_layout_spinner_json__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./libs/ui/guide/ui-layout-spinner.json");function _createMdxContent(props){const _components={a:"a",code:"code",h3:"h3",h4:"h4",hr:"hr",p:"p",pre:"pre",strong:"strong",...(0,file_Users_moja_projects_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_3__.W8,{of:_spinner_component_stories__WEBPACK_IMPORTED_MODULE_4__}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"layout-spinner",children:"Layout: Spinner"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"A global loading indicator that provides visual feedback during asynchronous operations."}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"what-it-does-and-what-it-does-not",children:"What it does, and what it does not"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["A global loading indicator, placed once at the application root and switched\nthrough ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"UiLayoutSpinnerService"})," from anywhere — an HTTP interceptor, typically.\nIt shows, animates out and hides; it does not count requests, time out or block\ninput on its own, and it is not the spinner for one component's own loading\nstate."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_storybook_blocks_guide_mdx__WEBPACK_IMPORTED_MODULE_5__.Ay,{of:"ui-layout-spinner",entry:_guide_ui_layout_spinner_json__WEBPACK_IMPORTED_MODULE_6__}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"overview",children:"Overview"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:["The ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"UiLayoutSpinnerComponent"})," is a singleton component typically placed at the application root (e.g., ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"app.component.html"}),"). It's controlled via the ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"UiLayoutSpinnerService"}),", making it easy to trigger from anywhere in the app, such as an HTTP interceptor."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"example-spinner",children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.a,{href:"?path=/story/layout-spinner--spinner",children:"Example: Spinner"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h3,{id:"arguments-props",children:"Arguments (Props)"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.h4,{id:"inputs",children:"Inputs"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("table",{class:"ui",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("thead",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"@Input"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Type"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Default"}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("th",{children:"Description"})]})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tbody",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"debug"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"boolean"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"false"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["If ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"true"}),", displays a debug navigation to manually test spinner states."]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"close"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"boolean"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"false"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["If ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"true"}),", shows a close button to manually dismiss the spinner."]})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("tr",{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"type"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"'ring' | 'linear' | 'disco'"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("td",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"'ring'"})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)("td",{children:["Selects the loading animation: ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"ring"})," (rotating gradient ring), ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"linear"})," (indeterminate sliding bar), or ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)("code",{children:"disco"})," (spinning rainbow ring with hue rotation and a blinking sparkle in the centre)."]})]})]})]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.h3,{id:"service-uilayoutspinnerservice",children:["Service: ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{children:"UiLayoutSpinnerService"})]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.p,{children:"Use this service to control the spinner's state:"}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-typescript",children:"// Start the spinner\nspinnerService.startSpinner();\n\n// Mark operation as successful (animates out and hides). A visible\n// message state is NOT auto-dismissed by this call.\nspinnerService.successSpinner();\n\n// Show a message within the spinner (stays until dismissed)\nspinnerService.messageSpinner('Loading your data...');\n\n// Dismiss unconditionally — also clears a message state (used by the\n// overlay's OK button when [close] is enabled)\nspinnerService.dismissSpinner();\n"})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsxs)(_components.p,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.strong,{children:"Usage: Add to Template"})," Place the component in your main application template."]}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.pre,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.code,{className:"language-html",children:'<ui-layout-spinner [close]="true" [debug]="true"></ui-layout-spinner>\n'})}),"\n",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_components.hr,{})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,file_Users_moja_projects_mojawork_mono_node_modules_storybook_addon_docs_dist_mdx_react_shim_js__WEBPACK_IMPORTED_MODULE_2__.R)(),...props.components};return MDXLayout?(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(MDXLayout,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_1__.jsx)(_createMdxContent,{...props})}):_createMdxContent(props)}},"./libs/ui/src/lib/layout/spinner/spinner.component.stories.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Spinner:()=>Spinner,__namedExportsOrder:()=>__namedExportsOrder,default:()=>spinner_component_stories});var fesm2022_forms=__webpack_require__("./node_modules/@angular/forms/fesm2022/forms.mjs"),dist=__webpack_require__("./node_modules/@storybook/angular/dist/index.js"),header_component=__webpack_require__("./libs/ui/.storybook/demos/header/header.component.ts"),tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.mjs");var spinner_componentngResource=__webpack_require__("./libs/ui/src/lib/layout/spinner/spinner.component.css?ngResource"),spinner_componentngResource_default=__webpack_require__.n(spinner_componentngResource),_common_module_chunk=__webpack_require__("./node_modules/@angular/common/fesm2022/_common_module-chunk.mjs"),_effect_chunk2=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),core=__webpack_require__("./node_modules/@angular/core/fesm2022/core.mjs"),_debug_node_chunk=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),Subscription=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/Subscription.js"),BehaviorSubject=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/BehaviorSubject.js");let UiLayoutSpinnerService=class UiLayoutSpinnerService{status=new BehaviorSubject.t({show:"none"});hideTimeout=null;startSpinner(){this.cancelPendingHide(),this.status.next({show:"showIn"})}messageSpinner(content){this.cancelPendingHide(),this.status.next({content,show:"error"})}successSpinner(){this.status.getValue().content||this.dismissSpinner()}dismissSpinner(){this.cancelPendingHide(),this.status.next({show:"showOut"}),this.hideTimeout=setTimeout(()=>{this.hideTimeout=null,this.status.next({show:"none"})},1200)}cancelPendingHide(){null!==this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}getSpinner(){return this.status}};UiLayoutSpinnerService=(0,tslib_es6.Cg)([(0,_debug_node_chunk._qm)({providedIn:"root"})],UiLayoutSpinnerService);let UiLayoutSpinnerComponent=class UiLayoutSpinnerComponent{spinnerService=(0,_effect_chunk2.WQX)(UiLayoutSpinnerService);debug=(0,core.input)(!1);close=(0,core.input)(!1);type=(0,core.input)("ring");status=(0,_effect_chunk2.vPA)({show:"none"});subscription=new Subscription.yU;ngOnInit(){this.subscription.add(this.spinnerService.getSpinner().subscribe(show=>this.status.set(show)))}ngOnDestroy(){this.subscription.unsubscribe()}static propDecorators={debug:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"debug",required:!1,transform:void 0}]}],close:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"close",required:!1,transform:void 0}]}],type:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"type",required:!1,transform:void 0}]}]}};UiLayoutSpinnerComponent=(0,tslib_es6.Cg)([(0,_debug_node_chunk.uAl)({selector:"ui-layout-spinner",template:'@if (debug()) {\n <div class="ui-debug">\n <button class="ui" (click)="spinnerService.startSpinner()">Start</button>\n <button class="ui" (click)="spinnerService.successSpinner()">Success</button>\n <button class="ui" (click)="spinnerService.messageSpinner(\'Info message\')">Message</button>\n <span>\n {{ status() | json }}\n </span>\n </div>\n}\n\n@if (status().show !== \'none\') {\n <div class="_spinner" [class]="status().show">\n <div class="_loader" [class]="\'_-\' + type()" aria-hidden="true"></div>\n @if (type() === \'disco\') {\n <div class="_disco-blink" aria-hidden="true"></div>\n }\n @if (status().content) {\n <div class="_content">\n <span [innerHTML]="status().content"></span>\n @if (close()) {\n <div class="_actions">\n <button class="ui" (click)="spinnerService.dismissSpinner()">OK</button>\n </div>\n }\n </div>\n }\n </div>\n}\n',imports:[_common_module_chunk.TG],styles:[spinner_componentngResource_default()]})],UiLayoutSpinnerComponent);const spinner_component_stories={title:"Layout/Spinner",decorators:[(0,dist.Iz)({providers:[],imports:[header_component.b,fesm2022_forms.YN,UiLayoutSpinnerComponent]})],argTypes:{debug:{control:"boolean"},close:{control:"boolean"},type:{control:"select",options:["ring","linear","disco"]}},args:{debug:!0,close:!0,type:"ring"}},Spinner={args:{debug:!0,close:!0,type:"ring"},render:args=>({props:{...args},template:'\n <ui-intern-header theme="theme-light" [onTop]="true" [display]="true"></ui-intern-header>\n <ui-layout-spinner [close]="close" [debug]="debug" [type]="type"></ui-layout-spinner>\n '})},__namedExportsOrder=["Spinner"];Spinner.parameters={...Spinner.parameters,docs:{...Spinner.parameters?.docs,source:{originalSource:'{\n args: {\n debug: true,\n close: true,\n type: \'ring\'\n },\n render: args => {\n return {\n props: {\n ...args\n },\n template: `\n <ui-intern-header theme="theme-light" [onTop]="true" [display]="true"></ui-intern-header>\n <ui-layout-spinner [close]="close" [debug]="debug" [type]="type"></ui-layout-spinner>\n `\n };\n }\n}',...Spinner.parameters?.docs?.source}}}},"./libs/ui/.storybook/demos/header/header.component.css?ngResource"(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,"/* The intern header is reduced to just the theme switch button, pinned to the */\n/* bottom-left corner of the Storybook canvas. */\nbutton {\n position: fixed;\n bottom: calc(var(--ui-spacer) * 0.5);\n left: calc(var(--ui-spacer) * 0.5);\n z-index: 1000;\n\n &._on-top {\n z-index: 10000;\n }\n}\n",""]),module.exports=___CSS_LOADER_EXPORT___.toString()},"./libs/ui/src/lib/layout/spinner/spinner.component.css?ngResource"(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,"@layer ui.base, ui.components;\n@layer ui.components {\n@keyframes pie-show-in {\n 0% {\n opacity: 0;\n }\n 10% {\n opacity: 1;\n }\n}\n\n@keyframes pie-show-out {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n}\n\n@keyframes ring-spin {\n to {\n transform: rotate(360deg);\n }\n}\n\n@keyframes linear-slide {\n 0% {\n transform: translateX(-100%);\n }\n 100% {\n transform: translateX(250%);\n }\n}\n\n@keyframes disco-hue {\n to {\n filter: hue-rotate(360deg);\n }\n}\n\n@keyframes disco-blink {\n 0%,\n 40% {\n opacity: 1;\n transform: scale(1);\n }\n 50%,\n 90% {\n opacity: 0.15;\n transform: scale(0.5);\n }\n 100% {\n opacity: 1;\n transform: scale(1);\n }\n}\n\n@keyframes disco-party {\n 0% {\n background: #ff2d95;\n box-shadow: 0 0 2rem 0.6rem #ff2d95;\n }\n 16% {\n background: #ff9500;\n box-shadow: 0 0 2rem 0.6rem #ff9500;\n }\n 33% {\n background: #ffe600;\n box-shadow: 0 0 2rem 0.6rem #ffe600;\n }\n 50% {\n background: #33dd55;\n box-shadow: 0 0 2rem 0.6rem #33dd55;\n }\n 66% {\n background: #00c8ff;\n box-shadow: 0 0 2rem 0.6rem #00c8ff;\n }\n 83% {\n background: #cc44ff;\n box-shadow: 0 0 2rem 0.6rem #cc44ff;\n }\n 100% {\n background: #ff2d95;\n box-shadow: 0 0 2rem 0.6rem #ff2d95;\n }\n}\n\n/* ---------------------------------------------------------------------------- */\n/* Defaut */\n/* ---------------------------------------------------------------------------- */\n\n._spinner {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(var(--ui-c-background-value), 0.6);\n z-index: 1000;\n\n &._debug {\n position: absolute;\n }\n\n &.showIn {\n animation-name: pie-show-in;\n animation-duration: calc(0.6s * 2.25);\n animation-fill-mode: forwards;\n animation-timing-function: linear;\n /*z-index: 1000;*/\n }\n\n &.showOut {\n animation-name: pie-show-out;\n animation-duration: calc(0.6s * 2.25);\n animation-fill-mode: forwards;\n animation-timing-function: linear;\n }\n\n /* Loading indicator. The visual is selected via the `type` input, which\n adds one of the `_-ring` / `_-linear` / `_-disco` modifiers. */\n ._loader {\n position: absolute;\n }\n\n /* ring — a conic-gradient comet tail masked into an annulus (hollow\n centre) that rotates seamlessly. */\n ._loader._-ring {\n width: 26rem;\n height: 26rem;\n border-radius: 50%;\n background: conic-gradient(\n from 0deg,\n rgba(var(--ui-c-fourthly-value), 0) 0deg,\n rgba(var(--ui-c-fourthly-value), 0.15) 90deg,\n var(--ui-c-fourthly) 360deg\n );\n -webkit-mask: radial-gradient(\n farthest-side,\n transparent calc(100% - 2rem),\n #000 calc(100% - 2rem)\n );\n mask: radial-gradient(\n farthest-side,\n transparent calc(100% - 2rem),\n #000 calc(100% - 2rem)\n );\n animation: ring-spin 1.2s linear infinite;\n }\n\n /* linear — an indeterminate horizontal bar with a segment sliding across a\n faint track. */\n ._loader._-linear {\n width: 26rem;\n height: 0.6rem;\n border-radius: 999px;\n background: rgba(var(--ui-c-fourthly-value), 0.15);\n overflow: hidden;\n\n &::before {\n content: '';\n position: absolute;\n inset: 0;\n width: 40%;\n border-radius: inherit;\n background: var(--ui-c-fourthly);\n animation: linear-slide 1.2s ease-in-out infinite;\n }\n }\n\n /* disco — a full rainbow ring that spins while its hue rotates. */\n ._loader._-disco {\n width: 26rem;\n height: 26rem;\n border-radius: 50%;\n background: conic-gradient(\n from 0deg,\n #ff0040,\n #ff9500,\n #ffe600,\n #33dd55,\n #00c8ff,\n #4455ff,\n #cc44ff,\n #ff0040\n );\n -webkit-mask: radial-gradient(\n farthest-side,\n transparent calc(100% - 2.4rem),\n #000 calc(100% - 2.4rem)\n );\n mask: radial-gradient(\n farthest-side,\n transparent calc(100% - 2.4rem),\n #000 calc(100% - 2.4rem)\n );\n animation:\n ring-spin 1s linear infinite,\n disco-hue 3s linear infinite;\n }\n\n /* disco centre sparkle — a big glowing dot blinking on/off in the hollow\n ring centre while cycling through party colours. */\n ._disco-blink {\n position: absolute;\n width: 5rem;\n height: 5rem;\n border-radius: 50%;\n animation:\n disco-blink 0.5s ease-in-out infinite,\n disco-party 1.5s linear infinite;\n }\n\n ._content {\n z-index: 1001;\n display: flex;\n flex-flow: column;\n gap: calc(var(--ui-spacer) * 0.5);\n max-width: 80%;\n background-color: var(--ui-c-background);\n padding: calc(var(--ui-spacer) * 0.25);\n border-radius: var(--ui-border-radius);\n border:1px solid var(--ui-c-default);\n ._message {\n display: flex;\n justify-content: flex-end;\n }\n ._actions {\n padding-top: calc(var(--ui-spacer) * 0.5);\n border-top: var(--ui-border-width) solid var(--ui-c-default);\n display: flex;\n justify-content: flex-end;\n }\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n ._spinner ._loader._-ring,\n ._spinner ._loader._-disco {\n animation-duration: 2s;\n }\n ._spinner ._loader._-linear::before {\n animation-duration: 2s;\n }\n ._spinner ._disco-blink {\n animation-duration: 2s, 6s;\n }\n}\n}\n",""]),module.exports=___CSS_LOADER_EXPORT___.toString()}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkmoja_work=self.webpackChunkmoja_work||[]).push([[1043],{"./libs/ui/.storybook/demos/header/header.component.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{b:()=>UiInternHeaderComponent});var tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.mjs");var header_componentngResource=__webpack_require__("./libs/ui/.storybook/demos/header/header.component.css?ngResource"),header_componentngResource_default=__webpack_require__.n(header_componentngResource),_common_module_chunk=__webpack_require__("./node_modules/@angular/common/fesm2022/_common_module-chunk.mjs"),_effect_chunk2=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),core=__webpack_require__("./node_modules/@angular/core/fesm2022/core.mjs"),_debug_node_chunk=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),ui_config_types=__webpack_require__("./libs/ui/src/config/ui-config.types.ts"),layout_service=__webpack_require__("./libs/ui/src/lib/layout/_service/layout.service.ts");let UiInternHeaderComponent=class UiInternHeaderComponent{layoutService=(0,_effect_chunk2.WQX)(layout_service.u);theme=(0,core.input)(null);display=(0,core.input)(!1,{transform:core.booleanAttribute});onTop=(0,core.input)(!1,{transform:core.booleanAttribute});ngOnInit(){this.layoutService.handleTheme(this.theme(),ui_config_types.Q)}ngOnDestroy(){this.layoutService.handleTheme("theme-light",ui_config_types.Q)}setTheme(){this.layoutService.handleTheme(null,ui_config_types.Q)}static propDecorators={theme:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"theme",required:!1,transform:void 0}]}],display:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"display",required:!1,transform:void 0}]}],onTop:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"onTop",required:!1,transform:void 0}]}]}};UiInternHeaderComponent=(0,tslib_es6.Cg)([(0,_debug_node_chunk.uAl)({selector:"ui-intern-header",template:'@if (display()) {\n <button class="ui" [class._on-top]="onTop()" (click)="setTheme()">\n switch Theme\n </button>\n}\n',encapsulation:_debug_node_chunk.gXe.Emulated,standalone:!0,imports:[_common_module_chunk.MD],styles:[header_componentngResource_default()]})],UiInternHeaderComponent)},"./libs/ui/src/config/ui-config.types.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Q:()=>uiConfigStorybookCssPrefix,y:()=>uiConfigTypes});const uiConfigStorybookCssPrefix="ui-storybook ",uiConfigTypes={mainID:"ui-main",mainClass:"ui-main",storeName:"ui-layout"}},"./libs/ui/src/lib/layout/_service/layout.service.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{u:()=>UiLayoutService});var tslib__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/tslib/tslib.es6.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),_ngx_pwa_local_storage__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@ngx-pwa/local-storage/fesm2022/ngx-pwa-local-storage.mjs"),_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./libs/ui/src/config/ui-config.types.ts");let UiLayoutService=class UiLayoutService{storage=(0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.WQX)(_ngx_pwa_local_storage__WEBPACK_IMPORTED_MODULE_3__.AX);settings={cssPrefix:"",theme:null,zoom:null,fullscreen:null,direction:"center",layoutSize:null};setStorage(){this.storage.set(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName,this.settings).subscribe()}handleInit(config){this.settings.cssPrefix=config.cssPrefix,this.settings.theme=config.theme,this.settings.zoom=config.zoom?"zoom":"x-zoom",this.settings.fullscreen=config.fullscreen?"fullscreen":"x-fullscreen",this.handleFullScreen(this.settings.fullscreen),this.storage.get(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName).subscribe(data=>{data&&(this.settings=data),this.setStorage(),this.setTheme(null)})}setTheme(theme){document.body.className=theme?`${this.settings.cssPrefix} ${theme}`:`${this.settings.cssPrefix} ${this.settings.theme}`}getTheme(){return this.storage.get(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName).subscribe(data=>{data&&(this.settings=data)}),this.settings.theme}getMainClass(){return`${_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.mainClass} ${this.settings.zoom} ${this.settings.fullscreen}`}handleFullScreen(init){init?this.settings.fullscreen=init:"fullscreen"===this.settings.fullscreen?this.settings.fullscreen="x-fullscreen":this.settings.fullscreen="fullscreen",this.setStorage()}handleZoom(init){init?this.settings.zoom=init:"zoom"===this.settings.zoom?this.settings.zoom="x-zoom":this.settings.zoom="zoom",this.setStorage()}handleTheme(theme,prefix){return prefix&&(this.settings.cssPrefix=prefix),theme?(this.setTheme(theme),this.settings.theme=theme):(this.settings.theme="theme-light"===this.settings.theme?"theme-dark":"theme-light",this.setTheme(null)),this.setStorage(),this.settings.theme}handleDirection(type){this.settings.direction=type,this.setStorage()}setLayoutSize(sizes){this.settings.layoutSize=sizes,this.storage.set(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName,this.settings).subscribe()}getLayoutSize(){return this.storage.get(_config_ui_config_types__WEBPACK_IMPORTED_MODULE_4__.y.storeName).subscribe(data=>{data&&(this.settings=data)}),this.settings.layoutSize}};UiLayoutService=(0,tslib__WEBPACK_IMPORTED_MODULE_0__.Cg)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_1__._qm)({providedIn:"root"})],UiLayoutService)},"./libs/ui/src/lib/layout/spinner/spinner.component.stories.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{Spinner:()=>Spinner,__namedExportsOrder:()=>__namedExportsOrder,default:()=>spinner_component_stories});var fesm2022_forms=__webpack_require__("./node_modules/@angular/forms/fesm2022/forms.mjs"),dist=__webpack_require__("./node_modules/@storybook/angular/dist/index.js"),header_component=__webpack_require__("./libs/ui/.storybook/demos/header/header.component.ts"),tslib_es6=__webpack_require__("./node_modules/tslib/tslib.es6.mjs");var spinner_componentngResource=__webpack_require__("./libs/ui/src/lib/layout/spinner/spinner.component.css?ngResource"),spinner_componentngResource_default=__webpack_require__.n(spinner_componentngResource),_common_module_chunk=__webpack_require__("./node_modules/@angular/common/fesm2022/_common_module-chunk.mjs"),_effect_chunk2=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),core=__webpack_require__("./node_modules/@angular/core/fesm2022/core.mjs"),_debug_node_chunk=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),Subscription=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/Subscription.js"),BehaviorSubject=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/BehaviorSubject.js");let UiLayoutSpinnerService=class UiLayoutSpinnerService{status=new BehaviorSubject.t({show:"none"});hideTimeout=null;startSpinner(){this.cancelPendingHide(),this.status.next({show:"showIn"})}messageSpinner(content){this.cancelPendingHide(),this.status.next({content,show:"error"})}successSpinner(){this.status.getValue().content||this.dismissSpinner()}dismissSpinner(){this.cancelPendingHide(),this.status.next({show:"showOut"}),this.hideTimeout=setTimeout(()=>{this.hideTimeout=null,this.status.next({show:"none"})},1200)}cancelPendingHide(){null!==this.hideTimeout&&(clearTimeout(this.hideTimeout),this.hideTimeout=null)}getSpinner(){return this.status}};UiLayoutSpinnerService=(0,tslib_es6.Cg)([(0,_debug_node_chunk._qm)({providedIn:"root"})],UiLayoutSpinnerService);let UiLayoutSpinnerComponent=class UiLayoutSpinnerComponent{spinnerService=(0,_effect_chunk2.WQX)(UiLayoutSpinnerService);debug=(0,core.input)(!1);close=(0,core.input)(!1);type=(0,core.input)("ring");status=(0,_effect_chunk2.vPA)({show:"none"});subscription=new Subscription.yU;ngOnInit(){this.subscription.add(this.spinnerService.getSpinner().subscribe(show=>this.status.set(show)))}ngOnDestroy(){this.subscription.unsubscribe()}static propDecorators={debug:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"debug",required:!1,transform:void 0}]}],close:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"close",required:!1,transform:void 0}]}],type:[{type:_debug_node_chunk.pde,args:[{isSignal:!0,alias:"type",required:!1,transform:void 0}]}]}};UiLayoutSpinnerComponent=(0,tslib_es6.Cg)([(0,_debug_node_chunk.uAl)({selector:"ui-layout-spinner",template:'@if (debug()) {\n <div class="ui-debug">\n <button class="ui" (click)="spinnerService.startSpinner()">Start</button>\n <button class="ui" (click)="spinnerService.successSpinner()">Success</button>\n <button class="ui" (click)="spinnerService.messageSpinner(\'Info message\')">Message</button>\n <span>\n {{ status() | json }}\n </span>\n </div>\n}\n\n@if (status().show !== \'none\') {\n <div class="_spinner" [class]="status().show">\n <div class="_loader" [class]="\'_-\' + type()" aria-hidden="true"></div>\n @if (type() === \'disco\') {\n <div class="_disco-blink" aria-hidden="true"></div>\n }\n @if (status().content) {\n <div class="_content">\n <span [innerHTML]="status().content"></span>\n @if (close()) {\n <div class="_actions">\n <button class="ui" (click)="spinnerService.dismissSpinner()">OK</button>\n </div>\n }\n </div>\n }\n </div>\n}\n',imports:[_common_module_chunk.TG],styles:[spinner_componentngResource_default()]})],UiLayoutSpinnerComponent);const spinner_component_stories={title:"Layout/Spinner",decorators:[(0,dist.Iz)({providers:[],imports:[header_component.b,fesm2022_forms.YN,UiLayoutSpinnerComponent]})],argTypes:{debug:{control:"boolean"},close:{control:"boolean"},type:{control:"select",options:["ring","linear","disco"]}},args:{debug:!0,close:!0,type:"ring"}},Spinner={args:{debug:!0,close:!0,type:"ring"},render:args=>({props:{...args},template:'\n <ui-intern-header theme="theme-light" [onTop]="true" [display]="true"></ui-intern-header>\n <ui-layout-spinner [close]="close" [debug]="debug" [type]="type"></ui-layout-spinner>\n '})},__namedExportsOrder=["Spinner"];Spinner.parameters={...Spinner.parameters,docs:{...Spinner.parameters?.docs,source:{originalSource:'{\n args: {\n debug: true,\n close: true,\n type: \'ring\'\n },\n render: args => {\n return {\n props: {\n ...args\n },\n template: `\n <ui-intern-header theme="theme-light" [onTop]="true" [display]="true"></ui-intern-header>\n <ui-layout-spinner [close]="close" [debug]="debug" [type]="type"></ui-layout-spinner>\n `\n };\n }\n}',...Spinner.parameters?.docs?.source}}}},"./libs/ui/.storybook/demos/header/header.component.css?ngResource"(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,"/* The intern header is reduced to just the theme switch button, pinned to the */\n/* bottom-left corner of the Storybook canvas. */\nbutton {\n position: fixed;\n bottom: calc(var(--ui-spacer) * 0.5);\n left: calc(var(--ui-spacer) * 0.5);\n z-index: 1000;\n\n &._on-top {\n z-index: 10000;\n }\n}\n",""]),module.exports=___CSS_LOADER_EXPORT___.toString()},"./libs/ui/src/lib/layout/spinner/spinner.component.css?ngResource"(module,__unused_webpack_exports,__webpack_require__){var ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/noSourceMaps.js"),___CSS_LOADER_EXPORT___=__webpack_require__("./node_modules/css-loader/dist/runtime/api.js")(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);___CSS_LOADER_EXPORT___.push([module.id,"@layer ui.base, ui.components;\n@layer ui.components {\n@keyframes pie-show-in {\n 0% {\n opacity: 0;\n }\n 10% {\n opacity: 1;\n }\n}\n\n@keyframes pie-show-out {\n 0% {\n opacity: 1;\n }\n 100% {\n opacity: 0;\n }\n}\n\n@keyframes ring-spin {\n to {\n transform: rotate(360deg);\n }\n}\n\n@keyframes linear-slide {\n 0% {\n transform: translateX(-100%);\n }\n 100% {\n transform: translateX(250%);\n }\n}\n\n@keyframes disco-hue {\n to {\n filter: hue-rotate(360deg);\n }\n}\n\n@keyframes disco-blink {\n 0%,\n 40% {\n opacity: 1;\n transform: scale(1);\n }\n 50%,\n 90% {\n opacity: 0.15;\n transform: scale(0.5);\n }\n 100% {\n opacity: 1;\n transform: scale(1);\n }\n}\n\n@keyframes disco-party {\n 0% {\n background: #ff2d95;\n box-shadow: 0 0 2rem 0.6rem #ff2d95;\n }\n 16% {\n background: #ff9500;\n box-shadow: 0 0 2rem 0.6rem #ff9500;\n }\n 33% {\n background: #ffe600;\n box-shadow: 0 0 2rem 0.6rem #ffe600;\n }\n 50% {\n background: #33dd55;\n box-shadow: 0 0 2rem 0.6rem #33dd55;\n }\n 66% {\n background: #00c8ff;\n box-shadow: 0 0 2rem 0.6rem #00c8ff;\n }\n 83% {\n background: #cc44ff;\n box-shadow: 0 0 2rem 0.6rem #cc44ff;\n }\n 100% {\n background: #ff2d95;\n box-shadow: 0 0 2rem 0.6rem #ff2d95;\n }\n}\n\n/* ---------------------------------------------------------------------------- */\n/* Defaut */\n/* ---------------------------------------------------------------------------- */\n\n._spinner {\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: rgba(var(--ui-c-background-value), 0.6);\n z-index: 1000;\n\n &._debug {\n position: absolute;\n }\n\n &.showIn {\n animation-name: pie-show-in;\n animation-duration: calc(0.6s * 2.25);\n animation-fill-mode: forwards;\n animation-timing-function: linear;\n /*z-index: 1000;*/\n }\n\n &.showOut {\n animation-name: pie-show-out;\n animation-duration: calc(0.6s * 2.25);\n animation-fill-mode: forwards;\n animation-timing-function: linear;\n }\n\n /* Loading indicator. The visual is selected via the `type` input, which\n adds one of the `_-ring` / `_-linear` / `_-disco` modifiers. */\n ._loader {\n position: absolute;\n }\n\n /* ring — a conic-gradient comet tail masked into an annulus (hollow\n centre) that rotates seamlessly. */\n ._loader._-ring {\n width: 26rem;\n height: 26rem;\n border-radius: 50%;\n background: conic-gradient(\n from 0deg,\n rgba(var(--ui-c-fourthly-value), 0) 0deg,\n rgba(var(--ui-c-fourthly-value), 0.15) 90deg,\n var(--ui-c-fourthly) 360deg\n );\n -webkit-mask: radial-gradient(\n farthest-side,\n transparent calc(100% - 2rem),\n #000 calc(100% - 2rem)\n );\n mask: radial-gradient(\n farthest-side,\n transparent calc(100% - 2rem),\n #000 calc(100% - 2rem)\n );\n animation: ring-spin 1.2s linear infinite;\n }\n\n /* linear — an indeterminate horizontal bar with a segment sliding across a\n faint track. */\n ._loader._-linear {\n width: 26rem;\n height: 0.6rem;\n border-radius: 999px;\n background: rgba(var(--ui-c-fourthly-value), 0.15);\n overflow: hidden;\n\n &::before {\n content: '';\n position: absolute;\n inset: 0;\n width: 40%;\n border-radius: inherit;\n background: var(--ui-c-fourthly);\n animation: linear-slide 1.2s ease-in-out infinite;\n }\n }\n\n /* disco — a full rainbow ring that spins while its hue rotates. */\n ._loader._-disco {\n width: 26rem;\n height: 26rem;\n border-radius: 50%;\n background: conic-gradient(\n from 0deg,\n #ff0040,\n #ff9500,\n #ffe600,\n #33dd55,\n #00c8ff,\n #4455ff,\n #cc44ff,\n #ff0040\n );\n -webkit-mask: radial-gradient(\n farthest-side,\n transparent calc(100% - 2.4rem),\n #000 calc(100% - 2.4rem)\n );\n mask: radial-gradient(\n farthest-side,\n transparent calc(100% - 2.4rem),\n #000 calc(100% - 2.4rem)\n );\n animation:\n ring-spin 1s linear infinite,\n disco-hue 3s linear infinite;\n }\n\n /* disco centre sparkle — a big glowing dot blinking on/off in the hollow\n ring centre while cycling through party colours. */\n ._disco-blink {\n position: absolute;\n width: 5rem;\n height: 5rem;\n border-radius: 50%;\n animation:\n disco-blink 0.5s ease-in-out infinite,\n disco-party 1.5s linear infinite;\n }\n\n ._content {\n z-index: 1001;\n display: flex;\n flex-flow: column;\n gap: calc(var(--ui-spacer) * 0.5);\n max-width: 80%;\n background-color: var(--ui-c-background);\n padding: calc(var(--ui-spacer) * 0.25);\n border-radius: var(--ui-border-radius);\n border:1px solid var(--ui-c-default);\n ._message {\n display: flex;\n justify-content: flex-end;\n }\n ._actions {\n padding-top: calc(var(--ui-spacer) * 0.5);\n border-top: var(--ui-border-width) solid var(--ui-c-default);\n display: flex;\n justify-content: flex-end;\n }\n }\n}\n\n@media (prefers-reduced-motion: reduce) {\n ._spinner ._loader._-ring,\n ._spinner ._loader._-disco {\n animation-duration: 2s;\n }\n ._spinner ._loader._-linear::before {\n animation-duration: 2s;\n }\n ._spinner ._disco-blink {\n animation-duration: 2s, 6s;\n }\n}\n}\n",""]),module.exports=___CSS_LOADER_EXPORT___.toString()}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(self.webpackChunkmoja_work=self.webpackChunkmoja_work||[]).push([[8792],{"./libs/ui/.storybook/demos lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/libs\\/ui\\/\\.storybook\\/demos(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.mdx)$"(module,__unused_webpack_exports,__webpack_require__){var map={"./examples/image-grid-slider/docs.mdx":["./libs/ui/.storybook/demos/examples/image-grid-slider/docs.mdx",[2096,4255,4555,9045,7316,943]],"./examples/layout/docs.mdx":["./libs/ui/.storybook/demos/examples/layout/docs.mdx",[2096,4255,4425,4555,2249,1255,1481]],"./examples/table-edit-focus/docs.mdx":["./libs/ui/.storybook/demos/examples/table-edit-focus/docs.mdx",[2096,4255,6169,660,973,4555,7749,5493]],"./examples/transloco/docs.mdx":["./libs/ui/.storybook/demos/examples/transloco/docs.mdx",[2096,4255,4555,6768]],"./styling/colors/docs.mdx":["./libs/ui/.storybook/demos/styling/colors/docs.mdx",[2096,4255,1838]],"./styling/css-variables/docs.mdx":["./libs/ui/.storybook/demos/styling/css-variables/docs.mdx",[4255,7893]],"./styling/forms/docs.mdx":["./libs/ui/.storybook/demos/styling/forms/docs.mdx",[2096,4255,6169,4555,1516,3857]],"./styling/icons/docs.mdx":["./libs/ui/.storybook/demos/styling/icons/docs.mdx",[2096,4255,6169,1516,7653,8092]],"./styling/layers/docs.mdx":["./libs/ui/.storybook/demos/styling/layers/docs.mdx",[4255,7600]],"./styling/tags/docs.mdx":["./libs/ui/.storybook/demos/styling/tags/docs.mdx",[2096,4255,1927]],"./styling/ui-tags/docs.mdx":["./libs/ui/.storybook/demos/styling/ui-tags/docs.mdx",[2096,4255,3338]]};function webpackAsyncContext(req){if(!__webpack_require__.o(map,req))return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e});var ids=map[req],id=ids[0];return Promise.all(ids[1].map(__webpack_require__.e)).then(()=>__webpack_require__(id))}webpackAsyncContext.keys=()=>Object.keys(map),webpackAsyncContext.id="./libs/ui/.storybook/demos lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/libs\\/ui\\/\\.storybook\\/demos(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.mdx)$",module.exports=webpackAsyncContext},"./libs/ui/.storybook/demos lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/libs\\/ui\\/\\.storybook\\/demos(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(js%7Cjsx%7Cts%7Ctsx))$"(module,__unused_webpack_exports,__webpack_require__){var map={"./examples/image-grid-slider/image-grid-slider.stories":["./libs/ui/.storybook/demos/examples/image-grid-slider/image-grid-slider.stories.ts",[2096,9045,7316,8938]],"./examples/image-grid-slider/image-grid-slider.stories.ts":["./libs/ui/.storybook/demos/examples/image-grid-slider/image-grid-slider.stories.ts",[2096,9045,7316,8938]],"./examples/layout/layout.stories":["./libs/ui/.storybook/demos/examples/layout/layout.stories.ts",[2096,4425,2249,1255,5684]],"./examples/layout/layout.stories.ts":["./libs/ui/.storybook/demos/examples/layout/layout.stories.ts",[2096,4425,2249,1255,5684]],"./examples/table-edit-focus/table-edit-focus.stories":["./libs/ui/.storybook/demos/examples/table-edit-focus/table-edit-focus.stories.ts",[2096,6169,660,973,7749,9836]],"./examples/table-edit-focus/table-edit-focus.stories.ts":["./libs/ui/.storybook/demos/examples/table-edit-focus/table-edit-focus.stories.ts",[2096,6169,660,973,7749,9836]],"./examples/transloco/transloco.component.stories":["./libs/ui/.storybook/demos/examples/transloco/transloco.component.stories.ts",[2096,9044]],"./examples/transloco/transloco.component.stories.ts":["./libs/ui/.storybook/demos/examples/transloco/transloco.component.stories.ts",[2096,9044]],"./styling/colors/colors.component.stories":["./libs/ui/.storybook/demos/styling/colors/colors.component.stories.ts",[2096,5995]],"./styling/colors/colors.component.stories.ts":["./libs/ui/.storybook/demos/styling/colors/colors.component.stories.ts",[2096,5995]],"./styling/forms/forms.component.stories":["./libs/ui/.storybook/demos/styling/forms/forms.component.stories.ts",[2096,6169,1516,1977]],"./styling/forms/forms.component.stories.ts":["./libs/ui/.storybook/demos/styling/forms/forms.component.stories.ts",[2096,6169,1516,1977]],"./styling/icons/icons.component.stories":["./libs/ui/.storybook/demos/styling/icons/icons.component.stories.ts",[2096,6169,1516,7653]],"./styling/icons/icons.component.stories.ts":["./libs/ui/.storybook/demos/styling/icons/icons.component.stories.ts",[2096,6169,1516,7653]],"./styling/tags/tags.component.stories":["./libs/ui/.storybook/demos/styling/tags/tags.component.stories.ts",[2096,1165]],"./styling/tags/tags.component.stories.ts":["./libs/ui/.storybook/demos/styling/tags/tags.component.stories.ts",[2096,1165]],"./styling/ui-tags/ui-tags.component.stories":["./libs/ui/.storybook/demos/styling/ui-tags/ui-tags.component.stories.ts",[2096,5233]],"./styling/ui-tags/ui-tags.component.stories.ts":["./libs/ui/.storybook/demos/styling/ui-tags/ui-tags.component.stories.ts",[2096,5233]]};function webpackAsyncContext(req){if(!__webpack_require__.o(map,req))return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e});var ids=map[req],id=ids[0];return Promise.all(ids[1].map(__webpack_require__.e)).then(()=>__webpack_require__(id))}webpackAsyncContext.keys=()=>Object.keys(map),webpackAsyncContext.id="./libs/ui/.storybook/demos lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/libs\\/ui\\/\\.storybook\\/demos(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(js%7Cjsx%7Cts%7Ctsx))$",module.exports=webpackAsyncContext},"./libs/ui/src/lib lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/libs\\/ui\\/src\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.mdx)$"(module,__unused_webpack_exports,__webpack_require__){var map={"./_external/mwork-banner/docs.mdx":["./libs/ui/src/lib/_external/mwork-banner/docs.mdx",[4255,2228,6501]],"./_external/mwork-basic-interpreter/docs.mdx":["./libs/ui/src/lib/_external/mwork-basic-interpreter/docs.mdx",[4255,2228,3752]],"./_external/mwork-music-player/docs.mdx":["./libs/ui/src/lib/_external/mwork-music-player/docs.mdx",[4255,2228,3260]],"./atoms/_electrons/form-error-message/docs.mdx":["./libs/ui/src/lib/atoms/_electrons/form-error-message/docs.mdx",[2096,4255,2074]],"./atoms/background/docs.mdx":["./libs/ui/src/lib/atoms/background/docs.mdx",[2096,4255,4555,2006]],"./atoms/barcode/docs.mdx":["./libs/ui/src/lib/atoms/barcode/docs.mdx",[4255,4555,9918]],"./atoms/buzzer/docs.mdx":["./libs/ui/src/lib/atoms/buzzer/docs.mdx",[2096,4255,4555,4320]],"./atoms/card/docs.mdx":["./libs/ui/src/lib/atoms/card/docs.mdx",[2096,4255,6169,4555,8852]],"./atoms/chart/docs.mdx":["./libs/ui/src/lib/atoms/chart/docs.mdx",[2096,4255,4555,6978]],"./atoms/clock/docs.mdx":["./libs/ui/src/lib/atoms/clock/docs.mdx",[4255,4555,5084]],"./atoms/copy-value/docs.mdx":["./libs/ui/src/lib/atoms/copy-value/docs.mdx",[4255,4555,3007]],"./atoms/image-grid/docs.mdx":["./libs/ui/src/lib/atoms/image-grid/docs.mdx",[2096,4255,6169,4555,9045,8039,3146]],"./atoms/image-slider/docs.mdx":["./libs/ui/src/lib/atoms/image-slider/docs.mdx",[2096,4255,4555,9045,7316,7947]],"./atoms/lang-selector/docs.mdx":["./libs/ui/src/lib/atoms/lang-selector/docs.mdx",[2096,4255,4555,2960]],"./atoms/mosaic/docs.mdx":["./libs/ui/src/lib/atoms/mosaic/docs.mdx",[2096,4255,4555,2831,1954]],"./atoms/placeholder/docs.mdx":["./libs/ui/src/lib/atoms/placeholder/docs.mdx",[4255,4555,6203]],"./atoms/qr-code/docs.mdx":["./libs/ui/src/lib/atoms/qr-code/docs.mdx",[4255,4555,2193]],"./atoms/rating/docs.mdx":["./libs/ui/src/lib/atoms/rating/docs.mdx",[4255,4555,7819]],"./atoms/reader-doc/docs.mdx":["./libs/ui/src/lib/atoms/reader-doc/docs.mdx",[4255,1183,4555,3999,3550]],"./atoms/text-animate/docs.mdx":["./libs/ui/src/lib/atoms/text-animate/docs.mdx",[2096,4255,6169,4555,4067]],"./atoms/thumb/docs.mdx":["./libs/ui/src/lib/atoms/thumb/docs.mdx",[2096,4255,4425,4555,5370]],"./atoms/timer/docs.mdx":["./libs/ui/src/lib/atoms/timer/docs.mdx",[4255,4555,4447]],"./atoms/typewriter/docs.mdx":["./libs/ui/src/lib/atoms/typewriter/docs.mdx",[4255,4555,4806]],"./cdk/components/drag-and-drop-splitter/docs.mdx":["./libs/ui/src/lib/cdk/components/drag-and-drop-splitter/docs.mdx",[2096,4255,660,2844,4555,1327]],"./cdk/components/table/docs.mdx":["./libs/ui/src/lib/cdk/components/table/docs.mdx",[2096,4255,6169,660,2844,973,4555,7749,6569]],"./examples/docs.mdx":["./libs/ui/src/lib/examples/docs.mdx",[4255,4555,813,1296]],"./forms/autocomplete/docs.mdx":["./libs/ui/src/lib/forms/autocomplete/docs.mdx",[2096,4255,6169,4555,7837]],"./forms/autofocus/docs.mdx":["./libs/ui/src/lib/forms/autofocus/docs.mdx",[2096,4255,6169,1516,166]],"./forms/checkbox/docs.mdx":["./libs/ui/src/lib/forms/checkbox/docs.mdx",[2096,4255,6169,4555,8108]],"./forms/input/docs.mdx":["./libs/ui/src/lib/forms/input/docs.mdx",[2096,4255,6169,4555,1516,4939]],"./forms/slider/docs.mdx":["./libs/ui/src/lib/forms/slider/docs.mdx",[2096,4255,6169,4555,6202,6252]],"./forms/switch/docs.mdx":["./libs/ui/src/lib/forms/switch/docs.mdx",[2096,4255,6169,4555,977]],"./forms/validators/docs.mdx":["./libs/ui/src/lib/forms/validators/docs.mdx",[2096,4255,6169,1516,7586]],"./home/guide.mdx":["./libs/ui/src/lib/home/guide.mdx",[4255,4555,3767]],"./home/overview.mdx":["./libs/ui/src/lib/home/overview.mdx",[4255,128]],"./home/tips.mdx":["./libs/ui/src/lib/home/tips.mdx",[4255,3143]],"./home/usage.mdx":["./libs/ui/src/lib/home/usage.mdx",[4255,3842]],"./layout/main/docs.mdx":["./libs/ui/src/lib/layout/main/docs.mdx",[2096,4255,4555,2249,3837]],"./layout/media-screen/docs.mdx":["./libs/ui/src/lib/layout/media-screen/docs.mdx",[4255,4555,3151]],"./layout/nav/docs.mdx":["./libs/ui/src/lib/layout/nav/docs.mdx",[2096,4255,4425,4555,1255,9653]],"./layout/overlay/docs.mdx":["./libs/ui/src/lib/layout/overlay/docs.mdx",[2096,4255,6169,4555,813,6659,2168]],"./layout/overlay/header/docs.mdx":["./libs/ui/src/lib/layout/overlay/header/docs.mdx",[4255,4555,813,9042]],"./layout/spinner/docs.mdx":["./libs/ui/src/lib/layout/spinner/docs.mdx",[2096,4255,6169,4555,365]],"./layout/splitter/docs.mdx":["./libs/ui/src/lib/layout/splitter/docs.mdx",[2096,4255,6169,4555,2249,6331,947]],"./layout/tabs/docs.mdx":["./libs/ui/src/lib/layout/tabs/docs.mdx",[2096,4255,6169,4555,6892]],"./layout/top-scroll-bottom/docs.mdx":["./libs/ui/src/lib/layout/top-scroll-bottom/docs.mdx",[2096,4255,4555,2249,3073]],"./molecules/image-editor/docs.mdx":["./libs/ui/src/lib/molecules/image-editor/docs.mdx",[2096,4255,6169,4555,813,6202,8180,3190]]};function webpackAsyncContext(req){if(!__webpack_require__.o(map,req))return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e});var ids=map[req],id=ids[0];return Promise.all(ids[1].map(__webpack_require__.e)).then(()=>__webpack_require__(id))}webpackAsyncContext.keys=()=>Object.keys(map),webpackAsyncContext.id="./libs/ui/src/lib lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/libs\\/ui\\/src\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.mdx)$",module.exports=webpackAsyncContext},"./libs/ui/src/lib lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/libs\\/ui\\/src\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(js%7Cjsx%7Cts%7Ctsx))$"(module,__unused_webpack_exports,__webpack_require__){var map={"./_external/mwork-banner/mwork-banner.stories":["./libs/ui/src/lib/_external/mwork-banner/mwork-banner.stories.ts",[2228,7867]],"./_external/mwork-banner/mwork-banner.stories.ts":["./libs/ui/src/lib/_external/mwork-banner/mwork-banner.stories.ts",[2228,7867]],"./_external/mwork-basic-interpreter/mwork-basic-interpreter.stories":["./libs/ui/src/lib/_external/mwork-basic-interpreter/mwork-basic-interpreter.stories.ts",[2228,2379]],"./_external/mwork-basic-interpreter/mwork-basic-interpreter.stories.ts":["./libs/ui/src/lib/_external/mwork-basic-interpreter/mwork-basic-interpreter.stories.ts",[2228,2379]],"./_external/mwork-music-player/mwork-music-player.stories":["./libs/ui/src/lib/_external/mwork-music-player/mwork-music-player.stories.ts",[2228,1365]],"./_external/mwork-music-player/mwork-music-player.stories.ts":["./libs/ui/src/lib/_external/mwork-music-player/mwork-music-player.stories.ts",[2228,1365]],"./atoms/_electrons/form-error-message/form-error-message.component.stories":["./libs/ui/src/lib/atoms/_electrons/form-error-message/form-error-message.component.stories.ts",[2096,1322]],"./atoms/_electrons/form-error-message/form-error-message.component.stories.ts":["./libs/ui/src/lib/atoms/_electrons/form-error-message/form-error-message.component.stories.ts",[2096,1322]],"./atoms/background/background.component.stories":["./libs/ui/src/lib/atoms/background/background.component.stories.ts",[2096,4855]],"./atoms/background/background.component.stories.ts":["./libs/ui/src/lib/atoms/background/background.component.stories.ts",[2096,4855]],"./atoms/barcode/barcode.component.stories":["./libs/ui/src/lib/atoms/barcode/barcode.component.stories.ts",[9217]],"./atoms/barcode/barcode.component.stories.ts":["./libs/ui/src/lib/atoms/barcode/barcode.component.stories.ts",[9217]],"./atoms/buzzer/buzzer.component.stories":["./libs/ui/src/lib/atoms/buzzer/buzzer.component.stories.ts",[2096,7419]],"./atoms/buzzer/buzzer.component.stories.ts":["./libs/ui/src/lib/atoms/buzzer/buzzer.component.stories.ts",[2096,7419]],"./atoms/card/card.component.stories":["./libs/ui/src/lib/atoms/card/card.component.stories.ts",[2096,6169,4947]],"./atoms/card/card.component.stories.ts":["./libs/ui/src/lib/atoms/card/card.component.stories.ts",[2096,6169,4947]],"./atoms/chart/chart.component.stories":["./libs/ui/src/lib/atoms/chart/chart.component.stories.ts",[2096,2425]],"./atoms/chart/chart.component.stories.ts":["./libs/ui/src/lib/atoms/chart/chart.component.stories.ts",[2096,2425]],"./atoms/clock/clock.component.stories":["./libs/ui/src/lib/atoms/clock/clock.component.stories.ts",[1809]],"./atoms/clock/clock.component.stories.ts":["./libs/ui/src/lib/atoms/clock/clock.component.stories.ts",[1809]],"./atoms/copy-value/copy-value.component.stories":["./libs/ui/src/lib/atoms/copy-value/copy-value.component.stories.ts",[3853]],"./atoms/copy-value/copy-value.component.stories.ts":["./libs/ui/src/lib/atoms/copy-value/copy-value.component.stories.ts",[3853]],"./atoms/image-grid/image-grid.component.stories":["./libs/ui/src/lib/atoms/image-grid/image-grid.component.stories.ts",[2096,6169,9045,8039]],"./atoms/image-grid/image-grid.component.stories.ts":["./libs/ui/src/lib/atoms/image-grid/image-grid.component.stories.ts",[2096,6169,9045,8039]],"./atoms/image-slider/image-slider.component.stories":["./libs/ui/src/lib/atoms/image-slider/image-slider.component.stories.ts",[2096,9045,7316,1461]],"./atoms/image-slider/image-slider.component.stories.ts":["./libs/ui/src/lib/atoms/image-slider/image-slider.component.stories.ts",[2096,9045,7316,1461]],"./atoms/lang-selector/lang-selector.component.stories":["./libs/ui/src/lib/atoms/lang-selector/lang-selector.component.stories.ts",[2096,3277]],"./atoms/lang-selector/lang-selector.component.stories.ts":["./libs/ui/src/lib/atoms/lang-selector/lang-selector.component.stories.ts",[2096,3277]],"./atoms/mosaic/mosaic.component.stories":["./libs/ui/src/lib/atoms/mosaic/mosaic.component.stories.ts",[2096,2831]],"./atoms/mosaic/mosaic.component.stories.ts":["./libs/ui/src/lib/atoms/mosaic/mosaic.component.stories.ts",[2096,2831]],"./atoms/placeholder/placeholder.component.stories":["./libs/ui/src/lib/atoms/placeholder/placeholder.component.stories.ts",[3045]],"./atoms/placeholder/placeholder.component.stories.ts":["./libs/ui/src/lib/atoms/placeholder/placeholder.component.stories.ts",[3045]],"./atoms/qr-code/qr-code.component.stories":["./libs/ui/src/lib/atoms/qr-code/qr-code.component.stories.ts",[4365]],"./atoms/qr-code/qr-code.component.stories.ts":["./libs/ui/src/lib/atoms/qr-code/qr-code.component.stories.ts",[4365]],"./atoms/rating/rating.component.stories":["./libs/ui/src/lib/atoms/rating/rating.component.stories.ts",[3685]],"./atoms/rating/rating.component.stories.ts":["./libs/ui/src/lib/atoms/rating/rating.component.stories.ts",[3685]],"./atoms/reader-doc/reader-doc.component.stories":["./libs/ui/src/lib/atoms/reader-doc/reader-doc.component.stories.ts",[1183,3999]],"./atoms/reader-doc/reader-doc.component.stories.ts":["./libs/ui/src/lib/atoms/reader-doc/reader-doc.component.stories.ts",[1183,3999]],"./atoms/text-animate/text-animate.component.stories":["./libs/ui/src/lib/atoms/text-animate/text-animate.component.stories.ts",[2096,6169,7877]],"./atoms/text-animate/text-animate.component.stories.ts":["./libs/ui/src/lib/atoms/text-animate/text-animate.component.stories.ts",[2096,6169,7877]],"./atoms/thumb/thumb.component.stories":["./libs/ui/src/lib/atoms/thumb/thumb.component.stories.ts",[2096,4425,3925]],"./atoms/thumb/thumb.component.stories.ts":["./libs/ui/src/lib/atoms/thumb/thumb.component.stories.ts",[2096,4425,3925]],"./atoms/timer/timer.component.stories":["./libs/ui/src/lib/atoms/timer/timer.component.stories.ts",[6189]],"./atoms/timer/timer.component.stories.ts":["./libs/ui/src/lib/atoms/timer/timer.component.stories.ts",[6189]],"./atoms/typewriter/typewriter.component.stories":["./libs/ui/src/lib/atoms/typewriter/typewriter.component.stories.ts",[4713]],"./atoms/typewriter/typewriter.component.stories.ts":["./libs/ui/src/lib/atoms/typewriter/typewriter.component.stories.ts",[4713]],"./cdk/components/drag-and-drop-splitter/splitter.component.stories":["./libs/ui/src/lib/cdk/components/drag-and-drop-splitter/splitter.component.stories.ts",[2096,660,2844,4271]],"./cdk/components/drag-and-drop-splitter/splitter.component.stories.ts":["./libs/ui/src/lib/cdk/components/drag-and-drop-splitter/splitter.component.stories.ts",[2096,660,2844,4271]],"./cdk/components/table/table.component.stories":["./libs/ui/src/lib/cdk/components/table/table.component.stories.ts",[2096,6169,660,2844,973,7749,6212]],"./cdk/components/table/table.component.stories.ts":["./libs/ui/src/lib/cdk/components/table/table.component.stories.ts",[2096,6169,660,2844,973,7749,6212]],"./examples/burger-menu.stories":["./libs/ui/src/lib/examples/burger-menu.stories.ts",[813,9652]],"./examples/burger-menu.stories.ts":["./libs/ui/src/lib/examples/burger-menu.stories.ts",[813,9652]],"./forms/autocomplete/autocomplete.component.stories":["./libs/ui/src/lib/forms/autocomplete/autocomplete.component.stories.ts",[2096,6169,1860]],"./forms/autocomplete/autocomplete.component.stories.ts":["./libs/ui/src/lib/forms/autocomplete/autocomplete.component.stories.ts",[2096,6169,1860]],"./forms/autofocus/autofocus.stories":["./libs/ui/src/lib/forms/autofocus/autofocus.stories.ts",[2096,6169,1516,9236]],"./forms/autofocus/autofocus.stories.ts":["./libs/ui/src/lib/forms/autofocus/autofocus.stories.ts",[2096,6169,1516,9236]],"./forms/checkbox/checkbox.component.stories":["./libs/ui/src/lib/forms/checkbox/checkbox.component.stories.ts",[2096,6169,3678]],"./forms/checkbox/checkbox.component.stories.ts":["./libs/ui/src/lib/forms/checkbox/checkbox.component.stories.ts",[2096,6169,3678]],"./forms/input/input.component.stories":["./libs/ui/src/lib/forms/input/input.component.stories.ts",[2096,6169,1516,1686]],"./forms/input/input.component.stories.ts":["./libs/ui/src/lib/forms/input/input.component.stories.ts",[2096,6169,1516,1686]],"./forms/slider/slider.component.stories":["./libs/ui/src/lib/forms/slider/slider.component.stories.ts",[2096,6169,6202,6922]],"./forms/slider/slider.component.stories.ts":["./libs/ui/src/lib/forms/slider/slider.component.stories.ts",[2096,6169,6202,6922]],"./forms/switch/switch.component.stories":["./libs/ui/src/lib/forms/switch/switch.component.stories.ts",[2096,6169,3048]],"./forms/switch/switch.component.stories.ts":["./libs/ui/src/lib/forms/switch/switch.component.stories.ts",[2096,6169,3048]],"./forms/validators/validators.component.stories":["./libs/ui/src/lib/forms/validators/validators.component.stories.ts",[2096,6169,1516,6354]],"./forms/validators/validators.component.stories.ts":["./libs/ui/src/lib/forms/validators/validators.component.stories.ts",[2096,6169,1516,6354]],"./layout/main/main.component.stories":["./libs/ui/src/lib/layout/main/main.component.stories.ts",[2096,2249,7683]],"./layout/main/main.component.stories.ts":["./libs/ui/src/lib/layout/main/main.component.stories.ts",[2096,2249,7683]],"./layout/media-screen/media-screen.component.stories":["./libs/ui/src/lib/layout/media-screen/media-screen.component.stories.ts",[3651]],"./layout/media-screen/media-screen.component.stories.ts":["./libs/ui/src/lib/layout/media-screen/media-screen.component.stories.ts",[3651]],"./layout/nav/nav.component.stories":["./libs/ui/src/lib/layout/nav/nav.component.stories.ts",[2096,4425,1255,9475]],"./layout/nav/nav.component.stories.ts":["./libs/ui/src/lib/layout/nav/nav.component.stories.ts",[2096,4425,1255,9475]],"./layout/overlay/header/header.component.stories":["./libs/ui/src/lib/layout/overlay/header/header.component.stories.ts",[813,9240]],"./layout/overlay/header/header.component.stories.ts":["./libs/ui/src/lib/layout/overlay/header/header.component.stories.ts",[813,9240]],"./layout/overlay/overlay.component.stories":["./libs/ui/src/lib/layout/overlay/overlay.component.stories.ts",[2096,6169,813,6659]],"./layout/overlay/overlay.component.stories.ts":["./libs/ui/src/lib/layout/overlay/overlay.component.stories.ts",[2096,6169,813,6659]],"./layout/spinner/spinner.component.stories":["./libs/ui/src/lib/layout/spinner/spinner.component.stories.ts",[2096,6169,1043]],"./layout/spinner/spinner.component.stories.ts":["./libs/ui/src/lib/layout/spinner/spinner.component.stories.ts",[2096,6169,1043]],"./layout/splitter/splitter.component.stories":["./libs/ui/src/lib/layout/splitter/splitter.component.stories.ts",[2096,6169,2249,6331]],"./layout/splitter/splitter.component.stories.ts":["./libs/ui/src/lib/layout/splitter/splitter.component.stories.ts",[2096,6169,2249,6331]],"./layout/tabs/tabs.component.stories":["./libs/ui/src/lib/layout/tabs/tabs.component.stories.ts",[2096,6169,8753]],"./layout/tabs/tabs.component.stories.ts":["./libs/ui/src/lib/layout/tabs/tabs.component.stories.ts",[2096,6169,8753]],"./layout/top-scroll-bottom/top-scroll-bottom.component.stories":["./libs/ui/src/lib/layout/top-scroll-bottom/top-scroll-bottom.component.stories.ts",[2096,2249,9779]],"./layout/top-scroll-bottom/top-scroll-bottom.component.stories.ts":["./libs/ui/src/lib/layout/top-scroll-bottom/top-scroll-bottom.component.stories.ts",[2096,2249,9779]],"./molecules/image-editor/image-editor.component.stories":["./libs/ui/src/lib/molecules/image-editor/image-editor.component.stories.ts",[2096,6169,813,6202,8180]],"./molecules/image-editor/image-editor.component.stories.ts":["./libs/ui/src/lib/molecules/image-editor/image-editor.component.stories.ts",[2096,6169,813,6202,8180]]};function webpackAsyncContext(req){if(!__webpack_require__.o(map,req))return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e});var ids=map[req],id=ids[0];return Promise.all(ids[1].map(__webpack_require__.e)).then(()=>__webpack_require__(id))}webpackAsyncContext.keys=()=>Object.keys(map),webpackAsyncContext.id="./libs/ui/src/lib lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/libs\\/ui\\/src\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(js%7Cjsx%7Cts%7Ctsx))$",module.exports=webpackAsyncContext},"./libs/ui/src/lib/transloco-modules/transloco-storybook.module.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{o:()=>TranslocoStorybookModule});var tslib__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/tslib/tslib.es6.mjs"),_angular_common_http__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@angular/common/fesm2022/_module-chunk.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@angular/core/fesm2022/core.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),_ngneat_transloco__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/@ngneat/transloco/fesm2022/ngneat-transloco.mjs"),_ngneat_transloco_locale__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("./node_modules/@ngneat/transloco-locale/fesm2022/ngneat-transloco-locale.mjs"),_ngneat_transloco_messageformat__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("./node_modules/@ngneat/transloco-messageformat/fesm2022/ngneat-transloco-messageformat.mjs");let TranslocoHttpLoader=class TranslocoHttpLoader{http=(0,_angular_core__WEBPACK_IMPORTED_MODULE_4__.WQX)(_angular_common_http__WEBPACK_IMPORTED_MODULE_1__.Qq);getTranslation(lang){return this.http.get(`assets/ui/i18n/ui/${lang}.json`)}};TranslocoHttpLoader=(0,tslib__WEBPACK_IMPORTED_MODULE_0__.Cg)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_3__._qm)({providedIn:"root"})],TranslocoHttpLoader);let TranslocoStorybookModule=class TranslocoStorybookModule{};TranslocoStorybookModule=(0,tslib__WEBPACK_IMPORTED_MODULE_0__.Cg)([(0,_angular_core__WEBPACK_IMPORTED_MODULE_3__.UQu)({exports:[_ngneat_transloco__WEBPACK_IMPORTED_MODULE_5__.Q8,_ngneat_transloco_locale__WEBPACK_IMPORTED_MODULE_6__.C],imports:[_ngneat_transloco__WEBPACK_IMPORTED_MODULE_5__.Q8,_ngneat_transloco_locale__WEBPACK_IMPORTED_MODULE_6__.C],providers:[(0,_ngneat_transloco__WEBPACK_IMPORTED_MODULE_5__.$o)({config:{availableLangs:[{id:"en-EN",label:"EN"},{id:"de-DE",label:"DE"}],defaultLang:"de-DE",reRenderOnLangChange:!0,prodMode:!(0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.isDevMode)(),missingHandler:{logMissingKey:!0}},loader:TranslocoHttpLoader}),(0,_ngneat_transloco_locale__WEBPACK_IMPORTED_MODULE_6__.Ne)({localeConfig:{global:{date:{dateStyle:"medium",timeStyle:"medium"}}}}),(0,_ngneat_transloco_messageformat__WEBPACK_IMPORTED_MODULE_7__.vj)()]})],TranslocoStorybookModule)},"./libs/ui/.storybook/preview.ts"(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>__WEBPACK_DEFAULT_EXPORT__,preview:()=>preview});var _angular_common_http__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./node_modules/@angular/common/fesm2022/_module-chunk.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("./node_modules/@angular/core/fesm2022/_debug_node-chunk.mjs"),_angular_core__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("./node_modules/@angular/core/fesm2022/_effect-chunk2.mjs"),_ngneat_transloco__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("./node_modules/@ngneat/transloco/fesm2022/ngneat-transloco.mjs"),_storybook_angular__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__("./node_modules/@storybook/angular/dist/index.js"),rxjs__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__("./node_modules/rxjs/dist/esm5/internal/firstValueFrom.js"),storybook_internal_core_events__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__("storybook/internal/core-events"),storybook_internal_preview_api__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__("storybook/preview-api"),_src_lib_transloco_modules_transloco_storybook_module__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__("./libs/ui/src/lib/transloco-modules/transloco-storybook.module.ts");const channel=storybook_internal_preview_api__WEBPACK_IMPORTED_MODULE_7__.addons.getChannel(),cleanupHandler=()=>{["#uiNavMain","#uiNavHome"].forEach(id=>{const el=document.querySelector(id);el&&el.remove()})};channel.on(storybook_internal_core_events__WEBPACK_IMPORTED_MODULE_6__.STORY_CHANGED,cleanupHandler),channel.on(storybook_internal_core_events__WEBPACK_IMPORTED_MODULE_6__.DOCS_RENDERED,cleanupHandler);const preview={parameters:{actions:{disable:!0},interactions:{disable:!0},options:{storySort:{order:["Home",["Introduction","Usage","Guide","Tips & Tricks"],"Layout","Molecules","CDK","Forms",["Input","*","Electrons"],"Atoms","Styling",["CSS Variables","Colors","*"],"Examples","External"]}}},decorators:[(0,_storybook_angular__WEBPACK_IMPORTED_MODULE_4__.L4)({providers:[(0,_angular_common_http__WEBPACK_IMPORTED_MODULE_0__.$R)(),(0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.oKB)(_src_lib_transloco_modules_transloco_storybook_module__WEBPACK_IMPORTED_MODULE_8__.o),(0,_angular_core__WEBPACK_IMPORTED_MODULE_1__.phd)(()=>{const transloco=(0,_angular_core__WEBPACK_IMPORTED_MODULE_2__.WQX)(_ngneat_transloco__WEBPACK_IMPORTED_MODULE_3__.JO);return transloco.setActiveLang("en-EN"),(0,rxjs__WEBPACK_IMPORTED_MODULE_5__._)(transloco.load("en-EN"))})]})]},__WEBPACK_DEFAULT_EXPORT__=preview},"./storybook-config-entry.js"(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__){"use strict";var external_STORYBOOK_MODULE_CHANNELS_=__webpack_require__("storybook/internal/channels"),csf=(__webpack_require__("storybook/internal/core-events"),__webpack_require__("./node_modules/storybook/dist/csf/index.js")),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("storybook/preview-api"),asyncToGenerator=__webpack_require__("./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js");const pipeline=x=>x(),importers=[function(){var _ref=(0,asyncToGenerator.A)(function*(path){if(!/^\.[\\/](?:libs\/ui\/src\/lib(?:\/(?!\.)(?:(?:(?!(?:^|\/)\.).)*?)\/|\/|$)(?!\.)(?=.)[^/]*?\.mdx)$/.exec(path))return;const pathRemainder=path.substring(18);return __webpack_require__("./libs/ui/src/lib lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/libs\\/ui\\/src\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.mdx)$")("./"+pathRemainder)});return function(_x){return _ref.apply(this,arguments)}}(),function(){var _ref2=(0,asyncToGenerator.A)(function*(path){if(!/^\.[\\/](?:libs\/ui\/src\/lib(?:\/(?!\.)(?:(?:(?!(?:^|\/)\.).)*?)\/|\/|$)(?!\.)(?=.)[^/]*?\.stories\.(js|jsx|ts|tsx))$/.exec(path))return;const pathRemainder=path.substring(18);return __webpack_require__("./libs/ui/src/lib lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/libs\\/ui\\/src\\/lib(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(js%7Cjsx%7Cts%7Ctsx))$")("./"+pathRemainder)});return function(_x2){return _ref2.apply(this,arguments)}}(),function(){var _ref3=(0,asyncToGenerator.A)(function*(path){if(!/^\.[\\/](?:libs\/ui\/\.storybook\/demos(?:\/(?!\.)(?:(?:(?!(?:^|\/)\.).)*?)\/|\/|$)(?!\.)(?=.)[^/]*?\.mdx)$/.exec(path))return;const pathRemainder=path.substring(27);return __webpack_require__("./libs/ui/.storybook/demos lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/libs\\/ui\\/\\.storybook\\/demos(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.mdx)$")("./"+pathRemainder)});return function(_x3){return _ref3.apply(this,arguments)}}(),function(){var _ref4=(0,asyncToGenerator.A)(function*(path){if(!/^\.[\\/](?:libs\/ui\/\.storybook\/demos(?:\/(?!\.)(?:(?:(?!(?:^|\/)\.).)*?)\/|\/|$)(?!\.)(?=.)[^/]*?\.stories\.(js|jsx|ts|tsx))$/.exec(path))return;const pathRemainder=path.substring(27);return __webpack_require__("./libs/ui/.storybook/demos lazy recursive ^\\.\\/.*$ include: (?%21.*node_modules)(?:\\/libs\\/ui\\/\\.storybook\\/demos(?:\\/(?%21\\.)(?:(?:(?%21(?:^%7C\\/)\\.).)*?)\\/%7C\\/%7C$)(?%21\\.)(?=.)[^/]*?\\.stories\\.(js%7Cjsx%7Cts%7Ctsx))$")("./"+pathRemainder)});return function(_x4){return _ref4.apply(this,arguments)}}()];function _importFn(){return(_importFn=(0,asyncToGenerator.A)(function*(path){for(let i=0;i<importers.length;i++){const moduleExports=yield pipeline(()=>importers[i](path));if(moduleExports)return moduleExports}})).apply(this,arguments)}const channel=(0,external_STORYBOOK_MODULE_CHANNELS_.createBrowserChannel)({page:"preview"});external_STORYBOOK_MODULE_PREVIEW_API_.addons.setChannel(channel),"DEVELOPMENT"===external_STORYBOOK_MODULE_GLOBAL_.global.CONFIG_TYPE&&(window.__STORYBOOK_SERVER_CHANNEL__=channel);const preview=new external_STORYBOOK_MODULE_PREVIEW_API_.PreviewWeb(function importFn(_x5){return _importFn.apply(this,arguments)},()=>{const previewAnnotations=[__webpack_require__("./node_modules/@storybook/angular/dist/client/preview-prod.js"),__webpack_require__("./node_modules/@storybook/angular/dist/client/config.js"),__webpack_require__("./node_modules/@storybook/angular/dist/client/docs/config.js"),__webpack_require__("./node_modules/@storybook/addon-docs/preview.js"),__webpack_require__("./libs/ui/.storybook/preview.ts")],userPreview=previewAnnotations[previewAnnotations.length-1]?.default;return(0,csf.bU)(userPreview)?userPreview.composed:(0,external_STORYBOOK_MODULE_PREVIEW_API_.composeConfigs)(previewAnnotations)});window.__STORYBOOK_PREVIEW__=preview,window.__STORYBOOK_STORY_STORE__=preview.storyStore,window.__STORYBOOK_ADDONS_CHANNEL__=channel},"./libs/ui/src/styles/storybook.css?ngGlobalStyle"(){},"./libs/ui/src/styles/tailwind.css?ngGlobalStyle"(){},"./node_modules/storybook/dist/_browser-chunks sync recursive"(module){function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="./node_modules/storybook/dist/_browser-chunks sync recursive",module.exports=webpackEmptyContext},"storybook/actions"(module){"use strict";module.exports=__STORYBOOK_MODULE_ACTIONS__},"storybook/internal/channels"(module){"use strict";module.exports=__STORYBOOK_MODULE_CHANNELS__},"storybook/internal/client-logger"(module){"use strict";module.exports=__STORYBOOK_MODULE_CLIENT_LOGGER__},"storybook/internal/preview-errors"(module){"use strict";module.exports=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__},"storybook/internal/core-events"(module){"use strict";module.exports=__STORYBOOK_MODULE_CORE_EVENTS__},"@storybook/global"(module){"use strict";module.exports=__STORYBOOK_MODULE_GLOBAL__},"storybook/preview-api"(module){"use strict";module.exports=__STORYBOOK_MODULE_PREVIEW_API__},"storybook/test"(module){"use strict";module.exports=__STORYBOOK_MODULE_TEST__},"storybook/internal/types"(module){"use strict";module.exports=__STORYBOOK_MODULE_TYPES__}},__webpack_require__=>{var __webpack_exec__=moduleId=>__webpack_require__(__webpack_require__.s=moduleId);__webpack_require__.O(0,[4755],()=>(__webpack_exec__("./node_modules/@angular/compiler/fesm2022/compiler.mjs"),__webpack_exec__("./storybook-config-entry.js"),__webpack_exec__("./libs/ui/src/styles/tailwind.css?ngGlobalStyle"),__webpack_exec__("./libs/ui/src/styles/storybook.css?ngGlobalStyle")));__webpack_require__.O()}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(()=>{"use strict";var deferred,leafPrototypes,getProto,inProgress,__webpack_modules__={},__webpack_module_cache__={};function __webpack_require__(moduleId){var cachedModule=__webpack_module_cache__[moduleId];if(void 0!==cachedModule)return cachedModule.exports;var module=__webpack_module_cache__[moduleId]={id:moduleId,exports:{}};return __webpack_modules__[moduleId].call(module.exports,module,module.exports,__webpack_require__),module.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.amdO={},deferred=[],__webpack_require__.O=(result,chunkIds,fn,priority)=>{if(!chunkIds){var notFulfilled=1/0;for(i=0;i<deferred.length;i++){for(var[chunkIds,fn,priority]=deferred[i],fulfilled=!0,j=0;j<chunkIds.length;j++)(!1&priority||notFulfilled>=priority)&&Object.keys(__webpack_require__.O).every(key=>__webpack_require__.O[key](chunkIds[j]))?chunkIds.splice(j--,1):(fulfilled=!1,priority<notFulfilled&&(notFulfilled=priority));if(fulfilled){deferred.splice(i--,1);var r=fn();void 0!==r&&(result=r)}}return result}priority=priority||0;for(var i=deferred.length;i>0&&deferred[i-1][2]>priority;i--)deferred[i]=deferred[i-1];deferred[i]=[chunkIds,fn,priority]},__webpack_require__.n=module=>{var getter=module&&module.__esModule?()=>module.default:()=>module;return __webpack_require__.d(getter,{a:getter}),getter},getProto=Object.getPrototypeOf?obj=>Object.getPrototypeOf(obj):obj=>obj.__proto__,__webpack_require__.t=function(value,mode){if(1&mode&&(value=this(value)),8&mode)return value;if("object"==typeof value&&value){if(4&mode&&value.__esModule)return value;if(16&mode&&"function"==typeof value.then)return value}var ns=Object.create(null);__webpack_require__.r(ns);var def={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var current=2&mode&&value;("object"==typeof current||"function"==typeof current)&&!~leafPrototypes.indexOf(current);current=getProto(current))Object.getOwnPropertyNames(current).forEach(key=>def[key]=()=>value[key]);return def.default=()=>value,__webpack_require__.d(ns,def),ns},__webpack_require__.d=(exports,definition)=>{for(var key in definition)__webpack_require__.o(definition,key)&&!__webpack_require__.o(exports,key)&&Object.defineProperty(exports,key,{enumerable:!0,get:definition[key]})},__webpack_require__.f={},__webpack_require__.e=chunkId=>Promise.all(Object.keys(__webpack_require__.f).reduce((promises,key)=>(__webpack_require__.f[key](chunkId,promises),promises),[])),__webpack_require__.u=chunkId=>(({128:"home-overview-mdx",166:"forms-autofocus-docs-mdx",365:"layout-spinner-docs-mdx",943:"examples-image-grid-slider-docs-mdx",947:"layout-splitter-docs-mdx",977:"forms-switch-docs-mdx",1043:"layout-spinner-spinner-component-stories",1165:"styling-tags-tags-component-stories",1296:"examples-docs-mdx",1322:"atoms-_electrons-form-error-message-form-error-message-component-stories",1327:"cdk-components-drag-and-drop-splitter-docs-mdx",1365:"_external-mwork-music-player-mwork-music-player-stories",1461:"atoms-image-slider-image-slider-component-stories",1481:"examples-layout-docs-mdx",1686:"forms-input-input-component-stories",1809:"atoms-clock-clock-component-stories",1838:"styling-colors-docs-mdx",1860:"forms-autocomplete-autocomplete-component-stories",1927:"styling-tags-docs-mdx",1954:"atoms-mosaic-docs-mdx",1977:"styling-forms-forms-component-stories",2006:"atoms-background-docs-mdx",2074:"atoms-_electrons-form-error-message-docs-mdx",2168:"layout-overlay-docs-mdx",2193:"atoms-qr-code-docs-mdx",2379:"_external-mwork-basic-interpreter-mwork-basic-interpreter-stories",2425:"atoms-chart-chart-component-stories",2831:"atoms-mosaic-mosaic-component-stories",2960:"atoms-lang-selector-docs-mdx",3007:"atoms-copy-value-docs-mdx",3045:"atoms-placeholder-placeholder-component-stories",3048:"forms-switch-switch-component-stories",3073:"layout-top-scroll-bottom-docs-mdx",3143:"home-tips-mdx",3146:"atoms-image-grid-docs-mdx",3151:"layout-media-screen-docs-mdx",3190:"molecules-image-editor-docs-mdx",3260:"_external-mwork-music-player-docs-mdx",3277:"atoms-lang-selector-lang-selector-component-stories",3338:"styling-ui-tags-docs-mdx",3550:"atoms-reader-doc-docs-mdx",3651:"layout-media-screen-media-screen-component-stories",3678:"forms-checkbox-checkbox-component-stories",3685:"atoms-rating-rating-component-stories",3752:"_external-mwork-basic-interpreter-docs-mdx",3767:"home-guide-mdx",3837:"layout-main-docs-mdx",3842:"home-usage-mdx",3853:"atoms-copy-value-copy-value-component-stories",3857:"styling-forms-docs-mdx",3925:"atoms-thumb-thumb-component-stories",3999:"atoms-reader-doc-reader-doc-component-stories",4067:"atoms-text-animate-docs-mdx",4271:"cdk-components-drag-and-drop-splitter-splitter-component-stories",4320:"atoms-buzzer-docs-mdx",4365:"atoms-qr-code-qr-code-component-stories",4447:"atoms-timer-docs-mdx",4713:"atoms-typewriter-typewriter-component-stories",4806:"atoms-typewriter-docs-mdx",4855:"atoms-background-background-component-stories",4939:"forms-input-docs-mdx",4947:"atoms-card-card-component-stories",5084:"atoms-clock-docs-mdx",5233:"styling-ui-tags-ui-tags-component-stories",5370:"atoms-thumb-docs-mdx",5493:"examples-table-edit-focus-docs-mdx",5684:"examples-layout-layout-stories",5995:"styling-colors-colors-component-stories",6189:"atoms-timer-timer-component-stories",6203:"atoms-placeholder-docs-mdx",6212:"cdk-components-table-table-component-stories",6252:"forms-slider-docs-mdx",6331:"layout-splitter-splitter-component-stories",6354:"forms-validators-validators-component-stories",6501:"_external-mwork-banner-docs-mdx",6569:"cdk-components-table-docs-mdx",6659:"layout-overlay-overlay-component-stories",6768:"examples-transloco-docs-mdx",6892:"layout-tabs-docs-mdx",6922:"forms-slider-slider-component-stories",6978:"atoms-chart-docs-mdx",7419:"atoms-buzzer-buzzer-component-stories",7586:"forms-validators-docs-mdx",7600:"styling-layers-docs-mdx",7653:"styling-icons-icons-component-stories",7683:"layout-main-main-component-stories",7819:"atoms-rating-docs-mdx",7837:"forms-autocomplete-docs-mdx",7867:"_external-mwork-banner-mwork-banner-stories",7877:"atoms-text-animate-text-animate-component-stories",7893:"styling-css-variables-docs-mdx",7947:"atoms-image-slider-docs-mdx",8039:"atoms-image-grid-image-grid-component-stories",8092:"styling-icons-docs-mdx",8108:"forms-checkbox-docs-mdx",8180:"molecules-image-editor-image-editor-component-stories",8753:"layout-tabs-tabs-component-stories",8852:"atoms-card-docs-mdx",8938:"examples-image-grid-slider-image-grid-slider-stories",9042:"layout-overlay-header-docs-mdx",9044:"examples-transloco-transloco-component-stories",9217:"atoms-barcode-barcode-component-stories",9236:"forms-autofocus-autofocus-stories",9240:"layout-overlay-header-header-component-stories",9475:"layout-nav-nav-component-stories",9652:"examples-burger-menu-stories",9653:"layout-nav-docs-mdx",9779:"layout-top-scroll-bottom-top-scroll-bottom-component-stories",9836:"examples-table-edit-focus-table-edit-focus-stories",9918:"atoms-barcode-docs-mdx"}[chunkId]||chunkId)+"."+{128:"0d4ede52",166:"39611362",365:"4be572c0",660:"18f0458e",813:"805c1e5f",871:"428deceb",943:"9e38157e",947:"bf161b39",973:"67f44bb0",977:"9d58a341",1043:"ab8245c6",1165:"7a64bd20",1183:"da25800b",1255:"2abec879",1296:"3111f2c6",1322:"7f749acc",1327:"f12088fd",1365:"08fbf651",1461:"484b9c41",1481:"bbacdfd2",1516:"52d2dae7",1686:"609db3f0",1809:"d1464731",1838:"95c504e4",1860:"443544e0",1927:"23ab2316",1954:"1aebfbdf",1977:"8af76278",2006:"4f102c17",2033:"c705a7ce",2074:"5b9e78fe",2089:"32694489",2096:"431fc8f5",2127:"29f153d2",2168:"823351e0",2193:"4202568d",2228:"77650ef1",2249:"6e6782ab",2379:"3252a9b8",2425:"5247b7cb",2639:"29baa8af",2831:"0a6bc043",2844:"c9f47654",2960:"a327a27f",2971:"edb202b4",3007:"f404dcd2",3045:"bc221534",3048:"bf67d7c9",3073:"ddc061f8",3143:"26df81d8",3146:"18b4df2a",3151:"b0ca9a06",3190:"805dcd5a",3260:"6f943768",3277:"41d7efd1",3338:"8f75631d",3550:"0688c3b9",3651:"7941c064",3678:"d45b4f0d",3685:"982db47d",3752:"03c6205c",3767:"1a176b15",3837:"4c9208c5",3842:"fc05feec",3853:"58d3956a",3857:"943e72f2",3899:"55560628",3925:"06f51d03",3968:"69b812e4",3999:"a6fec57d",4067:"05e1baf4",4255:"eeeaf087",4271:"286b5171",4320:"23eb1913",4365:"5018e2b0",4425:"368129b3",4447:"6f724cc8",4476:"f8e4115f",4495:"d1c8cc8d",4555:"251b232c",4713:"4fefc019",4806:"3b1088c0",4855:"b6b50c0c",4935:"8959522b",4939:"72d0e99a",4947:"065b34e9",5084:"501e6780",5233:"2ec3109b",5370:"2143ad01",5493:"3c0d1611",5568:"c6172f92",5684:"05cd891f",5944:"810cb147",5995:"58031f40",6115:"7f1470ef",6169:"eaeed989",6189:"9bee1037",6202:"b8ca0e90",6203:"cd2f3976",6212:"db9212fd",6252:"120cefc6",6331:"46b8b112",6354:"9525f97b",6501:"0d5549a0",6569:"cc2c11e7",6659:"01f6cd84",6768:"97df7022",6824:"f5eb8bb7",6892:"89d83606",6922:"058fb9b1",6978:"204609d4",7316:"5b024e94",7419:"13ee130d",7586:"ebb47a43",7600:"a563260e",7653:"2dd8c6f8",7683:"788c0c54",7749:"2a853795",7819:"32fa4104",7837:"09beba1b",7867:"d44f6917",7877:"8041c0f1",7893:"48afb4f3",7947:"c616bb37",8039:"a0a92d9e",8051:"719eb790",8092:"e1001dfd",8108:"74036eb7",8180:"fbfeff1b",8448:"1baeb046",8753:"8602cefa",8819:"220ca21d",8852:"7d276114",8938:"028c8c2b",9042:"394033ca",9044:"5baea2e2",9045:"a50616e9",9217:"dc462559",9236:"2e94d887",9240:"5eaef192",9475:"766738fc",9560:"668052f3",9652:"0a083a75",9653:"cc919f94",9779:"9ee7055f",9836:"c79e214a",9850:"28367747",9918:"b74c501b",9946:"36014b4e"}[chunkId]+".iframe.bundle.js"),__webpack_require__.miniCssF=chunkId=>{},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(obj,prop)=>Object.prototype.hasOwnProperty.call(obj,prop),inProgress={},__webpack_require__.l=(url,done,key,chunkId)=>{if(inProgress[url])inProgress[url].push(done);else{var script,needAttach;if(void 0!==key)for(var scripts=document.getElementsByTagName("script"),i=0;i<scripts.length;i++){var s=scripts[i];if(s.getAttribute("src")==url||s.getAttribute("data-webpack")=="moja-work:"+key){script=s;break}}script||(needAttach=!0,(script=document.createElement("script")).charset="utf-8",__webpack_require__.nc&&script.setAttribute("nonce",__webpack_require__.nc),script.setAttribute("data-webpack","moja-work:"+key),script.src=url),inProgress[url]=[done];var onScriptComplete=(prev,event)=>{script.onerror=script.onload=null,clearTimeout(timeout);var doneFns=inProgress[url];if(delete inProgress[url],script.parentNode&&script.parentNode.removeChild(script),doneFns&&doneFns.forEach(fn=>fn(event)),prev)return prev(event)},timeout=setTimeout(onScriptComplete.bind(null,void 0,{type:"timeout",target:script}),12e4);script.onerror=onScriptComplete.bind(null,script.onerror),script.onload=onScriptComplete.bind(null,script.onload),needAttach&&document.head.appendChild(script)}},__webpack_require__.r=exports=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},__webpack_require__.p="",(()=>{var installedChunks={5354:0};__webpack_require__.f.j=(chunkId,promises)=>{var installedChunkData=__webpack_require__.o(installedChunks,chunkId)?installedChunks[chunkId]:void 0;if(0!==installedChunkData)if(installedChunkData)promises.push(installedChunkData[2]);else if(5354!=chunkId){var promise=new Promise((resolve,reject)=>installedChunkData=installedChunks[chunkId]=[resolve,reject]);promises.push(installedChunkData[2]=promise);var url=__webpack_require__.p+__webpack_require__.u(chunkId),error=new Error;__webpack_require__.l(url,event=>{if(__webpack_require__.o(installedChunks,chunkId)&&(0!==(installedChunkData=installedChunks[chunkId])&&(installedChunks[chunkId]=void 0),installedChunkData)){var errorType=event&&("load"===event.type?"missing":event.type),realSrc=event&&event.target&&event.target.src;error.message="Loading chunk "+chunkId+" failed.\n("+errorType+": "+realSrc+")",error.name="ChunkLoadError",error.type=errorType,error.request=realSrc,installedChunkData[1](error)}},"chunk-"+chunkId,chunkId)}else installedChunks[chunkId]=0},__webpack_require__.O.j=chunkId=>0===installedChunks[chunkId];var webpackJsonpCallback=(parentChunkLoadingFunction,data)=>{var moduleId,chunkId,[chunkIds,moreModules,runtime]=data,i=0;if(chunkIds.some(id=>0!==installedChunks[id])){for(moduleId in moreModules)__webpack_require__.o(moreModules,moduleId)&&(__webpack_require__.m[moduleId]=moreModules[moduleId]);if(runtime)var result=runtime(__webpack_require__)}for(parentChunkLoadingFunction&&parentChunkLoadingFunction(data);i<chunkIds.length;i++)chunkId=chunkIds[i],__webpack_require__.o(installedChunks,chunkId)&&installedChunks[chunkId]&&installedChunks[chunkId][0](),installedChunks[chunkId]=0;return __webpack_require__.O(result)},chunkLoadingGlobal=self.webpackChunkmoja_work=self.webpackChunkmoja_work||[];chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null,0)),chunkLoadingGlobal.push=webpackJsonpCallback.bind(null,chunkLoadingGlobal.push.bind(chunkLoadingGlobal))})(),__webpack_require__.nc=void 0})();
|