1 line
38 KiB
Plaintext
1 line
38 KiB
Plaintext
{"hash":"90ea8db4ad7d4a1a6c97d11f7187b8cafa3b68cbf217ab6cb813c9c9d3c66fe1","types":[{"exports":["ContentComponent","LayoutComponent","LayoutModule","MenuComponent","MenuItemComponent"],"facadeModuleId":"/web/Webland/app/dist/ui/tmp-typings/webland-ui.d.ts","isDynamicEntry":false,"isEntry":true,"isImplicitEntry":false,"moduleIds":["/web/Webland/app/dist/ui/tmp-typings/lib/modules/layout/components/layout/layout.component.d.ts","/web/Webland/app/dist/ui/tmp-typings/lib/modules/layout/components/menu/menu.component.d.ts","/web/Webland/app/dist/ui/tmp-typings/lib/modules/layout/components/menu-item/menu-item.component.d.ts","/web/Webland/app/dist/ui/tmp-typings/lib/modules/layout/components/content/content.component.d.ts","/web/Webland/app/dist/ui/tmp-typings/lib/modules/layout/layout-module.d.ts","/web/Webland/app/dist/ui/tmp-typings/webland-ui.d.ts"],"name":"webland-ui.d","type":"chunk","dynamicImports":[],"fileName":"index.d.ts","implicitlyLoadedBefore":[],"importedBindings":{"@angular/core":["*"],"@angular/common":["*"]},"imports":["@angular/core","@angular/common"],"modules":{"/web/Webland/app/dist/ui/tmp-typings/lib/modules/layout/components/layout/layout.component.d.ts":{"code":"declare class LayoutComponent {\n static ɵfac: i0.ɵɵFactoryDeclaration<LayoutComponent, never>;\n static ɵcmp: i0.ɵɵComponentDeclaration<LayoutComponent, \"ui-layout\", never, {}, {}, never, [\"*\"], true, never>;\n}","originalLength":260,"removedExports":[],"renderedExports":["LayoutComponent"],"renderedLength":215},"/web/Webland/app/dist/ui/tmp-typings/lib/modules/layout/components/menu/menu.component.d.ts":{"code":"declare class MenuComponent {\n static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;\n static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, \"ui-menu\", never, {}, {}, never, [\"*\"], true, never>;\n}","originalLength":252,"removedExports":[],"renderedExports":["MenuComponent"],"renderedLength":207},"/web/Webland/app/dist/ui/tmp-typings/lib/modules/layout/components/menu-item/menu-item.component.d.ts":{"code":"declare class MenuItemComponent {\n label: string;\n icon: string;\n static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemComponent, never>;\n static ɵcmp: i0.ɵɵComponentDeclaration<MenuItemComponent, \"ui-menu-item\", never, { \"label\": { \"alias\": \"label\"; \"required\": false; }; \"icon\": { \"alias\": \"icon\"; \"required\": false; }; }, {}, never, never, true, never>;\n}","originalLength":407,"removedExports":[],"renderedExports":["MenuItemComponent"],"renderedLength":362},"/web/Webland/app/dist/ui/tmp-typings/lib/modules/layout/components/content/content.component.d.ts":{"code":"declare class ContentComponent {\n static ɵfac: i0.ɵɵFactoryDeclaration<ContentComponent, never>;\n static ɵcmp: i0.ɵɵComponentDeclaration<ContentComponent, \"ui-content\", never, {}, {}, never, [\"*\"], true, never>;\n}","originalLength":264,"removedExports":[],"renderedExports":["ContentComponent"],"renderedLength":219},"/web/Webland/app/dist/ui/tmp-typings/lib/modules/layout/layout-module.d.ts":{"code":"declare class LayoutModule {\n static ɵfac: i0.ɵɵFactoryDeclaration<LayoutModule, never>;\n static ɵmod: i0.ɵɵNgModuleDeclaration<LayoutModule, never, [typeof i1.CommonModule, typeof LayoutComponent, typeof MenuComponent, typeof MenuItemComponent, typeof ContentComponent], [typeof LayoutComponent, typeof MenuComponent, typeof MenuItemComponent, typeof ContentComponent]>;\n static ɵinj: i0.ɵɵInjectorDeclaration<LayoutModule>;\n}","originalLength":788,"removedExports":[],"renderedExports":["LayoutModule"],"renderedLength":436},"/web/Webland/app/dist/ui/tmp-typings/webland-ui.d.ts":{"code":null,"originalLength":116,"removedExports":[],"renderedExports":[],"renderedLength":0}},"referencedFiles":[],"code":"import * as i0 from '@angular/core';\nimport * as i1 from '@angular/common';\n\ndeclare class LayoutComponent {\n static ɵfac: i0.ɵɵFactoryDeclaration<LayoutComponent, never>;\n static ɵcmp: i0.ɵɵComponentDeclaration<LayoutComponent, \"ui-layout\", never, {}, {}, never, [\"*\"], true, never>;\n}\n\ndeclare class MenuComponent {\n static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;\n static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, \"ui-menu\", never, {}, {}, never, [\"*\"], true, never>;\n}\n\ndeclare class MenuItemComponent {\n label: string;\n icon: string;\n static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemComponent, never>;\n static ɵcmp: i0.ɵɵComponentDeclaration<MenuItemComponent, \"ui-menu-item\", never, { \"label\": { \"alias\": \"label\"; \"required\": false; }; \"icon\": { \"alias\": \"icon\"; \"required\": false; }; }, {}, never, never, true, never>;\n}\n\ndeclare class ContentComponent {\n static ɵfac: i0.ɵɵFactoryDeclaration<ContentComponent, never>;\n static ɵcmp: i0.ɵɵComponentDeclaration<ContentComponent, \"ui-content\", never, {}, {}, never, [\"*\"], true, never>;\n}\n\ndeclare class LayoutModule {\n static ɵfac: i0.ɵɵFactoryDeclaration<LayoutModule, never>;\n static ɵmod: i0.ɵɵNgModuleDeclaration<LayoutModule, never, [typeof i1.CommonModule, typeof LayoutComponent, typeof MenuComponent, typeof MenuItemComponent, typeof ContentComponent], [typeof LayoutComponent, typeof MenuComponent, typeof MenuItemComponent, typeof ContentComponent]>;\n static ɵinj: i0.ɵɵInjectorDeclaration<LayoutModule>;\n}\n\nexport { ContentComponent, LayoutComponent, LayoutModule, MenuComponent, MenuItemComponent };\n","map":null,"preliminaryFileName":"index.d.ts","sourcemapFileName":null}],"fesm2022":[{"exports":["ContentComponent","LayoutComponent","LayoutModule","MenuComponent","MenuItemComponent"],"facadeModuleId":"/web/Webland/app/dist/ui/tmp-esm2022/webland-ui.js","isDynamicEntry":false,"isEntry":true,"isImplicitEntry":false,"moduleIds":["/web/Webland/app/dist/ui/tmp-esm2022/lib/modules/layout/components/layout/layout.component.js","/web/Webland/app/dist/ui/tmp-esm2022/lib/modules/layout/components/menu/menu.component.js","/web/Webland/app/dist/ui/tmp-esm2022/lib/modules/shared/helpers/icon.helper.js","/web/Webland/app/dist/ui/tmp-esm2022/lib/modules/shared/components/icon/icon.component.js","/web/Webland/app/dist/ui/tmp-esm2022/lib/modules/layout/components/menu-item/menu-item.component.js","/web/Webland/app/dist/ui/tmp-esm2022/lib/modules/layout/components/content/content.component.js","/web/Webland/app/dist/ui/tmp-esm2022/lib/modules/layout/layout-module.js","/web/Webland/app/dist/ui/tmp-esm2022/public-api.js","/web/Webland/app/dist/ui/tmp-esm2022/webland-ui.js"],"name":"webland-ui","type":"chunk","dynamicImports":[],"fileName":"webland-ui.mjs","implicitlyLoadedBefore":[],"importedBindings":{"@angular/core":["*","Component","HostBinding","Input","NgModule"],"@angular/common":["CommonModule"]},"imports":["@angular/core","@angular/common"],"modules":{"/web/Webland/app/dist/ui/tmp-esm2022/lib/modules/layout/components/layout/layout.component.js":{"code":"class LayoutComponent {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: LayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.1.3\", type: LayoutComponent, isStandalone: true, selector: \"ui-layout\", ngImport: i0, template: \"<ng-content />\\n\", styles: [\":host{width:100vw;height:100vh;display:flex}\\n\"] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: LayoutComponent, decorators: [{\n type: Component,\n args: [{ selector: 'ui-layout', imports: [], template: \"<ng-content />\\n\", styles: [\":host{width:100vw;height:100vh;display:flex}\\n\"] }]\n }] });","originalLength":902,"removedExports":[],"renderedExports":["LayoutComponent"],"renderedLength":770},"/web/Webland/app/dist/ui/tmp-esm2022/lib/modules/layout/components/menu/menu.component.js":{"code":"class MenuComponent {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: MenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.1.3\", type: MenuComponent, isStandalone: true, selector: \"ui-menu\", ngImport: i0, template: \"<ng-content />\\n\", styles: [\":host{width:4rem;background:#444;color:#fff;display:flex;flex-direction:column}\\n\"] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: MenuComponent, decorators: [{\n type: Component,\n args: [{ selector: 'ui-menu', imports: [], template: \"<ng-content />\\n\", styles: [\":host{width:4rem;background:#444;color:#fff;display:flex;flex-direction:column}\\n\"] }]\n }] });","originalLength":958,"removedExports":[],"renderedExports":["MenuComponent"],"renderedLength":828},"/web/Webland/app/dist/ui/tmp-esm2022/lib/modules/shared/helpers/icon.helper.js":{"code":"var IconProviderEnum;\n(function (IconProviderEnum) {\n IconProviderEnum[\"FortAwesome\"] = \"fa\";\n IconProviderEnum[\"RemixIcon\"] = \"ri\";\n IconProviderEnum[\"HtmlEntities\"] = \"he\";\n IconProviderEnum[\"Text\"] = \"text\";\n})(IconProviderEnum || (IconProviderEnum = {}));\nclass IconData {\n provider;\n className;\n html;\n innerHTML;\n constructor(provider, className, html, innerHTML = null) {\n this.provider = provider;\n this.className = className;\n this.html = html;\n this.innerHTML = innerHTML;\n }\n}\nclass IconHelper {\n static GetData(conf) {\n const parts = conf.split(':');\n switch (parts[0]) {\n case IconProviderEnum.FortAwesome:\n const faClassName = `fa fa-${parts.splice(1).join(' fa-')}`;\n return new IconData(IconProviderEnum.FortAwesome, faClassName, `<i class=\"${faClassName}\"></i>`);\n case IconProviderEnum.RemixIcon:\n const riClassName = `ri-${parts.splice(1).join(' ri-')}`;\n return new IconData(IconProviderEnum.RemixIcon, riClassName, `<i class=\"${riClassName}\"></i>`);\n case IconProviderEnum.HtmlEntities:\n const heClassName = 'the-icon';\n return new IconData(IconProviderEnum.HtmlEntities, heClassName, null, `&${parts.splice(1).join(';&')};`);\n case IconProviderEnum.Text:\n const tClassName = 'the-icon';\n return new IconData(IconProviderEnum.Text, tClassName, null, parts.splice(1).join(':'));\n }\n return null;\n }\n}","originalLength":1637,"removedExports":[],"renderedExports":["IconProviderEnum","IconData","IconHelper"],"renderedLength":1576},"/web/Webland/app/dist/ui/tmp-esm2022/lib/modules/shared/components/icon/icon.component.js":{"code":"class IconComponent {\n uiIcon = '';\n className;\n html;\n constructor() { }\n ngOnChanges() {\n const iconData = IconHelper.GetData(this.uiIcon);\n if (iconData) {\n this.className = iconData.className;\n this.html = iconData.innerHTML;\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: IconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.1.3\", type: IconComponent, isStandalone: true, selector: \"[uiIcon]\", inputs: { uiIcon: \"uiIcon\" }, host: { properties: { \"class\": \"this.className\", \"innerHTML\": \"this.html\" } }, usesOnChanges: true, ngImport: i0, template: '', isInline: true, dependencies: [{ kind: \"ngmodule\", type: CommonModule }] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: IconComponent, decorators: [{\n type: Component,\n args: [{ selector: '[uiIcon]', imports: [CommonModule], template: '' }]\n }], ctorParameters: () => [], propDecorators: { uiIcon: [{\n type: Input\n }], className: [{\n type: HostBinding,\n args: ['class']\n }], html: [{\n type: HostBinding,\n args: ['innerHTML']\n }] } });","originalLength":1647,"removedExports":[],"renderedExports":["IconComponent"],"renderedLength":1393},"/web/Webland/app/dist/ui/tmp-esm2022/lib/modules/layout/components/menu-item/menu-item.component.js":{"code":"class MenuItemComponent {\n label;\n icon;\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: MenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.1.3\", type: MenuItemComponent, isStandalone: true, selector: \"ui-menu-item\", inputs: { label: \"label\", icon: \"icon\" }, ngImport: i0, template: \"<i [uiIcon]=\\\"icon\\\"></i>\\n<span>{{ label }}</span>\\n\", styles: [\":host{width:4rem;height:4rem;display:flex;flex-direction:column;justify-content:center;align-items:center}:host i{font-size:1.7rem}:host span{font-size:.6rem}:host.active{background:#333}:host.focus,:host:active,:host:hover{background:#222}\\n\"], dependencies: [{ kind: \"component\", type: IconComponent, selector: \"[uiIcon]\", inputs: [\"uiIcon\"] }] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: MenuItemComponent, decorators: [{\n type: Component,\n args: [{ selector: 'ui-menu-item', imports: [IconComponent], template: \"<i [uiIcon]=\\\"icon\\\"></i>\\n<span>{{ label }}</span>\\n\", styles: [\":host{width:4rem;height:4rem;display:flex;flex-direction:column;justify-content:center;align-items:center}:host i{font-size:1.7rem}:host span{font-size:.6rem}:host.active{background:#333}:host.focus,:host:active,:host:hover{background:#222}\\n\"] }]\n }], propDecorators: { label: [{\n type: Input\n }], icon: [{\n type: Input\n }] } });","originalLength":1777,"removedExports":[],"renderedExports":["MenuItemComponent"],"renderedLength":1555},"/web/Webland/app/dist/ui/tmp-esm2022/lib/modules/layout/components/content/content.component.js":{"code":"class ContentComponent {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: ContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.1.3\", type: ContentComponent, isStandalone: true, selector: \"ui-content\", ngImport: i0, template: \"<div>\\n <ng-content />\\n</div>\\n\", styles: [\":host{display:block;flex-grow:1;overflow:auto;background:#333;color:#fff}\\n\"] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: ContentComponent, decorators: [{\n type: Component,\n args: [{ selector: 'ui-content', imports: [], template: \"<div>\\n <ng-content />\\n</div>\\n\", styles: [\":host{display:block;flex-grow:1;overflow:auto;background:#333;color:#fff}\\n\"] }]\n }] });","originalLength":1005,"removedExports":[],"renderedExports":["ContentComponent"],"renderedLength":872},"/web/Webland/app/dist/ui/tmp-esm2022/lib/modules/layout/layout-module.js":{"code":"class LayoutModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: LayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"20.1.3\", ngImport: i0, type: LayoutModule, imports: [CommonModule,\n LayoutComponent,\n MenuComponent,\n MenuItemComponent,\n ContentComponent], exports: [LayoutComponent,\n MenuComponent,\n MenuItemComponent,\n ContentComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: LayoutModule, imports: [CommonModule,\n MenuItemComponent] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: LayoutModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [],\n imports: [\n CommonModule,\n LayoutComponent,\n MenuComponent,\n MenuItemComponent,\n ContentComponent,\n ],\n exports: [\n LayoutComponent,\n MenuComponent,\n MenuItemComponent,\n ContentComponent,\n ]\n }]\n }] });","originalLength":1930,"removedExports":[],"renderedExports":["LayoutModule"],"renderedLength":1461},"/web/Webland/app/dist/ui/tmp-esm2022/public-api.js":{"code":"/*\n * Public API Surface of ui\n */\n// Layout Module","originalLength":459,"removedExports":[],"renderedExports":[],"renderedLength":51},"/web/Webland/app/dist/ui/tmp-esm2022/webland-ui.js":{"code":"/**\n * Generated bundle index. Do not edit.\n */","originalLength":116,"removedExports":[],"renderedExports":[],"renderedLength":47}},"referencedFiles":[],"code":"import * as i0 from '@angular/core';\nimport { Component, HostBinding, Input, NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nclass LayoutComponent {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: LayoutComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.1.3\", type: LayoutComponent, isStandalone: true, selector: \"ui-layout\", ngImport: i0, template: \"<ng-content />\\n\", styles: [\":host{width:100vw;height:100vh;display:flex}\\n\"] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: LayoutComponent, decorators: [{\n type: Component,\n args: [{ selector: 'ui-layout', imports: [], template: \"<ng-content />\\n\", styles: [\":host{width:100vw;height:100vh;display:flex}\\n\"] }]\n }] });\n\nclass MenuComponent {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: MenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.1.3\", type: MenuComponent, isStandalone: true, selector: \"ui-menu\", ngImport: i0, template: \"<ng-content />\\n\", styles: [\":host{width:4rem;background:#444;color:#fff;display:flex;flex-direction:column}\\n\"] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: MenuComponent, decorators: [{\n type: Component,\n args: [{ selector: 'ui-menu', imports: [], template: \"<ng-content />\\n\", styles: [\":host{width:4rem;background:#444;color:#fff;display:flex;flex-direction:column}\\n\"] }]\n }] });\n\nvar IconProviderEnum;\n(function (IconProviderEnum) {\n IconProviderEnum[\"FortAwesome\"] = \"fa\";\n IconProviderEnum[\"RemixIcon\"] = \"ri\";\n IconProviderEnum[\"HtmlEntities\"] = \"he\";\n IconProviderEnum[\"Text\"] = \"text\";\n})(IconProviderEnum || (IconProviderEnum = {}));\nclass IconData {\n provider;\n className;\n html;\n innerHTML;\n constructor(provider, className, html, innerHTML = null) {\n this.provider = provider;\n this.className = className;\n this.html = html;\n this.innerHTML = innerHTML;\n }\n}\nclass IconHelper {\n static GetData(conf) {\n const parts = conf.split(':');\n switch (parts[0]) {\n case IconProviderEnum.FortAwesome:\n const faClassName = `fa fa-${parts.splice(1).join(' fa-')}`;\n return new IconData(IconProviderEnum.FortAwesome, faClassName, `<i class=\"${faClassName}\"></i>`);\n case IconProviderEnum.RemixIcon:\n const riClassName = `ri-${parts.splice(1).join(' ri-')}`;\n return new IconData(IconProviderEnum.RemixIcon, riClassName, `<i class=\"${riClassName}\"></i>`);\n case IconProviderEnum.HtmlEntities:\n const heClassName = 'the-icon';\n return new IconData(IconProviderEnum.HtmlEntities, heClassName, null, `&${parts.splice(1).join(';&')};`);\n case IconProviderEnum.Text:\n const tClassName = 'the-icon';\n return new IconData(IconProviderEnum.Text, tClassName, null, parts.splice(1).join(':'));\n }\n return null;\n }\n}\n\nclass IconComponent {\n uiIcon = '';\n className;\n html;\n constructor() { }\n ngOnChanges() {\n const iconData = IconHelper.GetData(this.uiIcon);\n if (iconData) {\n this.className = iconData.className;\n this.html = iconData.innerHTML;\n }\n }\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: IconComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.1.3\", type: IconComponent, isStandalone: true, selector: \"[uiIcon]\", inputs: { uiIcon: \"uiIcon\" }, host: { properties: { \"class\": \"this.className\", \"innerHTML\": \"this.html\" } }, usesOnChanges: true, ngImport: i0, template: '', isInline: true, dependencies: [{ kind: \"ngmodule\", type: CommonModule }] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: IconComponent, decorators: [{\n type: Component,\n args: [{ selector: '[uiIcon]', imports: [CommonModule], template: '' }]\n }], ctorParameters: () => [], propDecorators: { uiIcon: [{\n type: Input\n }], className: [{\n type: HostBinding,\n args: ['class']\n }], html: [{\n type: HostBinding,\n args: ['innerHTML']\n }] } });\n\nclass MenuItemComponent {\n label;\n icon;\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: MenuItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.1.3\", type: MenuItemComponent, isStandalone: true, selector: \"ui-menu-item\", inputs: { label: \"label\", icon: \"icon\" }, ngImport: i0, template: \"<i [uiIcon]=\\\"icon\\\"></i>\\n<span>{{ label }}</span>\\n\", styles: [\":host{width:4rem;height:4rem;display:flex;flex-direction:column;justify-content:center;align-items:center}:host i{font-size:1.7rem}:host span{font-size:.6rem}:host.active{background:#333}:host.focus,:host:active,:host:hover{background:#222}\\n\"], dependencies: [{ kind: \"component\", type: IconComponent, selector: \"[uiIcon]\", inputs: [\"uiIcon\"] }] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: MenuItemComponent, decorators: [{\n type: Component,\n args: [{ selector: 'ui-menu-item', imports: [IconComponent], template: \"<i [uiIcon]=\\\"icon\\\"></i>\\n<span>{{ label }}</span>\\n\", styles: [\":host{width:4rem;height:4rem;display:flex;flex-direction:column;justify-content:center;align-items:center}:host i{font-size:1.7rem}:host span{font-size:.6rem}:host.active{background:#333}:host.focus,:host:active,:host:hover{background:#222}\\n\"] }]\n }], propDecorators: { label: [{\n type: Input\n }], icon: [{\n type: Input\n }] } });\n\nclass ContentComponent {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: ContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });\n static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: \"14.0.0\", version: \"20.1.3\", type: ContentComponent, isStandalone: true, selector: \"ui-content\", ngImport: i0, template: \"<div>\\n <ng-content />\\n</div>\\n\", styles: [\":host{display:block;flex-grow:1;overflow:auto;background:#333;color:#fff}\\n\"] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: ContentComponent, decorators: [{\n type: Component,\n args: [{ selector: 'ui-content', imports: [], template: \"<div>\\n <ng-content />\\n</div>\\n\", styles: [\":host{display:block;flex-grow:1;overflow:auto;background:#333;color:#fff}\\n\"] }]\n }] });\n\nclass LayoutModule {\n static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: LayoutModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });\n static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: \"14.0.0\", version: \"20.1.3\", ngImport: i0, type: LayoutModule, imports: [CommonModule,\n LayoutComponent,\n MenuComponent,\n MenuItemComponent,\n ContentComponent], exports: [LayoutComponent,\n MenuComponent,\n MenuItemComponent,\n ContentComponent] });\n static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: LayoutModule, imports: [CommonModule,\n MenuItemComponent] });\n}\ni0.ɵɵngDeclareClassMetadata({ minVersion: \"12.0.0\", version: \"20.1.3\", ngImport: i0, type: LayoutModule, decorators: [{\n type: NgModule,\n args: [{\n declarations: [],\n imports: [\n CommonModule,\n LayoutComponent,\n MenuComponent,\n MenuItemComponent,\n ContentComponent,\n ],\n exports: [\n LayoutComponent,\n MenuComponent,\n MenuItemComponent,\n ContentComponent,\n ]\n }]\n }] });\n\n/*\n * Public API Surface of ui\n */\n// Layout Module\n\n/**\n * Generated bundle index. Do not edit.\n */\n\nexport { ContentComponent, LayoutComponent, LayoutModule, MenuComponent, MenuItemComponent };\n//# sourceMappingURL=webland-ui.mjs.map\n","map":null,"preliminaryFileName":"webland-ui.mjs","sourcemapFileName":"webland-ui.mjs.map"},{"fileName":"webland-ui.mjs.map","names":[],"needsCodeReference":false,"originalFileName":null,"originalFileNames":[],"source":"{\"version\":3,\"file\":\"webland-ui.mjs\",\"sources\":[\"../../../packages/ui/src/lib/modules/layout/components/layout/layout.component.ts\",\"../../../packages/ui/src/lib/modules/layout/components/layout/layout.component.html\",\"../../../packages/ui/src/lib/modules/layout/components/menu/menu.component.ts\",\"../../../packages/ui/src/lib/modules/layout/components/menu/menu.component.html\",\"../../../packages/ui/src/lib/modules/shared/helpers/icon.helper.ts\",\"../../../packages/ui/src/lib/modules/shared/components/icon/icon.component.ts\",\"../../../packages/ui/src/lib/modules/layout/components/menu-item/menu-item.component.ts\",\"../../../packages/ui/src/lib/modules/layout/components/menu-item/menu-item.component.html\",\"../../../packages/ui/src/lib/modules/layout/components/content/content.component.ts\",\"../../../packages/ui/src/lib/modules/layout/components/content/content.component.html\",\"../../../packages/ui/src/lib/modules/layout/layout-module.ts\",\"../../../packages/ui/src/public-api.ts\",\"../../../packages/ui/src/webland-ui.ts\"],\"sourcesContent\":[\"import { Component } from '@angular/core';\\n\\n@Component({\\n selector: 'ui-layout',\\n imports: [],\\n templateUrl: './layout.component.html',\\n styleUrl: './layout.component.scss'\\n})\\nexport class LayoutComponent {\\n\\n}\\n\",\"<ng-content />\\n\",\"import { Component } from '@angular/core';\\n\\n@Component({\\n selector: 'ui-menu',\\n imports: [],\\n templateUrl: './menu.component.html',\\n styleUrl: './menu.component.scss'\\n})\\nexport class MenuComponent {\\n\\n}\\n\",\"<ng-content />\\n\",\"export enum IconProviderEnum {\\n FortAwesome = 'fa',\\n RemixIcon = 'ri',\\n HtmlEntities = 'he',\\n Text = 'text',\\n}\\n\\nexport class IconData {\\n constructor(\\n public provider: IconProviderEnum,\\n public className: string,\\n public html: string | null,\\n public innerHTML: string | null = null,\\n ) {\\n }\\n}\\n\\nexport class IconHelper {\\n static GetData(conf: string): IconData | null {\\n const parts = conf.split(':');\\n switch (parts[0]) {\\n case IconProviderEnum.FortAwesome:\\n const faClassName = `fa fa-${parts.splice(1).join(' fa-')}`;\\n return new IconData(\\n IconProviderEnum.FortAwesome,\\n faClassName,\\n `<i class=\\\"${faClassName}\\\"></i>`,\\n );\\n case IconProviderEnum.RemixIcon:\\n const riClassName = `ri-${parts.splice(1).join(' ri-')}`;\\n return new IconData(\\n IconProviderEnum.RemixIcon,\\n riClassName,\\n `<i class=\\\"${riClassName}\\\"></i>`,\\n );\\n case IconProviderEnum.HtmlEntities:\\n const heClassName = 'the-icon';\\n return new IconData(\\n IconProviderEnum.HtmlEntities,\\n heClassName,\\n null,\\n `&${parts.splice(1).join(';&')};`,\\n );\\n case IconProviderEnum.Text:\\n const tClassName = 'the-icon';\\n return new IconData(\\n IconProviderEnum.Text,\\n tClassName,\\n null,\\n parts.splice(1).join(':'),\\n );\\n\\n }\\n return null;\\n }\\n}\\n\",\"import { Component, HostBinding, Input, OnChanges } from '@angular/core';\\nimport { CommonModule } from '@angular/common';\\nimport { IconHelper } from '../../helpers/icon.helper';\\n\\n@Component({\\n selector: '[uiIcon]',\\n imports: [CommonModule],\\n template: '',\\n styles: []\\n})\\nexport class IconComponent implements OnChanges {\\n\\n @Input()\\n uiIcon: string = '';\\n @HostBinding('class')\\n className?: string;\\n\\n @HostBinding('innerHTML')\\n html?: string | null;\\n\\n constructor() { }\\n\\n ngOnChanges(): void {\\n const iconData = IconHelper.GetData(this.uiIcon);\\n if (iconData) {\\n this.className = iconData.className;\\n this.html = iconData.innerHTML;\\n }\\n }\\n}\\n\",\"import { Component, Input } from '@angular/core';\\nimport { IconComponent } from '../../../shared/components/icon/icon.component';\\n\\n@Component({\\n selector: 'ui-menu-item',\\n imports: [IconComponent],\\n templateUrl: './menu-item.component.html',\\n styleUrl: './menu-item.component.scss'\\n})\\nexport class MenuItemComponent {\\n @Input()\\n label!: string;\\n\\n @Input()\\n icon!: string;\\n}\\n\",\"<i [uiIcon]=\\\"icon\\\"></i>\\n<span>{{ label }}</span>\\n\",\"import { Component } from '@angular/core';\\n\\n@Component({\\n selector: 'ui-content',\\n imports: [],\\n templateUrl: './content.component.html',\\n styleUrl: './content.component.scss'\\n})\\nexport class ContentComponent {\\n\\n}\\n\",\"<div>\\n <ng-content />\\n</div>\\n\",\"import { NgModule } from '@angular/core';\\nimport { CommonModule } from '@angular/common';\\nimport { LayoutComponent } from \\\"./components/layout/layout.component\\\";\\nimport { MenuComponent } from \\\"./components/menu/menu.component\\\";\\nimport { MenuItemComponent } from \\\"./components/menu-item/menu-item.component\\\";\\nimport { ContentComponent } from \\\"./components/content/content.component\\\";\\n\\n@NgModule({\\n declarations: [],\\n imports: [\\n CommonModule,\\n LayoutComponent,\\n MenuComponent,\\n MenuItemComponent,\\n ContentComponent,\\n ],\\n exports: [\\n LayoutComponent,\\n MenuComponent,\\n MenuItemComponent,\\n ContentComponent,\\n ]\\n})\\nexport class LayoutModule { }\\n\",\"/*\\n * Public API Surface of ui\\n */\\n\\n// Layout Module\\nexport * from './lib/modules/layout/layout-module';\\n\\n// Layout Components\\nexport * from './lib/modules/layout/components/layout/layout.component';\\nexport * from './lib/modules/layout/components/menu/menu.component';\\nexport * from './lib/modules/layout/components/menu-item/menu-item.component';\\nexport * from './lib/modules/layout/components/content/content.component';\\n\\n\\n\",\"/**\\n * Generated bundle index. Do not edit.\\n */\\n\\nexport * from './public-api';\\n\"],\"names\":[],\"mappings\":\";;;;MAQa,eAAe,CAAA;uGAAf,eAAe,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAf,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,eAAe,qECR5B,kBACA,EAAA,MAAA,EAAA,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